@bobfrankston/rmfmail 1.2.272 → 1.2.274
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/client/android-bootstrap.bundle.js +15 -0
- package/client/android-bootstrap.bundle.js.map +2 -2
- package/client/app.bundle.js +112 -8
- package/client/app.bundle.js.map +4 -4
- package/client/app.js +19 -0
- package/client/app.js.map +1 -1
- package/client/app.ts +20 -0
- package/client/components/message-list.js +9 -1
- package/client/components/message-list.js.map +1 -1
- package/client/components/message-list.ts +9 -1
- package/client/components/message-viewer.js +40 -2
- package/client/components/message-viewer.js.map +1 -1
- package/client/components/message-viewer.ts +37 -2
- package/client/compose/compose.bundle.js +4 -0
- package/client/compose/compose.bundle.js.map +2 -2
- package/client/lib/api-client.js +6 -0
- package/client/lib/api-client.js.map +1 -1
- package/client/lib/api-client.ts +6 -0
- package/client/lib/approved-senders.js +66 -0
- package/client/lib/approved-senders.js.map +1 -0
- package/client/lib/approved-senders.ts +63 -0
- package/client/lib/mailxapi.js +3 -0
- package/client/package.json +1 -1
- package/package.json +5 -5
- package/packages/mailx-service/index.d.ts +15 -0
- package/packages/mailx-service/index.d.ts.map +1 -1
- package/packages/mailx-service/index.js +18 -0
- package/packages/mailx-service/index.js.map +1 -1
- package/packages/mailx-service/index.ts +19 -0
- package/packages/mailx-service/jsonrpc.js +2 -0
- package/packages/mailx-service/jsonrpc.js.map +1 -1
- package/packages/mailx-service/jsonrpc.ts +2 -0
- package/packages/mailx-service/package.json +1 -1
- package/packages/mailx-store-web/android-bootstrap.js +1 -0
- package/packages/mailx-store-web/android-bootstrap.js.map +1 -1
- package/packages/mailx-store-web/android-bootstrap.ts +1 -0
- package/packages/mailx-store-web/package.json +1 -1
- package/packages/mailx-store-web/web-service.d.ts +11 -0
- package/packages/mailx-store-web/web-service.d.ts.map +1 -1
- package/packages/mailx-store-web/web-service.js +14 -0
- package/packages/mailx-store-web/web-service.js.map +1 -1
- package/packages/mailx-store-web/web-service.ts +15 -0
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-72180 → node_modules.npmglobalize-stash-31304}/.package-lock.json +0 -0
|
@@ -6403,6 +6403,20 @@ var WebMailxService = class _WebMailxService {
|
|
|
6403
6403
|
await this.syncManager.updateFlagsLocal(accountId, uid, envelope?.folderId || 0, flags);
|
|
6404
6404
|
}
|
|
6405
6405
|
// ── Remote content allow-list ──
|
|
6406
|
+
/** Read side of the shared allowlist, so the UI can ask whether a sender
|
|
6407
|
+
* has been vouched for. Mirrors MailxService.getAllowlist — the desktop
|
|
6408
|
+
* and Android halves must answer the same question the same way, or the
|
|
6409
|
+
* display-name warning would differ between them. */
|
|
6410
|
+
async getAllowlist() {
|
|
6411
|
+
const list = await loadAllowlist() || {};
|
|
6412
|
+
return {
|
|
6413
|
+
senders: list.senders || [],
|
|
6414
|
+
domains: list.domains || [],
|
|
6415
|
+
recipients: list.recipients || [],
|
|
6416
|
+
flaggedSenders: list.flaggedSenders || [],
|
|
6417
|
+
flaggedDomains: list.flaggedDomains || []
|
|
6418
|
+
};
|
|
6419
|
+
}
|
|
6406
6420
|
async allowRemoteContent(type, value) {
|
|
6407
6421
|
await updateAllowlist((list) => {
|
|
6408
6422
|
if (type === "sender" && !list.senders.includes(value))
|
|
@@ -11868,6 +11882,7 @@ function installBridge() {
|
|
|
11868
11882
|
await service.allowRemoteContent(type, value);
|
|
11869
11883
|
return { ok: true };
|
|
11870
11884
|
},
|
|
11885
|
+
getAllowlist: () => service.getAllowlist(),
|
|
11871
11886
|
flagSenderOrDomain: async (type, value) => {
|
|
11872
11887
|
return await service.flagSenderOrDomain(type, value);
|
|
11873
11888
|
},
|