@azure/identity 2.0.4-alpha.20220217.2 → 2.0.4

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/CHANGELOG.md CHANGED
@@ -1,14 +1,10 @@
1
1
  # Release History
2
2
 
3
- ## 2.0.4 (Unreleased)
4
-
5
- ### Features Added
6
-
7
- ### Breaking Changes
3
+ ## 2.0.4 (2022-02-18)
8
4
 
9
5
  ### Bugs Fixed
10
6
 
11
- ### Other Changes
7
+ - Fixed a regression in version 2.0.3 in which providing an options bag, but _not_ a client ID, to the `ManagedIdentityCredential` constructor would discard the `options` parameter.
12
8
 
13
9
  ## 2.0.3 (2022-02-16)
14
10
 
package/dist/index.js CHANGED
@@ -2782,7 +2782,7 @@ class ManagedIdentityCredential {
2782
2782
  }
2783
2783
  else {
2784
2784
  // options only constructor
2785
- _options = options;
2785
+ _options = clientIdOrOptions;
2786
2786
  }
2787
2787
  this.identityClient = new IdentityClient(_options);
2788
2788
  this.isAvailableIdentityClient = new IdentityClient(Object.assign(Object.assign({}, _options), { retryOptions: {