bt-core-app 2.0.107 → 2.0.108

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.
@@ -7814,7 +7814,7 @@ function iP(e) {
7814
7814
  if (e.getStorageKey != null)
7815
7815
  return e.getStorageKey(y);
7816
7816
  if (!va(y.itemID))
7817
- return `${s(y)}_${y.itemID}`;
7817
+ return `${s(y)}_${y.itemID ?? "no-item-id"}`;
7818
7818
  let k = "";
7819
7819
  const C = b.params ?? {};
7820
7820
  return C != null && (k = Object.entries(C).sort(vl.firstBy((M) => M[0])).map((M) => `${M[0]}=${JSON.stringify(M[1])}`).join("&")), `${s(y)}_${k ?? "no-params"}`;
@@ -7908,7 +7908,7 @@ function iP(e) {
7908
7908
  };
7909
7909
  C == "update" ? a.value[b] = D : C == "remove" && delete a.value[b], l == !0 && (C == "update" ? await r.setItem(b, Wt(D)) : C == "remove" && await r.removeItem(b));
7910
7910
  var A = await r.keys();
7911
- let V = c(k), L = s(V), P = `${L}_${V.itemID}`;
7911
+ let V = c(k), L = s(V), P = `${L}_${V.itemID ?? "no-item-id"}`;
7912
7912
  A = A.filter((R) => (R.startsWith(L) || R.startsWith(P)) && R != b), Object.entries(a.value).filter((R) => A.some((I) => R[0] == I)).forEach((R) => {
7913
7913
  const I = R[1].data;
7914
7914
  if (I != null)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "2.0.107",
3
+ "version": "2.0.108",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {