@dnax/core 0.63.11 → 0.63.13

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/index.ts +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.63.11",
3
+ "version": "0.63.13",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {
package/types/index.ts CHANGED
@@ -628,7 +628,7 @@ export type routeOption = {
628
628
  }) => any;
629
629
  };
630
630
 
631
- export type serveStatic = (cf: { root: string }) => void;
631
+ export type serveStatic = (cf: { root: string }) => any;
632
632
  export type endpointCtx = {
633
633
  enabled: boolean;
634
634
  handler: (ctx: {
@@ -636,10 +636,10 @@ export type endpointCtx = {
636
636
  rest: InstanceType<typeof useRest>;
637
637
  io: socketIoType;
638
638
  router: {
639
- post: (path: string, clb: (c: Context) => void) => {};
639
+ post: (path: string, clb: (c: Context) => any) => {};
640
640
  get: (
641
641
  path: string,
642
- clb: (c: Context, serveStatic: serveStatic) => void
642
+ clb: (c: Context, serveStatic: serveStatic) => any
643
643
  ) => {};
644
644
  };
645
645
  }) => any;