move Nip05 type to nip05.ts

This commit is contained in:
fiatjaf
2024-09-09 14:23:03 -03:00
parent 13ac04b8f8
commit 23d95acb26
2 changed files with 2 additions and 3 deletions

View File

@@ -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.
*