@felloh-org/lambda-wrapper 1.11.98 → 1.11.99
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.
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
|
|
8
|
-
var _awsSdk =
|
|
8
|
+
var _awsSdk = require("aws-sdk");
|
|
9
9
|
|
|
10
10
|
var _dependencies = require("../config/dependencies");
|
|
11
11
|
|
|
@@ -13,14 +13,14 @@ var _dependencyAware = _interopRequireDefault(require("../dependency-injection/d
|
|
|
13
13
|
|
|
14
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
15
|
|
|
16
|
-
const Eventbridge = new _awsSdk.
|
|
16
|
+
const Eventbridge = new _awsSdk.EventBridge({
|
|
17
17
|
region: process.env.REGION
|
|
18
18
|
});
|
|
19
19
|
/**
|
|
20
20
|
* Event Bridge Service
|
|
21
21
|
*/
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class EventBridgeService extends _dependencyAware.default {
|
|
24
24
|
async put(eventModel) {
|
|
25
25
|
const Logger = this.getContainer().get(_dependencies.DEFINITIONS.LOGGER);
|
|
26
26
|
|
|
@@ -38,4 +38,4 @@ class EventBridge extends _dependencyAware.default {
|
|
|
38
38
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
exports.default =
|
|
41
|
+
exports.default = EventBridgeService;
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@felloh-org/lambda-wrapper",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.99",
|
|
4
4
|
"description": "Lambda wrapper for all Felloh Serverless Projects",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"engines": {
|
|
7
|
-
"node": ">=
|
|
7
|
+
"node": ">=16"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "./node_modules/.bin/babel src --out-dir dist --copy-files --ignore src/migration",
|
|
@@ -72,7 +72,8 @@
|
|
|
72
72
|
"uuid": "^8.3.2",
|
|
73
73
|
"validate.js": "^0.13.1",
|
|
74
74
|
"winston": "^3.7.2",
|
|
75
|
-
"xml2js": "^0.4.23"
|
|
75
|
+
"xml2js": "^0.4.23",
|
|
76
|
+
"yamlparser": "^0.0.2"
|
|
76
77
|
},
|
|
77
78
|
"publishConfig": {
|
|
78
79
|
"access": "public"
|