bt-core-app 1.2.3 → 1.2.4
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.
- package/dist/bt-core-app.js +1 -1
- package/dist/core.d.ts +2 -1
- package/package.json +1 -1
- package/src/core.ts +3 -2
package/dist/bt-core-app.js
CHANGED
|
@@ -27822,7 +27822,7 @@ function hT(e) {
|
|
|
27822
27822
|
}), vx(), kx({
|
|
27823
27823
|
api: l,
|
|
27824
27824
|
auth: r
|
|
27825
|
-
}), n_(e);
|
|
27825
|
+
}), n_(e.urls);
|
|
27826
27826
|
}
|
|
27827
27827
|
};
|
|
27828
27828
|
}
|
package/dist/core.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { App } from 'vue';
|
|
|
8
8
|
export interface CoreApp {
|
|
9
9
|
install(app: App): void;
|
|
10
10
|
}
|
|
11
|
-
export interface CreateCoreOptions extends UseCosmeticsOptions<BaseCosmeticTheme
|
|
11
|
+
export interface CreateCoreOptions extends UseCosmeticsOptions<BaseCosmeticTheme> {
|
|
12
12
|
defaultCacheExpiryHours?: number;
|
|
13
13
|
getAuthQuery: (redirectPath?: string, state?: string) => string;
|
|
14
14
|
navItems?: NavigationItem[];
|
|
@@ -16,5 +16,6 @@ export interface CreateCoreOptions extends UseCosmeticsOptions<BaseCosmeticTheme
|
|
|
16
16
|
setCredentials?: (state: RemovableRef<any>, payload: any) => void;
|
|
17
17
|
/**suboptions */
|
|
18
18
|
subscriptionOptions?: AuthSubscription[];
|
|
19
|
+
urls: CreateUrlOptions;
|
|
19
20
|
}
|
|
20
21
|
export declare function createCore(options: CreateCoreOptions): CoreApp;
|
package/package.json
CHANGED
package/src/core.ts
CHANGED
|
@@ -35,7 +35,7 @@ export interface CoreApp {
|
|
|
35
35
|
install(app: App) : void
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
export interface CreateCoreOptions extends UseCosmeticsOptions<BaseCosmeticTheme
|
|
38
|
+
export interface CreateCoreOptions extends UseCosmeticsOptions<BaseCosmeticTheme> {
|
|
39
39
|
defaultCacheExpiryHours?: number
|
|
40
40
|
getAuthQuery: (redirectPath?: string, state?: string) => string
|
|
41
41
|
navItems?: NavigationItem[]
|
|
@@ -43,6 +43,7 @@ export interface CreateCoreOptions extends UseCosmeticsOptions<BaseCosmeticTheme
|
|
|
43
43
|
setCredentials?: (state: RemovableRef<any>, payload: any) => void
|
|
44
44
|
/**suboptions */
|
|
45
45
|
subscriptionOptions?: AuthSubscription[]
|
|
46
|
+
urls: CreateUrlOptions
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
export function createCore(options: CreateCoreOptions): CoreApp {
|
|
@@ -110,7 +111,7 @@ export function createCore(options: CreateCoreOptions): CoreApp {
|
|
|
110
111
|
auth
|
|
111
112
|
})
|
|
112
113
|
|
|
113
|
-
createUrl(options)
|
|
114
|
+
createUrl(options.urls)
|
|
114
115
|
}
|
|
115
116
|
}
|
|
116
117
|
}
|