Skip to content

2.0.0

Latest
Compare
Choose a tag to compare
@Hill-98 Hill-98 released this 25 Oct 20:57

The previous version could not set the global TrustHandler, now it has been moved to IpcController.TrustHandler.

Breaking

  • IpcController.callers rename to IpcController.calls
  • Now IpcBroadcastController does not have a default WebContentsGetter and needs to be set manually. The previous default WebContentsGetter was to get the webContents of all BrowserWindow.
  • The first parameter type of TrustHandler is now IpcController, which used to be the controller name (string)

Fix

  • IpcController event handler parameter type is incorrect
  • IpcController.#ipcMainEventListener no await async TrustHandler