@bobfrankston/mailx 1.0.209 → 1.0.210

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/bin/bin/mailx.js CHANGED
@@ -31,7 +31,7 @@ const isDaemon = hasFlag("daemon"); // internal: re-spawned detached process
31
31
  // Auto-detach: re-spawn as background process so terminal returns immediately
32
32
  // Skip for: --verbose (want console), --daemon (already detached),
33
33
  // and any command flags (setup, kill, test, etc.)
34
- if (!verbose && !isDaemon && !process.argv.slice(2).some(a => /^-/.test(a) && !["--no-browser"].includes(a))) {
34
+ if (!verbose && !isDaemon && !process.argv.slice(2).some(a => /^-/.test(a))) {
35
35
  const { spawn } = await import("node:child_process");
36
36
  const child = spawn(process.execPath, [...process.argv.slice(1), "--daemon"], {
37
37
  detached: true,
@@ -607,7 +607,7 @@ async function registerClient(settings) {
607
607
  }
608
608
  }
609
609
  catch { /* ignore */ }
610
- // Read existing clients.jsonc from cloud
610
+ // Read existing clients.jsonc from cloud (may not exist yet — that's fine)
611
611
  let clients = {};
612
612
  try {
613
613
  const content = await cloudRead("clients.jsonc");
@@ -114,9 +114,7 @@ export async function cloudRead(filename) {
114
114
  }
115
115
  catch { /* ignore cache write failure */ }
116
116
  }
117
- else {
118
- lastCloudError = `Could not read ${filename} from ${pendingCloudConfig.provider} (check credentials)`;
119
- }
117
+ // Don't set error for missing files — they may not exist yet (e.g., clients.jsonc on first run)
120
118
  return content;
121
119
  }
122
120
  /** Write a file via cloud API */
@@ -323,6 +321,7 @@ function normalizeAccount(acct, globalName) {
323
321
  syncContacts: acct.syncContacts ?? (provider?.imap.auth === "oauth2"),
324
322
  relayDomains: acct.relayDomains,
325
323
  deliveredToPrefix: acct.deliveredToPrefix,
324
+ identityDomains: acct.identityDomains,
326
325
  };
327
326
  }
328
327
  // ── Defaults ──
@@ -1 +1 @@
1
- {"height":1344,"width":2151,"x":476,"y":58}
1
+ {"height":1344,"width":2151,"x":380,"y":46}
@@ -3,6 +3,9 @@
3
3
  "version": "1.0.13",
4
4
  "private": true,
5
5
  "type": "module",
6
+ "scripts": {
7
+ "build": "tsc"
8
+ },
6
9
  "dependencies": {
7
10
  "quill": "^2.0.0"
8
11
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/mailx",
3
- "version": "1.0.209",
3
+ "version": "1.0.210",
4
4
  "description": "Local-first email client with IMAP sync and standalone native app",
5
5
  "type": "module",
6
6
  "main": "bin/mailx.js",
@@ -24,7 +24,7 @@
24
24
  "@bobfrankston/iflow-node": "^0.1.2",
25
25
  "@bobfrankston/miscinfo": "^1.0.8",
26
26
  "@bobfrankston/oauthsupport": "^1.0.22",
27
- "@bobfrankston/msger": "^0.1.270",
27
+ "@bobfrankston/msger": "^0.1.272",
28
28
  "@capacitor/android": "^8.3.0",
29
29
  "@capacitor/cli": "^8.3.0",
30
30
  "@capacitor/core": "^8.3.0",