@bobfrankston/rmfmail 1.1.78 → 1.1.79

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.
Files changed (37) hide show
  1. package/.commitmsg +13 -6
  2. package/client/android-bootstrap.bundle.js +3 -0
  3. package/client/android-bootstrap.bundle.js.map +2 -2
  4. package/client/app.bundle.js +4 -0
  5. package/client/app.bundle.js.map +2 -2
  6. package/client/compose/compose.bundle.js +18 -5
  7. package/client/compose/compose.bundle.js.map +2 -2
  8. package/client/compose/spellcheck.js +23 -9
  9. package/client/compose/spellcheck.js.map +1 -1
  10. package/client/compose/spellcheck.ts +20 -8
  11. package/client/lib/api-client.js +3 -0
  12. package/client/lib/api-client.js.map +1 -1
  13. package/client/lib/api-client.ts +3 -0
  14. package/client/lib/mailxapi.js +6 -0
  15. package/docs/contacts.md +17 -8
  16. package/npmchanges.md +10 -0
  17. package/package.json +1 -1
  18. package/packages/mailx-service/index.d.ts +3 -0
  19. package/packages/mailx-service/index.d.ts.map +1 -1
  20. package/packages/mailx-service/index.js +9 -0
  21. package/packages/mailx-service/index.js.map +1 -1
  22. package/packages/mailx-service/index.ts +10 -0
  23. package/packages/mailx-service/jsonrpc.js +2 -0
  24. package/packages/mailx-service/jsonrpc.js.map +1 -1
  25. package/packages/mailx-service/jsonrpc.ts +2 -0
  26. package/packages/mailx-settings/docs/contacts.md +17 -8
  27. package/packages/mailx-store-web/package.json +1 -1
  28. package/packages/mailx-store-web/web-service.d.ts +1 -0
  29. package/packages/mailx-store-web/web-service.d.ts.map +1 -1
  30. package/packages/mailx-store-web/web-service.js +1 -0
  31. package/packages/mailx-store-web/web-service.js.map +1 -1
  32. package/packages/mailx-store-web/web-service.ts +1 -0
  33. package/packages/mailx-types/mailx-api.d.ts +1 -0
  34. package/packages/mailx-types/mailx-api.d.ts.map +1 -1
  35. package/packages/mailx-types/mailx-api.ts +1 -0
  36. package/packages/mailx-types/package.json +1 -1
  37. /package/packages/mailx-imap/{node_modules.npmglobalize-stash-66360 → node_modules.npmglobalize-stash-81260}/.package-lock.json +0 -0
package/.commitmsg CHANGED
@@ -1,7 +1,14 @@
1
- User dictionary: drop dead JSON-migration code, read cloud-first
1
+ Fix user-dictionary persistence; correct contacts.md
2
2
 
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.
3
+ User dictionary never reached the server: mailxapi.js (the desktop IPC
4
+ bridge) had no getUserDict/addUserDictWord methods, so api-client's
5
+ optional-chained calls silently no-op'd added words lived only in
6
+ localStorage. Added the four bridge methods, a bulk addUserDictWords
7
+ RPC, and a load-time reconcile in spellcheck.ts that pushes any
8
+ localStorage-only words up to userdict.csv so accumulated words are
9
+ recovered.
10
+
11
+ contacts.md: removed the stale `discovered` documentation — since Q150
12
+ the discovered set is a per-device local cache and is not written to or
13
+ synced via contacts.jsonc. Documented the cloud file as preferred +
14
+ denylist + groups (+ preserved hand-added keys).
@@ -6383,6 +6383,9 @@ ${bodyEncoded}`;
6383
6383
  async addUserDictWord(_word) {
6384
6384
  return [];
6385
6385
  }
6386
+ async addUserDictWords(_words) {
6387
+ return [];
6388
+ }
6386
6389
  async removeUserDictWord(_word) {
6387
6390
  return [];
6388
6391
  }