DM styles update

This commit is contained in:
2023-08-24 15:25:54 +01:00
parent 0e7aefb036
commit e8e65c71cd
54 changed files with 411 additions and 142 deletions

View File

@ -164,7 +164,7 @@ export function bech32ToText(str: string) {
}
}
export async function fetchNip05Pubkey(name: string, domain: string, timeout = 2_000) {
export async function fetchNip05Pubkey(name: string, domain: string, timeout = 2_000): Promise<string | undefined> {
interface NostrJson {
names: Record<string, string>;
}