better-call 1.0.0-beta.3 → 1.0.0-beta.4

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/README.md CHANGED
@@ -1,18 +1,16 @@
1
- # better-call
1
+ # Better Call
2
2
 
3
3
  Better call is a tiny web framework for creating endpoints that can be invoked as a normal function or mounted to a router to be served by any web standard compatible server (like Bun, node, nextjs, sveltekit...) and also includes a typed RPC client for typesafe client-side invocation of these endpoints.
4
4
 
5
5
  Built for typescript and it comes with a very high performance router based on [rou3](https://github.com/unjs/rou3).
6
6
 
7
- > ⚠️ This project in development and not ready for production use. But feel free to try it out and give feedback.
8
-
9
7
  ## Install
10
8
 
11
9
  ```bash
12
10
  pnpm i better-call
13
11
  ```
14
12
 
15
- make sure to install zod if you haven't
13
+ Make sure to install [standard schema](https://github.com/standard-schema/standard-schema) compatible validation library like zod.
16
14
 
17
15
  ```bash
18
16
  pnpm i zod
package/dist/client.d.cts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { BetterFetchOption, BetterFetchResponse } from '@better-fetch/fetch';
2
- import { j as Router, U as UnionToIntersection, b as Endpoint, N as HasRequiredKeys } from './router-DNpkEV0c.cjs';
3
- import '@standard-schema/spec';
2
+ import { j as Router, U as UnionToIntersection, b as Endpoint, N as HasRequiredKeys } from './router-CyNMWgsC.cjs';
4
3
 
5
4
  type HasRequired<T extends {
6
5
  body?: any;
package/dist/client.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { BetterFetchOption, BetterFetchResponse } from '@better-fetch/fetch';
2
- import { j as Router, U as UnionToIntersection, b as Endpoint, N as HasRequiredKeys } from './router-DNpkEV0c.js';
3
- import '@standard-schema/spec';
2
+ import { j as Router, U as UnionToIntersection, b as Endpoint, N as HasRequiredKeys } from './router-CyNMWgsC.js';
4
3
 
5
4
  type HasRequired<T extends {
6
5
  body?: any;