From 6e2508063b12e38206ee34c4519dfa7584873f8e Mon Sep 17 00:00:00 2001 From: "P. Reis" Date: Mon, 16 Sep 2024 13:10:10 -0300 Subject: [PATCH] feat(DittoEvent): add zapped, zap_sender & zap_amount --- src/interfaces/DittoEvent.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/interfaces/DittoEvent.ts b/src/interfaces/DittoEvent.ts index 2f2aef26..53c0d553 100644 --- a/src/interfaces/DittoEvent.ts +++ b/src/interfaces/DittoEvent.ts @@ -37,4 +37,9 @@ export interface DittoEvent extends NostrEvent { reported_notes?: DittoEvent[]; /** Admin event relationship. */ info?: DittoEvent; + /** Kind 1 being zapped */ + zapped?: DittoEvent; + /** Kind 0 or pubkey that zapped */ + zap_sender?: DittoEvent | string; + zap_amount?: number; }