bt-core-app 2.0.132 → 2.0.133

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.
@@ -8971,14 +8971,14 @@ function ci() {
8971
8971
  }
8972
8972
  function __() {
8973
8973
  const e = Ks(), t = ci();
8974
- function a(n) {
8975
- var l;
8974
+ function a(n, l) {
8975
+ var r;
8976
8976
  if (t.navHistory.value.length > 1) {
8977
8977
  t.navHistory.value.pop();
8978
- const r = t.navHistory.value[t.navHistory.value.length - 1];
8979
- t.navHistory.value.pop(), r != null && (n && (r.query ?? (r.query = {}), (l = r.query).refresh ?? (l.refresh = "true")), e.push(r));
8978
+ const i = t.navHistory.value[t.navHistory.value.length - 1];
8979
+ t.navHistory.value.pop(), i != null && (n && (i.query ?? (i.query = {}), (r = i.query).refresh ?? (r.refresh = "true")), e.push(i));
8980
8980
  } else
8981
- e.back();
8981
+ l != null ? e.push(l) : e.back();
8982
8982
  }
8983
8983
  return {
8984
8984
  canNavBack: T(() => t.navHistory.value.length > 1),
package/dist/index.d.ts CHANGED
@@ -2547,7 +2547,7 @@ export declare function useMyGeoLocation(): {
2547
2547
 
2548
2548
  export declare function useNavBack(): {
2549
2549
  canNavBack: ComputedRef<boolean>;
2550
- navBack: (refresh?: boolean) => void;
2550
+ navBack: (refresh?: boolean, to?: any) => void;
2551
2551
  };
2552
2552
 
2553
2553
  export declare function useNavigation(): BTNavigation;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "2.0.132",
3
+ "version": "2.0.133",
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": {