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

fix: remove use of assert module #117

Closed achingbrain closed 4 years ago

achingbrain commented 4 years ago

The polyfill is big, we can simulate it by throwing an Error and it doesn't work under React Native.