@bobfrankston/rmfmail 1.1.76 → 1.1.78

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/.commitmsg CHANGED
@@ -1,8 +1,7 @@
1
- Require Node.js >= 24.2.0 and enforce it at install + launch
1
+ User dictionary: drop dead JSON-migration code, read cloud-first
2
2
 
3
- Added "engines" to package.json and a hard version guard in both
4
- postinstall.ts (fails the install) and bin/mailx.ts (fails at launch).
5
- Floor is 24.2.0 because node:sqlite must work flag-free (Node 24) and
6
- the code targets import.meta.main (Node 24.2). engines alone only warns;
7
- the guards stop an unsupported runtime with a clear message instead of a
8
- cryptic crash. Also: setup screen note that a Gmail account is needed.
3
+ There were no pre-existing dictionaries to convert, so the legacy
4
+ userdict.jsonc fallback in loadUserDict/saveUserDict is removed. loadUserDict
5
+ is now async and reads the cloud userdict.csv first (so a fresh machine
6
+ picks up prior words), falling back to the local cache. Service
7
+ getUserDict/addUserDictWord/removeUserDictWord await accordingly.
@@ -6374,7 +6374,7 @@ ${bodyEncoded}`;
6374
6374
  return this.notImpl("deleteTask");
6375
6375
  }
6376
6376
  // User dictionary (cloud-mirrored) — Android can implement these via
6377
- // the same userdict.jsonc cloud round-trip the desktop uses; until that
6377
+ // the same userdict.csv cloud round-trip the desktop uses; until that
6378
6378
  // wire-up lands, return safe defaults so spellcheck.ts catch() paths
6379
6379
  // don't fire and clutter logs.
6380
6380
  async getUserDict() {