Skip to content

global-shortcut-js v2.0.0-beta.3

Choose a tag to compare

@github-actions github-actions released this 01 May 12:42
e94b089

[2.0.0-beta.3]

  • 9c7eb359(#1244) Refactored APIs to introduce new pressed and released events:

    • Added ShortcutEvent and ShortcutState types in Rust.
    • Changed the handler function passed to GlobalShortcut::on_shortcut, GlobalShortcut::on_all_shortcuts and Builder::with_handler to take a 3rd argument of type ShortcutEvent.
    • Added ShortcutEvent interface in JS.
    • Changed ShortcutHandler type alias (which affects the JS register and registerAll APIs) to take ShortcutEvent instead of a string.
  • bd1ed590(#1237) Update to tauri beta.17.