@reactoo/watchtogether-sdk-js 2.8.62 → 2.8.64
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.
package/package.json
CHANGED
package/src/models/asset.js
CHANGED
|
@@ -41,9 +41,9 @@ let asset = function() {
|
|
|
41
41
|
return this.__privates.auth.__client
|
|
42
42
|
.then(client => client.apis.asset.deleteAsset({id}))
|
|
43
43
|
},
|
|
44
|
-
modifyAsset: ({id, operation, segments} = {}) => {
|
|
44
|
+
modifyAsset: ({id, operation, segments, disposition} = {}) => {
|
|
45
45
|
return this.__privates.auth.__client
|
|
46
|
-
.then(client => client.apis.asset.modifyAsset({id}, {requestBody: {operation, segments}}))
|
|
46
|
+
.then(client => client.apis.asset.modifyAsset({id}, {requestBody: {operation, segments, disposition}}))
|
|
47
47
|
},
|
|
48
48
|
|
|
49
49
|
initiateAssetUpload: (id = null) => {
|
package/src/modules/wt-iot2.js
CHANGED
|
@@ -313,7 +313,8 @@ class Iot {
|
|
|
313
313
|
event === 'asset_created' ||
|
|
314
314
|
event === 'attribute_updated' ||
|
|
315
315
|
event === 'session_terminating' ||
|
|
316
|
-
event === 'session_terminated'
|
|
316
|
+
event === 'session_terminated' ||
|
|
317
|
+
event === 'vidmail_changed'
|
|
317
318
|
) {
|
|
318
319
|
this.emit('message', {event, ...message, roomId})
|
|
319
320
|
}
|