@equinor/fusion-framework-module-msal
Advanced tools
Comparing version 3.0.10 to 3.1.0
# Change Log | ||
## 3.1.0 | ||
### Minor Changes | ||
- [#1953](https://github.com/equinor/fusion-framework/pull/1953) [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904) Thanks [@odinr](https://github.com/odinr)! - updated typescript to 5.4.2 | ||
### Patch Changes | ||
- Updated dependencies [[`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904), [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904)]: | ||
- @equinor/fusion-framework-module@4.3.0 | ||
## 3.0.10 | ||
@@ -4,0 +15,0 @@ |
@@ -38,5 +38,5 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
} | ||
login(options, behavior = defaultBehavior, silent = true) { | ||
var _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
login(options_1) { | ||
return __awaiter(this, arguments, void 0, function* (options, behavior = defaultBehavior, silent = true) { | ||
var _a; | ||
const loginHint = (options === null || options === void 0 ? void 0 : options.loginHint) || ((_a = this.account) === null || _a === void 0 ? void 0 : _a.username); | ||
@@ -65,4 +65,4 @@ const scopes = (options === null || options === void 0 ? void 0 : options.scopes) || []; | ||
} | ||
acquireToken(options = { scopes: [] }, behavior = defaultBehavior, silent = true) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
acquireToken() { | ||
return __awaiter(this, arguments, void 0, function* (options = { scopes: [] }, behavior = defaultBehavior, silent = true) { | ||
const account = yield this.account; | ||
@@ -69,0 +69,0 @@ if (silent && account) { |
@@ -22,3 +22,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}, | ||
initialize: ({ config }) => __awaiter(void 0, void 0, void 0, function* () { | ||
initialize: (_a) => __awaiter(void 0, [_a], void 0, function* ({ config }) { | ||
const authProvider = new AuthProvider(config); | ||
@@ -25,0 +25,0 @@ if (config.requiresAuth) { |
@@ -1,2 +0,2 @@ | ||
export const version = '3.0.10'; | ||
export const version = '3.1.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -1,1 +0,1 @@ | ||
export declare const version = "3.0.10"; | ||
export declare const version = "3.1.0"; |
{ | ||
"name": "@equinor/fusion-framework-module-msal", | ||
"version": "3.0.10", | ||
"version": "3.1.0", | ||
"description": "", | ||
@@ -37,6 +37,6 @@ "main": "dist/esm/index.js", | ||
"@azure/msal-browser": "^2.21.0", | ||
"@equinor/fusion-framework-module": "^4.2.7" | ||
"@equinor/fusion-framework-module": "^4.3.0" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^5.1.3" | ||
"typescript": "^5.4.2" | ||
}, | ||
@@ -43,0 +43,0 @@ "scripts": { |
// Generated by genversion. | ||
export const version = '3.0.10'; | ||
export const version = '3.1.0'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
190291