diff --git a/core.ts b/core.ts index 5b5254b..a92b824 100644 --- a/core.ts +++ b/core.ts @@ -23,8 +23,6 @@ export type NostrEvent = Event export type EventTemplate = Pick export type UnsignedEvent = Pick -export type Nip05 = `${string}@${string}` - /** An event whose signature has been verified. */ export interface VerifiedEvent extends Event { [verifiedSymbol]: true diff --git a/nip05.ts b/nip05.ts index 2ccbb53..2922453 100644 --- a/nip05.ts +++ b/nip05.ts @@ -1,6 +1,7 @@ -import { Nip05 } from './core.ts' import { ProfilePointer } from './nip19.ts' +export type Nip05 = `${string}@${string}` + /** * NIP-05 regex. The localpart is optional, and should be assumed to be `_` otherwise. *