@reactoo/watchtogether-sdk-js 2.7.95 → 2.7.96

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -529,10 +529,14 @@
529
529
  }
530
530
 
531
531
  window.asset = function () {
532
- Instance.asset.getAssetList({ ids: ['6304b890-321a-494b-b0e6-b0cee48026cd'], instanceType: 'reactooBackup', type:'ids'})
532
+ const test = Instance.asset.getAssetList({ ids: ['6304b890-321a-494b-b0e6-b0cee48026cd'], instanceType: 'reactooBackup', type:'ids'})
533
533
  .then(r => {
534
534
  console.log(r);
535
+ return r;
535
536
  })
537
+ test.then(r => {
538
+ console.log(r);
539
+ })
536
540
  }
537
541
 
538
542
  </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reactoo/watchtogether-sdk-js",
3
- "version": "2.7.95",
3
+ "version": "2.7.96",
4
4
  "description": "Javascript SDK for Reactoo",
5
5
  "main": "dist/watchtogether-sdk.min.js",
6
6
  "module": "dist/watchtogether-sdk.min.js",
@@ -151,11 +151,12 @@ let room = function () {
151
151
  }))
152
152
  },
153
153
 
154
- updateAttribute: ({roomId, id, operation, attributeName, value}) => {
154
+ updateAttribute: ({roomId, id, deviceId, operation, attributeName, value}) => {
155
155
  return this.__privates.auth.__client
156
156
  .then(client => client.apis.wt.updateAttribute({}, {
157
157
  requestBody: {
158
158
  id,
159
+ deviceId,
159
160
  roomId,
160
161
  operation,
161
162
  attributeName,