Skip to content

3.0.1

Latest
Compare
Choose a tag to compare
@Hill-98 Hill-98 released this 06 Nov 12:56
· 1 commit to main since this release

Breaking

  • The controller class is now split into IpcClientController and IpcServerController

New

  • IpcClientController and IpcServerController can set an event handler object when constructing, you can also set the event handler object later in the listeners property.
  • IpcServerController can set an functions handler object when constructing, you can also set the functions handler object later in the handlers property.
  • IpcServerController's TrustHandler and WebContentsGetter support return a non-Promise value.
  • IpcServerController now has a sendToFrame method.
  • preloadInit now supports setting isolatedWorldId.

Fix

  • Global event listeners inside controllers were not removed correctly.

Misc

  • More complete testing
  • Better debug messages
  • Simplify TypeScript type declarations
  • Use biome formatter and linter