diff --git a/package-lock.json b/package-lock.json index c0145ab..7036db9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "@libp2p/circuit-relay-v2": "^3.2.8", "@libp2p/identify": "^3.0.27", "@libp2p/interface": "^2.7.0", - "@libp2p/kad-dht": "^14.2.15", + "@libp2p/kad-dht": "^15.0.2", "@libp2p/mplex": "^11.0.32", "@libp2p/peer-id": "^5.1.0", "@libp2p/prometheus-metrics": "^4.3.15", @@ -3380,6 +3380,44 @@ "uint8arrays": "^5.1.0" } }, + "node_modules/@helia/ipns/node_modules/@libp2p/kad-dht": { + "version": "14.2.15", + "resolved": "https://registry.npmjs.org/@libp2p/kad-dht/-/kad-dht-14.2.15.tgz", + "integrity": "sha512-iARZsaKrm9LlOE0nRTsqMasYGfWbh+zw1TAMWOY/QHTszFGb9ol7FZoI9WUzoif9ltKLu3BjJpy00b8CVofCBw==", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/crypto": "^5.0.15", + "@libp2p/interface": "^2.7.0", + "@libp2p/interface-internal": "^2.3.9", + "@libp2p/peer-collections": "^6.0.25", + "@libp2p/peer-id": "^5.1.0", + "@libp2p/record": "^4.0.5", + "@libp2p/utils": "^6.6.0", + "@multiformats/multiaddr": "^12.3.3", + "any-signal": "^4.1.1", + "interface-datastore": "^8.3.1", + "it-all": "^3.0.6", + "it-drain": "^3.0.7", + "it-length": "^3.0.6", + "it-length-prefixed": "^10.0.1", + "it-map": "^3.1.1", + "it-merge": "^3.0.5", + "it-parallel": "^3.0.8", + "it-pipe": "^3.0.1", + "it-protobuf-stream": "^1.1.5", + "it-take": "^3.0.6", + "mortice": "^3.0.6", + "multiformats": "^13.3.1", + "p-defer": "^4.0.1", + "p-event": "^6.0.1", + "progress-events": "^1.0.1", + "protons-runtime": "^5.5.0", + "race-signal": "^1.1.2", + "uint8-varint": "^2.0.4", + "uint8arraylist": "^2.4.8", + "uint8arrays": "^5.1.0" + } + }, "node_modules/@helia/routers": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/@helia/routers/-/routers-3.0.1.tgz", @@ -3498,6 +3536,44 @@ "uint8arrays": "^5.1.0" } }, + "node_modules/@helia/verified-fetch/node_modules/@libp2p/kad-dht": { + "version": "14.2.15", + "resolved": "https://registry.npmjs.org/@libp2p/kad-dht/-/kad-dht-14.2.15.tgz", + "integrity": "sha512-iARZsaKrm9LlOE0nRTsqMasYGfWbh+zw1TAMWOY/QHTszFGb9ol7FZoI9WUzoif9ltKLu3BjJpy00b8CVofCBw==", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/crypto": "^5.0.15", + "@libp2p/interface": "^2.7.0", + "@libp2p/interface-internal": "^2.3.9", + "@libp2p/peer-collections": "^6.0.25", + "@libp2p/peer-id": "^5.1.0", + "@libp2p/record": "^4.0.5", + "@libp2p/utils": "^6.6.0", + "@multiformats/multiaddr": "^12.3.3", + "any-signal": "^4.1.1", + "interface-datastore": "^8.3.1", + "it-all": "^3.0.6", + "it-drain": "^3.0.7", + "it-length": "^3.0.6", + "it-length-prefixed": "^10.0.1", + "it-map": "^3.1.1", + "it-merge": "^3.0.5", + "it-parallel": "^3.0.8", + "it-pipe": "^3.0.1", + "it-protobuf-stream": "^1.1.5", + "it-take": "^3.0.6", + "mortice": "^3.0.6", + "multiformats": "^13.3.1", + "p-defer": "^4.0.1", + "p-event": "^6.0.1", + "progress-events": "^1.0.1", + "protons-runtime": "^5.5.0", + "race-signal": "^1.1.2", + "uint8-varint": "^2.0.4", + "uint8arraylist": "^2.4.8", + "uint8arrays": "^5.1.0" + } + }, "node_modules/@humanwhocodes/config-array": { "version": "0.13.0", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", @@ -4103,12 +4179,12 @@ } }, "node_modules/@libp2p/crypto": { - "version": "5.0.15", - "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-5.0.15.tgz", - "integrity": "sha512-28xYMOn3fs8flsNgCVVxp27gEmDTtZHbz+qEVv3v7cWfGRipaVhNXFV9tQJHWXHQ8mN8v/PQvgcfCcWu5jkrTg==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-5.1.1.tgz", + "integrity": "sha512-feByJ5ypBfl7Dp+jLBmieHDY/249hqCiDn8u6DNSZrpDhefn2l/NE03fS2mW6pLOnY3QIqB372TfLtx3/EPU+w==", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/interface": "^2.7.0", + "@libp2p/interface": "^2.9.0", "@noble/curves": "^1.7.0", "@noble/hashes": "^1.6.1", "multiformats": "^13.3.1", @@ -4179,9 +4255,9 @@ } }, "node_modules/@libp2p/interface": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-2.7.0.tgz", - "integrity": "sha512-lWmfIGzbSaw//yoEWWJh8dXNDGSCwUyXwC7P1Q6jCFWNoEtCaB1pvwOGBtri7Db/aNFZryMzN5covoq5ulldnA==", + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-2.9.0.tgz", + "integrity": "sha512-L/0Z5H0mjaECA0jkZG+OJmEhB/OIJ07gzZYljU7C19XjL3dSkBvhA9il+G3FpHyHgqAOVGuQU5qkbv2Edj8FIA==", "license": "Apache-2.0 OR MIT", "dependencies": { "@multiformats/multiaddr": "^12.3.3", @@ -4193,30 +4269,31 @@ } }, "node_modules/@libp2p/interface-internal": { - "version": "2.3.9", - "resolved": "https://registry.npmjs.org/@libp2p/interface-internal/-/interface-internal-2.3.9.tgz", - "integrity": "sha512-1hW/yHktO3txc+r4ASmVA9GbNN6ZoGnH8Bt9VrYwY580BT53TP3eipn3Bo1XyGBDtmV6bpQiKhFK5AYVbhnz0g==", + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/@libp2p/interface-internal/-/interface-internal-2.3.11.tgz", + "integrity": "sha512-/7GMkn8F9ojFgUmgkiyP0LeVQ4AKinyn2PdFCPOzQszcN3rVHOi6mtZYXNsGjftoP3QZQ4udadbytzGE3pmVYA==", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/interface": "^2.7.0", - "@libp2p/peer-collections": "^6.0.25", + "@libp2p/interface": "^2.9.0", + "@libp2p/peer-collections": "^6.0.27", "@multiformats/multiaddr": "^12.3.3", "progress-events": "^1.0.1" } }, "node_modules/@libp2p/kad-dht": { - "version": "14.2.15", - "resolved": "https://registry.npmjs.org/@libp2p/kad-dht/-/kad-dht-14.2.15.tgz", - "integrity": "sha512-iARZsaKrm9LlOE0nRTsqMasYGfWbh+zw1TAMWOY/QHTszFGb9ol7FZoI9WUzoif9ltKLu3BjJpy00b8CVofCBw==", + "version": "15.0.2", + "resolved": "https://registry.npmjs.org/@libp2p/kad-dht/-/kad-dht-15.0.2.tgz", + "integrity": "sha512-reyM3xwmzhejSUSE9yz3M/V21uJp6MK7v4J7D7nLTbDLXPiI1su4iWQEFz/r3SXVrqxdtz8PmVA7QPSCaIAGCw==", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/crypto": "^5.0.15", - "@libp2p/interface": "^2.7.0", - "@libp2p/interface-internal": "^2.3.9", - "@libp2p/peer-collections": "^6.0.25", - "@libp2p/peer-id": "^5.1.0", + "@libp2p/crypto": "^5.1.1", + "@libp2p/interface": "^2.9.0", + "@libp2p/interface-internal": "^2.3.11", + "@libp2p/peer-collections": "^6.0.27", + "@libp2p/peer-id": "^5.1.2", + "@libp2p/ping": "^2.0.29", "@libp2p/record": "^4.0.5", - "@libp2p/utils": "^6.6.0", + "@libp2p/utils": "^6.6.2", "@multiformats/multiaddr": "^12.3.3", "any-signal": "^4.1.1", "interface-datastore": "^8.3.1", @@ -4228,7 +4305,7 @@ "it-merge": "^3.0.5", "it-parallel": "^3.0.8", "it-pipe": "^3.0.1", - "it-protobuf-stream": "^1.1.5", + "it-protobuf-stream": "^2.0.1", "it-take": "^3.0.6", "mortice": "^3.0.6", "multiformats": "^13.3.1", @@ -4242,6 +4319,55 @@ "uint8arrays": "^5.1.0" } }, + "node_modules/@libp2p/kad-dht/node_modules/it-byte-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-byte-stream/-/it-byte-stream-2.0.1.tgz", + "integrity": "sha512-WccB179tWRNjTyXJ9wLshQdKSLdVIexmnNjLfCT7UnsiLisTVUY092YqFhkL+da1WFR0paGzB24L+pAzFhRI4Q==", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "abort-error": "^1.0.1", + "it-queueless-pushable": "^2.0.0", + "it-stream-types": "^2.0.2", + "race-signal": "^1.1.3", + "uint8arraylist": "^2.4.8" + } + }, + "node_modules/@libp2p/kad-dht/node_modules/it-length-prefixed-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-length-prefixed-stream/-/it-length-prefixed-stream-2.0.1.tgz", + "integrity": "sha512-TFohjVrQKRLQgRrPdVL9ARqP4CHUHnsRkbkX4nEhSOBjOvZtVV/pHh5Z2C8EH50MnfNDjVSKvEbaIFVLS3/QMA==", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "abort-error": "^1.0.1", + "it-byte-stream": "^2.0.0", + "it-stream-types": "^2.0.2", + "uint8-varint": "^2.0.4", + "uint8arraylist": "^2.4.8" + } + }, + "node_modules/@libp2p/kad-dht/node_modules/it-protobuf-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-protobuf-stream/-/it-protobuf-stream-2.0.1.tgz", + "integrity": "sha512-szhw8w2aIENUa1yv0vFgGZDs7e81dQ/7dM10c4Rf6+rs5tqzWVCSLbpgxIYM0cA8KlcI66XGdzu6lyYp6jKdvw==", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "abort-error": "^1.0.1", + "it-length-prefixed-stream": "^2.0.0", + "it-stream-types": "^2.0.2", + "uint8arraylist": "^2.4.8" + } + }, + "node_modules/@libp2p/kad-dht/node_modules/it-queueless-pushable": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/it-queueless-pushable/-/it-queueless-pushable-2.0.0.tgz", + "integrity": "sha512-MlNnefWT/ntv5fesrHpxwVIu6ZdtlkN0A4aaJiE5wnmPMBv9ttiwX3UEMf78dFwIj5ZNaU9usYXg4swMEpUNJQ==", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "abort-error": "^1.0.1", + "p-defer": "^4.0.1", + "race-signal": "^1.1.3" + } + }, "node_modules/@libp2p/keychain": { "version": "5.1.4", "resolved": "https://registry.npmjs.org/@libp2p/keychain/-/keychain-5.1.4.tgz", @@ -4260,12 +4386,12 @@ } }, "node_modules/@libp2p/logger": { - "version": "5.1.13", - "resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-5.1.13.tgz", - "integrity": "sha512-JKyMlySG8T+LpItsj9Vma57yap/A0HqJ8ZdaHvgdoThhSOfqcRs8oRWO/2EG0Q5hUXugw//EAT+Ptj8MyNdbjQ==", + "version": "5.1.15", + "resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-5.1.15.tgz", + "integrity": "sha512-0+rOHEXXDNZvsb9p04jVAFQB0WcvMxFfqzSe271/tg4yVlPF5H99l5BwOqeb+EYhHV1lTk+zrJdPK9easHr1fQ==", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/interface": "^2.7.0", + "@libp2p/interface": "^2.9.0", "@multiformats/multiaddr": "^12.3.3", "interface-datastore": "^8.3.1", "multiformats": "^13.3.1", @@ -4322,25 +4448,25 @@ } }, "node_modules/@libp2p/peer-collections": { - "version": "6.0.25", - "resolved": "https://registry.npmjs.org/@libp2p/peer-collections/-/peer-collections-6.0.25.tgz", - "integrity": "sha512-sU6mjwANQvVPgTgslRZvxZ6cYzQJ66QmNHm6mrM0cx03Yf1heWnvL28N/P781nGsUjo1cJD7xB5ctAGk6A/lXw==", + "version": "6.0.27", + "resolved": "https://registry.npmjs.org/@libp2p/peer-collections/-/peer-collections-6.0.27.tgz", + "integrity": "sha512-JLA7N9OgcxfxnSU3IpZ1DLXHCW64VH/WgJm/lFtPXjIfknO0hU2feerdB2sz/QBAAmehJHqBBSlao57BKo7KLg==", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/interface": "^2.7.0", - "@libp2p/peer-id": "^5.1.0", - "@libp2p/utils": "^6.6.0", + "@libp2p/interface": "^2.9.0", + "@libp2p/peer-id": "^5.1.2", + "@libp2p/utils": "^6.6.2", "multiformats": "^13.3.1" } }, "node_modules/@libp2p/peer-id": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-5.1.0.tgz", - "integrity": "sha512-9Xob9DDg1uBboM2QvJ5nyPbsjxsNS9obmGAYeAtLSx5aHAIC4AweJQFHssUUCfW7mufkzX/s3zyR62XPR4SYyQ==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-5.1.2.tgz", + "integrity": "sha512-K4tjLi+OIHJSeMMqw28xnBxDfklfWCsR423Jm6GxZ5avIj2xm7WIq5oUhCntGGDIQWW/8qdf8v3tYK36JxwLOA==", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/crypto": "^5.0.15", - "@libp2p/interface": "^2.7.0", + "@libp2p/crypto": "^5.1.1", + "@libp2p/interface": "^2.9.0", "multiformats": "^13.3.1", "uint8arrays": "^5.1.0" } @@ -4384,19 +4510,43 @@ } }, "node_modules/@libp2p/ping": { - "version": "2.0.27", - "resolved": "https://registry.npmjs.org/@libp2p/ping/-/ping-2.0.27.tgz", - "integrity": "sha512-UwkiEJkdKY/4ncwLxMeo1A0DMXMFPTOE39qFovIkEVZI+hLmwMGo9d6kaEVaNL7lyCPFvZmT28RAyK2wOqVZQg==", + "version": "2.0.29", + "resolved": "https://registry.npmjs.org/@libp2p/ping/-/ping-2.0.29.tgz", + "integrity": "sha512-0iZOtdm7tM2NAZ06Tgh9avPMUO2xavaUH7HNXBHCG13FCiKLjPKpjKOcic47jOI2RGPQ9Fv5MNr/3OCl29bZKA==", "license": "Apache-2.0 OR MIT", "dependencies": { - "@libp2p/crypto": "^5.0.15", - "@libp2p/interface": "^2.7.0", - "@libp2p/interface-internal": "^2.3.9", + "@libp2p/crypto": "^5.1.1", + "@libp2p/interface": "^2.9.0", + "@libp2p/interface-internal": "^2.3.11", "@multiformats/multiaddr": "^12.3.3", - "it-byte-stream": "^1.1.0", + "it-byte-stream": "^2.0.1", "uint8arrays": "^5.1.0" } }, + "node_modules/@libp2p/ping/node_modules/it-byte-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-byte-stream/-/it-byte-stream-2.0.1.tgz", + "integrity": "sha512-WccB179tWRNjTyXJ9wLshQdKSLdVIexmnNjLfCT7UnsiLisTVUY092YqFhkL+da1WFR0paGzB24L+pAzFhRI4Q==", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "abort-error": "^1.0.1", + "it-queueless-pushable": "^2.0.0", + "it-stream-types": "^2.0.2", + "race-signal": "^1.1.3", + "uint8arraylist": "^2.4.8" + } + }, + "node_modules/@libp2p/ping/node_modules/it-queueless-pushable": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/it-queueless-pushable/-/it-queueless-pushable-2.0.0.tgz", + "integrity": "sha512-MlNnefWT/ntv5fesrHpxwVIu6ZdtlkN0A4aaJiE5wnmPMBv9ttiwX3UEMf78dFwIj5ZNaU9usYXg4swMEpUNJQ==", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "abort-error": "^1.0.1", + "p-defer": "^4.0.1", + "race-signal": "^1.1.3" + } + }, "node_modules/@libp2p/prometheus-metrics": { "version": "4.3.15", "resolved": "https://registry.npmjs.org/@libp2p/prometheus-metrics/-/prometheus-metrics-4.3.15.tgz", @@ -4478,16 +4628,16 @@ } }, "node_modules/@libp2p/utils": { - "version": "6.6.0", - "resolved": "https://registry.npmjs.org/@libp2p/utils/-/utils-6.6.0.tgz", - "integrity": "sha512-QjS1+r+jInOxULjdATBc1N/gorUWUoJqEKxpqTcB2wOwCipzB58RYR3n3QPeoRHj1mVMhZujE1dTbmK/Nafhqg==", + "version": "6.6.2", + "resolved": "https://registry.npmjs.org/@libp2p/utils/-/utils-6.6.2.tgz", + "integrity": "sha512-PjbKA0+l+8mmM7quOnG0D7XKdlF/3Hi5Aco3D0ZQXW68QnzmjEEeTbky1gzrZUgnMBmb2ZYrBlZd0GpsJ7Rc9Q==", "license": "Apache-2.0 OR MIT", "dependencies": { "@chainsafe/is-ip": "^2.0.2", "@chainsafe/netmask": "^2.0.0", - "@libp2p/crypto": "^5.0.15", - "@libp2p/interface": "^2.7.0", - "@libp2p/logger": "^5.1.13", + "@libp2p/crypto": "^5.1.1", + "@libp2p/interface": "^2.9.0", + "@libp2p/logger": "^5.1.15", "@multiformats/multiaddr": "^12.3.3", "@sindresorhus/fnv1a": "^3.1.0", "any-signal": "^4.1.1", @@ -16407,6 +16557,44 @@ "multiformats": "^13.3.1" } }, + "node_modules/helia/node_modules/@libp2p/kad-dht": { + "version": "14.2.15", + "resolved": "https://registry.npmjs.org/@libp2p/kad-dht/-/kad-dht-14.2.15.tgz", + "integrity": "sha512-iARZsaKrm9LlOE0nRTsqMasYGfWbh+zw1TAMWOY/QHTszFGb9ol7FZoI9WUzoif9ltKLu3BjJpy00b8CVofCBw==", + "license": "Apache-2.0 OR MIT", + "dependencies": { + "@libp2p/crypto": "^5.0.15", + "@libp2p/interface": "^2.7.0", + "@libp2p/interface-internal": "^2.3.9", + "@libp2p/peer-collections": "^6.0.25", + "@libp2p/peer-id": "^5.1.0", + "@libp2p/record": "^4.0.5", + "@libp2p/utils": "^6.6.0", + "@multiformats/multiaddr": "^12.3.3", + "any-signal": "^4.1.1", + "interface-datastore": "^8.3.1", + "it-all": "^3.0.6", + "it-drain": "^3.0.7", + "it-length": "^3.0.6", + "it-length-prefixed": "^10.0.1", + "it-map": "^3.1.1", + "it-merge": "^3.0.5", + "it-parallel": "^3.0.8", + "it-pipe": "^3.0.1", + "it-protobuf-stream": "^1.1.5", + "it-take": "^3.0.6", + "mortice": "^3.0.6", + "multiformats": "^13.3.1", + "p-defer": "^4.0.1", + "p-event": "^6.0.1", + "progress-events": "^1.0.1", + "protons-runtime": "^5.5.0", + "race-signal": "^1.1.2", + "uint8-varint": "^2.0.4", + "uint8arraylist": "^2.4.8", + "uint8arrays": "^5.1.0" + } + }, "node_modules/help-me": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/help-me/-/help-me-5.0.0.tgz", diff --git a/package.json b/package.json index e5306d3..d55b931 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "@libp2p/circuit-relay-v2": "^3.2.8", "@libp2p/identify": "^3.0.27", "@libp2p/interface": "^2.7.0", - "@libp2p/kad-dht": "^14.2.15", + "@libp2p/kad-dht": "^15.0.2", "@libp2p/mplex": "^11.0.32", "@libp2p/peer-id": "^5.1.0", "@libp2p/prometheus-metrics": "^4.3.15",