Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ff4f496

Browse files
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‎

Lines changed: 3 additions & 5 deletions
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‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /