Various Fixes
A small release that includes a few minor fixes and improvements.
Binance Smart Chain has been added as a network now that it is supported by the Blocknative server infrastructure. Passing in the networkId: 56
is all that is necessary. For all other unrecognized networks that get displayed with the network name unknown
, you can use the networkName
parameter when initializing Onboard:
const onboard = Onboard({
// ... other init options
networkId: 137,
networkName: 'Matic'
})
When Onboard is re-initialized in the same session, the WebSocket connection is now closed and the wallet interface is now reset(if one was selected on the previous instance) to ensure there are no extra socket connections or wallet instances hanging around.
A bug with KeepKey missing the preferred
property which prevented it from being included as one of the top 4 wallets has been also fixed.
Changelog: