@ikonai/sdk-ui 1.0.32 → 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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. 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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikonai/sdk-ui",
3
- "version": "1.0.32",
3
+ "version": "1.0.34",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",