starta.microservice 0.1.3793 → 0.1.3799
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,13 +3,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const aws_sdk_1 =
|
|
6
|
+
const aws_sdk_1 = require("aws-sdk");
|
|
7
7
|
const config_1 = __importDefault(require("../../config"));
|
|
8
|
-
aws_sdk_1.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
aws_sdk_1.config.update({
|
|
9
|
+
accessKeyId: config_1.default.aws.accessKey,
|
|
10
|
+
secretAccessKey: config_1.default.aws.secretKey,
|
|
11
|
+
region: config_1.default.aws.region
|
|
12
|
+
});
|
|
12
13
|
exports.default = {
|
|
13
|
-
getS3: () => new aws_sdk_1.
|
|
14
|
+
getS3: () => new aws_sdk_1.S3()
|
|
14
15
|
};
|
|
15
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/adapters/aws/index.ts"],"names":[],"mappings":";;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/adapters/aws/index.ts"],"names":[],"mappings":";;;;;AAAA,qCAAkD;AAClD,0DAAqC;AAErC,gBAAS,CAAC,MAAM,CAAC;IACf,WAAW,EAAE,gBAAS,CAAC,GAAG,CAAC,SAAS;IACpC,eAAe,EAAE,gBAAS,CAAC,GAAG,CAAC,SAAS;IACxC,MAAM,EAAE,gBAAS,CAAC,GAAG,CAAC,MAAM;CAC7B,CAAC,CAAC;AAEH,kBAAe;IACb,KAAK,EAAE,GAAG,EAAE,CAAC,IAAI,YAAE,EAAE;CACtB,CAAA"}
|