@tanstack/react-query-persist-client 5.96.0 → 5.96.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.
@@ -2,7 +2,6 @@ import { AsyncStorage } from '@tanstack/query-persist-client-core';
2
2
  import { experimental_createQueryPersister } from '@tanstack/query-persist-client-core';
3
3
  import { MaybePromise } from '@tanstack/query-persist-client-core';
4
4
  import type { OmitKeyof } from '@tanstack/react-query';
5
- import { Options } from 'tsup';
6
5
  import { PersistedClient } from '@tanstack/query-persist-client-core';
7
6
  import { PersistedQuery } from '@tanstack/query-persist-client-core';
8
7
  import { PersistedQueryClientRestoreOptions } from '@tanstack/query-persist-client-core';
@@ -21,40 +20,13 @@ import type { QueryClientProviderProps } from '@tanstack/react-query';
21
20
  import * as React_2 from 'react';
22
21
  import { removeOldestQuery } from '@tanstack/query-persist-client-core';
23
22
  import { StoragePersisterOptions } from '@tanstack/query-persist-client-core';
24
- import { UserConfig } from 'vite';
25
23
 
26
24
  export { AsyncStorage }
27
25
 
28
- export declare const default_alias: any[];
29
-
30
- export declare const default_alias_1: any[];
31
-
32
- export declare const default_alias_2: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
33
-
34
- export declare const default_alias_3: UserConfig;
35
-
36
26
  export { experimental_createQueryPersister }
37
27
 
38
- /**
39
- * @param {Object} opts - Options for building configurations.
40
- * @param {string[]} opts.entry - The entry array.
41
- * @returns {import('tsup').Options}
42
- */
43
- export declare function legacyConfig(opts: {
44
- entry: string[];
45
- }): Options;
46
-
47
28
  export { MaybePromise }
48
29
 
49
- /**
50
- * @param {Object} opts - Options for building configurations.
51
- * @param {string[]} opts.entry - The entry array.
52
- * @returns {import('tsup').Options}
53
- */
54
- export declare function modernConfig(opts: {
55
- entry: string[];
56
- }): Options;
57
-
58
30
  export { PersistedClient }
59
31
 
60
32
  export { PersistedQuery }
@@ -2,7 +2,6 @@ import { AsyncStorage } from '@tanstack/query-persist-client-core';
2
2
  import { experimental_createQueryPersister } from '@tanstack/query-persist-client-core';
3
3
  import { MaybePromise } from '@tanstack/query-persist-client-core';
4
4
  import type { OmitKeyof } from '@tanstack/react-query';
5
- import { Options } from 'tsup';
6
5
  import { PersistedClient } from '@tanstack/query-persist-client-core';
7
6
  import { PersistedQuery } from '@tanstack/query-persist-client-core';
8
7
  import { PersistedQueryClientRestoreOptions } from '@tanstack/query-persist-client-core';
@@ -21,40 +20,13 @@ import type { QueryClientProviderProps } from '@tanstack/react-query';
21
20
  import * as React_2 from 'react';
22
21
  import { removeOldestQuery } from '@tanstack/query-persist-client-core';
23
22
  import { StoragePersisterOptions } from '@tanstack/query-persist-client-core';
24
- import { UserConfig } from 'vite';
25
23
 
26
24
  export { AsyncStorage }
27
25
 
28
- export declare const default_alias: any[];
29
-
30
- export declare const default_alias_1: any[];
31
-
32
- export declare const default_alias_2: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
33
-
34
- export declare const default_alias_3: UserConfig;
35
-
36
26
  export { experimental_createQueryPersister }
37
27
 
38
- /**
39
- * @param {Object} opts - Options for building configurations.
40
- * @param {string[]} opts.entry - The entry array.
41
- * @returns {import('tsup').Options}
42
- */
43
- export declare function legacyConfig(opts: {
44
- entry: string[];
45
- }): Options;
46
-
47
28
  export { MaybePromise }
48
29
 
49
- /**
50
- * @param {Object} opts - Options for building configurations.
51
- * @param {string[]} opts.entry - The entry array.
52
- * @returns {import('tsup').Options}
53
- */
54
- export declare function modernConfig(opts: {
55
- entry: string[];
56
- }): Options;
57
-
58
30
  export { PersistedClient }
59
31
 
60
32
  export { PersistedQuery }
@@ -2,7 +2,6 @@ import { AsyncStorage } from '@tanstack/query-persist-client-core';
2
2
  import { experimental_createQueryPersister } from '@tanstack/query-persist-client-core';
3
3
  import { MaybePromise } from '@tanstack/query-persist-client-core';
4
4
  import type { OmitKeyof } from '@tanstack/react-query';
5
- import { Options } from 'tsup';
6
5
  import { PersistedClient } from '@tanstack/query-persist-client-core';
