Package: react-wallet-kit
- This function is idempotent: multiple calls with the same
publicKeywill always return the same user. - Attempts to find a user whose API keys include the given P-256 public key.
- If a matching user is found, it is returned as-is.
- If no matching user is found, a new user is created with the given public key as a P-256 API key.
object
required
v1User
required
A promise that resolves to the existing or newly created v1User.