@belmonddev/catch-request-express-middleware 1.2.4 → 1.2.5

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 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -132,6 +132,7 @@ const callResponseCb = (responseCb, res) => {
132
132
 
133
133
  const callReceivedCbs = (req, res, requestReceivedCb) => {
134
134
  const responseCb = requestReceivedCb({
135
+ originalRequest: req,
135
136
  headers: req.headers,
136
137
  method: req.method,
137
138
  host: req.headers.host,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@belmonddev/catch-request-express-middleware",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "start": "nodemon -L --experimental-specifier-resolution=node ./src/index.js"