@azure/msal-browser 3.28.0 → 3.28.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 (95) hide show
  1. package/dist/app/IPublicClientApplication.mjs +1 -1
  2. package/dist/app/PublicClientApplication.mjs +1 -1
  3. package/dist/app/PublicClientNext.mjs +1 -1
  4. package/dist/broker/nativeBroker/NativeMessageHandler.mjs +1 -1
  5. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  6. package/dist/cache/AccountManager.mjs +1 -1
  7. package/dist/cache/AsyncMemoryStorage.mjs +1 -1
  8. package/dist/cache/BrowserCacheManager.mjs +1 -1
  9. package/dist/cache/BrowserStorage.mjs +1 -1
  10. package/dist/cache/CookieStorage.mjs +1 -1
  11. package/dist/cache/DatabaseStorage.mjs +1 -1
  12. package/dist/cache/LocalStorage.mjs +1 -1
  13. package/dist/cache/MemoryStorage.mjs +1 -1
  14. package/dist/cache/SessionStorage.mjs +1 -1
  15. package/dist/cache/TokenCache.mjs +1 -1
  16. package/dist/config/Configuration.mjs +1 -1
  17. package/dist/controllers/ControllerFactory.mjs +1 -1
  18. package/dist/controllers/NestedAppAuthController.mjs +2 -2
  19. package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
  20. package/dist/controllers/StandardController.mjs +1 -1
  21. package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
  22. package/dist/crypto/BrowserCrypto.d.ts +1 -1
  23. package/dist/crypto/BrowserCrypto.d.ts.map +1 -1
  24. package/dist/crypto/BrowserCrypto.mjs +3 -3
  25. package/dist/crypto/BrowserCrypto.mjs.map +1 -1
  26. package/dist/crypto/CryptoOps.d.ts +1 -1
  27. package/dist/crypto/CryptoOps.d.ts.map +1 -1
  28. package/dist/crypto/CryptoOps.mjs +3 -3
  29. package/dist/crypto/CryptoOps.mjs.map +1 -1
  30. package/dist/crypto/PkceGenerator.mjs +1 -1
  31. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  32. package/dist/encode/Base64Decode.mjs +1 -1
  33. package/dist/encode/Base64Encode.mjs +1 -1
  34. package/dist/error/BrowserAuthError.mjs +1 -1
  35. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  36. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  37. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  38. package/dist/error/NativeAuthError.mjs +1 -1
  39. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  40. package/dist/error/NestedAppAuthError.mjs +1 -1
  41. package/dist/event/EventHandler.mjs +1 -1
  42. package/dist/event/EventMessage.mjs +1 -1
  43. package/dist/event/EventType.mjs +1 -1
  44. package/dist/index.mjs +1 -1
  45. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  46. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  47. package/dist/interaction_client/NativeInteractionClient.mjs +1 -1
  48. package/dist/interaction_client/PopupClient.mjs +1 -1
  49. package/dist/interaction_client/RedirectClient.mjs +1 -1
  50. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  51. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  52. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  53. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  54. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  55. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  56. package/dist/interaction_handler/RedirectHandler.mjs +1 -1
  57. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  58. package/dist/naa/BridgeError.mjs +1 -1
  59. package/dist/naa/BridgeProxy.mjs +1 -1
  60. package/dist/naa/BridgeStatusCode.mjs +1 -1
  61. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  62. package/dist/navigation/NavigationClient.mjs +1 -1
  63. package/dist/network/FetchClient.mjs +1 -1
  64. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  65. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  66. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  67. package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
  68. package/dist/packageMetadata.d.ts +1 -1
  69. package/dist/packageMetadata.mjs +2 -2
  70. package/dist/request/RequestHelpers.mjs +1 -1
  71. package/dist/response/ResponseHandler.mjs +1 -1
  72. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  73. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  74. package/dist/utils/BrowserConstants.mjs +1 -1
  75. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  76. package/dist/utils/BrowserUtils.d.ts.map +1 -1
  77. package/dist/utils/BrowserUtils.mjs +4 -2
  78. package/dist/utils/BrowserUtils.mjs.map +1 -1
  79. package/lib/msal-browser.cjs +73 -71
  80. package/lib/msal-browser.cjs.map +1 -1
  81. package/lib/msal-browser.js +73 -71
  82. package/lib/msal-browser.js.map +1 -1
  83. package/lib/msal-browser.min.js +59 -59
  84. package/lib/types/crypto/BrowserCrypto.d.ts +1 -1
  85. package/lib/types/crypto/BrowserCrypto.d.ts.map +1 -1
  86. package/lib/types/crypto/CryptoOps.d.ts +1 -1
  87. package/lib/types/crypto/CryptoOps.d.ts.map +1 -1
  88. package/lib/types/packageMetadata.d.ts +1 -1
  89. package/lib/types/utils/BrowserUtils.d.ts.map +1 -1
  90. package/package.json +1 -1
  91. package/src/controllers/NestedAppAuthController.ts +1 -1
  92. package/src/crypto/BrowserCrypto.ts +4 -2
  93. package/src/crypto/CryptoOps.ts +8 -2
  94. package/src/packageMetadata.ts +1 -1
  95. package/src/utils/BrowserUtils.ts +3 -1
