Open brumik opened 2 years ago
Can you post a link to some docs? I don't know about this update.
In general, I'm always looking for enhancements to this project. But I feel that introducing this API will break existing projects, so we'll have to do a major release.
I don't think this is a breaking change, it's an extra function for the current release, I would call it a feature in schematic versioning.
Here is the post I found really useful, why is good to use the contextBridge
:
https://github.com/electron/electron/issues/9920#issuecomment-575839738
Since 2020 the security of the electron apps
requirerecommend a preload function. To use this lib with preload it could export the preload function. I am able to make the pull request, it is just a questions if I should?Export somehow this function
So the user can do: