diesel-core 2.0.2 → 2.0.3

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/dist/types.d.ts CHANGED
@@ -2,7 +2,6 @@ import { Server } from "bun";
2
2
  import { Router } from "./router/interface";
3
3
  import Diesel from "./main";
4
4
  import type { Context } from "./ctx";
5
- export type { Context };
6
5
  export type ContextType = Context;
7
6
  export type { Diesel };
8
7
  export type listenCalllBackType = () => void;
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export * from './dist/types';
2
2
 
3
3
  export { default as Diesel } from './dist/main';
4
- export { default as Context } from './dist/ctx';
4
+ export { Context } from './dist/ctx';
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import Diesel from './dist/main.js'
2
+ import { Context } from './dist/ctx.js'
2
3
 
3
-
4
- export {Diesel}
4
+ export { Diesel, Context }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "diesel-core",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Web framework built on Web Standards",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",