import { contextBridge, ipcRenderer } from "electron"; import { CH } from "../shared/ipc"; const api = { reset: () => ipcRenderer.invoke(CH.reset), bump: (key) => ipcRenderer.invoke(CH.bump, key), idem: (opId) => ipcRenderer.invoke(CH.idem, opId), counts: () => ipcRenderer.invoke(CH.counts), info: () => ipcRenderer.invoke(CH.info), }; contextBridge.exposeInMainWorld("api", api); //# sourceMappingURL=index.js.map