bt-core-app 1.4.11 → 1.4.13

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.
@@ -405,9 +405,9 @@ function la(e) {
405
405
  function N(r) {
406
406
  r.nav ?? (r.nav = e == null ? void 0 : e.nav), r.proxyID ?? (r.proxyID = e == null ? void 0 : e.proxyID), r.refresh ?? (r.refresh = e == null ? void 0 : e.refresh), r.throwError ?? (r.throwError = e == null ? void 0 : e.throwError), r.url ?? (r.url = e == null ? void 0 : e.url), r.confirmationMsg ?? (r.confirmationMsg = r.requireConfirmation === !0 ? "Are you sure you want to get this item?" : void 0);
407
407
  const x = (r == null ? void 0 : r.store) ?? (e == null ? void 0 : e.store);
408
- return r.nav != null && x != null && (r.onGetAsync ?? (r.onGetAsync = () => x().get(r))), o(async () => {
408
+ return r.nav != null && x != null && (r.onGetAsync ?? (r.onGetAsync = async () => (await x().get(r)).data)), o(async () => {
409
409
  let E;
410
- return r.onGetAsync != null && (E = await r.onGetAsync(r), E = E.data), r.onGetSuccessAsync != null && (E = await r.onGetSuccessAsync(E, r)), E;
410
+ return r.onGetAsync != null && (E = await r.onGetAsync(r)), r.onGetSuccessAsync != null && (E = await r.onGetSuccessAsync(E, r)), E;
411
411
  }, {
412
412
  completionMsg: r.completionMsg ?? (e == null ? void 0 : e.completionMsg),
413
413
  confirmationMsg: r.confirmationMsg ?? (e == null ? void 0 : e.confirmationMsg),
@@ -544,7 +544,7 @@ function Ce(e, t) {
544
544
  return `${a}/${l}`;
545
545
  }
546
546
  function eu(e) {
547
- return e == null || !Array.isArray(e) ? e : e.filter((t, a, l) => l.indexOf(t === a));
547
+ return e == null || !Array.isArray(e) ? e : [...new Set(e.map((t) => t))];
548
548
  }
549
549
  function ru(e = "blitzItExtensionExists") {
550
550
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.11",
3
+ "version": "1.4.13",
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": {