@codex-ts/core-lib 1.0.19 → 1.0.21
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.
|
@@ -9,12 +9,11 @@ export declare class KeycloakService {
|
|
|
9
9
|
private readonly isBrowser;
|
|
10
10
|
readonly isAuthenticated$: import("@angular/core").Signal<boolean>;
|
|
11
11
|
readonly userProfile$: import("@angular/core").Signal<any>;
|
|
12
|
-
readonly token$: import("@angular/core").Signal<
|
|
12
|
+
readonly token$: import("@angular/core").Signal<string | undefined>;
|
|
13
13
|
/** Check if URL should be excluded from bearer token */
|
|
14
14
|
isUrlExcluded(url: string): boolean;
|
|
15
15
|
/** Initialize Keycloak authentication */
|
|
16
16
|
initialize(): Promise<boolean>;
|
|
17
|
-
private loadKeycloakScript;
|
|
18
17
|
/** Login with optional redirect URI */
|
|
19
18
|
login(options?: {
|
|
20
19
|
redirectUri?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codex-ts/core-lib",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.21",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"peerDependencies": {
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"@angular/core": "^19.2.0",
|
|
9
9
|
"@ngx-formly/core": "^6.3.12",
|
|
10
10
|
"primeng": "^19.0.6",
|
|
11
|
-
"rxjs": "~7.8.0"
|
|
11
|
+
"rxjs": "~7.8.0",
|
|
12
|
+
"keycloak-js": "^26.0.0"
|
|
12
13
|
},
|
|
13
14
|
"dependencies": {
|
|
14
15
|
"tslib": "^2.3.0"
|