^3.0.0
)yarn
(or another package manager that doesn’t install peer dependencies by default)
you may need to install these peer dependencies as well:theme
Prop Changeslight
, dark
, or a custom theme object with granular
control over the widget’s appearance.
Before:
chainID
Renamed to chainId
apiURL
Renamed to apiUrl
chainID
to chainId
, notably in the defaultRoute
prop.
Before:
Widget
.
connectedWallet
PropCallbackStore
Callback PropsonWalletConnected
, onWalletDisconnected
, onTransactionBroadcasted
, onTransactionComplete
, and onTransactionFailed
callback props aren’t currently supported.
persistWidgetState
Widget
persists state by default.
toasterProps
toasterProps
prop has been removed because the Widget
no longer generates notifications.
makeDestinationWallets
makeDestinationWallets
prop has been removed. The Widget
now automatically generates destination wallets from connected wallets or manual user entry.