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.
@@ -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.20" : ""
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 (`storage-batch.ts:79-82`
3505
- * for `getItem`, `:143-155` for the `keys()` union that `readAllByPrefix` uses). */
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({