@azure/storage-queue 12.20.0-alpha.20230616.2 → 12.20.0-alpha.20230620.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/dist/index.js +2 -7
- package/dist/index.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobDownloadResponse.js +8 -0
- package/dist-esm/storage-blob/src/BlobDownloadResponse.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/models/index.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/models/mappers.js +7 -0
- package/dist-esm/storage-blob/src/generated/src/models/mappers.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/storageClient.js +1 -1
- package/dist-esm/storage-blob/src/generated/src/storageClient.js.map +1 -1
- package/dist-esm/storage-blob/src/generatedModels.js +5 -1
- package/dist-esm/storage-blob/src/generatedModels.js.map +1 -1
- package/dist-esm/storage-queue/src/StorageClient.js +1 -13
- package/dist-esm/storage-queue/src/StorageClient.js.map +1 -1
- package/dist-esm/storage-queue/src/utils/utils.common.js +1 -5
- package/dist-esm/storage-queue/src/utils/utils.common.js.map +1 -1
- package/package.json +6 -8
package/dist/index.js
CHANGED
|
@@ -464,7 +464,7 @@ function extractConnectionStringParts(connectionString) {
|
|
|
464
464
|
}
|
|
465
465
|
else {
|
|
466
466
|
// SAS connection string
|
|
467
|
-
|
|
467
|
+
const accountSas = getValueInConnString(connectionString, "SharedAccessSignature");
|
|
468
468
|
const accountName = getAccountNameFromUrl(queueEndpoint);
|
|
469
469
|
if (!queueEndpoint) {
|
|
470
470
|
throw new Error("Invalid QueueEndpoint in the provided SAS Connection String");
|
|
@@ -472,10 +472,6 @@ function extractConnectionStringParts(connectionString) {
|
|
|
472
472
|
else if (!accountSas) {
|
|
473
473
|
throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String");
|
|
474
474
|
}
|
|
475
|
-
// remove test SAS
|
|
476
|
-
if (accountSas === "fakeSasToken") {
|
|
477
|
-
accountSas = "";
|
|
478
|
-
}
|
|
479
475
|
return { kind: "SASConnString", url: queueEndpoint, accountName, accountSas };
|
|
480
476
|
}
|
|
481
477
|
}
|
|
@@ -5033,8 +5029,7 @@ function getStorageClientContext(url, pipeline) {
|
|
|
5033
5029
|
else if (pipelineOptions.retryOptions.tryTimeoutInMs === undefined) {
|
|
5034
5030
|
pipelineOptions.retryOptions.tryTimeoutInMs = 30 * 1000;
|
|
5035
5031
|
}
|
|
5036
|
-
|
|
5037
|
-
return new StorageContextClient(url, coreOptions);
|
|
5032
|
+
return new StorageContextClient(url, getCoreClientOptions(pipeline));
|
|
5038
5033
|
}
|
|
5039
5034
|
|
|
5040
5035
|
// Copyright (c) Microsoft Corporation.
|