@azure/msal-common 14.8.0 → 14.8.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 (72) hide show
  1. package/dist/account/AccountInfo.mjs +1 -1
  2. package/dist/account/AuthToken.mjs +1 -1
  3. package/dist/account/CcsCredential.mjs +1 -1
  4. package/dist/account/ClientInfo.mjs +1 -1
  5. package/dist/account/TokenClaims.mjs +1 -1
  6. package/dist/authority/Authority.mjs +1 -1
  7. package/dist/authority/AuthorityFactory.mjs +1 -1
  8. package/dist/authority/AuthorityMetadata.mjs +1 -1
  9. package/dist/authority/AuthorityOptions.mjs +1 -1
  10. package/dist/authority/AuthorityType.mjs +1 -1
  11. package/dist/authority/CloudInstanceDiscoveryErrorResponse.mjs +1 -1
  12. package/dist/authority/CloudInstanceDiscoveryResponse.mjs +1 -1
  13. package/dist/authority/OpenIdConfigResponse.mjs +1 -1
  14. package/dist/authority/ProtocolMode.mjs +1 -1
  15. package/dist/authority/RegionDiscovery.mjs +1 -1
  16. package/dist/cache/CacheManager.mjs +1 -1
  17. package/dist/cache/entities/AccountEntity.mjs +1 -1
  18. package/dist/cache/entities/CacheRecord.mjs +1 -1
  19. package/dist/cache/persistence/TokenCacheContext.mjs +1 -1
  20. package/dist/cache/utils/CacheHelpers.mjs +1 -1
  21. package/dist/client/AuthorizationCodeClient.mjs +1 -1
  22. package/dist/client/BaseClient.mjs +1 -1
  23. package/dist/client/RefreshTokenClient.mjs +1 -1
  24. package/dist/client/SilentFlowClient.mjs +1 -1
  25. package/dist/config/ClientConfiguration.mjs +1 -1
  26. package/dist/constants/AADServerParamKeys.mjs +1 -1
  27. package/dist/crypto/ICrypto.mjs +1 -1
  28. package/dist/crypto/JoseHeader.mjs +1 -1
  29. package/dist/crypto/PopTokenGenerator.mjs +1 -1
  30. package/dist/error/AuthError.mjs +1 -1
  31. package/dist/error/AuthErrorCodes.mjs +1 -1
  32. package/dist/error/ClientAuthError.mjs +1 -1
  33. package/dist/error/ClientAuthErrorCodes.mjs +1 -1
  34. package/dist/error/ClientConfigurationError.mjs +1 -1
  35. package/dist/error/ClientConfigurationErrorCodes.mjs +1 -1
  36. package/dist/error/InteractionRequiredAuthError.mjs +1 -1
  37. package/dist/error/InteractionRequiredAuthErrorCodes.mjs +1 -1
  38. package/dist/error/JoseHeaderError.mjs +1 -1
  39. package/dist/error/JoseHeaderErrorCodes.mjs +1 -1
  40. package/dist/error/ServerError.mjs +1 -1
  41. package/dist/index.cjs +3 -3
  42. package/dist/index.cjs.map +1 -1
  43. package/dist/index.mjs +1 -1
  44. package/dist/logger/Logger.mjs +1 -1
  45. package/dist/network/INetworkModule.mjs +1 -1
  46. package/dist/network/NetworkManager.mjs +1 -1
  47. package/dist/network/ThrottlingUtils.mjs +1 -1
  48. package/dist/packageMetadata.d.ts +1 -1
  49. package/dist/packageMetadata.mjs +2 -2
  50. package/dist/request/AuthenticationHeaderParser.mjs +1 -1
  51. package/dist/request/RequestParameterBuilder.mjs +1 -1
  52. package/dist/request/RequestValidator.mjs +1 -1
  53. package/dist/request/ScopeSet.mjs +1 -1
  54. package/dist/response/ResponseHandler.mjs +1 -1
  55. package/dist/telemetry/performance/PerformanceClient.d.ts.map +1 -1
  56. package/dist/telemetry/performance/PerformanceClient.mjs +2 -2
  57. package/dist/telemetry/performance/PerformanceClient.mjs.map +1 -1
  58. package/dist/telemetry/performance/PerformanceEvent.d.ts +1 -1
  59. package/dist/telemetry/performance/PerformanceEvent.mjs +1 -1
  60. package/dist/telemetry/performance/StubPerformanceClient.mjs +1 -1
  61. package/dist/telemetry/server/ServerTelemetryManager.mjs +1 -1
  62. package/dist/url/UrlString.mjs +1 -1
  63. package/dist/utils/Constants.mjs +1 -1
  64. package/dist/utils/FunctionWrappers.mjs +1 -1
  65. package/dist/utils/ProtocolUtils.mjs +1 -1
  66. package/dist/utils/StringUtils.mjs +1 -1
  67. package/dist/utils/TimeUtils.mjs +1 -1
  68. package/dist/utils/UrlUtils.mjs +1 -1
  69. package/package.json +1 -1
  70. package/src/packageMetadata.ts +1 -1
  71. package/src/telemetry/performance/PerformanceClient.ts +7 -5
  72. package/src/telemetry/performance/PerformanceEvent.ts +2 -2
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { createClientAuthError } from '../error/ClientAuthError.mjs';
4
4
  import { tokenParsingError, nullOrEmptyToken, maxAgeTranspired } from '../error/ClientAuthErrorCodes.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { createClientAuthError } from '../error/ClientAuthError.mjs';
4
4
  import { Separators, Constants } from '../utils/Constants.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { AuthorityType } from './AuthorityType.mjs';
4
4
  import { isOpenIdConfigResponse } from './OpenIdConfigResponse.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { Authority, formatAuthorityUri } from './Authority.mjs';
