better-call 1.0.25 → 1.0.26

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/dist/node.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { Router } from "./router-DeSuoHCx.cjs";
1
+ import { Router } from "./router-CeSGPJlX.cjs";
2
2
  import { IncomingMessage, ServerResponse } from "node:http";
3
3
 
4
4
  //#region src/adapters/node/request.d.ts
package/dist/node.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Router } from "./router-DRUBbubk.js";
1
+ import { Router } from "./router-BH6Wndse.js";
2
2
  import { IncomingMessage, ServerResponse } from "node:http";
3
3
 
4
4
  //#region src/adapters/node/request.d.ts
@@ -322,6 +322,7 @@ type InputContext<Path extends string, Options extends EndpointOptions> = InferB
322
322
  returnHeaders?: boolean;
323
323
  returnStatus?: boolean;
324
324
  use?: Middleware[];
325
+ path?: string;
325
326
  };
326
327
  declare const createInternalContext: (context: InputContext<any, any>, {
327
328
  options,
@@ -1259,4 +1260,4 @@ declare const createRouter: <E extends Record<string, Endpoint>, Config extends
1259
1260
  type Router = ReturnType<typeof createRouter>;
1260
1261
  //#endregion
1261
1262
  export { APIError, BetterCallError, CookieOptions, CookiePrefixOptions, Endpoint, EndpointBaseOptions, EndpointBodyMethodOptions, EndpointContext, EndpointOptions, HTTPMethod, HasRequiredKeys, InferBody, InferBodyInput, InferHeaders, InferHeadersInput, InferInputMethod, InferMethod, InferMiddlewareBody, InferMiddlewareQuery, InferParam, InferParamInput, InferParamPath, InferParamWildCard, InferQuery, InferQueryInput, InferRequest, InferRequestInput, InferUse, InputContext, IsEmptyObject, MergeObject, Method, Middleware, MiddlewareContext, MiddlewareInputContext, MiddlewareOptions, MiddlewareResponse, OpenAPIParameter, OpenAPISchemaType, Path$1 as Path, Prettify, RequiredKeysOf, Router, RouterConfig, StandardSchemaV1, Status, StrictEndpoint, UnionToIntersection, _statusCode, createEndpoint, createInternalContext, createMiddleware, createRouter, generator, getCookieKey, getHTML, hideInternalStackFrames, makeErrorForHideStackFrame, parseCookies, serializeCookie, serializeSignedCookie };
1262
- //# sourceMappingURL=router-DRUBbubk.d.ts.map
1263
+ //# sourceMappingURL=router-BH6Wndse.d.ts.map
@@ -322,6 +322,7 @@ type InputContext<Path extends string, Options extends EndpointOptions> = InferB
322
322
  returnHeaders?: boolean;
323
323
  returnStatus?: boolean;
324
324
  use?: Middleware[];
325
+ path?: string;
325
326
  };
326
327
  declare const createInternalContext: (context: InputContext<any, any>, {
327
328
  options,
@@ -1259,4 +1260,4 @@ declare const createRouter: <E extends Record<string, Endpoint>, Config extends
1259
1260
  type Router = ReturnType<typeof createRouter>;
1260
1261
  //#endregion
1261
1262
  export { APIError, BetterCallError, CookieOptions, CookiePrefixOptions, Endpoint, EndpointBaseOptions, EndpointBodyMethodOptions, EndpointContext, EndpointOptions, HTTPMethod, HasRequiredKeys, InferBody, InferBodyInput, InferHeaders, InferHeadersInput, InferInputMethod, InferMethod, InferMiddlewareBody, InferMiddlewareQuery, InferParam, InferParamInput, InferParamPath, InferParamWildCard, InferQuery, InferQueryInput, InferRequest, InferRequestInput, InferUse, InputContext, IsEmptyObject, MergeObject, Method, Middleware, MiddlewareContext, MiddlewareInputContext, MiddlewareOptions, MiddlewareResponse, OpenAPIParameter, OpenAPISchemaType, Path$1 as Path, Prettify, RequiredKeysOf, Router, RouterConfig, StandardSchemaV1, Status, StrictEndpoint, UnionToIntersection, _statusCode, createEndpoint, createInternalContext, createMiddleware, createRouter, generator, getCookieKey, getHTML, hideInternalStackFrames, makeErrorForHideStackFrame, parseCookies, serializeCookie, serializeSignedCookie };
1262
- //# sourceMappingURL=router-DeSuoHCx.d.cts.map
1263
+ //# sourceMappingURL=router-CeSGPJlX.d.cts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-call",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",