You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
breaking: Rename WebAuthnClient.AllowCredential to WebAuthnClient.CredentialDescriptor, shared by allowCredential and the new excludeCredentials field on WebAuthnClient.CreateCredentialRequest. (#412)
Add an optional excludeCredentials list to createPasskeyWithPrfOutput, createSecretVaultWithNewPasskey, and the wagmi connector's connect({ create }), along with the new PASSKEY_EXISTS error code. When excludeCredentials is non-empty and the authenticator already holds one of those passkeys, both the browser and React Native clients reject with PASSKEY_EXISTS instead of creating a duplicate. (#412)
Add getCredential() to the mera() wagmi connector, returning the connected account's PasskeyCredentialMetadata while connected (including when wagmi's storage is null) or undefined when disconnected. (#412)
Set MeraError.credential to the created passkey's PasskeyCredentialMetadata when createPasskeyWithPrfOutput or createSecretVaultWithNewPasskey fails after the creation ceremony completes (including fallback-assertion, PRF-output, and vault-encryption failures). In the wagmi connector, a UserRejectedRequestError thrown when the fallback prompt is dismissed carries that MeraError as its cause. (#413)