cross-tab-worker-databus 0.20.51 → 0.20.52

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.
@@ -1683,9 +1683,9 @@ var CrossTabDataBus = class {
1683
1683
  getStatus() {
1684
1684
  return this.status;
1685
1685
  }
1686
- /** Return a bounded snapshot of automatic transport recovery state. */
1686
+ /** Return the current automatic transport recovery state. `hasError` means a transport error is currently retained. */
1687
1687
  getRecoveryStats() {
1688
- return { attempt: this.recoveryAttempt, exhausted: this.recoveryExhausted, maxAttempts: this.recoveryMaxAttempts };
1688
+ return { attempt: this.recoveryAttempt, exhausted: this.recoveryExhausted, maxAttempts: this.recoveryMaxAttempts, hasError: this.lastError !== null };
1689
1689
  }
1690
1690
  /** Snapshot of the cluster state (workers, routes, assignments).
1691
1691
  * For diagnostics only — the returned object is a shallow copy but