@ikonai/sdk-ui 1.0.33 → 1.0.34
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/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -3160,7 +3160,7 @@ class Ln {
|
|
|
3160
3160
|
}, r);
|
|
3161
3161
|
let i = !1;
|
|
3162
3162
|
this.unsubscribeState = t.subscribeToState((n) => {
|
|
3163
|
-
n === "reconnecting" ? i = !0 : n === "connected" && i ? (i = !1, this.clearAllState()) : i = !1;
|
|
3163
|
+
n === "reconnecting" ? i = !0 : n === "connected" && i ? (i = !1, this.clearAllState()) : (i = !1, (n === "offline" || n === "offlineError") && this.clearAllState());
|
|
3164
3164
|
});
|
|
3165
3165
|
}
|
|
3166
3166
|
startUiWorker(t) {
|