@trackunit/react-graphql-hooks 1.6.35 → 1.6.37
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/index.cjs.js +1 -2
- package/index.esm.js +1 -2
- package/package.json +5 -5
package/index.cjs.js
CHANGED
|
@@ -209,7 +209,7 @@ const usePaginationQuery = (document, { ...props }) => {
|
|
|
209
209
|
const fetchMoreVariables = {
|
|
210
210
|
...internalProps.variables,
|
|
211
211
|
...(internalProps.variables && "page" in internalProps.variables && "pageSize" in internalProps.variables
|
|
212
|
-
?
|
|
212
|
+
?
|
|
213
213
|
{
|
|
214
214
|
pageSize: variables.first,
|
|
215
215
|
page: Number(variables.after) || 0,
|
|
@@ -228,7 +228,6 @@ const usePaginationQuery = (document, { ...props }) => {
|
|
|
228
228
|
? undefined
|
|
229
229
|
: prev;
|
|
230
230
|
}
|
|
231
|
-
// eslint-disable-next-line local-rules/no-typescript-assertion
|
|
232
231
|
return undefined;
|
|
233
232
|
}
|
|
234
233
|
// Safely handle Apollo types
|
package/index.esm.js
CHANGED
|
@@ -188,7 +188,7 @@ const usePaginationQuery = (document, { ...props }) => {
|
|
|
188
188
|
const fetchMoreVariables = {
|
|
189
189
|
...internalProps.variables,
|
|
190
190
|
...(internalProps.variables && "page" in internalProps.variables && "pageSize" in internalProps.variables
|
|
191
|
-
?
|
|
191
|
+
?
|
|
192
192
|
{
|
|
193
193
|
pageSize: variables.first,
|
|
194
194
|
page: Number(variables.after) || 0,
|
|
@@ -207,7 +207,6 @@ const usePaginationQuery = (document, { ...props }) => {
|
|
|
207
207
|
? undefined
|
|
208
208
|
: prev;
|
|
209
209
|
}
|
|
210
|
-
// eslint-disable-next-line local-rules/no-typescript-assertion
|
|
211
210
|
return undefined;
|
|
212
211
|
}
|
|
213
212
|
// Safely handle Apollo types
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-graphql-hooks",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.37",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
"@apollo/client": "3.13.8",
|
|
11
11
|
"react": "19.0.0",
|
|
12
12
|
"lodash": "4.17.21",
|
|
13
|
-
"@trackunit/i18n-library-translation": "1.6.
|
|
14
|
-
"@trackunit/shared-utils": "1.8.
|
|
15
|
-
"@trackunit/react-table-pagination": "1.6.
|
|
16
|
-
"@trackunit/react-test-setup": "1.3.
|
|
13
|
+
"@trackunit/i18n-library-translation": "1.6.30",
|
|
14
|
+
"@trackunit/shared-utils": "1.8.27",
|
|
15
|
+
"@trackunit/react-table-pagination": "1.6.26",
|
|
16
|
+
"@trackunit/react-test-setup": "1.3.27"
|
|
17
17
|
},
|
|
18
18
|
"module": "./index.esm.js",
|
|
19
19
|
"main": "./index.cjs.js",
|