@teamkeel/client-react-query 0.363.0 → 0.363.1

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 +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamkeel/client-react-query",
3
- "version": "0.363.0",
3
+ "version": "0.363.1",
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
@@ -17,8 +17,11 @@ Export `useKeelQuery` and `useKeelMutation` by passing in a `useKeel` hook based
17
17
  ```ts
18
18
  // Follow @teamtkeel/client-react setup instructions
19
19
  import { APIClient } from "../keelClient";
20
- export const { KeelProvider, useKeel } = keel(APIClient);
20
+ import { keel } from "@teamkeel/client-react";
21
+
22
+ import { keelQuery } from "@teamkeel/client-react-query";
21
23
 
24
+ export const { KeelProvider, useKeel } = keel(APIClient);
22
25
  export const { useKeelQuery, useKeelMutation } = keelQuery(useKeel);
23
26
 
24
27
  ```