@tanstack/query-persist-client-core 5.51.1 → 5.51.4

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/query-persist-client-core",
3
- "version": "5.51.1",
3
+ "version": "5.51.4",
4
4
  "description": "Set of utilities for interacting with persisters, which can save your queryClient for later use",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -37,7 +37,7 @@
37
37
  "src"
38
38
  ],
39
39
  "dependencies": {
40
- "@tanstack/query-core": "5.51.1"
40
+ "@tanstack/query-core": "5.51.4"
41
41
  },
42
42
  "scripts": {}
43
43
  }
@@ -13,7 +13,7 @@ export function sleep(timeout: number): Promise<void> {
13
13
  })
14
14
  }
15
15
 
16
- export const createMockPersister = (): Persister => {
16
+ export function createMockPersister(): Persister {
17
17
  let storedState: PersistedClient | undefined
18
18
 
19
19
  return {
@@ -30,7 +30,7 @@ export const createMockPersister = (): Persister => {
30
30
  }
31
31
  }
32
32
 
33
- export const createSpyPersister = (): Persister => {
33
+ export function createSpyPersister(): Persister {
34
34
  return {
35
35
  persistClient: vi.fn(),
36
36
  restoreClient: vi.fn(),