@@ -1,8 +1,8 @@
1
- /*! @azure/msal-browser v3.28.0 2024-12-12 */
1
+ /*! @azure/msal-browser v3.28.1 2025-01-14 */
2
2
  'use strict';
3
3
  'use strict';
4
4
 
5
- /*! @azure/msal-common v14.16.0 2024-12-12 */
5
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
6
6
  /*
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
8
8
  * Licensed under the MIT License.
@@ -312,7 +312,7 @@ const JsonWebTokenTypes = {
312
312
  // Token renewal offset default in seconds
313
313
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
314
314
 
315
- /*! @azure/msal-common v14.16.0 2024-12-12 */
315
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
316
316
  /*
317
317
  * Copyright (c) Microsoft Corporation. All rights reserved.
318
318
  * Licensed under the MIT License.
@@ -329,7 +329,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
329
329
  unexpectedError: unexpectedError
330
330
  });
331
331
 
332
- /*! @azure/msal-common v14.16.0 2024-12-12 */
332
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
333
333
 
334
334
  /*
335
335
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -378,7 +378,7 @@ function createAuthError(code, additionalMessage) {
378
378
  : AuthErrorMessages[code]);
379
379
  }
380
380
 
381
- /*! @azure/msal-common v14.16.0 2024-12-12 */
381
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
382
382
  /*
383
383
  * Copyright (c) Microsoft Corporation. All rights reserved.
384
384
  * Licensed under the MIT License.
@@ -476,7 +476,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
476
476
  userTimeoutReached: userTimeoutReached
477
477
  });
478
478
 
479
- /*! @azure/msal-common v14.16.0 2024-12-12 */
479
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
480
480
 
481
481
  /*
482
482
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -728,7 +728,7 @@ function createClientAuthError(errorCode, additionalMessage) {
728
728
  return new ClientAuthError(errorCode, additionalMessage);
729
729
  }
730
730
 
731
- /*! @azure/msal-common v14.16.0 2024-12-12 */
731
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
732
732
 
733
733
  /*
734
734
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -767,7 +767,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
767
767
  },
768
768
  };
769
769
 
770
- /*! @azure/msal-common v14.16.0 2024-12-12 */
770
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
771
771
 
772
772
  /*
773
773
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -958,12 +958,12 @@ class Logger {
958
958
  }
959
959
  }
960
960
 
961
- /*! @azure/msal-common v14.16.0 2024-12-12 */
961
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
962
962
  /* eslint-disable header/header */
963
963
  const name$1 = "@azure/msal-common";
964
964
  const version$1 = "14.16.0";
965
965
 
966
- /*! @azure/msal-common v14.16.0 2024-12-12 */
966
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
967
967
  /*
968
968
  * Copyright (c) Microsoft Corporation. All rights reserved.
969
969
  * Licensed under the MIT License.
@@ -983,7 +983,7 @@ const AzureCloudInstance = {
983
983
  AzureUsGovernment: "https://login.microsoftonline.us",
984
984
  };
985
985
 
986
- /*! @azure/msal-common v14.16.0 2024-12-12 */
986
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
987
987
 
