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