@azure/identity 3.2.0 → 3.2.1-alpha.20230511.2
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.
Potentially problematic release.
This version of @azure/identity might be problematic. Click here for more details.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist-esm/src/constants.js +1 -1
- package/dist-esm/src/constants.js.map +1 -1
- package/dist-esm/src/credentials/workloadIdentityCredential.js +1 -1
- package/dist-esm/src/credentials/workloadIdentityCredential.js.map +1 -1
- package/package.json +4 -4
- package/types/identity.d.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -257,7 +257,7 @@ function credentialLogger(title, log = logger$n) {
|
|
|
257
257
|
/**
|
|
258
258
|
* Current version of the `@azure/identity` package.
|
|
259
259
|
*/
|
|
260
|
-
const SDK_VERSION = `3.2.
|
|
260
|
+
const SDK_VERSION = `3.2.1`;
|
|
261
261
|
/**
|
|
262
262
|
* The default client ID for authentication
|
|
263
263
|
* @internal
|
|
@@ -1995,7 +1995,7 @@ class WorkloadIdentityCredential {
|
|
|
1995
1995
|
// Logging environment variables for error details
|
|
1996
1996
|
const assignedEnv = processEnvVars(SupportedWorkloadEnvironmentVariables).assigned.join(", ");
|
|
1997
1997
|
logger$g.info(`Found the following environment variables: ${assignedEnv}`);
|
|
1998
|
-
const workloadIdentityCredentialOptions = options;
|
|
1998
|
+
const workloadIdentityCredentialOptions = options !== null && options !== void 0 ? options : {};
|
|
1999
1999
|
const tenantId = workloadIdentityCredentialOptions.tenantId || process.env.AZURE_TENANT_ID;
|
|
2000
2000
|
const clientId = workloadIdentityCredentialOptions.clientId || process.env.AZURE_CLIENT_ID;
|
|
2001
2001
|
this.federatedTokenFilePath =
|