@bobfrankston/mailx 1.0.123 → 1.0.125
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/blowaway.cmd +3 -0
- package/package.json +2 -2
- package/packages/mailx-imap/index.js +0 -7
package/blowaway.cmd
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bobfrankston/mailx",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.125",
|
|
4
4
|
"description": "Local-first email client with IMAP sync and standalone native app",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "bin/mailx.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"postinstall": "node launcher/builder/postinstall.js"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@bobfrankston/iflow": "^1.0.
|
|
23
|
+
"@bobfrankston/iflow": "^1.0.49",
|
|
24
24
|
"@bobfrankston/miscinfo": "^1.0.7",
|
|
25
25
|
"@bobfrankston/oauthsupport": "^1.0.20",
|
|
26
26
|
"@bobfrankston/rust-builder": "^0.1.3",
|
|
@@ -497,7 +497,6 @@ export class ImapManager extends EventEmitter {
|
|
|
497
497
|
// Legacy fallback removed — was doubling connections.
|
|
498
498
|
// If native client has issues, set useNativeClient=false or use --legacy-imap flag.
|
|
499
499
|
await client.logout();
|
|
500
|
-
this.trackLogout(accountId);
|
|
501
500
|
client = null;
|
|
502
501
|
accountFolders.set(accountId, folders);
|
|
503
502
|
// Sync inbox immediately
|
|
@@ -510,7 +509,6 @@ export class ImapManager extends EventEmitter {
|
|
|
510
509
|
new Promise((_, reject) => setTimeout(() => reject(new Error("Sync timeout (60s)")), 60000))
|
|
511
510
|
]);
|
|
512
511
|
await client.logout();
|
|
513
|
-
this.trackLogout(accountId);
|
|
514
512
|
client = null;
|
|
515
513
|
}
|
|
516
514
|
catch (e) {
|
|
@@ -626,7 +624,6 @@ export class ImapManager extends EventEmitter {
|
|
|
626
624
|
await client.logout();
|
|
627
625
|
}
|
|
628
626
|
catch { /* */ }
|
|
629
|
-
this.trackLogout(accountId);
|
|
630
627
|
client = this.createClient(accountId);
|
|
631
628
|
}
|
|
632
629
|
}
|
|
@@ -714,7 +711,6 @@ export class ImapManager extends EventEmitter {
|
|
|
714
711
|
client = this.createClient(accountId);
|
|
715
712
|
const count = await client.getMessagesCount("INBOX");
|
|
716
713
|
await client.logout();
|
|
717
|
-
this.trackLogout(accountId);
|
|
718
714
|
client = null;
|
|
719
715
|
const prev = this.lastInboxCounts.get(accountId) ?? count;
|
|
720
716
|
this.lastInboxCounts.set(accountId, count);
|
|
@@ -723,7 +719,6 @@ export class ImapManager extends EventEmitter {
|
|
|
723
719
|
client = this.createClient(accountId);
|
|
724
720
|
await this.syncFolder(accountId, inbox.id, client);
|
|
725
721
|
await client.logout();
|
|
726
|
-
this.trackLogout(accountId);
|
|
727
722
|
client = null;
|
|
728
723
|
}
|
|
729
724
|
}
|
|
@@ -1267,7 +1262,6 @@ export class ImapManager extends EventEmitter {
|
|
|
1267
1262
|
await client.logout();
|
|
1268
1263
|
}
|
|
1269
1264
|
catch { }
|
|
1270
|
-
this.trackLogout(accountId);
|
|
1271
1265
|
return;
|
|
1272
1266
|
}
|
|
1273
1267
|
const sendingFlag = `$Sending-${this.hostname}`;
|
|
@@ -1373,7 +1367,6 @@ export class ImapManager extends EventEmitter {
|
|
|
1373
1367
|
await client.logout();
|
|
1374
1368
|
}
|
|
1375
1369
|
catch { /* ignore */ }
|
|
1376
|
-
this.trackLogout(accountId);
|
|
1377
1370
|
}
|
|
1378
1371
|
}
|
|
1379
1372
|
/** Start background Outbox worker — runs immediately then every 10 seconds */
|