Protected
lastCommand
lastCommand: null | Deferred<string> = null
Protected
log
log: Debugger = ...
Optional
nip04
nip04?: {
decrypt: ((pubkey: string, ciphertext: string) => string | Promise<string>);
encrypt: ((pubkey: string, plaintext: string) => string | Promise<string>);
}
Optional
pubkey
pubkey?: string
verifyEvent
verifyEvent: ((event: Event) => event is VerifiedEvent) = verifyEvent
Protected
writer
writer: null | WritableStreamDefaultWriter<string> = null
Static
METHOD_LOG
METHOD_LOG: string = "/log"
Static
METHOD_PING
METHOD_PING: string = "/ping"
Static
METHOD_PUBLIC_KEY
METHOD_PUBLIC_KEY: string = "/public-key"
Static
METHOD_SHARED_SECRET
METHOD_SHARED_SECRET: string = "/shared-secret"
Static
METHOD_SIGN_MESSAGE
METHOD_SIGN_MESSAGE: string = "/sign-message"
Static
PUBLIC_METHODS
PUBLIC_METHODS: string[] = ...
Static
SUPPORTED
SUPPORTED: boolean = !!navigator.serial
A signer that works with nostr-signing-device