@h3ravel/shared 0.13.0 → 0.14.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @h3ravel/shared
2
2
 
3
+ ## 0.14.0
4
+
5
+ ### Minor Changes
6
+
7
+ - feat: add app to HttpContext interface
8
+
3
9
  ## 0.13.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.cts CHANGED
@@ -304,6 +304,7 @@ interface IRouter {
304
304
  middleware(path: string | IMiddleware[], handler: Middleware, opts?: MiddlewareOptions): this;
305
305
  }
306
306
  interface HttpContext {
307
+ app: IApplication;
307
308
  request: IRequest;
308
309
  response: IResponse;
309
310
  }
package/dist/index.d.ts CHANGED
@@ -304,6 +304,7 @@ interface IRouter {
304
304
  middleware(path: string | IMiddleware[], handler: Middleware, opts?: MiddlewareOptions): this;
305
305
  }
306
306
  interface HttpContext {
307
+ app: IApplication;
307
308
  request: IRequest;
308
309
  response: IResponse;
309
310
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h3ravel/shared",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "Shared Utilities.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -111,6 +111,7 @@ export interface IRouter {
111
111
  }
112
112
 
113
113
  export interface HttpContext {
114
+ app: IApplication
114
115
  request: IRequest
115
116
  response: IResponse
116
117
  }