@azure/arm-azurestackhci 3.0.1-alpha.20220927.1 → 3.0.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,14 +1,10 @@
1
1
  # Release History
2
2
 
3
- ## 3.0.1 (Unreleased)
3
+ ## 3.0.1 (2022-09-30)
4
4
 
5
- ### Features Added
5
+ **Bugs Fixed**
6
6
 
7
- ### Breaking Changes
8
-
9
- ### Bugs Fixed
10
-
11
- ### Other Changes
7
+ - fix better user experience of credential scopes in government cloud
12
8
 
13
9
  ## 3.0.0 (2022-05-17)
14
10
 
package/dist/index.js CHANGED
@@ -2979,9 +2979,6 @@ class AzureStackHCIClient extends coreClient__namespace.ServiceClient {
2979
2979
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
2980
2980
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
2981
2981
  : `${packageDetails}`;
2982
- if (!options.credentialScopes) {
2983
- options.credentialScopes = ["https://management.azure.com/.default"];
2984
- }
2985
2982
  const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
2986
2983
  userAgentPrefix
2987
2984
  }, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });