@rize-labs/banana-passkey-manager
Version:
Passkey management module by Banana Team
5 lines (4 loc) • 467 B
TypeScript
import { IWebAuthnRegistrationResponse, ISignatureResponse, IWebAuthnSignatureRequest } from "./types/WebAuthnTypes";
export declare const register: () => Promise<IWebAuthnRegistrationResponse>;
export declare const checkAuth: (message: string, encodedId: string, eoaAddress: [string, string]) => Promise<boolean>;
export declare const signMessageViaPassKeys: ({ message, encodedId, isMessageSignedNeeded }: IWebAuthnSignatureRequest) => Promise<ISignatureResponse>;