cross-tab-worker-databus 0.21.13 → 0.21.15
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 +45 -0
- package/README.md +2 -2
- package/README.zh.md +2 -2
- package/dist/centrifuge-session.d.ts.map +1 -1
- package/dist/centrifuge.d.ts.map +1 -1
- package/dist/centrifuge.js +8 -6
- package/dist/centrifuge.js.map +2 -2
- package/dist/centrifuge.shared.worker.js.map +2 -2
- package/dist/centrifuge.worker.js.map +2 -2
- package/dist/{chunk-4HW6PYIR.js → chunk-VQJIMGJN.js} +2 -2
- package/dist/cjs/centrifuge.cjs +8 -6
- package/dist/cjs/centrifuge.cjs.map +2 -2
- package/dist/cjs/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/docs/api.md +3 -3
- package/docs/architecture.md +12 -9
- package/docs/configuration.md +14 -9
- package/docs/getting-started.md +1 -1
- package/docs/release-checklist.md +2 -2
- package/docs/roadmap.md +70 -4
- package/docs/transports.md +8 -6
- package/docs/zh/api.md +4 -4
- package/docs/zh/architecture.md +13 -10
- package/docs/zh/capabilities.md +1 -1
- package/docs/zh/configuration.md +14 -9
- package/docs/zh/getting-started.md +1 -1
- package/docs/zh/release-checklist.md +2 -2
- package/docs/zh/roadmap.md +59 -3
- package/docs/zh/transports.md +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-4HW6PYIR.js.map → chunk-VQJIMGJN.js.map} +0 -0
|
@@ -2410,7 +2410,7 @@ var DedupManager = class {
|
|
|
2410
2410
|
};
|
|
2411
2411
|
|
|
2412
2412
|
// src/core/version.ts
|
|
2413
|
-
var SDK_VERSION = true ? "0.21.
|
|
2413
|
+
var SDK_VERSION = true ? "0.21.15" : "";
|
|
2414
2414
|
|
|
2415
2415
|
// src/core/data-bus.ts
|
|
2416
2416
|
var DEFAULT_REPLAY_MAX_PER_TOPIC = 100;
|
|
@@ -3626,4 +3626,4 @@ export {
|
|
|
3626
3626
|
parseDataBusPublication,
|
|
3627
3627
|
selectWorkerBackend
|
|
3628
3628
|
};
|
|
3629
|
-
//# sourceMappingURL=chunk-
|
|
3629
|
+
//# sourceMappingURL=chunk-VQJIMGJN.js.map
|
package/dist/cjs/centrifuge.cjs
CHANGED
|
@@ -2539,7 +2539,7 @@ var DedupManager = class {
|
|
|
2539
2539
|
};
|
|
2540
2540
|
|
|
2541
2541
|
// src/core/version.ts
|
|
2542
|
-
var SDK_VERSION = true ? "0.21.
|
|
2542
|
+
var SDK_VERSION = true ? "0.21.15" : "";
|
|
2543
2543
|
|
|
2544
2544
|
// src/core/data-bus.ts
|
|
2545
2545
|
var DEFAULT_REPLAY_MAX_PER_TOPIC = 100;
|
|
@@ -4006,11 +4006,13 @@ var CentrifugeWorkerTransport = class {
|
|
|
4006
4006
|
// `isCurrentBackend()` compares worker/port/localSession identity as well.
|
|
4007
4007
|
// Only the asynchronous credential bridge reads the counter: a provider may
|
|
4008
4008
|
// settle after the backend it was answering is gone. Worker error events need
|
|
4009
|
-
// no such check, but not for the reason this note used to give —
|
|
4010
|
-
// bumps
|
|
4011
|
-
// moves on *before* the removal, not after
|
|
4012
|
-
//
|
|
4013
|
-
//
|
|
4009
|
+
// no such check, but not for the reason this note used to give — the top of
|
|
4010
|
+
// `stop()` bumps the counter and only then removes the listeners, so the
|
|
4011
|
+
// generation moves on *before* the removal, not after, while `onWorkerFailed()`
|
|
4012
|
+
// removes them without touching the counter at all. The containment in both
|
|
4013
|
+
// cases is that they happen in one synchronous task, together with
|
|
4014
|
+
// `handlers = null`, and no message or error event can be delivered to this
|
|
4015
|
+
// object mid-task.
|
|
4014
4016
|
generation = 0;
|
|
4015
4017
|
get diagnosticsBackend() {
|
|
4016
4018
|
return this.backend ?? "uninitialized";
|