cross-tab-worker-databus 0.20.49 → 0.20.51

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.
@@ -1658,6 +1658,10 @@ var CrossTabDataBus = class {
1658
1658
  getStatus() {
1659
1659
  return this.status;
1660
1660
  }
1661
+ /** Return a bounded snapshot of automatic transport recovery state. */
1662
+ getRecoveryStats() {
1663
+ return { attempt: this.recoveryAttempt, exhausted: this.recoveryExhausted, maxAttempts: this.recoveryMaxAttempts };
1664
+ }
1661
1665
  /** Snapshot of the cluster state (workers, routes, assignments).
1662
1666
  * For diagnostics only — the returned object is a shallow copy but
1663
1667
  * nested arrays are snapshots at call time. */