@azure/storage-blob 12.14.0 → 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 +7 -11
- 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/models/parameters.js +1 -1
- package/dist-esm/storage-blob/src/generated/src/models/parameters.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/storageClientContext.js +2 -2
- package/dist-esm/storage-blob/src/generated/src/storageClientContext.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/constants.js +2 -2
- 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
@@ -8506,7 +8506,7 @@ const timeoutInSeconds = {
|
|
8506
8506
|
const version = {
|
8507
8507
|
parameterPath: "version",
|
8508
8508
|
mapper: {
|
8509
|
-
defaultValue: "
|
8509
|
+
defaultValue: "2023-01-03",
|
8510
8510
|
isConstant: true,
|
8511
8511
|
serializedName: "x-ms-version",
|
8512
8512
|
type: {
|
@@ -13337,8 +13337,8 @@ 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.
|
13341
|
-
const SERVICE_VERSION = "
|
13340
|
+
const SDK_VERSION = "12.15.0";
|
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
|
13344
13344
|
const BLOCK_BLOB_MAX_BLOCKS = 50000;
|
@@ -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.
|
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.
|
@@ -15222,7 +15220,7 @@ class StorageClientContext extends coreHttp__namespace.ServiceClient {
|
|
15222
15220
|
// Parameter assignments
|
15223
15221
|
this.url = url;
|
15224
15222
|
// Assigning values to Constant parameters
|
15225
|
-
this.version = options.version || "
|
15223
|
+
this.version = options.version || "2023-01-03";
|
15226
15224
|
}
|
15227
15225
|
}
|
15228
15226
|
|
@@ -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;
|