@azure/msal-browser 2.38.4 → 2.39.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.
Files changed (126) hide show
  1. package/LICENSE +21 -21
  2. package/dist/_virtual/_tslib.js +1 -1
  3. package/dist/app/ClientApplication.js +3 -3
  4. package/dist/app/ClientApplication.js.map +1 -1
  5. package/dist/app/IPublicClientApplication.d.ts +1 -0
  6. package/dist/app/IPublicClientApplication.d.ts.map +1 -1
  7. package/dist/app/IPublicClientApplication.js +5 -2
  8. package/dist/app/IPublicClientApplication.js.map +1 -1
  9. package/dist/app/PublicClientApplication.d.ts +8 -0
  10. package/dist/app/PublicClientApplication.d.ts.map +1 -1
  11. package/dist/app/PublicClientApplication.js +30 -3
  12. package/dist/app/PublicClientApplication.js.map +1 -1
  13. package/dist/broker/nativeBroker/NativeMessageHandler.js +1 -1
  14. package/dist/broker/nativeBroker/NativeMessageHandler.js.map +1 -1
  15. package/dist/cache/AsyncMemoryStorage.js +1 -1
  16. package/dist/cache/AsyncMemoryStorage.js.map +1 -1
  17. package/dist/cache/BrowserCacheManager.d.ts +11 -1
  18. package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
  19. package/dist/cache/BrowserCacheManager.js +31 -3
  20. package/dist/cache/BrowserCacheManager.js.map +1 -1
  21. package/dist/cache/BrowserStorage.js +1 -1
  22. package/dist/cache/BrowserStorage.js.map +1 -1
  23. package/dist/cache/CryptoKeyStore.js +1 -1
  24. package/dist/cache/CryptoKeyStore.js.map +1 -1
  25. package/dist/cache/DatabaseStorage.js +1 -1
  26. package/dist/cache/DatabaseStorage.js.map +1 -1
  27. package/dist/cache/MemoryStorage.js +1 -1
  28. package/dist/cache/MemoryStorage.js.map +1 -1
  29. package/dist/cache/TokenCache.d.ts +1 -0
  30. package/dist/cache/TokenCache.d.ts.map +1 -1
  31. package/dist/cache/TokenCache.js +18 -18
  32. package/dist/cache/TokenCache.js.map +1 -1
  33. package/dist/config/Configuration.js +1 -1
  34. package/dist/config/Configuration.js.map +1 -1
  35. package/dist/crypto/BrowserCrypto.js +1 -1
  36. package/dist/crypto/BrowserCrypto.js.map +1 -1
  37. package/dist/crypto/CryptoOps.js +1 -1
  38. package/dist/crypto/CryptoOps.js.map +1 -1
  39. package/dist/crypto/GuidGenerator.js +1 -1
  40. package/dist/crypto/GuidGenerator.js.map +1 -1
  41. package/dist/crypto/ModernBrowserCrypto.js +1 -1
  42. package/dist/crypto/ModernBrowserCrypto.js.map +1 -1
  43. package/dist/crypto/MsBrowserCrypto.js +1 -1
  44. package/dist/crypto/MsBrowserCrypto.js.map +1 -1
  45. package/dist/crypto/MsrBrowserCrypto.js +1 -1
  46. package/dist/crypto/MsrBrowserCrypto.js.map +1 -1
  47. package/dist/crypto/PkceGenerator.js +1 -1
  48. package/dist/crypto/PkceGenerator.js.map +1 -1
  49. package/dist/crypto/SignedHttpRequest.js +1 -1
  50. package/dist/crypto/SignedHttpRequest.js.map +1 -1
  51. package/dist/encode/Base64Decode.js +1 -1
  52. package/dist/encode/Base64Decode.js.map +1 -1
  53. package/dist/encode/Base64Encode.js +1 -1
  54. package/dist/encode/Base64Encode.js.map +1 -1
  55. package/dist/error/BrowserAuthError.js +1 -1
  56. package/dist/error/BrowserAuthError.js.map +1 -1
  57. package/dist/error/BrowserConfigurationAuthError.js +1 -1
  58. package/dist/error/BrowserConfigurationAuthError.js.map +1 -1
  59. package/dist/error/NativeAuthError.js +1 -1
  60. package/dist/error/NativeAuthError.js.map +1 -1
  61. package/dist/event/EventHandler.js +1 -1
  62. package/dist/event/EventHandler.js.map +1 -1
  63. package/dist/event/EventMessage.js +1 -1
  64. package/dist/event/EventMessage.js.map +1 -1
  65. package/dist/event/EventType.js +1 -1
  66. package/dist/event/EventType.js.map +1 -1
  67. package/dist/index.cjs.js +228 -214
  68. package/dist/index.cjs.js.map +1 -1
  69. package/dist/index.js +1 -1
  70. package/dist/interaction_client/BaseInteractionClient.js +2 -2
  71. package/dist/interaction_client/BaseInteractionClient.js.map +1 -1
  72. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.js +1 -1
  73. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.js.map +1 -1
  74. package/dist/interaction_client/NativeInteractionClient.d.ts +1 -10
  75. package/dist/interaction_client/NativeInteractionClient.d.ts.map +1 -1
  76. package/dist/interaction_client/NativeInteractionClient.js +17 -23
  77. package/dist/interaction_client/NativeInteractionClient.js.map +1 -1
  78. package/dist/interaction_client/PopupClient.js +1 -1
  79. package/dist/interaction_client/PopupClient.js.map +1 -1
  80. package/dist/interaction_client/RedirectClient.js +1 -1
  81. package/dist/interaction_client/RedirectClient.js.map +1 -1
  82. package/dist/interaction_client/SilentAuthCodeClient.js +1 -1
  83. package/dist/interaction_client/SilentAuthCodeClient.js.map +1 -1
  84. package/dist/interaction_client/SilentCacheClient.js +1 -1
  85. package/dist/interaction_client/SilentCacheClient.js.map +1 -1
  86. package/dist/interaction_client/SilentIframeClient.js +1 -1
  87. package/dist/interaction_client/SilentIframeClient.js.map +1 -1
  88. package/dist/interaction_client/SilentRefreshClient.js +1 -1
  89. package/dist/interaction_client/SilentRefreshClient.js.map +1 -1
  90. package/dist/interaction_client/StandardInteractionClient.js +2 -2
  91. package/dist/interaction_client/StandardInteractionClient.js.map +1 -1
  92. package/dist/interaction_handler/InteractionHandler.js +1 -1
  93. package/dist/interaction_handler/InteractionHandler.js.map +1 -1
  94. package/dist/interaction_handler/RedirectHandler.js +1 -1
  95. package/dist/interaction_handler/RedirectHandler.js.map +1 -1
  96. package/dist/interaction_handler/SilentHandler.js +1 -1
  97. package/dist/interaction_handler/SilentHandler.js.map +1 -1
  98. package/dist/internals.js +1 -1
  99. package/dist/internals.js.map +1 -1
  100. package/dist/navigation/NavigationClient.js +1 -1
  101. package/dist/navigation/NavigationClient.js.map +1 -1
  102. package/dist/network/FetchClient.js +1 -1
  103. package/dist/network/FetchClient.js.map +1 -1
  104. package/dist/network/XhrClient.js +1 -1
  105. package/dist/network/XhrClient.js.map +1 -1
  106. package/dist/packageMetadata.d.ts +1 -1
  107. package/dist/packageMetadata.js +2 -2
  108. package/dist/packageMetadata.js.map +1 -1
  109. package/dist/telemetry/BrowserPerformanceClient.js +1 -1
  110. package/dist/telemetry/BrowserPerformanceClient.js.map +1 -1
  111. package/dist/telemetry/BrowserPerformanceMeasurement.js +1 -1
  112. package/dist/telemetry/BrowserPerformanceMeasurement.js.map +1 -1
  113. package/dist/utils/BrowserConstants.js +1 -1
  114. package/dist/utils/BrowserConstants.js.map +1 -1
  115. package/dist/utils/BrowserProtocolUtils.js +1 -1
  116. package/dist/utils/BrowserProtocolUtils.js.map +1 -1
  117. package/dist/utils/BrowserStringUtils.js +1 -1
  118. package/dist/utils/BrowserStringUtils.js.map +1 -1
  119. package/dist/utils/BrowserUtils.js +1 -1
  120. package/dist/utils/BrowserUtils.js.map +1 -1
  121. package/dist/utils/MathUtils.js +1 -1
  122. package/dist/utils/MathUtils.js.map +1 -1
  123. package/lib/msal-browser.js +230 -216
  124. package/lib/msal-browser.js.map +1 -1
  125. package/lib/msal-browser.min.js +37 -38
  126. package/package.json +95 -95
