@bobfrankston/mailx 1.0.87 → 1.0.88

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/mailx",
3
- "version": "1.0.87",
3
+ "version": "1.0.88",
4
4
  "description": "Local-first email client with IMAP sync and standalone native app",
5
5
  "type": "module",
6
6
  "main": "bin/mailx.js",
@@ -208,17 +208,6 @@ imapManager.on("accountError", (accountId, error, hint) => {
208
208
  });
209
209
  // ── Startup ──
210
210
  async function start() {
211
- // Check if another instance is already running on this port
212
- const net = await import("node:net");
213
- const portInUse = await new Promise((resolve) => {
214
- const s = net.createConnection({ port: PORT, host: "127.0.0.1" });
215
- s.once("connect", () => { s.destroy(); resolve(true); });
216
- s.once("error", () => resolve(false));
217
- });
218
- if (portInUse) {
219
- console.log(`mailx server already running on port ${PORT} — exiting`);
220
- process.exit(0);
221
- }
222
211
  console.log("mailx server starting...");
223
212
  // Seed contacts (fast — skips existing)
224
213
  const seeded = db.seedContactsFromMessages();