@ventlio/tanstack-query 0.2.35 → 0.2.36

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/README.md +2 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -54,14 +54,8 @@ import { TanstackQueryConfig } from '@ventlio/tanstack-query';
54
54
  const queryClient = new QueryClient();
55
55
 
56
56
  // do this before adding the queryClient to QueryClientProvider
57
- queryClient.setQueryData <
58
- TanstackQueryConfig >
59
- (['config'],
60
- {
61
- headers: {
62
- Authorization: `Bearer Hello`,
63
- },
64
- });
57
+ bootstrapQueryRequest(queryClient);
58
+
65
59
  ```
66
60
 
67
61
  You can now use it in a QueryClientProvider
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ventlio/tanstack-query",
3
- "version": "0.2.35",
3
+ "version": "0.2.36",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "contributors": [