Applesauce
    Preparing search index...

    Type Alias NostrConnectSignerOptions

    NostrConnectSignerOptions: NostrConnectionMethodsOptions & {
        autoSwitchRelays?: boolean;
        bunkerSecret?: string;
        connectSecret?: string;
        metadata?: NostrConnectAppMetadata;
        onAuth?: (url: string) => Promise<void>;
        pubkey?: string;
        relays: string[];
        remote?: string;
        secret?: string;
        signer?: PrivateKeySigner;
        timeout?: number;
    }

    Type Declaration

    • OptionalautoSwitchRelays?: boolean

      Whether to send a switch_relays request after connecting (default false)

    • OptionalbunkerSecret?: string

      A secret used when connecting to a remote bunker (the secret in a bunker:// URI)

    • OptionalconnectSecret?: string

      A secret used when initiating the connection from the client side (the secret in a nostrconnect:// URI)

    • Optionalmetadata?: NostrConnectAppMetadata

      Client metadata sent with connect requests and used for the nostrconnect:// URI

    • OptionalonAuth?: (url: string) => Promise<void>

      A method for handling "auth" requests

    • Optionalpubkey?: string

      Users pubkey

    • relays: string[]

      The relays to communicate over

    • Optionalremote?: string

      pubkey of the remote signer application

    • Optionalsecret?: string

      Use connectSecret instead

    • Optionalsigner?: PrivateKeySigner

      A PrivateKeySigner for this client

    • Optionaltimeout?: number

      Milliseconds to wait for a response before rejecting a request (default 60s, 0 to disable)