988
988
  /*
989
989
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1044,7 +1044,7 @@ function checkMaxAge(authTime, maxAge) {
1044
1044
  }
1045
1045
  }
1046
1046
 
1047
- /*! @azure/msal-common v14.16.0 2024-12-12 */
1047
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
1048
1048
  /*
1049
1049
  * Copyright (c) Microsoft Corporation. All rights reserved.
1050
1050
  * Licensed under the MIT License.
@@ -1081,7 +1081,7 @@ function wasClockTurnedBack(cachedAt) {
1081
1081
  return cachedAtSec > nowSeconds();
1082
1082
  }
1083
1083
 
1084
- /*! @azure/msal-common v14.16.0 2024-12-12 */
1084
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
1085
1085
 
1086
1086
  /*
1087
1087
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1408,7 +1408,7 @@ function isAuthorityMetadataExpired(metadata) {
1408
1408
  return metadata.expiresAt <= nowSeconds();
1409
1409
  }
1410
1410
 
1411
- /*! @azure/msal-common v14.16.0 2024-12-12 */
1411
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
1412
1412
  /*
1413
1413
  * Copyright (c) Microsoft Corporation. All rights reserved.
1414
1414
  * Licensed under the MIT License.
@@ -1462,7 +1462,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
1462
1462
  urlParseError: urlParseError
1463
1463
  });
1464
1464
 
1465
- /*! @azure/msal-common v14.16.0 2024-12-12 */
1465
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
1466
1466
 
1467
1467
  /*
1468
1468
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1600,7 +1600,7 @@ function createClientConfigurationError(errorCode) {
1600
1600
  return new ClientConfigurationError(errorCode);
1601
1601
  }
1602
1602
 
1603
- /*! @azure/msal-common v14.16.0 2024-12-12 */
1603
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
1604
1604
  /*
1605
1605
  * Copyright (c) Microsoft Corporation. All rights reserved.
1606
1606
  * Licensed under the MIT License.
@@ -1697,7 +1697,7 @@ class StringUtils {
1697
1697
  }
1698
1698
  }
1699
1699
 
1700
- /*! @azure/msal-common v14.16.0 2024-12-12 */
1700
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
1701
1701
 
1702
1702
  /*
1703
1703
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1897,7 +1897,7 @@ class ScopeSet {
1897
1897
  }
1898
1898
  }
1899
1899
 
1900
- /*! @azure/msal-common v14.16.0 2024-12-12 */
1900
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
1901
1901
 
1902
1902
  /*
1903
1903
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1937,7 +1937,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
1937
1937
  };
1938
1938
  }
1939
1939
 
1940
- /*! @azure/msal-common v14.16.0 2024-12-12 */
1940
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
1941
1941
  /*
1942
1942
  * Copyright (c) Microsoft Corporation. All rights reserved.
1943
1943
  * Licensed under the MIT License.
@@ -2016,7 +2016,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
2016
2016
  return updatedAccountInfo;
2017
2017
  }
2018
2018
 
2019
- /*! @azure/msal-common v14.16.0 2024-12-12 */
2019
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
2020
2020
  /*
2021
2021
  * Copyright (c) Microsoft Corporation. All rights reserved.
2022
2022
  * Licensed under the MIT License.
@@ -2031,7 +2031,7 @@ const AuthorityType = {
2031
2031
  Ciam: 3,
2032
2032
  };
2033
2033
 
2034
- /*! @azure/msal-common v14.16.0 2024-12-12 */
2034
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
2035
2035
  /*
2036
2036
  * Copyright (c) Microsoft Corporation. All rights reserved.
2037
2037
  * Licensed under the MIT License.
@@ -2053,7 +2053,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
2053
2053
  return null;
2054
2054
  }
2055
2055
 
2056
- /*! @azure/msal-common v14.16.0 2024-12-12 */
2056
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
2057
2057
  /*
2058
2058
  * Copyright (c) Microsoft Corporation. All rights reserved.
2059
2059
  * Licensed under the MIT License.
@@ -2066,7 +2066,7 @@ const ProtocolMode = {
2066
2066
  OIDC: "OIDC",
2067
2067
  };
2068
2068
 
2069
- /*! @azure/msal-common v14.16.0 2024-12-12 */
2069
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
2070
2070
 
