Changed
.on
method on the module instance,
passing the event name and a callback function as arguments.
You can just as easily remove the listener by calling the off
method on the module instance,
passing the event name and the same callback function as arguments.
once
method on the module
instance instead of on
.authInit
: Emitted when the user initializes authentication, but before it either completes or fails.authSuccess
: Emitted when the user successfully logs in.authFailed
: Emitted when the user fails to log in.loggedOut
: Emitted when the user logs out.userProfileUpdated
: Emitted when the user’s profile is updated.authenticatedUserChanged
: State change event for the authenticatedUser
variable.tokenChanged
: State change event for the token
variable.emailVerificationFinished
: Emitted when the email verification process is completed.smsVerificationFinished
: Emitted when the SMS verification process is completed.messageSigned
: Emitted when a message is signed.walletAdded
: Emitted when a wallet is added to the userWallets
variable.walletRemoved
: Emitted when a wallet is removed from the userWallets
variable.primaryChanged
: State change event for the primary
variable.userWalletsChanged
: State change event for the userWallets
variable.embeddedWalletCreated
: Emitted when an embedded wallet is created.hasWalletChanged
: State change event for the hasWallet
variable.evmChanged
: State change event for the evm
variable.solanaChanged
: State change event for the solana
variable.error
: Emitted when an error occurs.loadedChanged
: State change event for the loaded
variable.authFlowCancelled
: Emitted when the user cancels the authentication flow (closes it before completing it).authFlowClosed
: Emitted when the authentication flow is closed, regardless of whether it was successfully completed or not.authFlowOpened
: Emitted when the authentication flow is opened.