@webtypen/webframez-core 0.0.58 → 0.0.59

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.
@@ -11,4 +11,5 @@ export type Request = {
11
11
  url: string;
12
12
  method: string;
13
13
  on?: any;
14
+ request?: any;
14
15
  };
@@ -267,6 +267,7 @@ class RouterFacade {
267
267
  headers: customRequest.headers,
268
268
  method: customRequest.method,
269
269
  on: req ? req.on : undefined,
270
+ request: req,
270
271
  }
271
272
  : req
272
273
  ? {
@@ -289,6 +290,7 @@ class RouterFacade {
289
290
  method: req.method,
290
291
  socket: req.socket,
291
292
  on: req.on,
293
+ request: req,
292
294
  }
293
295
  : null;
294
296
  // Check-Middleware
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webtypen/webframez-core",
3
- "version": "0.0.58",
3
+ "version": "0.0.59",
4
4
  "description": "The core package of the typescript based webframez (web-framework) by webtypen.de",
5
5
  "homepage": "https://webtypen.de/",
6
6
  "license": "MIT",
@@ -11,4 +11,5 @@ export type Request = {
11
11
  url: string;
12
12
  method: string;
13
13
  on?: any;
14
+ request?: any;
14
15
  };
@@ -306,6 +306,7 @@ class RouterFacade {
306
306
  headers: customRequest.headers,
307
307
  method: customRequest.method,
308
308
  on: req ? req.on : undefined,
309
+ request: req,
309
310
  }
310
311
  : req
311
312
  ? {
@@ -329,6 +330,7 @@ class RouterFacade {
329
330
  method: req.method,
330
331
  socket: req.socket,
331
332
  on: req.on,
333
+ request: req,
332
334
  }
333
335
  : null;
334
336