@azure/identity
Advanced tools
Comparing version 4.1.0-alpha.20240126.4 to 4.1.0-alpha.20240131.3
@@ -6,3 +6,3 @@ // Copyright (c) Microsoft Corporation. | ||
import { formatSuccess } from "../../util/logging"; | ||
import { defaultLoggerCallback, ensureValidMsalToken, getAuthority, getKnownAuthorities, getMSALLogLevel, handleMsalError, msalToPublic, publicToMsal, } from "../utils"; | ||
import { defaultLoggerCallback, ensureValidMsalToken, getAuthority, getKnownAuthorities, getMSALLogLevel, handleMsalError, msalToPublic, publicToMsal, randomUUID, } from "../utils"; | ||
import { processMultiTenantRequest, resolveAdditionallyAllowedTenantIds, resolveTenantId, } from "../../util/tenantIdUtils"; | ||
@@ -13,3 +13,2 @@ import { AuthenticationRequiredError } from "../../errors"; | ||
import { getLogLevel } from "@azure/logger"; | ||
import { randomUUID } from "@azure/core-util"; | ||
/** | ||
@@ -16,0 +15,0 @@ * The current persistence provider, undefined by default. |
@@ -7,4 +7,4 @@ // Copyright (c) Microsoft Corporation. | ||
import { DefaultAuthorityHost, DefaultTenantId } from "../constants"; | ||
import { randomUUID as coreRandomUUID, isNode } from "@azure/core-util"; | ||
import { AbortError } from "@azure/abort-controller"; | ||
import { isNode } from "@azure/core-util"; | ||
/** | ||
@@ -116,2 +116,12 @@ * @internal | ||
/** | ||
* Wraps core-util's randomUUID in order to allow for mocking in tests. | ||
* This prepares the library for the upcoming core-util update to ESM. | ||
* | ||
* @internal | ||
* @returns A string containing a random UUID | ||
*/ | ||
export function randomUUID() { | ||
return coreRandomUUID(); | ||
} | ||
/** | ||
* Handles MSAL errors. | ||
@@ -118,0 +128,0 @@ */ |
{ | ||
"name": "@azure/identity", | ||
"sdk-type": "client", | ||
"version": "4.1.0-alpha.20240126.4", | ||
"version": "4.1.0-alpha.20240131.3", | ||
"description": "Provides credential implementations for Azure SDK libraries that can authenticate with Microsoft Entra ID", | ||
@@ -6,0 +6,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1493712
11644