ProtectedlastCommand
lastCommand: Deferred<string> | null = null
Protectedlog
log: Debugger = ...
nip04
nip04: {
decrypt: (pubkey: string, ciphertext: string) => Promise<string>;
encrypt: (pubkey: string, plaintext: string) => Promise<string>;
}
Optionalpubkey
pubkey?: string
verifyEvent
verifyEvent: (event: Event) => event is VerifiedEvent = verifyEvent Protectedwriter
writer: WritableStreamDefaultWriter<string> | null = null
StaticMETHOD_LOG
METHOD_LOG: string = "/log"
StaticMETHOD_PING
METHOD_PING: string = "/ping"
StaticMETHOD_PUBLIC_KEY
METHOD_PUBLIC_KEY: string = "/public-key"
StaticMETHOD_RESTORE
METHOD_RESTORE: string = "/restore"
StaticMETHOD_SHARED_SECRET
METHOD_SHARED_SECRET: string = "/shared-secret"
StaticMETHOD_SIGN_MESSAGE
METHOD_SIGN_MESSAGE: string = "/sign-message"
StaticPUBLIC_METHODS
PUBLIC_METHODS: string[] = ...
StaticSUPPORTED
SUPPORTED: boolean = ...
A signer that works with nostr-signing-device