{"name":"@libp2p/webrtc-peer","version":"2.0.1","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":{".":{"types":"./src/index.d.ts","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":"docs","release":"patch"},{"type":"test","release":"patch"},{"type":"deps","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":"Documentation"},{"type":"deps","section":"Dependencies"},{"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":"aegir release"},"dependencies":{"@libp2p/interfaces":"^3.0.2","@libp2p/logger":"^2.0.0","delay":"^5.0.0","err-code":"^3.0.1","iso-random-stream":"^2.0.2","it-pushable":"^3.0.0","it-stream-types":"^1.0.4","p-defer":"^4.0.0","p-event":"^5.0.1","uint8arrays":"^4.0.2"},"devDependencies":{"@mapbox/node-pre-gyp":"^1.0.8","aegir":"^37.2.0","it-first":"^1.0.7","it-pipe":"^2.0.3","wherearewe":"^2.0.1","wrtc":"^0.4.7"},"gitHead":"9b9191383c0e8cfa5ac7cfc877b9d1b26ffaea93","_id":"@libp2p/webrtc-peer@2.0.1","_nodeVersion":"16.17.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-849wf/CrqFZiILdtdeMghHJS3qn+e2Xz96tRB/nqNnMyeO7hIKjbD1ujtgsAoXVbH/Jt6a4gDuCnAGJXWFwcUw==","shasum":"f0cf6c577d85f2a16b02730cc0983876e81a4ee4","tarball":"http://registry-npm.ywwl.com/@libp2p/webrtc-peer/download/@libp2p/webrtc-peer-2.0.1.tgz","fileCount":33,"unpackedSize":62638,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8YyKoL6YzfpyyQLlSwEKgDEiBTEBI5QiJyDuHIZD3YQIhAKfzSdK/dMb47XIsF7V6hCxUKYfaytosMpQbFGURzn6A"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjR/tJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq/6w//SqyPEuaeyYp4s0bxPuTFKFHnrNP4eS4i+pnEEhJ5Dnln5Og1\r\nsClUJR7/A7w9X3Qors7AkKTnDQYYSyHT9/gqgVC0/W+CQkHZ1pzkJoz7XFkq\r\ngC5MrsHIE7CbhIRa7b4obyrhzPNC89x+TUlOex+vnIgwwvQ5cpyWi/HH6mr/\r\nxUTVAh+kcRxtL9m7aUqqQcqz/iswZ+p0PjDYGRWEA1b0OFUul0fp5boWzbXh\r\n6JpeFwCnV0eiI8Z1HKaU6d63IqBz2ULKq6PkVvEuTwc7XD7jEPXnaeHUw+A7\r\nuXzRQgRMJ0qjKN/9XGX5eVbR7EGbVfWoeiDrA15HUny0Am72Z8JKKm3OeYr0\r\ngtm7UVglPfWM6GhT8rWxvcL5GRTFTy3PGcX75UhDrylIeW+2zNbtExssC3I5\r\nOdDf9N/KjvhPYmyox/4DXtplb51UBE057gRQcILWFvvUcQymebSXW0/UNN2/\r\nOo87GDMRVmfIGKEHk5Iyi3mM5EK6AfTkEN2CGbBXEfprhczS6Yu59zG17CyN\r\nHhz9LM9Lnbj7iSh5eaw+4/k1Z9hXPmvxLO0QCxplC2Wg2xoenM0KtggWfp9K\r\nCYpKwDTp4hgnE2kOhWB6ZoMO3gw6K6UhZWsJfvNAU4d3QIwzYvSiYCPACY0R\r\nXSETqPK4wPoGhuxi/48Dh/90HwJ18WuSiZQ=\r\n=wuIH\r\n-----END PGP SIGNATURE-----\r\n","size":14728,"noattachment":false,"key":"/@libp2p/webrtc-peer/-/@libp2p/webrtc-peer-2.0.1.tgz"},"_npmUser":{"name":"npm-service-account-libp2p","email":"npm-service-account+libp2p@protocol.ai"},"directories":{},"maintainers":[{"name":"jacobheun","email":"jacobheun@gmail.com"},{"name":"npm-service-account-libp2p","email":"npm-service-account+libp2p@protocol.ai"},{"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_2.0.1_1665661768794_0.054079588913872545"},"_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":1665661769016,"_cnpm_publish_time":1665661769016,"dist-tags":{"latest":"2.0.2"}}