@ikonai/sdk-ui 0.0.18 → 0.0.19
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 +12 -7
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -15152,8 +15152,17 @@ function ie(e, d) {
|
|
|
15152
15152
|
}
|
|
15153
15153
|
return !1;
|
|
15154
15154
|
}
|
|
15155
|
+
function xt(e) {
|
|
15156
|
+
return new Worker(
|
|
15157
|
+
"/assets/ui-worker-Cpo_HAMl.js",
|
|
15158
|
+
{
|
|
15159
|
+
type: "module",
|
|
15160
|
+
name: e?.name
|
|
15161
|
+
}
|
|
15162
|
+
);
|
|
15163
|
+
}
|
|
15155
15164
|
const J = Ft("IkonUICore");
|
|
15156
|
-
class
|
|
15165
|
+
class Gt {
|
|
15157
15166
|
unsubscribeProtocolMessages;
|
|
15158
15167
|
client = null;
|
|
15159
15168
|
uiStore = new Ct();
|
|
@@ -15203,11 +15212,7 @@ class vt {
|
|
|
15203
15212
|
}
|
|
15204
15213
|
startUiWorker(d) {
|
|
15205
15214
|
try {
|
|
15206
|
-
this.uiWorker = new
|
|
15207
|
-
/* @vite-ignore */
|
|
15208
|
-
"/assets/ui-worker-Cpo_HAMl.js",
|
|
15209
|
-
import.meta.url
|
|
15210
|
-
), { type: "module" });
|
|
15215
|
+
this.uiWorker = new xt();
|
|
15211
15216
|
} catch (s) {
|
|
15212
15217
|
J.warn("Failed to create UI worker, falling back to main thread", s), this.uiWorker = null;
|
|
15213
15218
|
return;
|
|
@@ -15397,7 +15402,7 @@ class vt {
|
|
|
15397
15402
|
}
|
|
15398
15403
|
}
|
|
15399
15404
|
export {
|
|
15400
|
-
|
|
15405
|
+
Gt as IkonUICore,
|
|
15401
15406
|
Ct as UiStore,
|
|
15402
15407
|
_t as UiStreamStore,
|
|
15403
15408
|
G as UiUpdateParseError,
|