diff --git a/package-lock.json b/package-lock.json index b1ff476..7b88902 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,7 +29,7 @@ "@libp2p/peer-id": "^4.0.8", "@libp2p/prometheus-metrics": "^3.0.17", "@libp2p/tcp": "^9.0.17", - "@libp2p/tls": "^1.0.3", + "@libp2p/tls": "^2.0.8", "@libp2p/webrtc": "^4.0.23", "@libp2p/websockets": "^8.0.17", "@multiformats/multiaddr": "^12.2.1", @@ -4360,13 +4360,13 @@ } }, "node_modules/@libp2p/tls": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@libp2p/tls/-/tls-1.1.1.tgz", - "integrity": "sha512-L2eCKZGF/dyZ8vhCYsrHSNz3auP4d+5lQfs46C9MISNnijKvOM75QcxBKybDcw8G9dZHbvDgT0gPsxtfT8FPMQ==", + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/@libp2p/tls/-/tls-2.0.8.tgz", + "integrity": "sha512-laBBa8AbdHoP2Bcaz8t3yOihsnhmVDiRa0m9LhPSYFYpXWAqDUblwh/cGuOcbgbBiWrAZJlsSERUrvsCILZs+w==", "dependencies": { - "@libp2p/crypto": "^4.1.5", - "@libp2p/interface": "^1.6.0", - "@libp2p/peer-id": "^4.2.0", + "@libp2p/crypto": "^5.0.5", + "@libp2p/interface": "^2.1.3", + "@libp2p/peer-id": "^5.0.5", "@peculiar/asn1-schema": "^2.3.8", "@peculiar/asn1-x509": "^2.3.8", "@peculiar/webcrypto": "^1.4.6", @@ -4379,6 +4379,45 @@ "uint8arrays": "^5.1.0" } }, + "node_modules/@libp2p/tls/node_modules/@libp2p/crypto": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-5.0.5.tgz", + "integrity": "sha512-bs3PpSQS59I/YD2RnwcPv88pF/vB6GH2rw4jqb/0xm60LfRuSm0tNoCrJMuyG2pFz89WuKM+0BpnEWQi4alwCg==", + "dependencies": { + "@libp2p/interface": "^2.1.3", + "@noble/curves": "^1.4.0", + "@noble/hashes": "^1.4.0", + "asn1js": "^3.0.5", + "multiformats": "^13.1.0", + "protons-runtime": "^5.4.0", + "uint8arraylist": "^2.4.8", + "uint8arrays": "^5.1.0" + } + }, + "node_modules/@libp2p/tls/node_modules/@libp2p/interface": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-2.1.3.tgz", + "integrity": "sha512-t1i2LWcnTGJEr7fDMslA8wYwBzJP81QKBlrBHoGhXxqqpRQa9035roCh/Akuw5RUgjKE47/ezjuzo90aWsJB8g==", + "dependencies": { + "@multiformats/multiaddr": "^12.2.3", + "it-pushable": "^3.2.3", + "it-stream-types": "^2.0.1", + "multiformats": "^13.1.0", + "progress-events": "^1.0.0", + "uint8arraylist": "^2.4.8" + } + }, + "node_modules/@libp2p/tls/node_modules/@libp2p/peer-id": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-5.0.5.tgz", + "integrity": "sha512-+9aX4II0hjMgKcFX/TMWUHRu2wOXOkfV5jO2N5m/R91K+Kp4Tt4n1ceXHjrbwwz3k2IWl0xJOMYjrf9dhOZWAw==", + "dependencies": { + "@libp2p/crypto": "^5.0.5", + "@libp2p/interface": "^2.1.3", + "multiformats": "^13.1.0", + "uint8arrays": "^5.1.0" + } + }, "node_modules/@libp2p/upnp-nat": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/@libp2p/upnp-nat/-/upnp-nat-1.2.1.tgz", diff --git a/package.json b/package.json index 39e2b7b..71a5820 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "@libp2p/peer-id": "^4.0.8", "@libp2p/prometheus-metrics": "^3.0.17", "@libp2p/tcp": "^9.0.17", - "@libp2p/tls": "^1.0.3", + "@libp2p/tls": "^2.0.8", "@libp2p/webrtc": "^4.0.23", "@libp2p/websockets": "^8.0.17", "@multiformats/multiaddr": "^12.2.1",