package/package.json CHANGED
@@ -1,95 +1,95 @@
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.38.4",
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": "^27.5.2",
73
- "@types/sinon": "^7.5.0",
74
- "dotenv": "^8.2.0",
75
- "fake-indexeddb": "^3.1.3",
76
- "husky": "^3.0.9",
77
- "jest": "^27.0.4",
78
- "jsdom": "^20.0.0",
79
- "jsdom-global": "^3.0.2",
80
- "rimraf": "^3.0.0",
81
- "rollup": "^2.46.0",
82
- "rollup-plugin-terser": "^7.0.2",
83
- "rollup-plugin-typescript2": "^0.29.0",
84
- "shx": "^0.3.2",
85
- "sinon": "^7.5.0",
86
- "ssri": "^8.0.1",
87
- "ts-jest": "^27.0.2",
88
- "tslib": "^1.10.0",
89
- "tslint": "^5.20.0",
90
- "typescript": "^3.8.3"
91
- },
92
- "dependencies": {
93
- "@azure/msal-common": "13.3.1"
94
- }
95
- }
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.39.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": "^27.5.2",
73
+ "@types/sinon": "^7.5.0",
74
+ "dotenv": "^8.2.0",
75
+ "fake-indexeddb": "^3.1.3",
76
+ "husky": "^3.0.9",
77
+ "jest": "^27.0.4",
78
+ "jsdom": "^20.0.0",
79
+ "jsdom-global": "^3.0.2",
80
+ "rimraf": "^3.0.0",
81
+ "rollup": "^2.46.0",
82
+ "rollup-plugin-terser": "^7.0.2",
83
+ "rollup-plugin-typescript2": "^0.29.0",
84
+ "shx": "^0.3.2",
85
+ "sinon": "^7.5.0",
86
+ "ssri": "^8.0.1",
87
+ "ts-jest": "^27.0.2",
88
+ "tslib": "^1.10.0",
89
+ "tslint": "^5.20.0",
90
+ "typescript": "^3.8.3"
91
+ },
92
+ "dependencies": {
93
+ "@azure/msal-common": "13.3.3"
94
+ }
95
+ }