@tanstack/solid-query-persist-client 5.30.1 → 5.30.2

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-persist-client",
3
- "version": "5.30.1",
3
+ "version": "5.30.2",
4
4
  "description": "Solid.js bindings to work with persisters in TanStack/solid-query",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -53,7 +53,7 @@
53
53
  },
54
54
  "peerDependencies": {
55
55
  "solid-js": "^1.6.0",
56
- "@tanstack/solid-query": "5.30.1"
56
+ "@tanstack/solid-query": "5.30.2"
57
57
  },
58
58
  "scripts": {
59
59
  "clean": "rimraf ./build && rimraf ./coverage",
@@ -557,7 +557,7 @@ describe('PersistQueryClientProvider', () => {
557
557
  expect(queryFn2).toHaveBeenCalledTimes(1)
558
558
  expect(onSuccess).toHaveBeenCalledTimes(1)
559
559
 
560
- expect(states).toHaveLength(4)
560
+ expect(states).toHaveLength(3)
561
561
 
562
562
  expect(states[0]).toMatchObject({
563
563
  status: 'pending',
@@ -566,18 +566,12 @@ describe('PersistQueryClientProvider', () => {
566
566
  })
567
567
 
568
568
  expect(states[1]).toMatchObject({
569
- status: 'pending',
570
- fetchStatus: 'idle',
571
- data: undefined,
572
- })
573
-
574
- expect(states[2]).toMatchObject({
575
569
  status: 'success',
576
570
  fetchStatus: 'fetching',
577
571
  data: 'hydrated',
578
572
  })
579
573
 
580
- expect(states[3]).toMatchObject({
574
+ expect(states[2]).toMatchObject({
581
575
  status: 'success',
582
576
  fetchStatus: 'idle',
583
577
  data: 'queryFn2',