cross-tab-worker-databus 0.21.2 → 0.21.3

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.21.3] - 2026-09-22
4
+
5
+ ### Changed
6
+ - Two more unreachable rejection-absorbers removed from `CrossTabDataBus`, with no behavior change: `queueStartAfterStop()` swallowed a rejection of `stopPromise` (whose only non-null assignment is `stop()`'s hand-resolved gate, resolved from both settle arms — that is what keeps the public `stop()` non-rejecting), and `openTransport()` swallowed one for its `before` argument (either `Promise.resolve()` or `pendingStop`, and every non-null `pendingStop` chain ends in a terminal `.catch(error => this.reportError(error))`). Each arm had been permanently uncovered; the premises are enumerations of assignment sites and are written into the source next to the code.
7
+ - Whole-repository coverage ceilings unchanged (96 / 92 / 96 / 97) and met; `src/core/data-bus.ts` function coverage goes 115/120 → 115/118 by deleting the two dead handlers, with no test removed or weakened. The module's remaining uncovered handlers are now three, each documented with the reason it is kept (`performStop()`'s last-resort rejection arm) or the enumeration that still owes a proof.
8
+ - No export, protocol or observable behavior changed; `verify:compat` is green against `v0.21.2` by construction.
9
+
3
10
  ## [0.21.2] - 2026-09-22
4
11
 
5
12
  ### Changed
@@ -5,7 +5,7 @@ import {
5
5
  parseDataBusPublication,
6
6
  publicationMetadata,
7
7
  selectWorkerBackend
8
- } from "./chunk-HRB4SND7.js";
8
+ } from "./chunk-CFFSSIUO.js";
9
9
  import {
10
10
  CENTRIFUGE_INPUT_TYPE,
11
11
  CENTRIFUGE_OUTPUT_TYPE,
@@ -2346,7 +2346,7 @@ var DedupManager = class {
2346
2346
  };
2347
2347
 
2348
2348
  // src/core/version.ts
2349
- var SDK_VERSION = true ? "0.21.2" : "";
2349
+ var SDK_VERSION = true ? "0.21.3" : "";
2350
2350
 
2351
2351
  // src/core/data-bus.ts
2352
2352
  var DEFAULT_REPLAY_MAX_PER_TOPIC = 100;
@@ -2655,7 +2655,7 @@ var CrossTabDataBus = class {
2655
2655
  if (this.queuedStart) return this.queuedStart;
2656
2656
  const stop = this.stopPromise ?? Promise.resolve();
2657
2657
  const token = ++this.queuedStartToken;
2658
- const queued = stop.catch(() => void 0).then(() => {
2658
+ const queued = stop.then(() => {
2659
2659
  if (this.queuedStart === queued) this.queuedStart = null;
2660
2660
  if (token <= this.canceledQueuedStartToken) return;
2661
2661
  return this.start(config);
@@ -2737,7 +2737,7 @@ var CrossTabDataBus = class {
2737
2737
  const chainedPendingStop = this.pendingStop;
2738
2738
  const isCurrentLifecycle = () => lifecycleEpoch === this.lifecycleEpoch;
2739
2739
  let startupInProgress = true;
2740
- return before.catch(() => void 0).then(() => {
2740
+ return before.then(() => {
2741
2741
  if (!isCurrentLifecycle() || this.stopping || this.suspended) return;
2742
2742
  if (this.pendingStop === chainedPendingStop) this.pendingStop = null;
2743
2743
  this.transportHasConnected = false;
@@ -3547,4 +3547,4 @@ export {
3547
3547
  parseDataBusPublication,
3548
3548
  selectWorkerBackend
3549
3549
  };
3550
- //# sourceMappingURL=chunk-HRB4SND7.js.map
3550
+ //# sourceMappingURL=chunk-CFFSSIUO.js.map