{"name":"@libp2p/webrtc-peer","version":"1.0.8","description":"Simple one-to-one WebRTC data channels","author":"","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-webrtc-peer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-webrtc-peer.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-webrtc-peer/issues"},"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"import":"./dist/src/index.js"}},"eslintConfig":{"extends":"ipfs","parserOptions":{"sourceType":"module"}},"release":{"branches":["master"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"breaking":true,"release":"major"},{"revert":true,"release":"patch"},{"type":"feat","release":"minor"},{"type":"fix","release":"patch"},{"type":"chore","release":"patch"},{"type":"docs","release":"patch"},{"type":"test","release":"patch"},{"scope":"no-release","release":false}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"chore","section":"Trivial Changes"},{"type":"docs","section":"Trivial Changes"},{"type":"test","section":"Tests"}]}}],"@semantic-release/changelog","@semantic-release/npm","@semantic-release/github","@semantic-release/git"]},"scripts":{"lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","test":"aegir test -t node -t browser","test:node":"aegir test -t node --cov","test:chrome":"aegir test -t browser --cov","test:firefox":"aegir test -t browser -- --browser firefox","release":"semantic-release"},"dependencies":{"@libp2p/interfaces":"^2.0.1","@libp2p/logger":"^1.1.2","delay":"^5.0.0","err-code":"^3.0.1","iso-random-stream":"^2.0.2","it-pushable":"^2.0.1","it-stream-types":"^1.0.4","p-defer":"^4.0.0","p-event":"^5.0.1","uint8arrays":"^3.0.0"},"devDependencies":{"@mapbox/node-pre-gyp":"^1.0.8","aegir":"^37.0.15","it-first":"^1.0.7","it-pipe":"^2.0.3","wherearewe":"^1.0.2","wrtc":"^0.4.7"},"gitHead":"3afc517acc983bc984e376fabf68a41084cc303a","_id":"@libp2p/webrtc-peer@1.0.8","_nodeVersion":"16.15.0","_npmVersion":"8.10.0","dist":{"integrity":"sha512-OSOv9qbSXewPrCVaBainWeEmEmqb2rmQxpFuJi0jqNyRPLUkZrGr8uU66R1uuCtOcgtnpwMhwJ/AdZmpTYutaw==","shasum":"83a9136e466954b6cc49a1162063db21474f03ae","tarball":"http://registry-npm.ywwl.com/@libp2p/webrtc-peer/download/@libp2p/webrtc-peer-1.0.8.tgz","fileCount":33,"unpackedSize":62292,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICYaK7XQf3mdSe6rVKDASqQoSPFXEJrZ/cEROhydsH12AiEAwOVwGnMO/zmaaiyaSKhfMklpzRHttMG9wsxRnOPNAdU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJii3SpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoVqA//TGuROsTuG0L7lJW9aEniHB5kp1qzxjozs1XnrTezU8ukJvJ0\r\nWkFD8L3yXx6aWGxO4iHbouIM6FUUf086gvJLKI0sAivggCbzcHGr7VPsEyAr\r\nitERhDrZMmc6n+K1Bwpa8XrY/LaOu5O0hqRz53lFcP7F1dtRH127LWHza8/Y\r\nTRSLcNO8nn6LtqlE4sFg4sBx2xgHZSCsHcOXc4WkPgKQMjKLcRGhB80oUP6i\r\n+nGrQsdVQYOtn/M65z/fArwoNTjWQzokJWuy/3+1Ga6DAagC0A45Ik7O+kvv\r\n/cDVot3IFuvG6E0m26Yqw8JdYfcWOP04UEv6zzTMZxJgLqit1+Ztmd9oFB+G\r\n71iaLzkzPjCIVMsejG4vlUtNykB/8lsR7NuSpCU24/QGxSVgJjdAFizUpR5n\r\n/B4VhrCrZ3h/ANWfnIQccIQi1Sp/r3B+dPeg6U9rA3lUoWrYJft2JoPrA9/E\r\nS6Y5DfT+BAwzHhVLdOo0tmakYfPbN++8FJ2/HfblkNbtg5yA8IgvDV9vMryr\r\n+aXnY1Rt+Zn0EQGNjZEsVmXoLgwoSCIDHGayam9+46TZDB5sMecMVzbmGhP1\r\nBjhuLcFZpUwdmgZJZm0WA24/cwBG7kCbTcVO5PjILQ9NaoKJ78yVf64qOOmb\r\nnQcmuuLC1ycIw6RHytnK7nFr/q0VnwAfAzs=\r\n=imzM\r\n-----END PGP SIGNATURE-----\r\n","size":14579,"noattachment":false,"key":"/@libp2p/webrtc-peer/-/@libp2p/webrtc-peer-1.0.8.tgz"},"_npmUser":{"name":"achingbrain","email":"alex@achingbrain.net"},"directories":{},"maintainers":[{"name":"alanshaw","email":"alan138@gmail.com"},{"name":"vascosantos","email":"santos.vasco10@gmail.com"},{"name":"achingbrain","email":"alex@achingbrain.net"},{"name":"daviddias","email":"mail@daviddias.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webrtc-peer_1.0.8_1653306536999_0.4770876213390909"},"_hasShrinkwrap":false,"readme":"# @libp2p/webrtc-peer <!-- omit in toc -->\n\n[![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/)\n[![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io)\n[![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-webrtc-peer.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-webrtc-peer)\n[![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-webrtc-peer/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-webrtc-peer/actions/workflows/js-test-and-release.yml)\n\n> Simple one-to-one WebRTC data channels\n\n## Table of contents <!-- omit in toc -->\n\n- [Install](#install)\n- [Usage](#usage)\n- [License](#license)\n- [Contribute](#contribute)\n\n## Install\n\n```console\n$ npm i @libp2p/webrtc-peer\n```\n\n## Usage\n\n```js\nimport { WebRTCInitiator } from '@libp2p/webrtc-peer'\n\nconst channel = new WebRTCInitiator(channelOptions)\nchannel.addEventListener('signal', (signal) => {\n  // do handshake\n})\n```\n\n## License\n\nLicensed under either of\n\n- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)\n- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)\n\n## Contribute\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n","publish_time":1653306537164,"_cnpm_publish_time":1653306537164,"dist-tags":{"latest":"2.0.2"}}