2071
2071
  /*
2072
2072
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2309,7 +2309,7 @@ class AccountEntity {
2309
2309
  }
2310
2310
  }
2311
2311
 
2312
- /*! @azure/msal-common v14.16.0 2024-12-12 */
2312
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
2313
2313
 
2314
2314
  /*
2315
2315
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2356,7 +2356,7 @@ function getDeserializedResponse(responseString) {
2356
2356
  return null;
2357
2357
  }
2358
2358
 
2359
- /*! @azure/msal-common v14.16.0 2024-12-12 */
2359
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
2360
2360
 
2361
2361
  /*
2362
2362
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2520,7 +2520,7 @@ class UrlString {
2520
2520
  }
2521
2521
  }
2522
2522
 
2523
- /*! @azure/msal-common v14.16.0 2024-12-12 */
2523
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
2524
2524
 
2525
2525
  /*
2526
2526
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2660,7 +2660,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
2660
2660
  return null;
2661
2661
  }
2662
2662
 
2663
- /*! @azure/msal-common v14.16.0 2024-12-12 */
2663
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
2664
2664
  /*
2665
2665
  * Copyright (c) Microsoft Corporation. All rights reserved.
2666
2666
  * Licensed under the MIT License.
@@ -2668,7 +2668,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
2668
2668
  const cacheQuotaExceededErrorCode = "cache_quota_exceeded";
2669
2669
  const cacheUnknownErrorCode = "cache_error_unknown";
2670
2670
 
2671
- /*! @azure/msal-common v14.16.0 2024-12-12 */
2671
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
2672
2672
 
2673
2673
  /*
2674
2674
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2695,7 +2695,7 @@ class CacheError extends Error {
2695
2695
  }
2696
2696
  }
2697
2697
 
2698
- /*! @azure/msal-common v14.16.0 2024-12-12 */
2698
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
2699
2699
 
2700
2700
  /*
2701
2701
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3944,7 +3944,7 @@ class DefaultStorageClass extends CacheManager {
3944
3944
  }
3945
3945
  }
3946
3946
 
3947
- /*! @azure/msal-common v14.16.0 2024-12-12 */
3947
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
3948
3948
 
3949
3949
  /*
3950
3950
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4043,7 +4043,7 @@ function isOidcProtocolMode(config) {
4043
4043
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
4044
4044
  }
4045
4045
 
4046
- /*! @azure/msal-common v14.16.0 2024-12-12 */
4046
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
4047
4047
  /*
4048
4048
  * Copyright (c) Microsoft Corporation. All rights reserved.
4049
4049
  * Licensed under the MIT License.
@@ -4053,7 +4053,7 @@ const CcsCredentialType = {
4053
4053
  UPN: "UPN",
4054
4054
  };
4055
4055
 
4056
- /*! @azure/msal-common v14.16.0 2024-12-12 */
4056
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
4057
4057
  /*
4058
4058
  * Copyright (c) Microsoft Corporation. All rights reserved.
4059
4059
  * Licensed under the MIT License.
@@ -4103,7 +4103,7 @@ const X_CLIENT_EXTRA_SKU = "x-client-xtra-sku";
4103
4103
  const BROKER_CLIENT_ID = "brk_client_id";
4104
4104
  const BROKER_REDIRECT_URI = "brk_redirect_uri";
4105
4105
 
4106
- /*! @azure/msal-common v14.16.0 2024-12-12 */
4106
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
4107
4107
 
4108
4108
  /*
4109
4109
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4170,7 +4170,7 @@ class RequestValidator {
4170
4170
  }
4171
4171
  }
4172
4172
 
4173
- /*! @azure/msal-common v14.16.0 2024-12-12 */
4173
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
4174
4174
 
