bt-core-app 1.4.681 → 1.4.683

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.
@@ -7651,7 +7651,7 @@ function Yk(e) {
7651
7651
  }
7652
7652
  function f(x) {
7653
7653
  const S = c();
7654
- return o.value[S] || (o.value[S] = new Promise(async (C, p) => {
7654
+ return console.log("creating refresh promise"), console.log(i.value), o.value[S] || (o.value[S] = new Promise(async (C, p) => {
7655
7655
  var T, k;
7656
7656
  try {
7657
7657
  let D = await ((T = e.api) == null ? void 0 : T.getAll({
@@ -7669,7 +7669,7 @@ function Yk(e) {
7669
7669
  }), a.value = t.value.length, i.value = {
7670
7670
  lastUpdate: ((k = e.dates) == null ? void 0 : k.utcString()) ?? Ye.utc().toString(),
7671
7671
  storedOn: n.toString()
7672
- }, await u(), C(D));
7672
+ }, console.log("meta"), console.log(i.value), await u(), C(D));
7673
7673
  } catch (D) {
7674
7674
  p(D);
7675
7675
  } finally {
@@ -7701,8 +7701,8 @@ function Yk(e) {
7701
7701
  };
7702
7702
  if (!C && e.priority != "server" && l == !0) {
7703
7703
  const L = await nn().getItem(S);
7704
- if (L != null && parseFloat(L.meta.storedOn) > n - 7)
7705
- return t.value = L.data, a.value = L.data.length, i.value = L.meta, {
7704
+ if (console.log("local res"), console.log(L), L != null && parseFloat(L.meta.storedOn) > n - 7)
7705
+ return t.value = L.data, a.value = L.data.length, i.value = L.meta, console.log(i.value), {
7706
7706
  count: (T = t.value) == null ? void 0 : T.length,
7707
7707
  data: t.value ?? [],
7708
7708
  filters: []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.681",
3
+ "version": "1.4.683",
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": {