@tanstack/query-broadcast-client-experimental 5.105.0 → 5.105.1

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,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  let broadcast_channel = require("broadcast-channel");
3
- //#region src/index.ts
3
+ // src/index.ts
4
4
  /**
5
5
  * Syncs a client's query cache with the caches of other tabs and windows through a
6
6
  * `BroadcastChannel`: added queries, successful updates, and removals of queries that have
@@ -100,7 +100,6 @@ function broadcastQueryClient({ queryClient, broadcastChannel = "tanstack-query"
100
100
  channel.close();
101
101
  };
102
102
  }
103
- //#endregion
104
103
  exports.broadcastQueryClient = broadcastQueryClient;
105
104
 
106
105
  //# sourceMappingURL=index.cjs.map
@@ -1,6 +1,5 @@
1
1
  import { BroadcastChannelOptions } from "broadcast-channel";
2
2
  import { QueryClient, QueryKey } from "@tanstack/query-core";
3
- //#region src/index.d.ts
4
3
  /**
5
4
  * Metadata describing a broadcast that failed to be delivered to other tabs.
6
5
  * Passed to {@link BroadcastQueryClientOptions.onBroadcastError} so callers
@@ -53,5 +52,4 @@ interface BroadcastQueryClientOptions {
53
52
  * @returns A function that stops syncing and closes the channel.
54
53
  */
55
54
  export declare function broadcastQueryClient({ queryClient, broadcastChannel, options, onBroadcastError }: BroadcastQueryClientOptions): () => void;
56
- //#endregion
57
55
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/index.ts"],"mappings":";;;;;;;;iBASiB;;;;EAIf;;;;EAIA;;;;EAIA,UAAU;;UAQF;;EAER,aAAa;;;;;EAKb;;EAEA,UAAU;;;;;;;;;;;;;EAaV,oBACE,gBACA,OAAO,+BACG;;;;;;;;;;wBAWE,uBACd,aACA,kBACA,SACA,oBACC"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/index.ts"],"mappings":";;;;;;;iBASiB;;;;EAIf;;;;EAIA;;;;EAIA,UAAU;;UAQF;;EAER,aAAa;;;;;EAKb;;EAEA,UAAU;;;;;;;;;;;;;EAaV,oBACE,gBACA,OAAO,+BACG;;;;;;;;;;wBAWE,uBACd,aACA,kBACA,SACA,oBACC"}
@@ -1,6 +1,5 @@
1
1
  import { BroadcastChannelOptions } from "broadcast-channel";
2
2
  import { QueryClient, QueryKey } from "@tanstack/query-core";
3
- //#region src/index.d.ts
4
3
  /**
5
4
  * Metadata describing a broadcast that failed to be delivered to other tabs.
6
5
  * Passed to {@link BroadcastQueryClientOptions.onBroadcastError} so callers
@@ -53,5 +52,4 @@ interface BroadcastQueryClientOptions {
53
52
  * @returns A function that stops syncing and closes the channel.
54
53
  */
55
54
  export declare function broadcastQueryClient({ queryClient, broadcastChannel, options, onBroadcastError }: BroadcastQueryClientOptions): () => void;
56
- //#endregion
57
55
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/index.ts"],"mappings":";;;;;;;;iBASiB;;;;EAIf;;;;EAIA;;;;EAIA,UAAU;;UAQF;;EAER,aAAa;;;;;EAKb;;EAEA,UAAU;;;;;;;;;;;;;EAaV,oBACE,gBACA,OAAO,+BACG;;;;;;;;;;wBAWE,uBACd,aACA,kBACA,SACA,oBACC"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/index.ts"],"mappings":";;;;;;;iBASiB;;;;EAIf;;;;EAIA;;;;EAIA,UAAU;;UAQF;;EAER,aAAa;;;;;EAKb;;EAEA,UAAU;;;;;;;;;;;;;EAaV,oBACE,gBACA,OAAO,+BACG;;;;;;;;;;wBAWE,uBACd,aACA,kBACA,SACA,oBACC"}
@@ -1,5 +1,5 @@
1
1
  import { BroadcastChannel } from "broadcast-channel";
