@azure/arm-containerregistry 10.1.0-alpha.20221003.1 → 10.1.0-alpha.20221017.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.
package/CHANGELOG.md CHANGED
@@ -1,10 +1,14 @@
1
1
  # Release History
2
2
 
3
- ## 10.1.0-beta.4 (2022-09-30)
3
+ ## 10.1.0-beta.4 (Unreleased)
4
4
 
5
- **Bugs Fixed**
5
+ ### Features Added
6
6
 
7
- - fix better user experience of credential scopes in government cloud
7
+ ### Breaking Changes
8
+
9
+ ### Bugs Fixed
10
+
11
+ ### Other Changes
8
12
 
9
13
  ## 10.1.0-beta.3 (2022-05-18)
10
14
 
package/dist/index.js CHANGED
@@ -13046,6 +13046,9 @@ class ContainerRegistryManagementClient extends coreClient__namespace.ServiceCli
13046
13046
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
13047
13047
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
13048
13048
  : `${packageDetails}`;
13049
+ if (!options.credentialScopes) {
13050
+ options.credentialScopes = ["https://management.azure.com/.default"];
13051
+ }
13049
13052
  const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
13050
13053
  userAgentPrefix
13051
13054
  }, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });