@azure/storage-file-share 12.10.1-alpha.20220517.1 → 12.11.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/README.md CHANGED
@@ -489,7 +489,7 @@ A complete example of simple `ShareServiceClient` scenarios is at [samples/v12/t
489
489
  Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
490
490
 
491
491
  ```javascript
492
- import { setLogLevel } from "@azure/logger";
492
+ const { setLogLevel } = require("@azure/logger");
493
493
 
494
494
  setLogLevel("info");
495
495
  ```
package/dist/index.js CHANGED
@@ -334,8 +334,8 @@ function ipRangeToString(ipRange) {
334
334
 
335
335
  // Copyright (c) Microsoft Corporation.
336
336
  // Licensed under the MIT license.
337
- const SDK_VERSION = "12.10.1";
338
- const SERVICE_VERSION = "2021-06-08";
337
+ const SDK_VERSION = "12.11.0";
338
+ const SERVICE_VERSION = "2021-08-06";
339
339
  const FILE_MAX_SIZE_BYTES = 4 * 1024 * 1024 * 1024 * 1024; // 4TB
340
340
  const FILE_RANGE_MAX_SIZE_BYTES = 4 * 1024 * 1024; // 4MB
341
341
  const DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS = 5;
@@ -6650,7 +6650,7 @@ const timeoutInSeconds = {
6650
6650
  const version = {
6651
6651
  parameterPath: "version",
6652
6652
  mapper: {
6653
- defaultValue: "2021-06-08",
6653
+ defaultValue: "2021-08-06",
6654
6654
  isConstant: true,
6655
6655
  serializedName: "x-ms-version",
6656
6656
  type: {
@@ -10393,7 +10393,7 @@ function convertTracingToRequestOptionsBase(options) {
10393
10393
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
10394
10394
  */
10395
10395
  const packageName = "azure-storage-file-share";
10396
- const packageVersion = "12.10.1";
10396
+ const packageVersion = "12.11.0";
10397
10397
  class StorageClientContext extends coreHttp__namespace.ServiceClient {
10398
10398
  /**
10399
10399
  * Initializes a new instance of the StorageClientContext class.
@@ -10419,7 +10419,7 @@ class StorageClientContext extends coreHttp__namespace.ServiceClient {
10419
10419
  // Parameter assignments
10420
10420
  this.url = url;
10421
10421
  // Assigning values to Constant parameters
10422
- this.version = options.version || "2021-06-08";
10422
+ this.version = options.version || "2021-08-06";
10423
10423
  this.fileRangeWriteFromUrl = options.fileRangeWriteFromUrl || "update";
10424
10424
  }
10425
10425
  }