Open
Description
Various commands return CID or Multiaddr instances.
For example, fetching ipfs.swarm.peers
will return peers and their protocols.
The problem is that over time new codecs and protocols identified by new codes from this table appear, and software that uses older version of this library should not crash like it currently does.
Some examples: ipfs/ipfs-webui#2033, ipfs/ipfs-desktop#2363 (comment).
Solution
TBD, may require upstream changes to https://github.com/multiformats/js-multiaddr and https://github.com/multiformats/js-multiformats/, or maybe just ignoring (skipping) unsupported entries is enough?