@reactoo/watchtogether-sdk-js 2.7.45 → 2.7.46

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.45",
3
+ "version": "2.7.46",
4
4
  "description": "Javascript SDK for Reactoo",
5
5
  "main": "src/index.js",
6
6
  "unpkg": "dist/watchtogether-sdk.min.js",
@@ -113,7 +113,7 @@ class Iot {
113
113
  return new Promise((resolve, reject) => {
114
114
  const timeoutId = setTimeout(() => {
115
115
  reject(new Error('Disconnect timeout'));
116
- }, 5); // 5 seconds timeout is enough
116
+ }, 5000); // 5 seconds timeout is enough
117
117
  this.connection.disconnect()
118
118
  .then((r) => {
119
119
  clearTimeout(timeoutId);