@reactoo/watchtogether-sdk-js 2.7.83 → 2.7.84
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/example/index.html
CHANGED
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
console.log('Iot message:', r);
|
|
223
223
|
});
|
|
224
224
|
|
|
225
|
-
Instance.auth.
|
|
225
|
+
Instance.auth.deviceLogin(true) // login as browser
|
|
226
226
|
.then(r => Instance.iot.iotLogin()) // login to mqtt
|
|
227
227
|
.then(r => {
|
|
228
228
|
if(roomId) {
|
|
@@ -527,12 +527,6 @@
|
|
|
527
527
|
sess.sendSystemMessage('customData', {some: 'data'})
|
|
528
528
|
}
|
|
529
529
|
|
|
530
|
-
window.testUnsetAttributesObject = function() {
|
|
531
|
-
Instance.room.updateAttribute({id:'boha', roomId: roomId, operation: 'setAll', attributeName:'layoutAttributes', value: {cicina:'kuchyna'}})
|
|
532
|
-
.then(r => console.log(r))
|
|
533
|
-
.catch(e => console.log(e))
|
|
534
|
-
}
|
|
535
|
-
|
|
536
530
|
</script>
|
|
537
531
|
|
|
538
532
|
</body>
|