UAuth Web3-Onboard Library
The @uauth/web3-onboard
package is a deprecated middleware library used for integrating UAuth with Blocknative BNC Onboard applications. For the latest Blocknative Web3-Onboard module, see @web3-onboard/uauth.
uauthBNCModule
The default export for the the @uauth/web3-onboard
library. Implements Web3 Onboard WalletInit
.
function uauthBNCModule(
options: ConstructorOptions,
): WalletInit
ConstructorOptions
The options object passed to uauthBNCModule.
interface ConstructorOptions {
uauth: UAuth
shouldLoginWithRedirect?: boolean
walletconnect: IWalletConnectProviderOptions
}
shouldLoginWithRedirect
If shouldLoginWithRedirect
is set to true
, the uauthBNCModule instance will use the uauth.login() method instead of the default, uauth.loginWithPopup().