Options used for constructing an NRelay1 instance.
optional
backoff: Backoff | false
Configure reconnection strategy, or set to false to disable. Default: new ExponentialBackoff(1000).
optional
idleTimeout: number | false
How long to wait (in milliseconds) for the caller to create a subscription before closing the connection. Set to false to disable. Default: 30_000.
Respond to AUTH challenges by producing a signed kind 22242 event.
optional
verifyEvent(event: NostrEvent): boolean
Ensure the event is valid before returning it. Default: nostrTools.verifyEvent.
optional
log(log: NRelay1Log): void
Logger callback.