@tramvai/react-query 2.7.1 → 2.10.2
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 +3 -3
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -50,10 +50,10 @@ Component.actions = [query.prefetchAction()];
|
|
|
50
50
|
Return a tramvai action that can be used to fetch current query
|
|
51
51
|
|
|
52
52
|
```ts
|
|
53
|
-
const action =
|
|
53
|
+
const action = declareAction({
|
|
54
54
|
name: 'action',
|
|
55
|
-
|
|
56
|
-
const result = await
|
|
55
|
+
async fn() {
|
|
56
|
+
const result = await this.executeAction(query.fetchAction());
|
|
57
57
|
|
|
58
58
|
console.log('__action__', result);
|
|
59
59
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/react-query",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@tinkoff/react-hooks": "0.0.27",
|
|
22
|
-
"@tramvai/core": "2.
|
|
23
|
-
"@tramvai/module-react-query": "2.
|
|
24
|
-
"@tramvai/state": "2.
|
|
22
|
+
"@tramvai/core": "2.10.2",
|
|
23
|
+
"@tramvai/module-react-query": "2.10.2",
|
|
24
|
+
"@tramvai/state": "2.10.2"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@tinkoff/dippy": "0.7.
|
|
27
|
+
"@tinkoff/dippy": "0.7.45",
|
|
28
28
|
"@tinkoff/utils": "^2.1.2",
|
|
29
29
|
"react": ">=16.14.0",
|
|
30
30
|
"react-query": "^3.35.0",
|