Changelog
5.0.0 (2020-05-06)
Prior to this change a call to the resolver with a path like this:
resolver.resolve(blob, '/a/b/c/d')
would just return the blob
and an empty remainder path.
With this commit, it will throw an Error as there is no such path.
<a name="4.0.1"></a>
Changelog
4.0.0 (2019-05-10)
Previous versions returned a base58 encoded string when toString()
/
toBaseEncodedString()
was called on a CIDv1. It now returns a base32
encoded string.
<a name="3.0.0"></a>
Changelog
3.0.0 (2019-05-08)
There are numerous changes, the most significant one is that the API is no longer callback based, but it using async/await.
For the full new API please see the [IPLD Formats spec].
<a name="2.0.1"></a>
Changelog
2.0.0 (2018-02-12)
resolve
need to
pass in the binary data instead of an IPFS block.So if your input is an IPFS block, the code changes from
resolver.resolve(block, path, (err, result) => {…}
to
resolver.resolve(block.data, path, (err, result) => {…}
<a name="1.0.7"></a>