cross-tab-worker-databus 0.21.0 → 0.21.2
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 +17 -1
- package/dist/centrifuge.js +1 -1
- package/dist/{chunk-EJDXU4DK.js → chunk-HRB4SND7.js} +3 -3
- package/dist/{chunk-EJDXU4DK.js.map → chunk-HRB4SND7.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.map +1 -1
- package/dist/index.js +1 -1
- package/docs/benchmarks.md +8 -8
- package/docs/getting-started.md +1 -1
- package/docs/roadmap.md +12 -1
- package/docs/zh/benchmarks.md +8 -8
- package/docs/zh/getting-started.md +1 -1
- package/docs/zh/roadmap.md +12 -1
- package/package.json +4 -3
package/dist/cjs/centrifuge.cjs
CHANGED
|
@@ -2474,7 +2474,7 @@ var DedupManager = class {
|
|
|
2474
2474
|
};
|
|
2475
2475
|
|
|
2476
2476
|
// src/core/version.ts
|
|
2477
|
-
var SDK_VERSION = true ? "0.21.
|
|
2477
|
+
var SDK_VERSION = true ? "0.21.2" : "";
|
|
2478
2478
|
|
|
2479
2479
|
// src/core/data-bus.ts
|
|
2480
2480
|
var DEFAULT_REPLAY_MAX_PER_TOPIC = 100;
|
|
@@ -3235,7 +3235,7 @@ var CrossTabDataBus = class {
|
|
|
3235
3235
|
try {
|
|
3236
3236
|
await this.startPromise?.catch(() => void 0);
|
|
3237
3237
|
const pendingStop = this.pendingStop;
|
|
3238
|
-
if (pendingStop) await pendingStop
|
|
3238
|
+
if (pendingStop) await pendingStop;
|
|
3239
3239
|
else await this.transport.stop();
|
|
3240
3240
|
} catch (error) {
|
|
3241
3241
|
this.reportError(error);
|