diff --git a/package-lock.json b/package-lock.json index 85f583e598..4562348835 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,6 +13,7 @@ "@chainsafe/libp2p-noise": "^7.0.1", "@ethersproject/rlp": "^5.5.0", "@libp2p/crypto": "^1.0.0", + "@libp2p/interface-connection": "^3.0.1", "@libp2p/interface-peer-discovery": "^1.0.0", "@libp2p/interface-peer-id": "^1.0.2", "@libp2p/interface-peer-info": "^1.0.1", @@ -288,6 +289,21 @@ "uint8arrays": "^3.0.0" } }, + "node_modules/@chainsafe/libp2p-gossipsub/node_modules/@libp2p/interface-connection": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-2.1.1.tgz", + "integrity": "sha512-gjugaMsZvfo3r4tCc/yPifVQsfLogmEmJtW+eXMNiNDna3ZfmwWD9Z+KyEwuVsXKs0C4GESXei2y4SJSCEfkbA==", + "dependencies": { + "@libp2p/interface-peer-id": "^1.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^10.2.0", + "it-stream-types": "^1.0.4" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@chainsafe/libp2p-gossipsub/node_modules/@libp2p/peer-record": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/@libp2p/peer-record/-/peer-record-2.0.2.tgz", @@ -963,22 +979,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/components/node_modules/@libp2p/interface-connection": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-3.0.1.tgz", - "integrity": "sha512-x+Ws74EhxvSym2fTQMP8/xpV3p8A3ar8yOq4dq/44HSvEMMKcuQvEq2jShVK0aXEpg1ce/KHY83FgY1zToFM2A==", - "dependencies": { - "@libp2p/interface-peer-id": "^1.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^10.2.0", - "it-stream-types": "^1.0.4", - "uint8arraylist": "^2.1.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/components/node_modules/@libp2p/interface-metrics": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@libp2p/interface-metrics/-/interface-metrics-3.0.0.tgz", @@ -1065,34 +1065,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/connection/node_modules/@libp2p/interface-connection": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-3.0.1.tgz", - "integrity": "sha512-x+Ws74EhxvSym2fTQMP8/xpV3p8A3ar8yOq4dq/44HSvEMMKcuQvEq2jShVK0aXEpg1ce/KHY83FgY1zToFM2A==", - "dependencies": { - "@libp2p/interface-peer-id": "^1.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^10.2.0", - "it-stream-types": "^1.0.4", - "uint8arraylist": "^2.1.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/connection/node_modules/uint8arraylist": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.3.2.tgz", - "integrity": "sha512-4ybc/jixmtGhUrebJ0bzB95TjEbskWxBKBRrAozw7P6WcAcZdPMYSLdDuNoEEGo/Cwe+0TNic9CXzWUWzy1quw==", - "dependencies": { - "uint8arrays": "^3.1.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/crypto": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-1.0.3.tgz", @@ -1183,14 +1155,15 @@ } }, "node_modules/@libp2p/interface-connection": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-2.1.1.tgz", - "integrity": "sha512-gjugaMsZvfo3r4tCc/yPifVQsfLogmEmJtW+eXMNiNDna3ZfmwWD9Z+KyEwuVsXKs0C4GESXei2y4SJSCEfkbA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-3.0.1.tgz", + "integrity": "sha512-x+Ws74EhxvSym2fTQMP8/xpV3p8A3ar8yOq4dq/44HSvEMMKcuQvEq2jShVK0aXEpg1ce/KHY83FgY1zToFM2A==", "dependencies": { "@libp2p/interface-peer-id": "^1.0.0", "@libp2p/interfaces": "^3.0.0", "@multiformats/multiaddr": "^10.2.0", - "it-stream-types": "^1.0.4" + "it-stream-types": "^1.0.4", + "uint8arraylist": "^2.1.1" }, "engines": { "node": ">=16.0.0", @@ -1224,6 +1197,33 @@ "npm": ">=7.0.0" } }, + "node_modules/@libp2p/interface-connection-manager/node_modules/@libp2p/interface-connection": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-2.1.1.tgz", + "integrity": "sha512-gjugaMsZvfo3r4tCc/yPifVQsfLogmEmJtW+eXMNiNDna3ZfmwWD9Z+KyEwuVsXKs0C4GESXei2y4SJSCEfkbA==", + "dependencies": { + "@libp2p/interface-peer-id": "^1.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^10.2.0", + "it-stream-types": "^1.0.4" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/interface-connection/node_modules/uint8arraylist": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.3.2.tgz", + "integrity": "sha512-4ybc/jixmtGhUrebJ0bzB95TjEbskWxBKBRrAozw7P6WcAcZdPMYSLdDuNoEEGo/Cwe+0TNic9CXzWUWzy1quw==", + "dependencies": { + "uint8arrays": "^3.1.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@libp2p/interface-content-routing": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/@libp2p/interface-content-routing/-/interface-content-routing-1.0.2.tgz", @@ -1384,6 +1384,21 @@ "npm": ">=7.0.0" } }, + "node_modules/@libp2p/interface-pubsub/node_modules/@libp2p/interface-connection": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-2.1.1.tgz", + "integrity": "sha512-gjugaMsZvfo3r4tCc/yPifVQsfLogmEmJtW+eXMNiNDna3ZfmwWD9Z+KyEwuVsXKs0C4GESXei2y4SJSCEfkbA==", + "dependencies": { + "@libp2p/interface-peer-id": "^1.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^10.2.0", + "it-stream-types": "^1.0.4" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@libp2p/interface-pubsub/node_modules/it-pushable": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/it-pushable/-/it-pushable-3.0.0.tgz", @@ -1414,34 +1429,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-registrar/node_modules/@libp2p/interface-connection": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-3.0.1.tgz", - "integrity": "sha512-x+Ws74EhxvSym2fTQMP8/xpV3p8A3ar8yOq4dq/44HSvEMMKcuQvEq2jShVK0aXEpg1ce/KHY83FgY1zToFM2A==", - "dependencies": { - "@libp2p/interface-peer-id": "^1.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^10.2.0", - "it-stream-types": "^1.0.4", - "uint8arraylist": "^2.1.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/interface-registrar/node_modules/uint8arraylist": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.3.2.tgz", - "integrity": "sha512-4ybc/jixmtGhUrebJ0bzB95TjEbskWxBKBRrAozw7P6WcAcZdPMYSLdDuNoEEGo/Cwe+0TNic9CXzWUWzy1quw==", - "dependencies": { - "uint8arrays": "^3.1.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/interface-stream-muxer": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-2.0.2.tgz", @@ -1456,34 +1443,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-stream-muxer/node_modules/@libp2p/interface-connection": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-3.0.1.tgz", - "integrity": "sha512-x+Ws74EhxvSym2fTQMP8/xpV3p8A3ar8yOq4dq/44HSvEMMKcuQvEq2jShVK0aXEpg1ce/KHY83FgY1zToFM2A==", - "dependencies": { - "@libp2p/interface-peer-id": "^1.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^10.2.0", - "it-stream-types": "^1.0.4", - "uint8arraylist": "^2.1.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/interface-stream-muxer/node_modules/uint8arraylist": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.3.2.tgz", - "integrity": "sha512-4ybc/jixmtGhUrebJ0bzB95TjEbskWxBKBRrAozw7P6WcAcZdPMYSLdDuNoEEGo/Cwe+0TNic9CXzWUWzy1quw==", - "dependencies": { - "uint8arrays": "^3.1.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/interface-transport": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/@libp2p/interface-transport/-/interface-transport-1.0.3.tgz", @@ -1499,34 +1458,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-transport/node_modules/@libp2p/interface-connection": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-3.0.1.tgz", - "integrity": "sha512-x+Ws74EhxvSym2fTQMP8/xpV3p8A3ar8yOq4dq/44HSvEMMKcuQvEq2jShVK0aXEpg1ce/KHY83FgY1zToFM2A==", - "dependencies": { - "@libp2p/interface-peer-id": "^1.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^10.2.0", - "it-stream-types": "^1.0.4", - "uint8arraylist": "^2.1.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/interface-transport/node_modules/uint8arraylist": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.3.2.tgz", - "integrity": "sha512-4ybc/jixmtGhUrebJ0bzB95TjEbskWxBKBRrAozw7P6WcAcZdPMYSLdDuNoEEGo/Cwe+0TNic9CXzWUWzy1quw==", - "dependencies": { - "uint8arrays": "^3.1.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/interfaces": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/@libp2p/interfaces/-/interfaces-3.0.3.tgz", @@ -1599,6 +1530,21 @@ "npm": ">=7.0.0" } }, + "node_modules/@libp2p/mplex/node_modules/@libp2p/interface-connection": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-2.1.1.tgz", + "integrity": "sha512-gjugaMsZvfo3r4tCc/yPifVQsfLogmEmJtW+eXMNiNDna3ZfmwWD9Z+KyEwuVsXKs0C4GESXei2y4SJSCEfkbA==", + "dependencies": { + "@libp2p/interface-peer-id": "^1.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^10.2.0", + "it-stream-types": "^1.0.4" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@libp2p/mplex/node_modules/it-pushable": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/it-pushable/-/it-pushable-3.0.0.tgz", @@ -2048,6 +1994,21 @@ "npm": ">=7.0.0" } }, + "node_modules/@libp2p/pubsub/node_modules/@libp2p/interface-connection": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-2.1.1.tgz", + "integrity": "sha512-gjugaMsZvfo3r4tCc/yPifVQsfLogmEmJtW+eXMNiNDna3ZfmwWD9Z+KyEwuVsXKs0C4GESXei2y4SJSCEfkbA==", + "dependencies": { + "@libp2p/interface-peer-id": "^1.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^10.2.0", + "it-stream-types": "^1.0.4" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@libp2p/pubsub/node_modules/@libp2p/interface-pubsub": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@libp2p/interface-pubsub/-/interface-pubsub-2.0.0.tgz", @@ -2148,22 +2109,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/utils/node_modules/@libp2p/interface-connection": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-3.0.1.tgz", - "integrity": "sha512-x+Ws74EhxvSym2fTQMP8/xpV3p8A3ar8yOq4dq/44HSvEMMKcuQvEq2jShVK0aXEpg1ce/KHY83FgY1zToFM2A==", - "dependencies": { - "@libp2p/interface-peer-id": "^1.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^10.2.0", - "it-stream-types": "^1.0.4", - "uint8arraylist": "^2.1.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/utils/node_modules/uint8arraylist": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.3.2.tgz", @@ -2201,6 +2146,21 @@ "npm": ">=7.0.0" } }, + "node_modules/@libp2p/websockets/node_modules/@libp2p/interface-connection": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-2.1.1.tgz", + "integrity": "sha512-gjugaMsZvfo3r4tCc/yPifVQsfLogmEmJtW+eXMNiNDna3ZfmwWD9Z+KyEwuVsXKs0C4GESXei2y4SJSCEfkbA==", + "dependencies": { + "@libp2p/interface-peer-id": "^1.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^10.2.0", + "it-stream-types": "^1.0.4" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@libp2p/websockets/node_modules/it-ws": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/it-ws/-/it-ws-5.0.2.tgz", @@ -7847,22 +7807,6 @@ "npm": ">=7.0.0" } }, - "node_modules/libp2p/node_modules/@libp2p/interface-connection": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-3.0.1.tgz", - "integrity": "sha512-x+Ws74EhxvSym2fTQMP8/xpV3p8A3ar8yOq4dq/44HSvEMMKcuQvEq2jShVK0aXEpg1ce/KHY83FgY1zToFM2A==", - "dependencies": { - "@libp2p/interface-peer-id": "^1.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^10.2.0", - "it-stream-types": "^1.0.4", - "uint8arraylist": "^2.1.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/libp2p/node_modules/@libp2p/interface-connection-encrypter": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-encrypter/-/interface-connection-encrypter-2.0.1.tgz", @@ -12594,6 +12538,17 @@ "uint8arrays": "^3.0.0" }, "dependencies": { + "@libp2p/interface-connection": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-2.1.1.tgz", + "integrity": "sha512-gjugaMsZvfo3r4tCc/yPifVQsfLogmEmJtW+eXMNiNDna3ZfmwWD9Z+KyEwuVsXKs0C4GESXei2y4SJSCEfkbA==", + "requires": { + "@libp2p/interface-peer-id": "^1.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^10.2.0", + "it-stream-types": "^1.0.4" + } + }, "@libp2p/peer-record": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/@libp2p/peer-record/-/peer-record-2.0.2.tgz", @@ -13179,18 +13134,6 @@ "interface-datastore": "^7.0.0" }, "dependencies": { - "@libp2p/interface-connection": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-3.0.1.tgz", - "integrity": "sha512-x+Ws74EhxvSym2fTQMP8/xpV3p8A3ar8yOq4dq/44HSvEMMKcuQvEq2jShVK0aXEpg1ce/KHY83FgY1zToFM2A==", - "requires": { - "@libp2p/interface-peer-id": "^1.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^10.2.0", - "it-stream-types": "^1.0.4", - "uint8arraylist": "^2.1.1" - } - }, "@libp2p/interface-metrics": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@libp2p/interface-metrics/-/interface-metrics-3.0.0.tgz", @@ -13253,28 +13196,6 @@ "@libp2p/logger": "^2.0.0", "@multiformats/multiaddr": "^10.1.5", "err-code": "^3.0.1" - }, - "dependencies": { - "@libp2p/interface-connection": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-3.0.1.tgz", - "integrity": "sha512-x+Ws74EhxvSym2fTQMP8/xpV3p8A3ar8yOq4dq/44HSvEMMKcuQvEq2jShVK0aXEpg1ce/KHY83FgY1zToFM2A==", - "requires": { - "@libp2p/interface-peer-id": "^1.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^10.2.0", - "it-stream-types": "^1.0.4", - "uint8arraylist": "^2.1.1" - } - }, - "uint8arraylist": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.3.2.tgz", - "integrity": "sha512-4ybc/jixmtGhUrebJ0bzB95TjEbskWxBKBRrAozw7P6WcAcZdPMYSLdDuNoEEGo/Cwe+0TNic9CXzWUWzy1quw==", - "requires": { - "uint8arrays": "^3.1.0" - } - } } }, "@libp2p/crypto": { @@ -13346,14 +13267,25 @@ } }, "@libp2p/interface-connection": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-2.1.1.tgz", - "integrity": "sha512-gjugaMsZvfo3r4tCc/yPifVQsfLogmEmJtW+eXMNiNDna3ZfmwWD9Z+KyEwuVsXKs0C4GESXei2y4SJSCEfkbA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-3.0.1.tgz", + "integrity": "sha512-x+Ws74EhxvSym2fTQMP8/xpV3p8A3ar8yOq4dq/44HSvEMMKcuQvEq2jShVK0aXEpg1ce/KHY83FgY1zToFM2A==", "requires": { "@libp2p/interface-peer-id": "^1.0.0", "@libp2p/interfaces": "^3.0.0", "@multiformats/multiaddr": "^10.2.0", - "it-stream-types": "^1.0.4" + "it-stream-types": "^1.0.4", + "uint8arraylist": "^2.1.1" + }, + "dependencies": { + "uint8arraylist": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.3.2.tgz", + "integrity": "sha512-4ybc/jixmtGhUrebJ0bzB95TjEbskWxBKBRrAozw7P6WcAcZdPMYSLdDuNoEEGo/Cwe+0TNic9CXzWUWzy1quw==", + "requires": { + "uint8arrays": "^3.1.0" + } + } } }, "@libp2p/interface-connection-encrypter": { @@ -13373,6 +13305,19 @@ "@libp2p/interface-connection": "^2.0.0", "@libp2p/interface-peer-id": "^1.0.0", "@libp2p/interfaces": "^3.0.0" + }, + "dependencies": { + "@libp2p/interface-connection": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-2.1.1.tgz", + "integrity": "sha512-gjugaMsZvfo3r4tCc/yPifVQsfLogmEmJtW+eXMNiNDna3ZfmwWD9Z+KyEwuVsXKs0C4GESXei2y4SJSCEfkbA==", + "requires": { + "@libp2p/interface-peer-id": "^1.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^10.2.0", + "it-stream-types": "^1.0.4" + } + } } }, "@libp2p/interface-content-routing": { @@ -13489,6 +13434,17 @@ "it-pushable": "^3.0.0" }, "dependencies": { + "@libp2p/interface-connection": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-2.1.1.tgz", + "integrity": "sha512-gjugaMsZvfo3r4tCc/yPifVQsfLogmEmJtW+eXMNiNDna3ZfmwWD9Z+KyEwuVsXKs0C4GESXei2y4SJSCEfkbA==", + "requires": { + "@libp2p/interface-peer-id": "^1.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^10.2.0", + "it-stream-types": "^1.0.4" + } + }, "it-pushable": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/it-pushable/-/it-pushable-3.0.0.tgz", @@ -13511,28 +13467,6 @@ "requires": { "@libp2p/interface-connection": "^3.0.0", "@libp2p/interface-peer-id": "^1.0.0" - }, - "dependencies": { - "@libp2p/interface-connection": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-3.0.1.tgz", - "integrity": "sha512-x+Ws74EhxvSym2fTQMP8/xpV3p8A3ar8yOq4dq/44HSvEMMKcuQvEq2jShVK0aXEpg1ce/KHY83FgY1zToFM2A==", - "requires": { - "@libp2p/interface-peer-id": "^1.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^10.2.0", - "it-stream-types": "^1.0.4", - "uint8arraylist": "^2.1.1" - } - }, - "uint8arraylist": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.3.2.tgz", - "integrity": "sha512-4ybc/jixmtGhUrebJ0bzB95TjEbskWxBKBRrAozw7P6WcAcZdPMYSLdDuNoEEGo/Cwe+0TNic9CXzWUWzy1quw==", - "requires": { - "uint8arrays": "^3.1.0" - } - } } }, "@libp2p/interface-stream-muxer": { @@ -13543,28 +13477,6 @@ "@libp2p/interface-connection": "^3.0.0", "@libp2p/interfaces": "^3.0.0", "it-stream-types": "^1.0.4" - }, - "dependencies": { - "@libp2p/interface-connection": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-3.0.1.tgz", - "integrity": "sha512-x+Ws74EhxvSym2fTQMP8/xpV3p8A3ar8yOq4dq/44HSvEMMKcuQvEq2jShVK0aXEpg1ce/KHY83FgY1zToFM2A==", - "requires": { - "@libp2p/interface-peer-id": "^1.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^10.2.0", - "it-stream-types": "^1.0.4", - "uint8arraylist": "^2.1.1" - } - }, - "uint8arraylist": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.3.2.tgz", - "integrity": "sha512-4ybc/jixmtGhUrebJ0bzB95TjEbskWxBKBRrAozw7P6WcAcZdPMYSLdDuNoEEGo/Cwe+0TNic9CXzWUWzy1quw==", - "requires": { - "uint8arrays": "^3.1.0" - } - } } }, "@libp2p/interface-transport": { @@ -13576,28 +13488,6 @@ "@libp2p/interfaces": "^3.0.0", "@multiformats/multiaddr": "^10.2.0", "it-stream-types": "^1.0.4" - }, - "dependencies": { - "@libp2p/interface-connection": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-3.0.1.tgz", - "integrity": "sha512-x+Ws74EhxvSym2fTQMP8/xpV3p8A3ar8yOq4dq/44HSvEMMKcuQvEq2jShVK0aXEpg1ce/KHY83FgY1zToFM2A==", - "requires": { - "@libp2p/interface-peer-id": "^1.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^10.2.0", - "it-stream-types": "^1.0.4", - "uint8arraylist": "^2.1.1" - } - }, - "uint8arraylist": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.3.2.tgz", - "integrity": "sha512-4ybc/jixmtGhUrebJ0bzB95TjEbskWxBKBRrAozw7P6WcAcZdPMYSLdDuNoEEGo/Cwe+0TNic9CXzWUWzy1quw==", - "requires": { - "uint8arrays": "^3.1.0" - } - } } }, "@libp2p/interfaces": { @@ -13654,6 +13544,17 @@ "varint": "^6.0.0" }, "dependencies": { + "@libp2p/interface-connection": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-2.1.1.tgz", + "integrity": "sha512-gjugaMsZvfo3r4tCc/yPifVQsfLogmEmJtW+eXMNiNDna3ZfmwWD9Z+KyEwuVsXKs0C4GESXei2y4SJSCEfkbA==", + "requires": { + "@libp2p/interface-peer-id": "^1.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^10.2.0", + "it-stream-types": "^1.0.4" + } + }, "it-pushable": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/it-pushable/-/it-pushable-3.0.0.tgz", @@ -14008,6 +13909,17 @@ "uint8arrays": "^3.0.0" }, "dependencies": { + "@libp2p/interface-connection": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-2.1.1.tgz", + "integrity": "sha512-gjugaMsZvfo3r4tCc/yPifVQsfLogmEmJtW+eXMNiNDna3ZfmwWD9Z+KyEwuVsXKs0C4GESXei2y4SJSCEfkbA==", + "requires": { + "@libp2p/interface-peer-id": "^1.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^10.2.0", + "it-stream-types": "^1.0.4" + } + }, "@libp2p/interface-pubsub": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@libp2p/interface-pubsub/-/interface-pubsub-2.0.0.tgz", @@ -14086,18 +13998,6 @@ "uint8arraylist": "^2.3.2" }, "dependencies": { - "@libp2p/interface-connection": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-3.0.1.tgz", - "integrity": "sha512-x+Ws74EhxvSym2fTQMP8/xpV3p8A3ar8yOq4dq/44HSvEMMKcuQvEq2jShVK0aXEpg1ce/KHY83FgY1zToFM2A==", - "requires": { - "@libp2p/interface-peer-id": "^1.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^10.2.0", - "it-stream-types": "^1.0.4", - "uint8arraylist": "^2.1.1" - } - }, "uint8arraylist": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.3.2.tgz", @@ -14129,6 +14029,17 @@ "wherearewe": "^1.0.0" }, "dependencies": { + "@libp2p/interface-connection": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-2.1.1.tgz", + "integrity": "sha512-gjugaMsZvfo3r4tCc/yPifVQsfLogmEmJtW+eXMNiNDna3ZfmwWD9Z+KyEwuVsXKs0C4GESXei2y4SJSCEfkbA==", + "requires": { + "@libp2p/interface-peer-id": "^1.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^10.2.0", + "it-stream-types": "^1.0.4" + } + }, "it-ws": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/it-ws/-/it-ws-5.0.2.tgz", @@ -18460,18 +18371,6 @@ "xsalsa20": "^1.1.0" }, "dependencies": { - "@libp2p/interface-connection": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-3.0.1.tgz", - "integrity": "sha512-x+Ws74EhxvSym2fTQMP8/xpV3p8A3ar8yOq4dq/44HSvEMMKcuQvEq2jShVK0aXEpg1ce/KHY83FgY1zToFM2A==", - "requires": { - "@libp2p/interface-peer-id": "^1.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^10.2.0", - "it-stream-types": "^1.0.4", - "uint8arraylist": "^2.1.1" - } - }, "@libp2p/interface-connection-encrypter": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-encrypter/-/interface-connection-encrypter-2.0.1.tgz", diff --git a/package.json b/package.json index e3dc5604b4..e9cc20dcee 100644 --- a/package.json +++ b/package.json @@ -74,6 +74,7 @@ "@chainsafe/libp2p-noise": "^7.0.1", "@ethersproject/rlp": "^5.5.0", "@libp2p/crypto": "^1.0.0", + "@libp2p/interface-connection": "^3.0.1", "@libp2p/interface-peer-discovery": "^1.0.0", "@libp2p/interface-peer-id": "^1.0.2", "@libp2p/interface-peer-info": "^1.0.1",