@equinor/fusion-framework-app
Advanced tools
Comparing version
# Change Log | ||
## 9.3.0-msal-0b0dadf270ee512f019a325c2f1586f91f9150a4 | ||
### Minor Changes | ||
- [#2814](https://github.com/equinor/fusion-framework/pull/2814) [`308021a`](https://github.com/equinor/fusion-framework/commit/308021a2f2bee7a015b1875caa1eb0ac7d335b6c) Thanks [@odinr](https://github.com/odinr)! - Removed the functionality for configuring MSAL in an application, since the ancestor should provide an instance for the application to use. | ||
This is not a breaking change, but a warning will be logged if the application tries to configure MSAL. | ||
### Patch Changes | ||
- pre-release changeset for tag **msal**, all public packages are patched | ||
- Updated dependencies [[`ca3a3aa`](https://github.com/equinor/fusion-framework/commit/ca3a3aa3e34de9356ae7a696aed128541dc80cca), [`65b1049`](https://github.com/equinor/fusion-framework/commit/65b1049d69a7767b41ba3662d8536b3d7106aee3)]: | ||
- @equinor/fusion-framework-module-msal@4.0.0-msal-0b0dadf270ee512f019a325c2f1586f91f9150a4 | ||
- @equinor/fusion-framework@7.3.0-msal-0b0dadf270ee512f019a325c2f1586f91f9150a4 | ||
- @equinor/fusion-framework-module-app@6.1.5-msal-0b0dadf270ee512f019a325c2f1586f91f9150a4 | ||
- @equinor/fusion-framework-module-event@4.3.1-msal-0b0dadf270ee512f019a325c2f1586f91f9150a4 | ||
- @equinor/fusion-framework-module-feature-flag@1.1.13-msal-0b0dadf270ee512f019a325c2f1586f91f9150a4 | ||
- @equinor/fusion-framework-module-http@6.2.1-msal-0b0dadf270ee512f019a325c2f1586f91f9150a4 | ||
- @equinor/fusion-framework-module@4.3.6-msal-0b0dadf270ee512f019a325c2f1586f91f9150a4 | ||
## 9.2.3 | ||
@@ -4,0 +25,0 @@ |
@@ -13,3 +13,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
import http, { configureHttpClient, configureHttp, } from '@equinor/fusion-framework-module-http'; | ||
import auth, { configureMsal } from '@equinor/fusion-framework-module-msal'; | ||
import auth from '@equinor/fusion-framework-module-msal'; | ||
export class AppConfigurator extends ModulesConfigurator { | ||
@@ -41,7 +41,4 @@ constructor(env) { | ||
} | ||
configureMsal(...args) { | ||
this.addConfig(configureMsal(...args)); | ||
} | ||
} | ||
export default AppConfigurator; | ||
//# sourceMappingURL=AppConfigurator.js.map |
import { type FusionModulesInstance } from '@equinor/fusion-framework'; | ||
import { type AnyModule, type IModulesConfigurator, ModulesConfigurator } from '@equinor/fusion-framework-module'; | ||
import { configureHttpClient, configureHttp, type HttpClientOptions } from '@equinor/fusion-framework-module-http'; | ||
import { configureMsal } from '@equinor/fusion-framework-module-msal'; | ||
import { AppEnv, AppModules } from './types'; | ||
@@ -34,18 +33,2 @@ /** | ||
/** | ||
* [required] | ||
* Setup of MSAL auth module | ||
* @example | ||
* ```ts | ||
configurator.configureMsal( | ||
{ | ||
tenantId: '{TENANT_ID}', | ||
clientId: '{CLIENT_ID}', | ||
redirectUri: '/authentication/login-callback', | ||
}, | ||
{ requiresAuth: true } | ||
); | ||
* ``` | ||
*/ | ||
configureMsal(...args: Parameters<typeof configureMsal>): void; | ||
/** | ||
* [optional] | ||
@@ -65,4 +48,3 @@ * | ||
useFrameworkServiceClient(serviceName: string, options?: Omit<HttpClientOptions<any>, 'baseUri' | 'defaultScopes'>): void; | ||
configureMsal(...args: Parameters<typeof configureMsal>): void; | ||
} | ||
export default AppConfigurator; |
{ | ||
"name": "@equinor/fusion-framework-app", | ||
"version": "9.2.3", | ||
"version": "9.3.0-msal-0b0dadf270ee512f019a325c2f1586f91f9150a4", | ||
"description": "", | ||
@@ -45,15 +45,15 @@ "main": "dist/esm/index.js", | ||
"dependencies": { | ||
"@equinor/fusion-framework": "^7.2.16", | ||
"@equinor/fusion-framework-module": "^4.3.5", | ||
"@equinor/fusion-framework-module-app": "^6.1.4", | ||
"@equinor/fusion-framework-module-event": "^4.3.0", | ||
"@equinor/fusion-framework-module-http": "^6.2.0", | ||
"@equinor/fusion-framework-module-msal": "^3.1.5" | ||
"@equinor/fusion-framework": "^7.3.0-msal-0b0dadf270ee512f019a325c2f1586f91f9150a4", | ||
"@equinor/fusion-framework-module-app": "^6.1.5-msal-0b0dadf270ee512f019a325c2f1586f91f9150a4", | ||
"@equinor/fusion-framework-module-http": "^6.2.1-msal-0b0dadf270ee512f019a325c2f1586f91f9150a4", | ||
"@equinor/fusion-framework-module-event": "^4.3.1-msal-0b0dadf270ee512f019a325c2f1586f91f9150a4", | ||
"@equinor/fusion-framework-module": "^4.3.6-msal-0b0dadf270ee512f019a325c2f1586f91f9150a4", | ||
"@equinor/fusion-framework-module-msal": "^4.0.0-msal-0b0dadf270ee512f019a325c2f1586f91f9150a4" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^5.5.4", | ||
"@equinor/fusion-framework-module-bookmark": "^2.1.1" | ||
"@equinor/fusion-framework-module-bookmark": "^2.1.2-msal-0b0dadf270ee512f019a325c2f1586f91f9150a4" | ||
}, | ||
"peerDependencies": { | ||
"@equinor/fusion-framework-module-feature-flag": "^1.1.12" | ||
"@equinor/fusion-framework-module-feature-flag": "^1.1.13-msal-0b0dadf270ee512f019a325c2f1586f91f9150a4" | ||
}, | ||
@@ -60,0 +60,0 @@ "peerDependenciesMeta": { |
@@ -18,3 +18,3 @@ import { type FusionModulesInstance } from '@equinor/fusion-framework'; | ||
import auth, { configureMsal } from '@equinor/fusion-framework-module-msal'; | ||
import auth from '@equinor/fusion-framework-module-msal'; | ||
@@ -56,19 +56,2 @@ import { AppEnv, AppModules } from './types'; | ||
/** | ||
* [required] | ||
* Setup of MSAL auth module | ||
* @example | ||
* ```ts | ||
configurator.configureMsal( | ||
{ | ||
tenantId: '{TENANT_ID}', | ||
clientId: '{CLIENT_ID}', | ||
redirectUri: '/authentication/login-callback', | ||
}, | ||
{ requiresAuth: true } | ||
); | ||
* ``` | ||
*/ | ||
configureMsal(...args: Parameters<typeof configureMsal>): void; | ||
/** | ||
* [optional] | ||
@@ -129,8 +112,4 @@ * | ||
} | ||
public configureMsal(...args: Parameters<typeof configureMsal>) { | ||
this.addConfig(configureMsal(...args)); | ||
} | ||
} | ||
export default AppConfigurator; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
241451
0.51%680
-5.56%1
Infinity%- Removed
Updated
Updated
Updated
Updated
Updated
Updated