alchemyplatform/alchemy-web3

Incorrect types for NftMedia

Closed this issue · 1 comments

Network: Ethereum
API request: getNFTs

Easiest way to replicate: /getNFTs on wallet address 0x2bdeA27111B606551a1D3c19c0e8c73e0081ecBA (I guess that any wallet would do)

The types defined in @alch/alchemy-web3 v1.4.2 are media.uri.gateway and media.uri.raw where as the API returns media.gateway and media.raw

Thanks!

@alex-lighthouse Thanks for catching this! Will have this fixed in an upcoming release.