bt-core-app 1.4.45 → 1.4.46

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -8,6 +8,7 @@ import { Position } from '@vueuse/core';
8
8
  import { Ref } from 'vue';
9
9
  import { RemovableRef } from '@vueuse/core';
10
10
  import { RouteLocationNormalized } from 'vue-router';
11
+ import { Router } from 'vue-router';
11
12
  import { ShallowRef } from 'vue';
12
13
  import { Store } from 'pinia';
13
14
  import { StoreDefinition } from 'pinia';
@@ -135,7 +136,7 @@ export declare interface BTAuth {
135
136
  getToken: (code?: string, state?: string) => Promise<void>;
136
137
  isLoggedIn: ComputedRef<boolean>;
137
138
  login: (redirectPath?: string) => void;
138
- logout: (navNameRedirect?: string) => void;
139
+ logout: (navNameRedirect?: string, router?: Router) => void;
139
140
  resetAuthState: () => void;
140
141
  setAuth: (jwtToken?: string) => void;
141
142
  timeZone: ComputedRef<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.45",
3
+ "version": "1.4.46",
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": {