@azure/storage-queue 12.8.0-alpha.20220113.3 → 12.8.0-alpha.20220127.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 +4 -2
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist-esm/src/QueueClient.js +3 -1
- package/dist-esm/src/QueueClient.js.map +1 -1
- package/dist-esm/src/QueueServiceClient.js +3 -1
- package/dist-esm/src/QueueServiceClient.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
### Bugs Fixed
|
|
10
10
|
|
|
11
|
+
- Fixed a bug where customized `ProxyOptions` is overwrited by a default one when initializing `QueueServiceClient` or `QueueClient` with connection string.
|
|
12
|
+
|
|
11
13
|
### Other Changes
|
|
12
14
|
|
|
13
15
|
## 12.8.0-beta.1 (2021-11-09)
|
|
@@ -167,13 +169,13 @@
|
|
|
167
169
|
Before this change the option is specified as
|
|
168
170
|
```js
|
|
169
171
|
queueServiceClient.listShares({
|
|
170
|
-
include: "metadata"
|
|
172
|
+
include: "metadata",
|
|
171
173
|
});
|
|
172
174
|
```
|
|
173
175
|
After this change:
|
|
174
176
|
```js
|
|
175
177
|
queueServiceClient.listShares({
|
|
176
|
-
includeMetadata: true
|
|
178
|
+
includeMetadata: true,
|
|
177
179
|
});
|
|
178
180
|
```
|
|
179
181
|
|
package/dist/index.js
CHANGED
|
@@ -4629,7 +4629,9 @@ class QueueClient extends StorageClient {
|
|
|
4629
4629
|
const queueName = credentialOrPipelineOrQueueName;
|
|
4630
4630
|
const sharedKeyCredential = new StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey);
|
|
4631
4631
|
url = appendToURLPath(extractedCreds.url, queueName);
|
|
4632
|
-
options.proxyOptions
|
|
4632
|
+
if (!options.proxyOptions) {
|
|
4633
|
+
options.proxyOptions = coreHttp.getDefaultProxySettings(extractedCreds.proxyUri);
|
|
4634
|
+
}
|
|
4633
4635
|
pipeline = newPipeline(sharedKeyCredential, options);
|
|
4634
4636
|
}
|
|
4635
4637
|
else {
|
|
@@ -5353,7 +5355,9 @@ class QueueServiceClient extends StorageClient {
|
|
|
5353
5355
|
if (extractedCreds.kind === "AccountConnString") {
|
|
5354
5356
|
if (coreHttp.isNode) {
|
|
5355
5357
|
const sharedKeyCredential = new StorageSharedKeyCredential(extractedCreds.accountName, extractedCreds.accountKey);
|
|
5356
|
-
options.proxyOptions
|
|
5358
|
+
if (!options.proxyOptions) {
|
|
5359
|
+
options.proxyOptions = coreHttp.getDefaultProxySettings(extractedCreds.proxyUri);
|
|
5360
|
+
}
|
|
5357
5361
|
const pipeline = newPipeline(sharedKeyCredential, options);
|
|
5358
5362
|
return new QueueServiceClient(extractedCreds.url, pipeline);
|
|
5359
5363
|
}
|