{"_id":"@libp2p/interface-stream-muxer","_rev":"30-7e75efae9f125a33ee2d38f4656a11b7","name":"@libp2p/interface-stream-muxer","dist-tags":{"latest":"4.1.2","next":"4.1.2-d853d124"},"versions":{"0.0.0":{"name":"@libp2p/interface-stream-muxer","version":"0.0.0","description":"Compliance tests for implementations of the libp2p connection interface","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/libp2p-interface-compliance-tests#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","typesVersions":{"*":{"*":["*","dist/*","dist/src/*","dist/src/*/index"],"src/*":["*","dist/*","dist/src/*","dist/src/*/index"]}},"exports":{".":{"import":"./dist/src/index.js","types":"./dist/src/index.d.ts"}},"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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"it-stream-types":"^1.0.4","@libp2p/components":"^0.0.0","@libp2p/interface-connection":"^0.0.0","@libp2p/interfaces":"^2.0.3"},"devDependencies":{"aegir":"^37.0.7"},"gitHead":"96a4bcc79da19fd63171b90f81abbb7cead6e9ce","_id":"@libp2p/interface-stream-muxer@0.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-5dTlPlTOQqxD2h1IcU4+Spknrpsa/ns8C/g+OLyopkV8C7oDh/xDa92i6+tVrrHFkBv56iNMJJ1VelobXgKtgA==","shasum":"0707ee5cca4270c29629b7e14c80f782f0616ce0","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-0.0.0.tgz","fileCount":3,"unpackedSize":8872,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAUloL66t8zR2J9tqTOeIpGvIRPb/w0mCBPjkfwmqPwQIgaH99+7aiZlDtCY+K+/ZQn5b500RUjj3WQa0UWFRAd2M="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiowAoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmruIw//X35b+SwYu6o9c0G2lu6lZ6T0TUMNGDiOB2AR5iv3nst2jMYR\r\npfOPkz7e83AeFN5cJvbvuYe+tjueVTOxQqxo4zCyF98zIlFAT39Jn4LhaqvH\r\nlXUr3oduerFdXbOJ9DdbhkWUpmXhBDA5bdEYWYJdeqO+3IicM6EtIholEHM0\r\n7BfRPldr7ER8fz42Rv+PgdA6mEY8Dl6z+HQ+cd2NEXkfqlrD+VF9wQOBlxgK\r\nfZXJBkng8+7GJD7SNBl01Hk2lzRGVBWo+CEJi+fs9B2P/yt7pNilUTFu18p+\r\ntScaXpIgzqB58wbMd+gPylRs4fRwOquXhKMD3GPJCXCHlJY9ot/X8QLDjYPk\r\ndz41Iywcn0T99adEUqTRRRTg0DJZbtEgLS8Lif09rpaHZRAlZ/ED3gCGbU7d\r\nTgQcsavnfEC/Dbet731MZ41ocd2gZKaJD/ASAdGimGAE4QYLtQXJbtrXcSGu\r\nbFJlAnDE1qehV4OCv7bvmGJw1hUwy3OBMHoAGur+JTDmaXjy+9aT8vkzYZ+t\r\ns8YNwCp+I2DKhGp16sdSur3aGM0IiKAPKp9YPEJFA47mYPETb9gmdlfUPTj2\r\nEONp3wopbP2Hwv7NadlxRsEcRMuYSOSf/aEKfIOgNFArQmiwQ7QYRfg5Sq2u\r\nwsSpx3w8d2b+MA8Ygi0SlEDhKnWy7oAFTFk=\r\n=6iP9\r\n-----END PGP SIGNATURE-----\r\n"},"_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/interface-stream-muxer_0.0.0_1654849576835_0.45616602871295253"},"_hasShrinkwrap":false},"1.0.0":{"name":"@libp2p/interface-stream-muxer","version":"1.0.0","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/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":"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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"@libp2p/components":"~0.0.0","@libp2p/interface-connection":"^1.0.0","@libp2p/interfaces":"^3.0.0","it-stream-types":"^1.0.4"},"devDependencies":{"aegir":"^37.2.0"},"gitHead":"c4db50e6e801d314946d72e96ebae350f152ed4e","_id":"@libp2p/interface-stream-muxer@1.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-eh7i9ByDMhJ8FheLZW484Lmapdz/nrvQEO5QIUJI/WOQJADC9bCyZBGBbjAfxIk//4ur5SVxJ8l86eOfUfPLcw==","shasum":"13071ae47055fe9aa4ef0e1730ca5ccacec4f541","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-1.0.0.tgz","fileCount":8,"unpackedSize":12272,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG9JNCcq0idUeBb7fCXSwDCsuJILp+ABhN9XCL9X7DxZAiEA50ffORoAsrahUgvZ3itShZoN4w8CITrOqtKEm02r5I0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqKOSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo/wQ//e15RNjPfoSqHKP2R5NlKkPJhsr918USal0rp+1o7LIoN+AH+\r\nRmOWAOnNKPJIHenB/DeahMtbHOE3rbSTG2uESxgUK76qLu55M7HT0McKjdoG\r\nrf6Kbf7A0xkXLxfRc7Mm4XMS4aBhOqLNyDkxLItcdRdJ+quPtCCQtR615KBy\r\nqGTIKzJpPTjR61SEpCsytlDkSSAFu6LzwQhaIOe0j0haUzu2wkTyfEuRFtlM\r\ny1WJJB+D1rtxAy2zmWwdDVSplT8Y2qC7U5GrzMoKVpbjjqqBTw+PJXelhIwF\r\n1cD1BO6jTtu35VJ/h9yrAjPUTtXrYFiJk9hrsBsIRNqhCgJ5RDjLbjMfkSRi\r\nMWUtYQib40AySIFEnMDhsFQlZuCKTe6Dc6Z9xvHAz7E2gthN3cVzbG0w3dEt\r\nWotEx1IMFzNuVuRpGMPLHoN3+X+A4+Cdh35nACGtzooGZoqRfjqFosmgpghI\r\ni/CjPrkv6ThpjUPzBTYZ+soBwZ5d7c/5qUyl86HjiC1qKZERUkSm406vvTRF\r\nizGzxGgbnmp/iFh++uf8SUdAHjeF6FonO9qT0NUm/d4Lpu7pCGtQauDSbkEL\r\naV3Hlgj9UD3fxFr69j4oFc142GsX3ZY0OV/W2k5wNnfTPq8TbVgrOkCNdA4e\r\nOmv+5cQBm9QN4BBz5HGnHg+LHscOLvXbMsU=\r\n=7kUF\r\n-----END PGP SIGNATURE-----\r\n"},"_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/interface-stream-muxer_1.0.0_1655219090428_0.6666141268761268"},"_hasShrinkwrap":false},"1.0.1":{"name":"@libp2p/interface-stream-muxer","version":"1.0.1","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/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":"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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"@libp2p/interface-connection":"^1.0.0","@libp2p/interfaces":"^3.0.0","it-stream-types":"^1.0.4"},"devDependencies":{"aegir":"^37.2.0"},"gitHead":"e35d512c0aca37e53a3632df5647fe6f0555ba68","_id":"@libp2p/interface-stream-muxer@1.0.1","_nodeVersion":"16.15.1","_npmVersion":"8.12.1","dist":{"integrity":"sha512-3pyN+0R/m1+XaFBTVIVRHi8BBhkhGnb6V6Db2Jre0KsXySYBeNcwmczaE4gVXLt5/3WmkXQCIrpi4Vxfwy/e1Q==","shasum":"26564c7389c4b9187c0e5c94557f9b523295d33b","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-1.0.1.tgz","fileCount":8,"unpackedSize":12013,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkygWi6VnNLW6qT7ZYpMfk/DFmy2FQ0Uq1CSZhiqJmUgIgL7mr/j85zEuaM0PmSDv5hxUyk5LopNHWJrL6MC4mm4E="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqMivACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr3MA//Qxlg8Yfa3SiD+lS6mID8UjXX/yLjdIdZLl1gTz6QTcqp7F59\r\nmn3iCx8o9DZJVOTlN0tM/DPACwbG9zQIn4nUR8/BcL6ZpOZdFZt4+yF5pg1u\r\neK2h+tjpUM+pEHSUCqktrWueCdTgMDX069vZO786dwC3txkUa0S5iFo08Iti\r\nSUw2Jz/DkWI8UTABMGozrwgt+OfsjNzkOl37x+B7jkSheKCwWFNP+cqcmOBw\r\njvesrxJJOstJT+3TRSLzuqtjmkyyzf/hmU9wgZnwHia44SpCrJrDeN9rejXE\r\nlsmWXgKkaV9B38QsKWUMt2Qage6frCc6l81BkIy/cYJNY/u5e48hKATUalRn\r\n8R1IQWcXU/4PjyNdQXlRsbPfydmZJRbIiLv8A0ZIKaePHsiYYWeMUxHW1vPi\r\nbvlHx6BkkyY6Ujcxi4C4M7x/7XHICbSa66Bm4OylFbeeL1g0Vqtg+EB8I0C2\r\nA/nv9aG9lLVU4pDqbuf/fGHZQqBjw+GfWJs1bCuwk2VDXuuOZ6G3kZuqxgu9\r\n/PJylKhmN7exF+/f4jaYsYQ188ipENJuOlV1SbjDt2nO0Nt31dFAVBOmPkmG\r\n/OzY49Epa0CTyFIzkrQI1cYEhipisTYXulmWMwPttnxGHdhhPinTm3qztoOf\r\ncHEE62X1qyU0vh5W2O1DIFjIs4PoUuSeg5Y=\r\n=cbp3\r\n-----END PGP SIGNATURE-----\r\n"},"_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/interface-stream-muxer_1.0.1_1655228591402_0.7859744015786767"},"_hasShrinkwrap":false},"1.0.2":{"name":"@libp2p/interface-stream-muxer","version":"1.0.2","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/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":"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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"@libp2p/interface-connection":"^2.0.0","@libp2p/interfaces":"^3.0.0","it-stream-types":"^1.0.4"},"devDependencies":{"aegir":"^37.2.0"},"gitHead":"e2fd4045f11834dafed5ef2b9d090454b10db456","_id":"@libp2p/interface-stream-muxer@1.0.2","_nodeVersion":"16.15.1","_npmVersion":"8.12.2","dist":{"integrity":"sha512-gDcyra5dnp4mOMtFeml6PBn6MYL/1+yYpYJwIm9O0ieSLzx4JpKSTM3wUCY8th8KPN5P22wXE2h2ZSEe2T6+FQ==","shasum":"962625fad134d671f5d17d638b18f7ef4c7ef9bc","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-1.0.2.tgz","fileCount":8,"unpackedSize":12013,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxMecTG8c++xatkn6G66PMLlUADtPRH70+A6sG7GG9fQIgc1w1uWMLoGy4lF9bs7aFquuIc3d3bjatTCvbzVSp2uk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiq2flACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/Cg/+JI+y0vkOK+5HBjM+deeT2HpL6vu+jR09Xq7y/z0id1KXib0o\r\nnxlOpSMK9+Bv9uE5uJAmCjijJLwK1Ekg+izRDUyrw+7ccc8v3FPPIDGHZznC\r\nJmP4I6dndr/ujQCWS6RWqT6BhFLfA3WGH4k3s5UGqNnb9c7JcXFgfTN09VHi\r\ng2xFhspWPQ8x8MRnio5x2mVI6hJzZnPyAkb8v8i+vRRxHQ9UWZr10gG1Rzs2\r\ngl/6cdux0sNDRfNTmGI5XbGQhI9bVrlWjQXIu/A4CsYKmkLU1LMLQUQNM6/7\r\nQ6I2hd72sxHhiU+3TLoIgjHPJNp4xyTnPtysZki+JSmJISdmc04xpjzDuaZJ\r\ncR/ZXI/e9FQvThyBRw37xetihJsFo/YvkJta4i/qZGhOOB+FrkWuBo0hw77n\r\nRw1z3jxMpiSWDPh/83ulo307wnaPkxas3rBzlEvDdFzVRgkVWUs9GJTXpErY\r\nF8LCKyfnncIrRqD2mp7p4Z2JliY9OSSph3sAZeEf26vLmAD3405RMORpP9Dr\r\nuMUMTMD+GA32OS0Scr9yRhfRPFaCSCZBi7PPeCZdR26/DEsiWlC6wtqLfq67\r\nE1wWrkiBG93XscLG7rpv8DSL/hGmBCFKgAcmZ+Ie8yf7Uw8D8KRhQdB5TeTU\r\nuDTAC8+9ugctuKR8IKAABg0vstXGcvoIcWc=\r\n=J4oI\r\n-----END PGP SIGNATURE-----\r\n"},"_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/interface-stream-muxer_1.0.2_1655400421657_0.32223185097638374"},"_hasShrinkwrap":false},"1.1.0":{"name":"@libp2p/interface-stream-muxer","version":"1.1.0","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/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":"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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"@libp2p/interface-connection":"^2.0.0","@libp2p/interfaces":"^3.0.0","it-stream-types":"^1.0.4"},"devDependencies":{"aegir":"^37.2.0"},"gitHead":"065279244d255691b321c22a3be8151f8a38b133","_id":"@libp2p/interface-stream-muxer@1.1.0","_nodeVersion":"16.15.1","_npmVersion":"8.12.2","dist":{"integrity":"sha512-RvljPB4VIUwewAFyI23ldjmnjeh6b3grxjyqSFZvghtDrVgJqpEIHlm1F1pT2rdGG6vC0NIzSJGQ5p/rVPfUvA==","shasum":"dd8dd68e656cbdb92c4b5b9e7f82c3c6c50ac4ab","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-1.1.0.tgz","fileCount":8,"unpackedSize":12379,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCxLf8vXslEF2uV0gS3NzCRnYUCuSprkjM+Sf7ENSqBwIhANHla1+zbinRWAoE0hRO9cZXkzTlZHaP6SMy+EWzyAuo"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiselEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpxdhAAoqOACq9VtToYddEGs9dx3tFqleWbFgkqj/qf4ydp5Kr8bA3P\r\nRd80ySt7UMazCvdX+KgLx6OpuHvm6mpZJ8OlW1W2pcE0lQnXQy8oQNW810WY\r\nVeaIuocrJ7mSy/ZkOY8JM7I0PUG+BlRbm6CBpn9kPG7L5VSIaGliL6MUk7gg\r\nQDLoBku7KErluQXX/eHpVlsjCfQpgdlyvGOV04UgtJuDsvr+g1W12JdHWMvH\r\nBFLhgToReYKcbJj0skLOI86vbLV8GLSh7WqD6/KMr+IBVe9/5oQLCVgzy3jG\r\nEjzYZzg5sKH2Purn9iwypS0nlRdB8qDuIop+yDE6Xa3BDeweDszVP2eN0MYZ\r\nyxYa368KIEGygNuzTkR0M4AD/fddUEaMYpzFrGDDoa+SBv502ZB2UK7vdT9Z\r\nwzkTQwfBzLIRamx90pRhXBn3zIb8pQdHAz02SlBOS2wa0qSX46bvcEd8S0jt\r\n5deBd21Vs+JOEQRE8qeDXgZptqiVVw56lkC+xr3JC7SfuLen5743FCCcB6ei\r\nx4RrAEuIBMaxXlwzgl2XEbpsvpxBz/A2J2OIT7kXsRKq6CXLs0tBcyAYZTpA\r\nAjKNbZBFvNlIDiGWhHIizT4GAsbn4yNJzQxIo/K3q7rDMcjXsZqSH7R2FHkX\r\nvJMUw3kKSQTIfW0Hhx01R7jHGL30Ofh79X4=\r\n=Ai+g\r\n-----END PGP SIGNATURE-----\r\n"},"_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/interface-stream-muxer_1.1.0_1655826756329_0.2821260798623211"},"_hasShrinkwrap":false},"2.0.0":{"name":"@libp2p/interface-stream-muxer","version":"2.0.0","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/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":"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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"@libp2p/interface-connection":"^2.0.0","@libp2p/interfaces":"^3.0.0","it-stream-types":"^1.0.4"},"devDependencies":{"aegir":"^37.2.0"},"gitHead":"9f8d5f45647e3bd8943acfbfb77424b0f83c27cf","_id":"@libp2p/interface-stream-muxer@2.0.0","_nodeVersion":"16.15.1","_npmVersion":"8.12.2","dist":{"integrity":"sha512-fEhMCo/Ny925Hr11q2C9bF6SX3HSjRlUznpw34BkKtjpdNspPDcVGzBCRP/rH//b8vzm79+2K7H2QgGjE+SDVw==","shasum":"012eeb6bad0c1886ae790ae80e308739448c0c35","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-2.0.0.tgz","fileCount":8,"unpackedSize":12660,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG+jmRB+H/FU1pivqGUdboAVqlOdxYyhirH0NiOz7DxCAiA/NIIsrQcAI6JF8JhnNVALvrulwfzNg2ki/C1mcTzkow=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJisyJ4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoUGw/9F7xG5mLaMpVKnCqXxNhSC8XnNKY0J4onvNPjfkuVFpIqahOs\r\nIIvLH+j116D6XiSUpfvh85bQuxfX7uLwXaMre4HRJv+PBErGFurUMvEDdYvQ\r\nrPfqXbCXJt8uRMnh+G8SuCMq1/Hz/1R8cTHG/d1JMGg2vd7IqBe3wazJosO2\r\nKXv4hijvpOXlVm+hFtLMDeXPpZVz5Qa8cnITD5nopBfRdJxgcpDCKtKqlSlB\r\nwC4mOhGJ0CoXphbEcoYbE93NrHUrUA3+QYH1BC2jRIJC5AMtofFpwbdhQW8a\r\noHi8BjHs+utwZsOPBOGcT0xcd34RzM+S9T44PRvxREg4ol++yerCcIzh/Wbg\r\n2PYlhuRc+F5+gb9gcdJoVxqgSrFwCTLmPIJEPzU9ehdsFNaJCq2KLKgjvPHC\r\ndau4aR7jDSYI0FGjE6NV+SQZ2Uk00WhmjtbjGgsikf0HpvMTyVPSwAnu3rcV\r\nfj3zVg2UD6E7jQR/KKL6JRQ0nPNB8Chs88eOXs8Yf+IoXVuwMPWHHpLGJJnV\r\nHIeRELW6JxKzXt+uF3GvAM5QkFVGffTKWewnjqHk/EqaHJhChzvr1VYASddT\r\n77jdLigqqkbI8KI2JiY8rtNpnoze9YiZs29UakC/5/rJ8Y1qcH3LFgonbdN8\r\nzMrwJzvbDLeTwsGzX3CH3jPhCEYfb9uAZyw=\r\n=J1n/\r\n-----END PGP SIGNATURE-----\r\n"},"_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/interface-stream-muxer_2.0.0_1655906936453_0.0863969975454606"},"_hasShrinkwrap":false},"2.0.1":{"name":"@libp2p/interface-stream-muxer","version":"2.0.1","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/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":"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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"@libp2p/interface-connection":"^2.0.0","@libp2p/interfaces":"^3.0.0","it-stream-types":"^1.0.4"},"devDependencies":{"aegir":"^37.4.0"},"gitHead":"dfd2434ac01aa8fbdffdcc106c3b37c43a377e9b","_id":"@libp2p/interface-stream-muxer@2.0.1","_nodeVersion":"16.15.1","_npmVersion":"8.13.1","dist":{"integrity":"sha512-DDh9DT6kgN6Uo/EkydHh0/MqLMuM7eg9AyoUV4X/tt6kWulXr/Xq5i4Ho3PsPGPEz+o+75cgZkzywOIenD0VWA==","shasum":"5e6f719aed3000e0e6d9968f41b7aa30a1f22b2f","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-2.0.1.tgz","fileCount":8,"unpackedSize":12660,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgjKxAEk6opQVxhnOJHD8WfYSWATANqTixJv6Kv3BSkgIgTAVBf98KM6E5XKE6qMcgAfHJnsAHWYFRQLwTjrsnRis="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiueYPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+bg//RlEKqoFz4lDJ6IsMg70f4gLBz0+VyPymNhr2rop+Ph9UDT2o\r\nnxYRN7q5IuHBLrR7nBwE4Gh0buWXfOcUQJ5nU5pfXR7AOzjVq+iI6/qLiob+\r\n1yuPG6VZf/gmpy2vkpC1XNmZaxkA3d2BhZwU4YHczniw/Q6YncB2W5qmfOqK\r\nwkmlR0WOtdgUBpuS0VuaiYFyn7/HSOSjV/CMN7zWlftTipRbxJNu5fBLTaEe\r\n1pUsSDWXK7fgm6A1dWHoWPa7c9LfCYkYFAvVg2ZCOu9vlVgl9wKKX9oL3NAN\r\nMifOqlzpklLPOHE6VBwhQ3VUySJLDnB/HtWZ7qL/MQaPU0aXrOiWoIAjOigP\r\nYTwQ/R9kIIX5/1fcJMgJlF5NWVVWlQuSGpqUhPcxd+H2nDPWgXC1wPrgsPGF\r\ngDQ1LI+j3yEKHxX9tyM+h0YobpyG523981iecTD+vJJqeobvS2CDXNcnjCBs\r\nVNmFeZ56iR6bBn7CSoCv2Zu9Nlv5Cx1jSciJ1gbZ0+K3ynFbbOQshN8moIvD\r\nY8y4lPMWyKQt9NF0TnkPhe+te/ShtLw0M4QZt7BY8tFfITHhMXtmWop1wv6T\r\nNyaTEKSYCsKtTrRRB4QWwhqdbBCZk3g2axksZ4HCPUE7IYHXbzbdILRv8C7W\r\nFlCpUbcA29epojkbB8GW86GP5/LDFZQ2wuk=\r\n=91Qa\r\n-----END PGP SIGNATURE-----\r\n"},"_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/interface-stream-muxer_2.0.1_1656350223369_0.48319363297635887"},"_hasShrinkwrap":false},"2.0.2":{"name":"@libp2p/interface-stream-muxer","version":"2.0.2","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"@libp2p/interface-connection":"^3.0.0","@libp2p/interfaces":"^3.0.0","it-stream-types":"^1.0.4"},"devDependencies":{"aegir":"^37.4.0"},"gitHead":"02100fb58ee7a88087515565cc6514142a5fb8b8","_id":"@libp2p/interface-stream-muxer@2.0.2","_nodeVersion":"16.16.0","_npmVersion":"8.16.0","dist":{"integrity":"sha512-BcLsV8ZVr34G32u/w4pgSAgFju9CTuBB9OJwgX6ugasYf6LtJ0a3m5Kwddy79lvvM/gBvVv/McpCr4mPxP4WWg==","shasum":"81b561de8dec75f085e5b2ae3c3acac256450dc9","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-2.0.2.tgz","fileCount":8,"unpackedSize":12764,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFI5R9gKkl9dJwYKhhtbbl1EiMB3a8lIbAi90gfoXCvwIgItnt2bCN34BnaGZ7AgRxBg4yU0vvofClnKz5C6bgXXE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi78x6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr9yhAAkPsVzgHICxuPg6HUDXQo3TeylfR8sakuSma3lZJcx+IQBtdq\r\nHxIX4u7jl12PLmHtajQ1pbt62fU79hsXWgW8h8/dE+mRoqXbMnThdkJFu8x/\r\nqcz5DZq4UkLtvzFquIAm5S9ak8MuC1wmIFzWsNiyiXzVgoI6cXmIl1mQFZsq\r\nzFNCMpe7sE3B9TKQc8zrFVbIinykPx7jSjDsynhesMXVnATToQzgZhxeu/1P\r\nYbj7eTKIrxxexzUD8Uyi36BiKiRoKMPkx8rGyghNE0W2jeMwq1KoJaLaByOr\r\n+YeTXJoqq5JrDi88THlAmqmTsbX6wcAJPPyI9sAd7VECCICvB7w7HY6m3JOy\r\ndlgj2iHjISAANSwMWOHvxf0/qD7QmbVX8h+viviLT5jbNwt/QaWXK98NY+A9\r\npuhb2NrUJyXMnIQaKg/QO73jtq3geIKw3GTgVwWVZQZr0U3HpSV8s3ZUas6j\r\nrYDsxktUON0XZd7a8xFvxJUII9fF2Ah5Vm+7NvDcAzrtU5PIsfBESEpuXhe4\r\nXPNNt1cEijlGICZBsfNfQ3gIH30ux3idjr2bBMmZ2hCTbfoMOqNpRRsfgqP6\r\nQHwyIdLJnpVzGnaWCO07V9d1bLVH4mcilqfxK8rWJISsQeLaOPD/zdld4v9P\r\ntbmkZPjkuPKyhm2wOBHhRIPfze7SR3z5n0k=\r\n=N+LL\r\n-----END PGP SIGNATURE-----\r\n"},"_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/interface-stream-muxer_2.0.2_1659882618445_0.9015907672098988"},"_hasShrinkwrap":false},"3.0.0":{"name":"@libp2p/interface-stream-muxer","version":"3.0.0","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"@libp2p/interface-connection":"^3.0.0","@libp2p/interfaces":"^3.0.0","it-stream-types":"^1.0.4"},"devDependencies":{"aegir":"^37.4.0"},"gitHead":"e7fc79e2f01b78b18ad74dac05b979eb9aecbd96","_id":"@libp2p/interface-stream-muxer@3.0.0","_nodeVersion":"16.17.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-qv7Z4KJC2SLu/GhwDzT71VBHhtu2fpSL/DGh0iFmkxicQsMmdpiqmXv9EGKw3+jdQL57uKIUm98OpOi2Hge0kg==","shasum":"cd884a8390917170873eb0a8894fae51bf16ef9f","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-3.0.0.tgz","fileCount":8,"unpackedSize":12843,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCG1xoaLGXh0zOZnj9SY3jKfy8oTqzp6yM664CQ+DApgIgWvkoN2oOyWofVVf0RlqLLri0dRK1iR0gdiGRX/Phs4g="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjPtgiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq8nA//aMlys5wn+8AcDLf9qdoU791PtsSAEzH/tarNdSIRdj/kWRaa\r\n90KObSfwt/z1hx5Vqj+R62mFvDg8mWbksaWWvbB4Yoc/Zr8KAbr7kLdF/xcI\r\nFCBA11lTT87wBqwgTuHZfqn9BjbFv/Z6DqskFbV7SUC/CAvp05yH5acJDLXg\r\ndSxbs6D77ItUyzbgeT8aRXYI8clPaP9ZguhytTS4bPob7S8YIY5TKyOJbMTd\r\n/TJ0HqSsXaMsQnFueCdtp8kA3uRjAOUc2twwopwTgxTnutBVuxUT2zl9SsH6\r\nGdpo/TLN5wTaKpBV2X3HhOavVCQe1u/ld2aKKiCsZ/oLcyDfsAwVLn8j67Sf\r\nXHcoXg4uLQpxbrBLgiWmAYAWuOUBRK8H6o1+D1dWdqpgHjzOUTJVoBNY/i/+\r\nXN4qZGykvD5NYamVruqAzbKzue68G5hbZ03KSEWRaSkF3fUJ2wiSLAH+MZt/\r\ng4PpAhIv01D2LA37P/KWIWDkgyOCx8zSHmL3of9dcVzYJhNac1jRadmdK2k7\r\nv9+pEo23jpk75YxTsWhbq0f1PDhecrg1Bf9Q/4HoeMkpNY/EPUJmyroZ4wrb\r\nqNRyNvWRVrLG/QKj336z5VQiu27bwgA4dyRauLfV6DCbNwG+WcwdF3Bo+PPM\r\nIUfe+iL9q34UQqkMBFaDdnaP00keaFOVeQE=\r\n=OIdV\r\n-----END PGP SIGNATURE-----\r\n"},"_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/interface-stream-muxer_3.0.0_1665062945886_0.05764863906796802"},"_hasShrinkwrap":false},"3.0.1":{"name":"@libp2p/interface-stream-muxer","version":"3.0.1","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"@libp2p/interface-connection":"^3.0.0","@libp2p/interfaces":"^3.0.0","it-stream-types":"^1.0.4"},"devDependencies":{"aegir":"^37.4.0"},"gitHead":"ebee68169d3b5cc400fbaef407b14b42c5c15b36","_id":"@libp2p/interface-stream-muxer@3.0.1","_nodeVersion":"18.12.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-HlIZFMMSYTKOKn5VBw8UHQ5qya6oWSqpP2ygtSoB/nbBcC/3mv/4cbvozJUAGrOrDz01YY3QOB2LJ6R1b0EWCQ==","shasum":"d7724cb38800dc4843c476118ee0ce24a190526f","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-3.0.1.tgz","fileCount":8,"unpackedSize":12707,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZZwKUfmNHdQtnm08iglyp+TOoEwoF8yJRkz7lJP6LwQIgMAXHMmNhtxf4R8TCUWZIrZMdwbjQCl9fBtU5X73gzuA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZqsOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrbLg//Z/LifDDK+pDYUXf9ESm+a+5UM7W0W8D/p7d/GnbikPI0C0Hm\r\nR/VKP51SzQb8XlZWrOeM1ZksJK4dpzg0a7rdDdSB8A03u6f0pEPUJC01KKgO\r\nmMl0ezg11Gj+Za1kUYDVgb1loh0rzpNFFlVGkMB+VS9vFCDRSjRA8zpAoGvU\r\nsHMie0b9fdgMxu7xTlBa4JY8XxdfyqiC5aWAe2hCFx26fcEebRlqrYspOKL2\r\ntnVCoD0LlB7IcKdj4r1wgxWxM2oqsf0NItdYqdLzgCD8hi3POfSFQZjJdeXH\r\ndLxjXItyU+pTMXksnswp/onfxVMdNZx4yfMHB/2yzbSPeUKIDSy7pjymPtNS\r\nDn5Vu9VuCq8QhLoL8Jifnl7bE5iDIJwmDMqQCxPa0uS8W+saxCgVt6kmcdRj\r\nJ4BDgHMSMZeITmk+EQ6s/k3Xt4XL0zO84alpYa9g0FvhAbrb4FPur2Yls9LV\r\nwKyv3gSzw0zZgpihss7SHjGUvflx0UZFSUkLOxrTT9MEbkNRdXgilo293KPv\r\nFaXaLuo4tuRBJsTAQQ9cTMbJUn0Np8L8LwHAWNopQDot1RMw6kO0i6g/fBg8\r\nss64cCWIv0jMQNokOXYuneFQfruGOCrulZKeAqkZPSkJzOZ4va5CIYoPiCZV\r\nNijX7g378uJAl3A2sIOgUrpDjSk1RxdlqIQ=\r\n=u958\r\n-----END PGP SIGNATURE-----\r\n"},"_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/interface-stream-muxer_3.0.1_1667672846656_0.6719129683178866"},"_hasShrinkwrap":false},"3.0.2":{"name":"@libp2p/interface-stream-muxer","version":"3.0.2","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"@libp2p/interface-connection":"^3.0.0","@libp2p/interfaces":"^3.0.0","it-stream-types":"^1.0.4"},"devDependencies":{"aegir":"^37.7.3"},"typedoc":{"entryPoint":"./src/index.ts"},"gitHead":"e00f0a0602883a57de2c4ec85ccd2a2ee9ec82c0","_id":"@libp2p/interface-stream-muxer@3.0.2","_nodeVersion":"18.12.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-mvR8g7Ja8vbj8IbwMiBhoY+s4jw7CZ+OMWYOE3KrU9jG+aYewsHDQgsCkjd9u0uSLKmHOfFmfXRyZ5eu2BVwsA==","shasum":"781256c48a326b138df4969a157ac7fdf39ebc46","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-3.0.2.tgz","fileCount":10,"unpackedSize":13921,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFVKqegPNWDyOsoydoHZR4neReyhs9IrgPwjXWN0sr6ZAiEA0iKogv0lC4JUZtrxRSOkZk46cH5WI5+CgdAZNlj/hE8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmhj2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoSyg//biexyO9cmgeXLhjRlX/8L7VOOPTT+SQmpc1poclzci2N6NnS\r\nvu/ThUvzDnBBekEi85lEx2QCkAUV89dYuS2rZjE5oBWSpxc7km02nXScKL/M\r\nvXQBHJJkz9D57LyolvxjkCY3220Le7nvr64T1mjMJH3IygtHE03bSd55uBNR\r\n03m3gNXknvGWhaPf3L8xF8EhmzJ1rQdCAH6DEmmj+bHUwulwRI0LJD6kK51n\r\nndW77VFWBs0IUxBPj4v2VHTA2qMrJJZ+Mv0nhVMW/LCCAm71TqmngLoiqwe3\r\nTjS7PKFbrhZwxkOR4Me/r1Z5VENqW+1j7S+QWiEGNdzlO7oySMkw156REZZb\r\nNhdG9CFZ2qFG5EoK+HzkAP71XiZwyCkGDMngK2YH9UVOyw+hUSA1okM3C6w2\r\nmpoaZ9dKluJgxuUX3H9jQAhTk0ffTilsZpZzzb5s4hGWyCKtt4dq5WV33D70\r\ninwH1dLCrcMqr+sScK3I0bvI98yGeIb9gunpU/71voSSkRkC58qVbm6XcKN3\r\n2A2lR3eiCPMfvTFuLmNRDoW/MdqSjOrDptd/mAtpZXDd7KS8B2ZwlyefY1RT\r\nBRzMbMyQd9NQKuZ7f8bnt7UX/oMUwSVRo/HU9F0SapUvekG+6q7oYqfKQxBX\r\nfFsOjqB/tScWrhK+ZXTgm5OD9965vVeYcTE=\r\n=fohD\r\n-----END PGP SIGNATURE-----\r\n"},"_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/interface-stream-muxer_3.0.2_1671043318200_0.5037747547836795"},"_hasShrinkwrap":false},"3.0.3":{"name":"@libp2p/interface-stream-muxer","version":"3.0.3","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"@libp2p/interface-connection":"^3.0.0","@libp2p/interfaces":"^3.0.0","it-stream-types":"^1.0.4"},"devDependencies":{"aegir":"^37.7.3"},"typedoc":{"entryPoint":"./src/index.ts"},"gitHead":"b9360a05a11331e8bf6d85ca84ffdd6f58b5c828","_id":"@libp2p/interface-stream-muxer@3.0.3","_nodeVersion":"18.12.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-0bTFVbRLFtab5yYZu5pxwbRx30zawuxA3XAeN9cp219b4gEDL6bpI5wQovyzWWwRoZ2yWV31L0yf73S0+mXWlg==","shasum":"664ca5d28b633b25e7e0a4e304c5f8c9c61529d7","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-3.0.3.tgz","fileCount":10,"unpackedSize":14000,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEQ84nvt9oy/JXoSKWx/uZrLWJhJ9yH7aHApY+YZlYewAiEA/d9J24/EvWk05T5U9wWMges94Q1UyN7FbVx3i/cY7kc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjnEE9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrBNxAApKxX27+aTO3vsQ0Kh3PgSLofkaQFJVBeoNFjsQ7Tt7wRem0T\r\nRr6CKA+VeE83Z0hAVdxHlKJHdgaTD26uNyncZkPoi9tNd8n2n7Foe3mKpkDI\r\nw6QUZ65PcGa62YHdSD0NCgIh6HjnMddQs4tn74MAAENrCo4HizY7WrvSdY2u\r\n/XwsHEq3XdWDs9p1FGrCiC+W63VNaB1gIEN7BiTw2KGKTGykYl4xdh76RBit\r\npBdM9eFuRRPgoK6pqcIwp7I5WeJcR/CXgOdpDF1d2xNj/LtSh+soGnOdrHzC\r\nCe6FAW6qoHcQ/m5nplLXCNDHsnIeke1dYxEW6C65GEnuCgMhO3a6UUt46jvB\r\nV6JqmjZuY/xXyNqGoPMSqAOcDHL/ChSkjfaG2MFT+KzWghI99dE6hxdJHhhl\r\nCopTcsvlzzzw2iejKeKmiG9cDpSfXlHP1wXPAxqHvNTd+vfAUqbQz9OwTucI\r\n1wf/4xcjw0+TEfYC2hl88lHQF1+ST1sD3Myo6wnt3uVoowE7NVSIstqLo12H\r\nGQDsojrInqsZn62TTINW57lFO5qj9iyDRGzBJvmV46nrHvFrMlEXrcSBXI5Q\r\nJI1DfsXPdBk61vqguqG+9uExJOQge8NhHb/xwnPoQtEYe5al2a70A0WQM47D\r\nYcUZ6fxswKmcQZR1Y0mql29YTWJ1KtLfXzY=\r\n=8zFu\r\n-----END PGP SIGNATURE-----\r\n"},"_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/interface-stream-muxer_3.0.3_1671184701171_0.7519000670621987"},"_hasShrinkwrap":false},"3.0.4":{"name":"@libp2p/interface-stream-muxer","version":"3.0.4","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"@libp2p/interface-connection":"^3.0.0","@libp2p/interfaces":"^3.0.0","it-stream-types":"^1.0.4"},"devDependencies":{"aegir":"^37.7.3"},"typedoc":{"entryPoint":"./src/index.ts"},"gitHead":"bcab340b049c81fee0a137b4f0c8505bac19468f","_id":"@libp2p/interface-stream-muxer@3.0.4","_nodeVersion":"18.12.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-AxqbBmOmxruAyIzscZOK5BwbKP6RscQToT4RielMh6JSsXDInDpAFcpa8qfQrb14mYIwIvQA4FzTaMMbNdDtew==","shasum":"c0556fdb8d35a8ea2ed53ed851d14cf3a6008adb","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-3.0.4.tgz","fileCount":10,"unpackedSize":15088,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFFKMmI3U2HAsF5K5BV1cbCPLueSR7yesCG5K7imwKr2AiA2XHsm/PNEsNVxbnr6GjE8H8fGPVtG3iwAFJLS31hp4w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjoDxjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp71g//SO1wIMK83BpMB4qnnP7E9qrY+0syQ2vZfqRyteA1sd7rkzGU\r\nkq4bqVG45ZyfcAPoBtn8AUvPRWpiE3MNO493hwJsZ9JTWeGSyStnZzZuzh8J\r\nBaNoiiuGtkV4S3WqsnEsRUP/aWTTOQDRyJTFPjFZ0eWEy39/kx9DqNgdnAb6\r\nsnUNFBec83c+6MHDparog1LkR5e9cmAR5/ZgJEWFLB3NHg9yk0k+uExnbogs\r\nkRCNiP73CDSEtM31iW3L0/JCuq0vIYE3Y7LK21g2kXkIg0gVwPmKgizUBuRZ\r\naIMIm4B/VATSpjH1aStRI5/xuNWvmOW+NtBYGdVfocjseul1hSHTJ4eByS0t\r\njoK4vl5FOzU+EnJwZnh9CjDn8f3oIwDKfs+6s1eN9ZvA3IEAW1B63sFhvW+c\r\nE3DDVYxsTKELYe+nSfxzMLHVMoSXHK5qNzsTtpf3pnDanYIK9yIVAQZZIIhF\r\n7VjEoHCdegQl+HJiw08muXqgOr+t/6kCAcZ4/QnqofYeSbc20e9MujPX1jMH\r\nrRgeE790wJ9x5QlJKn9BVrMYGOmEEeSHpjrUxLKmbH8u9//rZXMp4HGBPlQP\r\nOW/MArrH9u0D+eagTg4Rq8emKXrdP1YHhLAttNsSD6u2PBvcrUOLfPszYDiV\r\nOL/sJeTDD2JCLwWZhng08HFYXacIq4BQIuA=\r\n=6Irj\r\n-----END PGP SIGNATURE-----\r\n"},"_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/interface-stream-muxer_3.0.4_1671445603373_0.15899930274756002"},"_hasShrinkwrap":false},"3.0.5":{"name":"@libp2p/interface-stream-muxer","version":"3.0.5","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"@libp2p/interface-connection":"^3.0.0","@libp2p/interfaces":"^3.0.0","it-stream-types":"^1.0.4"},"devDependencies":{"aegir":"^38.1.0"},"typedoc":{"entryPoint":"./src/index.ts"},"gitHead":"1c159d3889e7261b49fff20971363ac6e6c00800","_id":"@libp2p/interface-stream-muxer@3.0.5","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-815aJ+qVswNcTEOuOUTcB+7OLzAfROyjjqoWpK0bD0P/xqTHqOQcqdaDuK02zPuAZqYq9uR3+SoBasrCg6k3zw==","shasum":"7cc6e3887e133e1ef54a515c9e21d7b889974c59","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-3.0.5.tgz","fileCount":10,"unpackedSize":15106,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICWBSqnzbvo4uwq9YpDgqpGlxvls9hl2srAB5hImRPWcAiEA6GRGznb54F3M3PW4pQmvABii4onrSfcWh6GoSUk4Vgw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjx/qPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/Fw/9GFDQE7asvVn389i4X9gVs8V1tznWNlHRADcBA8LDgqLmRSIt\r\n8Yp2mPGWQlO3I3hgOM9F54Yv9wiyvtkIC/OeKMYl4naI+QVPQrFPxwMP2yA+\r\nzEfihmSbkRAtPogHrJ8jjbQBZ2VkLZT0Wq7tUilP4291uFt+GDjxHt9Gdu9W\r\n4gTMIhwrPm81T8BwTC75mlQ8CUKxC7QX5qOppUUypz+EjFE2L1pa4Tbdw2fG\r\nWVccqEngCC6Z9JkeNHx0mvN/uk3TshowAMD/q0yjylKnrbLrFKOWxu2L7fhs\r\nhNC1Y+E8B/BPxlJkGgc/oFxCM/WhcUmJjBvkDKQCOSdfkluOciPQTziRwfaJ\r\nSj3FHpEdF0dQGKSNUFKN6SSs1KpLV1ZaQiS4zBzB30moIBXt/gbzbw7Pqs45\r\nxsfYBk0LzWGEEGjTTdz7YySyKZb7qESvnu3SYBaQvOcg3fANMPEahH++HIED\r\ni3/MC0rr78vTvjeUQAO6Bi3P2e3lkhEAQcPycATBuFkrmnp6R4Sq6skLkTle\r\ngORFhMnt+T+k64vgQWQ+KTQ+YlB8ms8LbxxwmnZtQZs+e+NdMWzxTmopHU2W\r\nh0VAKeQtwAKD+3QugVlfdlx6KKGh1Xcxrb1pFEYNjj3wUO2nBEXJhthCeU8o\r\nAt65YtB+cn/XGAzai1TL+24hj+BfjsdvRvQ=\r\n=b/Wb\r\n-----END PGP SIGNATURE-----\r\n"},"_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/interface-stream-muxer_3.0.5_1674050191671_0.6090054311063324"},"_hasShrinkwrap":false},"3.0.6":{"name":"@libp2p/interface-stream-muxer","version":"3.0.6","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"@libp2p/interface-connection":"^4.0.0","@libp2p/interfaces":"^3.0.0","it-stream-types":"^1.0.4"},"devDependencies":{"aegir":"^38.1.0"},"typedoc":{"entryPoint":"./src/index.ts"},"gitHead":"08939ea401d83213ad1e5cf24ad194ff68bc977c","_id":"@libp2p/interface-stream-muxer@3.0.6","_nodeVersion":"18.15.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-wbLrH/bdF8qe0CpPd3BFMSmUs085vc3/8zx5uhXJySD672enAc8Jw9gmAYd1pIqELdqJqBDg9EI0y1XMRxvVkw==","shasum":"f84fae484290b667a1b4ffa51af7d6138765a698","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-3.0.6.tgz","fileCount":10,"unpackedSize":15106,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHHRGTT8LNsrn4+rbzq4C5rySWr94Z/EP1R61JeKSvRlAiEA26aEKUvtu9fj9PiAqwmxts9ewmjZKbLwNZ2IloFBsLI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNXZvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpoTA//cUv7lDKz+Lvt/lHtOtlo3Rd2TgOrrBXXgo7+2NT0k4R2IH0b\r\nY4dE/CwrIH+JFJSGw46W/FCscnTmWFisdICAKDiuCw/Nj2cAANiaqKsDWSjj\r\n+OO3J15SFD5WhDoBmArxhIZ4YY3Eo2I0H/ZjWwrhBKRcHzbrHZ+fot38l7Z1\r\niUHtzlVsg2bF2k/onw8GVSe112DlHPFdZzZcSomMYpAdEi9gImordA6FLhd1\r\nWzhvviAk2mkoa3sWnICMDMoABwpOqezm3afaTa2ewaXh3Q7EKZryNmzkKwTV\r\neJWd6lsEp54IzEoKYd7zGti9q8/g+85dtIvugemIWMxJ6swXU6u/upcT7PTC\r\nQiJzxP7UylUJZ1o8uuxcujrID8RMGXnjKD7wOyGcCQ4Q0fNzzhlUAQeZTDRa\r\nTG55hIMqi3rzIpLrq5icweKL2buv2EN7gRypI8WxAgNTrBw8n/5GQAxr82UU\r\nIKap/m9F64U6EIw3ym36lkzSM1u1NeHtERA5NIeR69ZKFWmfeuk5kbIoO4XH\r\nTFQm7RIuXwdJZHfqfvzAIL/Qkadq8Jrx1FihlkDvOngSgBKDSe9ZEtlOVEOH\r\ndItYxM7DaWUHkZDTLJa6WmE51dKlynFLwOaWYb2PxTnU0FwCrs4ucHC8t4KV\r\nz49HIInXgjHZ9U63/yndqhODR6H55okNsQA=\r\n=BkDP\r\n-----END PGP SIGNATURE-----\r\n"},"_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/interface-stream-muxer_3.0.6_1681225327451_0.8615215820720721"},"_hasShrinkwrap":false},"4.0.0":{"name":"@libp2p/interface-stream-muxer","version":"4.0.0","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"@libp2p/interface-connection":"^5.0.0","@libp2p/interfaces":"^3.0.0","it-stream-types":"^2.0.1","uint8arraylist":"^2.4.3"},"devDependencies":{"aegir":"^38.1.0"},"typedoc":{"entryPoint":"./src/index.ts"},"gitHead":"f5768f2d0d4d7479e03f598738fe0b75fc7a7450","_id":"@libp2p/interface-stream-muxer@4.0.0","_nodeVersion":"18.15.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-xjDYe8WR5MAwhlV6lScbzhruGNJ5HfgGK5RpU0zK2o7NpxOKPUS8R1uC1I+fpj6V1E/ZqL8VYZYJEJsVa8l/NA==","shasum":"cb261705eb9d827463a03182ecbd660712da1672","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.0.0.tgz","fileCount":10,"unpackedSize":15530,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6FaQ0oVYZlIzI2OcUwYlNzGGDA+mU7wkHH9jCHP/yUQIgFA/PtAMvtxTigCJzxazX7JK8EYRfpNO3cqYuNKlrFqY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPsY5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo9wBAAi0oIUA/tvp0u8I9a8O2/9CbOi8FmqpEuou2m5gj7ILcFiTjn\r\nJMQjeDsUkerYmmBOdCbeJxi8UegPZ2yKfEok9cBF9x7/+3Fm5t44JUe7VNqW\r\nsyzGG4QkwQyqy7feDlg3qgWDJBEd5unoCMPS02mJRuOzqkcjZrtIGnNOaqVM\r\nd9dG0KeZx9zL5deAZjnqU6pgblvGLtgj6/8fnuneIrC3WVgm9etS32vXFhlQ\r\nqYgg2Eki8Af5lqQBahXaaIorl3AT6OZwj2g3z+VHoeE6EIkOj873asYk76PU\r\nPlKecuPtfzJkBn06bwVtWluuk9WKTX/hClarLHW1YjCKXL7oQgEACdTuKQbN\r\nHD6Ff5v9rPaT775b+OK5eHCgqAHPHtvLrIghrHUjaDRqBHc7SfQPOEdx+Aw8\r\n2JMAB+zrrofr225OEbcrWqquA5hxdt8YM/LzkXGJNOE9h5xXe4FV+0H0R0vL\r\nY7FnAcfSmFdrrgaPO+Gp0mpxgNwZYcu2OC91ORvTz5B7EmNyw7fM0fp7fO3I\r\n30yimZCap86DyU0g3E2JYEcLLYI5nQW1wnPQhElfyW0pSx0SXspisv2snGYs\r\nsAQW1aG2O0xmCXCHMCLCHc54jgOtKKYZ9/JeUN20YXhVmKtRz1fPiTR4qgQ7\r\nqzPV5MyyH4TT/17syG1ZU04gX8yo12Dr6uU=\r\n=JsN6\r\n-----END PGP SIGNATURE-----\r\n"},"_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/interface-stream-muxer_4.0.0_1681835577388_0.4999913857043037"},"_hasShrinkwrap":false},"4.0.1":{"name":"@libp2p/interface-stream-muxer","version":"4.0.1","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"@libp2p/interface-connection":"^5.0.0","@libp2p/interfaces":"^3.0.0","it-stream-types":"^2.0.1","uint8arraylist":"^2.4.3"},"devDependencies":{"aegir":"^39.0.5"},"typedoc":{"entryPoint":"./src/index.ts"},"gitHead":"35b6d21687fdfefbcf0267673b351b9b304926b3","_id":"@libp2p/interface-stream-muxer@4.0.1","_nodeVersion":"18.16.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-EjoYDkSEFAbfSYC+SVBydOOe3aCX1E0lxkGnpY1U7ucR4ztiBv+ms9qichgnKDD5vtLFcw/uxPV9sccikxnEPA==","shasum":"161369a68cf2ffec71522c045cf122b62fa325c6","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.0.1.tgz","fileCount":10,"unpackedSize":15530,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGaFrwMp8bKUcJprLSgW3/pPB3E7mlNx7hUTOXC+zaK2AiAVy57lPT9DkDC40n2EY1OjTnSjn/MYhGisy5/oEhy0qA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkU+XpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpAqRAAj4DU50fgeoh9reiWwBeOnrUfLlOalQMGFgazO2ikEU911f4U\r\nHiSlZ8foLKhW2eabjmRWUQ0YcEgw6+cVMqgGZEb6pyHqW2IHLPqX8wiVU9p0\r\nXtdVPDhXYuCymvLx32sSFH9H9jh8ctqAe5743wm2q4jMZnSu6RC+R1UFJfc0\r\n3ajQ00Vw57pRr/7jwt9k4TLVwLNAVVdSk+HFwNn05GgbQH4Cy7ByYc1OZyEe\r\nb0Cj0fd+vu8SSZMSAtKAf5Y1K8Z1W2lkLkfEyw7//AK1hEiYPVGtKlSOXdko\r\n04D97AxGGS3u8Tza+/jYRnvBICT7xZR6fHYnzAAsrh13Dz0ji8Qqg9YniNbj\r\ngxBAU7wmdU5pgDW9lB98fdbbVpO0mV/lQkfFFoJKSFTE7wlAHPXx3r/IMGAZ\r\nyKQpyxaAbecTa5DYQWwkEiu3DUxc0E7kzc8yhCdIN958MJrZa8hvznBu4nzx\r\nYIxVXFmj2boDUpvp1Wb/mHFb+l1ekDuWWgL6V3pisC3/8qzo8vjFlH7jvYDt\r\n+S8a0d9vwlPQaRHpGBfGXbwaX44oxWwjY4bq740HCd+OIMiAWj1Dgk4uLvjp\r\nG6VCmgnY07hUvasTUOvwMPZ4AA3gTNZ9fZlw/KdRwd6tReEarO4Z3Y7JVNfk\r\nrz4YlH8UUk0HlSzdYIcsxndDAV7MGoHT7BU=\r\n=H5Q4\r\n-----END PGP SIGNATURE-----\r\n"},"_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/interface-stream-muxer_4.0.1_1683219945557_0.7709920806998012"},"_hasShrinkwrap":false},"4.1.0":{"name":"@libp2p/interface-stream-muxer","version":"4.1.0","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"},"./stream":{"types":"./dist/src/stream.d.ts","import":"./dist/src/stream.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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"@libp2p/interface-connection":"^5.0.0","@libp2p/interfaces":"^3.0.0","@libp2p/logger":"^2.0.7","abortable-iterator":"^5.0.1","any-signal":"^4.1.1","it-pushable":"^3.1.3","it-stream-types":"^2.0.1","uint8arraylist":"^2.4.3"},"devDependencies":{"aegir":"^39.0.5"},"typedoc":{"entryPoint":"./src/index.ts"},"gitHead":"0e115686a3df151fec8e7f19c77d18ee0b052934","_id":"@libp2p/interface-stream-muxer@4.1.0","_nodeVersion":"18.16.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-JNsufC2L40G1jPIwVCwLkVzsWtnsZ89wduyFR19XBNjJ+8Gg6xX2ONNenqg4yvds9QErF3JuyAn8s5JIAA1muQ==","shasum":"f01340d7a5a4d0e46d6d1ab81a799c5bb05c8da5","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.1.0.tgz","fileCount":15,"unpackedSize":43221,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJMJNYy9bxK/2F0a9+Euk2cvzUe2X2JzVvjkekrxnpawIgbu+RelYh6KXLZM2iEic6oQas9MVE6X0fuzdkBfU4W34="}]},"_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/interface-stream-muxer_4.1.0_1684263037167_0.5102593088795382"},"_hasShrinkwrap":false},"4.1.1":{"name":"@libp2p/interface-stream-muxer","version":"4.1.1","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","typesVersions":{"*":{"*":["*","dist/*","dist/src/*","dist/src/*/index"],"src/*":["*","dist/*","dist/src/*","dist/src/*/index"]}},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"},"./stream":{"types":"./dist/src/stream.d.ts","import":"./dist/src/stream.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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"@libp2p/interface-connection":"^5.0.0","@libp2p/interfaces":"^3.0.0","@libp2p/logger":"^2.0.7","abortable-iterator":"^5.0.1","any-signal":"^4.1.1","it-pushable":"^3.1.3","it-stream-types":"^2.0.1","uint8arraylist":"^2.4.3"},"devDependencies":{"aegir":"^39.0.5"},"typedoc":{"entryPoint":"./src/index.ts"},"gitHead":"311a587ef24226ba2fec2cee338a0444d4d11f53","_id":"@libp2p/interface-stream-muxer@4.1.1","_nodeVersion":"18.16.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-26yYCORhebiGDbvZW0Dsg+uEbnY+UxXeVw4peJUJQQ6t0s1prm9eef1xPGRThFj0eirfaGCjfb0k5I2KsnkqjQ==","shasum":"05fabfddaa56bc1a6427c9a64f68f5dd8c0b593c","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.1.1.tgz","fileCount":15,"unpackedSize":43471,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJnVB6MR8fDg20eI9PKdZDqlD0Q7dVSER7v1e1F8mcvAIhAM31FdrMVz+SzVL67niv5VJ2dIoHVQ5jmMuI4H2LnT7u"}]},"_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/interface-stream-muxer_4.1.1_1684286415446_0.09242178723468286"},"_hasShrinkwrap":false},"4.1.2":{"name":"@libp2p/interface-stream-muxer","version":"4.1.2","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","typesVersions":{"*":{"*":["*","dist/*","dist/src/*","dist/src/*/index"],"src/*":["*","dist/*","dist/src/*","dist/src/*/index"]}},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"},"./stream":{"types":"./dist/src/stream.d.ts","import":"./dist/src/stream.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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"@libp2p/interface-connection":"^5.0.0","@libp2p/interfaces":"^3.0.0","@libp2p/logger":"^2.0.7","abortable-iterator":"^5.0.1","any-signal":"^4.1.1","it-pushable":"^3.1.3","it-stream-types":"^2.0.1","uint8arraylist":"^2.4.3"},"devDependencies":{"aegir":"^39.0.5"},"typedoc":{"entryPoint":"./src/index.ts"},"gitHead":"b1ddaa3cdedc0648d4ec63ca7360a0e278d151a1","_id":"@libp2p/interface-stream-muxer@4.1.2","_nodeVersion":"18.16.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-dQJcn67UaAa8YQFRJDhbo4uT453z/2lCzD/ZwTk1YOqJxATXbXgVcB8dXDQFEUiUX3ZjVQ1IBu+NlQd+IZ++zw==","shasum":"f0a5edb906ec784d991b9421a024f0f21ebdaab4","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.1.2.tgz","fileCount":15,"unpackedSize":46532,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBnjvb73xQ5mAK5BdsWxaz/YAiHdOGQfQ1k9gDI0/pszAiB8vYF//hOH5Le6tfyZoLWjl/e5GNzU/qkP9MEJJu/bmw=="}]},"_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/interface-stream-muxer_4.1.2_1684323940583_0.4895475075412674"},"_hasShrinkwrap":false},"4.1.2-1c6702c8":{"name":"@libp2p/interface-stream-muxer","version":"4.1.2-1c6702c8","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p/issues"},"keywords":["interface","libp2p"],"type":"module","types":"./dist/src/index.d.ts","typesVersions":{"*":{"*":["*","dist/*","dist/src/*","dist/src/*/index"],"src/*":["*","dist/*","dist/src/*","dist/src/*/index"]}},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"},"./stream":{"types":"./dist/src/stream.d.ts","import":"./dist/src/stream.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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"@libp2p/interface-connection":"5.1.1-1c6702c8","@libp2p/interfaces":"3.3.2-1c6702c8","@libp2p/logger":"^2.1.1","abortable-iterator":"^5.0.1","any-signal":"^4.1.1","it-pushable":"^3.1.3","it-stream-types":"^2.0.1","uint8arraylist":"^2.4.3"},"devDependencies":{"aegir":"^39.0.5"},"typedoc":{"entryPoint":"./src/index.ts"},"readme":"# @libp2p/interface-stream-muxer <!-- 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.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p)\n[![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p/main.yml?branch=master\\&style=flat-square)](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amaster)\n\n> Stream Muxer interface for libp2p\n\n## Table of contents <!-- omit in toc -->\n\n- [Install](#install)\n- [Modules that implement the interface](#modules-that-implement-the-interface)\n- [Badge](#badge)\n- [Usage](#usage)\n- [API](#api)\n  - [`const muxer = new Muxer([options])`](#const-muxer--new-muxeroptions)\n  - [`muxer.onStream`](#muxeronstream)\n  - [`muxer.onStreamEnd`](#muxeronstreamend)\n  - [`const stream = await muxer.newStream([options])`](#const-stream--await-muxernewstreamoptions)\n  - [`const streams = muxer.streams`](#const-streams--muxerstreams)\n- [API Docs](#api-docs)\n- [License](#license)\n- [Contribution](#contribution)\n\n## Install\n\n```console\n$ npm i @libp2p/interface-stream-muxer\n```\n\nThe primary goal of this module is to enable developers to pick and swap their stream muxing module as they see fit for their application, without having to go through shims or compatibility issues. This module and test suite was heavily inspired by [abstract-blob-store](https://github.com/maxogden/abstract-blob-store).\n\nPublishing a test suite as a module lets multiple modules all ensure compatibility since they use the same test suite.\n\nThe API is presented with both Node.js and Go primitives, however, there is no actual limitations for it to be extended for any other language, pushing forward the cross compatibility and interop through different stacks.\n\n## Modules that implement the interface\n\n- [js-libp2p-spdy](https://github.com/libp2p/js-libp2p-spdy)\n- [js-libp2p-mplex](https://github.com/libp2p/js-libp2p-mplex)\n\nSend a PR to add a new one if you happen to find or write one.\n\n## Badge\n\nInclude this badge in your readme if you make a new module that uses interface-stream-muxer API.\n\n![](img/badge.png)\n\n## Usage\n\nInstall `interface-stream-muxer` as one of the dependencies of your project and as a test file. Then, using `mocha` (for JavaScript) or a test runner with compatible API, do:\n\n```js\nconst test = require('libp2p-interfaces-compliance-tests/stream-muxer')\n\nconst common = {\n  async setup () {\n    return yourMuxer\n  },\n  async teardown () {\n    // cleanup\n  }\n}\n\n// use all of the test suits\ntest(common)\n```\n\n## API\n\nA valid (one that follows this abstraction) stream muxer, must implement the following API:\n\n### `const muxer = new Muxer([options])`\n\nCreate a new *duplex* stream that can be piped together with a connection in order to allow multiplexed communications.\n\ne.g.\n\n```js\nconst Muxer = require('your-muxer-module')\nimport { pipe } from 'it-pipe'\n\n// Create a duplex muxer\nconst muxer = new Muxer()\n\n// Use the muxer in a pipeline\npipe(conn, muxer, conn) // conn is duplex connection to another peer\n```\n\n`options` is an optional `Object` that may have the following properties:\n\n- `onStream` - A function called when receiving a new stream from the remote. e.g.\n  ```js\n  // Receive a new stream on the muxed connection\n  const onStream = stream => {\n    // Read from this stream and write back to it (echo server)\n    pipe(\n      stream,\n      source => (async function * () {\n        for await (const data of source) yield data\n      })()\n      stream\n    )\n  }\n  const muxer = new Muxer({ onStream })\n  // ...\n  ```\n  **Note:** The `onStream` function can be passed in place of the `options` object. i.e.\n  ```js\n  new Mplex(stream => { /* ... */ })\n  ```\n- `onStreamEnd` - A function called when a stream ends.\n  ```js\n     // Get notified when a stream has ended\n    const onStreamEnd = stream => {\n      // Manage any tracking changes, etc\n    }\n    const muxer = new Muxer({ onStreamEnd, ... })\n  ```\n- `signal` - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) which can be used to abort the muxer, *including* all of it's multiplexed connections. e.g.\n  ```js\n  const controller = new AbortController()\n  const muxer = new Muxer({ signal: controller.signal })\n\n  pipe(conn, muxer, conn)\n\n  controller.abort()\n  ```\n- `maxMsgSize` - The maximum size in bytes the data field of multiplexed messages may contain (default 1MB)\n\n### `muxer.onStream`\n\nUse this property as an alternative to passing `onStream` as an option to the `Muxer` constructor.\n\n```js\nconst muxer = new Muxer()\n// ...later\nmuxer.onStream = stream => { /* ... */ }\n```\n\n### `muxer.onStreamEnd`\n\nUse this property as an alternative to passing `onStreamEnd` as an option to the `Muxer` constructor.\n\n```js\nconst muxer = new Muxer()\n// ...later\nmuxer.onStreamEnd = stream => { /* ... */ }\n```\n\n### `const stream = await muxer.newStream([options])`\n\nInitiate a new stream with the remote. Returns a [duplex stream](https://gist.github.com/alanshaw/591dc7dd54e4f99338a347ef568d6ee9#duplex-it).\n\ne.g.\n\n```js\n// Create a new stream on the muxed connection\nconst stream = await muxer.newStream()\n\n// Use this new stream like any other duplex stream:\npipe([1, 2, 3], stream, consume)\n```\n\n### `const streams = muxer.streams`\n\nThe streams property returns an array of streams the muxer currently has open. Closed streams will not be returned.\n\n```js\nmuxer.streams.map(stream => {\n  // Log out the stream's id\n  console.log(stream.id)\n})\n```\n\n## API Docs\n\n- <https://libp2p.github.io/js-libp2p/modules/_libp2p_interface_stream_muxer.html>\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## Contribution\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","readmeFilename":"README.md","gitHead":"1c6702c8a48a25e97910c0821f748802edf9ac42","_id":"@libp2p/interface-stream-muxer@4.1.2-1c6702c8","_nodeVersion":"18.16.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-uXL5ebRUqnSKcTJy/3yIxyqPABMGQwWVH1PAgvsDOdI0+/R2W1ygpBMClPbc8tQ1aqodXh45yE78KWyjk7BSNQ==","shasum":"72b9ce5fe6c398200294028f5671aba26e867e85","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.1.2-1c6702c8.tgz","fileCount":14,"unpackedSize":45963,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBtlJdjMXLFV06zk7r4uUUz75dWstxoGPR4hOYmQuO9MAiAERZjyi1+w4XG1MyCv7CV7VSfijyzG+Yep5lsxaKd0gA=="}]},"_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/interface-stream-muxer_4.1.2-1c6702c8_1686816646832_0.14601035446919552"},"_hasShrinkwrap":false},"4.1.2-883082ca":{"name":"@libp2p/interface-stream-muxer","version":"4.1.2-883082ca","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p/issues"},"keywords":["interface","libp2p"],"type":"module","types":"./dist/src/index.d.ts","typesVersions":{"*":{"*":["*","dist/*","dist/src/*","dist/src/*/index"],"src/*":["*","dist/*","dist/src/*","dist/src/*/index"]}},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"},"./stream":{"types":"./dist/src/stream.d.ts","import":"./dist/src/stream.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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build"},"dependencies":{"@libp2p/interface-connection":"5.1.1-883082ca","@libp2p/interfaces":"3.3.2-883082ca","@libp2p/logger":"^2.1.1","abortable-iterator":"^5.0.1","any-signal":"^4.1.1","it-pushable":"^3.1.3","it-stream-types":"^2.0.1","uint8arraylist":"^2.4.3"},"devDependencies":{"aegir":"^39.0.5"},"typedoc":{"entryPoint":"./src/index.ts"},"readme":"# @libp2p/interface-stream-muxer <!-- 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.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p)\n[![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p/main.yml?branch=master\\&style=flat-square)](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amaster)\n\n> Stream Muxer interface for libp2p\n\n## Table of contents <!-- omit in toc -->\n\n- [Install](#install)\n- [Modules that implement the interface](#modules-that-implement-the-interface)\n- [Badge](#badge)\n- [Usage](#usage)\n- [API](#api)\n  - [`const muxer = new Muxer([options])`](#const-muxer--new-muxeroptions)\n  - [`muxer.onStream`](#muxeronstream)\n  - [`muxer.onStreamEnd`](#muxeronstreamend)\n  - [`const stream = await muxer.newStream([options])`](#const-stream--await-muxernewstreamoptions)\n  - [`const streams = muxer.streams`](#const-streams--muxerstreams)\n- [API Docs](#api-docs)\n- [License](#license)\n- [Contribution](#contribution)\n\n## Install\n\n```console\n$ npm i @libp2p/interface-stream-muxer\n```\n\nThe primary goal of this module is to enable developers to pick and swap their stream muxing module as they see fit for their application, without having to go through shims or compatibility issues. This module and test suite was heavily inspired by [abstract-blob-store](https://github.com/maxogden/abstract-blob-store).\n\nPublishing a test suite as a module lets multiple modules all ensure compatibility since they use the same test suite.\n\nThe API is presented with both Node.js and Go primitives, however, there is no actual limitations for it to be extended for any other language, pushing forward the cross compatibility and interop through different stacks.\n\n## Modules that implement the interface\n\n- [js-libp2p-spdy](https://github.com/libp2p/js-libp2p-spdy)\n- [js-libp2p-mplex](https://github.com/libp2p/js-libp2p-mplex)\n\nSend a PR to add a new one if you happen to find or write one.\n\n## Badge\n\nInclude this badge in your readme if you make a new module that uses interface-stream-muxer API.\n\n![](img/badge.png)\n\n## Usage\n\nInstall `interface-stream-muxer` as one of the dependencies of your project and as a test file. Then, using `mocha` (for JavaScript) or a test runner with compatible API, do:\n\n```js\nconst test = require('libp2p-interfaces-compliance-tests/stream-muxer')\n\nconst common = {\n  async setup () {\n    return yourMuxer\n  },\n  async teardown () {\n    // cleanup\n  }\n}\n\n// use all of the test suits\ntest(common)\n```\n\n## API\n\nA valid (one that follows this abstraction) stream muxer, must implement the following API:\n\n### `const muxer = new Muxer([options])`\n\nCreate a new *duplex* stream that can be piped together with a connection in order to allow multiplexed communications.\n\ne.g.\n\n```js\nconst Muxer = require('your-muxer-module')\nimport { pipe } from 'it-pipe'\n\n// Create a duplex muxer\nconst muxer = new Muxer()\n\n// Use the muxer in a pipeline\npipe(conn, muxer, conn) // conn is duplex connection to another peer\n```\n\n`options` is an optional `Object` that may have the following properties:\n\n- `onStream` - A function called when receiving a new stream from the remote. e.g.\n  ```js\n  // Receive a new stream on the muxed connection\n  const onStream = stream => {\n    // Read from this stream and write back to it (echo server)\n    pipe(\n      stream,\n      source => (async function * () {\n        for await (const data of source) yield data\n      })()\n      stream\n    )\n  }\n  const muxer = new Muxer({ onStream })\n  // ...\n  ```\n  **Note:** The `onStream` function can be passed in place of the `options` object. i.e.\n  ```js\n  new Mplex(stream => { /* ... */ })\n  ```\n- `onStreamEnd` - A function called when a stream ends.\n  ```js\n     // Get notified when a stream has ended\n    const onStreamEnd = stream => {\n      // Manage any tracking changes, etc\n    }\n    const muxer = new Muxer({ onStreamEnd, ... })\n  ```\n- `signal` - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) which can be used to abort the muxer, *including* all of it's multiplexed connections. e.g.\n  ```js\n  const controller = new AbortController()\n  const muxer = new Muxer({ signal: controller.signal })\n\n  pipe(conn, muxer, conn)\n\n  controller.abort()\n  ```\n- `maxMsgSize` - The maximum size in bytes the data field of multiplexed messages may contain (default 1MB)\n\n### `muxer.onStream`\n\nUse this property as an alternative to passing `onStream` as an option to the `Muxer` constructor.\n\n```js\nconst muxer = new Muxer()\n// ...later\nmuxer.onStream = stream => { /* ... */ }\n```\n\n### `muxer.onStreamEnd`\n\nUse this property as an alternative to passing `onStreamEnd` as an option to the `Muxer` constructor.\n\n```js\nconst muxer = new Muxer()\n// ...later\nmuxer.onStreamEnd = stream => { /* ... */ }\n```\n\n### `const stream = await muxer.newStream([options])`\n\nInitiate a new stream with the remote. Returns a [duplex stream](https://gist.github.com/alanshaw/591dc7dd54e4f99338a347ef568d6ee9#duplex-it).\n\ne.g.\n\n```js\n// Create a new stream on the muxed connection\nconst stream = await muxer.newStream()\n\n// Use this new stream like any other duplex stream:\npipe([1, 2, 3], stream, consume)\n```\n\n### `const streams = muxer.streams`\n\nThe streams property returns an array of streams the muxer currently has open. Closed streams will not be returned.\n\n```js\nmuxer.streams.map(stream => {\n  // Log out the stream's id\n  console.log(stream.id)\n})\n```\n\n## API Docs\n\n- <https://libp2p.github.io/js-libp2p/modules/_libp2p_interface_stream_muxer.html>\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## Contribution\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","readmeFilename":"README.md","gitHead":"883082ca284b346cd5c232236356773d97b78d8b","_id":"@libp2p/interface-stream-muxer@4.1.2-883082ca","_nodeVersion":"18.16.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-RJU2fHy/b0Sq0OvyKqv3aavGfyWO9VJw2Mk0Hfi9SfjpwS2aUICzfjxAH6sNQN1cxWCiz66zBhkIshKXBdLOhQ==","shasum":"a8e5fb3c4ae7479b21ab1516ab4f360850ad4b9b","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.1.2-883082ca.tgz","fileCount":14,"unpackedSize":45931,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4SjdfpffhExt7vhQ16niXd4fLpV7IaN68G9yt1CTMowIgPecpyK3jvJTXfGq1ECcvurlNHS0BS+qct4KI8r5h8Z0="}]},"_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/interface-stream-muxer_4.1.2-883082ca_1686821806852_0.8044878673840294"},"_hasShrinkwrap":false},"4.1.2-5a9fb4d6":{"name":"@libp2p/interface-stream-muxer","version":"4.1.2-5a9fb4d6","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p/issues"},"keywords":["interface","libp2p"],"type":"module","types":"./dist/src/index.d.ts","typesVersions":{"*":{"*":["*","dist/*","dist/src/*","dist/src/*/index"],"src/*":["*","dist/*","dist/src/*","dist/src/*/index"]}},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"},"./stream":{"types":"./dist/src/stream.d.ts","import":"./dist/src/stream.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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build"},"dependencies":{"@libp2p/interface-connection":"5.1.1-5a9fb4d6","@libp2p/interfaces":"3.3.2-5a9fb4d6","@libp2p/logger":"^2.1.1","abortable-iterator":"^5.0.1","any-signal":"^4.1.1","it-pushable":"^3.1.3","it-stream-types":"^2.0.1","uint8arraylist":"^2.4.3"},"devDependencies":{"aegir":"^39.0.5"},"typedoc":{"entryPoint":"./src/index.ts"},"readme":"# @libp2p/interface-stream-muxer <!-- 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.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p)\n[![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p/main.yml?branch=master\\&style=flat-square)](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amaster)\n\n> Stream Muxer interface for libp2p\n\n## Table of contents <!-- omit in toc -->\n\n- [Install](#install)\n- [Modules that implement the interface](#modules-that-implement-the-interface)\n- [Badge](#badge)\n- [Usage](#usage)\n- [API](#api)\n  - [`const muxer = new Muxer([options])`](#const-muxer--new-muxeroptions)\n  - [`muxer.onStream`](#muxeronstream)\n  - [`muxer.onStreamEnd`](#muxeronstreamend)\n  - [`const stream = await muxer.newStream([options])`](#const-stream--await-muxernewstreamoptions)\n  - [`const streams = muxer.streams`](#const-streams--muxerstreams)\n- [API Docs](#api-docs)\n- [License](#license)\n- [Contribution](#contribution)\n\n## Install\n\n```console\n$ npm i @libp2p/interface-stream-muxer\n```\n\nThe primary goal of this module is to enable developers to pick and swap their stream muxing module as they see fit for their application, without having to go through shims or compatibility issues. This module and test suite was heavily inspired by [abstract-blob-store](https://github.com/maxogden/abstract-blob-store).\n\nPublishing a test suite as a module lets multiple modules all ensure compatibility since they use the same test suite.\n\nThe API is presented with both Node.js and Go primitives, however, there is no actual limitations for it to be extended for any other language, pushing forward the cross compatibility and interop through different stacks.\n\n## Modules that implement the interface\n\n- [js-libp2p-spdy](https://github.com/libp2p/js-libp2p-spdy)\n- [js-libp2p-mplex](https://github.com/libp2p/js-libp2p-mplex)\n\nSend a PR to add a new one if you happen to find or write one.\n\n## Badge\n\nInclude this badge in your readme if you make a new module that uses interface-stream-muxer API.\n\n![](img/badge.png)\n\n## Usage\n\nInstall `interface-stream-muxer` as one of the dependencies of your project and as a test file. Then, using `mocha` (for JavaScript) or a test runner with compatible API, do:\n\n```js\nconst test = require('libp2p-interfaces-compliance-tests/stream-muxer')\n\nconst common = {\n  async setup () {\n    return yourMuxer\n  },\n  async teardown () {\n    // cleanup\n  }\n}\n\n// use all of the test suits\ntest(common)\n```\n\n## API\n\nA valid (one that follows this abstraction) stream muxer, must implement the following API:\n\n### `const muxer = new Muxer([options])`\n\nCreate a new *duplex* stream that can be piped together with a connection in order to allow multiplexed communications.\n\ne.g.\n\n```js\nconst Muxer = require('your-muxer-module')\nimport { pipe } from 'it-pipe'\n\n// Create a duplex muxer\nconst muxer = new Muxer()\n\n// Use the muxer in a pipeline\npipe(conn, muxer, conn) // conn is duplex connection to another peer\n```\n\n`options` is an optional `Object` that may have the following properties:\n\n- `onStream` - A function called when receiving a new stream from the remote. e.g.\n  ```js\n  // Receive a new stream on the muxed connection\n  const onStream = stream => {\n    // Read from this stream and write back to it (echo server)\n    pipe(\n      stream,\n      source => (async function * () {\n        for await (const data of source) yield data\n      })()\n      stream\n    )\n  }\n  const muxer = new Muxer({ onStream })\n  // ...\n  ```\n  **Note:** The `onStream` function can be passed in place of the `options` object. i.e.\n  ```js\n  new Mplex(stream => { /* ... */ })\n  ```\n- `onStreamEnd` - A function called when a stream ends.\n  ```js\n     // Get notified when a stream has ended\n    const onStreamEnd = stream => {\n      // Manage any tracking changes, etc\n    }\n    const muxer = new Muxer({ onStreamEnd, ... })\n  ```\n- `signal` - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) which can be used to abort the muxer, *including* all of it's multiplexed connections. e.g.\n  ```js\n  const controller = new AbortController()\n  const muxer = new Muxer({ signal: controller.signal })\n\n  pipe(conn, muxer, conn)\n\n  controller.abort()\n  ```\n- `maxMsgSize` - The maximum size in bytes the data field of multiplexed messages may contain (default 1MB)\n\n### `muxer.onStream`\n\nUse this property as an alternative to passing `onStream` as an option to the `Muxer` constructor.\n\n```js\nconst muxer = new Muxer()\n// ...later\nmuxer.onStream = stream => { /* ... */ }\n```\n\n### `muxer.onStreamEnd`\n\nUse this property as an alternative to passing `onStreamEnd` as an option to the `Muxer` constructor.\n\n```js\nconst muxer = new Muxer()\n// ...later\nmuxer.onStreamEnd = stream => { /* ... */ }\n```\n\n### `const stream = await muxer.newStream([options])`\n\nInitiate a new stream with the remote. Returns a [duplex stream](https://gist.github.com/alanshaw/591dc7dd54e4f99338a347ef568d6ee9#duplex-it).\n\ne.g.\n\n```js\n// Create a new stream on the muxed connection\nconst stream = await muxer.newStream()\n\n// Use this new stream like any other duplex stream:\npipe([1, 2, 3], stream, consume)\n```\n\n### `const streams = muxer.streams`\n\nThe streams property returns an array of streams the muxer currently has open. Closed streams will not be returned.\n\n```js\nmuxer.streams.map(stream => {\n  // Log out the stream's id\n  console.log(stream.id)\n})\n```\n\n## API Docs\n\n- <https://libp2p.github.io/js-libp2p/modules/_libp2p_interface_stream_muxer.html>\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## Contribution\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","readmeFilename":"README.md","gitHead":"5a9fb4d6855b24a4bd63c6b94a5c13d03d7e7ce9","_id":"@libp2p/interface-stream-muxer@4.1.2-5a9fb4d6","_nodeVersion":"18.16.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-KuqfoUxRtTbZkI9qFu3yHRkZTkLD8N9JDFTvoOEKulo2KeEtW1Ovo4EpNm4J0IUldy3Cmp0HgWakdPbyIxPn5Q==","shasum":"d284ba8a7a71c2f261b43c980befbdfc88f8552b","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.1.2-5a9fb4d6.tgz","fileCount":14,"unpackedSize":45931,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGUhUWjC5jhfaEVGwsVe9D3ef6hDcHnufV9UJmObyBKpAiEAuaURRL8lTl8Vmbva0lh5Gf6biPIIfw3z16e40LAlz+I="}]},"_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/interface-stream-muxer_4.1.2-5a9fb4d6_1686825299439_0.9344704547394105"},"_hasShrinkwrap":false},"4.1.2-d2f1eff4":{"name":"@libp2p/interface-stream-muxer","version":"4.1.2-d2f1eff4","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p/issues"},"keywords":["interface","libp2p"],"type":"module","types":"./dist/src/index.d.ts","typesVersions":{"*":{"*":["*","dist/*","dist/src/*","dist/src/*/index"],"src/*":["*","dist/*","dist/src/*","dist/src/*/index"]}},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"},"./stream":{"types":"./dist/src/stream.d.ts","import":"./dist/src/stream.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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build"},"dependencies":{"@libp2p/interface-connection":"5.1.1-d2f1eff4","@libp2p/interfaces":"3.3.2-d2f1eff4","@libp2p/logger":"^2.1.1","abortable-iterator":"^5.0.1","any-signal":"^4.1.1","it-pushable":"^3.1.3","it-stream-types":"^2.0.1","uint8arraylist":"^2.4.3"},"devDependencies":{"aegir":"^39.0.5"},"typedoc":{"entryPoint":"./src/index.ts"},"readme":"# @libp2p/interface-stream-muxer <!-- 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.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p)\n[![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p/main.yml?branch=master\\&style=flat-square)](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amaster)\n\n> Stream Muxer interface for libp2p\n\n## Table of contents <!-- omit in toc -->\n\n- [Install](#install)\n- [Modules that implement the interface](#modules-that-implement-the-interface)\n- [Badge](#badge)\n- [Usage](#usage)\n- [API](#api)\n  - [`const muxer = new Muxer([options])`](#const-muxer--new-muxeroptions)\n  - [`muxer.onStream`](#muxeronstream)\n  - [`muxer.onStreamEnd`](#muxeronstreamend)\n  - [`const stream = await muxer.newStream([options])`](#const-stream--await-muxernewstreamoptions)\n  - [`const streams = muxer.streams`](#const-streams--muxerstreams)\n- [API Docs](#api-docs)\n- [License](#license)\n- [Contribution](#contribution)\n\n## Install\n\n```console\n$ npm i @libp2p/interface-stream-muxer\n```\n\nThe primary goal of this module is to enable developers to pick and swap their stream muxing module as they see fit for their application, without having to go through shims or compatibility issues. This module and test suite was heavily inspired by [abstract-blob-store](https://github.com/maxogden/abstract-blob-store).\n\nPublishing a test suite as a module lets multiple modules all ensure compatibility since they use the same test suite.\n\nThe API is presented with both Node.js and Go primitives, however, there is no actual limitations for it to be extended for any other language, pushing forward the cross compatibility and interop through different stacks.\n\n## Modules that implement the interface\n\n- [js-libp2p-spdy](https://github.com/libp2p/js-libp2p-spdy)\n- [js-libp2p-mplex](https://github.com/libp2p/js-libp2p-mplex)\n\nSend a PR to add a new one if you happen to find or write one.\n\n## Badge\n\nInclude this badge in your readme if you make a new module that uses interface-stream-muxer API.\n\n![](img/badge.png)\n\n## Usage\n\nInstall `interface-stream-muxer` as one of the dependencies of your project and as a test file. Then, using `mocha` (for JavaScript) or a test runner with compatible API, do:\n\n```js\nconst test = require('libp2p-interfaces-compliance-tests/stream-muxer')\n\nconst common = {\n  async setup () {\n    return yourMuxer\n  },\n  async teardown () {\n    // cleanup\n  }\n}\n\n// use all of the test suits\ntest(common)\n```\n\n## API\n\nA valid (one that follows this abstraction) stream muxer, must implement the following API:\n\n### `const muxer = new Muxer([options])`\n\nCreate a new *duplex* stream that can be piped together with a connection in order to allow multiplexed communications.\n\ne.g.\n\n```js\nconst Muxer = require('your-muxer-module')\nimport { pipe } from 'it-pipe'\n\n// Create a duplex muxer\nconst muxer = new Muxer()\n\n// Use the muxer in a pipeline\npipe(conn, muxer, conn) // conn is duplex connection to another peer\n```\n\n`options` is an optional `Object` that may have the following properties:\n\n- `onStream` - A function called when receiving a new stream from the remote. e.g.\n  ```js\n  // Receive a new stream on the muxed connection\n  const onStream = stream => {\n    // Read from this stream and write back to it (echo server)\n    pipe(\n      stream,\n      source => (async function * () {\n        for await (const data of source) yield data\n      })()\n      stream\n    )\n  }\n  const muxer = new Muxer({ onStream })\n  // ...\n  ```\n  **Note:** The `onStream` function can be passed in place of the `options` object. i.e.\n  ```js\n  new Mplex(stream => { /* ... */ })\n  ```\n- `onStreamEnd` - A function called when a stream ends.\n  ```js\n     // Get notified when a stream has ended\n    const onStreamEnd = stream => {\n      // Manage any tracking changes, etc\n    }\n    const muxer = new Muxer({ onStreamEnd, ... })\n  ```\n- `signal` - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) which can be used to abort the muxer, *including* all of it's multiplexed connections. e.g.\n  ```js\n  const controller = new AbortController()\n  const muxer = new Muxer({ signal: controller.signal })\n\n  pipe(conn, muxer, conn)\n\n  controller.abort()\n  ```\n- `maxMsgSize` - The maximum size in bytes the data field of multiplexed messages may contain (default 1MB)\n\n### `muxer.onStream`\n\nUse this property as an alternative to passing `onStream` as an option to the `Muxer` constructor.\n\n```js\nconst muxer = new Muxer()\n// ...later\nmuxer.onStream = stream => { /* ... */ }\n```\n\n### `muxer.onStreamEnd`\n\nUse this property as an alternative to passing `onStreamEnd` as an option to the `Muxer` constructor.\n\n```js\nconst muxer = new Muxer()\n// ...later\nmuxer.onStreamEnd = stream => { /* ... */ }\n```\n\n### `const stream = await muxer.newStream([options])`\n\nInitiate a new stream with the remote. Returns a [duplex stream](https://gist.github.com/alanshaw/591dc7dd54e4f99338a347ef568d6ee9#duplex-it).\n\ne.g.\n\n```js\n// Create a new stream on the muxed connection\nconst stream = await muxer.newStream()\n\n// Use this new stream like any other duplex stream:\npipe([1, 2, 3], stream, consume)\n```\n\n### `const streams = muxer.streams`\n\nThe streams property returns an array of streams the muxer currently has open. Closed streams will not be returned.\n\n```js\nmuxer.streams.map(stream => {\n  // Log out the stream's id\n  console.log(stream.id)\n})\n```\n\n## API Docs\n\n- <https://libp2p.github.io/js-libp2p/modules/_libp2p_interface_stream_muxer.html>\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## Contribution\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","readmeFilename":"README.md","gitHead":"d2f1eff45ca2dd30c98497bb5dcbc3fb33496b6d","_id":"@libp2p/interface-stream-muxer@4.1.2-d2f1eff4","_nodeVersion":"18.16.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-OiGJ5K6B2cELM0FyYI/LOWDYYC+MF+YaUwVMcvPJa7eQU/wjhxstAdbZR/8kutWdPHdcpYBJAtBig4a8/8WDow==","shasum":"90dc85bc93bbfd1f7ba47094974e922cc6e24290","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.1.2-d2f1eff4.tgz","fileCount":14,"unpackedSize":45931,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhLw0qzKQLNPdlzSHHBmqbhYgh7xTzKnjxGK4lhAdr5wIgK3umW+ndWqkU8Ed957ZtxtV96NtU6hQvIa7202VCV+k="}]},"_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/interface-stream-muxer_4.1.2-d2f1eff4_1686830967095_0.4868784709889844"},"_hasShrinkwrap":false},"4.1.2-8c6b6d24":{"name":"@libp2p/interface-stream-muxer","version":"4.1.2-8c6b6d24","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p/issues"},"keywords":["interface","libp2p"],"type":"module","types":"./dist/src/index.d.ts","typesVersions":{"*":{"*":["*","dist/*","dist/src/*","dist/src/*/index"],"src/*":["*","dist/*","dist/src/*","dist/src/*/index"]}},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"},"./stream":{"types":"./dist/src/stream.d.ts","import":"./dist/src/stream.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":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build"},"dependencies":{"@libp2p/interface-connection":"5.1.1-8c6b6d24","@libp2p/interfaces":"3.3.2-8c6b6d24","@libp2p/logger":"^2.1.1","abortable-iterator":"^5.0.1","any-signal":"^4.1.1","it-pushable":"^3.1.3","it-stream-types":"^2.0.1","uint8arraylist":"^2.4.3"},"devDependencies":{"aegir":"^39.0.5"},"typedoc":{"entryPoint":"./src/index.ts"},"readme":"# @libp2p/interface-stream-muxer <!-- 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.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p)\n[![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p/main.yml?branch=master\\&style=flat-square)](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amaster)\n\n> Stream Muxer interface for libp2p\n\n## Table of contents <!-- omit in toc -->\n\n- [Install](#install)\n- [Modules that implement the interface](#modules-that-implement-the-interface)\n- [Badge](#badge)\n- [Usage](#usage)\n- [API](#api)\n  - [`const muxer = new Muxer([options])`](#const-muxer--new-muxeroptions)\n  - [`muxer.onStream`](#muxeronstream)\n  - [`muxer.onStreamEnd`](#muxeronstreamend)\n  - [`const stream = await muxer.newStream([options])`](#const-stream--await-muxernewstreamoptions)\n  - [`const streams = muxer.streams`](#const-streams--muxerstreams)\n- [API Docs](#api-docs)\n- [License](#license)\n- [Contribution](#contribution)\n\n## Install\n\n```console\n$ npm i @libp2p/interface-stream-muxer\n```\n\nThe primary goal of this module is to enable developers to pick and swap their stream muxing module as they see fit for their application, without having to go through shims or compatibility issues. This module and test suite was heavily inspired by [abstract-blob-store](https://github.com/maxogden/abstract-blob-store).\n\nPublishing a test suite as a module lets multiple modules all ensure compatibility since they use the same test suite.\n\nThe API is presented with both Node.js and Go primitives, however, there is no actual limitations for it to be extended for any other language, pushing forward the cross compatibility and interop through different stacks.\n\n## Modules that implement the interface\n\n- [js-libp2p-spdy](https://github.com/libp2p/js-libp2p-spdy)\n- [js-libp2p-mplex](https://github.com/libp2p/js-libp2p-mplex)\n\nSend a PR to add a new one if you happen to find or write one.\n\n## Badge\n\nInclude this badge in your readme if you make a new module that uses interface-stream-muxer API.\n\n![](img/badge.png)\n\n## Usage\n\nInstall `interface-stream-muxer` as one of the dependencies of your project and as a test file. Then, using `mocha` (for JavaScript) or a test runner with compatible API, do:\n\n```js\nconst test = require('libp2p-interfaces-compliance-tests/stream-muxer')\n\nconst common = {\n  async setup () {\n    return yourMuxer\n  },\n  async teardown () {\n    // cleanup\n  }\n}\n\n// use all of the test suits\ntest(common)\n```\n\n## API\n\nA valid (one that follows this abstraction) stream muxer, must implement the following API:\n\n### `const muxer = new Muxer([options])`\n\nCreate a new *duplex* stream that can be piped together with a connection in order to allow multiplexed communications.\n\ne.g.\n\n```js\nconst Muxer = require('your-muxer-module')\nimport { pipe } from 'it-pipe'\n\n// Create a duplex muxer\nconst muxer = new Muxer()\n\n// Use the muxer in a pipeline\npipe(conn, muxer, conn) // conn is duplex connection to another peer\n```\n\n`options` is an optional `Object` that may have the following properties:\n\n- `onStream` - A function called when receiving a new stream from the remote. e.g.\n  ```js\n  // Receive a new stream on the muxed connection\n  const onStream = stream => {\n    // Read from this stream and write back to it (echo server)\n    pipe(\n      stream,\n      source => (async function * () {\n        for await (const data of source) yield data\n      })()\n      stream\n    )\n  }\n  const muxer = new Muxer({ onStream })\n  // ...\n  ```\n  **Note:** The `onStream` function can be passed in place of the `options` object. i.e.\n  ```js\n  new Mplex(stream => { /* ... */ })\n  ```\n- `onStreamEnd` - A function called when a stream ends.\n  ```js\n     // Get notified when a stream has ended\n    const onStreamEnd = stream => {\n      // Manage any tracking changes, etc\n    }\n    const muxer = new Muxer({ onStreamEnd, ... })\n  ```\n- `signal` - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) which can be used to abort the muxer, *including* all of it's multiplexed connections. e.g.\n  ```js\n  const controller = new AbortController()\n  const muxer = new Muxer({ signal: controller.signal })\n\n  pipe(conn, muxer, conn)\n\n  controller.abort()\n  ```\n- `maxMsgSize` - The maximum size in bytes the data field of multiplexed messages may contain (default 1MB)\n\n### `muxer.onStream`\n\nUse this property as an alternative to passing `onStream` as an option to the `Muxer` constructor.\n\n```js\nconst muxer = new Muxer()\n// ...later\nmuxer.onStream = stream => { /* ... */ }\n```\n\n### `muxer.onStreamEnd`\n\nUse this property as an alternative to passing `onStreamEnd` as an option to the `Muxer` constructor.\n\n```js\nconst muxer = new Muxer()\n// ...later\nmuxer.onStreamEnd = stream => { /* ... */ }\n```\n\n### `const stream = await muxer.newStream([options])`\n\nInitiate a new stream with the remote. Returns a [duplex stream](https://gist.github.com/alanshaw/591dc7dd54e4f99338a347ef568d6ee9#duplex-it).\n\ne.g.\n\n```js\n// Create a new stream on the muxed connection\nconst stream = await muxer.newStream()\n\n// Use this new stream like any other duplex stream:\npipe([1, 2, 3], stream, consume)\n```\n\n### `const streams = muxer.streams`\n\nThe streams property returns an array of streams the muxer currently has open. Closed streams will not be returned.\n\n```js\nmuxer.streams.map(stream => {\n  // Log out the stream's id\n  console.log(stream.id)\n})\n```\n\n## API Docs\n\n- <https://libp2p.github.io/js-libp2p/modules/_libp2p_interface_stream_muxer.html>\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## Contribution\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","readmeFilename":"README.md","gitHead":"8c6b6d2404d403104d244628def748397733dcd4","_id":"@libp2p/interface-stream-muxer@4.1.2-8c6b6d24","_nodeVersion":"18.16.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-/kLT8xOS85OVEi+PNnpH64BQ3YBMDz/0UbiidoNDr9D9fuBUGLF/pw67kuLJz9cw0jsHbAnvXRKln0YsgvpVsQ==","shasum":"b67664ed3b5175bea878d9264863bf502c7a0ab4","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.1.2-8c6b6d24.tgz","fileCount":14,"unpackedSize":45931,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9qHy1MHgOXdxh7u8J8JEJ2jq4HHWRayGOIbraBCZtbQIhALeHo824xJ1UFHUyfU+IsuieVBIMftd3xy/5zdjCbCqi"}]},"_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/interface-stream-muxer_4.1.2-8c6b6d24_1686832602864_0.7343649900813218"},"_hasShrinkwrap":false},"4.1.2-3dfc236e":{"name":"@libp2p/interface-stream-muxer","version":"4.1.2-3dfc236e","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p/issues"},"keywords":["interface","libp2p"],"type":"module","types":"./dist/src/index.d.ts","typesVersions":{"*":{"*":["*","dist/*","dist/src/*","dist/src/*/index"],"src/*":["*","dist/*","dist/src/*","dist/src/*/index"]}},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"},"./stream":{"types":"./dist/src/stream.d.ts","import":"./dist/src/stream.js"}},"eslintConfig":{"extends":"ipfs","parserOptions":{"sourceType":"module"}},"scripts":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build"},"dependencies":{"@libp2p/interface-connection":"5.1.1-3dfc236e","@libp2p/interfaces":"3.3.2-3dfc236e","@libp2p/logger":"2.1.1-3dfc236e","abortable-iterator":"^5.0.1","any-signal":"^4.1.1","it-pushable":"^3.1.3","it-stream-types":"^2.0.1","uint8arraylist":"^2.4.3"},"devDependencies":{"aegir":"^39.0.10"},"typedoc":{"entryPoint":"./src/index.ts"},"readme":"# @libp2p/interface-stream-muxer <!-- 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.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p)\n[![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p/main.yml?branch=master\\&style=flat-square)](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amaster)\n\n> Stream Muxer interface for libp2p\n\n## Table of contents <!-- omit in toc -->\n\n- [Install](#install)\n- [Modules that implement the interface](#modules-that-implement-the-interface)\n- [Badge](#badge)\n- [Usage](#usage)\n- [API](#api)\n  - [`const muxer = new Muxer([options])`](#const-muxer--new-muxeroptions)\n  - [`muxer.onStream`](#muxeronstream)\n  - [`muxer.onStreamEnd`](#muxeronstreamend)\n  - [`const stream = await muxer.newStream([options])`](#const-stream--await-muxernewstreamoptions)\n  - [`const streams = muxer.streams`](#const-streams--muxerstreams)\n- [API Docs](#api-docs)\n- [License](#license)\n- [Contribution](#contribution)\n\n## Install\n\n```console\n$ npm i @libp2p/interface-stream-muxer\n```\n\nThe primary goal of this module is to enable developers to pick and swap their stream muxing module as they see fit for their application, without having to go through shims or compatibility issues. This module and test suite was heavily inspired by [abstract-blob-store](https://github.com/maxogden/abstract-blob-store).\n\nPublishing a test suite as a module lets multiple modules all ensure compatibility since they use the same test suite.\n\nThe API is presented with both Node.js and Go primitives, however, there is no actual limitations for it to be extended for any other language, pushing forward the cross compatibility and interop through different stacks.\n\n## Modules that implement the interface\n\n- [js-libp2p-spdy](https://github.com/libp2p/js-libp2p-spdy)\n- [js-libp2p-mplex](https://github.com/libp2p/js-libp2p-mplex)\n\nSend a PR to add a new one if you happen to find or write one.\n\n## Badge\n\nInclude this badge in your readme if you make a new module that uses interface-stream-muxer API.\n\n![](img/badge.png)\n\n## Usage\n\nInstall `interface-stream-muxer` as one of the dependencies of your project and as a test file. Then, using `mocha` (for JavaScript) or a test runner with compatible API, do:\n\n```js\nconst test = require('libp2p-interfaces-compliance-tests/stream-muxer')\n\nconst common = {\n  async setup () {\n    return yourMuxer\n  },\n  async teardown () {\n    // cleanup\n  }\n}\n\n// use all of the test suits\ntest(common)\n```\n\n## API\n\nA valid (one that follows this abstraction) stream muxer, must implement the following API:\n\n### `const muxer = new Muxer([options])`\n\nCreate a new *duplex* stream that can be piped together with a connection in order to allow multiplexed communications.\n\ne.g.\n\n```js\nconst Muxer = require('your-muxer-module')\nimport { pipe } from 'it-pipe'\n\n// Create a duplex muxer\nconst muxer = new Muxer()\n\n// Use the muxer in a pipeline\npipe(conn, muxer, conn) // conn is duplex connection to another peer\n```\n\n`options` is an optional `Object` that may have the following properties:\n\n- `onStream` - A function called when receiving a new stream from the remote. e.g.\n  ```js\n  // Receive a new stream on the muxed connection\n  const onStream = stream => {\n    // Read from this stream and write back to it (echo server)\n    pipe(\n      stream,\n      source => (async function * () {\n        for await (const data of source) yield data\n      })()\n      stream\n    )\n  }\n  const muxer = new Muxer({ onStream })\n  // ...\n  ```\n  **Note:** The `onStream` function can be passed in place of the `options` object. i.e.\n  ```js\n  new Mplex(stream => { /* ... */ })\n  ```\n- `onStreamEnd` - A function called when a stream ends.\n  ```js\n     // Get notified when a stream has ended\n    const onStreamEnd = stream => {\n      // Manage any tracking changes, etc\n    }\n    const muxer = new Muxer({ onStreamEnd, ... })\n  ```\n- `signal` - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) which can be used to abort the muxer, *including* all of it's multiplexed connections. e.g.\n  ```js\n  const controller = new AbortController()\n  const muxer = new Muxer({ signal: controller.signal })\n\n  pipe(conn, muxer, conn)\n\n  controller.abort()\n  ```\n- `maxMsgSize` - The maximum size in bytes the data field of multiplexed messages may contain (default 1MB)\n\n### `muxer.onStream`\n\nUse this property as an alternative to passing `onStream` as an option to the `Muxer` constructor.\n\n```js\nconst muxer = new Muxer()\n// ...later\nmuxer.onStream = stream => { /* ... */ }\n```\n\n### `muxer.onStreamEnd`\n\nUse this property as an alternative to passing `onStreamEnd` as an option to the `Muxer` constructor.\n\n```js\nconst muxer = new Muxer()\n// ...later\nmuxer.onStreamEnd = stream => { /* ... */ }\n```\n\n### `const stream = await muxer.newStream([options])`\n\nInitiate a new stream with the remote. Returns a [duplex stream](https://gist.github.com/alanshaw/591dc7dd54e4f99338a347ef568d6ee9#duplex-it).\n\ne.g.\n\n```js\n// Create a new stream on the muxed connection\nconst stream = await muxer.newStream()\n\n// Use this new stream like any other duplex stream:\npipe([1, 2, 3], stream, consume)\n```\n\n### `const streams = muxer.streams`\n\nThe streams property returns an array of streams the muxer currently has open. Closed streams will not be returned.\n\n```js\nmuxer.streams.map(stream => {\n  // Log out the stream's id\n  console.log(stream.id)\n})\n```\n\n## API Docs\n\n- <https://libp2p.github.io/js-libp2p/modules/_libp2p_interface_stream_muxer.html>\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## Contribution\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","readmeFilename":"README.md","gitHead":"3dfc236e1789fb5c1e9d96189483a71124ad1bf4","_id":"@libp2p/interface-stream-muxer@4.1.2-3dfc236e","_nodeVersion":"18.16.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-PMZd9oTRb8sqN1/t/NbU3aSzFejxCvp9EGYmklB0DldSq1QyLNxBKicEolbGSzjCuKR+pUxVe4hCK3emfpnZWw==","shasum":"4c1262112707b2178e6932f104124c9e4722d1c3","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.1.2-3dfc236e.tgz","fileCount":14,"unpackedSize":43978,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH0ifJkgOaC3CnGAE6jrJqqLPEA+3xSIx5tZaRkjju3VAiBK1MyXxESLiPUvR4IF4+rq/0Vho6oDTDXTp470YhYemw=="}]},"_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/interface-stream-muxer_4.1.2-3dfc236e_1686922956334_0.4661309271343741"},"_hasShrinkwrap":false},"4.1.2-ab0e3980":{"name":"@libp2p/interface-stream-muxer","version":"4.1.2-ab0e3980","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p/issues"},"keywords":["interface","libp2p"],"type":"module","types":"./dist/src/index.d.ts","typesVersions":{"*":{"*":["*","dist/*","dist/src/*","dist/src/*/index"],"src/*":["*","dist/*","dist/src/*","dist/src/*/index"]}},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"},"./stream":{"types":"./dist/src/stream.d.ts","import":"./dist/src/stream.js"}},"eslintConfig":{"extends":"ipfs","parserOptions":{"sourceType":"module"}},"scripts":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build"},"dependencies":{"@libp2p/interface-connection":"5.1.1-ab0e3980","@libp2p/interfaces":"3.3.2-ab0e3980","@libp2p/logger":"2.1.1-ab0e3980","abortable-iterator":"^5.0.1","any-signal":"^4.1.1","it-pushable":"^3.1.3","it-stream-types":"^2.0.1","uint8arraylist":"^2.4.3"},"devDependencies":{"aegir":"^39.0.10"},"typedoc":{"entryPoint":"./src/index.ts"},"readme":"# @libp2p/interface-stream-muxer <!-- 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.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p)\n[![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p/main.yml?branch=master\\&style=flat-square)](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amaster)\n\n> Stream Muxer interface for libp2p\n\n## Table of contents <!-- omit in toc -->\n\n- [Install](#install)\n- [Modules that implement the interface](#modules-that-implement-the-interface)\n- [Badge](#badge)\n- [Usage](#usage)\n- [API](#api)\n  - [`const muxer = new Muxer([options])`](#const-muxer--new-muxeroptions)\n  - [`muxer.onStream`](#muxeronstream)\n  - [`muxer.onStreamEnd`](#muxeronstreamend)\n  - [`const stream = await muxer.newStream([options])`](#const-stream--await-muxernewstreamoptions)\n  - [`const streams = muxer.streams`](#const-streams--muxerstreams)\n- [API Docs](#api-docs)\n- [License](#license)\n- [Contribution](#contribution)\n\n## Install\n\n```console\n$ npm i @libp2p/interface-stream-muxer\n```\n\nThe primary goal of this module is to enable developers to pick and swap their stream muxing module as they see fit for their application, without having to go through shims or compatibility issues. This module and test suite was heavily inspired by [abstract-blob-store](https://github.com/maxogden/abstract-blob-store).\n\nPublishing a test suite as a module lets multiple modules all ensure compatibility since they use the same test suite.\n\nThe API is presented with both Node.js and Go primitives, however, there is no actual limitations for it to be extended for any other language, pushing forward the cross compatibility and interop through different stacks.\n\n## Modules that implement the interface\n\n- [js-libp2p-spdy](https://github.com/libp2p/js-libp2p-spdy)\n- [js-libp2p-mplex](https://github.com/libp2p/js-libp2p-mplex)\n\nSend a PR to add a new one if you happen to find or write one.\n\n## Badge\n\nInclude this badge in your readme if you make a new module that uses interface-stream-muxer API.\n\n![](img/badge.png)\n\n## Usage\n\nInstall `interface-stream-muxer` as one of the dependencies of your project and as a test file. Then, using `mocha` (for JavaScript) or a test runner with compatible API, do:\n\n```js\nconst test = require('libp2p-interfaces-compliance-tests/stream-muxer')\n\nconst common = {\n  async setup () {\n    return yourMuxer\n  },\n  async teardown () {\n    // cleanup\n  }\n}\n\n// use all of the test suits\ntest(common)\n```\n\n## API\n\nA valid (one that follows this abstraction) stream muxer, must implement the following API:\n\n### `const muxer = new Muxer([options])`\n\nCreate a new *duplex* stream that can be piped together with a connection in order to allow multiplexed communications.\n\ne.g.\n\n```js\nconst Muxer = require('your-muxer-module')\nimport { pipe } from 'it-pipe'\n\n// Create a duplex muxer\nconst muxer = new Muxer()\n\n// Use the muxer in a pipeline\npipe(conn, muxer, conn) // conn is duplex connection to another peer\n```\n\n`options` is an optional `Object` that may have the following properties:\n\n- `onStream` - A function called when receiving a new stream from the remote. e.g.\n  ```js\n  // Receive a new stream on the muxed connection\n  const onStream = stream => {\n    // Read from this stream and write back to it (echo server)\n    pipe(\n      stream,\n      source => (async function * () {\n        for await (const data of source) yield data\n      })()\n      stream\n    )\n  }\n  const muxer = new Muxer({ onStream })\n  // ...\n  ```\n  **Note:** The `onStream` function can be passed in place of the `options` object. i.e.\n  ```js\n  new Mplex(stream => { /* ... */ })\n  ```\n- `onStreamEnd` - A function called when a stream ends.\n  ```js\n     // Get notified when a stream has ended\n    const onStreamEnd = stream => {\n      // Manage any tracking changes, etc\n    }\n    const muxer = new Muxer({ onStreamEnd, ... })\n  ```\n- `signal` - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) which can be used to abort the muxer, *including* all of it's multiplexed connections. e.g.\n  ```js\n  const controller = new AbortController()\n  const muxer = new Muxer({ signal: controller.signal })\n\n  pipe(conn, muxer, conn)\n\n  controller.abort()\n  ```\n- `maxMsgSize` - The maximum size in bytes the data field of multiplexed messages may contain (default 1MB)\n\n### `muxer.onStream`\n\nUse this property as an alternative to passing `onStream` as an option to the `Muxer` constructor.\n\n```js\nconst muxer = new Muxer()\n// ...later\nmuxer.onStream = stream => { /* ... */ }\n```\n\n### `muxer.onStreamEnd`\n\nUse this property as an alternative to passing `onStreamEnd` as an option to the `Muxer` constructor.\n\n```js\nconst muxer = new Muxer()\n// ...later\nmuxer.onStreamEnd = stream => { /* ... */ }\n```\n\n### `const stream = await muxer.newStream([options])`\n\nInitiate a new stream with the remote. Returns a [duplex stream](https://gist.github.com/alanshaw/591dc7dd54e4f99338a347ef568d6ee9#duplex-it).\n\ne.g.\n\n```js\n// Create a new stream on the muxed connection\nconst stream = await muxer.newStream()\n\n// Use this new stream like any other duplex stream:\npipe([1, 2, 3], stream, consume)\n```\n\n### `const streams = muxer.streams`\n\nThe streams property returns an array of streams the muxer currently has open. Closed streams will not be returned.\n\n```js\nmuxer.streams.map(stream => {\n  // Log out the stream's id\n  console.log(stream.id)\n})\n```\n\n## API Docs\n\n- <https://libp2p.github.io/js-libp2p/modules/_libp2p_interface_stream_muxer.html>\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## Contribution\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","readmeFilename":"README.md","gitHead":"ab0e3980160dcbacf00825cfc4c6ba1d0c07a20c","_id":"@libp2p/interface-stream-muxer@4.1.2-ab0e3980","_nodeVersion":"18.16.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-J0Zk7ZLeAeUQp0u/M/3GUeDoiJrFfZM8d88OCb1EhWaPzPwyAtZQAnThSzmXY7DtiXPYDe30PIYVhj4Y6nqIPw==","shasum":"8d28120f63ce3802351f7f054cb5a9ba98eb69a3","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.1.2-ab0e3980.tgz","fileCount":14,"unpackedSize":43978,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB/Xga08YIlrTD0dghjaQMymCMWdu4USwDbxdoZYMHKxAiAxQT2nrNmVnnWiVctrOuY6W4EK+93ju02re6wVGXLbVQ=="}]},"_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/interface-stream-muxer_4.1.2-ab0e3980_1687168908861_0.6212754706515529"},"_hasShrinkwrap":false},"4.1.2-ea8a0637":{"name":"@libp2p/interface-stream-muxer","version":"4.1.2-ea8a0637","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p/issues"},"keywords":["interface","libp2p"],"type":"module","types":"./dist/src/index.d.ts","typesVersions":{"*":{"*":["*","dist/*","dist/src/*","dist/src/*/index"],"src/*":["*","dist/*","dist/src/*","dist/src/*/index"]}},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"},"./stream":{"types":"./dist/src/stream.d.ts","import":"./dist/src/stream.js"}},"eslintConfig":{"extends":"ipfs","parserOptions":{"sourceType":"module"}},"scripts":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build"},"dependencies":{"@libp2p/interface-connection":"5.1.1-ea8a0637","@libp2p/interfaces":"3.3.2-ea8a0637","@libp2p/logger":"2.1.1-ea8a0637","abortable-iterator":"^5.0.1","any-signal":"^4.1.1","it-pushable":"^3.1.3","it-stream-types":"^2.0.1","uint8arraylist":"^2.4.3"},"devDependencies":{"aegir":"^39.0.10"},"typedoc":{"entryPoint":"./src/index.ts"},"readme":"# @libp2p/interface-stream-muxer <!-- 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.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p)\n[![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p/main.yml?branch=master\\&style=flat-square)](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amaster)\n\n> Stream Muxer interface for libp2p\n\n## Table of contents <!-- omit in toc -->\n\n- [Install](#install)\n- [Modules that implement the interface](#modules-that-implement-the-interface)\n- [Badge](#badge)\n- [Usage](#usage)\n- [API](#api)\n  - [`const muxer = new Muxer([options])`](#const-muxer--new-muxeroptions)\n  - [`muxer.onStream`](#muxeronstream)\n  - [`muxer.onStreamEnd`](#muxeronstreamend)\n  - [`const stream = await muxer.newStream([options])`](#const-stream--await-muxernewstreamoptions)\n  - [`const streams = muxer.streams`](#const-streams--muxerstreams)\n- [API Docs](#api-docs)\n- [License](#license)\n- [Contribution](#contribution)\n\n## Install\n\n```console\n$ npm i @libp2p/interface-stream-muxer\n```\n\nThe primary goal of this module is to enable developers to pick and swap their stream muxing module as they see fit for their application, without having to go through shims or compatibility issues. This module and test suite was heavily inspired by [abstract-blob-store](https://github.com/maxogden/abstract-blob-store).\n\nPublishing a test suite as a module lets multiple modules all ensure compatibility since they use the same test suite.\n\nThe API is presented with both Node.js and Go primitives, however, there is no actual limitations for it to be extended for any other language, pushing forward the cross compatibility and interop through different stacks.\n\n## Modules that implement the interface\n\n- [js-libp2p-spdy](https://github.com/libp2p/js-libp2p-spdy)\n- [js-libp2p-mplex](https://github.com/libp2p/js-libp2p-mplex)\n\nSend a PR to add a new one if you happen to find or write one.\n\n## Badge\n\nInclude this badge in your readme if you make a new module that uses interface-stream-muxer API.\n\n![](img/badge.png)\n\n## Usage\n\nInstall `interface-stream-muxer` as one of the dependencies of your project and as a test file. Then, using `mocha` (for JavaScript) or a test runner with compatible API, do:\n\n```js\nconst test = require('libp2p-interfaces-compliance-tests/stream-muxer')\n\nconst common = {\n  async setup () {\n    return yourMuxer\n  },\n  async teardown () {\n    // cleanup\n  }\n}\n\n// use all of the test suits\ntest(common)\n```\n\n## API\n\nA valid (one that follows this abstraction) stream muxer, must implement the following API:\n\n### `const muxer = new Muxer([options])`\n\nCreate a new *duplex* stream that can be piped together with a connection in order to allow multiplexed communications.\n\ne.g.\n\n```js\nconst Muxer = require('your-muxer-module')\nimport { pipe } from 'it-pipe'\n\n// Create a duplex muxer\nconst muxer = new Muxer()\n\n// Use the muxer in a pipeline\npipe(conn, muxer, conn) // conn is duplex connection to another peer\n```\n\n`options` is an optional `Object` that may have the following properties:\n\n- `onStream` - A function called when receiving a new stream from the remote. e.g.\n  ```js\n  // Receive a new stream on the muxed connection\n  const onStream = stream => {\n    // Read from this stream and write back to it (echo server)\n    pipe(\n      stream,\n      source => (async function * () {\n        for await (const data of source) yield data\n      })()\n      stream\n    )\n  }\n  const muxer = new Muxer({ onStream })\n  // ...\n  ```\n  **Note:** The `onStream` function can be passed in place of the `options` object. i.e.\n  ```js\n  new Mplex(stream => { /* ... */ })\n  ```\n- `onStreamEnd` - A function called when a stream ends.\n  ```js\n     // Get notified when a stream has ended\n    const onStreamEnd = stream => {\n      // Manage any tracking changes, etc\n    }\n    const muxer = new Muxer({ onStreamEnd, ... })\n  ```\n- `signal` - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) which can be used to abort the muxer, *including* all of it's multiplexed connections. e.g.\n  ```js\n  const controller = new AbortController()\n  const muxer = new Muxer({ signal: controller.signal })\n\n  pipe(conn, muxer, conn)\n\n  controller.abort()\n  ```\n- `maxMsgSize` - The maximum size in bytes the data field of multiplexed messages may contain (default 1MB)\n\n### `muxer.onStream`\n\nUse this property as an alternative to passing `onStream` as an option to the `Muxer` constructor.\n\n```js\nconst muxer = new Muxer()\n// ...later\nmuxer.onStream = stream => { /* ... */ }\n```\n\n### `muxer.onStreamEnd`\n\nUse this property as an alternative to passing `onStreamEnd` as an option to the `Muxer` constructor.\n\n```js\nconst muxer = new Muxer()\n// ...later\nmuxer.onStreamEnd = stream => { /* ... */ }\n```\n\n### `const stream = await muxer.newStream([options])`\n\nInitiate a new stream with the remote. Returns a [duplex stream](https://gist.github.com/alanshaw/591dc7dd54e4f99338a347ef568d6ee9#duplex-it).\n\ne.g.\n\n```js\n// Create a new stream on the muxed connection\nconst stream = await muxer.newStream()\n\n// Use this new stream like any other duplex stream:\npipe([1, 2, 3], stream, consume)\n```\n\n### `const streams = muxer.streams`\n\nThe streams property returns an array of streams the muxer currently has open. Closed streams will not be returned.\n\n```js\nmuxer.streams.map(stream => {\n  // Log out the stream's id\n  console.log(stream.id)\n})\n```\n\n## API Docs\n\n- <https://libp2p.github.io/js-libp2p/modules/_libp2p_interface_stream_muxer.html>\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## Contribution\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","readmeFilename":"README.md","gitHead":"ea8a06378d6733c0bcac28bed3aa3baef1e30ead","_id":"@libp2p/interface-stream-muxer@4.1.2-ea8a0637","_nodeVersion":"18.16.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-TTx1bRiteqZWhs5Ak7CJzo+o5bBfQEEOwpPcuTbVz/tMQNx5YWkAS7EQ3rPny1KjAEy1KSVOwh44Xpz5S+pGJA==","shasum":"62ca957ba0b864efb7c32afac1ec063aef6637e0","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.1.2-ea8a0637.tgz","fileCount":14,"unpackedSize":43978,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICeA4simf6ylHrF9OcILk/zJbnt5UKyITc+lIOidpPIcAiBSDC9c43d+hv5xk/JwgcTqQ8OMJx3qUY1lTvJRDR2iwg=="}]},"_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/interface-stream-muxer_4.1.2-ea8a0637_1687170392934_0.8005804870499325"},"_hasShrinkwrap":false},"4.1.2-d853d124":{"name":"@libp2p/interface-stream-muxer","version":"4.1.2-d853d124","description":"Stream Muxer interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p/tree/master/packages/interface-stream-muxer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p/issues"},"keywords":["interface","libp2p"],"type":"module","types":"./dist/src/index.d.ts","typesVersions":{"*":{"*":["*","dist/*","dist/src/*","dist/src/*/index"],"src/*":["*","dist/*","dist/src/*","dist/src/*/index"]}},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"},"./stream":{"types":"./dist/src/stream.d.ts","import":"./dist/src/stream.js"}},"eslintConfig":{"extends":"ipfs","parserOptions":{"sourceType":"module"}},"scripts":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build"},"dependencies":{"@libp2p/interface-connection":"5.1.1-d853d124","@libp2p/interfaces":"3.3.2-d853d124","@libp2p/logger":"2.1.1-d853d124","abortable-iterator":"^5.0.1","any-signal":"^4.1.1","it-pushable":"^3.1.3","it-stream-types":"^2.0.1","uint8arraylist":"^2.4.3"},"devDependencies":{"aegir":"^39.0.10"},"typedoc":{"entryPoint":"./src/index.ts"},"readme":"# @libp2p/interface-stream-muxer <!-- 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.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p)\n[![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p/main.yml?branch=master\\&style=flat-square)](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amaster)\n\n> Stream Muxer interface for libp2p\n\n## Table of contents <!-- omit in toc -->\n\n- [Install](#install)\n- [Modules that implement the interface](#modules-that-implement-the-interface)\n- [Badge](#badge)\n- [Usage](#usage)\n- [API](#api)\n  - [`const muxer = new Muxer([options])`](#const-muxer--new-muxeroptions)\n  - [`muxer.onStream`](#muxeronstream)\n  - [`muxer.onStreamEnd`](#muxeronstreamend)\n  - [`const stream = await muxer.newStream([options])`](#const-stream--await-muxernewstreamoptions)\n  - [`const streams = muxer.streams`](#const-streams--muxerstreams)\n- [API Docs](#api-docs)\n- [License](#license)\n- [Contribution](#contribution)\n\n## Install\n\n```console\n$ npm i @libp2p/interface-stream-muxer\n```\n\nThe primary goal of this module is to enable developers to pick and swap their stream muxing module as they see fit for their application, without having to go through shims or compatibility issues. This module and test suite was heavily inspired by [abstract-blob-store](https://github.com/maxogden/abstract-blob-store).\n\nPublishing a test suite as a module lets multiple modules all ensure compatibility since they use the same test suite.\n\nThe API is presented with both Node.js and Go primitives, however, there is no actual limitations for it to be extended for any other language, pushing forward the cross compatibility and interop through different stacks.\n\n## Modules that implement the interface\n\n- [js-libp2p-spdy](https://github.com/libp2p/js-libp2p-spdy)\n- [js-libp2p-mplex](https://github.com/libp2p/js-libp2p-mplex)\n\nSend a PR to add a new one if you happen to find or write one.\n\n## Badge\n\nInclude this badge in your readme if you make a new module that uses interface-stream-muxer API.\n\n![](img/badge.png)\n\n## Usage\n\nInstall `interface-stream-muxer` as one of the dependencies of your project and as a test file. Then, using `mocha` (for JavaScript) or a test runner with compatible API, do:\n\n```js\nconst test = require('libp2p-interfaces-compliance-tests/stream-muxer')\n\nconst common = {\n  async setup () {\n    return yourMuxer\n  },\n  async teardown () {\n    // cleanup\n  }\n}\n\n// use all of the test suits\ntest(common)\n```\n\n## API\n\nA valid (one that follows this abstraction) stream muxer, must implement the following API:\n\n### `const muxer = new Muxer([options])`\n\nCreate a new *duplex* stream that can be piped together with a connection in order to allow multiplexed communications.\n\ne.g.\n\n```js\nconst Muxer = require('your-muxer-module')\nimport { pipe } from 'it-pipe'\n\n// Create a duplex muxer\nconst muxer = new Muxer()\n\n// Use the muxer in a pipeline\npipe(conn, muxer, conn) // conn is duplex connection to another peer\n```\n\n`options` is an optional `Object` that may have the following properties:\n\n- `onStream` - A function called when receiving a new stream from the remote. e.g.\n  ```js\n  // Receive a new stream on the muxed connection\n  const onStream = stream => {\n    // Read from this stream and write back to it (echo server)\n    pipe(\n      stream,\n      source => (async function * () {\n        for await (const data of source) yield data\n      })()\n      stream\n    )\n  }\n  const muxer = new Muxer({ onStream })\n  // ...\n  ```\n  **Note:** The `onStream` function can be passed in place of the `options` object. i.e.\n  ```js\n  new Mplex(stream => { /* ... */ })\n  ```\n- `onStreamEnd` - A function called when a stream ends.\n  ```js\n     // Get notified when a stream has ended\n    const onStreamEnd = stream => {\n      // Manage any tracking changes, etc\n    }\n    const muxer = new Muxer({ onStreamEnd, ... })\n  ```\n- `signal` - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) which can be used to abort the muxer, *including* all of it's multiplexed connections. e.g.\n  ```js\n  const controller = new AbortController()\n  const muxer = new Muxer({ signal: controller.signal })\n\n  pipe(conn, muxer, conn)\n\n  controller.abort()\n  ```\n- `maxMsgSize` - The maximum size in bytes the data field of multiplexed messages may contain (default 1MB)\n\n### `muxer.onStream`\n\nUse this property as an alternative to passing `onStream` as an option to the `Muxer` constructor.\n\n```js\nconst muxer = new Muxer()\n// ...later\nmuxer.onStream = stream => { /* ... */ }\n```\n\n### `muxer.onStreamEnd`\n\nUse this property as an alternative to passing `onStreamEnd` as an option to the `Muxer` constructor.\n\n```js\nconst muxer = new Muxer()\n// ...later\nmuxer.onStreamEnd = stream => { /* ... */ }\n```\n\n### `const stream = await muxer.newStream([options])`\n\nInitiate a new stream with the remote. Returns a [duplex stream](https://gist.github.com/alanshaw/591dc7dd54e4f99338a347ef568d6ee9#duplex-it).\n\ne.g.\n\n```js\n// Create a new stream on the muxed connection\nconst stream = await muxer.newStream()\n\n// Use this new stream like any other duplex stream:\npipe([1, 2, 3], stream, consume)\n```\n\n### `const streams = muxer.streams`\n\nThe streams property returns an array of streams the muxer currently has open. Closed streams will not be returned.\n\n```js\nmuxer.streams.map(stream => {\n  // Log out the stream's id\n  console.log(stream.id)\n})\n```\n\n## API Docs\n\n- <https://libp2p.github.io/js-libp2p/modules/_libp2p_interface_stream_muxer.html>\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## Contribution\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","readmeFilename":"README.md","gitHead":"d853d1247f90317966bc95bd56f56dac0e9fee88","_id":"@libp2p/interface-stream-muxer@4.1.2-d853d124","_nodeVersion":"18.16.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-E2BqTwy1FTg343dGBZrcUD1jkKUVmLZYmmQnIB9epwzwCNMewkK01nSHq5aFDvDpHThKGUIzmIbnPz0QYmXHNg==","shasum":"f664cfc9eed6e905dec7e550d145c3c3d10da28d","tarball":"https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.1.2-d853d124.tgz","fileCount":14,"unpackedSize":43978,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDqnzzQmFha12Jepu9YuEGh1Fs81jrQqZoD91Wpvg3ZNAiAy8MXpm+94WvJ/Za1Bc+e7mXVON8kcQo4XwbW6h5j0Dw=="}]},"_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/interface-stream-muxer_4.1.2-d853d124_1687182497013_0.1568242383480387"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-10T08:26:16.779Z","0.0.0":"2022-06-10T08:26:16.972Z","modified":"2023-06-19T13:48:17.351Z","1.0.0":"2022-06-14T15:04:50.588Z","1.0.1":"2022-06-14T17:43:11.576Z","1.0.2":"2022-06-16T17:27:01.823Z","1.1.0":"2022-06-21T15:52:36.485Z","2.0.0":"2022-06-22T14:08:56.637Z","2.0.1":"2022-06-27T17:17:03.515Z","2.0.2":"2022-08-07T14:30:18.624Z","3.0.0":"2022-10-06T13:29:06.092Z","3.0.1":"2022-11-05T18:27:26.820Z","3.0.2":"2022-12-14T18:41:58.377Z","3.0.3":"2022-12-16T09:58:21.367Z","3.0.4":"2022-12-19T10:26:43.504Z","3.0.5":"2023-01-18T13:56:31.777Z","3.0.6":"2023-04-11T15:02:07.590Z","4.0.0":"2023-04-18T16:32:57.581Z","4.0.1":"2023-05-04T17:05:45.717Z","4.1.0":"2023-05-16T18:50:37.363Z","4.1.1":"2023-05-17T01:20:15.616Z","4.1.2":"2023-05-17T11:45:40.798Z","4.1.2-1c6702c8":"2023-06-15T08:10:47.074Z","4.1.2-883082ca":"2023-06-15T09:36:47.043Z","4.1.2-5a9fb4d6":"2023-06-15T10:34:59.632Z","4.1.2-d2f1eff4":"2023-06-15T12:09:27.307Z","4.1.2-8c6b6d24":"2023-06-15T12:36:43.025Z","4.1.2-3dfc236e":"2023-06-16T13:42:36.484Z","4.1.2-ab0e3980":"2023-06-19T10:01:49.041Z","4.1.2-ea8a0637":"2023-06-19T10:26:33.056Z","4.1.2-d853d124":"2023-06-19T13:48:17.217Z"},"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"}],"description":"Stream Muxer interface for libp2p","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-stream-muxer#readme","keywords":["interface","libp2p"],"repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"license":"Apache-2.0 OR MIT","readme":"","readmeFilename":""}