@middy/core 2.5.2 → 2.5.3

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/index.d.ts +1 -1
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -6,7 +6,7 @@ import {
6
6
 
7
7
  declare type PluginHook = () => void
8
8
  declare type PluginHookWithMiddlewareName = (middlewareName: string) => void
9
- declare type PluginHookPromise = (request: Request) => Promise<any>
9
+ declare type PluginHookPromise = (request: Request) => Promise<unknown> | unknown
10
10
 
11
11
  interface PluginObject {
12
12
  beforePrefetch?: PluginHook
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@middy/core",
3
- "version": "2.5.2",
3
+ "version": "2.5.3",
4
4
  "description": "🛵 The stylish Node.js middleware engine for AWS Lambda (core package)",
5
5
  "type": "commonjs",
6
6
  "engines": {
@@ -45,5 +45,5 @@
45
45
  "@types/aws-lambda": "^8.10.76",
46
46
  "@types/node": "^16.0.0"
47
47
  },
48
- "gitHead": "a2bb757a7a13638ae64277f8eecfcf11c1af17d4"
48
+ "gitHead": "690884d43b9cd632aeca9a5eba1612160b987cd4"
49
49
  }