Skip to content

Commit

Permalink
fix unsignedevent type
Browse files Browse the repository at this point in the history
  • Loading branch information
shuesken committed Aug 11, 2024
1 parent fe23bb2 commit 6b06c30
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ export type MaybeLocalStorage = Partial<WindowLocalStorage>;

export type NostrEvent = nostrify.NostrEvent;

export type UnsignedEvent = Omit<NostrEvent, "created_at" | "pubkey">;
export type UnsignedEvent = Omit<
NostrEvent,
"created_at" | "pubkey" | "id" | "sig"
>;

export type Note = {
id: string;
Expand Down

0 comments on commit 6b06c30

Please sign in to comment.