@tramvai/react-query 1.51.0 → 1.53.4
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/lib/index.es.js +4 -16
- package/lib/index.js +4 -16
- package/package.json +4 -4
package/lib/index.es.js
CHANGED
|
@@ -65,10 +65,7 @@ const createQuery = (queryParameters) => {
|
|
|
65
65
|
deps: {
|
|
66
66
|
queryClient: QUERY_CLIENT_TOKEN,
|
|
67
67
|
},
|
|
68
|
-
conditions
|
|
69
|
-
...conditions,
|
|
70
|
-
onlyServer: true,
|
|
71
|
-
},
|
|
68
|
+
conditions,
|
|
72
69
|
});
|
|
73
70
|
},
|
|
74
71
|
fetchAction: (options) => {
|
|
@@ -80,10 +77,7 @@ const createQuery = (queryParameters) => {
|
|
|
80
77
|
deps: {
|
|
81
78
|
queryClient: QUERY_CLIENT_TOKEN,
|
|
82
79
|
},
|
|
83
|
-
conditions
|
|
84
|
-
...conditions,
|
|
85
|
-
onlyServer: true,
|
|
86
|
-
},
|
|
80
|
+
conditions,
|
|
87
81
|
});
|
|
88
82
|
},
|
|
89
83
|
};
|
|
@@ -160,10 +154,7 @@ const createInfiniteQuery = (queryParameters) => {
|
|
|
160
154
|
deps: {
|
|
161
155
|
queryClient: QUERY_CLIENT_TOKEN,
|
|
162
156
|
},
|
|
163
|
-
conditions
|
|
164
|
-
...conditions,
|
|
165
|
-
onlyServer: true,
|
|
166
|
-
},
|
|
157
|
+
conditions,
|
|
167
158
|
});
|
|
168
159
|
},
|
|
169
160
|
fetchAction: (options) => {
|
|
@@ -175,10 +166,7 @@ const createInfiniteQuery = (queryParameters) => {
|
|
|
175
166
|
deps: {
|
|
176
167
|
queryClient: QUERY_CLIENT_TOKEN,
|
|
177
168
|
},
|
|
178
|
-
conditions
|
|
179
|
-
...conditions,
|
|
180
|
-
onlyServer: true,
|
|
181
|
-
},
|
|
169
|
+
conditions,
|
|
182
170
|
});
|
|
183
171
|
},
|
|
184
172
|
};
|
package/lib/index.js
CHANGED
|
@@ -74,10 +74,7 @@ const createQuery = (queryParameters) => {
|
|
|
74
74
|
deps: {
|
|
75
75
|
queryClient: moduleReactQuery.QUERY_CLIENT_TOKEN,
|
|
76
76
|
},
|
|
77
|
-
conditions
|
|
78
|
-
...conditions,
|
|
79
|
-
onlyServer: true,
|
|
80
|
-
},
|
|
77
|
+
conditions,
|
|
81
78
|
});
|
|
82
79
|
},
|
|
83
80
|
fetchAction: (options) => {
|
|
@@ -89,10 +86,7 @@ const createQuery = (queryParameters) => {
|
|
|
89
86
|
deps: {
|
|
90
87
|
queryClient: moduleReactQuery.QUERY_CLIENT_TOKEN,
|
|
91
88
|
},
|
|
92
|
-
conditions
|
|
93
|
-
...conditions,
|
|
94
|
-
onlyServer: true,
|
|
95
|
-
},
|
|
89
|
+
conditions,
|
|
96
90
|
});
|
|
97
91
|
},
|
|
98
92
|
};
|
|
@@ -169,10 +163,7 @@ const createInfiniteQuery = (queryParameters) => {
|
|
|
169
163
|
deps: {
|
|
170
164
|
queryClient: moduleReactQuery.QUERY_CLIENT_TOKEN,
|
|
171
165
|
},
|
|
172
|
-
conditions
|
|
173
|
-
...conditions,
|
|
174
|
-
onlyServer: true,
|
|
175
|
-
},
|
|
166
|
+
conditions,
|
|
176
167
|
});
|
|
177
168
|
},
|
|
178
169
|
fetchAction: (options) => {
|
|
@@ -184,10 +175,7 @@ const createInfiniteQuery = (queryParameters) => {
|
|
|
184
175
|
deps: {
|
|
185
176
|
queryClient: moduleReactQuery.QUERY_CLIENT_TOKEN,
|
|
186
177
|
},
|
|
187
|
-
conditions
|
|
188
|
-
...conditions,
|
|
189
|
-
onlyServer: true,
|
|
190
|
-
},
|
|
178
|
+
conditions,
|
|
191
179
|
});
|
|
192
180
|
},
|
|
193
181
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/react-query",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.53.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@tinkoff/react-hooks": "0.0.23",
|
|
22
|
-
"@tramvai/core": "1.
|
|
23
|
-
"@tramvai/module-react-query": "1.
|
|
24
|
-
"@tramvai/state": "1.
|
|
22
|
+
"@tramvai/core": "1.53.4",
|
|
23
|
+
"@tramvai/module-react-query": "1.53.4",
|
|
24
|
+
"@tramvai/state": "1.53.4"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@tinkoff/dippy": "0.7.36",
|