diff --git a/package-lock.json b/package-lock.json index 0f735f8bda..50270ea3fb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3231,11 +3231,11 @@ } }, "node_modules/@libp2p/interface-pubsub": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/@libp2p/interface-pubsub/-/interface-pubsub-3.0.6.tgz", - "integrity": "sha512-c1aVHAhxmEh9IpLBgJyCsMscVDl7YUeP1Iq6ILEQoWiPJhNpQqdfmqyk7ZfrzuBU19VFe1EqH0bLuLDbtfysTQ==", + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/@libp2p/interface-pubsub/-/interface-pubsub-3.0.7.tgz", + "integrity": "sha512-+c74EVUBTfw2sx1GE/z/IjsYO6dhur+ukF0knAppeZsRQ1Kgg6K5R3eECtT28fC6dBWLjFpAvW/7QGfiDAL4RA==", "dependencies": { - "@libp2p/interface-connection": "^3.0.0", + "@libp2p/interface-connection": "^4.0.0", "@libp2p/interface-peer-id": "^2.0.0", "@libp2p/interfaces": "^3.0.0", "it-pushable": "^3.0.0", @@ -3246,6 +3246,40 @@ "npm": ">=7.0.0" } }, + "node_modules/@libp2p/interface-pubsub/node_modules/@libp2p/interface-connection": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-4.0.0.tgz", + "integrity": "sha512-6xx/NmEc84HX7QmsjSC3hHredQYjHv4Dkf4G27adAPf+qN+vnPxmQ7gaTnk243a0++DOFTbZ2gKX/15G2B6SRg==", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^1.0.4", + "uint8arraylist": "^2.1.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/interface-pubsub/node_modules/@multiformats/multiaddr": { + "version": "12.1.2", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.2.tgz", + "integrity": "sha512-EYYUEAddjWoyig5Dcu+JGq2JdpEpT2tW/K4sefdDWVSQW+rfnABfz1rx/KnrituB20jC8aPBcT62kISTZ3oL5A==", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interfaces": "^3.3.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^11.0.0", + "uint8arrays": "^4.0.2", + "varint": "^6.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@libp2p/interface-record": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/@libp2p/interface-record/-/interface-record-2.0.6.tgz", @@ -29136,6 +29170,7 @@ "license": "MIT OR Apache-2.0", "dependencies": { "@chainsafe/libp2p-gossipsub": "^6.1.0", + "@libp2p/interface-pubsub": "^3.0.7", "@noble/hashes": "^1.3.0", "@waku/interfaces": "0.0.11", "@waku/proto": "0.0.4", @@ -29153,7 +29188,6 @@ "@libp2p/interface-libp2p": "^1.1.2", "@libp2p/interface-peer-id": "^2.0.1", "@libp2p/interface-peer-store": "^1.2.8", - "@libp2p/interface-pubsub": "^3.0.6", "@libp2p/interface-registrar": "^2.0.8", "@multiformats/multiaddr": "^12.0.0", "@rollup/plugin-commonjs": "^24.0.1", @@ -32081,15 +32115,43 @@ } }, "@libp2p/interface-pubsub": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/@libp2p/interface-pubsub/-/interface-pubsub-3.0.6.tgz", - "integrity": "sha512-c1aVHAhxmEh9IpLBgJyCsMscVDl7YUeP1Iq6ILEQoWiPJhNpQqdfmqyk7ZfrzuBU19VFe1EqH0bLuLDbtfysTQ==", + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/@libp2p/interface-pubsub/-/interface-pubsub-3.0.7.tgz", + "integrity": "sha512-+c74EVUBTfw2sx1GE/z/IjsYO6dhur+ukF0knAppeZsRQ1Kgg6K5R3eECtT28fC6dBWLjFpAvW/7QGfiDAL4RA==", "requires": { - "@libp2p/interface-connection": "^3.0.0", + "@libp2p/interface-connection": "^4.0.0", "@libp2p/interface-peer-id": "^2.0.0", "@libp2p/interfaces": "^3.0.0", "it-pushable": "^3.0.0", "uint8arraylist": "^2.1.2" + }, + "dependencies": { + "@libp2p/interface-connection": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-4.0.0.tgz", + "integrity": "sha512-6xx/NmEc84HX7QmsjSC3hHredQYjHv4Dkf4G27adAPf+qN+vnPxmQ7gaTnk243a0++DOFTbZ2gKX/15G2B6SRg==", + "requires": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^1.0.4", + "uint8arraylist": "^2.1.2" + } + }, + "@multiformats/multiaddr": { + "version": "12.1.2", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.2.tgz", + "integrity": "sha512-EYYUEAddjWoyig5Dcu+JGq2JdpEpT2tW/K4sefdDWVSQW+rfnABfz1rx/KnrituB20jC8aPBcT62kISTZ3oL5A==", + "requires": { + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interfaces": "^3.3.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^11.0.0", + "uint8arrays": "^4.0.2", + "varint": "^6.0.0" + } + } } }, "@libp2p/interface-record": { @@ -34264,7 +34326,7 @@ "@libp2p/interface-libp2p": "^1.1.2", "@libp2p/interface-peer-id": "^2.0.1", "@libp2p/interface-peer-store": "^1.2.8", - "@libp2p/interface-pubsub": "^3.0.6", + "@libp2p/interface-pubsub": "^3.0.7", "@libp2p/interface-registrar": "^2.0.8", "@multiformats/multiaddr": "^12.0.0", "@noble/hashes": "^1.3.0", diff --git a/packages/core/package.json b/packages/core/package.json index 3f367e7ec0..c0a3ac514c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -75,6 +75,7 @@ }, "dependencies": { "@chainsafe/libp2p-gossipsub": "^6.1.0", + "@libp2p/interface-pubsub": "^3.0.7", "@noble/hashes": "^1.3.0", "@waku/interfaces": "0.0.11", "@waku/proto": "0.0.4", @@ -92,7 +93,6 @@ "@libp2p/interface-libp2p": "^1.1.2", "@libp2p/interface-peer-id": "^2.0.1", "@libp2p/interface-peer-store": "^1.2.8", - "@libp2p/interface-pubsub": "^3.0.6", "@libp2p/interface-registrar": "^2.0.8", "@multiformats/multiaddr": "^12.0.0", "@rollup/plugin-commonjs": "^24.0.1",