mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-10 00:58:51 +00:00
allow skipping signature verification.
This commit is contained in:
1
index.d.ts
vendored
1
index.d.ts
vendored
@@ -69,6 +69,7 @@ declare type SubscriptionCallback = (event: Event, relay: string) => void;
|
||||
declare type SubscriptionOptions = {
|
||||
cb: SubscriptionCallback,
|
||||
filter: Filter,
|
||||
skipVerification: boolean
|
||||
// TODO: thread through how `beforeSend` actually works before trying to type it
|
||||
// beforeSend(event: Event):
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user