@xube/kit-aws-hooks-infrastructure 0.0.28 → 0.0.30

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.
@@ -37,21 +37,21 @@ class WebhookManagement extends constructs_1.Construct {
37
37
  kit_log_1.XubeLog.getInstance().log(__dirname);
38
38
  kit_log_1.XubeLog.getInstance().log((0, path_1.join)(__dirname, "functions", exports.ADD_WEBHOOK_ENDPOINTS_FUNCTION_NAME + ".ts"));
39
39
  this.addWebhookEndpoints = new aws_lambda_nodejs_1.NodejsFunction(this, id + "-add-hooks-function", {
40
- entry: (0, path_1.join)(__dirname, "functions", exports.ADD_WEBHOOK_ENDPOINTS_FUNCTION_NAME + ".ts"),
40
+ entry: (0, path_1.join)(__dirname, "functions", exports.ADD_WEBHOOK_ENDPOINTS_FUNCTION_NAME + ".js"),
41
41
  functionName: (props.name ?? "webhook") + "-add-hooks",
42
42
  environment: {
43
43
  WEBHOOK_TABLE_NAME_ENV_VAR: this.table.tableName,
44
44
  },
45
45
  });
46
46
  this.removeWebhookEndpoint = new aws_lambda_nodejs_1.NodejsFunction(this, id + "-remove-hooks-function", {
47
- entry: (0, path_1.join)(__dirname, "functions", exports.REMOVE_WEBHOOK_ENDPOINTS_FUNCTION_NAME + ".ts"),
47
+ entry: (0, path_1.join)(__dirname, "functions", exports.REMOVE_WEBHOOK_ENDPOINTS_FUNCTION_NAME + ".js"),
48
48
  functionName: (props.name ?? "webhook") + "-remove-hooks",
49
49
  environment: {
50
50
  WEBHOOK_TABLE_NAME_ENV_VAR: this.table.tableName,
51
51
  },
52
52
  });
53
53
  this.getWebhookEndpoints = new aws_lambda_nodejs_1.NodejsFunction(this, id + "-get-hooks-function", {
54
- entry: (0, path_1.join)(__dirname, "functions", exports.GET_WEBHOOK_ENDPOINTS_FUNCTION_NAME + ".ts"),
54
+ entry: (0, path_1.join)(__dirname, "functions", exports.GET_WEBHOOK_ENDPOINTS_FUNCTION_NAME + ".js"),
55
55
  functionName: (props.name ?? "webhook") + "-get-hook",
56
56
  environment: {
57
57
  WEBHOOK_TABLE_NAME_ENV_VAR: this.table.tableName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xube/kit-aws-hooks-infrastructure",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
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.28"
20
+ "@xube/kit-build": "^0.0.30"
21
21
  },
22
22
  "dependencies": {
23
- "@xube/kit-aws": "^0.0.28",
24
- "@xube/kit-aws-hooks": "^0.0.28",
25
- "@xube/kit-aws-infrastructure": "^0.0.28",
26
- "@xube/kit-constants": "^0.0.28",
27
- "@xube/kit-log": "^0.0.28",
23
+ "@xube/kit-aws": "^0.0.30",
24
+ "@xube/kit-aws-hooks": "^0.0.30",
25
+ "@xube/kit-aws-infrastructure": "^0.0.30",
26
+ "@xube/kit-constants": "^0.0.30",
27
+ "@xube/kit-log": "^0.0.30",
28
28
  "aws-cdk-lib": "^2.100.0",
29
29
  "aws-lambda": "^1.0.7",
30
30
  "constructs": "^10.3.0"
@@ -69,7 +69,7 @@ export class WebhookManagement extends Construct {
69
69
  entry: join(
70
70
  __dirname,
71
71
  "functions",
72
- ADD_WEBHOOK_ENDPOINTS_FUNCTION_NAME + ".ts"
72
+ ADD_WEBHOOK_ENDPOINTS_FUNCTION_NAME + ".js"
73
73
  ),
74
74
  functionName: (props.name ?? "webhook") + "-add-hooks",
75
75
  environment: {
@@ -84,7 +84,7 @@ export class WebhookManagement extends Construct {
84
84
  entry: join(
85
85
  __dirname,
86
86
  "functions",
87
- REMOVE_WEBHOOK_ENDPOINTS_FUNCTION_NAME + ".ts"
87
+ REMOVE_WEBHOOK_ENDPOINTS_FUNCTION_NAME + ".js"
88
88
  ),
89
89
  functionName: (props.name ?? "webhook") + "-remove-hooks",
90
90
  environment: {
@@ -99,7 +99,7 @@ export class WebhookManagement extends Construct {
99
99
  entry: join(
100
100
  __dirname,
101
101
  "functions",
102
- GET_WEBHOOK_ENDPOINTS_FUNCTION_NAME + ".ts"
102
+ GET_WEBHOOK_ENDPOINTS_FUNCTION_NAME + ".js"
103
103
  ),
104
104
  functionName: (props.name ?? "webhook") + "-get-hook",
105
105
  environment: {