bt-core-app 1.4.396 → 1.4.397

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.
@@ -9531,14 +9531,14 @@ function Yx(e) {
9531
9531
  });
9532
9532
  }
9533
9533
  function c(m) {
9534
- var k, w, C;
9534
+ var k, w;
9535
9535
  if (l == null)
9536
9536
  throw new Error("no demo data available for this api");
9537
9537
  const v = m.id ?? ((k = m.data) == null ? void 0 : k.id), g = o(m);
9538
9538
  let u;
9539
- return g != null && (g.data ?? (g.data = []), g.getAction != null ? u = g.getAction(g.data, v) : v != null ? u = (w = g.data) == null ? void 0 : w.find((S) => S.id == v) : g.path != null && ((C = g.data) == null ? void 0 : C.length) == 1 && (u = g.data[0])), u == null ? Promise.resolve(void 0) : new Promise((S) => {
9539
+ return g != null && (g.data ?? (g.data = []), g.getAction != null ? u = g.getAction(g.data, v) : v != null ? u = (w = g.data) == null ? void 0 : w.find((C) => C.id == v) : g.path != null && (u = g.data)), u == null ? Promise.resolve(void 0) : new Promise((C) => {
9540
9540
  setTimeout(() => {
9541
- S({
9541
+ C({
9542
9542
  data: u
9543
9543
  });
9544
9544
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.396",
3
+ "version": "1.4.397",
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": {