Skip to content

Commit

Permalink
fix(common): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyTseng committed Feb 13, 2024
1 parent 64d4ac9 commit bb960a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/common/src/interfaces/common.interface.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export type EventId = string;
export type Pubkey = string;
export type Siganature = string;
export type Signature = string;
export type Tag = string[];

export type SubscriptionId = string;
4 changes: 2 additions & 2 deletions packages/common/src/interfaces/event.interface.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EventId, Pubkey, Siganature, Tag } from './common.interface';
import { EventId, Pubkey, Signature, Tag } from './common.interface';

export interface Event {
id: EventId;
Expand All @@ -7,7 +7,7 @@ export interface Event {
kind: number;
tags: Tag[];
content: string;
sig: Siganature;
sig: Signature;
}

export type EventHandleResult = {
Expand Down

0 comments on commit bb960a8

Please sign in to comment.