better-call 1.0.25 → 1.0.26-beta.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.
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/{router-DRUBbubk.d.ts → router-BH6Wndse.d.ts} +2 -1
- package/dist/{router-DeSuoHCx.d.cts → router-CeSGPJlX.d.cts} +2 -1
- package/package.json +1 -1
package/dist/node.d.cts
CHANGED
package/dist/node.d.ts
CHANGED
|
@@ -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-
|
|
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-
|
|
1263
|
+
//# sourceMappingURL=router-CeSGPJlX.d.cts.map
|