@riocrypto/common-server 1.0.557 → 1.0.558

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.
@@ -3,4 +3,4 @@ export declare class s3 {
3
3
  constructor(endpoint: string, region: string, accessKey: string, secretKey: string);
4
4
  get client(): any;
5
5
  }
6
- export declare const s3Client: Promise<s3>;
6
+ export declare const s3Client: s3;
@@ -29,7 +29,7 @@ class s3 {
29
29
  }
30
30
  }
31
31
  exports.s3 = s3;
32
- exports.s3Client = (() => __awaiter(void 0, void 0, void 0, function* () {
32
+ exports.s3Client = await (() => __awaiter(void 0, void 0, void 0, function* () {
33
33
  const S3_ENDPOINT = yield secret_manager_client_1.secretManagerClient.getSecretValue("S3_ENDPOINT");
34
34
  if (!S3_ENDPOINT) {
35
35
  throw new Error("Unable to get S3_ENDPOINT");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.557",
3
+ "version": "1.0.558",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",