@staff0rd/assist 0.330.4 → 0.331.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.
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import { Command } from "commander";
6
6
  // package.json
7
7
  var package_default = {
8
8
  name: "@staff0rd/assist",
9
- version: "0.330.4",
9
+ version: "0.331.1",
10
10
  type: "module",
11
11
  main: "dist/index.js",
12
12
  bin: {
@@ -22616,6 +22616,10 @@ function startDaemonServer(manager, checkAutoExit) {
22616
22616
  retried = true;
22617
22617
  void recoverFromAddrInUse(server, manager, checkAutoExit);
22618
22618
  });
22619
+ listenWithSingleOnListening(server, manager, checkAutoExit);
22620
+ }
22621
+ function listenWithSingleOnListening(server, manager, checkAutoExit) {
22622
+ server.removeAllListeners("listening");
22619
22623
  server.listen(daemonPaths.socket, () => onListening(manager, checkAutoExit));
22620
22624
  }
22621
22625
  function startWindowsBridge(manager) {
@@ -22642,7 +22646,7 @@ async function recoverFromAddrInUse(server, manager, checkAutoExit) {
22642
22646
  } catch {
22643
22647
  }
22644
22648
  }
22645
- server.listen(daemonPaths.socket, () => onListening(manager, checkAutoExit));
22649
+ listenWithSingleOnListening(server, manager, checkAutoExit);
22646
22650
  }
22647
22651
 
22648
22652
  // src/commands/sessions/daemon/runDaemon.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staff0rd/assist",
3
- "version": "0.330.4",
3
+ "version": "0.331.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {