better-call 1.0.23 → 1.0.25-beta.2
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.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +0 -6
- 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 +0 -6
- package/dist/index.js.map +1 -1
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/{router-ChUeaXgp.d.ts → router-BFJOSfmb.d.cts} +1 -2
- package/dist/{router-B4CojZF8.d.cts → router-D0KeMgM6.d.ts} +1 -2
- package/package.json +1 -1
package/dist/node.d.cts
CHANGED
package/dist/node.d.ts
CHANGED
|
@@ -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-
|
|
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-
|
|
1186
|
+
//# sourceMappingURL=router-D0KeMgM6.d.ts.map
|