Blocknative Assist widget for blockchain usability
With this release, you can now use ethers.js
versions ^4.0.20
and ^5.0-beta-137
in addition to our continuing web3.js
versions 0.20
and 1.0
support.
Also included is a new callback feature that allows you to handle notifications first before optionally passing them on to Assist's notification UI. This means you can use your own UI instead of what Assist provides, and/or update other elements of your Dapp based on notifications.
Details for the new callbacks can be found in the documentation at https://github.com/blocknative/assist/tree/master#handling-notifications
This release changes the stall event from an error
with a red notification and no continuing timer to a warning
with a yellow notification and a continuing timer. This reflects the fact that a stalled transaction may still complete.
Also included in this release is Truffle 4 contract support. Since Truffle 4 uses web3js 1.0 style contracts, we no longer support older Truffle contracts that still use web3js 0.20 style contracts. If you are using Assist with older Truffle contracts, please update to a newer version of Truffle.
Since more wallets are available in desktop browsers, either built into the browser (Opera) or via extensions (MetaMask, Dapper, etc.), we now support a more generic on-boarding flow.
For example, if on-boarding with no wallet installed, the initial step now looks like this since we no longer presume MetaMask as the target wallet to install:
If MetaMask is then installed, the remaining steps use our existing MM specific guidance. If a different wallet is installed, subsequent guidance will not include the MM specific images or reference MM in the instructions.
This release also improves accessibility by supporting the esc
key to dismiss modal dialogs. Use of truffle contracts is made easier by detecting them automatically so the developer does not need to explicitly declare truffle contract use in the configuration. And stall notifications now support a custom timeout in the config, so you can increase the time before show stalls on mainnet. The default is 30 seconds.
esc
key (#271)This release adds:
This minor release fixes a regression with 0.8.4
:
Number