4175
4175
  /*
4176
4176
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4578,7 +4578,7 @@ class RequestParameterBuilder {
4578
4578
  }
4579
4579
  }
4580
4580
 
4581
- /*! @azure/msal-common v14.16.0 2024-12-12 */
4581
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
4582
4582
  /*
4583
4583
  * Copyright (c) Microsoft Corporation. All rights reserved.
4584
4584
  * Licensed under the MIT License.
@@ -4590,7 +4590,7 @@ function isOpenIdConfigResponse(response) {
4590
4590
  response.hasOwnProperty("jwks_uri"));
4591
4591
  }
4592
4592
 
4593
- /*! @azure/msal-common v14.16.0 2024-12-12 */
4593
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
4594
4594
  /*
4595
4595
  * Copyright (c) Microsoft Corporation. All rights reserved.
4596
4596
  * Licensed under the MIT License.
@@ -4600,7 +4600,7 @@ function isCloudInstanceDiscoveryResponse(response) {
4600
4600
  response.hasOwnProperty("metadata"));
4601
4601
  }
4602
4602
 
4603
- /*! @azure/msal-common v14.16.0 2024-12-12 */
4603
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
4604
4604
  /*
4605
4605
  * Copyright (c) Microsoft Corporation. All rights reserved.
4606
4606
  * Licensed under the MIT License.
@@ -4610,7 +4610,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
4610
4610
  response.hasOwnProperty("error_description"));
4611
4611
  }
4612
4612
 
4613
- /*! @azure/msal-common v14.16.0 2024-12-12 */
4613
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
4614
4614
  /*
4615
4615
  * Copyright (c) Microsoft Corporation. All rights reserved.
4616
4616
  * Licensed under the MIT License.
@@ -5097,7 +5097,7 @@ const IntFields = new Set([
5097
5097
  "multiMatchedRT",
5098
5098
  ]);
5099
5099
 
5100
- /*! @azure/msal-common v14.16.0 2024-12-12 */
5100
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
5101
5101
  /*
5102
5102
  * Copyright (c) Microsoft Corporation. All rights reserved.
5103
5103
  * Licensed under the MIT License.
@@ -5193,7 +5193,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
5193
5193
  };
5194
5194
  };
5195
5195
 
5196
- /*! @azure/msal-common v14.16.0 2024-12-12 */
5196
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
5197
5197
 
5198
5198
  /*
5199
5199
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5302,7 +5302,7 @@ RegionDiscovery.IMDS_OPTIONS = {
5302
5302
  },
5303
5303
  };
5304
5304
 
5305
- /*! @azure/msal-common v14.16.0 2024-12-12 */
5305
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
5306
5306
 
5307
5307
  /*
5308
5308
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6141,7 +6141,7 @@ function buildStaticAuthorityOptions(authOptions) {
6141
6141
  };
6142
6142
  }
6143
6143
 
6144
- /*! @azure/msal-common v14.16.0 2024-12-12 */
6144
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
6145
6145
 
6146
6146
  /*
6147
6147
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6172,7 +6172,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
6172
6172
  }
6173
6173
  }
6174
6174
 
6175
- /*! @azure/msal-common v14.16.0 2024-12-12 */
6175
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
6176
6176
 
6177
6177
  /*
6178
6178
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6191,7 +6191,7 @@ class ServerError extends AuthError {
6191
6191
  }
6192
6192
  }
6193
6193
 
6194
- /*! @azure/msal-common v14.16.0 2024-12-12 */
6194
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
6195
6195
 
6196
6196
  /*
6197
6197
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6289,7 +6289,7 @@ class ThrottlingUtils {
6289
6289
  }
6290
6290
  }
6291
6291
 
6292
- /*! @azure/msal-common v14.16.0 2024-12-12 */
6292
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
6293
6293
 
6294
6294
  /*
6295
6295
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6319,7 +6319,7 @@ function createNetworkError(error, httpStatus, responseHeaders) {
6319
6319
  return new NetworkError(error, httpStatus, responseHeaders);
6320
6320
  }
6321
6321
 
6322
- /*! @azure/msal-common v14.16.0 2024-12-12 */
6322
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
6323
6323
 
6324
6324
  /*
6325
6325
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6469,7 +6469,7 @@ class BaseClient {
6469
6469
  }
6470
6470
  }
6471
6471
 
6472
- /*! @azure/msal-common v14.16.0 2024-12-12 */
6472
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
6473
6473
  /*
6474
6474
  * Copyright (c) Microsoft Corporation. All rights reserved.
6475
6475
  * Licensed under the MIT License.
@@ -6495,7 +6495,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
6495
6495
  refreshTokenExpired: refreshTokenExpired
6496
6496
  });
6497
6497
 
6498
- /*! @azure/msal-common v14.16.0 2024-12-12 */
6498
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
6499
6499
 
