rads-db 3.0.8 → 3.0.9

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.
@@ -8,7 +8,7 @@ var _storageBlob = require("@azure/storage-blob");
8
8
  var _default = options => {
9
9
  const defaultContainer = options.defaultContainer || "rads";
10
10
  const connectionString = options.connectionString;
11
- const client = new _storageBlob.BlobServiceClient(connectionString, void 0, {
11
+ const client = _storageBlob.BlobServiceClient.fromConnectionString(connectionString, {
12
12
  retryOptions: {
13
13
  maxTries: 1
14
14
  }
@@ -2,7 +2,7 @@ import { BlobServiceClient } from "@azure/storage-blob";
2
2
  export default (options) => {
3
3
  const defaultContainer = options.defaultContainer || "rads";
4
4
  const connectionString = options.connectionString;
5
- const client = new BlobServiceClient(connectionString, void 0, { retryOptions: { maxTries: 1 } });
5
+ const client = BlobServiceClient.fromConnectionString(connectionString, { retryOptions: { maxTries: 1 } });
6
6
  const driver = {
7
7
  driverName: "azureStorageBlob",
8
8
  async uploadFile(args) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rads-db",
3
- "version": "3.0.8",
3
+ "version": "3.0.9",
4
4
  "files": [
5
5
  "dist",
6
6
  "drivers",