@middy/http-event-normalizer 7.1.2 → 7.1.4

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/README.md CHANGED
@@ -30,10 +30,23 @@
30
30
  <p>You can read the documentation at: <a href="https://middy.js.org/docs/middlewares/http-event-normalizer">https://middy.js.org/docs/middlewares/http-event-normalizer</a></p>
31
31
  </div>
32
32
 
33
- ## License
33
+ ## Install
34
+
35
+ ```bash
36
+ npm install --save @middy/http-event-normalizer
37
+ ```
38
+
39
+
40
+ ## Documentation and examples
41
+
42
+ For documentation and examples, refer to the main [Middy monorepo on GitHub](https://github.com/middyjs/middy) or [Middy official website](https://middy.js.org/docs/middlewares/http-event-normalizer).
34
43
 
35
- Licensed under [MIT License](LICENSE). Copyright (c) 2017-2026 [will Farrell](https://github.com/willfarrell), [Luciano Mammino](https://github.com/lmammino), and [Middy contributors](https://github.com/middyjs/middy/graphs/contributors).
36
44
 
37
- <a href="https://app.fossa.io/projects/git%2Bgithub.com%2Fmiddyjs%2Fmiddy?ref=badge_large">
38
- <img src="https://app.fossa.io/api/projects/git%2Bgithub.com%2Fmiddyjs%2Fmiddy.svg?type=large" alt="FOSSA Status" style="max-width:100%;">
39
- </a>
45
+ ## Contributing
46
+
47
+ Everyone is very welcome to contribute to this repository. Feel free to [raise issues](https://github.com/middyjs/middy/issues) or to [submit Pull Requests](https://github.com/middyjs/middy/pulls).
48
+
49
+
50
+ ## License
51
+
52
+ Licensed under [MIT License](LICENSE). Copyright (c) 2017-2026 [will Farrell](https://github.com/willfarrell), [Luciano Mammino](https://github.com/lmammino), and [Middy contributors](https://github.com/middyjs/middy/graphs/contributors).
package/index.d.ts CHANGED
@@ -28,6 +28,10 @@ export type Event = APIGatewayEvent & {
28
28
  queryStringParameters: APIGatewayProxyEventQueryStringParameters;
29
29
  };
30
30
 
31
- declare function httpEventNormalizer(): middy.MiddlewareObj<Event>;
31
+ declare function httpEventNormalizer(): middy.MiddlewareObj<
32
+ Event,
33
+ unknown,
34
+ Error
35
+ >;
32
36
 
33
37
  export default httpEventNormalizer;
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // Copyright 2017 - 2026 will Farrell, Luciano Mammino, and Middy contributors.
2
2
  // SPDX-License-Identifier: MIT
3
3
  const httpEventNormalizerMiddleware = () => {
4
- const httpEventNormalizerMiddlewareBefore = async (request) => {
4
+ const httpEventNormalizerMiddlewareBefore = (request) => {
5
5
  const { event } = request;
6
6
 
7
7
  const version = pickVersion(event);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@middy/http-event-normalizer",
3
- "version": "7.1.2",
3
+ "version": "7.1.4",
4
4
  "description": "HTTP event normalizer middleware for the middy framework",
5
5
  "type": "module",
6
6
  "engines": {
@@ -64,9 +64,9 @@
64
64
  "type": "github",
65
65
  "url": "https://github.com/sponsors/willfarrell"
66
66
  },
67
- "gitHead": "7a6c0fbb8ab71d6a2171e678697de9f237568431",
68
67
  "devDependencies": {
69
- "@middy/core": "7.1.2",
70
- "@types/aws-lambda": "^8.0.0"
68
+ "@middy/core": "7.1.4",
69
+ "@types/aws-lambda": "^8.0.0",
70
+ "@types/node": "^22.0.0"
71
71
  }
72
72
  }