@azure/arm-agrifood 1.0.0-beta.2 → 1.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 +6 -0
- 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/agriFoodMgmtClient.d.ts.map +1 -1
- package/dist-esm/src/agriFoodMgmtClient.js +4 -1
- package/dist-esm/src/agriFoodMgmtClient.js.map +1 -1
- package/package.json +1 -1
- package/src/agriFoodMgmtClient.ts +4 -1
- package/types/tsdoc-metadata.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -2927,10 +2927,13 @@ class AgriFoodMgmtClient extends coreClient__namespace.ServiceClient {
|
|
|
2927
2927
|
requestContentType: "application/json; charset=utf-8",
|
|
2928
2928
|
credential: credentials
|
|
2929
2929
|
};
|
|
2930
|
-
const packageDetails = `azsdk-js-arm-agrifood/1.0.0-beta.
|
|
2930
|
+
const packageDetails = `azsdk-js-arm-agrifood/1.0.0-beta.3`;
|
|
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
|
+
}
|
|
2934
2937
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
2935
2938
|
userAgentPrefix
|
|
2936
2939
|
}, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|