@reactoo/watchtogether-sdk-js 2.7.26 → 2.7.30
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/dist/watchtogether-sdk.js +13890 -227
- package/dist/watchtogether-sdk.js.map +1 -1
- package/dist/watchtogether-sdk.min.js +2 -2
- package/package.json +1 -1
- package/src/modules/wt-iot.js +1 -1
package/package.json
CHANGED
package/src/modules/wt-iot.js
CHANGED
|
@@ -284,7 +284,7 @@ class Iot {
|
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
// Find a suitable topic for the connection check
|
|
287
|
-
const suitableTopic = Array.from(this.subscribedTopics).find(topic => topic.indexOf('user')
|
|
287
|
+
const suitableTopic = Array.from(this.subscribedTopics).find(topic => topic.indexOf('user') > -1);
|
|
288
288
|
|
|
289
289
|
if (!suitableTopic) {
|
|
290
290
|
reject(new Error('No suitable topic found for connection check'));
|