@azure/arm-compute 19.2.0 → 19.2.1-alpha.20220930.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,5 +1,11 @@
1
1
  # Release History
2
-
2
+
3
+ ## 19.2.1 (2022-09-30)
4
+
5
+ **Bugs Fixed**
6
+
7
+ - fix better user experience of credential scopes in government cloud
8
+
3
9
  ## 19.2.0 (2022-09-21)
4
10
 
5
11
  **Features**
package/dist/index.js CHANGED
@@ -39197,13 +39197,10 @@ class ComputeManagementClient extends coreClient__namespace.ServiceClient {
39197
39197
  requestContentType: "application/json; charset=utf-8",
39198
39198
  credential: credentials
39199
39199
  };
39200
- const packageDetails = `azsdk-js-arm-compute/19.2.0`;
39200
+ const packageDetails = `azsdk-js-arm-compute/19.2.1`;
39201
39201
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
39202
39202
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
39203
39203
  : `${packageDetails}`;
39204
- if (!options.credentialScopes) {
39205
- options.credentialScopes = ["https://management.azure.com/.default"];
39206
- }
39207
39204
  const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
39208
39205
  userAgentPrefix
39209
39206
  }, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });