@azure/arm-agrifood 1.0.0-alpha.20220926.2 → 1.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 +3 -7
- package/dist/index.js +0 -3
- 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/agriFoodMgmtClient.d.ts.map +1 -1
- package/dist-esm/src/agriFoodMgmtClient.js +0 -3
- package/dist-esm/src/agriFoodMgmtClient.js.map +1 -1
- package/package.json +3 -3
- package/src/agriFoodMgmtClient.ts +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
-
## 1.0.0-beta.2 (
|
|
3
|
+
## 1.0.0-beta.2 (2022-09-30)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
**Bugs Fixed**
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
### Bugs Fixed
|
|
10
|
-
|
|
11
|
-
### Other Changes
|
|
7
|
+
- fix better user experience of credential scopes in government cloud
|
|
12
8
|
|
|
13
9
|
## 1.0.0-beta.1 (2022-08-31)
|
|
14
10
|
|
package/dist/index.js
CHANGED
|
@@ -2931,9 +2931,6 @@ class AgriFoodMgmtClient extends coreClient__namespace.ServiceClient {
|
|
|
2931
2931
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
2932
2932
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
2933
2933
|
: `${packageDetails}`;
|
|
2934
|
-
if (!options.credentialScopes) {
|
|
2935
|
-
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
2936
|
-
}
|
|
2937
2934
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
2938
2935
|
userAgentPrefix
|
|
2939
2936
|
}, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|