6500
6500
  /*
6501
6501
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6583,7 +6583,7 @@ function createInteractionRequiredAuthError(errorCode) {
6583
6583
  return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
6584
6584
  }
6585
6585
 
6586
- /*! @azure/msal-common v14.16.0 2024-12-12 */
6586
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
6587
6587
 
6588
6588
  /*
6589
6589
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6655,7 +6655,7 @@ class ProtocolUtils {
6655
6655
  }
6656
6656
  }
6657
6657
 
6658
- /*! @azure/msal-common v14.16.0 2024-12-12 */
6658
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
6659
6659
 
6660
6660
  /*
6661
6661
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6739,7 +6739,7 @@ class PopTokenGenerator {
6739
6739
  }
6740
6740
  }
6741
6741
 
6742
- /*! @azure/msal-common v14.16.0 2024-12-12 */
6742
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
6743
6743
  /*
6744
6744
  * Copyright (c) Microsoft Corporation. All rights reserved.
6745
6745
  * Licensed under the MIT License.
@@ -6766,7 +6766,7 @@ class PopTokenGenerator {
6766
6766
  }
6767
6767
  }
6768
6768
 
6769
- /*! @azure/msal-common v14.16.0 2024-12-12 */
6769
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
6770
6770
 
6771
6771
  /*
6772
6772
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7143,7 +7143,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
7143
7143
  return baseAccount;
7144
7144
  }
7145
7145
 
7146
- /*! @azure/msal-common v14.16.0 2024-12-12 */
7146
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
7147
7147
  /*
7148
7148
  * Copyright (c) Microsoft Corporation. All rights reserved.
7149
7149
  * Licensed under the MIT License.
@@ -7161,7 +7161,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
7161
7161
  }
7162
7162
  }
7163
7163
 
7164
- /*! @azure/msal-common v14.16.0 2024-12-12 */
7164
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
7165
7165
 
7166
7166
  /*
7167
7167
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7603,7 +7603,7 @@ class AuthorizationCodeClient extends BaseClient {
7603
7603
  }
7604
7604
  }
7605
7605
 
7606
- /*! @azure/msal-common v14.16.0 2024-12-12 */
7606
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
7607
7607
 
7608
7608
  /*
7609
7609
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7823,7 +7823,7 @@ class RefreshTokenClient extends BaseClient {
7823
7823
  }
7824
7824
  }
7825
7825
 
7826
- /*! @azure/msal-common v14.16.0 2024-12-12 */
7826
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
7827
7827
 
7828
7828
  /*
7829
7829
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7959,7 +7959,7 @@ class SilentFlowClient extends BaseClient {
7959
7959
  }
7960
7960
  }
7961
7961
 
7962
- /*! @azure/msal-common v14.16.0 2024-12-12 */
7962
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
7963
7963
 
7964
7964
  /*
7965
7965
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7974,7 +7974,7 @@ const StubbedNetworkModule = {
7974
7974
  },
7975
7975
  };
7976
7976
 
7977
- /*! @azure/msal-common v14.16.0 2024-12-12 */
7977
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
7978
7978
 
7979
7979
  /*
7980
7980
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8032,7 +8032,7 @@ class AuthenticationHeaderParser {
8032
8032
  }
8033
8033
  }
8034
8034
 
8035
- /*! @azure/msal-common v14.16.0 2024-12-12 */
8035
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
8036
8036
 
8037
8037
  /*
8038
8038
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8295,7 +8295,7 @@ class ServerTelemetryManager {
8295
8295
  }
8296
8296
  }
8297
8297
 
8298
- /*! @azure/msal-common v14.16.0 2024-12-12 */
8298
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
8299
8299
  /*
8300
8300
  * Copyright (c) Microsoft Corporation. All rights reserved.
8301
8301
  * Licensed under the MIT License.
@@ -8303,7 +8303,7 @@ class ServerTelemetryManager {
8303
8303
  const missingKidError = "missing_kid_error";
8304
8304
  const missingAlgError = "missing_alg_error";
8305
8305
 
8306
- /*! @azure/msal-common v14.16.0 2024-12-12 */
8306
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
8307
8307
 
