fix: senderId removed in Electron 28 (#171)
* Accepting ipc events without senderId Since the property has been removed with Electron 28 * Access senderId on cast event object to be compatible with Electron 28, where "senderId" is removed from IpcRendererEvent * fix type error * Implement interface for missing senderId check * replace process.mainModule with a while loop to get the topmost parent * disable test using removed APIs * split the codepaths for electron 28 and electron < 28 * prefix comment for skipped test with TODO * chore: formatting --------- Co-authored-by: Jeremy Rose <nornagon@nornagon.net> Co-authored-by: Kilian Valkhof <kilian@kilianvalkhof.com> Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
Loading
Please register or sign in to comment