From d840f2b95274b28e5bf4904c0e86c0a459e4104b Mon Sep 17 00:00:00 2001 From: Martti Malmi Date: Wed, 3 Jan 2024 12:26:09 +0200 Subject: [PATCH] NostrSystemEvent "event" id -> subId --- packages/system/src/nostr-system.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/system/src/nostr-system.ts b/packages/system/src/nostr-system.ts index 20570372..7f5dea1b 100644 --- a/packages/system/src/nostr-system.ts +++ b/packages/system/src/nostr-system.ts @@ -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 {