NostrSystemEvent "event" id -> subId
This commit is contained in:
@ -30,7 +30,7 @@ import { NostrConnectionPool } from "./nostr-connection-pool";
|
|||||||
export interface NostrSystemEvents {
|
export interface NostrSystemEvents {
|
||||||
change: (state: SystemSnapshot) => void;
|
change: (state: SystemSnapshot) => void;
|
||||||
auth: (challenge: string, relay: string, cb: (ev: NostrEvent) => void) => 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 {
|
export interface NostrsystemProps {
|
||||||
|
Reference in New Issue
Block a user