@equinor/fusion-framework-module-msal
Advanced tools
Comparing version 0.1.16 to 0.1.17
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.1.17](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-msal@0.1.16...@equinor/fusion-framework-module-msal@0.1.17) (2022-06-28) | ||
**Note:** Version bump only for package @equinor/fusion-framework-module-msal | ||
## [0.1.16](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-msal@0.1.15...@equinor/fusion-framework-module-msal@0.1.16) (2022-06-28) | ||
@@ -8,0 +16,0 @@ |
@@ -11,3 +11,3 @@ import { PublicClientApplication, } from '@azure/msal-browser'; | ||
get hasValidClaims() { | ||
const { idTokenClaims } = this.account ?? {}; | ||
const idTokenClaims = this.account?.idTokenClaims; | ||
if (idTokenClaims) { | ||
@@ -14,0 +14,0 @@ const epoch = Math.ceil(Date.now() / 1000); |
{ | ||
"name": "@equinor/fusion-framework-module-msal", | ||
"version": "0.1.16", | ||
"version": "0.1.17", | ||
"description": "", | ||
@@ -24,4 +24,4 @@ "main": "./dist/esm/index.js", | ||
"@azure/msal-browser": "^2.21.0", | ||
"@equinor/fusion-framework-module": "^0.2.3", | ||
"@equinor/fusion-framework-module-http": "^0.3.3" | ||
"@equinor/fusion-framework-module": "^0.2.4", | ||
"@equinor/fusion-framework-module-http": "^0.3.4" | ||
}, | ||
@@ -36,3 +36,6 @@ "types": "index.d.ts", | ||
}, | ||
"gitHead": "a36ad57b4ec0a8f442602ac77c612caed796c6c5" | ||
"devDependencies": { | ||
"typescript": "^4.7.4" | ||
}, | ||
"gitHead": "ebc05b53558f01224c1c294b1f96fc110324ef3b" | ||
} |
@@ -69,3 +69,3 @@ import { | ||
get hasValidClaims(): boolean { | ||
const { idTokenClaims } = this.account ?? {}; | ||
const idTokenClaims = this.account?.idTokenClaims; | ||
if (idTokenClaims) { | ||
@@ -72,0 +72,0 @@ const epoch = Math.ceil(Date.now() / 1000); |
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
143521
1