@equinor/fusion-framework-module-msal 4.1.0 → 5.0.1
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/CHANGELOG.md +38 -0
- package/dist/esm/static.js +1 -1
- package/dist/esm/v2/client/log/console.js +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/static.d.ts +1 -1
- package/dist/types/v2/configurator.d.ts +6 -40
- package/dist/types/version.d.ts +1 -1
- package/package.json +3 -3
- package/src/v2/client/log/console.ts +1 -1
- package/src/version.ts +1 -1
package/dist/types/static.d.ts
CHANGED
|
@@ -6,52 +6,18 @@ declare const AuthClientConfigSchema: z.ZodObject<{
|
|
|
6
6
|
clientId: z.ZodString;
|
|
7
7
|
tenantId: z.ZodString;
|
|
8
8
|
redirectUri: z.ZodOptional<z.ZodString>;
|
|
9
|
-
},
|
|
10
|
-
|
|
11
|
-
tenantId: string;
|
|
12
|
-
redirectUri?: string | undefined;
|
|
13
|
-
}, {
|
|
14
|
-
clientId: string;
|
|
15
|
-
tenantId: string;
|
|
16
|
-
redirectUri?: string | undefined;
|
|
17
|
-
}>;
|
|
18
|
-
declare const AuthClientSchema: z.ZodType<IAuthProvider, z.ZodTypeDef, IAuthProvider>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const AuthClientSchema: z.ZodCustom<IAuthProvider, IAuthProvider>;
|
|
19
11
|
declare const AuthConfigSchema: z.ZodObject<{
|
|
20
12
|
client: z.ZodOptional<z.ZodObject<{
|
|
21
13
|
clientId: z.ZodString;
|
|
22
14
|
tenantId: z.ZodString;
|
|
23
15
|
redirectUri: z.ZodOptional<z.ZodString>;
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
tenantId: string;
|
|
27
|
-
redirectUri?: string | undefined;
|
|
28
|
-
}, {
|
|
29
|
-
clientId: string;
|
|
30
|
-
tenantId: string;
|
|
31
|
-
redirectUri?: string | undefined;
|
|
32
|
-
}>>;
|
|
33
|
-
provider: z.ZodOptional<z.ZodType<IAuthProvider, z.ZodTypeDef, IAuthProvider>>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
provider: z.ZodOptional<z.ZodCustom<IAuthProvider, IAuthProvider>>;
|
|
34
18
|
requiresAuth: z.ZodOptional<z.ZodBoolean>;
|
|
35
|
-
version: z.
|
|
36
|
-
},
|
|
37
|
-
version: string;
|
|
38
|
-
client?: {
|
|
39
|
-
clientId: string;
|
|
40
|
-
tenantId: string;
|
|
41
|
-
redirectUri?: string | undefined;
|
|
42
|
-
} | undefined;
|
|
43
|
-
provider?: IAuthProvider | undefined;
|
|
44
|
-
requiresAuth?: boolean | undefined;
|
|
45
|
-
}, {
|
|
46
|
-
version: string;
|
|
47
|
-
client?: {
|
|
48
|
-
clientId: string;
|
|
49
|
-
tenantId: string;
|
|
50
|
-
redirectUri?: string | undefined;
|
|
51
|
-
} | undefined;
|
|
52
|
-
provider?: IAuthProvider | undefined;
|
|
53
|
-
requiresAuth?: boolean | undefined;
|
|
54
|
-
}>;
|
|
19
|
+
version: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
55
21
|
export type AuthClientConfig = z.infer<typeof AuthClientConfigSchema>;
|
|
56
22
|
export type AuthConfig = z.infer<typeof AuthConfigSchema>;
|
|
57
23
|
export declare class AuthConfigurator extends BaseConfigBuilder<AuthConfig> {
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "
|
|
1
|
+
export declare const version = "5.0.1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/fusion-framework-module-msal",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "Microsoft Authentication Library (MSAL) integration module for Fusion Framework",
|
|
5
5
|
"main": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"@azure/msal-browser": "^2.21.0",
|
|
40
40
|
"@types/semver": "^7.5.0",
|
|
41
41
|
"semver": "^7.5.4",
|
|
42
|
-
"zod": "^
|
|
43
|
-
"@equinor/fusion-framework-module": "^5.0.
|
|
42
|
+
"zod": "^4.1.8",
|
|
43
|
+
"@equinor/fusion-framework-module": "^5.0.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"typescript": "^5.8.2"
|
|
@@ -27,7 +27,7 @@ export class ConsoleLogger extends Logger {
|
|
|
27
27
|
/** @inheritdoc */
|
|
28
28
|
protected loggerCallback(lvl: LogLevel, msg: string, _containsPii?: boolean): void {
|
|
29
29
|
console[this.getLogType(lvl)](
|
|
30
|
-
|
|
30
|
+
'%c FUSION::MSAL %c %s',
|
|
31
31
|
'border: 1px solid;',
|
|
32
32
|
'border: none;',
|
|
33
33
|
msg,
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '
|
|
2
|
+
export const version = '5.0.1';
|