@tanstack/react-query-persist-client 4.29.19 → 4.29.23

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/react-query-persist-client",
3
- "version": "4.29.19",
3
+ "version": "4.29.23",
4
4
  "description": "React bindings to work with persisters in TanStack/react-query",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -34,13 +34,13 @@
34
34
  "react-17": "npm:react@^17.0.2",
35
35
  "react-dom": "^18.2.0",
36
36
  "react-dom-17": "npm:react-dom@^17.0.2",
37
- "@tanstack/react-query": "4.29.19"
37
+ "@tanstack/react-query": "4.29.23"
38
38
  },
39
39
  "dependencies": {
40
- "@tanstack/query-persist-client-core": "4.29.19"
40
+ "@tanstack/query-persist-client-core": "4.29.23"
41
41
  },
42
42
  "peerDependencies": {
43
- "@tanstack/react-query": "4.29.19"
43
+ "@tanstack/react-query": "4.29.23"
44
44
  },
45
45
  "scripts": {
46
46
  "clean": "rimraf ./build",
@@ -325,7 +325,7 @@ describe('PersistQueryClientProvider', () => {
325
325
  await waitFor(() => rendered.getByText('data: null'))
326
326
  await waitFor(() => rendered.getByText('data: hydrated'))
327
327
 
328
- expect(states).toHaveLength(3)
328
+ expect(states).toHaveLength(2)
329
329
 
330
330
  expect(fetched).toBe(false)
331
331
 
@@ -340,9 +340,6 @@ describe('PersistQueryClientProvider', () => {
340
340
  fetchStatus: 'idle',
341
341
  data: 'hydrated',
342
342
  })
343
-
344
- // #5443 seems like we get an extra render now ...
345
- expect(states[1]).toStrictEqual(states[2])
346
343
  })
347
344
 
348
345
  test('should call onSuccess after successful restoring', async () => {