@interactive-inc/flume 0.9.0 → 0.9.1

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -545,6 +545,10 @@ var FlumeConfluence = class {
545
545
  reconnect: this.props.reconnect
546
546
  }).open();
547
547
  if (running instanceof Error) return running;
548
+ if (this.running.has(id)) {
549
+ await running.close();
550
+ return new FlumeStartError(`FlumeConfluence: id already added: ${id}`);
551
+ }
548
552
  this.running.set(id, running);
549
553
  return null;
550
554
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interactive-inc/flume",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Unified notification listener for Discord, Slack, and GitHub. Raw WebSocket + fetch + Zod. No SDK dependencies.",
5
5
  "keywords": [
6
6
  "discord",