@cumulusds/aws-apig-bypass 2.0.0-mflambda.1.g6c2a1d9 → 2.0.0
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.
package/lib/create-client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { LambdaInvoke } from "./lambda-invoke";
|
|
1
|
+
import { APIGatewayEvent } from "aws-lambda";
|
|
3
2
|
import type { Response } from "./response";
|
|
3
|
+
import type { LambdaInvoke } from "./lambda-invoke";
|
|
4
4
|
/**
|
|
5
5
|
* Client that directly invokes an API Gateway handler, bypassing the gateway. The client handles packing and unpacking messages for invoking the handler.
|
|
6
6
|
*/
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import
|
|
9
|
-
import type { LambdaInvoke } from "./lambda-invoke";
|
|
8
|
+
import { APIGatewayEvent } from "aws-lambda";
|
|
10
9
|
import type { Response } from "./response";
|
|
10
|
+
import type { LambdaInvoke } from "./lambda-invoke";
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Client that directly invokes an API Gateway handler, bypassing the gateway. The client handles packing and unpacking messages for invoking the handler.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { InvocationResponse } from "@aws-sdk/client-lambda";
|
|
2
2
|
import type { LambdaInvoke } from "./lambda-invoke";
|
|
3
3
|
type _Blob = Buffer | Uint8Array | Blob | string;
|
|
4
4
|
type LambdaClientType = (event: _Blob) => Promise<string>;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import
|
|
8
|
+
import { InvocationResponse } from "@aws-sdk/client-lambda";
|
|
9
9
|
import type { LambdaInvoke } from "./lambda-invoke";
|
|
10
10
|
declare type _Blob = Buffer | Uint8Array | Blob | string;
|
|
11
11
|
declare type LambdaClientType = (event: _Blob) => Promise<string>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cumulusds/aws-apig-bypass",
|
|
3
|
-
"version": "2.0.0
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Client for API Gateway handlers, bypassing API Gateway by directly invoking the Lambda",
|
|
5
5
|
"repository": "https://github.com/CumulusDS/aws-apig-bypass",
|
|
6
6
|
"author": "Cumulus Digital Systems",
|
|
@@ -63,7 +63,8 @@
|
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@aws-sdk/client-lambda": "^3.806.0"
|
|
66
|
+
"@aws-sdk/client-lambda": "^3.806.0",
|
|
67
|
+
"aws-lambda": "^1.0.7"
|
|
67
68
|
},
|
|
68
69
|
"devDependencies": {
|
|
69
70
|
"@babel/cli": "^7.24.7",
|
|
@@ -74,9 +75,8 @@
|
|
|
74
75
|
"@babel/preset-typescript": "^7.24.7",
|
|
75
76
|
"@types/aws-lambda": "^8.10.145",
|
|
76
77
|
"@types/jest": "^29.5.13",
|
|
77
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
78
|
-
"@typescript-eslint/parser": "^8.
|
|
79
|
-
"aws-lambda": "^1.0.7",
|
|
78
|
+
"@typescript-eslint/eslint-plugin": "^8.7.0",
|
|
79
|
+
"@typescript-eslint/parser": "^8.7.0",
|
|
80
80
|
"babel-eslint": "^10.1.0",
|
|
81
81
|
"babel-jest": "^29.7.0",
|
|
82
82
|
"eslint": "^8.57.1",
|
|
@@ -93,6 +93,5 @@
|
|
|
93
93
|
"shx": "^0.3.2",
|
|
94
94
|
"typescript": "^5.6.2"
|
|
95
95
|
},
|
|
96
|
-
"packageManager": "yarn@3.5.0"
|
|
97
|
-
"stableVersion": "2.0.0"
|
|
96
|
+
"packageManager": "yarn@3.5.0"
|
|
98
97
|
}
|