2
- //#region src/index.ts
2
+ // src/index.ts
3
3
  /**
4
4
  * Syncs a client's query cache with the caches of other tabs and windows through a
5
5
  * `BroadcastChannel`: added queries, successful updates, and removals of queries that have
@@ -99,7 +99,6 @@ function broadcastQueryClient({ queryClient, broadcastChannel = "tanstack-query"
99
99
  channel.close();
100
100
  };
101
101
  }
102
- //#endregion
103
102
  export { broadcastQueryClient };
104
103
 
105
104
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  let broadcast_channel = require("broadcast-channel");
3
- //#region src/index.ts
3
+ // src/index.ts
4
4
  /**
5
5
  * Syncs a client's query cache with the caches of other tabs and windows through a
6
6
  * `BroadcastChannel`: added queries, successful updates, and removals of queries that have
@@ -100,7 +100,6 @@ function broadcastQueryClient({ queryClient, broadcastChannel = "tanstack-query"
100
100
  channel.close();
101
101
  };
102
102
  }
103
- //#endregion
104
103
  exports.broadcastQueryClient = broadcastQueryClient;
105
104
 
106
105
  //# sourceMappingURL=index.cjs.map
@@ -1,6 +1,5 @@
1
1
  import { BroadcastChannelOptions } from "broadcast-channel";
2
2
  import { QueryClient, QueryKey } from "@tanstack/query-core";
3
- //#region src/index.d.ts
4
3
  /**
5
4
  * Metadata describing a broadcast that failed to be delivered to other tabs.
6
5
  * Passed to {@link BroadcastQueryClientOptions.onBroadcastError} so callers
@@ -53,5 +52,4 @@ interface BroadcastQueryClientOptions {
53
52
  * @returns A function that stops syncing and closes the channel.
54
53
  */
55
54
  export declare function broadcastQueryClient({ queryClient, broadcastChannel, options, onBroadcastError }: BroadcastQueryClientOptions): () => void;
56
- //#endregion
57
55
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/index.ts"],"mappings":";;;;;;;;iBASiB;;;;EAIf;;;;EAIA;;;;EAIA,UAAU;;UAQF;;EAER,aAAa;;;;;EAKb;;EAEA,UAAU;;;;;;;;;;;;;EAaV,oBACE,gBACA,OAAO,+BACG;;;;;;;;;;wBAWE,uBACd,aACA,kBACA,SACA,oBACC"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/index.ts"],"mappings":";;;;;;;iBASiB;;;;EAIf;;;;EAIA;;;;EAIA,UAAU;;UAQF;;EAER,aAAa;;;;;EAKb;;EAEA,UAAU;;;;;;;;;;;;;EAaV,oBACE,gBACA,OAAO,+BACG;;;;;;;;;;wBAWE,uBACd,aACA,kBACA,SACA,oBACC"}
@@ -1,6 +1,5 @@
1
1
  import { BroadcastChannelOptions } from "broadcast-channel";
2
2
  import { QueryClient, QueryKey } from "@tanstack/query-core";
3
- //#region src/index.d.ts
4
3
  /**
5
4
  * Metadata describing a broadcast that failed to be delivered to other tabs.
6
5
  * Passed to {@link BroadcastQueryClientOptions.onBroadcastError} so callers
@@ -53,5 +52,4 @@ interface BroadcastQueryClientOptions {
53
52
  * @returns A function that stops syncing and closes the channel.
54
53
  */
55
54
  export declare function broadcastQueryClient({ queryClient, broadcastChannel, options, onBroadcastError }: BroadcastQueryClientOptions): () => void;
56
- //#endregion
57
55
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/index.ts"],"mappings":";;;;;;;;iBASiB;;;;EAIf;;;;EAIA;;;;EAIA,UAAU;;UAQF;;EAER,aAAa;;;;;EAKb;;EAEA,UAAU;;;;;;;;;;;;;EAaV,oBACE,gBACA,OAAO,+BACG;;;;;;;;;;wBAWE,uBACd,aACA,kBACA,SACA,oBACC"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/index.ts"],"mappings":";;;;;;;iBASiB;;;;EAIf;;;;EAIA;;;;EAIA,UAAU;;UAQF;;EAER,aAAa;;;;;EAKb;;EAEA,UAAU;;;;;;;;;;;;;EAaV,oBACE,gBACA,OAAO,+BACG;;;;;;;;;;wBAWE,uBACd,aACA,kBACA,SACA,oBACC"}
@@ -1,5 +1,5 @@
1
1
  import { BroadcastChannel } from "broadcast-channel";
2
- //#region src/index.ts
2
+ // src/index.ts
3
3
  /**
4
4
  * Syncs a client's query cache with the caches of other tabs and windows through a
5
5
  * `BroadcastChannel`: added queries, successful updates, and removals of queries that have
@@ -99,7 +99,6 @@ function broadcastQueryClient({ queryClient, broadcastChannel = "tanstack-query"
99
99
  channel.close();
100
100
  };
101
101
  }
102
- //#endregion
103
102
  export { broadcastQueryClient };
104
103
 
105
104
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/query-broadcast-client-experimental",
3
- "version": "5.105.0",
3
+ "version": "5.105.1",
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",
@@ -39,7 +39,7 @@
39
39
  "!src/__tests__"
40
40
  ],
41
41
  "dependencies": {
42
- "@tanstack/query-core": "5.105.0",
42
+ "@tanstack/query-core": "5.105.1",
43
43
  "broadcast-channel": "^7.4.0"
44
44
  },
45
45
  "devDependencies": {