javascript-sdk icon indicating copy to clipboard operation
javascript-sdk copied to clipboard

LeanCloud JavaScript SDK

Results 54 javascript-sdk issues
Sort by recently updated
recently updated
newest added

增加SDK创建CLASS功能

- https://www.leanticket.cn/tickets/39872 - https://developer.qiniu.com/dora/api/basic-processing-images-imageview2

https://xindong.slack.com/archives/C01RY5JHB47/p1652434014099299?thread_ts=1652432439.760159&cid=C01RY5JHB47

## Versions ``` "leancloud-installation": "^2.0.1", "leancloud-storage": "^4.10.1", ``` ## Error ### Source ``` undefined is not a function (near '...}).finally(function () {...') [N/A POST https://xxxxxxxx.push/lncldglobal.com/1.1/installations] ``` > av-core.js (1992:17) ###...

应该是 `Array` ,而不是逗号分隔的字符串。 如果用户设置了 keys(通过 Query#select)在订阅时会直接返回错误。不过我在 5.0 的 SDK 中修改了 keys 的格式,发现收不到事件了,所以暂且留着这个问题,看看 API 的调查结果。

bug
question

类似下面的查询,目前不支持,但 Parse 几年前就已实现:[https://github.com/parse-community/parse-server/issues/4346](https://github.com/parse-community/parse-server/issues/4346) ``` classAQuery = new Parse.Query("ClassA"); classBQuery = new Parse.Query("ClassB"); classBQuery.notEqualTo("User", request.user); classAQuery.matchesKeyInQuery("objectId", "ClassA", classBQuery); ``` 同问如果没有办法添加这个功能的话有没有可以不在 Class 里添加新 Column 的解决办法呢? Thanks!

现在只有类vue框架的微信小程序支持npm安装。 能否支持react框架的taro框架支持npm安装

报错信息: [LeanCloudService] createIMClient err: Cannot read property 'ttl' of null {} 待解决工单: https://leanticket.cn/tickets/21730

```javascript var query = new AV.Query('Account'); query.equalTo('balance', 100); query.greaterThanOrEqualTo('balance', 100); query.first().then(account => { console.log(account); }); ``` 看代码好像是先 eq 之后,就设置了「基础类型」;再对相同的 key 增加复杂条件,就异常了。

详见:https://leancloud.atlassian.net/wiki/spaces/PROD/pages/818577422 ``` curl -X PUT \ -H "X-LC-Id: GDBz24d615WLO5e3OM3QFOaV-gzGzoHsz" \ -H "X-LC-Key: dlCDCOvzMnkXdh2czvlbu3Pk" \ -H "Content-Type: application/json" \ -d '{"group": "theBestFriend"}' \ https://gdbz24d6.api.lncld.net/1.1/users/:user_id/friendship/:target_id :user_id 表示做更新动作的用户。如果设置了 X-LC-Session 头,则 self 表示当前登录用户。 :target_id...