This repository has been archived by the owner on Apr 24, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use simple-peer fork that does not throw when setting error codes (
#231) * fix: use simple-peer fork that does not throw when setting error codes Uses a [temporary fork](https://github.com/ipfs-shipyard/simple-peer) of simple-peer with feross/simple-peer#686 applied so it does not throw when trying to override the `.code` property of [DOMExceptions](https://developer.mozilla.org/en-US/docs/Web/API/DOMException) Fixes these sorts of errors: ``` Error: Uncaught TypeError: Cannot assign to read only property 'code' of object '' (file:/home/travis/build/libp2p/js-libp2p-webrtc-star/node_modules/simple-peer/index.js:26) ``` * chore: update package.json Co-authored-by: Jacob Heun <[email protected]> Co-authored-by: Jacob Heun <[email protected]>
- Loading branch information