@azure/arm-batch 7.2.1-alpha.20220930.1 → 7.2.1-alpha.20221010.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
- ## 7.2.1 (2022-09-30)
3
+ ## 7.2.1 (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
  ## 7.2.0 (2022-07-19)
10
14
 
package/dist/index.js CHANGED
@@ -7298,6 +7298,9 @@ class BatchManagementClient extends coreClient__namespace.ServiceClient {
7298
7298
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
7299
7299
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
7300
7300
  : `${packageDetails}`;
7301
+ if (!options.credentialScopes) {
7302
+ options.credentialScopes = ["https://management.azure.com/.default"];
7303
+ }
7301
7304
  const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
7302
7305
  userAgentPrefix
7303
7306
  }, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });