@middy/core 6.3.0 → 6.3.2

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.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -47,8 +47,8 @@ const middy = (setupLambdaHandler, pluginConfig) => {
47
47
  const middy = plugin.streamifyResponse
48
48
  ? awslambda.streamifyResponse(
49
49
  async (event, lambdaResponseStream, context) => {
50
- plugin.requestStart?.();
51
50
  const request = middyRequest(event, context);
51
+ plugin.requestStart?.(request);
52
52
  const handlerResponse = await runRequest(
53
53
  request,
54
54
  beforeMiddlewares,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@middy/core",
3
- "version": "6.3.0",
3
+ "version": "6.3.2",
4
4
  "description": "🛵 The stylish Node.js middleware engine for AWS Lambda (core package)",
5
5
  "type": "module",
6
6
  "engines": {