UNPKG

accounts

Version:

Tempo Accounts SDK

23 lines 950 B
import type * as Adapter from '../core/Adapter.js'; /** * Creates a Privy adapter wired to `@privy-io/react-auth`. * * Mount {@link PrivyAccountsBridge} under Privy's `PrivyProvider` in the same * React tree. The bridge owns Privy's login modal, hook state, and embedded * wallet selection for this adapter. */ export declare function privy(options?: privy.Options): Adapter.Adapter; /** Mounts the React boundary needed by {@link privy}. */ export declare function PrivyAccountsBridge(): null; export declare namespace privy { /** Options for {@link privy}. */ type Options = { /** Data URI of the provider icon. @default Black 1×1 SVG. */ icon?: `data:image/${string}` | undefined; /** Display name of the provider. @default "Privy" */ name?: string | undefined; /** Reverse DNS identifier. @default "io.privy" */ rdns?: string | undefined; }; } //# sourceMappingURL=privy.d.ts.map