@azure/arm-automation 11.0.0-beta.1 → 11.0.0-beta.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 +7 -1
- package/README.md +1 -1
- package/dist/index.js +1 -4
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/automationClient.d.ts.map +1 -1
- package/dist-esm/src/automationClient.js +1 -4
- package/dist-esm/src/automationClient.js.map +1 -1
- package/package.json +3 -3
- package/src/automationClient.ts +1 -4
- package/types/tsdoc-metadata.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Release History
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
## 11.0.0-beta.2 (2022-09-30)
|
|
4
|
+
|
|
5
|
+
**Bugs Fixed**
|
|
6
|
+
|
|
7
|
+
- fix better user experience of credential scopes in government cloud
|
|
8
|
+
|
|
3
9
|
## 11.0.0-beta.1 (2022-07-25)
|
|
4
10
|
|
|
5
11
|
The package of @azure/arm-automation is using our next generation design principles since version 11.0.0-beta.1, which contains breaking changes.
|
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Automation Client
|
|
|
13
13
|
|
|
14
14
|
### Currently supported environments
|
|
15
15
|
|
|
16
|
-
- [LTS versions of Node.js](https://
|
|
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
|
@@ -17756,13 +17756,10 @@ class AutomationClient extends coreClient__namespace.ServiceClient {
|
|
|
17756
17756
|
requestContentType: "application/json; charset=utf-8",
|
|
17757
17757
|
credential: credentials
|
|
17758
17758
|
};
|
|
17759
|
-
const packageDetails = `azsdk-js-arm-automation/11.0.0-beta.
|
|
17759
|
+
const packageDetails = `azsdk-js-arm-automation/11.0.0-beta.2`;
|
|
17760
17760
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
17761
17761
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
17762
17762
|
: `${packageDetails}`;
|
|
17763
|
-
if (!options.credentialScopes) {
|
|
17764
|
-
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
17765
|
-
}
|
|
17766
17763
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
17767
17764
|
userAgentPrefix
|
|
17768
17765
|
}, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|