better-call 1.1.0-beta.1 → 1.1.0

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-DguGh6Qa.cjs";
1
+ import { Router } from "./router-DxkLDx_d.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-EvGJRGFD.js";
1
+ import { Router } from "./router-DgnLO11b.js";
2
2
  import { IncomingMessage, ServerResponse } from "node:http";
3
3
 
4
4
  //#region src/adapters/node/request.d.ts
@@ -934,6 +934,11 @@ interface EndpointBaseOptions {
934
934
  * @deprecated Use path-less endpoints instead
935
935
  */
936
936
  SERVER_ONLY?: boolean;
937
+ /**
938
+ * If enabled, endpoint won't be exposed as an action to the client
939
+ * @deprecated Use path-less endpoints instead
940
+ */
941
+ isAction?: boolean;
937
942
  /**
938
943
  * Defines the places where the endpoint will be available
939
944
  *
@@ -1305,4 +1310,4 @@ declare const createRouter: <E extends Record<string, Endpoint>, Config extends
1305
1310
  type Router = ReturnType<typeof createRouter>;
1306
1311
  //#endregion
1307
1312
  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, createEndpoint, createInternalContext, createMiddleware, createRouter, generator, getCookieKey, getHTML, hideInternalStackFrames, makeErrorForHideStackFrame, parseCookies, serializeCookie, serializeSignedCookie, statusCodes };
1308
- //# sourceMappingURL=router-DguGh6Qa.d.cts.map
1313
+ //# sourceMappingURL=router-DgnLO11b.d.ts.map
@@ -934,6 +934,11 @@ interface EndpointBaseOptions {
934
934
  * @deprecated Use path-less endpoints instead
935
935
  */
936
936
  SERVER_ONLY?: boolean;
937
+ /**
938
+ * If enabled, endpoint won't be exposed as an action to the client
939
+ * @deprecated Use path-less endpoints instead
940
+ */
941
+ isAction?: boolean;
937
942
  /**
938
943
  * Defines the places where the endpoint will be available
939
944
  *
@@ -1305,4 +1310,4 @@ declare const createRouter: <E extends Record<string, Endpoint>, Config extends
1305
1310
  type Router = ReturnType<typeof createRouter>;
1306
1311
  //#endregion
1307
1312
  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, createEndpoint, createInternalContext, createMiddleware, createRouter, generator, getCookieKey, getHTML, hideInternalStackFrames, makeErrorForHideStackFrame, parseCookies, serializeCookie, serializeSignedCookie, statusCodes };
1308
- //# sourceMappingURL=router-EvGJRGFD.d.ts.map
1313
+ //# sourceMappingURL=router-DxkLDx_d.d.cts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-call",
3
- "version": "1.1.0-beta.1",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",