@gnosticdev/hono-actions 1.1.0 → 1.1.1

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/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2293,7 +2293,7 @@ import type { ExtractSchema, MergeSchemaPath } from 'hono/types'
2293
2293
  async function buildRouter(){
2294
2294
  type ActionSchema = ExtractSchema<typeof honoActions[keyof typeof honoActions]>
2295
2295
  const { honoActions} = await import('${relativeActionsPath}')
2296
- const app = new Hono<HonoEnv, MergeSchemaPath<ActionSchema, '${basePath}'>>().basePath('${basePath}')
2296
+ const app = new Hono<HonoEnv, MergeSchemaPath<ActionSchema, '${basePath}/keyof typeof honoActions'>>().basePath('${basePath}')
2297
2297
 
2298
2298
  app.use('*', cors(), logger(), prettyJSON())
2299
2299
 
package/package.json CHANGED
@@ -54,5 +54,5 @@
54
54
  },
55
55
  "type": "module",
56
56
  "types": "./dist/index.d.ts",
57
- "version": "1.1.0"
57
+ "version": "1.1.1"
58
58
  }