@azure/storage-blob 12.14.0-beta.1 → 12.14.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/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist-esm/storage-blob/src/Clients.js +6 -0
- package/dist-esm/storage-blob/src/Clients.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/storageClientContext.js +1 -1
- package/dist-esm/storage-blob/src/generated/src/storageClientContext.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/constants.js +1 -1
- package/dist-esm/storage-blob/src/utils/constants.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -13337,7 +13337,7 @@ const logger = logger$1.createClientLogger("storage-blob");
|
|
13337
13337
|
|
13338
13338
|
// Copyright (c) Microsoft Corporation.
|
13339
13339
|
// Licensed under the MIT license.
|
13340
|
-
const SDK_VERSION = "12.14.0
|
13340
|
+
const SDK_VERSION = "12.14.0";
|
13341
13341
|
const SERVICE_VERSION = "2022-11-02";
|
13342
13342
|
const BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES = 256 * 1024 * 1024; // 256MB
|
13343
13343
|
const BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES = 4000 * 1024 * 1024; // 4000MB
|
@@ -15196,7 +15196,7 @@ class StorageSharedKeyCredential extends Credential {
|
|
15196
15196
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
15197
15197
|
*/
|
15198
15198
|
const packageName = "azure-storage-blob";
|
15199
|
-
const packageVersion = "12.14.0
|
15199
|
+
const packageVersion = "12.14.0";
|
15200
15200
|
class StorageClientContext extends coreHttp__namespace.ServiceClient {
|
15201
15201
|
/**
|
15202
15202
|
* Initializes a new instance of the StorageClientContext class.
|
@@ -19248,6 +19248,9 @@ class BlobClient extends StorageClient {
|
|
19248
19248
|
// (url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions)
|
19249
19249
|
// The second parameter is undefined. Use anonymous credential.
|
19250
19250
|
url = urlOrConnectionString;
|
19251
|
+
if (blobNameOrOptions && typeof blobNameOrOptions !== "string") {
|
19252
|
+
options = blobNameOrOptions;
|
19253
|
+
}
|
19251
19254
|
pipeline = newPipeline(new AnonymousCredential(), options);
|
19252
19255
|
}
|
19253
19256
|
else if (credentialOrPipelineOrContainerName &&
|
@@ -20551,6 +20554,9 @@ class BlockBlobClient extends BlobClient {
|
|
20551
20554
|
// (url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions)
|
20552
20555
|
// The second parameter is undefined. Use anonymous credential.
|
20553
20556
|
url = urlOrConnectionString;
|
20557
|
+
if (blobNameOrOptions && typeof blobNameOrOptions !== "string") {
|
20558
|
+
options = blobNameOrOptions;
|
20559
|
+
}
|
20554
20560
|
pipeline = newPipeline(new AnonymousCredential(), options);
|
20555
20561
|
}
|
20556
20562
|
else if (credentialOrPipelineOrContainerName &&
|