From 65412e5b85f9634ad359d2ab4674b0ec32cc4930 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sat, 6 Dec 2025 12:21:56 -0300 Subject: [PATCH] NostrEvent > Event. --- core.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core.ts b/core.ts index 4583dbe..39f3c58 100644 --- a/core.ts +++ b/core.ts @@ -8,7 +8,7 @@ export interface Nostr { /** Designates a verified event signature. */ export const verifiedSymbol = Symbol('verified') -export interface Event { +export type NostrEvent = { kind: number tags: string[][] content: string @@ -19,7 +19,7 @@ export interface Event { [verifiedSymbol]?: boolean } -export type NostrEvent = Event +export type Event = NostrEvent export type EventTemplate = Pick export type UnsignedEvent = Pick