better-call 1.0.9 → 1.0.11

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,5 +1,5 @@
1
1
  import { IncomingMessage, ServerResponse } from 'node:http';
2
- import { j as Router } from './router-Bn_wF2y_.cjs';
2
+ import { j as Router } from './router-BEp4ze3Q.cjs';
3
3
 
4
4
  declare function getRequest({ request, base, bodySizeLimit, }: {
5
5
  base: string;
package/dist/node.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { IncomingMessage, ServerResponse } from 'node:http';
2
- import { j as Router } from './router-Bn_wF2y_.js';
2
+ import { j as Router } from './router-BEp4ze3Q.js';
3
3
 
4
4
  declare function getRequest({ request, base, bodySizeLimit, }: {
5
5
  base: string;
@@ -688,6 +688,10 @@ interface EndpointOptions {
688
688
  * Clone the request object from the router
689
689
  */
690
690
  cloneRequest?: boolean;
691
+ /**
692
+ * If true the body will be undefined
693
+ */
694
+ disableBody?: boolean;
691
695
  /**
692
696
  * Endpoint metadata
693
697
  */
@@ -688,6 +688,10 @@ interface EndpointOptions {
688
688
  * Clone the request object from the router
689
689
  */
690
690
  cloneRequest?: boolean;
691
+ /**
692
+ * If true the body will be undefined
693
+ */
694
+ disableBody?: boolean;
691
695
  /**
692
696
  * Endpoint metadata
693
697
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-call",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",