@azure/msal-browser 2.17.0 → 2.19.1

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 (119) hide show
  1. package/README.md +212 -206
  2. package/dist/_virtual/_tslib.js +1 -1
  3. package/dist/app/ClientApplication.d.ts +12 -0
  4. package/dist/app/ClientApplication.d.ts.map +1 -1
  5. package/dist/app/ClientApplication.js +21 -3
  6. package/dist/app/ClientApplication.js.map +1 -1
  7. package/dist/app/IPublicClientApplication.d.ts +4 -0
  8. package/dist/app/IPublicClientApplication.d.ts.map +1 -1
  9. package/dist/app/IPublicClientApplication.js +10 -1
  10. package/dist/app/IPublicClientApplication.js.map +1 -1
  11. package/dist/app/PublicClientApplication.d.ts.map +1 -1
  12. package/dist/app/PublicClientApplication.js +5 -3
  13. package/dist/app/PublicClientApplication.js.map +1 -1
  14. package/dist/cache/AsyncMemoryStorage.d.ts +46 -0
  15. package/dist/cache/AsyncMemoryStorage.d.ts.map +1 -0
  16. package/dist/cache/AsyncMemoryStorage.js +195 -0
  17. package/dist/cache/AsyncMemoryStorage.js.map +1 -0
  18. package/dist/cache/BrowserCacheManager.d.ts +9 -1
  19. package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
  20. package/dist/cache/BrowserCacheManager.js +54 -2
  21. package/dist/cache/BrowserCacheManager.js.map +1 -1
  22. package/dist/cache/BrowserStorage.d.ts +1 -1
  23. package/dist/cache/BrowserStorage.d.ts.map +1 -1
  24. package/dist/cache/BrowserStorage.js +1 -1
  25. package/dist/cache/BrowserStorage.js.map +1 -1
  26. package/dist/cache/DatabaseStorage.d.ts +25 -6
  27. package/dist/cache/DatabaseStorage.d.ts.map +1 -1
  28. package/dist/cache/DatabaseStorage.js +127 -81
  29. package/dist/cache/DatabaseStorage.js.map +1 -1
  30. package/dist/cache/IAsyncMemoryStorage.d.ts +28 -0
  31. package/dist/cache/IAsyncMemoryStorage.d.ts.map +1 -0
  32. package/dist/cache/IWindowStorage.d.ts +3 -3
  33. package/dist/cache/IWindowStorage.d.ts.map +1 -1
  34. package/dist/cache/MemoryStorage.d.ts +3 -3
  35. package/dist/cache/MemoryStorage.d.ts.map +1 -1
  36. package/dist/cache/MemoryStorage.js +1 -1
  37. package/dist/cache/MemoryStorage.js.map +1 -1
  38. package/dist/cache/TokenCache.js +1 -1
  39. package/dist/config/Configuration.js +1 -1
  40. package/dist/crypto/BrowserCrypto.d.ts +3 -1
  41. package/dist/crypto/BrowserCrypto.d.ts.map +1 -1
  42. package/dist/crypto/BrowserCrypto.js +3 -2
  43. package/dist/crypto/BrowserCrypto.js.map +1 -1
  44. package/dist/crypto/CryptoOps.d.ts +11 -5
  45. package/dist/crypto/CryptoOps.d.ts.map +1 -1
  46. package/dist/crypto/CryptoOps.js +37 -13
  47. package/dist/crypto/CryptoOps.js.map +1 -1
  48. package/dist/crypto/GuidGenerator.js +1 -1
  49. package/dist/crypto/PkceGenerator.js +1 -1
  50. package/dist/crypto/SignedHttpRequest.d.ts +6 -2
  51. package/dist/crypto/SignedHttpRequest.d.ts.map +1 -1
  52. package/dist/crypto/SignedHttpRequest.js +11 -5
  53. package/dist/crypto/SignedHttpRequest.js.map +1 -1
  54. package/dist/encode/Base64Decode.js +1 -1
  55. package/dist/encode/Base64Encode.js +1 -1
  56. package/dist/error/BrowserAuthError.d.ts +8 -8
  57. package/dist/error/BrowserAuthError.d.ts.map +1 -1
  58. package/dist/error/BrowserAuthError.js +12 -12
  59. package/dist/error/BrowserAuthError.js.map +1 -1
  60. package/dist/error/BrowserConfigurationAuthError.js +1 -1
  61. package/dist/event/EventHandler.d.ts +13 -0
  62. package/dist/event/EventHandler.d.ts.map +1 -1
  63. package/dist/event/EventHandler.js +66 -1
  64. package/dist/event/EventHandler.js.map +1 -1
  65. package/dist/event/EventMessage.d.ts +2 -2
  66. package/dist/event/EventMessage.d.ts.map +1 -1
  67. package/dist/event/EventMessage.js +1 -1
  68. package/dist/event/EventMessage.js.map +1 -1
  69. package/dist/event/EventType.d.ts +2 -0
  70. package/dist/event/EventType.d.ts.map +1 -1
  71. package/dist/event/EventType.js +3 -1
  72. package/dist/event/EventType.js.map +1 -1
  73. package/dist/index.cjs.js +2427 -1799
  74. package/dist/index.cjs.js.map +1 -1
  75. package/dist/index.d.ts +4 -3
  76. package/dist/index.d.ts.map +1 -1
  77. package/dist/index.js +3 -2
  78. package/dist/index.js.map +1 -1
  79. package/dist/interaction_client/BaseInteractionClient.d.ts +21 -1
  80. package/dist/interaction_client/BaseInteractionClient.d.ts.map +1 -1
  81. package/dist/interaction_client/BaseInteractionClient.js +62 -3
  82. package/dist/interaction_client/BaseInteractionClient.js.map +1 -1
  83. package/dist/interaction_client/PopupClient.js +1 -1
  84. package/dist/interaction_client/RedirectClient.js +2 -2
  85. package/dist/interaction_client/RedirectClient.js.map +1 -1
  86. package/dist/interaction_client/SilentCacheClient.js +1 -1
  87. package/dist/interaction_client/SilentIframeClient.js +2 -2
  88. package/dist/interaction_client/SilentIframeClient.js.map +1 -1
  89. package/dist/interaction_client/SilentRefreshClient.js +1 -1
  90. package/dist/interaction_client/StandardInteractionClient.d.ts +1 -21
  91. package/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  92. package/dist/interaction_client/StandardInteractionClient.js +6 -79
  93. package/dist/interaction_client/StandardInteractionClient.js.map +1 -1
  94. package/dist/interaction_handler/InteractionHandler.js +1 -1
  95. package/dist/interaction_handler/PopupHandler.js +1 -1
  96. package/dist/interaction_handler/RedirectHandler.js +1 -1
  97. package/dist/interaction_handler/SilentHandler.js +1 -1
  98. package/dist/navigation/NavigationClient.js +1 -1
  99. package/dist/network/FetchClient.js +1 -1
  100. package/dist/network/XhrClient.js +1 -1
  101. package/dist/packageMetadata.d.ts +1 -1
  102. package/dist/packageMetadata.js +2 -2
  103. package/dist/packageMetadata.js.map +1 -1
  104. package/dist/request/RedirectRequest.d.ts.map +1 -1
  105. package/dist/utils/BrowserConstants.d.ts +3 -0
  106. package/dist/utils/BrowserConstants.d.ts.map +1 -1
  107. package/dist/utils/BrowserConstants.js +7 -3
  108. package/dist/utils/BrowserConstants.js.map +1 -1
  109. package/dist/utils/BrowserProtocolUtils.js +1 -1
  110. package/dist/utils/BrowserStringUtils.js +1 -1
  111. package/dist/utils/BrowserUtils.js +1 -1
  112. package/dist/utils/MathUtils.js +1 -1
  113. package/dist/utils/PopupUtils.js +1 -1
  114. package/lib/msal-browser.js +2427 -1799
  115. package/lib/msal-browser.js.map +1 -1
  116. package/lib/msal-browser.min.js +30 -30
  117. package/package.json +95 -89
  118. package/CHANGELOG.json +0 -1482
  119. package/changelog.md +0 -475
