@azure/arm-azurestack 3.0.0-beta.2 → 3.0.0-beta.3

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
+ ## 3.0.0-beta.3 (2022-09-30)
4
+
5
+ **Bugs Fixed**
6
+
7
+ - fix better user experience of credential scopes in government cloud
8
+
3
9
  ## 3.0.0-beta.2 (2022-04-11)
4
10
 
5
11
  The package of @azure/arm-azurestack is using our next generation design principles since version 3.0.0-beta.2, which contains breaking changes.
package/README.md CHANGED
@@ -13,7 +13,7 @@ Azure Stack
13
13
 
14
14
  ### Currently supported environments
15
15
 
16
- - [LTS versions of Node.js](https://nodejs.org/about/releases/)
16
+ - [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)
17
17
  - Latest versions of Safari, Chrome, Edge and Firefox.
18
18
 
19
19
  See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
package/dist/index.js CHANGED
@@ -3004,13 +3004,10 @@ class AzureStackManagementClient extends coreClient__namespace.ServiceClient {
3004
3004
  requestContentType: "application/json; charset=utf-8",
3005
3005
  credential: credentials
3006
3006
  };
3007
- const packageDetails = `azsdk-js-arm-azurestack/3.0.0-beta.2`;
3007
+ const packageDetails = `azsdk-js-arm-azurestack/3.0.0-beta.3`;
3008
3008
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
3009
3009
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
3010
3010
  : `${packageDetails}`;
3011
- if (!options.credentialScopes) {
3012
- options.credentialScopes = ["https://management.azure.com/.default"];
3013
- }
3014
3011
  const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
3015
3012
  userAgentPrefix
3016
3013
  }, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });