createAccount
Authenticates the user by either email or passkey account creation flow. Emits events during the process.
Import
Usage
Parameters
params
CreateAccountParams
The parameters for creating an account, including the type (email or passkey) and additional details.
Returns
Promise<SignupResponse>
A promise that resolves with the response object containing the account creation result.