4
4
  import { createClientAuthError } from '../error/ClientAuthError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { UrlString } from '../url/UrlString.mjs';
4
4
  import { AuthorityMetadataSource } from '../utils/Constants.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { Constants, ResponseCodes, RegionDiscoverySources } from '../utils/Constants.mjs';
4
4
  import { PerformanceEvents } from '../telemetry/performance/PerformanceEvent.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { Separators, CredentialType, AuthenticationScheme, THE_FAMILY_ID, APP_METADATA, AUTHORITY_METADATA_CONSTANTS } from '../utils/Constants.mjs';
4
4
  import { generateCredentialKey } from './utils/CacheHelpers.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { Separators, CacheAccountType } from '../../utils/Constants.mjs';
4
4
  import { buildClientInfo } from '../../account/ClientInfo.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { extractTokenClaims } from '../../account/AuthToken.mjs';
4
4
  import { createClientAuthError } from '../../error/ClientAuthError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { BaseClient } from './BaseClient.mjs';
4
4
  import { RequestParameterBuilder } from '../request/RequestParameterBuilder.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { buildClientConfiguration } from '../config/ClientConfiguration.mjs';
4
4
  import { NetworkManager } from '../network/NetworkManager.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { isOidcProtocolMode } from '../config/ClientConfiguration.mjs';
4
4
  import { BaseClient } from './BaseClient.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { BaseClient } from './BaseClient.mjs';
4
4
  import { wasClockTurnedBack, isTokenExpired } from '../utils/TimeUtils.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { DEFAULT_CRYPTO_IMPLEMENTATION } from '../crypto/ICrypto.mjs';
4
4
  import { Logger, LogLevel } from '../logger/Logger.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { createClientAuthError } from '../error/ClientAuthError.mjs';
4
4
  import { methodNotImplemented } from '../error/ClientAuthErrorCodes.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { createJoseHeaderError } from '../error/JoseHeaderError.mjs';
4
4
  import { JsonWebTokenTypes } from '../utils/Constants.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { nowSeconds } from '../utils/TimeUtils.mjs';
4
4
  import { UrlString } from '../url/UrlString.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { Constants } from '../utils/Constants.mjs';
4
4
  import { unexpectedError, postRequestFailed } from './AuthErrorCodes.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { AuthError } from './AuthError.mjs';
4
4
  import { clientInfoDecodingError, clientInfoEmptyError, tokenParsingError, nullOrEmptyToken, endpointResolutionError, networkError, openIdConfigError, hashNotDeserialized, invalidState, stateMismatch, stateNotFound, nonceMismatch, authTimeNotFound, maxAgeTranspired, multipleMatchingTokens, multipleMatchingAccounts, multipleMatchingAppMetadata, requestCannotBeMade, cannotRemoveEmptyScope, cannotAppendScopeSet, emptyInputScopeSet, deviceCodePollingCancelled, deviceCodeExpired, deviceCodeUnknownError, noAccountInSilentRequest, invalidCacheRecord, invalidCacheEnvironment, noAccountFound, noCryptoObject, unexpectedCredentialType, invalidAssertion, invalidClientCredential, tokenRefreshRequired, userTimeoutReached, tokenClaimsCnfRequiredForSignedJwt, authorizationCodeMissingFromServerResponse, bindingKeyNotRemoved, endSessionEndpointNotSupported, keyIdMissing, noNetworkConnectivity, userCanceled, missingTenantIdError, nestedAppAuthBridgeDisabled, methodNotImplemented } from './ClientAuthErrorCodes.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { AuthError } from './AuthError.mjs';
4
4
  import { redirectUriEmpty, claimsRequestParsingError, authorityUriInsecure, urlParseError, urlEmptyError, emptyInputScopesError, invalidPromptValue, invalidClaims, tokenRequestEmpty, logoutRequestEmpty, invalidCodeChallengeMethod, pkceParamsMissing, invalidCloudDiscoveryMetadata, invalidAuthorityMetadata, untrustedAuthority, missingSshJwk, missingSshKid, missingNonceAuthenticationHeader, invalidAuthenticationHeader, cannotSetOIDCOptions, cannotAllowNativeBroker, authorityMismatch } from './ClientConfigurationErrorCodes.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { Constants } from '../utils/Constants.mjs';
4
4
  import { AuthError } from './AuthError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { AuthError } from './AuthError.mjs';
4
4
  import { missingKidError, missingAlgError } from './JoseHeaderErrorCodes.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  import { AuthError } from './AuthError.mjs';
4
4
 
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.8.0 2024-03-22 */
1
+ /*! @azure/msal-common v14.8.1 2024-03-27 */
2
2
  'use strict';
3
3
  'use strict';
4
4
 
@@ -943,7 +943,7 @@ class Logger {
943
943
 
944
944
  /* eslint-disable header/header */
945
945
  const name = "@azure/msal-common";
946
- const version = "14.8.0";
946
+ const version = "14.8.1";
947
947
 
948
948
  /*
949
949
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8568,7 +8568,7 @@ class PerformanceClient {
8568
8568
  manuallyCompletedCount: 0,
8569
8569
  };
8570
8570
  event.durationMs = Math.round(event.durationMs || this.getDurationMs(event.startTimeMs));
8571
- const context = endContext(event, this.abbreviations, this.eventStack.get(rootEvent.correlationId), error);
8571
+ const context = JSON.stringify(endContext(event, this.abbreviations, this.eventStack.get(rootEvent.correlationId), error));
8572
8572
  if (isRoot) {
8573
8573
  queueInfo = this.getQueueInfo(event.correlationId);
8574
8574
  this.discardCache(rootEvent.correlationId);