Skip to content

Commit ff4f496

Browse files
authored
revert: rollback ALB addition
1 parent 08a60d3 commit ff4f496

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

index.d.ts

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import {
2-
ALBEvent,
3-
ALBEventRequestContext,
42
APIGatewayEventRequestContext,
53
APIGatewayProxyEvent,
64
APIGatewayProxyEventV2,
@@ -165,7 +163,7 @@ export declare class Request {
165163
body: any;
166164
rawBody: string;
167165
route: '';
168-
requestContext: APIGatewayEventRequestContext | ALBEventRequestContext;
166+
requestContext: APIGatewayEventRequestContext;
169167
isBase64Encoded: boolean;
170168
pathParameters: { [name: string]: string } | null;
171169
stageVariables: { [name: string]: string } | null;
@@ -345,12 +343,12 @@ export declare class API {
345343
finally(callback: FinallyFunction): void;
346344

347345
run(
348-
event: APIGatewayProxyEvent | APIGatewayProxyEventV2 | ALBEvent,
346+
event: APIGatewayProxyEvent | APIGatewayProxyEventV2,
349347
context: Context,
350348
cb: (err: Error, result: any) => void
351349
): void;
352350
run(
353-
event: APIGatewayProxyEvent | APIGatewayProxyEventV2 | ALBEvent,
351+
event: APIGatewayProxyEvent | APIGatewayProxyEventV2,
354352
context: Context
355353
): Promise<any>;
356354
}

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lambda-api",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "Lightweight web framework for your serverless applications",
55
"main": "index.js",
66
"types": "index.d.ts",

0 commit comments

Comments
 (0)