@tanstack/solid-query 5.56.1 → 5.59.0

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/solid-query",
3
- "version": "5.56.1",
3
+ "version": "5.59.0",
4
4
  "description": "Primitives for managing, caching and syncing asynchronous and remote data in Solid",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -44,7 +44,7 @@
44
44
  "src"
45
45
  ],
46
46
  "dependencies": {
47
- "@tanstack/query-core": "5.56.1"
47
+ "@tanstack/query-core": "5.59.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "solid-js": "^1.8.19",
@@ -120,6 +120,7 @@ describe('useInfiniteQuery', () => {
120
120
  refetch: expect.any(Function),
121
121
  status: 'pending',
122
122
  fetchStatus: 'fetching',
123
+ promise: expect.any(Promise),
123
124
  })
124
125
 
125
126
  expect(states[1]).toEqual({
@@ -155,6 +156,7 @@ describe('useInfiniteQuery', () => {
155
156
  refetch: expect.any(Function),
156
157
  status: 'success',
157
158
  fetchStatus: 'idle',
159
+ promise: expect.any(Promise),
158
160
  })
159
161
  })
160
162
 
@@ -304,6 +304,7 @@ describe('createQuery', () => {
304
304
  refetch: expect.any(Function),
305
305
  status: 'pending',
306
306
  fetchStatus: 'fetching',
307
+ promise: expect.any(Promise),
307
308
  })
308
309
 
309
310
  expect(states[1]).toEqual({
@@ -331,6 +332,7 @@ describe('createQuery', () => {
331
332
  refetch: expect.any(Function),
332
333
  status: 'success',
333
334
  fetchStatus: 'idle',
335
+ promise: expect.any(Promise),
334
336
  })
335
337
  })
336
338
 
@@ -393,6 +395,7 @@ describe('createQuery', () => {
393
395
  refetch: expect.any(Function),
394
396
  status: 'pending',
395
397
  fetchStatus: 'fetching',
398
+ promise: expect.any(Promise),
396
399
  })
397
400
 
398
401
  expect(states[1]).toEqual({
@@ -420,6 +423,7 @@ describe('createQuery', () => {
420
423
  refetch: expect.any(Function),
421
424
  status: 'pending',
422
425
  fetchStatus: 'fetching',
426
+ promise: expect.any(Promise),
423
427
  })
424
428
 
425
429
  expect(states[2]).toEqual({
@@ -447,6 +451,7 @@ describe('createQuery', () => {
447
451
  refetch: expect.any(Function),
448
452
  status: 'error',
449
453
  fetchStatus: 'idle',
454
+ promise: expect.any(Promise),
450
455
  })
451
456
  })
452
457