@azure/identity 3.2.0-alpha.20230302.1 → 3.2.0-alpha.20230308.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 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.0-beta.1`;
260
+ const SDK_VERSION = `3.2.0-beta.2`;
261
261
  /**
262
262
  * The default client ID for authentication
263
263
  * @internal
@@ -1976,9 +1976,9 @@ class WorkloadIdentityCredential {
1976
1976
  this.azureFederatedTokenFileContent = undefined;
1977
1977
  this.cacheDate = undefined;
1978
1978
  const workloadIdentityCredentialOptions = options;
1979
- if (workloadIdentityCredentialOptions.clientId &&
1980
- workloadIdentityCredentialOptions.tenantId &&
1981
- workloadIdentityCredentialOptions.federatedTokenFilePath) {
1979
+ if ((workloadIdentityCredentialOptions === null || workloadIdentityCredentialOptions === void 0 ? void 0 : workloadIdentityCredentialOptions.clientId) &&
1980
+ (workloadIdentityCredentialOptions === null || workloadIdentityCredentialOptions === void 0 ? void 0 : workloadIdentityCredentialOptions.tenantId) &&
1981
+ (workloadIdentityCredentialOptions === null || workloadIdentityCredentialOptions === void 0 ? void 0 : workloadIdentityCredentialOptions.federatedTokenFilePath)) {
1982
1982
  const tenantId = workloadIdentityCredentialOptions.tenantId;
1983
1983
  if (tenantId) {
1984
1984
  checkTenantId(logger$g, tenantId);