rads-db 3.0.7 → 3.0.8
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.
|
@@ -143,7 +143,7 @@ function getBlobServiceClient(options) {
|
|
|
143
143
|
return blobServiceClientCache[options.connectionString];
|
|
144
144
|
}
|
|
145
145
|
function getContainerClient(options) {
|
|
146
|
-
const containerName = options.defaultContainer || "
|
|
146
|
+
const containerName = options.defaultContainer || "rads";
|
|
147
147
|
const key = `${options.connectionString}|${containerName}`;
|
|
148
148
|
if (!containerClientCache[key]) {
|
|
149
149
|
const blobServiceClient = getBlobServiceClient(options);
|
|
@@ -126,7 +126,7 @@ function getBlobServiceClient(options) {
|
|
|
126
126
|
return blobServiceClientCache[options.connectionString];
|
|
127
127
|
}
|
|
128
128
|
function getContainerClient(options) {
|
|
129
|
-
const containerName = options.defaultContainer || "
|
|
129
|
+
const containerName = options.defaultContainer || "rads";
|
|
130
130
|
const key = `${options.connectionString}|${containerName}`;
|
|
131
131
|
if (!containerClientCache[key]) {
|
|
132
132
|
const blobServiceClient = getBlobServiceClient(options);
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
module.exports = void 0;
|
|
7
7
|
var _storageBlob = require("@azure/storage-blob");
|
|
8
8
|
var _default = options => {
|
|
9
|
-
const defaultContainer = options.defaultContainer || "
|
|
9
|
+
const defaultContainer = options.defaultContainer || "rads";
|
|
10
10
|
const connectionString = options.connectionString;
|
|
11
11
|
const client = new _storageBlob.BlobServiceClient(connectionString, void 0, {
|
|
12
12
|
retryOptions: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BlobServiceClient } from "@azure/storage-blob";
|
|
2
2
|
export default (options) => {
|
|
3
|
-
const defaultContainer = options.defaultContainer || "
|
|
3
|
+
const defaultContainer = options.defaultContainer || "rads";
|
|
4
4
|
const connectionString = options.connectionString;
|
|
5
5
|
const client = new BlobServiceClient(connectionString, void 0, { retryOptions: { maxTries: 1 } });
|
|
6
6
|
const driver = {
|