7
6
  import { PersistedQuery } from '@tanstack/query-persist-client-core';
8
7
  import { PersistedQueryClientRestoreOptions } from '@tanstack/query-persist-client-core';
@@ -21,40 +20,13 @@ import type { QueryClientProviderProps } from '@tanstack/react-query';
21
20
  import * as React_2 from 'react';
22
21
  import { removeOldestQuery } from '@tanstack/query-persist-client-core';
23
22
  import { StoragePersisterOptions } from '@tanstack/query-persist-client-core';
24
- import { UserConfig } from 'vite';
25
23
 
26
24
  export { AsyncStorage }
27
25
 
28
- export declare const default_alias: any[];
29
-
30
- export declare const default_alias_1: any[];
31
-
32
- export declare const default_alias_2: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
33
-
34
- export declare const default_alias_3: UserConfig;
35
-
36
26
  export { experimental_createQueryPersister }
37
27
 
38
- /**
39
- * @param {Object} opts - Options for building configurations.
40
- * @param {string[]} opts.entry - The entry array.
41
- * @returns {import('tsup').Options}
42
- */
43
- export declare function legacyConfig(opts: {
44
- entry: string[];
45
- }): Options;
46
-
47
28
  export { MaybePromise }
48
29
 
49
- /**
50
- * @param {Object} opts - Options for building configurations.
51
- * @param {string[]} opts.entry - The entry array.
52
- * @returns {import('tsup').Options}
53
- */
54
- export declare function modernConfig(opts: {
55
- entry: string[];
56
- }): Options;
57
-
58
30
  export { PersistedClient }
59
31
 
60
32
  export { PersistedQuery }
@@ -2,7 +2,6 @@ import { AsyncStorage } from '@tanstack/query-persist-client-core';
2
2
  import { experimental_createQueryPersister } from '@tanstack/query-persist-client-core';
3
3
  import { MaybePromise } from '@tanstack/query-persist-client-core';
4
4
  import type { OmitKeyof } from '@tanstack/react-query';
5
- import { Options } from 'tsup';
6
5
  import { PersistedClient } from '@tanstack/query-persist-client-core';
7
6
  import { PersistedQuery } from '@tanstack/query-persist-client-core';
8
7
  import { PersistedQueryClientRestoreOptions } from '@tanstack/query-persist-client-core';
@@ -21,40 +20,13 @@ import type { QueryClientProviderProps } from '@tanstack/react-query';
21
20
  import * as React_2 from 'react';
22
21
  import { removeOldestQuery } from '@tanstack/query-persist-client-core';
23
22
  import { StoragePersisterOptions } from '@tanstack/query-persist-client-core';
24
- import { UserConfig } from 'vite';
25
23
 
26
24
  export { AsyncStorage }
27
25
 
28
- export declare const default_alias: any[];
29
-
30
- export declare const default_alias_1: any[];
31
-
32
- export declare const default_alias_2: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
33
-
34
- export declare const default_alias_3: UserConfig;
35
-
36
26
  export { experimental_createQueryPersister }
37
27
 
38
- /**
39
- * @param {Object} opts - Options for building configurations.
40
- * @param {string[]} opts.entry - The entry array.
41
- * @returns {import('tsup').Options}
42
- */
43
- export declare function legacyConfig(opts: {
44
- entry: string[];
45
- }): Options;
46
-
47
28
  export { MaybePromise }
48
29
 
49
- /**
50
- * @param {Object} opts - Options for building configurations.
51
- * @param {string[]} opts.entry - The entry array.
52
- * @returns {import('tsup').Options}
53
- */
54
- export declare function modernConfig(opts: {
55
- entry: string[];
56
- }): Options;
57
-
58
30
  export { PersistedClient }
59
31
 
60
32
  export { PersistedQuery }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/react-query-persist-client",
3
- "version": "5.96.0",
3
+ "version": "5.96.2",
4
4
  "description": "React bindings to work with persisters in TanStack/react-query",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -40,7 +40,7 @@
40
40
  "!src/__tests__"
41
41
  ],
42
42
  "dependencies": {
43
- "@tanstack/query-persist-client-core": "5.96.0"
43
+ "@tanstack/query-persist-client-core": "5.96.2"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@testing-library/react": "^16.1.0",
@@ -49,11 +49,11 @@
49
49
  "npm-run-all2": "^5.0.0",
50
50
  "react": "^19.2.1",
51
51
  "@tanstack/query-test-utils": "0.0.0",
52
- "@tanstack/react-query": "5.96.0"
52
+ "@tanstack/react-query": "5.96.2"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "react": "^18 || ^19",
56
- "@tanstack/react-query": "^5.96.0"
56
+ "@tanstack/react-query": "^5.96.2"
57
57
  },
58
58
  "scripts": {
59
59
  "clean": "premove ./build ./coverage ./dist-ts",