@tanstack/query-broadcast-client-experimental 5.90.20 → 5.90.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.
@@ -0,0 +1,40 @@
1
+ import type { BroadcastChannelOptions } from 'broadcast-channel';
2
+ import { Options } from 'tsup';
3
+ import type { QueryClient } from '@tanstack/query-core';
4
+ import { UserConfig } from 'vite';
5
+
6
+ export declare function broadcastQueryClient({ queryClient, broadcastChannel, options, }: BroadcastQueryClientOptions): () => void;
7
+
8
+ declare interface BroadcastQueryClientOptions {
9
+ queryClient: QueryClient;
10
+ broadcastChannel?: string;
11
+ options?: BroadcastChannelOptions;
12
+ }
13
+
14
+ export declare const default_alias: any[];
15
+
16
+ export declare const default_alias_1: any[];
17
+
18
+ export declare const default_alias_2: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
19
+
20
+ export declare const default_alias_3: UserConfig;
21
+
22
+ /**
23
+ * @param {Object} opts - Options for building configurations.
24
+ * @param {string[]} opts.entry - The entry array.
25
+ * @returns {import('tsup').Options}
26
+ */
27
+ export declare function legacyConfig(opts: {
28
+ entry: string[];
29
+ }): Options;
30
+
31
+ /**
32
+ * @param {Object} opts - Options for building configurations.
33
+ * @param {string[]} opts.entry - The entry array.
34
+ * @returns {import('tsup').Options}
35
+ */
36
+ export declare function modernConfig(opts: {
37
+ entry: string[];
38
+ }): Options;
39
+
40
+ export { }
@@ -0,0 +1,40 @@
1
+ import type { BroadcastChannelOptions } from 'broadcast-channel';
2
+ import { Options } from 'tsup';
3
+ import type { QueryClient } from '@tanstack/query-core';
4
+ import { UserConfig } from 'vite';
5
+
6
+ export declare function broadcastQueryClient({ queryClient, broadcastChannel, options, }: BroadcastQueryClientOptions): () => void;
7
+
8
+ declare interface BroadcastQueryClientOptions {
9
+ queryClient: QueryClient;
10
+ broadcastChannel?: string;
11
+ options?: BroadcastChannelOptions;
12
+ }
13
+
14
+ export declare const default_alias: any[];
15
+
16
+ export declare const default_alias_1: any[];
17
+
18
+ export declare const default_alias_2: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
19
+
20
+ export declare const default_alias_3: UserConfig;
21
+
22
+ /**
23
+ * @param {Object} opts - Options for building configurations.
24
+ * @param {string[]} opts.entry - The entry array.
25
+ * @returns {import('tsup').Options}
26
+ */
27
+ export declare function legacyConfig(opts: {
28
+ entry: string[];
29
+ }): Options;
30
+
31
+ /**
32
+ * @param {Object} opts - Options for building configurations.
33
+ * @param {string[]} opts.entry - The entry array.
34
+ * @returns {import('tsup').Options}
35
+ */
36
+ export declare function modernConfig(opts: {
37
+ entry: string[];
38
+ }): Options;
39
+
40
+ export { }
@@ -1,11 +1 @@
1
- import { BroadcastChannelOptions } from 'broadcast-channel';
2
- import { QueryClient } from '@tanstack/query-core';
3
-
4
- interface BroadcastQueryClientOptions {
5
- queryClient: QueryClient;
6
- broadcastChannel?: string;
7
- options?: BroadcastChannelOptions;
8
- }
9
- declare function broadcastQueryClient({ queryClient, broadcastChannel, options, }: BroadcastQueryClientOptions): () => void;
10
-
11
- export { broadcastQueryClient };
1
+ export { broadcastQueryClient } from './_tsup-dts-rollup.cjs';
@@ -1,11 +1 @@
1
- import { BroadcastChannelOptions } from 'broadcast-channel';
2
- import { QueryClient } from '@tanstack/query-core';
3
-
4
- interface BroadcastQueryClientOptions {
5
- queryClient: QueryClient;
6
- broadcastChannel?: string;
7
- options?: BroadcastChannelOptions;
8
- }
9
- declare function broadcastQueryClient({ queryClient, broadcastChannel, options, }: BroadcastQueryClientOptions): () => void;
10
-
11
- export { broadcastQueryClient };
1
+ export { broadcastQueryClient } from './_tsup-dts-rollup.js';
@@ -0,0 +1,40 @@
1
+ import type { BroadcastChannelOptions } from 'broadcast-channel';
2
+ import { Options } from 'tsup';
3
+ import type { QueryClient } from '@tanstack/query-core';
4
+ import { UserConfig } from 'vite';
5
+
6
+ export declare function broadcastQueryClient({ queryClient, broadcastChannel, options, }: BroadcastQueryClientOptions): () => void;
7
+
8
+ declare interface BroadcastQueryClientOptions {
9
+ queryClient: QueryClient;
10
+ broadcastChannel?: string;
11
+ options?: BroadcastChannelOptions;
12
+ }
13
+
14
+ export declare const default_alias: any[];
15
+
16
+ export declare const default_alias_1: any[];
17
+
18
+ export declare const default_alias_2: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
19
+
20
+ export declare const default_alias_3: UserConfig;
21
+
22
+ /**
23
+ * @param {Object} opts - Options for building configurations.
24
+ * @param {string[]} opts.entry - The entry array.
25
+ * @returns {import('tsup').Options}
26
+ */
27
+ export declare function legacyConfig(opts: {
28
+ entry: string[];
29
+ }): Options;
30
+
31
+ /**
32
+ * @param {Object} opts - Options for building configurations.
33
+ * @param {string[]} opts.entry - The entry array.
34
+ * @returns {import('tsup').Options}
35
+ */
36
+ export declare function modernConfig(opts: {
37
+ entry: string[];
38
+ }): Options;
39
+
40
+ export { }
@@ -0,0 +1,40 @@
1
+ import type { BroadcastChannelOptions } from 'broadcast-channel';
2
+ import { Options } from 'tsup';
3
+ import type { QueryClient } from '@tanstack/query-core';
4
+ import { UserConfig } from 'vite';
5
+
6
+ export declare function broadcastQueryClient({ queryClient, broadcastChannel, options, }: BroadcastQueryClientOptions): () => void;
7
+
8
+ declare interface BroadcastQueryClientOptions {
9
+ queryClient: QueryClient;
10
+ broadcastChannel?: string;
11
+ options?: BroadcastChannelOptions;
12
+ }
13
+
14
+ export declare const default_alias: any[];
15
+
16
+ export declare const default_alias_1: any[];
17
+
18
+ export declare const default_alias_2: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
19
+
20
+ export declare const default_alias_3: UserConfig;
21
+
22
+ /**
23
+ * @param {Object} opts - Options for building configurations.
24
+ * @param {string[]} opts.entry - The entry array.
25
+ * @returns {import('tsup').Options}
26
+ */
27
+ export declare function legacyConfig(opts: {
28
+ entry: string[];
29
+ }): Options;
30
+
31
+ /**
32
+ * @param {Object} opts - Options for building configurations.
33
+ * @param {string[]} opts.entry - The entry array.
34
+ * @returns {import('tsup').Options}
35
+ */
36
+ export declare function modernConfig(opts: {
37
+ entry: string[];
38
+ }): Options;
39
+
40
+ export { }
@@ -1,11 +1 @@
1
- import { BroadcastChannelOptions } from 'broadcast-channel';
2
- import { QueryClient } from '@tanstack/query-core';
3
-
4
- interface BroadcastQueryClientOptions {
5
- queryClient: QueryClient;
6
- broadcastChannel?: string;
7
- options?: BroadcastChannelOptions;
8
- }
9
- declare function broadcastQueryClient({ queryClient, broadcastChannel, options, }: BroadcastQueryClientOptions): () => void;
10
-
11
- export { broadcastQueryClient };
1
+ export { broadcastQueryClient } from './_tsup-dts-rollup.cjs';
@@ -1,11 +1 @@
1
- import { BroadcastChannelOptions } from 'broadcast-channel';
2
- import { QueryClient } from '@tanstack/query-core';
3
-
4
- interface BroadcastQueryClientOptions {
5
- queryClient: QueryClient;
6
- broadcastChannel?: string;
7
- options?: BroadcastChannelOptions;
8
- }
9
- declare function broadcastQueryClient({ queryClient, broadcastChannel, options, }: BroadcastQueryClientOptions): () => void;
10
-
11
- export { broadcastQueryClient };
1
+ export { broadcastQueryClient } from './_tsup-dts-rollup.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/query-broadcast-client-experimental",
3
- "version": "5.90.20",
3
+ "version": "5.90.23",
4
4
  "description": "An experimental plugin to for broadcasting the state of your queryClient between browser tabs/windows",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -40,7 +40,7 @@
