better-call 1.0.23 → 1.0.24

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 CHANGED
@@ -1,4 +1,4 @@
1
- import { Endpoint, HasRequiredKeys, Router, UnionToIntersection } from "./router-B4CojZF8.cjs";
1
+ import { Endpoint, HasRequiredKeys, Router, UnionToIntersection } from "./router-BFJOSfmb.cjs";
2
2
  import { BetterFetchOption, BetterFetchResponse } from "@better-fetch/fetch";
3
3
 
4
4
  //#region src/client.d.ts
package/dist/client.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Endpoint, HasRequiredKeys, Router, UnionToIntersection } from "./router-ChUeaXgp.js";
1
+ import { Endpoint, HasRequiredKeys, Router, UnionToIntersection } from "./router-D0KeMgM6.js";
2
2
  import { BetterFetchOption, BetterFetchResponse } from "@better-fetch/fetch";
3
3
 
4
4
  //#region src/client.d.ts
package/dist/index.cjs CHANGED
@@ -555,12 +555,6 @@ const createEndpoint = (path, options, handler) => {
555
555
  response
556
556
  } : response;
557
557
  };
558
- internalHandler.wrap = (fn) => {
559
- const wrappedFn = async (context) => {
560
- return fn(context, handler);
561
- };
562
- return createEndpoint(path, options, wrappedFn);
563
- };
564
558
  internalHandler.options = options;
565
559
  internalHandler.path = path;
566
560
  return internalHandler;