@azure/arm-azurestackhci 3.0.2-alpha.20221004.1 → 3.0.3-alpha.20221010.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 +7 -1
- package/dist/index.js +4 -1
- 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/azureStackHCIClient.d.ts.map +1 -1
- package/dist-esm/src/azureStackHCIClient.js +4 -1
- package/dist-esm/src/azureStackHCIClient.js.map +1 -1
- package/package.json +1 -1
- package/src/azureStackHCIClient.ts +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
-
## 3.0.
|
|
3
|
+
## 3.0.3 (Unreleased)
|
|
4
4
|
|
|
5
5
|
### Features Added
|
|
6
6
|
|
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
### Other Changes
|
|
12
12
|
|
|
13
|
+
## 3.0.2 (2022-10-08)
|
|
14
|
+
|
|
15
|
+
**Bugs Fixed**
|
|
16
|
+
|
|
17
|
+
- revert credential scopes
|
|
18
|
+
|
|
13
19
|
## 3.0.1 (2022-09-30)
|
|
14
20
|
|
|
15
21
|
**Bugs Fixed**
|
package/dist/index.js
CHANGED
|
@@ -2975,10 +2975,13 @@ class AzureStackHCIClient extends coreClient__namespace.ServiceClient {
|
|
|
2975
2975
|
requestContentType: "application/json; charset=utf-8",
|
|
2976
2976
|
credential: credentials
|
|
2977
2977
|
};
|
|
2978
|
-
const packageDetails = `azsdk-js-arm-azurestackhci/3.0.
|
|
2978
|
+
const packageDetails = `azsdk-js-arm-azurestackhci/3.0.3`;
|
|
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
|
+
}
|
|
2982
2985
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
2983
2986
|
userAgentPrefix
|
|
2984
2987
|
}, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|