cross-tab-worker-databus 0.21.20 → 0.21.21
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/CHANGELOG.md +19 -0
- package/dist/centrifuge-session.d.ts +2 -1
- package/dist/centrifuge-session.d.ts.map +1 -1
- package/dist/centrifuge.js +3 -2
- package/dist/centrifuge.js.map +2 -2
- package/dist/centrifuge.shared.worker.js +2 -1
- package/dist/centrifuge.shared.worker.js.map +2 -2
- package/dist/centrifuge.worker.js +2 -1
- package/dist/centrifuge.worker.js.map +2 -2
- package/dist/{chunk-VQZXIMXR.js → chunk-37NTHK22.js} +6 -4
- package/dist/chunk-37NTHK22.js.map +7 -0
- package/dist/cjs/centrifuge.cjs +7 -4
- package/dist/cjs/centrifuge.cjs.map +2 -2
- package/dist/cjs/index.cjs +5 -3
- package/dist/cjs/index.cjs.map +2 -2
- package/dist/core/cluster.d.ts.map +1 -1
- package/dist/core/data-bus.d.ts +4 -2
- package/dist/core/data-bus.d.ts.map +1 -1
- package/dist/core/replay-manager.d.ts.map +1 -1
- package/dist/core/replay-persistence.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +2 -2
- package/docs/roadmap.md +9 -1
- package/docs/zh/roadmap.md +9 -1
- package/package.json +1 -1
- package/dist/chunk-VQZXIMXR.js.map +0 -7
package/dist/cjs/index.cjs
CHANGED
|
@@ -2565,7 +2565,7 @@ var SDK_VERSION = (
|
|
|
2565
2565
|
// `string` (dropping the conditional is TS2322, measured). Recorded here so the
|
|
2566
2566
|
// leg reads as a shape the harness cannot reach rather than as a case nobody
|
|
2567
2567
|
// exercised.
|
|
2568
|
-
true ? "0.21.
|
|
2568
|
+
true ? "0.21.21" : ""
|
|
2569
2569
|
);
|
|
2570
2570
|
|
|
2571
2571
|
// src/core/data-bus.ts
|
|
@@ -3501,8 +3501,10 @@ var CrossTabDataBus = class {
|
|
|
3501
3501
|
* wrong mechanism and was the shipped claim until it was measured: a snapshot
|
|
3502
3502
|
* taken with the opening still unresolved already listed the route, its
|
|
3503
3503
|
* confirmation and both tabs' worker records, because
|
|
3504
|
-
* `BatchingStorageWriter` serves pending writes on read
|
|
3505
|
-
*
|
|
3504
|
+
* `BatchingStorageWriter` serves pending writes on read — `getItem` returns the
|
|
3505
|
+
* pending value before touching the store, and the private `keys()` union of
|
|
3506
|
+
* persisted keys, pending writes minus pending deletes is what `readAllByPrefix`
|
|
3507
|
+
* walks. */
|
|
3506
3508
|
emitCoordinationTrace() {
|
|
3507
3509
|
const snapshot = this.cluster.getSnapshot();
|
|
3508
3510
|
this.trace.event({
|