Releases: thirdweb-dev/web3-onboard
Update Dependencies
Just a small release to update some dependencies and a minor change that adds the bn-onboard-custom
class to center justified buttons within modals.
Changelog:
WalletConnect Update
WalletConnect Mobile
Various Fixes
This release just has a few small fixes. One notable change is the z-index
property has been removed from all of the modals as it made the onboard connect modal appear in front of the Torus login modal. If you would like to restore the z-index
setting from previous releases, then you can add the following to your css:
.bn-onboard-custom.bn-onboard-modal {
z-index: 99;
}
Changelog:
Authereum Options
This release has a couple of small changes. First the Authereum wallet module now exposes all of the Authereum initialization options, notably the new apiKey
option.
The other included change is to add a class to a centered position button in the wallet select and wallet check modals so that it can be easily targeted for custom styling.
Changelog:
Ledger Fix
Just a small release to fix a bug that affected Ledger hardware wallets when trying to connect to the Ledger Live path.
Changelog:
- Fix: Ledger Live Transport (#363)
Authereum Update
A small release that updates the Authereum dependency to allow Authereum to work in Rollup builds and to fix a small memory leak when the Authereum instance is destroyed.
Changelog:
- Enhancement: Update Authereum Dependency (#360)
Fortmatic Dashboard
Just a small release to add the dashboard
function to the Fortmatic wallet module and to fix the Coinbase wallet logo not rendering correctly.
Changelog:
- Enhancement: Add Fortmatic Dashboard (#356)
- Fix: Coinbase Logo
Assorted Fixes
This release just has a few small fixes and enhancements.
In Electron apps, selecting Ledger wallet would leave the UI hanging if the device wasn't connected and unlocked. A fix was added so that the Ledger transport is initialized at a later time allowing it to be selected without having it connected.
The wallet check modals weren't able to be customized due to some incorrect validation logic. That has now been fixed so that you can now customize the following in the wallet check initialization objects:
import Onboard from 'bnc-onboard'
const onboard = Onboard({
walletCheck: [
{
checkName: 'connect',
heading: 'Your Custom Heading',
description: 'Your custom description',
icon: 'Your custom icon string',
html: '<p>Some extra custom markup that will be displayed under the description</p>' ,
button: {
text: 'Custom button text',
onclick: () => alert('You clicked the custom button')
}
},
{ checkName: 'network' },
{ checkName: 'balance', minimumBalance: '100000' },
]
})
Changelog:
WalletLink
This release adds WalletLink to the list of wallet modules that Onboard supports out of the box. To add wallet link to your app, just add the following wallet initialization object to your Onboard config wallets array:
//... other config options
walletSelect: {
wallets: [
{ walletName: 'walletLink', rpcUrl: '<RPC_URL>' }
]
}
Also included in this release is the Trezor Connect library has been updated to v8 which includes a fix that will allow it to work in Electron apps.
Changelog: