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.
- package/CHANGELOG.md +8 -0
- package/dist/centrifuge.js +1 -1
- package/dist/{chunk-LXRYJA3A.js → chunk-WQUDZIYO.js} +3 -3
- package/dist/{chunk-LXRYJA3A.js.map → chunk-WQUDZIYO.js.map} +2 -2
- package/dist/cjs/centrifuge.cjs +2 -2
- package/dist/cjs/centrifuge.cjs.map +2 -2
- package/dist/cjs/index.cjs +2 -2
- package/dist/cjs/index.cjs.map +2 -2
- package/dist/core/data-bus.d.ts +2 -1
- package/dist/core/data-bus.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/docs/roadmap.md +5 -1
- package/docs/zh/roadmap.md +5 -1
- package/package.json +1 -1
package/dist/cjs/centrifuge.cjs
CHANGED
|
@@ -1658,9 +1658,9 @@ var CrossTabDataBus = class {
|
|
|
1658
1658
|
getStatus() {
|
|
1659
1659
|
return this.status;
|
|
1660
1660
|
}
|
|
1661
|
-
/** Return
|
|
1661
|
+
/** Return the current automatic transport recovery state. `hasError` means a transport error is currently retained. */
|
|
1662
1662
|
getRecoveryStats() {
|
|
1663
|
-
return { attempt: this.recoveryAttempt, exhausted: this.recoveryExhausted, maxAttempts: this.recoveryMaxAttempts };
|
|
1663
|
+
return { attempt: this.recoveryAttempt, exhausted: this.recoveryExhausted, maxAttempts: this.recoveryMaxAttempts, hasError: this.lastError !== null };
|
|
1664
1664
|
}
|
|
1665
1665
|
/** Snapshot of the cluster state (workers, routes, assignments).
|
|
1666
1666
|
* For diagnostics only — the returned object is a shallow copy but
|