@kizunajs/fetch 2.0.0-beta.13 → 2.0.0-beta.15

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,6 +1,6 @@
1
1
  # @kizunajs/fetch
2
2
 
3
- `@kizunajs/fetch` is the typed client for your routes, a wrapper around the native `fetch` API. It runs anywhere `fetch` does, React Native included.
3
+ `@kizunajs/fetch` writes a typed client for your routes, a wrapper around the native `fetch` API. The client runs anywhere `fetch` does, React Native included, and imports nothing, so the app that calls your API installs nothing.
4
4
 
5
5
  ## Installation
6
6
 
@@ -13,7 +13,7 @@ pnpm add @kizunajs/fetch
13
13
  Add `fetchClient` to your config and run `kizuna generate`:
14
14
 
15
15
  ```ts
16
- import { fetchClient } from '@kizunajs/fetch/server';
16
+ import { fetchClient } from '@kizunajs/fetch';
17
17
 
18
18
  export default defineConfig({
19
19
  adapter: expressAdapter(),