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/index.cjs
CHANGED
|
@@ -2472,7 +2472,7 @@ var DedupManager = class {
|
|
|
2472
2472
|
};
|
|
2473
2473
|
|
|
2474
2474
|
// src/core/version.ts
|
|
2475
|
-
var SDK_VERSION = true ? "0.21.
|
|
2475
|
+
var SDK_VERSION = true ? "0.21.2" : "";
|
|
2476
2476
|
|
|
2477
2477
|
// src/core/data-bus.ts
|
|
2478
2478
|
var DEFAULT_REPLAY_MAX_PER_TOPIC = 100;
|
|
@@ -3233,7 +3233,7 @@ var CrossTabDataBus = class {
|
|
|
3233
3233
|
try {
|
|
3234
3234
|
await this.startPromise?.catch(() => void 0);
|
|
3235
3235
|
const pendingStop = this.pendingStop;
|
|
3236
|
-
if (pendingStop) await pendingStop
|
|
3236
|
+
if (pendingStop) await pendingStop;
|
|
3237
3237
|
else await this.transport.stop();
|
|
3238
3238
|
} catch (error) {
|
|
3239
3239
|
this.reportError(error);
|