@azure/arm-appcontainers 1.1.2-alpha.20221003.1 → 1.1.2

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
- ## 1.1.2 (Unreleased)
3
+ ## 1.1.2 (2022-10-08)
4
4
 
5
- ### Features Added
6
-
7
- ### Breaking Changes
8
-
9
- ### Bugs Fixed
5
+ **Bugs Fixed**
10
6
 
11
- ### Other Changes
7
+ - revert credential scopes
12
8
 
13
9
  ## 1.1.1 (2022-09-30)
14
10
 
package/dist/index.js CHANGED
@@ -6821,6 +6821,9 @@ class ContainerAppsAPIClient extends coreClient__namespace.ServiceClient {
6821
6821
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
6822
6822
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
6823
6823
  : `${packageDetails}`;
6824
+ if (!options.credentialScopes) {
6825
+ options.credentialScopes = ["https://management.azure.com/.default"];
6826
+ }
6824
6827
  const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
6825
6828
  userAgentPrefix
6826
6829
  }, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });