@azure/storage-blob 12.20.0-alpha.20230418.1 → 12.20.0-alpha.20230622.3

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 CHANGED
@@ -92,7 +92,7 @@ class BaseRequestPolicy {
92
92
 
93
93
  // Copyright (c) Microsoft Corporation.
94
94
  // Licensed under the MIT license.
95
- const SDK_VERSION = "12.13.0";
95
+ const SDK_VERSION = "12.20.0";
96
96
  const SERVICE_VERSION = "2021-10-04";
97
97
  const BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES = 256 * 1024 * 1024; // 256MB
98
98
  const BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES = 4000 * 1024 * 1024; // 4000MB
@@ -5893,6 +5893,13 @@ const BlobDownloadHeaders = {
5893
5893
  name: "DateTimeRfc1123"
5894
5894
  }
5895
5895
  },
5896
+ createdOn: {
5897
+ serializedName: "x-ms-creation-time",
5898
+ xmlName: "x-ms-creation-time",
5899
+ type: {
5900
+ name: "DateTimeRfc1123"
5901
+ }
5902
+ },
5896
5903
  metadata: {
5897
5904
  serializedName: "x-ms-meta",
5898
5905
  headerCollectionPrefix: "x-ms-meta-",
@@ -15169,7 +15176,7 @@ class StorageClient$1 extends coreHttpCompat__namespace.ExtendedServiceClient {
15169
15176
  const defaults = {
15170
15177
  requestContentType: "application/json; charset=utf-8"
15171
15178
  };
15172
- const packageDetails = `azsdk-js-azure-storage-blob/12.12.1`;
15179
+ const packageDetails = `azsdk-js-azure-storage-blob/12.20.0`;
15173
15180
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
15174
15181
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
15175
15182
  : `${packageDetails}`;
@@ -17072,6 +17079,14 @@ class BlobDownloadResponse {
17072
17079
  get lastAccessed() {
17073
17080
  return this.originalResponse.lastAccessed;
17074
17081
  }
17082
+ /**
17083
+ * Returns the date and time the blob was created.
17084
+ *
17085
+ * @readonly
17086
+ */
17087
+ get createdOn() {
17088
+ return this.originalResponse.createdOn;
17089
+ }
17075
17090
  /**
17076
17091
  * A name-value pair
17077
17092
  * to associate with a file storage object.
@@ -24533,6 +24548,14 @@ class BlobServiceClient extends StorageClient {
24533
24548
  }
24534
24549
  }
24535
24550
 
24551
+ // Copyright (c) Microsoft Corporation.
24552
+ // Licensed under the MIT license.
24553
+ /** Known values of {@link EncryptionAlgorithmType} that the service accepts. */
24554
+ exports.KnownEncryptionAlgorithmType = void 0;
24555
+ (function (KnownEncryptionAlgorithmType) {
24556
+ KnownEncryptionAlgorithmType["AES256"] = "AES256";
24557
+ })(exports.KnownEncryptionAlgorithmType || (exports.KnownEncryptionAlgorithmType = {}));
24558
+
24536
24559
  Object.defineProperty(exports, 'RestError', {
24537
24560
  enumerable: true,
24538
24561
  get: function () { return coreRestPipeline.RestError; }