diff --git a/package.json b/package.json index 4ae228e2f3..57c9dbba3f 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ }, "dependencies": { "@achingbrain/nat-port-mapper": "1.0.8", - "@chainsafe/libp2p-gossipsub": "^7.0.0", + "@chainsafe/libp2p-gossipsub": "^10.0.0", "@chainsafe/libp2p-noise": "^11.0.4", "@chriscdn/promise-semaphore": "^2.0.7", "@constl/bohr-db": "^0.0.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 00701b1ac8..bbae3b00fe 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,8 +14,8 @@ dependencies: specifier: 1.0.8 version: 1.0.8 '@chainsafe/libp2p-gossipsub': - specifier: ^7.0.0 - version: 7.0.0 + specifier: ^10.0.0 + version: 10.1.0 '@chainsafe/libp2p-noise': specifier: ^11.0.4 version: 11.0.4 @@ -1253,6 +1253,30 @@ packages: /@chainsafe/is-ip@2.0.2: resolution: {integrity: sha512-ndGqEMG1W5WkGagaqOZHpPU172AGdxr+LD15sv3WIUvT5oCFUrG1Y0CW/v2Egwj4JXEvSibaIIIqImsm98y1nA==} + /@chainsafe/libp2p-gossipsub@10.1.0: + resolution: {integrity: sha512-mOVYJAvxYRkh2HeggNFW/7ukEccQDVEI9LPhvlnJk7gnJhyJJ6mhZxUAaytfp3v3qTkmeBRnEL0eJOQBm+MoOA==} + engines: {npm: '>=8.7.0'} + dependencies: + '@libp2p/crypto': 2.0.4 + '@libp2p/interface': 0.1.2 + '@libp2p/interface-internal': 0.1.6 + '@libp2p/logger': 3.0.2 + '@libp2p/peer-id': 3.0.2 + '@libp2p/pubsub': 8.0.7 + '@multiformats/multiaddr': 12.1.7 + abortable-iterator: 5.0.1 + denque: 2.1.0 + it-length-prefixed: 9.0.3 + it-pipe: 3.0.1 + it-pushable: 3.2.1 + multiformats: 12.1.2 + protobufjs: 7.2.5 + uint8arraylist: 2.4.3 + uint8arrays: 4.0.6 + transitivePeerDependencies: + - supports-color + dev: false + /@chainsafe/libp2p-gossipsub@6.3.0: resolution: {integrity: sha512-yRgMB5JpyPROjmhOeOmzJUAKci19qBEnpH80201f8JkkviUJo7+X8i3MUkammlbFg0VhaTKBT98Osbko9+rT1w==} engines: {npm: '>=8.7.0'} @@ -2727,6 +2751,21 @@ packages: transitivePeerDependencies: - supports-color + /@libp2p/crypto@2.0.5: + resolution: {integrity: sha512-m6Rn7i9q3SHCzMUBkEwZgAKS4evpGQ4SEx/YD96pM0ZoPtU5PFO0psfrerraanxFBh8wUX4vkCtKfyTPH7F+bQ==} + dependencies: + '@libp2p/interface': 0.1.3 + '@noble/curves': 1.2.0 + '@noble/hashes': 1.3.2 + multiformats: 12.1.2 + node-forge: 1.3.1 + protons-runtime: 5.0.2(uint8arraylist@2.4.3) + uint8arraylist: 2.4.3 + uint8arrays: 4.0.6 + transitivePeerDependencies: + - supports-color + dev: false + /@libp2p/delegated-content-routing@4.0.9: resolution: {integrity: sha512-IAsUNuLAUfTxLnsgfSMD7AsfrRP6D5HhZ8ThU/A7WbXqBu7X004ynZJ3WHA8xTvuYq7cQMDIX6MnlgksDsynPA==} dependencies: @@ -2887,6 +2926,17 @@ packages: transitivePeerDependencies: - supports-color + /@libp2p/interface-internal@0.1.6: + resolution: {integrity: sha512-n4Sv9tSr+2QRN7tHShmUJILQRoIPRPPkl0Zr8mVOW91XcdN2CfLYrzqeM1Yvl/iZx98bNMZXJveZV9OVuBynuQ==} + dependencies: + '@libp2p/interface': 0.1.3 + '@libp2p/peer-collections': 4.0.5 + '@multiformats/multiaddr': 12.1.7 + uint8arraylist: 2.4.3 + transitivePeerDependencies: + - supports-color + dev: false + /@libp2p/interface-keychain@2.0.5: resolution: {integrity: sha512-mb7QNgn9fIvC7CaJCi06GJ+a6DN6RVT9TmEi0NmedZGATeCArPeWWG7r7IfxNVXb9cVOOE1RzV1swK0ZxEJF9Q==} engines: {node: '>=16.0.0', npm: '>=7.0.0'} @@ -3094,6 +3144,21 @@ packages: transitivePeerDependencies: - supports-color + /@libp2p/interface@0.1.3: + resolution: {integrity: sha512-C1O7Xqd2TGVWrIOEDx6kGJSk4YOysWGmYG5Oh3chnsCY0wjUSsLDpl9+wKrdiM/lJbAlHlV65ZOvSkIQ9cWPBQ==} + dependencies: + '@multiformats/multiaddr': 12.1.7 + abortable-iterator: 5.0.1 + it-pushable: 3.2.1 + it-stream-types: 2.0.1 + multiformats: 12.1.2 + p-defer: 4.0.0 + race-signal: 1.0.1 + uint8arraylist: 2.4.3 + transitivePeerDependencies: + - supports-color + dev: false + /@libp2p/interfaces@3.3.2: resolution: {integrity: sha512-p/M7plbrxLzuQchvNwww1Was7ZeGE2NaOFulMaZBYIihU8z3fhaV+a033OqnC/0NTX/yhfdNOG7znhYq3XoR/g==} engines: {node: '>=16.0.0', npm: '>=7.0.0'} @@ -3172,6 +3237,18 @@ packages: transitivePeerDependencies: - supports-color + /@libp2p/logger@3.0.3: + resolution: {integrity: sha512-85ioPX10QN4ZOZeurAZe5sQeRUCkIBT2DikKRbE/AIWKauIKHvvIrN4CSdCdzLw29XNA+xxNO2FVkf51HGgCeQ==} + dependencies: + '@libp2p/interface': 0.1.3 + '@multiformats/multiaddr': 12.1.7 + debug: 4.3.4(supports-color@8.1.1) + interface-datastore: 8.2.5 + multiformats: 12.1.2 + transitivePeerDependencies: + - supports-color + dev: false + /@libp2p/mdns@6.0.0: resolution: {integrity: sha512-k5Gi0IrPi3roPHF71xlq9x69TxqjMNZ+JiM7hFV0kjRYmaLqYQ+dOTLJLUd5ZfnrxIe8KkapFw3zwKne4Dw4rA==} engines: {node: '>=16.0.0', npm: '>=7.0.0'} @@ -3259,6 +3336,15 @@ packages: '@libp2p/interface-peer-id': 2.0.2 '@libp2p/peer-id': 2.0.4 + /@libp2p/peer-collections@4.0.5: + resolution: {integrity: sha512-GdbVufdDLhYyHbDBO2juK54Nm+Cdu01ws0N0hNB0yVLM7GIP075RLgSO/0vTpLoPS1cEufKPsYfl4Bb5nKHaRg==} + dependencies: + '@libp2p/interface': 0.1.3 + '@libp2p/peer-id': 3.0.3 + transitivePeerDependencies: + - supports-color + dev: false + /@libp2p/peer-id-factory@2.0.4: resolution: {integrity: sha512-+0D+oklFzHpjRI3v7uw3PMMx00P36DV7YvAgL0+gpos0VzR/BI9tRiM6dpObZTrQ1hxp78F03p+qR1Zy9Qnmuw==} engines: {node: '>=16.0.0', npm: '>=7.0.0'} @@ -3290,6 +3376,16 @@ packages: transitivePeerDependencies: - supports-color + /@libp2p/peer-id@3.0.3: + resolution: {integrity: sha512-IPVeywoC40bDd3ohtAIzpN8AOkMmD3U0BjdrFz/5ZbNP1+4n2gDIAwVzkAbF/t1iYYS4CX1TWfHuMqaMvd8l1A==} + dependencies: + '@libp2p/interface': 0.1.3 + multiformats: 12.1.2 + uint8arrays: 4.0.6 + transitivePeerDependencies: + - supports-color + dev: false + /@libp2p/peer-record@5.0.4: resolution: {integrity: sha512-e+AArf7pwMLqF24mehTe1OYjr1v0SOKshVrI1E9YH/Cb1F3ZZuK3smyGmnLaS4JlqsarRCMSe3V50tRkqMFY7g==} engines: {node: '>=16.0.0', npm: '>=7.0.0'} @@ -3398,6 +3494,27 @@ packages: - supports-color dev: false + /@libp2p/pubsub@8.0.7: + resolution: {integrity: sha512-gpkKNMlxdF/tObBPE/3pY3aItfleLWUr7ghEpnK2CcRWkmb+ZACGC2MrYM9IbdHn3/jfQFSWoxJwMcoFJ8IJ0w==} + dependencies: + '@libp2p/crypto': 2.0.5 + '@libp2p/interface': 0.1.3 + '@libp2p/interface-internal': 0.1.6 + '@libp2p/logger': 3.0.3 + '@libp2p/peer-collections': 4.0.5 + '@libp2p/peer-id': 3.0.3 + abortable-iterator: 5.0.1 + it-length-prefixed: 9.0.3 + it-pipe: 3.0.1 + it-pushable: 3.2.1 + multiformats: 12.1.2 + p-queue: 7.4.1 + uint8arraylist: 2.4.3 + uint8arrays: 4.0.6 + transitivePeerDependencies: + - supports-color + dev: false + /@libp2p/record@3.0.4: resolution: {integrity: sha512-cVefFlnlvuxkLwPnHvSDF05HT6PyBM33eBi0BtJ7ocbZTtN4hY44DNmkM0z3ht9/9blSQ9e12gXV6nePH4Q4AA==} engines: {node: '>=16.0.0', npm: '>=7.0.0'} @@ -7187,6 +7304,11 @@ packages: resolution: {integrity: sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==} engines: {node: '>=0.10'} + /denque@2.1.0: + resolution: {integrity: sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==} + engines: {node: '>=0.10'} + dev: false + /depcheck@1.4.6: resolution: {integrity: sha512-Jxy9+u1DE+Svj2N0V/ueEQiOgH2X3KRPAsBfM0m/vCtuiG5QSC//b1mt0rbN/u3BFFEzXqpHzYiwDjmvAydEsw==} engines: {node: '>=10'} @@ -14991,6 +15113,10 @@ packages: - encoding - supports-color + /race-signal@1.0.1: + resolution: {integrity: sha512-a5un4dInIWoB7+76DieVE+Xv+wmyochKJ3P2GVs9dUKIzGuPyFR5iU3gEWJvztde/15fSOGkslbIsPxi+Loosw==} + dev: false + /ramda@0.25.0: resolution: {integrity: sha512-GXpfrYVPwx3K7RQ6aYT8KPS8XViSXUVJT1ONhoKPE9VAleW42YE+U+8VEyGWt41EnEQW7gwecYJriTI0pKoecQ==} dev: true