@tanstack/vue-query 5.0.0-beta.17 → 5.0.0-beta.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/vue-query",
3
- "version": "5.0.0-beta.17",
3
+ "version": "5.0.0-beta.18",
4
4
  "description": "Hooks for managing, caching and syncing asynchronous and remote data in Vue",
5
5
  "author": "Damian Osipiuk",
6
6
  "license": "MIT",
@@ -49,7 +49,7 @@
49
49
  "@tanstack/match-sorter-utils": "^8.8.4",
50
50
  "@vue/devtools-api": "^6.5.0",
51
51
  "vue-demi": "^0.13.11",
52
- "@tanstack/query-core": "5.0.0-beta.15"
52
+ "@tanstack/query-core": "5.0.0-beta.18"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@vue/composition-api": "1.7.1",
@@ -259,11 +259,11 @@ describe('QueryCache', () => {
259
259
 
260
260
  queryClient.fetchInfiniteQuery({
261
261
  queryKey: queryKeyRef,
262
- defaultPageParam: 0,
262
+ initialPageParam: 0,
263
263
  })
264
264
 
265
265
  expect(QueryClientOrigin.prototype.fetchInfiniteQuery).toBeCalledWith({
266
- defaultPageParam: 0,
266
+ initialPageParam: 0,
267
267
  queryKey: queryKeyUnref,
268
268
  })
269
269
  })
@@ -276,11 +276,11 @@ describe('QueryCache', () => {
276
276
  queryClient.prefetchInfiniteQuery({
277
277
  queryKey: queryKeyRef,
278
278
  queryFn: fn,
279
- defaultPageParam: 0,
279
+ initialPageParam: 0,
280
280
  })
281
281
 
282
282
  expect(QueryClientOrigin.prototype.prefetchInfiniteQuery).toBeCalledWith({
283
- defaultPageParam: 0,
283
+ initialPageParam: 0,
284
284
  queryKey: queryKeyUnref,
285
285
  queryFn: fn,
286
286
  })
@@ -9,7 +9,7 @@ describe('useQuery', () => {
9
9
  const { data, fetchNextPage, status } = useInfiniteQuery({
10
10
  queryKey: ['infiniteQuery'],
11
11
  queryFn: infiniteFetcher,
12
- defaultPageParam: 0,
12
+ initialPageParam: 0,
13
13
  getNextPageParam: () => 12,
14
14
  })
15
15
 
@@ -12,7 +12,7 @@ describe('Discriminated union return type', () => {
12
12
  queryKey: ['infiniteQuery'],
13
13
  queryFn: simpleFetcher,
14
14
  getNextPageParam: () => undefined,
15
- defaultPageParam: 0,
15
+ initialPageParam: 0,
16
16
  }),
17
17
  )
18
18
 
@@ -31,7 +31,7 @@ describe('Discriminated union return type', () => {
31
31
  queryKey: ['infiniteQuery'],
32
32
  queryFn: simpleFetcher,
33
33
  getNextPageParam: () => undefined,
34
- defaultPageParam: 0,
34
+ initialPageParam: 0,
35
35
  }),
36
36
  )
37
37
 
@@ -53,7 +53,7 @@ describe('Discriminated union return type', () => {
53
53
  queryKey: ['infiniteQuery'],
54
54
  queryFn: simpleFetcher,
55
55
  getNextPageParam: () => undefined,
56
- defaultPageParam: 0,
56
+ initialPageParam: 0,
57
57
  }),
58
58
  )
59
59
 
@@ -72,7 +72,7 @@ describe('Discriminated union return type', () => {
72
72
  queryKey: ['infiniteQuery'],
73
73
  queryFn: simpleFetcher,
74
74
  getNextPageParam: () => undefined,
75
- defaultPageParam: 0,
75
+ initialPageParam: 0,
76
76
  }),
77
77
  )
78
78
 
@@ -91,7 +91,7 @@ describe('Discriminated union return type', () => {
91
91
  queryKey: ['infiniteQuery'],
92
92
  queryFn: simpleFetcher,
93
93
  getNextPageParam: () => undefined,
94
- defaultPageParam: 0,
94
+ initialPageParam: 0,
95
95
  }),
96
96
  )
97
97