@azure/storage-blob 12.15.0-beta.1 → 12.15.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 +4 -8
- package/dist/index.js.map +1 -1
- package/dist-esm/storage-blob/src/ContainerClient.js +1 -3
- package/dist-esm/storage-blob/src/ContainerClient.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/dist-esm/storage-blob/src/utils/utils.common.js +1 -3
- package/dist-esm/storage-blob/src/utils/utils.common.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.15.0
|
13340
|
+
const SDK_VERSION = "12.15.0";
|
13341
13341
|
const SERVICE_VERSION = "2023-01-03";
|
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
|
@@ -14175,9 +14175,7 @@ function ConvertInternalResponseOfListBlobHierarchy(internalResponse) {
|
|
14175
14175
|
var _a;
|
14176
14176
|
return Object.assign(Object.assign({}, internalResponse), { segment: {
|
14177
14177
|
blobPrefixes: (_a = internalResponse.segment.blobPrefixes) === null || _a === void 0 ? void 0 : _a.map((blobPrefixInternal) => {
|
14178
|
-
const blobPrefix = {
|
14179
|
-
name: BlobNameToString(blobPrefixInternal.name),
|
14180
|
-
};
|
14178
|
+
const blobPrefix = Object.assign(Object.assign({}, blobPrefixInternal), { name: BlobNameToString(blobPrefixInternal.name) });
|
14181
14179
|
return blobPrefix;
|
14182
14180
|
}),
|
14183
14181
|
blobItems: internalResponse.segment.blobItems.map((blobItemInteral) => {
|
@@ -15196,7 +15194,7 @@ class StorageSharedKeyCredential extends Credential {
|
|
15196
15194
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
15197
15195
|
*/
|
15198
15196
|
const packageName = "azure-storage-blob";
|
15199
|
-
const packageVersion = "12.15.0
|
15197
|
+
const packageVersion = "12.15.0";
|
15200
15198
|
class StorageClientContext extends coreHttp__namespace.ServiceClient {
|
15201
15199
|
/**
|
15202
15200
|
* Initializes a new instance of the StorageClientContext class.
|
@@ -23160,9 +23158,7 @@ class ContainerClient extends StorageClient {
|
|
23160
23158
|
const blobItem = Object.assign(Object.assign({}, blobItemInteral), { name: BlobNameToString(blobItemInteral.name), tags: toTags(blobItemInteral.blobTags), objectReplicationSourceProperties: parseObjectReplicationRecord(blobItemInteral.objectReplicationMetadata) });
|
23161
23159
|
return blobItem;
|
23162
23160
|
}), blobPrefixes: (_a = response.segment.blobPrefixes) === null || _a === void 0 ? void 0 : _a.map((blobPrefixInternal) => {
|
23163
|
-
const blobPrefix = {
|
23164
|
-
name: BlobNameToString(blobPrefixInternal.name),
|
23165
|
-
};
|
23161
|
+
const blobPrefix = Object.assign(Object.assign({}, blobPrefixInternal), { name: BlobNameToString(blobPrefixInternal.name) });
|
23166
23162
|
return blobPrefix;
|
23167
23163
|
}) }) });
|
23168
23164
|
return wrappedResponse;
|