@xube/kit-aws-hooks-infrastructure 0.0.24 → 0.0.25

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.
@@ -0,0 +1,2 @@
1
+ import { APIGatewayProxyResult, APIGatewayProxyWithCognitoAuthorizerEvent } from "aws-lambda";
2
+ export declare const handler: (event: APIGatewayProxyWithCognitoAuthorizerEvent) => Promise<APIGatewayProxyResult>;
@@ -1 +1,10 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.handler = void 0;
4
+ const handler = async (event) => {
5
+ return {
6
+ body: "Hello World",
7
+ statusCode: 200
8
+ };
9
+ };
10
+ exports.handler = handler;
@@ -0,0 +1,2 @@
1
+ import { APIGatewayProxyResult, APIGatewayProxyWithCognitoAuthorizerEvent } from "aws-lambda";
2
+ export declare const handler: (event: APIGatewayProxyWithCognitoAuthorizerEvent) => Promise<APIGatewayProxyResult>;
@@ -1 +1,10 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.handler = void 0;
4
+ const handler = async (event) => {
5
+ return {
6
+ body: "Hello World",
7
+ statusCode: 200
8
+ };
9
+ };
10
+ exports.handler = handler;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xube/kit-aws-hooks-infrastructure",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
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.24"
20
+ "@xube/kit-build": "^0.0.25"
21
21
  },
22
22
  "dependencies": {
23
- "@xube/kit-aws": "^0.0.24",
24
- "@xube/kit-aws-hooks": "^0.0.24",
25
- "@xube/kit-aws-infrastructure": "^0.0.24",
26
- "@xube/kit-constants": "^0.0.24",
27
- "@xube/kit-log": "^0.0.24",
23
+ "@xube/kit-aws": "^0.0.25",
24
+ "@xube/kit-aws-hooks": "^0.0.25",
25
+ "@xube/kit-aws-infrastructure": "^0.0.25",
26
+ "@xube/kit-constants": "^0.0.25",
27
+ "@xube/kit-log": "^0.0.25",
28
28
  "aws-cdk-lib": "^2.100.0",
29
29
  "aws-lambda": "^1.0.7",
30
30
  "constructs": "^10.3.0"
@@ -0,0 +1,11 @@
1
+ import { APIGatewayProxyResult, APIGatewayProxyWithCognitoAuthorizerEvent } from "aws-lambda";
2
+
3
+ export const handler = async (
4
+ event: APIGatewayProxyWithCognitoAuthorizerEvent
5
+ ): Promise<APIGatewayProxyResult> => {
6
+
7
+ return {
8
+ body: "Hello World",
9
+ statusCode: 200
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ import { APIGatewayProxyResult, APIGatewayProxyWithCognitoAuthorizerEvent } from "aws-lambda";
2
+
3
+ export const handler = async (
4
+ event: APIGatewayProxyWithCognitoAuthorizerEvent
5
+ ): Promise<APIGatewayProxyResult> => {
6
+
7
+ return {
8
+ body: "Hello World",
9
+ statusCode: 200
10
+ }
11
+ }