ERC725Alliance / erc725.js

Package to interact with ERC725 smart contracts
Apache License 2.0
38 stars 29 forks source link

Wrong return type for `fetchData` #208

Closed Hugoo closed 2 years ago

Hugoo commented 2 years ago

When I fetch profile await erc725.fetchData("LSP3Profile") it expect it will return DecodeDataOutput with value field. But value is typed as string | string[] | URLDataWithHash while in value I get profile object

LSP3Profile: {
...
}

https://app.clickup.com/t/2mrqbvr

CallumGrindle commented 2 years ago

This is duplicate of #192

Hugoo commented 2 years ago

Ok good point - sorry ! Let's close this one then.