allow skipping signature verification.

This commit is contained in:
fiatjaf
2022-08-05 16:35:56 -03:00
parent 821a8f7895
commit 9f9e822c6d
3 changed files with 8 additions and 4 deletions

1
index.d.ts vendored
View File

@@ -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):
};