@tanstack/react-query-persist-client 5.0.0-alpha.71 → 5.0.0-alpha.81

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": "5.0.0-alpha.71",
3
+ "version": "5.0.0-alpha.81",
4
4
  "description": "React bindings to work with persisters in TanStack/react-query",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -29,17 +29,17 @@
29
29
  "src"
30
30
  ],
31
31
  "dependencies": {
32
- "@tanstack/query-persist-client-core": "5.0.0-alpha.70"
32
+ "@tanstack/query-persist-client-core": "5.0.0-alpha.81"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/react": "^18.2.4",
36
36
  "@types/react-dom": "^18.2.4",
37
37
  "react": "^18.2.0",
38
38
  "react-dom": "^18.2.0",
39
- "@tanstack/react-query": "5.0.0-alpha.71"
39
+ "@tanstack/react-query": "5.0.0-alpha.81"
40
40
  },
41
41
  "peerDependencies": {
42
- "@tanstack/react-query": "5.0.0-alpha.71"
42
+ "@tanstack/react-query": "5.0.0-alpha.81"
43
43
  },
44
44
  "scripts": {
45
45
  "clean": "rimraf ./build && rimraf ./coverage",
@@ -339,7 +339,7 @@ describe('PersistQueryClientProvider', () => {
339
339
  await waitFor(() => rendered.getByText('data: null'))
340
340
  await waitFor(() => rendered.getByText('data: hydrated'))
341
341
 
342
- expect(states).toHaveLength(3)
342
+ expect(states).toHaveLength(2)
343
343
 
344
344
  expect(fetched).toBe(false)
345
345
 
@@ -354,9 +354,6 @@ describe('PersistQueryClientProvider', () => {
354
354
  fetchStatus: 'idle',
355
355
  data: 'hydrated',
356
356
  })
357
-
358
- // #5443 seems like we get an extra render now ...
359
- expect(states[1]).toStrictEqual(states[2])
360
357
  })
361
358
 
362
359
  test('should call onSuccess after successful restoring', async () => {