Skip to content

Commit

Permalink
revert: rollback ALB addition
Browse files Browse the repository at this point in the history
  • Loading branch information
naorpeled authored Feb 6, 2025
1 parent 08a60d3 commit ff4f496
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import {
ALBEvent,
ALBEventRequestContext,
APIGatewayEventRequestContext,
APIGatewayProxyEvent,
APIGatewayProxyEventV2,
Expand Down Expand Up @@ -165,7 +163,7 @@ export declare class Request {
body: any;
rawBody: string;
route: '';
requestContext: APIGatewayEventRequestContext | ALBEventRequestContext;
requestContext: APIGatewayEventRequestContext;
isBase64Encoded: boolean;
pathParameters: { [name: string]: string } | null;
stageVariables: { [name: string]: string } | null;
Expand Down Expand Up @@ -345,12 +343,12 @@ export declare class API {
finally(callback: FinallyFunction): void;

run(
event: APIGatewayProxyEvent | APIGatewayProxyEventV2 | ALBEvent,
event: APIGatewayProxyEvent | APIGatewayProxyEventV2,
context: Context,
cb: (err: Error, result: any) => void
): void;
run(
event: APIGatewayProxyEvent | APIGatewayProxyEventV2 | ALBEvent,
event: APIGatewayProxyEvent | APIGatewayProxyEventV2,
context: Context
): Promise<any>;
}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lambda-api",
"version": "1.1.1",
"version": "1.1.2",
"description": "Lightweight web framework for your serverless applications",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit ff4f496

Please sign in to comment.