Hi,
Currently working on a plug-in which requires some interaction between the main process and the renderer process. I was aiming to simply using ipcMain, but it seems the ipcRenderer is no-longer exposed to the client, instead a “backend” wrapper is exposed. This backend has an explicit limit on the allowed events (see camunda-modeler/preload.js at b2b3be545a173d409e3d1a7f048f1400f4cec26e · camunda/camunda-modeler · GitHub)
I understand that this is due to some security concerns as mentioned here Arbitrary filesystem manipulation vulnerability introduced by IPC exposure · Issue #2143 · camunda/camunda-modeler · GitHub
However, I believe it would make sense to at least allow plug-in’s to register additional events. I don’t see any way of doing this. Any recommendations?