bt-core-app 2.0.176 → 2.0.177

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.
@@ -38,7 +38,7 @@ function kM(e) {
38
38
  }
39
39
  function s(p, y) {
40
40
  let x;
41
- return y != null && (x = t.value.find((S) => S.id == y)), x == null && (x = { id: RE(), msg: p ?? "Loading" }, t.value.push(x)), p != null && (x.msg = p), a.value = t.value[0].msg, x.id;
41
+ return y != null && (x = t.value.find((S) => S.id == y)), x == null && (x = { id: RE(), msg: p ?? "Loading" }, t.value.unshift(x)), p != null && (x.msg = p), a.value = t.value[0].msg, x.id;
42
42
  }
43
43
  function c(p) {
44
44
  return (e == null ? void 0 : e.stringifyError) != null ? e == null ? void 0 : e.stringifyError(p) : p == null ? void 0 : p.toString();
package/dist/index.d.ts CHANGED
@@ -210,7 +210,7 @@ export declare interface BTActions {
210
210
  isLoading: ComputedRef<boolean>;
211
211
  iterateThrough: <T>(opt: IterateThroughOptions<T>) => Promise<true | undefined>;
212
212
  logError: (err?: string | Error) => void;
213
- persistLoading: (startingMsg?: string) => void;
213
+ persistLoading: (startingMsg: string) => void;
214
214
  releaseLoading: () => void;
215
215
  restoreItem: <T>(doOptions: RestoreOptions<T>) => Promise<T | undefined>;
216
216
  saveItem: <T, TSave, TReturn>(doOptions: SaveOptions<T, TSave, TReturn>) => Promise<TReturn | undefined>;
@@ -1830,7 +1830,7 @@ export declare function useActionsTracker(useOptions?: DoActionOptions): {
1830
1830
  isLoading: ComputedRef<boolean>;
1831
1831
  iterateThrough: <T>(opt: IterateThroughOptions<T>) => Promise<true | undefined>;
1832
1832
  logError: (err?: string | Error) => void;
1833
- persistLoading: (startingMsg?: string) => void;
1833
+ persistLoading: (startingMsg: string) => void;
1834
1834
  releaseLoading: () => void;
1835
1835
  };
1836
1836
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "2.0.176",
3
+ "version": "2.0.177",
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": {