Skip to content

Commit

Permalink
chore(resolver): update unstoppable supported domains list
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed Apr 18, 2024
1 parent aad6846 commit 3f161ee
Showing 1 changed file with 26 additions and 20 deletions.
46 changes: 26 additions & 20 deletions packages/resolver/src/adapters/unstoppable/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit 3f161ee

Please sign in to comment.