@bepalo/spine 1.2.10 → 1.2.11

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.
@@ -146,10 +146,10 @@ const generateStaticRoutesImporter = (router_1, routesPath_1, ...args_1) => __aw
146
146
  }
147
147
  }
148
148
  return `// This is auto-generated for static importing of @bepalo/spine file-based routes
149
- import { Router, Handler, HandlerRegisterPiplineOptions, Pipeline } from '@bepalo/spine';
149
+ import { Router, Handler, HandlerRegisterPiplineOptions, Pipe } from '@bepalo/spine';
150
150
  ${imports}
151
151
  const getOptions = <ExtendContext extends Record<string, unknown>>(
152
- def: { pipe: Handler<ExtendContext> | Pipeline<ExtendContext> } & HandlerRegisterPiplineOptions,
152
+ def: { pipe: Handler<ExtendContext> | Pipe<ExtendContext> } & HandlerRegisterPiplineOptions,
153
153
  ) => {
154
154
  const { pipe, ...options } = def;
155
155
  return options;
package/dist/generator.js CHANGED
@@ -146,10 +146,10 @@ const generateStaticRoutesImporter = (router_1, routesPath_1, ...args_1) => __aw
146
146
  }
147
147
  }
148
148
  return `// This is auto-generated for static importing of @bepalo/spine file-based routes
149
- import { Router, Handler, HandlerRegisterPiplineOptions, Pipeline } from '@bepalo/spine';
149
+ import { Router, Handler, HandlerRegisterPiplineOptions, Pipe } from '@bepalo/spine';
150
150
  ${imports}
151
151
  const getOptions = <ExtendContext extends Record<string, unknown>>(
152
- def: { pipe: Handler<ExtendContext> | Pipeline<ExtendContext> } & HandlerRegisterPiplineOptions,
152
+ def: { pipe: Handler<ExtendContext> | Pipe<ExtendContext> } & HandlerRegisterPiplineOptions,
153
153
  ) => {
154
154
  const { pipe, ...options } = def;
155
155
  return options;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bepalo/spine",
3
- "version": "1.2.10",
3
+ "version": "1.2.11",
4
4
  "description": "A fast and feature-rich javascript-runtime-agnostic HTTP request router.",
5
5
  "author": "Natnael Eshetu",
6
6
  "license": "MIT",