@riocrypto/common-server 1.0.639 → 1.0.641

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.
@@ -25,10 +25,10 @@ class GCloudStorageClient {
25
25
  }
26
26
  exports.GCloudStorageClient = GCloudStorageClient;
27
27
  const buildGCloudStorageClient = () => __awaiter(void 0, void 0, void 0, function* () {
28
- const S3_BUCKET = yield secret_manager_client_1.secretManagerClient.getSecretValue("S3_BUCKET");
29
- if (!S3_BUCKET) {
30
- throw new Error("Unable to get S3_BUCKET");
28
+ const BUCKET = yield secret_manager_client_1.secretManagerClient.getSecretValue("BUCKET");
29
+ if (!BUCKET) {
30
+ throw new Error("Unable to get BUCKET");
31
31
  }
32
- return new GCloudStorageClient(S3_BUCKET);
32
+ return new GCloudStorageClient(BUCKET);
33
33
  });
34
34
  exports.buildGCloudStorageClient = buildGCloudStorageClient;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.639",
3
+ "version": "1.0.641",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "@aws-sdk/client-s3": "^3.297.0",
25
25
  "@everapi/currencyapi-js": "^1.0.6",
26
26
  "@google-cloud/storage": "^6.9.5",
27
- "@riocrypto/common": "^1.0.586",
27
+ "@riocrypto/common": "^1.0.587",
28
28
  "@types/express": "^4.17.13",
29
29
  "axios": "^0.27.2",
30
30
  "ccxt": "^3.0.30",