@bobfrankston/mailx 1.0.103 → 1.0.104

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.103",
3
+ "version": "1.0.104",
4
4
  "description": "Local-first email client with IMAP sync and standalone native app",
5
5
  "type": "module",
6
6
  "main": "bin/mailx.js",
@@ -59,7 +59,7 @@ const db = new MailxDB(dbDir);
59
59
  const imapManager = new ImapManager(db);
60
60
  // Native IMAP client has connection leak — logout() doesn't reliably close sockets.
61
61
  // Use legacy imapflow by default until fixed. --native-imap to test.
62
- if (process.argv.includes("--native-imap") || process.argv.includes("-native-imap")) {
62
+ if (process.argv.includes("--native-imap") || process.argv.includes("-native-imap") || process.env.MAILX_NATIVE_IMAP) {
63
63
  imapManager.useNativeClient = true;
64
64
  console.log(" Using native IMAP client (transport-agnostic)");
65
65
  }
package/rebuild.cmd CHANGED
@@ -1,4 +1,7 @@
1
+ setlocal
2
+ set MAILX_NATIVE_IMAP=1
1
3
  cld
2
4
  call npmglobalize
3
5
  call killmail.cmd
4
6
  launch.ps1
7
+ endlocal