diff --git a/gui/src/main/preload.ts b/gui/src/main/preload.ts index 94a9f181..f612e0d1 100644 --- a/gui/src/main/preload.ts +++ b/gui/src/main/preload.ts @@ -3,7 +3,7 @@ // SPDX-License-Identifier: GPL-3.0-only // -import { contextBridge, clipboard } from "electron"; +import { contextBridge, clipboard, contentTracing } from "electron"; import { promisify } from "util"; import grpc from "@grpc/grpc-js"; import daemonM from "../daemon/schema/daemon_pb"; @@ -303,6 +303,17 @@ contextBridge.exposeInMainWorld( } ); +contextBridge.exposeInMainWorld( + "getOutboxMessages", + async ( + getOutboxMessagesRequest: daemon_pb.GetOutboxMessagesRequest.AsObject + ): Promise => { + // unimplemented + console.error("getOutboxMessages not implemented"); + throw new Error("getOutboxMessages not implemented"); + } +); + contextBridge.exposeInMainWorld("getOutboxMessagesOLD", async () => { if (FAKE_DATA) { return [