@azure/storage-queue 12.8.1-alpha.20220420.2 → 12.9.0
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 +4 -4
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist-esm/src/TelemetryPolicyFactory.js +4 -1
- package/dist-esm/src/TelemetryPolicyFactory.js.map +1 -1
- package/dist-esm/src/generated/src/storageClientContext.js +1 -1
- package/dist-esm/src/generated/src/storageClientContext.js.map +1 -1
- package/dist-esm/src/utils/constants.js +2 -2
- package/dist-esm/src/utils/constants.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
-
## 12.
|
|
3
|
+
## 12.9.0 (2022-05-12)
|
|
4
4
|
|
|
5
5
|
### Features Added
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
- Added support for service version 2021-06-08.
|
|
8
8
|
|
|
9
9
|
### Bugs Fixed
|
|
10
10
|
|
|
11
11
|
- Add `react-native` mapping to ESM entry point
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
- Fixed a bug where customized `ProxyOptions` is overwrited by a default one when initializing `QueueServiceClient` or `QueueClient` with connection string.
|
|
13
|
+
- Refined user-agent value to avoid failure when os information is not available on some platforms.
|
|
14
14
|
|
|
15
15
|
## 12.8.0 (2022-03-11)
|
|
16
16
|
|
package/dist/index.js
CHANGED
|
@@ -327,8 +327,8 @@ function ipRangeToString(ipRange) {
|
|
|
327
327
|
|
|
328
328
|
// Copyright (c) Microsoft Corporation.
|
|
329
329
|
// Licensed under the MIT license.
|
|
330
|
-
const SDK_VERSION = "12.
|
|
331
|
-
const SERVICE_VERSION = "2021-
|
|
330
|
+
const SDK_VERSION = "12.9.0";
|
|
331
|
+
const SERVICE_VERSION = "2021-06-08";
|
|
332
332
|
/**
|
|
333
333
|
* The OAuth scope to use with Azure Storage.
|
|
334
334
|
*/
|
|
@@ -420,7 +420,7 @@ const StorageQueueLoggingAllowedQueryParameters = [
|
|
|
420
420
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
421
421
|
*/
|
|
422
422
|
const packageName = "azure-storage-queue";
|
|
423
|
-
const packageVersion = "12.
|
|
423
|
+
const packageVersion = "12.9.0";
|
|
424
424
|
class StorageClientContext extends coreHttp__namespace.ServiceClient {
|
|
425
425
|
/**
|
|
426
426
|
* Initializes a new instance of the StorageClientContext class.
|
|
@@ -1524,7 +1524,10 @@ class TelemetryPolicyFactory {
|
|
|
1524
1524
|
userAgentInfo.push(libInfo);
|
|
1525
1525
|
}
|
|
1526
1526
|
// e.g. (NODE-VERSION 4.9.1; Windows_NT 10.0.16299)
|
|
1527
|
-
|
|
1527
|
+
let runtimeInfo = `(NODE-VERSION ${process.version})`;
|
|
1528
|
+
if (os__namespace) {
|
|
1529
|
+
runtimeInfo = `(NODE-VERSION ${process.version}; ${os__namespace.type()} ${os__namespace.release()})`;
|
|
1530
|
+
}
|
|
1528
1531
|
if (userAgentInfo.indexOf(runtimeInfo) === -1) {
|
|
1529
1532
|
userAgentInfo.push(runtimeInfo);
|
|
1530
1533
|
}
|