barejs 0.1.23 → 0.1.26

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.
@@ -2,7 +2,7 @@ export { BareJS } from './bare';
2
2
  export interface BarePlugin {
3
3
  install: (app: any) => void;
4
4
  }
5
- export type { Middleware, Handler, Next, WSHandlers, Context } from './context';
5
+ export type { Middleware, Handler, Next, WSHandlers, Context, Params } from './context';
6
6
  export { typebox, native, zod } from './validators';
7
7
  export { logger } from './logger';
8
8
  export { cors } from './cors';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barejs",
3
- "version": "0.1.23",
3
+ "version": "0.1.26",
4
4
  "author": "xarhang",
5
5
  "description": "High-performance JIT-specialized web framework for Bun",
6
6
  "main": "./dist/index.js",
package/src/index.ts CHANGED
@@ -1,5 +1,3 @@
1
- // All comments in English
2
-
3
1
  // Core Class & Plugin Interface
4
2
  export { BareJS } from './bare';
5
3
  // export type { BarePlugin } from './bare';
@@ -13,7 +11,8 @@ export type {
13
11
  Handler,
14
12
  Next,
15
13
  WSHandlers ,
16
- Context
14
+ Context,
15
+ Params
17
16
  } from './context';
18
17
 
19
18
  // Validation Middlewares