@tixyel/streamelements 7.13.0 → 7.14.0
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/index.es.js +5 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -10486,7 +10486,7 @@ var j = class {
|
|
|
10486
10486
|
"step",
|
|
10487
10487
|
"min",
|
|
10488
10488
|
"max"
|
|
10489
|
-
].
|
|
10489
|
+
].every((e) => !n.endsWith(e)) && (e[n] = {
|
|
10490
10490
|
type: "text",
|
|
10491
10491
|
label: a.capitalize(d),
|
|
10492
10492
|
value: String(l)
|
|
@@ -10534,7 +10534,7 @@ var j = class {
|
|
|
10534
10534
|
"step",
|
|
10535
10535
|
"min",
|
|
10536
10536
|
"max"
|
|
10537
|
-
].
|
|
10537
|
+
].every((e) => !n.endsWith(e)) && (e[n] = {
|
|
10538
10538
|
type: "text",
|
|
10539
10539
|
label: a.capitalize(d),
|
|
10540
10540
|
value: String(l)
|
|
@@ -12650,7 +12650,7 @@ var K = new class {
|
|
|
12650
12650
|
detail: n,
|
|
12651
12651
|
timestamp: r.timeStamp,
|
|
12652
12652
|
origin: N?.[0]?.id
|
|
12653
|
-
}), localStorage.setItem("SE_API-EVENTS", JSON.stringify(this.history)), window.dispatchEvent(r) ? { ok: !0 } : { ok: !1 };
|
|
12653
|
+
}), localStorage.setItem("SE_API-EVENTS", JSON.stringify(this.history.slice(0, 50))), window.dispatchEvent(r) ? { ok: !0 } : { ok: !1 };
|
|
12654
12654
|
},
|
|
12655
12655
|
broadcast(e, t) {
|
|
12656
12656
|
let n = {
|
|
@@ -12662,7 +12662,7 @@ var K = new class {
|
|
|
12662
12662
|
detail: n,
|
|
12663
12663
|
timestamp: Date.now(),
|
|
12664
12664
|
origin: N?.[0]?.id
|
|
12665
|
-
}), localStorage.setItem("SE_API-EVENTS", JSON.stringify(this.history)), window.dispatchEvent(r) ? { ok: !0 } : { ok: !1 };
|
|
12665
|
+
}), localStorage.setItem("SE_API-EVENTS", JSON.stringify(this.history.slice(0, 50))), window.dispatchEvent(r) ? { ok: !0 } : { ok: !1 };
|
|
12666
12666
|
},
|
|
12667
12667
|
history: []
|
|
12668
12668
|
}
|
|
@@ -12671,7 +12671,7 @@ async function le() {
|
|
|
12671
12671
|
let e = localStorage.getItem("SE_API-STORE") ?? "{}", t = e ? JSON.parse(e) : {};
|
|
12672
12672
|
J.store.list = t;
|
|
12673
12673
|
let n = localStorage.getItem("SE_API-EVENTS") ?? "[]", r = n ? JSON.parse(n) : [];
|
|
12674
|
-
return J.events.history = r, J;
|
|
12674
|
+
return J.events.history = r.slice(0, 50), J;
|
|
12675
12675
|
}
|
|
12676
12676
|
//#endregion
|
|
12677
12677
|
//#region src/modules/useStorage.ts
|