package/changelog.md DELETED
@@ -1,475 +0,0 @@
1
- # Change Log - @azure/msal-browser
2
-
3
- This log was last generated on Tue, 07 Sep 2021 23:22:24 GMT and should not be manually modified.
4
-
5
- <!-- Start content -->
6
-
7
- ## 2.17.0
8
-
9
- Tue, 07 Sep 2021 23:22:24 GMT
10
-
11
- ### Minor changes
12
-
13
- - Add configuration for popup window size and placement #3946 (joarroyo@microsoft.com)
14
- - Add API to sideload tokens to msal-browser #3895 (joarroyo@microsoft.com)
15
- - Add SignedHttpRequest class #3058 (janutter@microsoft.com)
16
- - Refactor acquireToken logic into InteractionClients #3871 (thomas.norling@microsoft.com)
17
-
18
- ### Patches
19
-
20
- - Clear cache before constructing logout url #3982 (thomas.norling@microsoft.com)
21
- - Add pop params to request thumbprint #3973 (hemoral@microsoft.com)
22
- - Update ADAL to MSAL SSO logic to use preferred_username instead of upn by default #3945 (ellymakuba@microsoft.com)
23
- - Populate msal v2 loginHint from cached msal v1 id token #4027 (janutter@microsoft.com)
24
- - Throw interaction in progress if any msal instance has interaction in progress #4014 (thomas.norling@microsoft.com)
25
- - Only emit handleRedirect start event on first invocation of handleRedirectPromise #4013 (thomas.norling@microsoft.com)
26
- - Add correlationId to AuthenticationResult type #3947 (thomas.norling@microsoft.com)
27
- - Remove token binding key from key store when refreshing pop token #3500 (hemoral@microsoft.com)
28
- - Fix clearing active account on logout #3948 (hemoral@microsoft.com)
29
- - Add correlationId to errors thrown #3930 (thomas.norling@microsoft.com)
30
-
31
- ## 2.16.0
32
-
33
- Thu, 22 Jul 2021 22:50:22 GMT
34
-
35
- ### Minor changes
36
-
37
- - Msal-Browser supports parallel silent requests #3837 (joarroyo@microsoft.com)
38
- - Persist active account #3755 (thomas.norling@microsoft.com)
39
-
40
- ### Patches
41
-
42
- - Add fix for loginRedirect failure when angular index.html base href is different from the origin (#3875) (rishanthakumar@gmail.com)
43
- - fix: fixing the npm audit issues (samuelkamau@microsoft.com)
44
- - Expose isInPopup helper function #3825 (thomas.norling@microsoft.com)
45
-
46
- ## 2.15.0
47
-
48
- Mon, 28 Jun 2021 23:39:48 GMT
49
-
50
- ### Minor changes
51
-
52
- - Add correlationId to log messages #3601 (joarroyo@microsoft.com)
53
- - Add CCS parameters to headers or form_data #3636 (prkanher@microsoft.com)
54
-
55
- ### Patches
56
-
57
- - Update monitor_window_timeout error message with link to error docs #3783 (thomas.norling@microsoft.com)
58
- - Refactor event APIs into EventHandler class #3770 (thomas.norling@microsoft.com)
59
- - Fix logoutPopup parameter type on IPublicClientApplication #3663 (thomas.norling@microsoft.com)
60
-
61
- ## 2.14.2
62
-
63
- Wed, 12 May 2021 18:35:03 GMT
64
-
65
- ### Patches
66
-
67
- - Adjust log messages #3589 (joarroyo@microsoft.com)
68
- - Fix hash removal from URL and browser history after interactive request #3609 (hemoral@microsoft.com)
69
- - Update account equality check #3527 (thomas.norling@microsoft.com)
70
- - Close popup if error is thrown before popup window navigation occurs #3572 (thomas.norling@microsoft.com)
71
- - change msal-browser/msal-common to preserveModules to enable tree-shaking #3300 (oo.thomas96@gmail.com)
72
-
73
- ## 2.14.1
74
-
75
- Thu, 22 Apr 2021 23:26:08 GMT
76
-
77
- ### Patches
78
-
79
- - Add .browserslistrc #3471 (thomas.norling@microsoft.com)
80
- - Look for temp cache items in local storage as fallback #3509 (janutter@microsoft.com)
81
-
82
- ## 2.14.0
83
-
84
- Wed, 14 Apr 2021 18:39:53 GMT
85
-
86
- ### Minor changes
87
-
88
- - Add support for AccessToken_With_AuthScheme credential type #3426 (hectormgdev@gmail.com)
89
-
90
- ### Patches
91
-
92
- - Make SHR parameters optional (#3320) (hemoral@microsoft.com)
93
-
94
- ## 2.13.1
95
-
96
- Wed, 31 Mar 2021 22:25:57 GMT
97
-
98
- ### Patches
99
-
100
- - Export PopupEvent #3360 (joarroyo@microsoft.com)
101
-
102
- ## 2.13.0
103
-
104
- Wed, 24 Mar 2021 22:55:46 GMT
105
-
106
- ### Minor changes
107
-
108
- - Add logoutPopup API #3044 (thomas.norling@microsoft.com)
109
-
110
- ### Patches
111
-
112
- - Fix errors thrown on cache lookups when reading non-msal cache values #3245 (thomas.norling@microsoft.com)
113
- - Update blockReloadInIframe error message with link to error doc #3294 (thomas.norling@microsoft.com)
114
- - Block nested popups #3249 (thomas.norling@microsoft.com)
115
-
116
- ## 2.12.1
117
-
118
- Mon, 15 Mar 2021 23:45:17 GMT
119
-
120
- ### Patches
121
-
122
- - Clear temporary cache cookies on page load #3129 (prkanher@microsoft.com)
123
- - Throw BrowserAuthError when fetch fails #3146 (thomas.norling@microsoft.com)
124
-
125
- ## 2.12.0
126
-
127
- Wed, 03 Mar 2021 21:47:05 GMT
128
-
129
- ### Minor changes
130
-
131
- - Add option to make MSAL browser cookies secure (#3001) (hemoral@microsoft.com)
132
- - Add setNavigationClient API and expose INavigationClient interface (#2985) (thomas.norling@microsoft.com)
133
-
134
- ### Patches
135
-
136
- - Separate telemetry for ssoSilent and ATS iframe renewal (#3064) (thomas.norling@microsoft.com)
137
- - Add instrumentation to msal-browser (#3004) (joarroyo@microsoft.com)
138
- - Memoize multiple calls to handleRedirectPromise (#3072) (thomas.norling@microsoft.com)
139
-
140
- ## 2.11.2
141
-
142
- Thu, 18 Feb 2021 00:34:32 GMT
143
-
144
- ### Patches
145
-
146
- - Ensure scrollbars are enabled for popups in browser (janutter@microsoft.com)
147
-
148
- ## 2.11.1
149
-
150
- Tue, 09 Feb 2021 01:48:22 GMT
151
-
152
- ### Patches
153
-
154
- - Fix version.json import errors (#2993) (thomas.norling@microsoft.com)
155
- - Add missing network types to browser exports (#2995) (prkanher@microsoft.com)
156
- - Ignore OIDC scopes during cache lookup or replacement (#2969) (prkanher@microsoft.com)
157
- - Allow apps to not use the current page as default postLogoutRedirectUri in MSAL Browser (#2789) (janutter@microsoft.com)
158
- - Fix PCA stub errors (#2963) (thomas.norling@microsoft.com)
159
-
160
- ## 2.11.0
161
-
162
- Tue, 02 Feb 2021 01:56:47 GMT
163
-
164
- ### Minor changes
165
-
166
- - Add initializeWrapperLibrary API (#2845) (thomas.norling@microsoft.com)
167
- - Add getInteractionStatusFromEvent to msal-browser (#2885) (joarroyo@microsoft.com)
168
-
169
- ### Patches
170
-
171
- - Fix temp cache cleanup when using localStorage (#2935) (thomas.norling@microsoft.com)
172
- - Get package version from version.json (#2915) (thomas.norling@microsoft.com)
173
-
174
- ## 2.10.0
175
-
176
- Thu, 21 Jan 2021 21:48:01 GMT
177
-
178
- ### Minor changes
179
-
180
- - Authority metadata caching (#2758) (thomas.norling@microsoft.com)
181
-
182
- ### Patches
183
-
184
- - Fix handling of multiple popup windows (#2842) (janutter@microsoft.com)
185
- - redirectStartPage supports relative URIs (#2866) (thomas.norling@microsoft.com)
186
-
187
- ## 2.9.0
188
-
189
- Tue, 12 Jan 2021 00:51:26 GMT
190
-
191
- ### Minor changes
192
-
193
- - Adding an active account API to PublicClientApplication (#2728) (prkanher@microsoft.com)
194
- - Add internal in-memory storage to BrowserCacheManager (#2765) (thomas.norling@microsoft.com)
195
- - Enable strict TypeScript option (#2792) (thomas.norling@microsoft.com)
196
-
197
- ## 2.8.0
198
-
199
- Mon, 07 Dec 2020 22:19:03 GMT
200
-
201
- ### Minor changes
202
-
203
- - Enable the instance_aware flow (#1804) (prkanher@microsoft.com)
204
-
205
- ### Patches
206
-
207
- - Fix clearing of temporary cache items (#2696) (thomas.norling@microsoft.com)
208
- - Add exports to index.ts (#2680) (joarroyo@microsoft.com)
209
- - Expose idTokenClaims on AccountInfo (#2554) (janutter@microsoft.com)
210
- - Add onRedirectNavigate to redirect operations in browser (#2669) (janutter@microsoft.com)
211
- - Update Internal PCA Configuration (#2602) (thomas.norling@microsoft.com)
212
- - Add allowRedirectInIframe flag to browser (#2593) (janutter@microsoft.com)
213
- - Log messages contain package name and version (#2589) (thomas.norling@microsoft.com)
214
- - Update request types (#2512) (thomas.norling@microsoft.com)
215
-
216
- ## 2.7.0
217
-
218
- Wed, 11 Nov 2020 23:33:20 GMT
219
-
220
- ### Minor changes
221
-
222
- - Support relative paths on redirectUri parameter (#2560) (thomas.norling@microsoft.com)
223
-
224
- ### Patches
225
-
226
- - Adds getAccountByLocalId to PCA Interface (#2588) (thomas.norling@microsoft.com)
227
- - Add navigateFrameWait and change loadFrameTimeout to browser to match core behavior (#2545) (janutter@microsoft.com)
228
-
229
- ## 2.6.1
230
-
231
- Tue, 10 Nov 2020 01:48:44 GMT
232
-
233
- ### Patches
234
-
235
- - Export stubbed PCA instance (#2540) (thomas.norling@microsoft.com)
236
-
237
- ## 2.6.0
238
-
239
- Sat, 07 Nov 2020 01:50:14 GMT
240
-
241
- ### Minor changes
242
-
243
- - Fixing a bug and adding `localAccountId` in AccountInfo interface (#2516) (sameera.gajjarapu@microsoft.com)
244
-
245
- ## 2.5.2
246
-
247
- Mon, 02 Nov 2020 23:33:39 GMT
248
-
249
- ### Patches
250
-
251
- - Fix JSON.parse issue and cache value validation (#2527) (prkanher@microsoft.com)
252
-
253
- ## 2.5.1
254
-
255
- Fri, 30 Oct 2020 00:52:19 GMT
256
-
257
- ### Patches
258
-
259
- - Restore string to cacheLocation type (#2523) (janutter@microsoft.com)
260
-
261
- ## 2.5.0
262
-
263
- Thu, 29 Oct 2020 20:36:48 GMT
264
-
265
- ### Minor changes
266
-
267
- - Add getLogger and setLogger to msal-browser (#2513) (joarroyo@microsoft.com)
268
- - Adding memory storage option for cache location (#2481) (prkanher@microsoft.com)
269
-
270
- ### Patches
271
-
272
- - Add handleRedirect End Event (#2518) (thomas.norling@microsoft.com)
273
- - Ensure history.replaceState is a function (janutter@microsoft.com)
274
- - Allow hash to be passed into handleRedirectPromise, reset non-msal after processing (janutter@microsoft.com)
275
-
276
- ## 2.4.1
277
-
278
- Mon, 26 Oct 2020 21:00:29 GMT
279
-
280
- ### Patches
281
-
282
- - msal-browser and msal-node cache Interfaces to msal-common updated (#2415) (sameera.gajjarapu@microsoft.com)
283
-
284
- ## 2.4.0
285
-
286
- Tue, 20 Oct 2020 23:47:28 GMT
287
-
288
- ### Minor changes
289
-
290
- - Add removeEventCallback API (#2462) (thomas.norling@microsoft.com)
291
- - Add event api to msal-browser (#2394) (joarroyo@microsoft.com)
292
-
293
- ### Patches
294
-
295
- - Use history API to clear hash for msal-browser (janutter@microsoft.com)
296
- - Export InteractionType (#2438) (thomas.norling@microsoft.com)
297
- - Add extraQueryParameters to acquireTokenSilent in msal-browser (janutter@microsoft.com)
298
- - Fix unexpected interaction_required error in redirect flow (#2404) (thomas.norling@microsoft.com)
299
- - Adds support for any OIDC-compliant authority (#2389). (jamckenn@microsoft.com)
300
-
301
- ## 2.3.1
302
-
303
- Wed, 14 Oct 2020 23:45:07 GMT
304
-
305
- ### Patches
306
-
307
- - Remove rogue console.log() in the BrowserCrypto.ts file and add a lint rule to prevent future issues (#2410) (prkanher@microsoft.com)
308
- - Check for Headers class when configuring network client (janutter@microsoft.com)
309
- - Update getItem to return ServerTelemetryEntity (#2223) (thomas.norling@microsoft.com)
310
-
311
- ## 2.3.0
312
-
313
- Fri, 02 Oct 2020 17:42:35 GMT
314
-
315
- ### Minor changes
316
-
317
- - Implementation of Access Token Proof-of-Possession Flow (#2151, #2153, #2154, #2209, #2289) (prkanher@microsoft.com)
318
-
319
- ## 2.2.1
320
-
321
- Wed, 30 Sep 2020 17:58:33 GMT
322
-
323
- ### Patches
324
-
325
- - Support SSR in msal-browser (#2073) (thomas.norling@microsoft.com)
326
-
327
- ## 2.2.0
328
-
329
- Thu, 17 Sep 2020 23:16:22 GMT
330
-
331
- ### Minor changes
332
-
333
- - Added client-side throttling to enhance server stability (#1907) (jamckenn@microsoft.com)
334
-
335
- ### Patches
336
-
337
- - Fix issue with base64 encoding of spaces (#2248) (prkanher@microsoft.com)
338
- - Properly support multiple concurrent RT requests (#2290) (janutter@microsoft.com)
339
- - Default scope addition done in msal-common (#2267) (thomas.norling@microsoft.com)
340
- - acquireTokenSilent calls ssoSilent (#2264) (thomas.norling@microsoft.com)
341
- - Check for interaction in progress when processing redirect hash (#2183) (thomas.norling@microsoft.com)
342
- - Creating ClientApplication.ts subclass (#2199) (prkanher@microsoft.com)
343
- - Add SsoSilentRequest for ssoSilent, update tests and samples (joarroyo@microsoft.com)
344
- - Add Angular 10 browser sample, update documentation (joarroyo@microsoft.com)
345
-
346
- ## 2.1.0
347
-
348
- Tue, 25 Aug 2020 00:40:45 GMT
349
-
350
- ### Minor changes
351
-
352
- - Client Capabilities Support (#2169) (thomas.norling@microsoft.com)
353
-
354
- ### Patches
355
-
356
- - update APP_META_DATA to APP_METADATA (sameera.gajjarapu@microsoft.com)
357
- - Add getAccountByHomeId API (#2114) (thomas.norling@microsoft.com)
358
- - Change msal-browser loginPopup and openPopup, add ability to configure popup delay (#2132) (joarroyo@microsoft.com)
359
- - Update POST header to type Record (#2128) (thomas.norling@microsoft.com)
360
-
361
- ## 2.0.2
362
-
363
- Thu, 13 Aug 2020 02:20:48 GMT
364
-
365
- ### Patches
366
-
367
- - Fix hash parsing issue from #2118 and back button cache clearing (#2129) (prkanher@microsoft.com)
368
-
369
- # 2.0.1
370
- ## Breaking Changes
371
- * None
372
-
373
- ## Features and Fixes
374
- * Make request object optional for login APIs in PublicClientApplication (#2061)
375
- * Fix `getAccountByUsername()` API signatures to return null (#2059)
376
- * (#2078) Fix issues with `handleRedirectPromise()` where:
377
- * state mismatches occur if `handleRedirectPromise()` is called multiple times.
378
- * `currentUrl` and `loginRequestUrl` being evaluated as not equal if one has a trailing slash and the other does not
379
- * When `loginRequestUrl` is not in the cache, msal redirects to the homepage but would not process the hash
380
- * Add `sid` from `AuthorizationUrlRequest` to SSO check in `ssoSilent()` (#2030)
381
- * Add interaction type to platform state and check before processing hash (#2045)
382
- * Implements telemetry error calculation and caching for server telemetry information in browser scenarios (#1918)
383
- * Fix promise handling in PublicClientApplication (#2091)
384
-
385
- # 2.0.0
386
- ## Breaking Changes
387
- * None
388
-
389
- ## Features and Fixes
390
- * Fix an issue where logout was not clearing all accounts (#1919)
391
- * Typescript sample for browser (#1920)
392
- * Add SilentRequest.ts object (#1964)
393
- * Fix an issue where popup window position value did not have a floor (#1981)
394
- * Fix an issue where getAccountByUsername was case-sensitive for the given username (#1982)
395
- * Fix an issue where `openid` and `profile` were being added to silent requests (#1962)
396
- * Fix an issue where the hash was not handled if `navigateToLoginRequestUrl`=`false` (#1973)
397
- * Fix an error that occurs when the request object is not provided to login and the redirectStartPage is expected (#1998)
398
-
399
- # 2.0.0-beta.4
400
- ## Breaking Changes
401
- * Updated all APIs to send `openid` and `profile` by default in all requests (#1868)
402
-
403
- ## Features and Fixes
404
- * add interface for PublicClientApplication (#1870)
405
- * Update `monitorIframeForHash` to be purely time-based (#1873)
406
- * Instantiate Logger instance for PublicClientApplication (#1882)
407
- * Fix an issue with encoding in cookies and state values (#1852)
408
- * Fix issue where cache isn't being cleaned correctly (#1856)
409
- * Fix issue where expiration isn't calculated correctly (#1860)
410
- * Fix an issue where the crypto APIs were not truly random (#1872)
411
- * Remove all non-application specific initialization from PublicClientApplication constructor (#1885, #1886)
412
- * Added support for IE11 (#1883, #1884)
413
- * Added support for redirection to pages with custom hashes or query params (#1862)
414
- * Remove deprecated `handleRedirectCallback()` API (#1863)
415
- * Remove function typings for `redirectUri` and `postLogoutRedirectUri` (#1861).
416
- * Add support for Instance Discovery, combine all authority classes into a single generic class (#1811)
417
-
418
- # 2.0.0-beta.3
419
- ## Breaking Changes
420
- * `@azure/msal-browser` now follows a unified cache schema similar to other MSAL libraries (#1624, #1655, #1680, #1711, #1762, #1771)
421
- * Updated browser library to follow common format for request, response, and client configurations (#1682, #1711, #1762, #1770, #1771, #1793)
422
- * Account interface updated to AccountInfo.ts (#1789)
423
-
424
- ## Features and Fixes
425
- * add `setKnownAuthorities` to constructor call for B2C Authority scenarios (#1646)
426
- * Library state is now sent as a encoded JSON object (#1790)
427
- * Added a request object for logout APIs, made logout async (#1802)
428
-
429
- # 2.0.0-beta.2
430
- * Fixed an issue where the system config values were being overwritten with `undefined` (#1631)
431
-
432
- # 2.0.0-beta.1
433
- ## Features
434
- * Added a silent iframe flow in the @azure/msal-browser package (#1451)
435
- * Includes an ssoSilent() API to acquire tokens silently with a user context (loginHint)
436
-
437
- ## Bugs
438
- * Fixed an issue where TokenResponse is not exported
439
-
440
- ## Enhancements
441
- * handleRedirectCallback flow was modified, will be deprecated in favor of handleRedirectPromise(), added log message (#1490, #1543)
442
-
443
- # 2.0.0-beta.0
444
- ## Features
445
- * Removed client_secret from config and added docs for new registration experience (#1421)
446
-
447
- ## Enhancements
448
- * Test pipelines in place. (#1393)
449
- * Added docs and samples. (#1421, #1321)
450
-
451
- ## Bugs
452
- * Minor bug fixes from unit testing. (#1236)
453
- * navigateToLoginRequestUrl works correctly (#1320)
454
-
455
- # 2.0.0-alpha.0
456
- ## Features
457
- * Added Rollup as build tool (#1108)
458
- * Added APIs and major type files (#1109)
459
- * Added tests and code coverage (#1127)
460
- * Added Authority and protocol classes (#1133)
461
- * Added browser storage implementation (#1140)
462
- * Added implementation of crypto for browser (#1141)
463
- * Added fetch client (#1144)
464
- * Creating of login url (#1149)
465
- * Added logger class (#1155)
466
- * Added redirect handling code (#1164)
467
- * Successful token exchange (#1181)
468
- * Response handling code (#1183)
469
- * Token caching (#1185)
470
- * Popup handling (#1190)
471
- * Silent renewal using refresh tokens and logout (#1208)
472
- * SSO fixes for login_hint (#1211)
473
-
474
- # 0.0.1
475
- - Created library with initial files for repo structure, build and package dependencies