@art-ws/http-server 2.0.5 → 2.0.6

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.
@@ -1,3 +1,4 @@
1
+ export declare const REQUEST_ID = "REQUEST_ID";
1
2
  export declare const REQUEST = "REQUEST";
2
3
  export declare const RESPONSE = "RESPONSE";
3
4
  export declare const CONTEXT = "CONTEXT";
@@ -1,3 +1,4 @@
1
+ export const REQUEST_ID = "REQUEST_ID";
1
2
  export const REQUEST = "REQUEST";
2
3
  export const RESPONSE = "RESPONSE";
3
4
  export const CONTEXT = "CONTEXT";
@@ -16,4 +16,5 @@ export interface HttpContext<Req = unknown, Res = unknown, Server = unknown> {
16
16
  req: HttpRequest<Req>;
17
17
  res: HttpResponse<Res>;
18
18
  server: HttpServer<Server>;
19
+ promise: Promise<unknown>;
19
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@art-ws/http-server",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "HTTP Server",
5
5
  "license": "UNLICENSED",
6
6
  "author": "art-ws.com Dev Team",
@@ -13,8 +13,8 @@
13
13
  "devDependencies": {
14
14
  "eslint": "^9.34.0",
15
15
  "typescript": "^5.9.2",
16
- "@art-ws/config-ts": "2.0.6",
17
- "@art-ws/config-eslint": "2.0.3"
16
+ "@art-ws/config-eslint": "2.0.3",
17
+ "@art-ws/config-ts": "2.0.6"
18
18
  },
19
19
  "scripts": {
20
20
  "build": "tsc",