cross-tab-worker-databus 0.21.19 → 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.
@@ -2470,7 +2470,7 @@ var SDK_VERSION = (
2470
2470
  // `string` (dropping the conditional is TS2322, measured). Recorded here so the
2471
2471
  // leg reads as a shape the harness cannot reach rather than as a case nobody
2472
2472
  // exercised.
2473
- true ? "0.21.19" : ""
2473
+ true ? "0.21.21" : ""
2474
2474
  );
2475
2475
 
2476
2476
  // src/core/data-bus.ts
@@ -3406,8 +3406,10 @@ var CrossTabDataBus = class {
3406
3406
  * wrong mechanism and was the shipped claim until it was measured: a snapshot
3407
3407
  * taken with the opening still unresolved already listed the route, its
3408
3408
  * confirmation and both tabs' worker records, because
3409
- * `BatchingStorageWriter` serves pending writes on read (`storage-batch.ts:79-82`
3410
- * for `getItem`, `:143-155` for the `keys()` union that `readAllByPrefix` uses). */
3409
+ * `BatchingStorageWriter` serves pending writes on read — `getItem` returns the
3410
+ * pending value before touching the store, and the private `keys()` union of
3411
+ * persisted keys, pending writes minus pending deletes is what `readAllByPrefix`
3412
+ * walks. */
3411
3413
  emitCoordinationTrace() {
3412
3414
  const snapshot = this.cluster.getSnapshot();
3413
3415
  this.trace.event({
@@ -3702,4 +3704,4 @@ export {
3702
3704
  parseDataBusPublication,
3703
3705
  selectWorkerBackend
3704
3706
  };
3705
- //# sourceMappingURL=chunk-Q2INCAFO.js.map
3707
+ //# sourceMappingURL=chunk-37NTHK22.js.map