40
40
  ],
41
41
  "dependencies": {
42
42
  "broadcast-channel": "^7.0.0",
43
- "@tanstack/query-core": "5.90.20"
43
+ "@tanstack/query-core": "5.91.2"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@testing-library/react": "^16.1.0",
@@ -52,15 +52,14 @@
52
52
  "compile": "tsc --build",
53
53
  "test:eslint": "eslint --concurrency=auto ./src",
54
54
  "test:types": "npm-run-all --serial test:types:*",
55
- "test:types:ts50": "node ../../node_modules/typescript50/lib/tsc.js --build",
56
- "test:types:ts51": "node ../../node_modules/typescript51/lib/tsc.js --build",
57
- "test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js --build",
58
- "test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js --build",
59
55
  "test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js --build",
60
56
  "test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js --build",
61
57
  "test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js --build",
62
58
  "test:types:ts57": "node ../../node_modules/typescript57/lib/tsc.js --build",
59
+ "test:types:ts58": "node ../../node_modules/typescript58/lib/tsc.js --build",
60
+ "test:types:ts59": "node ../../node_modules/typescript59/lib/tsc.js --build",
63
61
  "test:types:tscurrent": "tsc --build",
62
+ "test:types:ts60": "node ../../node_modules/typescript60/lib/tsc.js --build",
64
63
  "test:lib": "vitest",
65
64
  "test:lib:dev": "pnpm run test:lib --watch",
66
65
  "test:build": "publint --strict && attw --pack",