From 3f161ee8d7250659742ef06d23b0c49bab635407 Mon Sep 17 00:00:00 2001 From: Javier Bueno Date: Thu, 18 Apr 2024 17:01:19 +0200 Subject: [PATCH] chore(resolver): update unstoppable supported domains list --- .../resolver/src/adapters/unstoppable/api.ts | 46 +++++++++++-------- 1 file changed, 26 insertions(+), 20 deletions(-) diff --git a/packages/resolver/src/adapters/unstoppable/api.ts b/packages/resolver/src/adapters/unstoppable/api.ts index bde4770df9..ffd3f788ce 100644 --- a/packages/resolver/src/adapters/unstoppable/api.ts +++ b/packages/resolver/src/adapters/unstoppable/api.ts @@ -107,27 +107,33 @@ const UnstoppableApiGeneralResponseSchema = z.object({ // curl https://api.unstoppabledomains.com/resolve/supported_tlds export const unstoppableSupportedTlds = [ - '.x', - '.polygon', - '.nft', - '.crypto', - '.blockchain', - '.bitcoin', - '.dao', - '.888', - '.wallet', - '.binanceus', - '.hi', - '.klever', - '.kresus', - '.anime', - '.manga', - '.go', - '.altimist', - '.unstoppable', - '.zil', - '.eth', + 'x', + 'polygon', + 'nft', + 'crypto', + 'blockchain', + 'bitcoin', + 'dao', + '888', + 'wallet', + 'binanceus', + 'hi', + 'klever', + 'kresus', + 'anime', + 'manga', + 'go', + 'altimist', + 'pudgy', + 'unstoppable', + 'austin', + 'bitget', + 'pog', + 'clay', + 'zil', + 'eth', ] as const + export const isUnstoppableDomain = (value: string) => { return unstoppableSupportedTlds.some((tld) => value.endsWith(tld)) }