@azure/storage-blob 12.13.0-beta.1 → 12.14.0-beta.1
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 +30 -6
- 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/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/generatedModels.js +5 -1
- package/dist-esm/storage-blob/src/generatedModels.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 +2 -1
- package/dist-esm/storage-blob/src/utils/utils.common.js.map +1 -1
- package/package.json +1 -1
- package/types/3.1/storage-blob.d.ts +6 -0
- package/types/latest/storage-blob.d.ts +7 -0
package/dist/index.js
CHANGED
@@ -3817,6 +3817,13 @@ const BlobDownloadHeaders = {
|
|
3817
3817
|
name: "DateTimeRfc1123"
|
3818
3818
|
}
|
3819
3819
|
},
|
3820
|
+
createdOn: {
|
3821
|
+
serializedName: "x-ms-creation-time",
|
3822
|
+
xmlName: "x-ms-creation-time",
|
3823
|
+
type: {
|
3824
|
+
name: "DateTimeRfc1123"
|
3825
|
+
}
|
3826
|
+
},
|
3820
3827
|
metadata: {
|
3821
3828
|
serializedName: "x-ms-meta",
|
3822
3829
|
xmlName: "x-ms-meta",
|
@@ -8499,7 +8506,7 @@ const timeoutInSeconds = {
|
|
8499
8506
|
const version = {
|
8500
8507
|
parameterPath: "version",
|
8501
8508
|
mapper: {
|
8502
|
-
defaultValue: "
|
8509
|
+
defaultValue: "2022-11-02",
|
8503
8510
|
isConstant: true,
|
8504
8511
|
serializedName: "x-ms-version",
|
8505
8512
|
type: {
|
@@ -13330,8 +13337,8 @@ const logger = logger$1.createClientLogger("storage-blob");
|
|
13330
13337
|
|
13331
13338
|
// Copyright (c) Microsoft Corporation.
|
13332
13339
|
// Licensed under the MIT license.
|
13333
|
-
const SDK_VERSION = "12.
|
13334
|
-
const SERVICE_VERSION = "
|
13340
|
+
const SDK_VERSION = "12.14.0-beta.1";
|
13341
|
+
const SERVICE_VERSION = "2022-11-02";
|
13335
13342
|
const BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES = 256 * 1024 * 1024; // 256MB
|
13336
13343
|
const BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES = 4000 * 1024 * 1024; // 4000MB
|
13337
13344
|
const BLOCK_BLOB_MAX_BLOCKS = 50000;
|
@@ -13730,7 +13737,8 @@ function appendToURLPath(url, name) {
|
|
13730
13737
|
let path = urlParsed.getPath();
|
13731
13738
|
path = path ? (path.endsWith("/") ? `${path}${name}` : `${path}/${name}`) : name;
|
13732
13739
|
urlParsed.setPath(path);
|
13733
|
-
|
13740
|
+
const normalizedUrl = new URL(urlParsed.toString());
|
13741
|
+
return normalizedUrl.toString();
|
13734
13742
|
}
|
13735
13743
|
/**
|
13736
13744
|
* Set URL parameter name and value. If name exists in URL parameters, old value
|
@@ -15188,7 +15196,7 @@ class StorageSharedKeyCredential extends Credential {
|
|
15188
15196
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
15189
15197
|
*/
|
15190
15198
|
const packageName = "azure-storage-blob";
|
15191
|
-
const packageVersion = "12.
|
15199
|
+
const packageVersion = "12.14.0-beta.1";
|
15192
15200
|
class StorageClientContext extends coreHttp__namespace.ServiceClient {
|
15193
15201
|
/**
|
15194
15202
|
* Initializes a new instance of the StorageClientContext class.
|
@@ -15214,7 +15222,7 @@ class StorageClientContext extends coreHttp__namespace.ServiceClient {
|
|
15214
15222
|
// Parameter assignments
|
15215
15223
|
this.url = url;
|
15216
15224
|
// Assigning values to Constant parameters
|
15217
|
-
this.version = options.version || "
|
15225
|
+
this.version = options.version || "2022-11-02";
|
15218
15226
|
}
|
15219
15227
|
}
|
15220
15228
|
|
@@ -17143,6 +17151,14 @@ class BlobDownloadResponse {
|
|
17143
17151
|
get lastAccessed() {
|
17144
17152
|
return this.originalResponse.lastAccessed;
|
17145
17153
|
}
|
17154
|
+
/**
|
17155
|
+
* Returns the date and time the blob was created.
|
17156
|
+
*
|
17157
|
+
* @readonly
|
17158
|
+
*/
|
17159
|
+
get createdOn() {
|
17160
|
+
return this.originalResponse.createdOn;
|
17161
|
+
}
|
17146
17162
|
/**
|
17147
17163
|
* A name-value pair
|
17148
17164
|
* to associate with a file storage object.
|
@@ -25032,6 +25048,14 @@ class BlobServiceClient extends StorageClient {
|
|
25032
25048
|
}
|
25033
25049
|
}
|
25034
25050
|
|
25051
|
+
// Copyright (c) Microsoft Corporation.
|
25052
|
+
// Licensed under the MIT license.
|
25053
|
+
/** Known values of {@link EncryptionAlgorithmType} that the service accepts. */
|
25054
|
+
exports.KnownEncryptionAlgorithmType = void 0;
|
25055
|
+
(function (KnownEncryptionAlgorithmType) {
|
25056
|
+
KnownEncryptionAlgorithmType["AES256"] = "AES256";
|
25057
|
+
})(exports.KnownEncryptionAlgorithmType || (exports.KnownEncryptionAlgorithmType = {}));
|
25058
|
+
|
25035
25059
|
Object.defineProperty(exports, 'BaseRequestPolicy', {
|
25036
25060
|
enumerable: true,
|
25037
25061
|
get: function () { return coreHttp.BaseRequestPolicy; }
|