better-call 1.1.0 → 1.1.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 +1 -2
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/index.cjs +32 -1701
- 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 +26 -1693
- package/dist/index.js.map +1 -1
- package/dist/node.cjs +29 -2
- package/dist/node.cjs.map +1 -1
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/{router-DxkLDx_d.d.cts → router.d.cts} +4 -4
- package/dist/{router-DgnLO11b.d.ts → router.d.ts} +4 -4
- package/package.json +10 -3
- package/dist/chunk-CUT6urMc.cjs +0 -30
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as statusCodes, A as InferMiddlewareQuery, B as createInternalContext, C as InferBody, D as InferInputMethod, E as InferHeadersInput, F as InferRequest, G as parseCookies, H as CookieOptions, I as InferRequestInput, J as APIError, K as serializeCookie, L as InferUse, M as InferParamInput, N as InferQuery, O as InferMethod, P as InferQueryInput, Q as makeErrorForHideStackFrame, R as InputContext, S as HTTPMethod, T as InferHeaders, U as CookiePrefixOptions, V as StandardSchemaV1, W as getCookieKey, X as Status, Y as BetterCallError, Z as hideInternalStackFrames, _ as MiddlewareContext, a as EndpointBaseOptions, at as Prettify, b as MiddlewareResponse, c as EndpointOptions, d as OpenAPIParameter, et as HasRequiredKeys, f as OpenAPISchemaType, g as Middleware, h as getHTML, i as Endpoint, it as MergeObject, j as InferParam, k as InferMiddlewareBody, l as StrictEndpoint, m as generator, n as RouterConfig, nt as InferParamWildCard, o as EndpointBodyMethodOptions, ot as RequiredKeysOf, p as Path, q as serializeSignedCookie, r as createRouter, rt as IsEmptyObject, s as EndpointContext, st as UnionToIntersection, t as Router, tt as InferParamPath, u as createEndpoint, v as MiddlewareInputContext, w as InferBodyInput, x as createMiddleware, y as MiddlewareOptions, z as Method } from "./router.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/to-response.d.ts
|
|
4
4
|
type JSONResponse = {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as statusCodes, A as InferMiddlewareQuery, B as createInternalContext, C as InferBody, D as InferInputMethod, E as InferHeadersInput, F as InferRequest, G as parseCookies, H as CookieOptions, I as InferRequestInput, J as APIError, K as serializeCookie, L as InferUse, M as InferParamInput, N as InferQuery, O as InferMethod, P as InferQueryInput, Q as makeErrorForHideStackFrame, R as InputContext, S as HTTPMethod, T as InferHeaders, U as CookiePrefixOptions, V as StandardSchemaV1, W as getCookieKey, X as Status, Y as BetterCallError, Z as hideInternalStackFrames, _ as MiddlewareContext, a as EndpointBaseOptions, at as Prettify, b as MiddlewareResponse, c as EndpointOptions, d as OpenAPIParameter, et as HasRequiredKeys, f as OpenAPISchemaType, g as Middleware, h as getHTML, i as Endpoint, it as MergeObject, j as InferParam, k as InferMiddlewareBody, l as StrictEndpoint, m as generator, n as RouterConfig, nt as InferParamWildCard, o as EndpointBodyMethodOptions, ot as RequiredKeysOf, p as Path, q as serializeSignedCookie, r as createRouter, rt as IsEmptyObject, s as EndpointContext, st as UnionToIntersection, t as Router, tt as InferParamPath, u as createEndpoint, v as MiddlewareInputContext, w as InferBodyInput, x as createMiddleware, y as MiddlewareOptions, z as Method } from "./router.js";
|
|
2
2
|
|
|
3
3
|
//#region src/to-response.d.ts
|
|
4
4
|
type JSONResponse = {
|