This major release removes key validation and the all-keyboardevent-keys
dependency. The main onKey
function is now the default export from the package.
If you wish to continue to use this pacakge with the KEY
constant, revert to ^0.0.7
or add all-keyboardevent-keys
as a separate dependency.