@reactoo/watchtogether-sdk-js 2.7.38-beta.2 → 2.7.38-beta.4

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reactoo/watchtogether-sdk-js",
3
- "version": "2.7.38-beta.2",
3
+ "version": "2.7.38-beta.4",
4
4
  "description": "Javascript SDK for Reactoo",
5
5
  "main": "src/index.js",
6
6
  "unpkg": "dist/watchtogether-sdk.min.js",
package/src/models/iot.js CHANGED
@@ -215,13 +215,11 @@ let iot = function () {
215
215
  });
216
216
  },
217
217
 
218
- keepAlive: () => {
219
- return this.__privates.iot.keepAlive();
220
- },
221
-
222
218
  setupKeepAliveInterval: () => {
223
219
  clearInterval(keepAliveIntervalId);
224
- keepAliveIntervalId = setInterval(this.iot.keepAliveMessage, 30000);
220
+ keepAliveIntervalId = setInterval(() => {
221
+ this.__privates.iot.keepAliveMessage();
222
+ }, 30000);
225
223
  },
226
224
 
227
225
  disableKeepAliveInterval: () => {