@bobfrankston/rmfmail 1.1.79 → 1.1.81

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 (38) hide show
  1. package/.commitmsg +20 -14
  2. package/client/android-bootstrap.bundle.js +5 -0
  3. package/client/android-bootstrap.bundle.js.map +2 -2
  4. package/client/app.bundle.js +32 -17
  5. package/client/app.bundle.js.map +3 -3
  6. package/client/app.js +8 -0
  7. package/client/app.js.map +1 -1
  8. package/client/app.ts +8 -0
  9. package/client/components/message-viewer.js +33 -20
  10. package/client/components/message-viewer.js.map +1 -1
  11. package/client/components/message-viewer.ts +32 -19
  12. package/client/compose/compose.bundle.js +5 -0
  13. package/client/compose/compose.bundle.js.map +2 -2
  14. package/client/lib/api-client.js +7 -0
  15. package/client/lib/api-client.js.map +1 -1
  16. package/client/lib/api-client.ts +8 -0
  17. package/client/lib/mailxapi.js +9 -0
  18. package/npmchanges.md +32 -0
  19. package/package.json +3 -3
  20. package/packages/mailx-service/index.d.ts +9 -0
  21. package/packages/mailx-service/index.d.ts.map +1 -1
  22. package/packages/mailx-service/index.js +26 -0
  23. package/packages/mailx-service/index.js.map +1 -1
  24. package/packages/mailx-service/index.ts +25 -0
  25. package/packages/mailx-service/jsonrpc.js +2 -0
  26. package/packages/mailx-service/jsonrpc.js.map +1 -1
  27. package/packages/mailx-service/jsonrpc.ts +2 -0
  28. package/packages/mailx-store-web/package.json +1 -1
  29. package/packages/mailx-store-web/web-service.d.ts +4 -0
  30. package/packages/mailx-store-web/web-service.d.ts.map +1 -1
  31. package/packages/mailx-store-web/web-service.js +3 -0
  32. package/packages/mailx-store-web/web-service.js.map +1 -1
  33. package/packages/mailx-store-web/web-service.ts +3 -0
  34. package/packages/mailx-types/mailx-api.d.ts +4 -0
  35. package/packages/mailx-types/mailx-api.d.ts.map +1 -1
  36. package/packages/mailx-types/mailx-api.ts +1 -0
  37. package/packages/mailx-types/package.json +1 -1
  38. /package/packages/mailx-imap/{node_modules.npmglobalize-stash-81260 → node_modules.npmglobalize-stash-76204}/.package-lock.json +0 -0
package/.commitmsg CHANGED
@@ -1,14 +1,20 @@
1
- Fix user-dictionary persistence; correct contacts.md
2
-
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).
1
+ Fix spurious attachment-open error + blocking alert that stalled sync
2
+
3
+ Three faults behind "failed to open" appearing after the file had
4
+ actually opened in Acrobat:
5
+
6
+ 1. The openAttachment IPC call used the default 30s ceiling. A cold
7
+ parse worker (14-25s) plus a 1.7 MB PDF blew past it, so the client
8
+ rejected even though the service succeeded. getAttachment/
9
+ openAttachment now get a 120s ceiling in mailxapi.js.
10
+
11
+ 2. On that spurious rejection the viewer ran the browser-only blob
12
+ fallback, whose atob() threw "string not correctly encoded". The
13
+ fallback now runs ONLY when openAttachment returns undefined (real
14
+ browser / --server mode); a genuine IPC failure is reported, not
15
+ retried via blob.
16
+
17
+ 3. The failure was shown with window.alert() — a modal that freezes the
18
+ WebView event loop, stalling IPC event delivery so sync looked
19
+ stopped. Replaced with a non-blocking banner via a mailx-alert
20
+ CustomEvent handled by app.ts showAlert().
@@ -6253,6 +6253,11 @@ ${bodyEncoded}`;
6253
6253
  async getAttachment(_accountId, _uid, _attachmentId, _folderId) {
6254
6254
  return this.notImpl("getAttachment");
6255
6255
  }
6256
+ // Android opens attachments via the native bridge (_nativeBridge.openAttachment),
6257
+ // not this service path — getAttachment + base64 hand-off covers it.
6258
+ async openAttachment(_accountId, _uid, _attachmentId, _folderId) {
6259
+ return this.notImpl("openAttachment");
6260
+ }
6256
6261
  // Spam / abuse
6257
6262
  async markAsSpamMessages(_accountId, _uids) {
6258
6263
  return this.notImpl("markAsSpamMessages");