@spytecgps/lambda-utils 2.3.27 → 2.3.28

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +2 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -82,3 +82,5 @@ export interface SpytecAuthContextV4 {
82
82
  principalId: string;
83
83
  scope?: string;
84
84
  }
85
+ export type BaseAPIGatewayEventV4 = Omit<APIGatewayProxyEventBase<SpytecAuthContextV4>, 'pathParameters' | 'queryStringParameters' | 'body'>;
86
+ export type UserAPIHandlerV4<TEvent = APIGatewayProxyWithLambdaAuthorizerEvent<SpytecAuthContextV4>, TResult = any> = (event: TEvent, context: APIGatewayEventRequestContext, callback: Callback<TResult>) => void | Promise<TResult>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spytecgps/lambda-utils",
3
- "version": "2.3.27",
3
+ "version": "2.3.28",
4
4
  "description": "Lambda Utils",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",