{"_id":"@ipshipyard/libp2p-auto-tls","_rev":"9-07787f0d8b678dbea66f0b9d94338753","name":"@ipshipyard/libp2p-auto-tls","dist-tags":{"latest":"2.0.2"},"versions":{"0.0.0":{"name":"@ipshipyard/libp2p-auto-tls","version":"0.0.0","license":"Apache-2.0 OR MIT","_id":"@ipshipyard/libp2p-auto-tls@0.0.0","maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"}],"homepage":"https://github.com/ipshipyard/js-libp2p-auto-tls#readme","bugs":{"url":"https://github.com/ipshipyard/js-libp2p-auto-tls/issues"},"dist":{"shasum":"6dc1e6cb4acd8765643d03e900bd65216c9c0bed","tarball":"https://registry.npmjs.org/@ipshipyard/libp2p-auto-tls/-/libp2p-auto-tls-0.0.0.tgz","fileCount":37,"integrity":"sha512-LPXobRGOdL00Ms8d92N7lxWfD33gPATDMp43jU07MMH4k/TK9AsXGmm1C2S5B+88sBg4+hg1rrRhJ1DnbxNQcA==","signatures":[{"sig":"MEUCIBH+O9W88AAW+QHcr4VOdKm8WF5VZ80G5Cv9BBJ1uOQrAiEAhmEE47uRh1Z3qFgYpdYWFU3BsPvCMkQnPjKPnCtw8qg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":98630},"type":"module","types":"./dist/src/index.d.ts","browser":{"./dist/src/auto-tls.js":"./dist/src/auto-tls.browser.js"},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"release":{"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"release":"major","breaking":true},{"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"],"branches":["main"]},"scripts":{"lint":"aegir lint","test":"aegir test -t node","build":"aegir build --bundle false","clean":"aegir clean","release":"aegir release","dep-check":"aegir dep-check","doc-check":"aegir doc-check","test:node":"aegir test -t node --cov"},"_npmUser":{"name":"achingbrain","email":"alex@achingbrain.net"},"repository":{"url":"git+https://github.com/ipshipyard/js-libp2p-auto-tls.git","type":"git"},"_npmVersion":"10.9.0","description":"Automatically acquire a <peerId>.libp2p.direct TLS certificate","directories":{},"sideEffects":false,"_nodeVersion":"22.11.0","dependencies":{"delay":"^6.0.0","any-signal":"^4.1.1","acme-client":"^5.4.0","uint8arrays":"^5.1.0","multiformats":"^13.3.1","@libp2p/utils":"^6.3.1","@libp2p/crypto":"^5.0.9","@peculiar/x509":"^1.12.3","@chainsafe/is-ip":"^2.0.2","@libp2p/keychain":"^5.0.12","@libp2p/interface":"^2.4.0","@libp2p/http-fetch":"^2.1.0","interface-datastore":"^8.3.1","@multiformats/multiaddr":"^12.3.3","@libp2p/interface-internal":"^2.2.2","@multiformats/multiaddr-matcher":"^1.6.0"},"eslintConfig":{"extends":"ipfs","parserOptions":{"project":true,"sourceType":"module"}},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"aegir":"^45.0.5","sinon":"^19.0.2","p-event":"^6.0.1","sinon-ts":"^2.0.0","@libp2p/logger":"^5.1.6","datastore-core":"^10.0.2","@libp2p/peer-id":"^5.0.10"},"_npmOperationalInternal":{"tmp":"tmp/libp2p-auto-tls_0.0.0_1738937496482_0.1774872993033616","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@ipshipyard/libp2p-auto-tls","version":"1.0.0","license":"Apache-2.0 OR MIT","_id":"@ipshipyard/libp2p-auto-tls@1.0.0","maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"},{"name":"npm-service-account-ipshipyard","email":"alex+npm-service-account-ipshipyard@ipshipyard.com"}],"homepage":"https://github.com/ipshipyard/js-libp2p-auto-tls#readme","bugs":{"url":"https://github.com/ipshipyard/js-libp2p-auto-tls/issues"},"dist":{"shasum":"8762caa615194722f7587a5d28d561792106ce6b","tarball":"https://registry.npmjs.org/@ipshipyard/libp2p-auto-tls/-/libp2p-auto-tls-1.0.0.tgz","fileCount":38,"integrity":"sha512-wV1smnqbg3xUCHmPB8KWFuP8G9MKlx8KDuiJvhCWPi7B03xJq2FMybMDPI8tM9boa9sHD+5+NFu+Teo3Lz76fw==","signatures":[{"sig":"MEYCIQCFaHzlFqk/vAzw6ogZClVp/YkYdZXn4jmhjAnmgVfzZwIhAMrV1pdHPRWi6y/hTBhS+4zaXjUVFH8djIkLwCCxomTH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ipshipyard%2flibp2p-auto-tls@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":100883},"type":"module","types":"./dist/src/index.d.ts","browser":{"./dist/src/auto-tls.js":"./dist/src/auto-tls.browser.js"},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"gitHead":"3f02ba2cb0c90332eda7fcdb1d6db89ac06c5fd7","release":{"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"release":"major","breaking":true},{"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"],"branches":["main"]},"scripts":{"docs":"aegir docs","lint":"aegir lint","test":"aegir test -t node","build":"aegir build --bundle false","clean":"aegir clean","release":"aegir release","dep-check":"aegir dep-check","doc-check":"aegir doc-check","test:node":"aegir test -t node --cov"},"_npmUser":{"name":"npm-service-account-ipshipyard","email":"alex+npm-service-account-ipshipyard@ipshipyard.com"},"repository":{"url":"git+https://github.com/ipshipyard/js-libp2p-auto-tls.git","type":"git"},"_npmVersion":"10.9.2","description":"Automatically acquire a <peerId>.libp2p.direct TLS certificate","directories":{},"sideEffects":false,"_nodeVersion":"22.13.1","dependencies":{"delay":"^6.0.0","any-signal":"^4.1.1","acme-client":"^5.4.0","uint8arrays":"^5.1.0","multiformats":"^13.3.1","@libp2p/utils":"^6.3.1","@libp2p/crypto":"^5.0.9","@peculiar/x509":"^1.12.3","@chainsafe/is-ip":"^2.0.2","@libp2p/keychain":"^5.0.12","@libp2p/interface":"^2.4.0","@libp2p/http-fetch":"^2.1.0","interface-datastore":"^8.3.1","@multiformats/multiaddr":"^12.3.3","@libp2p/interface-internal":"^2.2.2","@multiformats/multiaddr-matcher":"^1.6.0"},"eslintConfig":{"extends":"ipfs","parserOptions":{"project":true,"sourceType":"module"}},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"aegir":"^45.0.5","sinon":"^19.0.2","p-event":"^6.0.1","sinon-ts":"^2.0.0","@types/sinon":"^17.0.3","@libp2p/logger":"^5.1.6","datastore-core":"^10.0.2","@libp2p/peer-id":"^5.0.10"},"_npmOperationalInternal":{"tmp":"tmp/libp2p-auto-tls_1.0.0_1739170677540_0.49284547887260577","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@ipshipyard/libp2p-auto-tls","version":"2.0.0","license":"Apache-2.0 OR MIT","_id":"@ipshipyard/libp2p-auto-tls@2.0.0","maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"},{"name":"ipshipyard-publisher-bot","email":"alex.potsides+ipshipyard-publisher-bot@ipshipyard.com"}],"homepage":"https://github.com/ipshipyard/js-libp2p-auto-tls#readme","bugs":{"url":"https://github.com/ipshipyard/js-libp2p-auto-tls/issues"},"dist":{"shasum":"1ecb732863a8fc35668e2df02345430c6a988d0c","tarball":"https://registry.npmjs.org/@ipshipyard/libp2p-auto-tls/-/libp2p-auto-tls-2.0.0.tgz","fileCount":38,"integrity":"sha512-L/B3/WmT7leO1xMONdb1yAVV5BeVG5bErCUx/hZccAsiA/ASGgJSXhkpeT7d2aIPwNOjsZ6kjJe9zUYzbOg9xg==","signatures":[{"sig":"MEQCIEmuoj8PmfBP7p9IbbMrFGw1wwZLlV9/PzT7LGdjs0sgAiBwbcUq6clp7GdMafMmmuferNgzJ6CnOffCbxfFk/dfAQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ipshipyard%2flibp2p-auto-tls@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":100514},"type":"module","types":"./dist/src/index.d.ts","browser":{"./dist/src/auto-tls.js":"./dist/src/auto-tls.browser.js"},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"gitHead":"7f785e907b8d4fc38c61ca0eca2c55ee977f10df","release":{"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"release":"major","breaking":true},{"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"],"branches":["main"]},"scripts":{"docs":"aegir docs","lint":"aegir lint","test":"aegir test -t node","build":"aegir build --bundle false","clean":"aegir clean","release":"aegir release","dep-check":"aegir dep-check","doc-check":"aegir doc-check","test:node":"aegir test -t node --cov"},"_npmUser":{"name":"ipshipyard-publisher-bot","email":"alex.potsides+ipshipyard-publisher-bot@ipshipyard.com"},"repository":{"url":"git+https://github.com/ipshipyard/js-libp2p-auto-tls.git","type":"git"},"_npmVersion":"10.9.4","description":"Automatically acquire a <peerId>.libp2p.direct TLS certificate","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","dependencies":{"delay":"^6.0.0","any-signal":"^4.1.1","acme-client":"^5.4.0","uint8arrays":"^5.1.0","@libp2p/http":"^2.0.0","multiformats":"^13.3.1","@libp2p/utils":"^7.0.4","@libp2p/crypto":"^5.0.9","@peculiar/x509":"^1.12.3","@chainsafe/is-ip":"^2.0.2","@libp2p/keychain":"^6.0.4","@libp2p/interface":"^3.0.2","interface-datastore":"^8.3.1","@multiformats/multiaddr":"^13.0.1","@libp2p/interface-internal":"^3.0.4","@multiformats/multiaddr-matcher":"^3.0.1"},"eslintConfig":{"extends":"ipfs","parserOptions":{"project":true,"sourceType":"module"}},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"aegir":"^47.0.22","sinon":"^21.0.0","p-event":"^7.0.0","sinon-ts":"^2.0.0","@types/sinon":"^17.0.3","@libp2p/logger":"^6.0.4","datastore-core":"^10.0.2","@libp2p/peer-id":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/libp2p-auto-tls_2.0.0_1759418218493_0.5517134372519246","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@ipshipyard/libp2p-auto-tls","version":"2.0.1","license":"Apache-2.0 OR MIT","_id":"@ipshipyard/libp2p-auto-tls@2.0.1","maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"},{"name":"ipshipyard-publisher-bot","email":"alex.potsides+ipshipyard-publisher-bot@ipshipyard.com"}],"homepage":"https://github.com/ipshipyard/js-libp2p-auto-tls#readme","bugs":{"url":"https://github.com/ipshipyard/js-libp2p-auto-tls/issues"},"dist":{"shasum":"d85218252b9f7966d0f39bf8d571ea276493ae2e","tarball":"https://registry.npmjs.org/@ipshipyard/libp2p-auto-tls/-/libp2p-auto-tls-2.0.1.tgz","fileCount":38,"integrity":"sha512-zpDXVMY1ZgB6o30zFocXUzrD9+tz1bbEdgewFoBf4olDh5/CwjDi/k9v2RrJqujWKYWyRuHRg6Q+VRpvtGrpuw==","signatures":[{"sig":"MEUCICWXG5+w8lx8+048xrRQ4boupaiiuN7jQzPcmqESb7H8AiEAi6j7FSQFhV7wbFTOOZ8WHOwwDUOCl5rHdcWM7uKBs+w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ipshipyard%2flibp2p-auto-tls@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":100514},"type":"module","types":"./dist/src/index.d.ts","browser":{"./dist/src/auto-tls.js":"./dist/src/auto-tls.browser.js"},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"gitHead":"19d2aaf4106a0568d2b3527c76dfe266db31092c","release":{"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"release":"major","breaking":true},{"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"],"branches":["main"]},"scripts":{"docs":"aegir docs","lint":"aegir lint","test":"aegir test -t node","build":"aegir build --bundle false","clean":"aegir clean","release":"aegir release","dep-check":"aegir dep-check","doc-check":"aegir doc-check","test:node":"aegir test -t node --cov"},"_npmUser":{"name":"ipshipyard-publisher-bot","email":"alex.potsides+ipshipyard-publisher-bot@ipshipyard.com"},"repository":{"url":"git+https://github.com/ipshipyard/js-libp2p-auto-tls.git","type":"git"},"_npmVersion":"10.9.4","description":"Automatically acquire a <peerId>.libp2p.direct TLS certificate","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","dependencies":{"delay":"^6.0.0","any-signal":"^4.1.1","acme-client":"^5.4.0","uint8arrays":"^5.1.0","@libp2p/http":"^2.0.0","multiformats":"^13.3.1","@libp2p/utils":"^7.0.4","@libp2p/crypto":"^5.0.9","@peculiar/x509":"^1.12.3","@chainsafe/is-ip":"^2.0.2","@libp2p/keychain":"^6.0.4","@libp2p/interface":"^3.0.2","interface-datastore":"^9.0.2","@multiformats/multiaddr":"^13.0.1","@libp2p/interface-internal":"^3.0.4","@multiformats/multiaddr-matcher":"^3.0.1"},"eslintConfig":{"extends":"ipfs","parserOptions":{"project":true,"sourceType":"module"}},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"aegir":"^47.0.22","sinon":"^21.0.0","p-event":"^7.0.0","sinon-ts":"^2.0.0","@types/sinon":"^17.0.3","@libp2p/logger":"^6.0.4","datastore-core":"^11.0.2","@libp2p/peer-id":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/libp2p-auto-tls_2.0.1_1759498164028_0.4138621319270037","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@ipshipyard/libp2p-auto-tls","version":"2.0.2","description":"Automatically acquire a <peerId>.libp2p.direct TLS certificate","license":"Apache-2.0 OR MIT","homepage":"https://github.com/ipshipyard/js-libp2p-auto-tls#readme","repository":{"type":"git","url":"git+https://github.com/ipshipyard/js-libp2p-auto-tls.git"},"bugs":{"url":"https://github.com/ipshipyard/js-libp2p-auto-tls/issues"},"publishConfig":{"access":"public","provenance":true},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js","module-sync":"./dist/src/index.js"}},"release":{"branches":["main"],"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",{"assets":["CHANGELOG.md","package.json"]}]]},"scripts":{"build":"aegir build --bundle false","test":"aegir test -t node","clean":"aegir clean","lint":"aegir lint","docs":"aegir docs","test:node":"aegir test -t node --cov","dep-check":"aegir dep-check","doc-check":"aegir doc-check","release":"aegir release"},"dependencies":{"@chainsafe/is-ip":"^2.0.2","@libp2p/crypto":"^5.0.9","@libp2p/http":"^2.0.0","@libp2p/interface":"^3.0.2","@libp2p/interface-internal":"^3.0.4","@libp2p/keychain":"^6.0.4","@libp2p/utils":"^7.0.4","@multiformats/multiaddr":"^13.0.1","@multiformats/multiaddr-matcher":"^3.0.1","@peculiar/x509":"^2.0.0","acme-client":"^5.4.0","any-signal":"^4.1.1","delay":"^7.0.0","interface-datastore":"^10.0.1","multiformats":"^14.0.2","reflect-metadata":"^0.2.2","uint8arrays":"^6.1.1"},"devDependencies":{"@libp2p/logger":"^6.0.4","@libp2p/peer-id":"^6.0.3","@types/sinon":"^21.0.1","aegir":"^48.1.1","datastore-core":"^12.0.1","p-event":"^7.0.0","sinon":"^22.0.0","sinon-ts":"^2.0.0"},"browser":{"./dist/src/auto-tls.js":"./dist/src/auto-tls.browser.js"},"sideEffects":false,"gitHead":"50ac4b772c8c6e7b65c8ad3f0a02d82f6a8eaed4","_id":"@ipshipyard/libp2p-auto-tls@2.0.2","_nodeVersion":"24.17.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-jnGqf/eif9GpjH03PaenekRWRvlJgoVZ1JsAawW0dJxcIW8qHiSMIbVh49xOjUGTK8vUbN26bsO+Rustg0n72A==","shasum":"377d859cab5774f4e341a9fc50434bb90c240046","tarball":"https://registry.npmjs.org/@ipshipyard/libp2p-auto-tls/-/libp2p-auto-tls-2.0.2.tgz","fileCount":38,"unpackedSize":101002,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ipshipyard%2flibp2p-auto-tls@2.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDJBWin15sN7+AqkNPgvNd3KP9rTYXq5JpgU/IfIwrmlgIgfiPLqm2YKaZwH4IL/jnqrye3e3BD6+KJGc3xPbttOks="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d0051e53-bad4-4141-9156-80c8327ff4aa"}},"directories":{},"maintainers":[{"name":"aschmahmann","email":"adin.schmahmann@gmail.com"},{"name":"achingbrain","email":"alex@achingbrain.net"},{"name":"ipshipyard-publisher-bot","email":"alex.potsides+ipshipyard-publisher-bot@ipshipyard.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/libp2p-auto-tls_2.0.2_1782739044370_0.04954396287529916"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-07T14:11:35.519Z","modified":"2026-06-29T13:17:24.835Z","0.0.0":"2025-02-07T14:11:36.675Z","1.0.0":"2025-02-10T06:57:57.722Z","2.0.0":"2025-10-02T15:16:58.698Z","2.0.1":"2025-10-03T13:29:24.218Z","2.0.2":"2026-06-29T13:17:24.507Z"},"bugs":{"url":"https://github.com/ipshipyard/js-libp2p-auto-tls/issues"},"license":"Apache-2.0 OR MIT","homepage":"https://github.com/ipshipyard/js-libp2p-auto-tls#readme","repository":{"type":"git","url":"git+https://github.com/ipshipyard/js-libp2p-auto-tls.git"},"description":"Automatically acquire a <peerId>.libp2p.direct TLS certificate","maintainers":[{"name":"aschmahmann","email":"adin.schmahmann@gmail.com"},{"name":"achingbrain","email":"alex@achingbrain.net"},{"name":"ipshipyard-publisher-bot","email":"alex.potsides+ipshipyard-publisher-bot@ipshipyard.com"}],"readme":"# @ipshipyard/libp2p-auto-tls\n\n[![codecov](https://img.shields.io/codecov/c/github/ipshipyard/js-libp2p-auto-tls.svg?style=flat-square)](https://codecov.io/gh/ipshipyard/js-libp2p-auto-tls)\n[![CI](https://img.shields.io/github/actions/workflow/status/ipshipyard/js-libp2p-auto-tls/js-test-and-release.yml?branch=main\\&style=flat-square)](https://github.com/ipshipyard/js-libp2p-auto-tls/actions/workflows/js-test-and-release.yml?query=branch%3Amain)\n\n> Automatically acquire a <peerId>.libp2p.direct TLS certificate\n\n# About\n\n<!--\n\n!IMPORTANT!\n\nEverything in this README between \"# About\" and \"# Install\" is automatically\ngenerated and will be overwritten the next time the doc generator is run.\n\nTo make changes to this section, please update the @packageDocumentation section\nof src/index.js or src/index.ts\n\nTo experiment with formatting, please run \"npm run docs\" from the root of this\nrepo and examine the changes made.\n\n-->\n\nWhen a publicly dialable address is detected, use the p2p-forge service at\n<https://registration.libp2p.direct> to acquire a valid Let's Encrypt-backed\nTLS certificate, which the node can then use with the relevant transports.\n\nThe node must be configured with a listener for at least one of the following\ntransports:\n\nTCP or WS or WSS, (along with the Yamux multiplexer and TLS or Noise encryption)\nQUIC-v1\nWebTransport\n\nIt also requires the Identify protocol.\n\n## Example - Use UPnP to hole punch and auto-upgrade to Secure WebSockets\n\n```TypeScript\nimport { noise } from '@chainsafe/libp2p-noise'\nimport { yamux } from '@chainsafe/libp2p-yamux'\nimport { autoTLS } from '@ipshipyard/libp2p-auto-tls'\nimport { autoNAT } from '@libp2p/autonat'\nimport { identify } from '@libp2p/identify'\nimport { keychain } from '@libp2p/keychain'\nimport { webSockets } from '@libp2p/websockets'\nimport { uPnPNAT } from '@libp2p/upnp-nat'\nimport { createLibp2p } from 'libp2p'\n\nconst node = await createLibp2p({\n  addresses: {\n    listen: [\n      '/ip4/0.0.0.0/tcp/0/ws'\n    ]\n  },\n  transports: [\n    webSockets()\n  ],\n  connectionEncrypters: [\n    noise()\n  ],\n  streamMuxers: [\n    yamux()\n  ],\n  services: {\n    autoNAT: autoNAT(),\n    autoTLS: autoTLS(),\n    identify: identify(),\n    keychain: keychain(),\n    upnp: uPnPNAT()\n  }\n})\n\n// ...time passes\n\nconsole.info(node.getMultiaddrs())\n// includes public WSS address:\n// [ '/ip4/123.123.123.123/tcp/12345/tls/ws' ]\n```\n\n# Install\n\n```console\n$ npm i @ipshipyard/libp2p-auto-tls\n```\n\n# API Docs\n\n- <https://ipshipyard.github.io/js-libp2p-auto-tls>\n\n# License\n\nLicensed under either of\n\n- Apache 2.0, ([LICENSE-APACHE](https://github.com/ipshipyard/js-libp2p-auto-tls/LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)\n- MIT ([LICENSE-MIT](https://github.com/ipshipyard/js-libp2p-auto-tls/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"}