File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 "@rollup/plugin-commonjs" : " ^22.0.2" ,
2828 "@rollup/plugin-node-resolve" : " ^13.2.1" ,
2929 "@rollup/plugin-replace" : " ^4.0.0" ,
30- "@tanstack/react-query" : " ^5.0.0-beta.16 " ,
30+ "@tanstack/react-query" : " ^5.0.0-beta.20 " ,
3131 "@testing-library/jest-dom" : " ^5.16.5" ,
3232 "@testing-library/react" : " ^14.0.0" ,
3333 "@types/jest" : " ^28.1.6" ,
Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ export type InfiniteQueryHookOptions<
327327 | 'queryFn'
328328 | 'queryKeyHashFn'
329329 | 'enabled'
330- | 'defaultPageParam '
330+ | 'initialPageParam '
331331 | 'getPreviousPageParam'
332332 | 'getNextPageParam'
333333> &
@@ -399,7 +399,7 @@ export type SuspenseInfiniteQueryHookOptions<
399399 | 'queryFn'
400400 | 'queryKeyHashFn'
401401 | 'enabled'
402- | 'defaultPageParam '
402+ | 'initialPageParam '
403403 | 'getPreviousPageParam'
404404 | 'getNextPageParam'
405405 | 'suspense'
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ describe('createInfiniteQuery', () => {
1616 queryFn : ( ) => {
1717 return fetch ( `${ primaryKey } /${ variables . id } ` ) . then ( res => res . json ( ) )
1818 } ,
19- defaultPageParam : 1 ,
19+ initialPageParam : 1 ,
2020 getNextPageParam : lastPage => lastPage . nextCursor ,
2121 enabled : data => ! data ,
2222 } )
Original file line number Diff line number Diff line change 15381538 dependencies :
15391539 " @sinonjs/commons" " ^3.0.0"
15401540
1541- " @tanstack/query-core@5.0.0-beta.15 " :
1542- version "5.0.0-beta.15 "
1543- resolved "https://registry.yarnpkg.com/@tanstack/query-core/-/query-core-5.0.0-beta.15 .tgz#a689e5ac6e96acbccf3c4f2aeb1921b6cc16384b "
1544- integrity sha512-NaL5qp1K5IhnDD5wEegYpXB0OMPsb+QZNcGR5hWQaDS+30Ga8+zKpfjDn7wHlCKPO2mHCTRqUbQnLWIlt5FKoQ ==
1541+ " @tanstack/query-core@5.0.0-beta.20 " :
1542+ version "5.0.0-beta.20 "
1543+ resolved "https://registry.yarnpkg.com/@tanstack/query-core/-/query-core-5.0.0-beta.20 .tgz#0aad6d63ea7b407cf886117932b4ea5eb963701b "
1544+ integrity sha512-KTI6b4DLXq39n/VNLvWqxM0K/bmCyL5SvOfPGZ1cZGOvVfZxpo/81ZF9cuRDyPjInmzz8d8jUZOHZVJDKSDcvQ ==
15451545
1546- " @tanstack/react-query@^5.0.0-beta.16 " :
1547- version "5.0.0-beta.16 "
1548- resolved "https://registry.yarnpkg.com/@tanstack/react-query/-/react-query-5.0.0-beta.16 .tgz#09ead3a239ec55e380e14389b6e3d3b2e2e3f604 "
1549- integrity sha512-60/jq4W4A4kG4Yk18SjpXa3BnzIFCP3kt12u54Vtc/ul7ZIcs18Hvj02UVddfEWAw3rL3er8ez92pqaNYSVeBw ==
1546+ " @tanstack/react-query@^5.0.0-beta.20 " :
1547+ version "5.0.0-beta.20 "
1548+ resolved "https://registry.yarnpkg.com/@tanstack/react-query/-/react-query-5.0.0-beta.20 .tgz#d3828f9774b62f7b7e3be9da2917fe59d8488960 "
1549+ integrity sha512-L5YP1zwEMBwZJ/oCnFXLnb6S60srU7Oyj/oM5TVLcC/efdKpcdToMZTHA9Vjq3oFA9ysxFgrskkideIMa3fB4A ==
15501550 dependencies :
1551- " @tanstack/query-core" " 5.0.0-beta.15 "
1551+ " @tanstack/query-core" " 5.0.0-beta.20 "
15521552 client-only "0.0.1"
15531553
15541554" @testing-library/dom@^9.0.0 " :
You can’t perform that action at this time.
0 commit comments