8308
8308
  /*
8309
8309
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8328,7 +8328,7 @@ function createJoseHeaderError(code) {
8328
8328
  return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
8329
8329
  }
8330
8330
 
8331
- /*! @azure/msal-common v14.16.0 2024-12-12 */
8331
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
8332
8332
 
8333
8333
  /*
8334
8334
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8368,7 +8368,7 @@ class JoseHeader {
8368
8368
  }
8369
8369
  }
8370
8370
 
8371
- /*! @azure/msal-common v14.16.0 2024-12-12 */
8371
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
8372
8372
 
8373
8373
  /*
8374
8374
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8447,7 +8447,7 @@ class StubPerformanceClient {
8447
8447
  }
8448
8448
  }
8449
8449
 
8450
- /*! @azure/msal-common v14.16.0 2024-12-12 */
8450
+ /*! @azure/msal-common v14.16.0 2025-01-14 */
8451
8451
 
8452
8452
  /*
8453
8453
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -9717,14 +9717,14 @@ const keygenAlgorithmOptions = {
9717
9717
  /**
9718
9718
  * Check whether browser crypto is available.
9719
9719
  */
9720
- function validateCryptoAvailable() {
9720
+ function validateCryptoAvailable(skipValidateSubtleCrypto) {
9721
9721
  if (!window) {
9722
9722
  throw createBrowserAuthError(nonBrowserEnvironment);
9723
9723
  }
9724
9724
  if (!window.crypto) {
9725
9725
  throw createBrowserAuthError(cryptoNonExistent);
9726
9726
  }
9727
- if (!window.crypto.subtle) {
9727
+ if (!skipValidateSubtleCrypto && !window.crypto.subtle) {
9728
9728
  throw createBrowserAuthError(cryptoNonExistent, SUBTLE_SUBERROR);
9729
9729
  }
9730
9730
  }
@@ -9939,7 +9939,9 @@ function isInPopup() {
9939
9939
  * Returns current window URL as redirect uri
9940
9940
  */
9941
9941
  function getCurrentUri() {
9942
- return window.location.href.split("?")[0].split("#")[0];
9942
+ return typeof window !== "undefined" && window.location
9943
+ ? window.location.href.split("?")[0].split("#")[0]
9944
+ : "";
9943
9945
  }
9944
9946
  /**
9945
9947
  * Gets the homepage url for the current window location.
@@ -10366,7 +10368,7 @@ function buildConfiguration({ auth: userInputAuth, cache: userInputCache, system
10366
10368
 
10367
10369
  /* eslint-disable header/header */
10368
10370
  const name = "@azure/msal-browser";
10369
- const version = "3.28.0";
10371
+ const version = "3.28.1";
10370
10372
 
10371
10373
  /*
10372
10374
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -11153,10 +11155,10 @@ class AsyncMemoryStorage {
11153
11155
  * implementing Proof Key for Code Exchange specs for the OAuth Authorization Code Flow using PKCE (rfc here: https://tools.ietf.org/html/rfc7636).
11154
11156
  */
11155
11157
  class CryptoOps {
11156
- constructor(logger, performanceClient) {
11158
+ constructor(logger, performanceClient, skipValidateSubtleCrypto) {
11157
11159
  this.logger = logger;
11158
11160
  // Browser crypto needs to be validated first before any other classes can be set.
11159
- validateCryptoAvailable();
11161
+ validateCryptoAvailable(skipValidateSubtleCrypto ?? false);
11160
11162
  this.cache = new AsyncMemoryStorage(this.logger);
11161
11163
  this.performanceClient = performanceClient;
11162
11164
  }
@@ -17601,7 +17603,7 @@ class NestedAppAuthController {
17601
17603
  this.performanceClient = this.config.telemetry.client;
17602
17604
  // Initialize the crypto class.
17603
17605
  this.browserCrypto = operatingContext.isBrowserEnvironment()
17604
- ? new CryptoOps(this.logger, this.performanceClient)
17606
+ ? new CryptoOps(this.logger, this.performanceClient, true)
17605
17607
  : DEFAULT_CRYPTO_IMPLEMENTATION;
17606
17608
  // Initialize the browser storage class.
17607
17609
  this.browserStorage = this.operatingContext.isBrowserEnvironment()