@teamkeel/client-react-query 0.368.3 → 0.369.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/readme.md +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamkeel/client-react-query",
3
- "version": "0.368.3",
3
+ "version": "0.369.0",
4
4
  "description": "Typed React-Query Hooks for Keel clients",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/readme.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # @teamkeel/client-react-query
2
2
 
3
- Typed React-Query Hook from a generated Keel client
3
+ Create fully typed React-Query hooks from a generated Keel client.
4
4
 
5
5
  ## Install
6
6
 
7
- N.B. Requires `@teamtkeel/client-react` to be installed and setup first.
7
+ N.B. Requires [`@teamtkeel/client-react`](https://www.npmjs.com/package/@teamkeel/client-react) to be installed and setup first.
8
8
 
9
9
  ```
10
10
  npm i @teamkeel/client-react-query
@@ -12,7 +12,7 @@ npm i @teamkeel/client-react-query
12
12
 
13
13
  ## Usage
14
14
 
15
- Export `useKeelQuery` and `useKeelMutation` by passing in a `useKeel` hook based on your api client.
15
+ Create and export the `useKeelQuery` and `useKeelMutation` hooks by passing in a `useKeel` hook generated by the `client-react` package.
16
16
 
17
17
  ```ts
18
18
  // Follow @teamtkeel/client-react setup instructions