NostrSystemEvent "event" id -> subId

This commit is contained in:
Martti Malmi 2024-01-03 12:26:09 +02:00
parent 43591c4ce6
commit d840f2b952

View File

@ -30,7 +30,7 @@ import { NostrConnectionPool } from "./nostr-connection-pool";
export interface NostrSystemEvents {
change: (state: SystemSnapshot) => void;
auth: (challenge: string, relay: string, cb: (ev: NostrEvent) => void) => void;
event: (id: string, ev: TaggedNostrEvent) => void;
event: (subId: string, ev: TaggedNostrEvent) => void;
}
export interface NostrsystemProps {