@azure/msal-browser 2.18.0 → 2.22.0
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.json +1758 -1548
- package/CHANGELOG.md +553 -491
- package/LICENSE +21 -21
- package/README.md +5 -3
- package/dist/_virtual/_tslib.js +1 -1
- package/dist/app/ClientApplication.d.ts +30 -1
- package/dist/app/ClientApplication.d.ts.map +1 -1
- package/dist/app/ClientApplication.js +101 -5
- package/dist/app/ClientApplication.js.map +1 -1
- package/dist/app/IPublicClientApplication.d.ts +4 -0
- package/dist/app/IPublicClientApplication.d.ts.map +1 -1
- package/dist/app/IPublicClientApplication.js +7 -1
- package/dist/app/IPublicClientApplication.js.map +1 -1
- package/dist/app/PublicClientApplication.d.ts +2 -2
- package/dist/app/PublicClientApplication.d.ts.map +1 -1
- package/dist/app/PublicClientApplication.js +31 -24
- package/dist/app/PublicClientApplication.js.map +1 -1
- package/dist/cache/AsyncMemoryStorage.d.ts +46 -0
- package/dist/cache/AsyncMemoryStorage.d.ts.map +1 -0
- package/dist/cache/AsyncMemoryStorage.js +195 -0
- package/dist/cache/AsyncMemoryStorage.js.map +1 -0
- package/dist/cache/BrowserCacheManager.d.ts +19 -13
- package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/cache/BrowserCacheManager.js +31 -7
- package/dist/cache/BrowserCacheManager.js.map +1 -1
- package/dist/cache/BrowserStorage.d.ts +1 -1
- package/dist/cache/BrowserStorage.d.ts.map +1 -1
- package/dist/cache/BrowserStorage.js +1 -1
- package/dist/cache/BrowserStorage.js.map +1 -1
- package/dist/cache/DatabaseStorage.d.ts +25 -6
- package/dist/cache/DatabaseStorage.d.ts.map +1 -1
- package/dist/cache/DatabaseStorage.js +127 -81
- package/dist/cache/DatabaseStorage.js.map +1 -1
- package/dist/cache/IAsyncMemoryStorage.d.ts +28 -0
- package/dist/cache/IAsyncMemoryStorage.d.ts.map +1 -0
- package/dist/cache/IWindowStorage.d.ts +3 -3
- package/dist/cache/IWindowStorage.d.ts.map +1 -1
- package/dist/cache/MemoryStorage.d.ts +3 -3
- package/dist/cache/MemoryStorage.d.ts.map +1 -1
- package/dist/cache/MemoryStorage.js +1 -1
- package/dist/cache/MemoryStorage.js.map +1 -1
- package/dist/cache/TokenCache.d.ts.map +1 -1
- package/dist/cache/TokenCache.js +4 -3
- package/dist/cache/TokenCache.js.map +1 -1
- package/dist/config/Configuration.d.ts +10 -9
- package/dist/config/Configuration.d.ts.map +1 -1
- package/dist/config/Configuration.js +7 -3
- package/dist/config/Configuration.js.map +1 -1
- package/dist/crypto/BrowserCrypto.d.ts +3 -1
- package/dist/crypto/BrowserCrypto.d.ts.map +1 -1
- package/dist/crypto/BrowserCrypto.js +3 -2
- package/dist/crypto/BrowserCrypto.js.map +1 -1
- package/dist/crypto/CryptoOps.d.ts +16 -5
- package/dist/crypto/CryptoOps.d.ts.map +1 -1
- package/dist/crypto/CryptoOps.js +58 -17
- package/dist/crypto/CryptoOps.js.map +1 -1
- package/dist/crypto/GuidGenerator.js +1 -1
- package/dist/crypto/GuidGenerator.js.map +1 -1
- package/dist/crypto/PkceGenerator.js +1 -1
- package/dist/crypto/PkceGenerator.js.map +1 -1
- package/dist/crypto/SignedHttpRequest.d.ts +6 -2
- package/dist/crypto/SignedHttpRequest.d.ts.map +1 -1
- package/dist/crypto/SignedHttpRequest.js +11 -5
- package/dist/crypto/SignedHttpRequest.js.map +1 -1
- package/dist/encode/Base64Decode.js +1 -1
- package/dist/encode/Base64Decode.js.map +1 -1
- package/dist/encode/Base64Encode.js +1 -1
- package/dist/encode/Base64Encode.js.map +1 -1
- package/dist/error/BrowserAuthError.d.ts +16 -0
- package/dist/error/BrowserAuthError.d.ts.map +1 -1
- package/dist/error/BrowserAuthError.js +22 -2
- package/dist/error/BrowserAuthError.js.map +1 -1
- package/dist/error/BrowserConfigurationAuthError.js +1 -1
- package/dist/error/BrowserConfigurationAuthError.js.map +1 -1
- package/dist/event/EventHandler.js +1 -1
- package/dist/event/EventHandler.js.map +1 -1
- package/dist/event/EventMessage.js +1 -1
- package/dist/event/EventMessage.js.map +1 -1
- package/dist/event/EventType.d.ts +3 -0
- package/dist/event/EventType.d.ts.map +1 -1
- package/dist/event/EventType.js +4 -1
- package/dist/event/EventType.js.map +1 -1
- package/dist/index.cjs.js +1473 -511
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +16 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -3
- package/dist/index.js.map +1 -1
- package/dist/interaction_client/BaseInteractionClient.d.ts +2 -2
- package/dist/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/BaseInteractionClient.js +40 -17
- package/dist/interaction_client/BaseInteractionClient.js.map +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +5 -0
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -0
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.js +21 -0
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.js.map +1 -0
- package/dist/interaction_client/PopupClient.d.ts +4 -3
- package/dist/interaction_client/PopupClient.d.ts.map +1 -1
- package/dist/interaction_client/PopupClient.js +23 -21
- package/dist/interaction_client/PopupClient.js.map +1 -1
- package/dist/interaction_client/RedirectClient.d.ts +3 -3
- package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
- package/dist/interaction_client/RedirectClient.js +22 -20
- package/dist/interaction_client/RedirectClient.js.map +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.d.ts +22 -0
- package/dist/interaction_client/SilentAuthCodeClient.d.ts.map +1 -0
- package/dist/interaction_client/SilentAuthCodeClient.js +83 -0
- package/dist/interaction_client/SilentAuthCodeClient.js.map +1 -0
- package/dist/interaction_client/SilentCacheClient.d.ts +3 -3
- package/dist/interaction_client/SilentCacheClient.d.ts.map +1 -1
- package/dist/interaction_client/SilentCacheClient.js +15 -5
- package/dist/interaction_client/SilentCacheClient.js.map +1 -1
- package/dist/interaction_client/SilentIframeClient.d.ts +3 -3
- package/dist/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/dist/interaction_client/SilentIframeClient.js +16 -13
- package/dist/interaction_client/SilentIframeClient.js.map +1 -1
- package/dist/interaction_client/SilentRefreshClient.d.ts +2 -2
- package/dist/interaction_client/SilentRefreshClient.d.ts.map +1 -1
- package/dist/interaction_client/SilentRefreshClient.js +13 -10
- package/dist/interaction_client/SilentRefreshClient.js.map +1 -1
- package/dist/interaction_client/StandardInteractionClient.d.ts +11 -11
- package/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/StandardInteractionClient.js +90 -57
- package/dist/interaction_client/StandardInteractionClient.js.map +1 -1
- package/dist/interaction_handler/InteractionHandler.d.ts +11 -2
- package/dist/interaction_handler/InteractionHandler.d.ts.map +1 -1
- package/dist/interaction_handler/InteractionHandler.js +36 -10
- package/dist/interaction_handler/InteractionHandler.js.map +1 -1
- package/dist/interaction_handler/PopupHandler.d.ts.map +1 -1
- package/dist/interaction_handler/PopupHandler.js +1 -3
- package/dist/interaction_handler/PopupHandler.js.map +1 -1
- package/dist/interaction_handler/RedirectHandler.d.ts +1 -1
- package/dist/interaction_handler/RedirectHandler.d.ts.map +1 -1
- package/dist/interaction_handler/RedirectHandler.js +2 -3
- package/dist/interaction_handler/RedirectHandler.js.map +1 -1
- package/dist/interaction_handler/SilentHandler.js +1 -1
- package/dist/interaction_handler/SilentHandler.js.map +1 -1
- package/dist/navigation/NavigationClient.js +1 -1
- package/dist/navigation/NavigationClient.js.map +1 -1
- package/dist/network/FetchClient.js +1 -1
- package/dist/network/FetchClient.js.map +1 -1
- package/dist/network/XhrClient.js +1 -1
- package/dist/network/XhrClient.js.map +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.js +2 -2
- package/dist/packageMetadata.js.map +1 -1
- package/dist/request/AuthorizationCodeRequest.d.ts +8 -0
- package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -0
- package/dist/request/AuthorizationUrlRequest.d.ts +1 -1
- package/dist/request/AuthorizationUrlRequest.d.ts.map +1 -1
- package/dist/request/EndSessionPopupRequest.d.ts +1 -0
- package/dist/request/EndSessionPopupRequest.d.ts.map +1 -1
- package/dist/request/EndSessionRequest.d.ts +1 -0
- package/dist/request/EndSessionRequest.d.ts.map +1 -1
- package/dist/request/PopupRequest.d.ts +1 -1
- package/dist/request/PopupRequest.d.ts.map +1 -1
- package/dist/request/RedirectRequest.d.ts +1 -1
- package/dist/request/RedirectRequest.d.ts.map +1 -1
- package/dist/request/SilentRequest.d.ts +1 -1
- package/dist/request/SilentRequest.d.ts.map +1 -1
- package/dist/request/SsoSilentRequest.d.ts +1 -1
- package/dist/request/SsoSilentRequest.d.ts.map +1 -1
- package/dist/utils/BrowserConstants.d.ts +6 -1
- package/dist/utils/BrowserConstants.d.ts.map +1 -1
- package/dist/utils/BrowserConstants.js +9 -3
- package/dist/utils/BrowserConstants.js.map +1 -1
- package/dist/utils/BrowserProtocolUtils.js +1 -1
- package/dist/utils/BrowserProtocolUtils.js.map +1 -1
- package/dist/utils/BrowserStringUtils.js +1 -1
- package/dist/utils/BrowserStringUtils.js.map +1 -1
- package/dist/utils/BrowserUtils.js +1 -1
- package/dist/utils/BrowserUtils.js.map +1 -1
- package/dist/utils/MathUtils.js +1 -1
- package/dist/utils/MathUtils.js.map +1 -1
- package/dist/utils/PopupUtils.d.ts +1 -2
- package/dist/utils/PopupUtils.d.ts.map +1 -1
- package/dist/utils/PopupUtils.js +3 -3
- package/dist/utils/PopupUtils.js.map +1 -1
- package/lib/msal-browser.js +1473 -511
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +36 -31
- package/package.json +96 -94
package/package.json
CHANGED
|
@@ -1,94 +1,96 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@azure/msal-browser",
|
|
3
|
-
"author": {
|
|
4
|
-
"name": "Microsoft",
|
|
5
|
-
"email": "nugetaad@microsoft.com",
|
|
6
|
-
"url": "https://www.microsoft.com"
|
|
7
|
-
},
|
|
8
|
-
"license": "MIT",
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "https://github.com/AzureAD/microsoft-authentication-library-for-js.git"
|
|
12
|
-
},
|
|
13
|
-
"version": "2.
|
|
14
|
-
"description": "Microsoft Authentication Library for js",
|
|
15
|
-
"keywords": [
|
|
16
|
-
"implicit",
|
|
17
|
-
"authorization code",
|
|
18
|
-
"PKCE",
|
|
19
|
-
"js",
|
|
20
|
-
"AAD",
|
|
21
|
-
"msal",
|
|
22
|
-
"oauth"
|
|
23
|
-
],
|
|
24
|
-
"sideEffects": false,
|
|
25
|
-
"main": "./dist/index.cjs.js",
|
|
26
|
-
"module": "./dist/index.js",
|
|
27
|
-
"types": "./dist/index.d.ts",
|
|
28
|
-
"engines": {
|
|
29
|
-
"node": ">=0.8.0"
|
|
30
|
-
},
|
|
31
|
-
"beachball": {
|
|
32
|
-
"disallowedChangeTypes": [
|
|
33
|
-
"major"
|
|
34
|
-
]
|
|
35
|
-
},
|
|
36
|
-
"directories": {
|
|
37
|
-
"test": "test"
|
|
38
|
-
},
|
|
39
|
-
"files": [
|
|
40
|
-
"dist",
|
|
41
|
-
"lib/msal-browser.js",
|
|
42
|
-
"lib/msal-browser.js.map",
|
|
43
|
-
"lib/msal-browser.min.js"
|
|
44
|
-
],
|
|
45
|
-
"scripts": {
|
|
46
|
-
"cdn": "npm run build:all && npm run cdn:upload && npm run cdn:sri",
|
|
47
|
-
"cdn:upload": "node ./cdn-upload.js",
|
|
48
|
-
"cdn:sri": "node ./cdn-sri.js",
|
|
49
|
-
"clean": "shx rm -rf dist lib",
|
|
50
|
-
"clean:coverage": "rimraf ../../.nyc_output/*",
|
|
51
|
-
"lint": "cd ../../ && npm run lint:browser",
|
|
52
|
-
"lint:fix": "npm run lint -- -- --fix",
|
|
53
|
-
"test": "jest",
|
|
54
|
-
"test:coverage": "jest --coverage",
|
|
55
|
-
"test:coverage:only": "npm run clean:coverage && npm run test:coverage",
|
|
56
|
-
"build:all": "npm run build:common && npm run build",
|
|
57
|
-
"build:common": "cd ../msal-common && npm run build",
|
|
58
|
-
"build:modules": "rollup -c",
|
|
59
|
-
"build:modules:watch": "rollup -cw",
|
|
60
|
-
"build": "npm run clean && npm run build:modules",
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"@
|
|
66
|
-
"@babel/
|
|
67
|
-
"@babel/plugin-proposal-
|
|
68
|
-
"@babel/
|
|
69
|
-
"@babel/preset-
|
|
70
|
-
"@
|
|
71
|
-
"@
|
|
72
|
-
"@types/
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"rollup
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@azure/msal-browser",
|
|
3
|
+
"author": {
|
|
4
|
+
"name": "Microsoft",
|
|
5
|
+
"email": "nugetaad@microsoft.com",
|
|
6
|
+
"url": "https://www.microsoft.com"
|
|
7
|
+
},
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/AzureAD/microsoft-authentication-library-for-js.git"
|
|
12
|
+
},
|
|
13
|
+
"version": "2.22.0",
|
|
14
|
+
"description": "Microsoft Authentication Library for js",
|
|
15
|
+
"keywords": [
|
|
16
|
+
"implicit",
|
|
17
|
+
"authorization code",
|
|
18
|
+
"PKCE",
|
|
19
|
+
"js",
|
|
20
|
+
"AAD",
|
|
21
|
+
"msal",
|
|
22
|
+
"oauth"
|
|
23
|
+
],
|
|
24
|
+
"sideEffects": false,
|
|
25
|
+
"main": "./dist/index.cjs.js",
|
|
26
|
+
"module": "./dist/index.js",
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"engines": {
|
|
29
|
+
"node": ">=0.8.0"
|
|
30
|
+
},
|
|
31
|
+
"beachball": {
|
|
32
|
+
"disallowedChangeTypes": [
|
|
33
|
+
"major"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"directories": {
|
|
37
|
+
"test": "test"
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"dist",
|
|
41
|
+
"lib/msal-browser.js",
|
|
42
|
+
"lib/msal-browser.js.map",
|
|
43
|
+
"lib/msal-browser.min.js"
|
|
44
|
+
],
|
|
45
|
+
"scripts": {
|
|
46
|
+
"cdn": "npm run build:all && npm run cdn:upload && npm run cdn:sri",
|
|
47
|
+
"cdn:upload": "node ./cdn-upload.js",
|
|
48
|
+
"cdn:sri": "node ./cdn-sri.js",
|
|
49
|
+
"clean": "shx rm -rf dist lib",
|
|
50
|
+
"clean:coverage": "rimraf ../../.nyc_output/*",
|
|
51
|
+
"lint": "cd ../../ && npm run lint:browser",
|
|
52
|
+
"lint:fix": "npm run lint -- -- --fix",
|
|
53
|
+
"test": "jest",
|
|
54
|
+
"test:coverage": "jest --coverage",
|
|
55
|
+
"test:coverage:only": "npm run clean:coverage && npm run test:coverage",
|
|
56
|
+
"build:all": "npm run build:common && npm run build",
|
|
57
|
+
"build:common": "cd ../msal-common && npm run build",
|
|
58
|
+
"build:modules": "rollup -c",
|
|
59
|
+
"build:modules:watch": "rollup -cw",
|
|
60
|
+
"build": "npm run clean && npm run build:modules",
|
|
61
|
+
"link:localDeps": "npx lerna bootstrap --scope @azure/msal-common --scope @azure/msal-browser",
|
|
62
|
+
"prepack": "npm run build:all"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@azure/storage-blob": "^12.2.1",
|
|
66
|
+
"@babel/core": "^7.7.2",
|
|
67
|
+
"@babel/plugin-proposal-class-properties": "^7.7.0",
|
|
68
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
|
|
69
|
+
"@babel/preset-env": "^7.7.1",
|
|
70
|
+
"@babel/preset-typescript": "^7.7.2",
|
|
71
|
+
"@rollup/plugin-node-resolve": "^11.2.1",
|
|
72
|
+
"@types/jest": "^26.0.23",
|
|
73
|
+
"@types/sinon": "^7.5.0",
|
|
74
|
+
"beachball": "^1.32.2",
|
|
75
|
+
"dotenv": "^8.2.0",
|
|
76
|
+
"fake-indexeddb": "^3.1.3",
|
|
77
|
+
"husky": "^3.0.9",
|
|
78
|
+
"jest": "^27.0.4",
|
|
79
|
+
"jsdom": "^15.2.1",
|
|
80
|
+
"jsdom-global": "^3.0.2",
|
|
81
|
+
"rimraf": "^3.0.0",
|
|
82
|
+
"rollup": "^2.46.0",
|
|
83
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
84
|
+
"rollup-plugin-typescript2": "^0.29.0",
|
|
85
|
+
"shx": "^0.3.2",
|
|
86
|
+
"sinon": "^7.5.0",
|
|
87
|
+
"ssri": "^8.0.1",
|
|
88
|
+
"ts-jest": "^27.0.2",
|
|
89
|
+
"tslib": "^1.10.0",
|
|
90
|
+
"tslint": "^5.20.0",
|
|
91
|
+
"typescript": "^3.8.3"
|
|
92
|
+
},
|
|
93
|
+
"dependencies": {
|
|
94
|
+
"@azure/msal-common": "^6.1.0"
|
|
95
|
+
}
|
|
96
|
+
}
|