@bobfrankston/rmfmail 1.2.126 → 1.2.127

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.
@@ -46,6 +46,7 @@ __export(api_client_exports, {
46
46
  deleteTask: () => deleteTask,
47
47
  drainStoreSync: () => drainStoreSync,
48
48
  emptyFolder: () => emptyFolder,
49
+ fetchImageAsDataUri: () => fetchImageAsDataUri,
49
50
  flagSenderOrDomain: () => flagSenderOrDomain,
50
51
  formatJsonc: () => formatJsonc,
51
52
  getAccounts: () => getAccounts,
@@ -648,6 +649,10 @@ function closeComposePopout(id) {
648
649
  const fn = ipc().closeComposePopout;
649
650
  return fn ? fn(id) : Promise.resolve({ ok: false });
650
651
  }
652
+ function fetchImageAsDataUri(url) {
653
+ const fn = ipc().fetchImageAsDataUri;
654
+ return fn ? fn(url) : Promise.resolve({ error: "no bridge" });
655
+ }
651
656
  async function popoutMainWindow(accountId, folderId, name) {
652
657
  const fn = ipc().popoutMainWindow;
653
658
  if (!fn)