@tanstack/query-sync-storage-persister 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.
@@ -1,8 +1,6 @@
1
- import { Options } from 'tsup';
2
1
  import type { PersistedClient } from '@tanstack/query-persist-client-core';
3
2
  import type { Persister } from '@tanstack/query-persist-client-core';
4
3
  import type { PersistRetryer } from '@tanstack/query-persist-client-core';
5
- import { UserConfig } from 'vite';
6
4
 
7
5
  /**
8
6
  * @deprecated use `createAsyncStoragePersister` from `@tanstack/query-async-storage-persister` instead.
@@ -33,32 +31,6 @@ declare interface CreateSyncStoragePersisterOptions {
33
31
  retry?: PersistRetryer;
34
32
  }
35
33
 
36
- export declare const default_alias: any[];
37
-
38
- export declare const default_alias_1: any[];
39
-
40
- export declare const default_alias_2: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
41
-
42
- export declare const default_alias_3: UserConfig;
43
-
44
- /**
45
- * @param {Object} opts - Options for building configurations.
46
- * @param {string[]} opts.entry - The entry array.
47
- * @returns {import('tsup').Options}
48
- */
49
- export declare function legacyConfig(opts: {
50
- entry: string[];
51
- }): Options;
52
-
53
- /**
54
- * @param {Object} opts - Options for building configurations.
55
- * @param {string[]} opts.entry - The entry array.
56
- * @returns {import('tsup').Options}
57
- */
58
- export declare function modernConfig(opts: {
59
- entry: string[];
60
- }): Options;
61
-
62
34
  export declare function noop(): void;
63
35
 
64
36
  export declare function noop(): undefined;
@@ -1,8 +1,6 @@
1
- import { Options } from 'tsup';
2
1
  import type { PersistedClient } from '@tanstack/query-persist-client-core';
3
2
  import type { Persister } from '@tanstack/query-persist-client-core';
4
3
  import type { PersistRetryer } from '@tanstack/query-persist-client-core';
5
- import { UserConfig } from 'vite';
6
4
 
7
5
  /**
8
6
  * @deprecated use `createAsyncStoragePersister` from `@tanstack/query-async-storage-persister` instead.
@@ -33,32 +31,6 @@ declare interface CreateSyncStoragePersisterOptions {
33
31
  retry?: PersistRetryer;
34
32
  }
35
33
 
36
- export declare const default_alias: any[];
37
-
38
- export declare const default_alias_1: any[];
39
-
40
- export declare const default_alias_2: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
41
-
42
- export declare const default_alias_3: UserConfig;
43
-
44
- /**
45
- * @param {Object} opts - Options for building configurations.
46
- * @param {string[]} opts.entry - The entry array.
47
- * @returns {import('tsup').Options}
48
- */
49
- export declare function legacyConfig(opts: {
50
- entry: string[];
51
- }): Options;
52
-
53
- /**
54
- * @param {Object} opts - Options for building configurations.
55
- * @param {string[]} opts.entry - The entry array.
56
- * @returns {import('tsup').Options}
57
- */
58
- export declare function modernConfig(opts: {
59
- entry: string[];
60
- }): Options;
61
-
62
34
  export declare function noop(): void;
63
35
 
64
36
  export declare function noop(): undefined;
@@ -1,8 +1,6 @@
1
- import { Options } from 'tsup';
2
1
  import type { PersistedClient } from '@tanstack/query-persist-client-core';
3
2
  import type { Persister } from '@tanstack/query-persist-client-core';
4
3
  import type { PersistRetryer } from '@tanstack/query-persist-client-core';
5
- import { UserConfig } from 'vite';
6
4
 
7
5
  /**
8
6
  * @deprecated use `createAsyncStoragePersister` from `@tanstack/query-async-storage-persister` instead.
@@ -33,32 +31,6 @@ declare interface CreateSyncStoragePersisterOptions {
33
31
  retry?: PersistRetryer;
34
32
  }
35
33
 
36
- export declare const default_alias: any[];
37
-
38
- export declare const default_alias_1: any[];
39
-
40
- export declare const default_alias_2: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
41
-
42
- export declare const default_alias_3: UserConfig;
43
-
44
- /**
45
- * @param {Object} opts - Options for building configurations.
46
- * @param {string[]} opts.entry - The entry array.
47
- * @returns {import('tsup').Options}
48
- */
49
- export declare function legacyConfig(opts: {
50
- entry: string[];
51
- }): Options;
52
-
53
- /**
54
- * @param {Object} opts - Options for building configurations.
55
- * @param {string[]} opts.entry - The entry array.
56
- * @returns {import('tsup').Options}
57
- */
58
- export declare function modernConfig(opts: {
59
- entry: string[];
60
- }): Options;
61
-
62
34
  export declare function noop(): void;
63
35
 
64
36
  export declare function noop(): undefined;
@@ -1,8 +1,6 @@
1
- import { Options } from 'tsup';
2
1
  import type { PersistedClient } from '@tanstack/query-persist-client-core';
3
2
  import type { Persister } from '@tanstack/query-persist-client-core';
4
3
  import type { PersistRetryer } from '@tanstack/query-persist-client-core';
5
- import { UserConfig } from 'vite';
6
4
 
7
5
  /**
8
6
  * @deprecated use `createAsyncStoragePersister` from `@tanstack/query-async-storage-persister` instead.
@@ -33,32 +31,6 @@ declare interface CreateSyncStoragePersisterOptions {
33
31
  retry?: PersistRetryer;
34
32
  }
35
33
 
36
- export declare const default_alias: any[];
37
-
38
- export declare const default_alias_1: any[];
39
-
40
- export declare const default_alias_2: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
41
-
42
- export declare const default_alias_3: UserConfig;
43
-
44
- /**
45
- * @param {Object} opts - Options for building configurations.
46
- * @param {string[]} opts.entry - The entry array.
47
- * @returns {import('tsup').Options}
48
- */
49
- export declare function legacyConfig(opts: {
50
- entry: string[];
51
- }): Options;
52
-
53
- /**
54
- * @param {Object} opts - Options for building configurations.
55
- * @param {string[]} opts.entry - The entry array.
56
- * @returns {import('tsup').Options}
57
- */
58
- export declare function modernConfig(opts: {
59
- entry: string[];
60
- }): Options;
61
-
62
34
  export declare function noop(): void;
63
35
 
64
36
  export declare function noop(): undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/query-sync-storage-persister",
3
- "version": "5.96.0",
3
+ "version": "5.96.2",
4
4
  "description": "A persister for synchronous storages, to be used with TanStack/Query",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -40,8 +40,8 @@
40
40
  "!src/__tests__"
41
41
  ],
42
42
  "dependencies": {
43
- "@tanstack/query-core": "5.96.0",
44
- "@tanstack/query-persist-client-core": "5.96.0"
43
+ "@tanstack/query-core": "5.96.2",
44
+ "@tanstack/query-persist-client-core": "5.96.2"
45
45
  },
46
46
  "devDependencies": {
47
47
  "npm-run-all2": "^5.0.0",