@xube/kit-aws-hooks-infrastructure 0.0.54 → 0.0.55

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.
@@ -60,6 +60,7 @@ class WebhookManagement extends constructs_1.Construct {
60
60
  },
61
61
  });
62
62
  this.removeWebhookEndpoint = new aws_lambda_nodejs_1.NodejsFunction(this, id + "-remove-hooks-function", {
63
+ runtime: aws_lambda_1.Runtime.NODEJS_18_X,
63
64
  entry: (0, path_1.join)(__dirname, "functions", exports.REMOVE_WEBHOOK_ENDPOINTS_FUNCTION_NAME + ".js"),
64
65
  functionName: (props.name ?? "webhook") + "-remove-hooks",
65
66
  environment: {
@@ -67,6 +68,7 @@ class WebhookManagement extends constructs_1.Construct {
67
68
  },
68
69
  });
69
70
  this.getWebhookEndpoints = new aws_lambda_nodejs_1.NodejsFunction(this, id + "-get-hooks-function", {
71
+ runtime: aws_lambda_1.Runtime.NODEJS_18_X,
70
72
  entry: (0, path_1.join)(__dirname, "functions", exports.GET_WEBHOOK_ENDPOINTS_FUNCTION_NAME + ".js"),
71
73
  functionName: (props.name ?? "webhook") + "-get-hook",
72
74
  environment: {
@@ -104,6 +106,7 @@ class WebhookManagement extends constructs_1.Construct {
104
106
  this.webhookAPI.root.addMethod(aws_lambda_1.HttpMethod.POST, addWebhookEndpointsTarget);
105
107
  this.webhookAPI.root.addMethod(aws_lambda_1.HttpMethod.DELETE, removeWebhookEndpointsTarget);
106
108
  this.handleStreams = new aws_lambda_nodejs_1.NodejsFunction(this, id + "-handle-streams", {
109
+ runtime: aws_lambda_1.Runtime.NODEJS_18_X,
107
110
  entry: (0, path_1.join)(__dirname, "functions", exports.HANDLE_STREAMS_FUNCTION_NAME + ".js"),
108
111
  functionName: (props.name ?? "webhook") + "-handle-streams",
109
112
  environment: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xube/kit-aws-hooks-infrastructure",
3
- "version": "0.0.54",
3
+ "version": "0.0.55",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -17,14 +17,14 @@
17
17
  },
18
18
  "homepage": "https://github.com/XubeLtd/dev-kit#readme",
19
19
  "devDependencies": {
20
- "@xube/kit-build": "^0.0.54"
20
+ "@xube/kit-build": "^0.0.55"
21
21
  },
22
22
  "dependencies": {
23
- "@xube/kit-aws": "^0.0.54",
24
- "@xube/kit-aws-hooks": "^0.0.54",
25
- "@xube/kit-aws-infrastructure": "^0.0.54",
26
- "@xube/kit-constants": "^0.0.54",
27
- "@xube/kit-log": "^0.0.54",
23
+ "@xube/kit-aws": "^0.0.55",
24
+ "@xube/kit-aws-hooks": "^0.0.55",
25
+ "@xube/kit-aws-infrastructure": "^0.0.55",
26
+ "@xube/kit-constants": "^0.0.55",
27
+ "@xube/kit-log": "^0.0.55",
28
28
  "aws-cdk-lib": "^2.100.0",
29
29
  "aws-lambda": "^1.0.7",
30
30
  "constructs": "^10.3.0"
@@ -103,6 +103,7 @@ export class WebhookManagement extends Construct {
103
103
  this,
104
104
  id + "-remove-hooks-function",
105
105
  {
106
+ runtime: Runtime.NODEJS_18_X,
106
107
  entry: join(
107
108
  __dirname,
108
109
  "functions",
@@ -118,6 +119,7 @@ export class WebhookManagement extends Construct {
118
119
  this,
119
120
  id + "-get-hooks-function",
120
121
  {
122
+ runtime: Runtime.NODEJS_18_X,
121
123
  entry: join(
122
124
  __dirname,
123
125
  "functions",
@@ -175,6 +177,7 @@ export class WebhookManagement extends Construct {
175
177
  );
176
178
 
177
179
  this.handleStreams = new NodejsFunction(this, id + "-handle-streams", {
180
+ runtime: Runtime.NODEJS_18_X,
178
181
  entry: join(__dirname, "functions", HANDLE_STREAMS_FUNCTION_NAME + ".js"),
179
182
  functionName: (props.name ?? "webhook") + "-handle-streams",
180
183
  environment: {