@dnax/core 0.8.17 → 0.8.18

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/app/hono.ts CHANGED
@@ -547,6 +547,7 @@ function HonoInstance(): typeof app {
547
547
  Cfg?.endpoints?.map((e) => {
548
548
  if (e?.enabled) {
549
549
  e.handler({
550
+ io: Cfg.io,
550
551
  router: app,
551
552
  });
552
553
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.8.17",
3
+ "version": "0.8.18",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {
package/types/index.ts CHANGED
@@ -425,6 +425,7 @@ export type Q = {
425
425
  export type endpointCtx = {
426
426
  enabled: boolean;
427
427
  handler: (ctx: {
428
+ io: Io;
428
429
  router: {
429
430
  post: (path: string, clb: (c: Context) => void) => {};
430
431
  get: (path: string, clb: (c: Context) => void) => {};