better-call 1.0.23 → 1.0.24

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-B4CojZF8.cjs";
1
+ import { Router } from "./router-BFJOSfmb.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-ChUeaXgp.js";
1
+ import { Router } from "./router-D0KeMgM6.js";
2
2
  import { IncomingMessage, ServerResponse } from "node:http";
3
3
 
4
4
  //#region src/adapters/node/request.d.ts
@@ -1102,7 +1102,6 @@ type StrictEndpoint<Path extends string, Options extends EndpointOptions, R = an
1102
1102
  response: Awaited<R>;
1103
1103
  }>;
1104
1104
  (context?: InputContext<Path, Options>): Promise<R>;
1105
- wrap: <T>(fn: (context: EndpointContext<Path, Options>, original: (context: EndpointContext<Path, Options>) => Promise<any>) => T) => StrictEndpoint<Path, Options, Promise<T>>;
1106
1105
  options: Options;
1107
1106
  path: Path;
1108
1107
  };
@@ -1184,4 +1183,4 @@ declare const createRouter: <E extends Record<string, Endpoint>, Config extends
1184
1183
  type Router = ReturnType<typeof createRouter>;
1185
1184
  //#endregion
1186
1185
  export { APIError, CookieOptions, CookiePrefixOptions, Endpoint, 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 };
1187
- //# sourceMappingURL=router-ChUeaXgp.d.ts.map
1186
+ //# sourceMappingURL=router-BFJOSfmb.d.cts.map
@@ -1102,7 +1102,6 @@ type StrictEndpoint<Path extends string, Options extends EndpointOptions, R = an
1102
1102
  response: Awaited<R>;
1103
1103
  }>;
1104
1104
  (context?: InputContext<Path, Options>): Promise<R>;
1105
- wrap: <T>(fn: (context: EndpointContext<Path, Options>, original: (context: EndpointContext<Path, Options>) => Promise<any>) => T) => StrictEndpoint<Path, Options, Promise<T>>;
1106
1105
  options: Options;
1107
1106
  path: Path;
1108
1107
  };
@@ -1184,4 +1183,4 @@ declare const createRouter: <E extends Record<string, Endpoint>, Config extends
1184
1183
  type Router = ReturnType<typeof createRouter>;
1185
1184
  //#endregion
1186
1185
  export { APIError, CookieOptions, CookiePrefixOptions, Endpoint, 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 };
1187
- //# sourceMappingURL=router-B4CojZF8.d.cts.map
1186
+ //# sourceMappingURL=router-D0KeMgM6.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-call",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",