@middy/core 5.0.3 → 5.1.0
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.
- package/index.d.ts +1 -0
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ export interface MiddlewareObj<
|
|
|
56
56
|
before?: MiddlewareFn<TEvent, TResult, TErr, TContext, TInternal>
|
|
57
57
|
after?: MiddlewareFn<TEvent, TResult, TErr, TContext, TInternal>
|
|
58
58
|
onError?: MiddlewareFn<TEvent, TResult, TErr, TContext, TInternal>
|
|
59
|
+
name?: string
|
|
59
60
|
}
|
|
60
61
|
|
|
61
62
|
// The AWS provided Handler type uses void | Promise<TResult> so we have no choice but to follow and suppress the linter warning
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@middy/core",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "🛵 The stylish Node.js middleware engine for AWS Lambda (core package)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@types/aws-lambda": "^8.10.76",
|
|
60
60
|
"@types/node": "^20.0.0"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "bbdaf5843914921804ba085dd58117273febe6b5",
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@datastream/core": "0.0.35"
|
|
65
65
|
}
|