Notification Link
This release adds an extra optional parameter to the wallet customization object so that notifications can easily be turned in to a link. Simply add a link parameter to the object that is returned from an emitter callback with the url you would like the link to direct to:
emitter.on('txConfirmed', transaction => {
return {
link: `https://etherscan.io/tx/${transaction.hash}`
}
})
Also included in this release is a bugfix so that clicks on the "x" of a notification won't trigger the onclick
handler or the new link
parameter.
Changelog: