decentralized-identity / ethr-did-resolver

DID resolver for Ethereum Addresses with support for key management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Documentation shows incorrect import for latest version

justinmchase opened this issue ยท comments

All of the examples I'm finding have a snippet such as:

import getResolver from 'ethr-did-resolver'

But then looking in the code here:
https://github.com/decentralized-identity/ethr-did-resolver/blob/develop/src/ethr-did-resolver.js#L298

It should be:

import { getResolver } from 'ethr-did-resolver'

@justinmchase Thank you for reporting this.
I fixed the snippet that appeared in the readme.
Can you point to other places that show the wrong import statement?

It looks like you covered it all in the other PR uport-project/uport-credentials#197

๐ŸŽ‰ This issue has been resolved in version 2.3.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€