lambda-router
Advanced tools
Comparing version 3.0.0-3 to 3.0.0-4
import type { APIGatewayProxyEventV2, APIGatewayProxyEvent } from 'aws-lambda'; | ||
declare const CUSTOM_RESPONSE: unique symbol; | ||
interface RequestHeaders { | ||
[key: string]: string | undefined; | ||
} | ||
interface ResponseHeaders { | ||
[key: string]: string | boolean | number; | ||
} | ||
export interface BodyResponse { | ||
[key: string]: unknown; | ||
} | ||
declare type RequestHeaders = Record<string, string | undefined>; | ||
declare type ResponseHeaders = Record<string, string | boolean | number>; | ||
export declare type BodyResponse = Record<string, unknown>; | ||
export interface Response { | ||
@@ -13,0 +7,0 @@ statusCode: number; |
{ | ||
"name": "lambda-router", | ||
"version": "3.0.0-3", | ||
"version": "3.0.0-4", | ||
"description": "A router to simplify AWS Lambda Functions.", | ||
@@ -5,0 +5,0 @@ "main": "lib/main.js", |
40467
447