@reactoo/watchtogether-sdk-js 2.8.54 → 2.8.55

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.8.54",
3
+ "version": "2.8.55",
4
4
  "description": "Javascript SDK for Reactoo",
5
5
  "main": "dist/watchtogether-sdk.min.js",
6
6
  "module": "dist/watchtogether-sdk.min.js",
@@ -1220,7 +1220,9 @@ class RoomSession {
1220
1220
  this.disconnect().catch(()=>{});
1221
1221
  }
1222
1222
  }
1223
- this.emit('error', e)
1223
+ else {
1224
+ this.emit('error', e)
1225
+ }
1224
1226
  });
1225
1227
  }
1226
1228