<!-- Thank you for reporting an issue. This issue tracker is for bugs found within the JavaScript implementation of IPFS. If you are asking a question about how to use IPFS, please ask on https://discuss.ipfs.io Otherwise please fill in as much of the template below as possible. --> - **Version**: 0.53.2 <!-- Output of `jsipfs version --all` if using the CLI or `await ipfs.version()` if using the instance --> - **Platform**: Windows 10 <!-- Output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows). If using in a Browser, please share the browser version as well --> - **Subsystem**: <!-- If known, please specify affected core module name (e.g Bitswap, libp2p, etc) --> #### Severity: High <!-- One of following: Critical - System crash, application panic. High - The main functionality of the application does not work, API breakage, repo format breakage, etc. Medium - A non-essential functionality does not work, performance issues, etc. Low - An optional functionality does not work. Very Low - Translation or documentation mistake. Something that won't give anyone a bad day. --> #### Description: Unable to get providers from dht with a string cid. #### Steps to reproduce the error: Code: ```js const providers = await all(this.ipfs.dht.findProvs(`Qm...`)); console.log(providers); ``` Error: `TypeError: key.toBaseEncodedString is not a function`
Severity: High
Description:
Unable to get providers from dht with a string cid.
Steps to reproduce the error:
Code:
Error:
TypeError: key.toBaseEncodedString is not a function