@azure/storage-file-share 12.23.0-alpha.20231102.2 → 12.23.0-alpha.20231116.2
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 +6 -4
- package/dist/index.js.map +1 -1
- package/dist-esm/storage-blob/src/Pipeline.js +1 -1
- package/dist-esm/storage-blob/src/Pipeline.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/storageClient.js +1 -1
- package/dist-esm/storage-blob/src/generated/src/storageClient.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-file-share/src/generated/src/storageClient.js +1 -1
- package/dist-esm/storage-file-share/src/generated/src/storageClient.js.map +1 -1
- package/dist-esm/storage-file-share/src/utils/constants.js +1 -1
- package/dist-esm/storage-file-share/src/utils/constants.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
3
5
|
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
4
6
|
var coreUtil = require('@azure/core-util');
|
5
7
|
var tslib = require('tslib');
|
@@ -336,7 +338,7 @@ function ipRangeToString(ipRange) {
|
|
336
338
|
|
337
339
|
// Copyright (c) Microsoft Corporation.
|
338
340
|
// Licensed under the MIT license.
|
339
|
-
const SDK_VERSION$1 = "12.23.0-beta.
|
341
|
+
const SDK_VERSION$1 = "12.23.0-beta.2";
|
340
342
|
const SERVICE_VERSION = "2023-01-03";
|
341
343
|
const FILE_MAX_SIZE_BYTES = 4 * 1024 * 1024 * 1024 * 1024; // 4TB
|
342
344
|
const FILE_RANGE_MAX_SIZE_BYTES = 4 * 1024 * 1024; // 4MB
|
@@ -1323,7 +1325,7 @@ class BaseRequestPolicy {
|
|
1323
1325
|
|
1324
1326
|
// Copyright (c) Microsoft Corporation.
|
1325
1327
|
// Licensed under the MIT license.
|
1326
|
-
const SDK_VERSION = "12.23.0-beta.
|
1328
|
+
const SDK_VERSION = "12.23.0-beta.2";
|
1327
1329
|
/**
|
1328
1330
|
* The OAuth scope to use with Azure Storage.
|
1329
1331
|
*/
|
@@ -2625,7 +2627,7 @@ function getCoreClientOptions(pipeline) {
|
|
2625
2627
|
}
|
2626
2628
|
pipeline._corePipeline = corePipeline;
|
2627
2629
|
}
|
2628
|
-
return Object.assign(Object.assign({}, restOptions), { httpClient, pipeline: corePipeline });
|
2630
|
+
return Object.assign(Object.assign({}, restOptions), { allowInsecureConnection: true, httpClient, pipeline: corePipeline });
|
2629
2631
|
}
|
2630
2632
|
function getCredentialFromPipeline(pipeline) {
|
2631
2633
|
// see if we squirreled one away on the type itself
|
@@ -11096,7 +11098,7 @@ let StorageClient$1 = class StorageClient extends coreHttpCompat__namespace.Exte
|
|
11096
11098
|
const defaults = {
|
11097
11099
|
requestContentType: "application/json; charset=utf-8"
|
11098
11100
|
};
|
11099
|
-
const packageDetails = `azsdk-js-azure-storage-file-share/12.23.0-beta.
|
11101
|
+
const packageDetails = `azsdk-js-azure-storage-file-share/12.23.0-beta.2`;
|
11100
11102
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
11101
11103
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
11102
11104
|
: `${packageDetails}`;
|