@azure/arm-cognitiveservices 7.2.0 → 7.2.1-alpha.20221003.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 +6 -0
- 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/cognitiveServicesManagementClient.d.ts.map +1 -1
- package/dist-esm/src/cognitiveServicesManagementClient.js +1 -4
- package/dist-esm/src/cognitiveServicesManagementClient.js.map +1 -1
- package/package.json +5 -5
- package/src/cognitiveServicesManagementClient.ts +1 -4
- package/types/tsdoc-metadata.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Cognitive Services Management 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
|
@@ -4994,13 +4994,10 @@ class CognitiveServicesManagementClient extends coreClient__namespace.ServiceCli
|
|
|
4994
4994
|
requestContentType: "application/json; charset=utf-8",
|
|
4995
4995
|
credential: credentials
|
|
4996
4996
|
};
|
|
4997
|
-
const packageDetails = `azsdk-js-arm-cognitiveservices/7.2.
|
|
4997
|
+
const packageDetails = `azsdk-js-arm-cognitiveservices/7.2.1`;
|
|
4998
4998
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
4999
4999
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
5000
5000
|
: `${packageDetails}`;
|
|
5001
|
-
if (!options.credentialScopes) {
|
|
5002
|
-
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
5003
|
-
}
|
|
5004
5001
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
5005
5002
|
userAgentPrefix
|
|
5006
5003
|
}, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|