bt-core-app 1.4.504 → 1.4.505

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.
@@ -7280,20 +7280,20 @@ function gx(e) {
7280
7280
  const t = qe.utc().toSeconds() / 86400, n = O({}), a = O({}), l = e.storageMode == "local-cache", r = Ta(), i = e.buildUrl ?? ((y = e.api) == null ? void 0 : y.buildUrl) ?? hx, o = e.idSelector ?? ((f) => f.id);
7281
7281
  function s(f) {
7282
7282
  var b, S, C, D, _;
7283
- let x = "ses_";
7284
- ((b = e.demo) == null ? void 0 : b.isDemoing.value) == !0 && (x = `${x}demo_`);
7283
+ let x = "ses";
7284
+ ((b = e.demo) == null ? void 0 : b.isDemoing.value) == !0 && (x = `${x}_demo`);
7285
7285
  let T = {
7286
7286
  itemID: f.id ?? ((S = f.data) == null ? void 0 : S.id),
7287
7287
  userID: (C = e.auth) == null ? void 0 : C.credentials.value.userID,
7288
7288
  storeName: e.storeName
7289
7289
  };
7290
7290
  if (f.getStorageKey != null)
7291
- return `${x}${f.getStorageKey(T)}`;
7291
+ return `${x}_${f.getStorageKey(T)}`;
7292
7292
  if (e.getStorageKey != null)
7293
- return `${x}${e.getStorageKey(T)}`;
7293
+ return `${x}_${e.getStorageKey(T)}`;
7294
7294
  let k = "";
7295
7295
  const p = f.params ?? {};
7296
- return p != null && (k = Object.entries(p).sort(ml.firstBy((V) => V[0])).map((V) => `${V[0]}=${JSON.stringify(V[1])}`).join("&")), `${x}${e.storeName ?? "base"}_${((D = e.auth) == null ? void 0 : D.credentials.value.userID) ?? "no-user-id"}_${f.id ?? ((_ = f.data) == null ? void 0 : _.id) ?? "no-item-id"}_${k ?? "no-params"}_${f.storeKey ?? "original-key"}`;
7296
+ return p != null && (k = Object.entries(p).sort(ml.firstBy((V) => V[0])).map((V) => `${V[0]}=${JSON.stringify(V[1])}`).join("&")), `${e.storeName}_${x}_${((D = e.auth) == null ? void 0 : D.credentials.value.userID) ?? "no-user-id"}_${f.id ?? ((_ = f.data) == null ? void 0 : _.id) ?? "no-item-id"}_${k ?? "no-params"}_${f.storeKey ?? "original-key"}`;
7297
7297
  }
7298
7298
  function c() {
7299
7299
  n.value = {}, a.value = {};
@@ -7500,13 +7500,13 @@ function yx(e) {
7500
7500
  }
7501
7501
  function c() {
7502
7502
  var k, p, b;
7503
- let x = "wlu_";
7504
- ((k = e.demo) == null ? void 0 : k.isDemoing.value) == !0 && (x = `${x}demo_`);
7503
+ let x = "wlu";
7504
+ ((k = e.demo) == null ? void 0 : k.isDemoing.value) == !0 && (x = `${x}_demo`);
7505
7505
  let T = {
7506
7506
  userID: (p = e.auth) == null ? void 0 : p.credentials.value.userID,
7507
7507
  storeName: e.storeName
7508
7508
  };
7509
- return e.getStorageKey != null ? `${x}${e.getStorageKey(T)}` : `${x}${e.storeName}_${((b = e.auth) == null ? void 0 : b.credentials.value.userID) ?? "no-user-id"}`;
7509
+ return e.getStorageKey != null ? `${x}_${e.getStorageKey(T)}` : `${e.storeName}_${x}_${((b = e.auth) == null ? void 0 : b.credentials.value.userID) ?? "no-user-id"}`;
7510
7510
  }
7511
7511
  async function u() {
7512
7512
  if (l == !0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.504",
3
+ "version": "1.4.505",
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": {