Skip to content

Commit

Permalink
feat: support for base emotes (#182)
Browse files Browse the repository at this point in the history
support for base emotes
  • Loading branch information
hugoArregui authored Feb 16, 2024
1 parent 369a255 commit e8fefa9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/resolvers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ export async function resolveLegacyDclUrl(uri: URL): Promise<DecentralandAssetId
return internalResolver(`urn:decentraland:off-chain:base-avatars:${path[0]}`)
}

if (host === 'base-emotes') {
return internalResolver(`urn:decentraland:off-chain:base-emotes:${path[0]}`)
}

if (tokenId && tokenIdPattern.test(tokenId)) {
return internalResolver(`urn:decentraland:ethereum:collections-v1:${host}:${path[0]}:${tokenId}`)
} else {
Expand Down

0 comments on commit e8fefa9

Please sign in to comment.