From bb960a82ca9b719cad2361efdb24563a07de771f Mon Sep 17 00:00:00 2001 From: codytseng Date: Tue, 13 Feb 2024 15:55:20 +0800 Subject: [PATCH] fix(common): typo --- packages/common/src/interfaces/common.interface.ts | 2 +- packages/common/src/interfaces/event.interface.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/common/src/interfaces/common.interface.ts b/packages/common/src/interfaces/common.interface.ts index 9a43c81a..9cdd77f1 100644 --- a/packages/common/src/interfaces/common.interface.ts +++ b/packages/common/src/interfaces/common.interface.ts @@ -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; diff --git a/packages/common/src/interfaces/event.interface.ts b/packages/common/src/interfaces/event.interface.ts index 0b3e3dbe..32cab81f 100644 --- a/packages/common/src/interfaces/event.interface.ts +++ b/packages/common/src/interfaces/event.interface.ts @@ -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; @@ -7,7 +7,7 @@ export interface Event { kind: number; tags: Tag[]; content: string; - sig: Siganature; + sig: Signature; } export type EventHandleResult = {