Implements

Constructors

  • Parameters

    Returns Nip46Signer

Properties

#commandQueue: Map<string, QueueObj> = ...
#conn?: Connection
#didInit: boolean = false
#insideSigner: EventSigner
#localPubkey: string
#log: Debugger = ...
#proto: string
#relay: string
#remotePubkey?: string
#token?: string

Accessors

  • get privateKey(): undefined | string
  • Returns undefined | string

  • get relays(): string[]
  • Returns string[]

  • get supports(): string[]
  • Returns string[]

Methods

  • Parameters

    • pk: string

    Returns Promise<string>

  • Returns Promise<unknown>

  • Parameters

    Returns Promise<void>

  • Type Parameters

    • T

    Parameters

    • method: string
    • params: any[]

    Returns Promise<T>

  • Parameters

    • payload: Nip46Request | Nip46Response
    • target: string

    Returns Promise<void>

  • Returns Promise<void>

  • Returns Promise<string[]>

  • Returns Promise<string>

  • Returns Promise<void>

  • Parameters

    • content: string
    • otherKey: string

    Returns Promise<string>

  • Parameters

    • content: string
    • key: string

    Returns Promise<string>

  • Parameters

    • content: string
    • otherKey: string

    Returns Promise<any>

  • Parameters

    • content: string
    • otherKey: string

    Returns Promise<string>

  • Parameters

    Returns Promise<any>

Generated using TypeDoc