libp2p / js-peer-id

peer-id implementation in JavaScript. Deprecated; use https://github.com/libp2p/js-libp2p-peer-id instead.
https://github.com/libp2p/js-libp2p-peer-id
MIT License
80 stars 44 forks source link

feat: add class-is module #84

Closed vasco-santos closed 5 years ago

vasco-santos commented 5 years ago

The instance of fails when using different versions of a module. This way, we end up with problems using this in other places, such as js-ipfs/core/ipns/publisher.js#L54.

In the context of js-ipfs/issues/1615. This is not a problem now, as it is only occurring with interface-datastore key. However, it may occur in a future release of this module.