@contractkit/plugin-typescript 0.25.1 → 0.25.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractkit/plugin-typescript",
3
- "version": "0.25.1",
3
+ "version": "0.25.3",
4
4
  "description": "ContractKit built-in plugin: TypeScript codegen (SDK clients, Koa routers, Zod schemas, plain types)",
5
5
  "author": {
6
6
  "name": "Marooned Software",
@@ -26,7 +26,7 @@
26
26
  ".": "./dist/index.js"
27
27
  },
28
28
  "dependencies": {
29
- "@contractkit/core": "0.19.0"
29
+ "@contractkit/core": "0.20.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@repo/config-typescript": "0.1.0",
@@ -354,8 +354,6 @@ function generateHandler(route: OpRouteNode, op: OpOperationNode, root: OpRootNo
354
354
  lines.push(` ctx.body = ${hasRespHeaders ? 'result.body' : 'result'};`);
355
355
  }
356
356
 
357
- lines.push('');
358
- lines.push(` await next();`);
359
357
  lines.push(`});`);
360
358
 
361
359
  return lines;