From 5db9e1f264b39343e048ed3558f55d4040f717c4 Mon Sep 17 00:00:00 2001 From: danisharora099 Date: Thu, 27 Jul 2023 13:01:47 +0530 Subject: [PATCH 01/12] temp(breaking): upgrade waku deps --- examples/web-chat/package-lock.json | 2971 ++++++++++++++++++++++++--- examples/web-chat/package.json | 8 +- 2 files changed, 2732 insertions(+), 247 deletions(-) diff --git a/examples/web-chat/package-lock.json b/examples/web-chat/package-lock.json index 72851cf..8689f75 100644 --- a/examples/web-chat/package-lock.json +++ b/examples/web-chat/package-lock.json @@ -11,11 +11,11 @@ "@libp2p/bootstrap": "^5.0.0", "@livechat/ui-kit": "^0.5.0-24", "@multiformats/multiaddr": "11.0.7", - "@waku/dns-discovery": "^0.0.14", - "@waku/interfaces": "^0.0.15", - "@waku/peer-exchange": "^0.0.13", + "@waku/dns-discovery": "^0.0.15", + "@waku/interfaces": "^0.0.16", + "@waku/peer-exchange": "^0.0.14", "@waku/react": "^0.0.2", - "@waku/sdk": "^0.0.16", + "@waku/sdk": "^0.0.17", "process": "^0.11.10", "protons-runtime": "^3.1.0", "react": "^17.0.2", @@ -51,18 +51,18 @@ } }, "node_modules/@achingbrain/nat-port-mapper": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@achingbrain/nat-port-mapper/-/nat-port-mapper-1.0.7.tgz", - "integrity": "sha512-P8Z8iMZBQCsN7q3XoVoJAX3CGPUTbGTh1XBU8JytCW3hBmSk594l8YvdrtY5NVexVHSwLeiXnDsP4d10NJHaeg==", + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@achingbrain/nat-port-mapper/-/nat-port-mapper-1.0.9.tgz", + "integrity": "sha512-w1M7dh7IsO5fvX9VQpH0w8MMphzLUl52Kf+paXTScNmFH4Ua+R6XI+x5p7LI3vY36JkTllTqAxNo8g1y0CMCrA==", "dependencies": { "@achingbrain/ssdp": "^4.0.1", "@libp2p/logger": "^2.0.0", "default-gateway": "^6.0.2", "err-code": "^3.0.1", - "it-first": "^1.0.7", + "it-first": "^3.0.1", "p-defer": "^4.0.0", - "p-timeout": "^5.0.2", - "xml2js": "^0.4.23" + "p-timeout": "^6.1.1", + "xml2js": "^0.6.0" }, "engines": { "node": ">=16.0.0", @@ -70,19 +70,24 @@ } }, "node_modules/@achingbrain/nat-port-mapper/node_modules/it-first": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/it-first/-/it-first-1.0.7.tgz", - "integrity": "sha512-nvJKZoBpZD/6Rtde6FXqwDqDZGF1sCADmr2Zoc0hZsIvnE449gRFnGctxDf09Bzc/FWnHXAdaHVIetY6lrE0/g==" - }, - "node_modules/@achingbrain/nat-port-mapper/node_modules/p-timeout": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-5.1.0.tgz", - "integrity": "sha512-auFDyzzzGZZZdHz3BtET9VEz0SE/uMEAx7uWfGPucfzEwwe/xH0iVeZibQmANYE/hp9T2+UUZT5m+BKyrDp3Ew==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/it-first/-/it-first-3.0.2.tgz", + "integrity": "sha512-QPLAM2BOkait/o6W25HvP0XTEv+Os3Ce4wET//ADNaPv+WYAHWfQwJuMu5FB8X066hA1F7LEMnULvTpE7/4yQw==", "engines": { - "node": ">=12" + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@achingbrain/nat-port-mapper/node_modules/xml2js": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", + "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", + "dependencies": { + "sax": ">=0.6.0", + "xmlbuilder": "~11.0.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "engines": { + "node": ">=4.0.0" } }, "node_modules/@achingbrain/ssdp": { @@ -2153,6 +2158,346 @@ "resolved": "https://registry.npmjs.org/@chainsafe/is-ip/-/is-ip-2.0.1.tgz", "integrity": "sha512-nqSJ8u2a1Rv9FYbyI8qpDhTYujaKEyLknNrTejLYoSWmdeg+2WB7R6BZqPZYfrJzDxVi3rl6ZQuoaEvpKRZWgQ==" }, + "node_modules/@chainsafe/libp2p-gossipsub": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/@chainsafe/libp2p-gossipsub/-/libp2p-gossipsub-9.1.0.tgz", + "integrity": "sha512-zc1Jx0DcVNH0iAncDlyd0/rAN9mWCpIxrmrw8eC6/gvHDmi24y8orDH8Npj2Naydh/ukeDhG9Iqx4Dnoe8V51w==", + "dependencies": { + "@libp2p/crypto": "^1.0.3", + "@libp2p/interface-connection": "^5.0.1", + "@libp2p/interface-connection-manager": "^3.0.1", + "@libp2p/interface-keys": "^1.0.3", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interface-peer-store": "^2.0.3", + "@libp2p/interface-pubsub": "^4.0.0", + "@libp2p/interface-registrar": "^2.0.3", + "@libp2p/interfaces": "^3.2.0", + "@libp2p/logger": "^2.0.0", + "@libp2p/peer-id": "^2.0.0", + "@libp2p/peer-record": "^5.0.0", + "@libp2p/pubsub": "^7.0.1", + "@libp2p/topology": "^4.0.0", + "@multiformats/multiaddr": "^12.0.0", + "abortable-iterator": "^5.0.1", + "denque": "^1.5.0", + "it-length-prefixed": "^9.0.1", + "it-pipe": "^3.0.1", + "it-pushable": "^3.1.0", + "multiformats": "^11.0.0", + "protobufjs": "^6.11.2", + "uint8arraylist": "^2.3.2", + "uint8arrays": "^4.0.2" + }, + "engines": { + "npm": ">=8.7.0" + } + }, + "node_modules/@chainsafe/libp2p-gossipsub/node_modules/@libp2p/interface-connection": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-5.1.1.tgz", + "integrity": "sha512-ytknMbuuNW72LYMmTP7wFGP5ZTaUSGBCmV9f+uQ55XPcFHtKXLtKWVU/HE8IqPmwtyU8AO7veGoJ/qStMHNRVA==", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^2.0.1", + "uint8arraylist": "^2.4.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@chainsafe/libp2p-gossipsub/node_modules/@libp2p/interface-connection-manager": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-manager/-/interface-connection-manager-3.0.1.tgz", + "integrity": "sha512-7ZAvzOWfHs3BtaoZoWsT+Ks1bo6HjyRMq1SJdFWDJ+ZkYEzrf6sdtQwsX8eXhwRDO6PuzpUDqLZ9TNQ2GVKEEw==", + "dependencies": { + "@libp2p/interface-connection": "^5.0.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "@libp2p/peer-collections": "^3.0.1", + "@multiformats/multiaddr": "^12.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@chainsafe/libp2p-gossipsub/node_modules/@libp2p/interface-peer-store": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-store/-/interface-peer-store-2.0.4.tgz", + "integrity": "sha512-jNvBK3O1JPJqSiDN2vkb+PV8bTPnYdP54nxsLtut1BWukNm610lwzwleV7CetFI4bJCn6g+BgBvvq8fdADy0tA==", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@multiformats/multiaddr": "^12.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@chainsafe/libp2p-gossipsub/node_modules/@libp2p/interface-pubsub": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-pubsub/-/interface-pubsub-4.0.1.tgz", + "integrity": "sha512-PIc5V/J98Yr1ZTHh8lQshP7GdVUh+pKNIqj6wGaDmXs8oQLB40qKCjcpHQNlAnv2e1Bh9mEH2GXv5sGZOA651A==", + "dependencies": { + "@libp2p/interface-connection": "^5.0.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "it-pushable": "^3.1.3", + "uint8arraylist": "^2.4.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@chainsafe/libp2p-gossipsub/node_modules/@libp2p/peer-id": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", + "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.2.0", + "multiformats": "^11.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@chainsafe/libp2p-gossipsub/node_modules/@multiformats/multiaddr": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", + "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", + "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/@chainsafe/libp2p-gossipsub/node_modules/abortable-iterator": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/abortable-iterator/-/abortable-iterator-5.0.1.tgz", + "integrity": "sha512-hlZ5Z8UwqrKsJcelVPEqDduZowJPBQJ9ZhBC2FXpja3lXy8X6MoI5uMzIgmrA8+3jcVnp8TF/tx+IBBqYJNUrg==", + "dependencies": { + "get-iterator": "^2.0.0", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@chainsafe/libp2p-gossipsub/node_modules/it-length-prefixed": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", + "integrity": "sha512-ZBD8ZFLERj8d1q9CeBtk0eJ4EpeI3qwnkmWtemBSm3ZI2dM8PUweNVk5haZ2vw3EIq2uYQiabV9YwNm6EASM4A==", + "dependencies": { + "err-code": "^3.0.1", + "it-stream-types": "^2.0.1", + "uint8-varint": "^1.0.1", + "uint8arraylist": "^2.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@chainsafe/libp2p-gossipsub/node_modules/it-merge": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.1.tgz", + "integrity": "sha512-I6hjU1ABO+k3xY1H6JtCSDXvUME88pxIXSgKeT4WI5rPYbQzpr98ldacVuG95WbjaJxKl6Qot6lUdxduLBQPHA==", + "dependencies": { + "it-pushable": "^3.1.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@chainsafe/libp2p-gossipsub/node_modules/it-pipe": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/it-pipe/-/it-pipe-3.0.1.tgz", + "integrity": "sha512-sIoNrQl1qSRg2seYSBH/3QxWhJFn9PKYvOf/bHdtCBF0bnghey44VyASsWzn5dAx0DCDDABq1hZIuzKmtBZmKA==", + "dependencies": { + "it-merge": "^3.0.0", + "it-pushable": "^3.1.2", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@chainsafe/libp2p-gossipsub/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@chainsafe/libp2p-noise": { + "version": "12.0.2", + "resolved": "https://registry.npmjs.org/@chainsafe/libp2p-noise/-/libp2p-noise-12.0.2.tgz", + "integrity": "sha512-bKlasdYJBXsCgcOw+gNNnpvNo3jD8BiSRpKrhYxEmBPQzesme15PBrj5Cx369PZEk4SvKSHS6dzL4oLxXqPSLw==", + "dependencies": { + "@libp2p/crypto": "^1.0.11", + "@libp2p/interface-connection-encrypter": "^4.0.0", + "@libp2p/interface-keys": "^1.0.6", + "@libp2p/interface-metrics": "^4.0.4", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/logger": "^2.0.5", + "@libp2p/peer-id": "^2.0.0", + "@noble/ciphers": "^0.1.4", + "@noble/curves": "^1.1.0", + "@noble/hashes": "^1.3.1", + "it-length-prefixed": "^9.0.1", + "it-pair": "^2.0.2", + "it-pb-stream": "^4.0.1", + "it-pipe": "^3.0.1", + "it-stream-types": "^2.0.1", + "protons-runtime": "^5.0.0", + "uint8arraylist": "^2.3.2", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@chainsafe/libp2p-noise/node_modules/@libp2p/interface-connection-encrypter": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-encrypter/-/interface-connection-encrypter-4.0.1.tgz", + "integrity": "sha512-fOtZpaFL2f5vID/RaBpVMAR9OKx5DmDT/yMEFTCarNc6Bb37fWwClI4WNCtoVbDQwcnr4H4ZIo0+9yCxjEIjjQ==", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@chainsafe/libp2p-noise/node_modules/@libp2p/peer-id": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", + "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.2.0", + "multiformats": "^11.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@chainsafe/libp2p-noise/node_modules/it-length-prefixed": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", + "integrity": "sha512-ZBD8ZFLERj8d1q9CeBtk0eJ4EpeI3qwnkmWtemBSm3ZI2dM8PUweNVk5haZ2vw3EIq2uYQiabV9YwNm6EASM4A==", + "dependencies": { + "err-code": "^3.0.1", + "it-stream-types": "^2.0.1", + "uint8-varint": "^1.0.1", + "uint8arraylist": "^2.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@chainsafe/libp2p-noise/node_modules/it-merge": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.1.tgz", + "integrity": "sha512-I6hjU1ABO+k3xY1H6JtCSDXvUME88pxIXSgKeT4WI5rPYbQzpr98ldacVuG95WbjaJxKl6Qot6lUdxduLBQPHA==", + "dependencies": { + "it-pushable": "^3.1.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@chainsafe/libp2p-noise/node_modules/it-pipe": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/it-pipe/-/it-pipe-3.0.1.tgz", + "integrity": "sha512-sIoNrQl1qSRg2seYSBH/3QxWhJFn9PKYvOf/bHdtCBF0bnghey44VyASsWzn5dAx0DCDDABq1hZIuzKmtBZmKA==", + "dependencies": { + "it-merge": "^3.0.0", + "it-pushable": "^3.1.2", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@chainsafe/libp2p-noise/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@chainsafe/libp2p-noise/node_modules/long": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", + "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" + }, + "node_modules/@chainsafe/libp2p-noise/node_modules/protobufjs": { + "version": "7.2.4", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.4.tgz", + "integrity": "sha512-AT+RJgD2sH8phPmCf7OUZR8xGdcJRga4+1cOaXJ64hvcSkVhNcRHOwIxUatPH15+nj59WAGTDv3LSGZPEQbJaQ==", + "hasInstallScript": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@chainsafe/libp2p-noise/node_modules/protons-runtime": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.0.1.tgz", + "integrity": "sha512-AwyAA3pQ4Ka4tEBMdIjLi/cRdpb322f7sgv3NruVq9yguLggzwu5eeLe1HuRPFYlI4UsVN/QK/AQXjLPVLCzTA==", + "dependencies": { + "protobufjs": "^7.0.0", + "uint8arraylist": "^2.4.3" + }, + "peerDependencies": { + "uint8arraylist": "^2.3.2" + } + }, "node_modules/@chainsafe/netmask": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@chainsafe/netmask/-/netmask-2.0.0.tgz", @@ -3735,6 +4080,63 @@ "npm": ">=7.0.0" } }, + "node_modules/@libp2p/interface-connection-gater": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-gater/-/interface-connection-gater-3.0.1.tgz", + "integrity": "sha512-3a+EmcKFIdYVM6tmmIKZt/4fREPApA/Z/PZHOEa4lqJA9c/BHO1HTq0YzEoYsptudYTcdhQLgpYzh8FVhfZGDg==", + "dependencies": { + "@libp2p/interface-connection": "^5.0.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@multiformats/multiaddr": "^12.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/interface-connection-gater/node_modules/@libp2p/interface-connection": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-5.1.1.tgz", + "integrity": "sha512-ytknMbuuNW72LYMmTP7wFGP5ZTaUSGBCmV9f+uQ55XPcFHtKXLtKWVU/HE8IqPmwtyU8AO7veGoJ/qStMHNRVA==", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^2.0.1", + "uint8arraylist": "^2.4.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/interface-connection-gater/node_modules/@multiformats/multiaddr": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", + "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", + "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-connection-gater/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@libp2p/interface-connection-manager": { "version": "1.3.7", "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-manager/-/interface-connection-manager-1.3.7.tgz", @@ -3924,9 +4326,9 @@ } }, "node_modules/@libp2p/interface-peer-id": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-id/-/interface-peer-id-2.0.1.tgz", - "integrity": "sha512-k01hKHTAZWMOiBC+yyFsmBguEMvhPkXnQtqLtFqga2fVZu8Zve7zFAtQYLhQjeJ4/apeFtO6ddTS8mCE6hl4OA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-id/-/interface-peer-id-2.0.2.tgz", + "integrity": "sha512-9pZp9zhTDoVwzRmp0Wtxw0Yfa//Yc0GqBCJi3EznBDE6HGIAVvppR91wSh2knt/0eYg0AQj7Y35VSesUTzMCUg==", "dependencies": { "multiformats": "^11.0.0" }, @@ -3949,9 +4351,9 @@ } }, "node_modules/@libp2p/interface-peer-routing": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-routing/-/interface-peer-routing-1.0.7.tgz", - "integrity": "sha512-0zxOOmKD6nA3LaArcP9UdRO4vJzEyoRtE34vvQP41UxjcSTaj4em5Fl4Q0RuOMXYPtRp+LdXRYbjJgCSeQoxwA==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-routing/-/interface-peer-routing-1.1.1.tgz", + "integrity": "sha512-/XEhwob9qXjdmI8PBcc+qFin32xmtyoC58nRpq8RliqHY5uOVWiHfZoNtdOXIsNvzVvq5FqlHOWt71ofxXTtlg==", "dependencies": { "@libp2p/interface-peer-id": "^2.0.0", "@libp2p/interface-peer-info": "^1.0.0", @@ -4008,11 +4410,11 @@ } }, "node_modules/@libp2p/interface-registrar": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/@libp2p/interface-registrar/-/interface-registrar-2.0.8.tgz", - "integrity": "sha512-WbnXB09QF41zZzNgDUAZrRMilqgB7wBMTsSvql8xdDcws+jbaX4wE0iEpRXg1hyd0pz4mooIcMRaH1NiEQ5D8w==", + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@libp2p/interface-registrar/-/interface-registrar-2.0.12.tgz", + "integrity": "sha512-EyCi2bycC2rn3oPB4Swr7EqBsvcaWd6RcqR6zsImNIG9BKc4/R1gl6iaF861JaELYgYmzBMS31x1rQpVz5UekQ==", "dependencies": { - "@libp2p/interface-connection": "^3.0.0", + "@libp2p/interface-connection": "^5.0.0", "@libp2p/interface-peer-id": "^2.0.0" }, "engines": { @@ -4020,6 +4422,49 @@ "npm": ">=7.0.0" } }, + "node_modules/@libp2p/interface-registrar/node_modules/@libp2p/interface-connection": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-5.1.1.tgz", + "integrity": "sha512-ytknMbuuNW72LYMmTP7wFGP5ZTaUSGBCmV9f+uQ55XPcFHtKXLtKWVU/HE8IqPmwtyU8AO7veGoJ/qStMHNRVA==", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^2.0.1", + "uint8arraylist": "^2.4.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/interface-registrar/node_modules/@multiformats/multiaddr": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", + "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", + "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-registrar/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@libp2p/interface-stream-muxer": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-3.0.5.tgz", @@ -4051,44 +4496,145 @@ } }, "node_modules/@libp2p/interfaces": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/@libp2p/interfaces/-/interfaces-3.3.1.tgz", - "integrity": "sha512-3N+goQt74SmaVOjwpwMPKLNgh1uDQGw8GD12c40Kc86WOq0qvpm3NfACW+H8Su2X6KmWjCSMzk9JWs9+8FtUfg==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/@libp2p/interfaces/-/interfaces-3.3.2.tgz", + "integrity": "sha512-p/M7plbrxLzuQchvNwww1Was7ZeGE2NaOFulMaZBYIihU8z3fhaV+a033OqnC/0NTX/yhfdNOG7znhYq3XoR/g==", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, - "node_modules/@libp2p/logger": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-2.0.5.tgz", - "integrity": "sha512-WEhxsc7+gsfuTcljI4vSgW/H2f18aBaC+JiO01FcX841Wxe9szjzHdBLDh9eqygUlzoK0LEeIBfctN7ibzus5A==", + "node_modules/@libp2p/keychain": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@libp2p/keychain/-/keychain-2.0.1.tgz", + "integrity": "sha512-A59jilLYS+8Paq38Z96uSAxbD+3+3LJZx2qcHdMpTyqDO7yfJCbMPfVhP6EKmH5EY3z3qxBwUPVw35P4F4fslg==", "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "debug": "^4.3.3", - "interface-datastore": "^7.0.0", - "multiformats": "^11.0.0" + "@libp2p/crypto": "^1.0.11", + "@libp2p/interface-keychain": "^2.0.3", + "@libp2p/interface-peer-id": "^2.0.1", + "@libp2p/interfaces": "^3.3.1", + "@libp2p/logger": "^2.0.5", + "@libp2p/peer-id": "^2.0.1", + "interface-datastore": "^8.0.0", + "merge-options": "^3.0.4", + "sanitize-filename": "^1.6.3", + "uint8arrays": "^4.0.3" }, "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, - "node_modules/@libp2p/mplex": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/@libp2p/mplex/-/mplex-7.1.1.tgz", - "integrity": "sha512-0owK1aWgXXtjiohXtjwLV7Ehjdj96eBtsapVt7AzlHA+W8uYnI+x058thq3MisyMDlHiiE3BTh6fEf+t2/0dUw==", + "node_modules/@libp2p/keychain/node_modules/@libp2p/peer-id": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", + "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", "dependencies": { - "@libp2p/interface-connection": "^3.0.1", - "@libp2p/interface-stream-muxer": "^3.0.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.2.0", + "multiformats": "^11.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/keychain/node_modules/interface-datastore": { + "version": "8.2.3", + "resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-8.2.3.tgz", + "integrity": "sha512-5U6BfK7cR4oSngm4pqYZBBAX7tpLI4YCOa3Ifz/EJEaEV2mmlloH5qP8ADWCVFk6vP1MPT925JJkt3kFIi7iWQ==", + "dependencies": { + "interface-store": "^5.0.0", + "nanoid": "^4.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/keychain/node_modules/interface-store": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/interface-store/-/interface-store-5.1.2.tgz", + "integrity": "sha512-q2sLoqC+UdaWnjwGyghsH0jwqqVk226lsG207e3QwPB8sAZYmYIWUnJwJH3JjFNNRV9e6CUTmm+gDO0Xg4KRiw==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/logger": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-2.1.1.tgz", + "integrity": "sha512-2UbzDPctg3cPupF6jrv6abQnAUTrbLybNOj0rmmrdGm1cN2HJ1o/hBu0sXuq4KF9P1h/eVRn1HIRbVIEKnEJrA==", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.2", + "@multiformats/multiaddr": "^12.1.3", + "debug": "^4.3.4", + "interface-datastore": "^8.2.0", + "multiformats": "^11.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/logger/node_modules/@multiformats/multiaddr": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", + "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", + "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/logger/node_modules/interface-datastore": { + "version": "8.2.3", + "resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-8.2.3.tgz", + "integrity": "sha512-5U6BfK7cR4oSngm4pqYZBBAX7tpLI4YCOa3Ifz/EJEaEV2mmlloH5qP8ADWCVFk6vP1MPT925JJkt3kFIi7iWQ==", + "dependencies": { + "interface-store": "^5.0.0", + "nanoid": "^4.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/logger/node_modules/interface-store": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/interface-store/-/interface-store-5.1.2.tgz", + "integrity": "sha512-q2sLoqC+UdaWnjwGyghsH0jwqqVk226lsG207e3QwPB8sAZYmYIWUnJwJH3JjFNNRV9e6CUTmm+gDO0Xg4KRiw==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/mplex": { + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/@libp2p/mplex/-/mplex-8.0.4.tgz", + "integrity": "sha512-or3F5sGl8cw3TbnQgmkJ8z7/c97rwuzoy6f3b9gmkEVN8EzdxG2jOq+TEsgXzLz1GekRUR8nuDhliJ3UPhUnFw==", + "dependencies": { + "@libp2p/interface-connection": "^5.0.0", + "@libp2p/interface-stream-muxer": "^4.1.2", + "@libp2p/interfaces": "^3.2.0", "@libp2p/logger": "^2.0.0", - "abortable-iterator": "^4.0.2", - "any-signal": "^3.0.0", + "abortable-iterator": "^5.0.0", + "any-signal": "^4.0.1", "benchmark": "^2.1.4", - "err-code": "^3.0.1", - "it-batched-bytes": "^1.0.0", + "it-batched-bytes": "^2.0.2", "it-pushable": "^3.1.0", - "it-stream-types": "^1.0.4", + "it-stream-types": "^2.0.1", "rate-limiter-flexible": "^2.3.9", "uint8arraylist": "^2.1.1", "uint8arrays": "^4.0.2", @@ -4099,24 +4645,106 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/multistream-select": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@libp2p/multistream-select/-/multistream-select-3.1.2.tgz", - "integrity": "sha512-NfF0fwQM4sqiLuNGBVc9z2mfz3OigOfyLJ5zekRBGYHkbKWrBRFS3FligUPr9roCOzH6ojjDkKVd5aK9/llfJQ==", + "node_modules/@libp2p/mplex/node_modules/@libp2p/interface-connection": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-5.1.1.tgz", + "integrity": "sha512-ytknMbuuNW72LYMmTP7wFGP5ZTaUSGBCmV9f+uQ55XPcFHtKXLtKWVU/HE8IqPmwtyU8AO7veGoJ/qStMHNRVA==", "dependencies": { - "@libp2p/interfaces": "^3.0.2", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^2.0.1", + "uint8arraylist": "^2.4.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/mplex/node_modules/@libp2p/interface-stream-muxer": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.1.2.tgz", + "integrity": "sha512-dQJcn67UaAa8YQFRJDhbo4uT453z/2lCzD/ZwTk1YOqJxATXbXgVcB8dXDQFEUiUX3ZjVQ1IBu+NlQd+IZ++zw==", + "dependencies": { + "@libp2p/interface-connection": "^5.0.0", + "@libp2p/interfaces": "^3.0.0", + "@libp2p/logger": "^2.0.7", + "abortable-iterator": "^5.0.1", + "any-signal": "^4.1.1", + "it-pushable": "^3.1.3", + "it-stream-types": "^2.0.1", + "uint8arraylist": "^2.4.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/mplex/node_modules/@multiformats/multiaddr": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", + "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", + "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/mplex/node_modules/abortable-iterator": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/abortable-iterator/-/abortable-iterator-5.0.1.tgz", + "integrity": "sha512-hlZ5Z8UwqrKsJcelVPEqDduZowJPBQJ9ZhBC2FXpja3lXy8X6MoI5uMzIgmrA8+3jcVnp8TF/tx+IBBqYJNUrg==", + "dependencies": { + "get-iterator": "^2.0.0", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/mplex/node_modules/any-signal": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/any-signal/-/any-signal-4.1.1.tgz", + "integrity": "sha512-iADenERppdC+A2YKbOXXB2WUeABLaM6qnpZ70kZbPZ1cZMMJ7eF+3CaYm+/PhBizgkzlvssC7QuHS30oOiQYWA==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/mplex/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/multistream-select": { + "version": "3.1.9", + "resolved": "https://registry.npmjs.org/@libp2p/multistream-select/-/multistream-select-3.1.9.tgz", + "integrity": "sha512-iSNqr8jXvOrkNTyA43h/ARs4wd0Rd55/D6oFRndLcV4yQSUMmfjl7dUcbC5MAw+5/sgskfDx9TMawSwNq47Qwg==", + "dependencies": { + "@libp2p/interfaces": "^3.2.0", "@libp2p/logger": "^2.0.0", - "abortable-iterator": "^4.0.2", - "err-code": "^3.0.1", - "it-first": "^2.0.0", - "it-handshake": "^4.1.2", - "it-length-prefixed": "^8.0.3", - "it-merge": "^2.0.0", - "it-pipe": "^2.0.4", + "abortable-iterator": "^5.0.0", + "it-first": "^3.0.1", + "it-handshake": "^4.1.3", + "it-length-prefixed": "^9.0.0", + "it-merge": "^3.0.0", + "it-pipe": "^3.0.0", "it-pushable": "^3.1.0", "it-reader": "^6.0.1", - "it-stream-types": "^1.0.4", - "p-defer": "^4.0.0", + "it-stream-types": "^2.0.1", "uint8arraylist": "^2.3.1", "uint8arrays": "^4.0.2" }, @@ -4125,6 +4753,79 @@ "npm": ">=7.0.0" } }, + "node_modules/@libp2p/multistream-select/node_modules/abortable-iterator": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/abortable-iterator/-/abortable-iterator-5.0.1.tgz", + "integrity": "sha512-hlZ5Z8UwqrKsJcelVPEqDduZowJPBQJ9ZhBC2FXpja3lXy8X6MoI5uMzIgmrA8+3jcVnp8TF/tx+IBBqYJNUrg==", + "dependencies": { + "get-iterator": "^2.0.0", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/multistream-select/node_modules/it-first": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/it-first/-/it-first-3.0.2.tgz", + "integrity": "sha512-QPLAM2BOkait/o6W25HvP0XTEv+Os3Ce4wET//ADNaPv+WYAHWfQwJuMu5FB8X066hA1F7LEMnULvTpE7/4yQw==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/multistream-select/node_modules/it-length-prefixed": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", + "integrity": "sha512-ZBD8ZFLERj8d1q9CeBtk0eJ4EpeI3qwnkmWtemBSm3ZI2dM8PUweNVk5haZ2vw3EIq2uYQiabV9YwNm6EASM4A==", + "dependencies": { + "err-code": "^3.0.1", + "it-stream-types": "^2.0.1", + "uint8-varint": "^1.0.1", + "uint8arraylist": "^2.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/multistream-select/node_modules/it-merge": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.1.tgz", + "integrity": "sha512-I6hjU1ABO+k3xY1H6JtCSDXvUME88pxIXSgKeT4WI5rPYbQzpr98ldacVuG95WbjaJxKl6Qot6lUdxduLBQPHA==", + "dependencies": { + "it-pushable": "^3.1.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/multistream-select/node_modules/it-pipe": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/it-pipe/-/it-pipe-3.0.1.tgz", + "integrity": "sha512-sIoNrQl1qSRg2seYSBH/3QxWhJFn9PKYvOf/bHdtCBF0bnghey44VyASsWzn5dAx0DCDDABq1hZIuzKmtBZmKA==", + "dependencies": { + "it-merge": "^3.0.0", + "it-pushable": "^3.1.2", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/multistream-select/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@libp2p/peer-collections": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/@libp2p/peer-collections/-/peer-collections-3.0.2.tgz", @@ -4464,6 +5165,177 @@ "uint8arraylist": "^2.3.2" } }, + "node_modules/@libp2p/pubsub": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/@libp2p/pubsub/-/pubsub-7.0.3.tgz", + "integrity": "sha512-BrUBQ6ljN1tU+2Hn1Vq+ZT/foVBGUVIywqoavNrFw5CmaBBTGuVRrmqE/MUToIS8dhonpW5RNCRabz3woq/4iQ==", + "dependencies": { + "@libp2p/crypto": "^1.0.0", + "@libp2p/interface-connection": "^5.0.1", + "@libp2p/interface-peer-id": "^2.0.1", + "@libp2p/interface-pubsub": "^4.0.0", + "@libp2p/interface-registrar": "^2.0.11", + "@libp2p/interfaces": "^3.3.1", + "@libp2p/logger": "^2.0.7", + "@libp2p/peer-collections": "^3.0.1", + "@libp2p/peer-id": "^2.0.3", + "@libp2p/topology": "^4.0.1", + "abortable-iterator": "^5.0.1", + "it-length-prefixed": "^9.0.0", + "it-pipe": "^3.0.1", + "it-pushable": "^3.1.3", + "multiformats": "^11.0.0", + "p-queue": "^7.2.0", + "uint8arraylist": "^2.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/pubsub/node_modules/@libp2p/interface-connection": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-5.1.1.tgz", + "integrity": "sha512-ytknMbuuNW72LYMmTP7wFGP5ZTaUSGBCmV9f+uQ55XPcFHtKXLtKWVU/HE8IqPmwtyU8AO7veGoJ/qStMHNRVA==", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^2.0.1", + "uint8arraylist": "^2.4.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/pubsub/node_modules/@libp2p/interface-pubsub": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-pubsub/-/interface-pubsub-4.0.1.tgz", + "integrity": "sha512-PIc5V/J98Yr1ZTHh8lQshP7GdVUh+pKNIqj6wGaDmXs8oQLB40qKCjcpHQNlAnv2e1Bh9mEH2GXv5sGZOA651A==", + "dependencies": { + "@libp2p/interface-connection": "^5.0.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "it-pushable": "^3.1.3", + "uint8arraylist": "^2.4.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/pubsub/node_modules/@libp2p/peer-id": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", + "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.2.0", + "multiformats": "^11.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/pubsub/node_modules/@multiformats/multiaddr": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", + "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", + "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/pubsub/node_modules/abortable-iterator": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/abortable-iterator/-/abortable-iterator-5.0.1.tgz", + "integrity": "sha512-hlZ5Z8UwqrKsJcelVPEqDduZowJPBQJ9ZhBC2FXpja3lXy8X6MoI5uMzIgmrA8+3jcVnp8TF/tx+IBBqYJNUrg==", + "dependencies": { + "get-iterator": "^2.0.0", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/pubsub/node_modules/it-length-prefixed": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", + "integrity": "sha512-ZBD8ZFLERj8d1q9CeBtk0eJ4EpeI3qwnkmWtemBSm3ZI2dM8PUweNVk5haZ2vw3EIq2uYQiabV9YwNm6EASM4A==", + "dependencies": { + "err-code": "^3.0.1", + "it-stream-types": "^2.0.1", + "uint8-varint": "^1.0.1", + "uint8arraylist": "^2.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/pubsub/node_modules/it-merge": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.1.tgz", + "integrity": "sha512-I6hjU1ABO+k3xY1H6JtCSDXvUME88pxIXSgKeT4WI5rPYbQzpr98ldacVuG95WbjaJxKl6Qot6lUdxduLBQPHA==", + "dependencies": { + "it-pushable": "^3.1.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/pubsub/node_modules/it-pipe": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/it-pipe/-/it-pipe-3.0.1.tgz", + "integrity": "sha512-sIoNrQl1qSRg2seYSBH/3QxWhJFn9PKYvOf/bHdtCBF0bnghey44VyASsWzn5dAx0DCDDABq1hZIuzKmtBZmKA==", + "dependencies": { + "it-merge": "^3.0.0", + "it-pushable": "^3.1.2", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/pubsub/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/topology": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@libp2p/topology/-/topology-4.0.3.tgz", + "integrity": "sha512-uXd9ZYpmgb+onMTypsAPUlvKKeY20HMtxwsjAMEfDa29yqshK8DiEunHZNjLmtXaMIIO9CBl2w5ykjt5TtFsBQ==", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interface-registrar": "^2.0.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@libp2p/tracked-map": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/@libp2p/tracked-map/-/tracked-map-3.0.3.tgz", @@ -4477,19 +5349,19 @@ } }, "node_modules/@libp2p/utils": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/utils/-/utils-3.0.4.tgz", - "integrity": "sha512-EWJNJtlop2ylmGE1BNiMA0u4eTLKoY0LbZ/DOvSDs9VlGSLua9J+LUjp6XV8lazGv7l1rOLiU+1hP5fcmg1+eg==", + "version": "3.0.13", + "resolved": "https://registry.npmjs.org/@libp2p/utils/-/utils-3.0.13.tgz", + "integrity": "sha512-SNwIcQq/FvLpqVsjHHzbxSq7VgbbUK9EB7/865Re4NoLfqgE/6oTUpyPEDlrcJb4aTPFWbVPQzE85cA3raHIIw==", "dependencies": { "@achingbrain/ip-address": "^8.1.0", - "@libp2p/interface-connection": "^3.0.2", - "@libp2p/interface-peer-store": "^1.2.1", + "@libp2p/interface-connection": "^5.0.1", + "@libp2p/interface-peer-store": "^2.0.0", + "@libp2p/interfaces": "^3.2.0", "@libp2p/logger": "^2.0.0", - "@multiformats/multiaddr": "^11.0.0", - "abortable-iterator": "^4.0.2", - "err-code": "^3.0.1", + "@multiformats/multiaddr": "^12.0.0", + "abortable-iterator": "^5.0.0", "is-loopback-addr": "^2.0.1", - "it-stream-types": "^1.0.4", + "it-stream-types": "^2.0.1", "private-ip": "^3.0.0", "uint8arraylist": "^2.3.2" }, @@ -4498,30 +5370,209 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/websockets": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@libp2p/websockets/-/websockets-5.0.3.tgz", - "integrity": "sha512-/0ie47LEKU5VVeaeE/T6UbvaZbUSmyWXu4KcojY+zl809oONFjagKuZB6T7jJQqAV7WCq7O+ulC2tFOwbID08w==", + "node_modules/@libp2p/utils/node_modules/@libp2p/interface-connection": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-5.1.1.tgz", + "integrity": "sha512-ytknMbuuNW72LYMmTP7wFGP5ZTaUSGBCmV9f+uQ55XPcFHtKXLtKWVU/HE8IqPmwtyU8AO7veGoJ/qStMHNRVA==", "dependencies": { - "@libp2p/interface-connection": "^3.0.2", - "@libp2p/interface-transport": "^2.0.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^2.0.1", + "uint8arraylist": "^2.4.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/utils/node_modules/@libp2p/interface-peer-store": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-store/-/interface-peer-store-2.0.4.tgz", + "integrity": "sha512-jNvBK3O1JPJqSiDN2vkb+PV8bTPnYdP54nxsLtut1BWukNm610lwzwleV7CetFI4bJCn6g+BgBvvq8fdADy0tA==", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@multiformats/multiaddr": "^12.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/utils/node_modules/@multiformats/multiaddr": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", + "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", + "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/utils/node_modules/abortable-iterator": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/abortable-iterator/-/abortable-iterator-5.0.1.tgz", + "integrity": "sha512-hlZ5Z8UwqrKsJcelVPEqDduZowJPBQJ9ZhBC2FXpja3lXy8X6MoI5uMzIgmrA8+3jcVnp8TF/tx+IBBqYJNUrg==", + "dependencies": { + "get-iterator": "^2.0.0", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/utils/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/websockets": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/@libp2p/websockets/-/websockets-6.0.3.tgz", + "integrity": "sha512-pwOr3iAbczWmmCg1nHnC2Dl0Ek81Y6LE8ptImiUbuZ08q1E/fTumM8pRNmrrsogSshG4lugebArIO9SNMylJZg==", + "dependencies": { + "@libp2p/interface-connection": "^5.0.0", + "@libp2p/interface-transport": "^4.0.0", "@libp2p/interfaces": "^3.0.3", "@libp2p/logger": "^2.0.0", "@libp2p/utils": "^3.0.2", - "@multiformats/mafmt": "^11.0.3", - "@multiformats/multiaddr": "^11.0.0", + "@multiformats/mafmt": "^12.0.0", + "@multiformats/multiaddr": "^12.0.0", "@multiformats/multiaddr-to-uri": "^9.0.2", - "abortable-iterator": "^4.0.2", - "it-ws": "^5.0.6", + "@types/ws": "^8.5.4", + "abortable-iterator": "^5.0.0", + "it-ws": "^6.0.0", "p-defer": "^4.0.0", "p-timeout": "^6.0.0", - "wherearewe": "^2.0.1" + "wherearewe": "^2.0.1", + "ws": "^8.12.1" }, "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, + "node_modules/@libp2p/websockets/node_modules/@libp2p/interface-connection": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-5.1.1.tgz", + "integrity": "sha512-ytknMbuuNW72LYMmTP7wFGP5ZTaUSGBCmV9f+uQ55XPcFHtKXLtKWVU/HE8IqPmwtyU8AO7veGoJ/qStMHNRVA==", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^2.0.1", + "uint8arraylist": "^2.4.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/websockets/node_modules/@libp2p/interface-stream-muxer": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.1.2.tgz", + "integrity": "sha512-dQJcn67UaAa8YQFRJDhbo4uT453z/2lCzD/ZwTk1YOqJxATXbXgVcB8dXDQFEUiUX3ZjVQ1IBu+NlQd+IZ++zw==", + "dependencies": { + "@libp2p/interface-connection": "^5.0.0", + "@libp2p/interfaces": "^3.0.0", + "@libp2p/logger": "^2.0.7", + "abortable-iterator": "^5.0.1", + "any-signal": "^4.1.1", + "it-pushable": "^3.1.3", + "it-stream-types": "^2.0.1", + "uint8arraylist": "^2.4.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/websockets/node_modules/@libp2p/interface-transport": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@libp2p/interface-transport/-/interface-transport-4.0.3.tgz", + "integrity": "sha512-jXFQ3blhFMEyQbFw/U8Glo3F/fUO5LEaX5HIdeqNpCliK+XnwTfpkcaG+WsJrcApWK4FFyUHc+GGqiWR0hAFFg==", + "dependencies": { + "@libp2p/interface-connection": "^5.0.0", + "@libp2p/interface-stream-muxer": "^4.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/websockets/node_modules/@multiformats/mafmt": { + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@multiformats/mafmt/-/mafmt-12.1.5.tgz", + "integrity": "sha512-hz8CreKgs99pNIfea5/BHTPY90nrVLDHgGNrrHPCe51pkO+OM95PiF43q7ivIlytU++asOxcp+FhZymIwYy6LA==", + "dependencies": { + "@multiformats/multiaddr": "^12.0.0" + } + }, + "node_modules/@libp2p/websockets/node_modules/@multiformats/multiaddr": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", + "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", + "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/websockets/node_modules/abortable-iterator": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/abortable-iterator/-/abortable-iterator-5.0.1.tgz", + "integrity": "sha512-hlZ5Z8UwqrKsJcelVPEqDduZowJPBQJ9ZhBC2FXpja3lXy8X6MoI5uMzIgmrA8+3jcVnp8TF/tx+IBBqYJNUrg==", + "dependencies": { + "get-iterator": "^2.0.0", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/websockets/node_modules/any-signal": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/any-signal/-/any-signal-4.1.1.tgz", + "integrity": "sha512-iADenERppdC+A2YKbOXXB2WUeABLaM6qnpZ70kZbPZ1cZMMJ7eF+3CaYm+/PhBizgkzlvssC7QuHS30oOiQYWA==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/websockets/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@livechat/data-utils": { "version": "0.2.17", "resolved": "https://registry.npmjs.org/@livechat/data-utils/-/data-utils-0.2.17.tgz", @@ -4673,11 +5724,29 @@ } }, "node_modules/@multiformats/multiaddr-to-uri": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr-to-uri/-/multiaddr-to-uri-9.0.2.tgz", - "integrity": "sha512-vrWmfFadmix5Ab9l//oRQdQ7O3J5bGJpJRMSm21bHlQB0XV4xtNU6vMZBVXeu3Su79LgflEp37cjTFE3yKf3Hw==", + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr-to-uri/-/multiaddr-to-uri-9.0.7.tgz", + "integrity": "sha512-i3ldtPMN6XJt+MCi34hOl0wGuGEHfWWMw6lmNag5BpckPwPTf9XGOOFMmh7ed/uO3Vjah/g173iOe61HTQVoBA==", "dependencies": { - "@multiformats/multiaddr": "^11.0.0" + "@multiformats/multiaddr": "^12.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@multiformats/multiaddr-to-uri/node_modules/@multiformats/multiaddr": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", + "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", + "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", @@ -4724,6 +5793,25 @@ "node": ">=4.0" } }, + "node_modules/@noble/ciphers": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-0.1.4.tgz", + "integrity": "sha512-d3ZR8vGSpy3v/nllS+bD/OMN5UZqusWiQqkyj7AwzTnhXFH72pF5oB4Ach6DQ50g5kXxC28LdaYBEpsyv9KOUQ==", + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@noble/curves": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.1.0.tgz", + "integrity": "sha512-091oBExgENk/kGj3AZmtBDMpxQPDtxQABR2B9lb1JbVTs6ytdzZNwvhxQ4MWasRNEzlbEH8jCWFCwhF/Obj5AA==", + "dependencies": { + "@noble/hashes": "1.3.1" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/@noble/ed25519": { "version": "1.7.3", "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.7.3.tgz", @@ -5914,7 +7002,6 @@ "version": "8.5.4", "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.4.tgz", "integrity": "sha512-zdQDHKUgcX/zBc4GrwsE/7dVdAD8JR4EuiAXiiUhhfyIJXXb2+PrGshFyeXWQPMmmZ2XxgaqclgpIC7eTXc1mg==", - "dev": true, "dependencies": { "@types/node": "*" } @@ -6193,34 +7280,59 @@ } }, "node_modules/@waku/dns-discovery": { - "version": "0.0.14", - "resolved": "https://registry.npmjs.org/@waku/dns-discovery/-/dns-discovery-0.0.14.tgz", - "integrity": "sha512-S8kzLUvmqIuqLGcPAT6JAYFDrxB/TeMEihU4tsWWg7UBnxyQVH2lqkjzGxnqClrQ9XFukvlH1fhvn0AIkKg25A==", + "version": "0.0.15", + "resolved": "https://registry.npmjs.org/@waku/dns-discovery/-/dns-discovery-0.0.15.tgz", + "integrity": "sha512-pwGNIQ93NTdKrtBK+BOzHqpvqKUD91U9uY8OO90V7gOviPzpoOId4PM7dZCY4pRkJhfdG85OybOoAHiE5vtr4Q==", "dependencies": { - "@libp2p/interface-peer-discovery": "^1.0.5", - "@libp2p/interfaces": "^3.3.1", - "@waku/enr": "0.0.14", - "@waku/utils": "0.0.8", + "@libp2p/interface-peer-discovery": "^2.0.0", + "@libp2p/interfaces": "^3.3.2", + "@waku/enr": "0.0.15", + "@waku/utils": "0.0.9", "debug": "^4.3.4", "dns-query": "^0.11.2", "hi-base32": "^0.5.1", - "uint8arrays": "^4.0.3" + "uint8arrays": "^4.0.4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@waku/dns-discovery/node_modules/@libp2p/interface-peer-discovery": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-discovery/-/interface-peer-discovery-2.0.0.tgz", + "integrity": "sha512-Mien5t3Tc+ntP5p50acKUYJN90ouMnq1lOTQDKQNvGcXoajG8A1AEYLocnzVia/MXiexuj6S/Q28WBBacoOlBg==", + "dependencies": { + "@libp2p/interface-peer-info": "^1.0.0", + "@libp2p/interfaces": "^3.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/dns-discovery/node_modules/@waku/utils": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.9.tgz", + "integrity": "sha512-afXcqgjy0honWW0qOM/EHMFEm1tQxyzIyZUSo6eAUysACy3/kSkZxHJeKDFjwKWaVW46dZo0dQQ6734xKMU5LA==", + "dependencies": { + "debug": "^4.3.4", + "uint8arrays": "^4.0.4" }, "engines": { "node": ">=16" } }, "node_modules/@waku/enr": { - "version": "0.0.14", - "resolved": "https://registry.npmjs.org/@waku/enr/-/enr-0.0.14.tgz", - "integrity": "sha512-oujSa7lVZoVEL2A/xA1UQqkktkeSL7I1ivt6hsMfK/3BbsQPt4d4LchY5QG7Vahrebv2BZ+/tvckhQ2mkF3azg==", + "version": "0.0.15", + "resolved": "https://registry.npmjs.org/@waku/enr/-/enr-0.0.15.tgz", + "integrity": "sha512-6tKp2cVMC7i2NlnejEQupzS+er8HUYJpMsSZ2QkmD/DtHjz9Z+YMA9t04NMQeBHpSqgkYaUh0R+3Y2lwZkKn4Q==", "dependencies": { "@ethersproject/rlp": "^5.7.0", "@libp2p/crypto": "^1.0.17", - "@libp2p/peer-id": "^2.0.3", + "@libp2p/peer-id": "^2.0.4", "@multiformats/multiaddr": "^12.0.0", "@noble/secp256k1": "^1.7.1", - "@waku/utils": "0.0.8", + "@waku/utils": "0.0.9", "debug": "^4.3.4", "js-sha3": "^0.8.0" }, @@ -6261,25 +7373,38 @@ "npm": ">=7.0.0" } }, + "node_modules/@waku/enr/node_modules/@waku/utils": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.9.tgz", + "integrity": "sha512-afXcqgjy0honWW0qOM/EHMFEm1tQxyzIyZUSo6eAUysACy3/kSkZxHJeKDFjwKWaVW46dZo0dQQ6734xKMU5LA==", + "dependencies": { + "debug": "^4.3.4", + "uint8arrays": "^4.0.4" + }, + "engines": { + "node": ">=16" + } + }, "node_modules/@waku/interfaces": { - "version": "0.0.15", - "resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.15.tgz", - "integrity": "sha512-l8MDtMtA51nWeeU36lZV07JWMLHmnn7Dm93ihS2lgqWACbhzwOEDZ3alox4T8Um7A3RmnK/WZ5U2Cprs3ukt8w==", + "version": "0.0.16", + "resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.16.tgz", + "integrity": "sha512-eHDH7/B1zsJqn5gh4HW2pcT8mVz2dG2gXSS0pf7SS612q91ZI4iLQA850K+prnleaZUAx1Vj7VjZoi8aQ7zdNA==", "engines": { "node": ">=16" } }, "node_modules/@waku/peer-exchange": { - "version": "0.0.13", - "resolved": "https://registry.npmjs.org/@waku/peer-exchange/-/peer-exchange-0.0.13.tgz", - "integrity": "sha512-tOLlOffcl674qZt6wIi2VjgTra6T5ZXk/KEKxMoBGz4QKO4EdJEwvQyCjVhwnZltUYVqyUkcOlialswUuyQhpw==", + "version": "0.0.14", + "resolved": "https://registry.npmjs.org/@waku/peer-exchange/-/peer-exchange-0.0.14.tgz", + "integrity": "sha512-MxVDgTTab/63/+d+82qzce7THuGKqo8Rjyo3d8YV5+QliCW4eE4pHhhaAzDP1bDRGyQrn38tgQ38i4/CCSLV5A==", "dependencies": { - "@libp2p/interface-peer-discovery": "^1.0.5", - "@libp2p/interfaces": "^3.3.1", - "@waku/core": "0.0.20", - "@waku/enr": "0.0.14", + "@libp2p/interface-peer-discovery": "^2.0.0", + "@libp2p/interfaces": "^3.3.2", + "@waku/core": "0.0.21", + "@waku/enr": "0.0.15", + "@waku/interfaces": "0.0.16", "@waku/proto": "0.0.5", - "@waku/utils": "0.0.8", + "@waku/utils": "0.0.9", "debug": "^4.3.4", "it-all": "^3.0.2", "it-length-prefixed": "^9.0.1", @@ -6289,11 +7414,230 @@ "node": ">=16" } }, + "node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-address-manager": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-address-manager/-/interface-address-manager-3.0.1.tgz", + "integrity": "sha512-8N1nfOtZ/CnZ/cL0Bnj59fhcSs7orI4evmNVsv2DM1VaNHXqc9tPy8JmQE2HRjrUXeUPwtzzG2eoP7l0ZYdC0g==", + "peer": true, + "dependencies": { + "@multiformats/multiaddr": "^12.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-connection": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-5.1.1.tgz", + "integrity": "sha512-ytknMbuuNW72LYMmTP7wFGP5ZTaUSGBCmV9f+uQ55XPcFHtKXLtKWVU/HE8IqPmwtyU8AO7veGoJ/qStMHNRVA==", + "peer": true, + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^2.0.1", + "uint8arraylist": "^2.4.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-connection-encrypter": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-encrypter/-/interface-connection-encrypter-4.0.1.tgz", + "integrity": "sha512-fOtZpaFL2f5vID/RaBpVMAR9OKx5DmDT/yMEFTCarNc6Bb37fWwClI4WNCtoVbDQwcnr4H4ZIo0+9yCxjEIjjQ==", + "peer": true, + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-connection-manager": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-manager/-/interface-connection-manager-3.0.1.tgz", + "integrity": "sha512-7ZAvzOWfHs3BtaoZoWsT+Ks1bo6HjyRMq1SJdFWDJ+ZkYEzrf6sdtQwsX8eXhwRDO6PuzpUDqLZ9TNQ2GVKEEw==", + "peer": true, + "dependencies": { + "@libp2p/interface-connection": "^5.0.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "@libp2p/peer-collections": "^3.0.1", + "@multiformats/multiaddr": "^12.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-libp2p": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface-libp2p/-/interface-libp2p-3.2.0.tgz", + "integrity": "sha512-Vow6xNdjpQ0M/Kt3EDz1qE/Os5OZUyhFt0YTPU5Fp3/kXw/6ocsxYq/Bzird/96gjUjU5/i+Vukn4WgctJf55Q==", + "peer": true, + "dependencies": { + "@libp2p/interface-connection": "^5.0.0", + "@libp2p/interface-content-routing": "^2.0.0", + "@libp2p/interface-keychain": "^2.0.0", + "@libp2p/interface-metrics": "^4.0.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interface-peer-info": "^1.0.0", + "@libp2p/interface-peer-routing": "^1.0.0", + "@libp2p/interface-peer-store": "^2.0.0", + "@libp2p/interface-registrar": "^2.0.0", + "@libp2p/interface-transport": "^4.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-peer-discovery": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-discovery/-/interface-peer-discovery-2.0.0.tgz", + "integrity": "sha512-Mien5t3Tc+ntP5p50acKUYJN90ouMnq1lOTQDKQNvGcXoajG8A1AEYLocnzVia/MXiexuj6S/Q28WBBacoOlBg==", + "dependencies": { + "@libp2p/interface-peer-info": "^1.0.0", + "@libp2p/interfaces": "^3.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-peer-store": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-store/-/interface-peer-store-2.0.4.tgz", + "integrity": "sha512-jNvBK3O1JPJqSiDN2vkb+PV8bTPnYdP54nxsLtut1BWukNm610lwzwleV7CetFI4bJCn6g+BgBvvq8fdADy0tA==", + "peer": true, + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@multiformats/multiaddr": "^12.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-pubsub": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-pubsub/-/interface-pubsub-4.0.1.tgz", + "integrity": "sha512-PIc5V/J98Yr1ZTHh8lQshP7GdVUh+pKNIqj6wGaDmXs8oQLB40qKCjcpHQNlAnv2e1Bh9mEH2GXv5sGZOA651A==", + "peer": true, + "dependencies": { + "@libp2p/interface-connection": "^5.0.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "it-pushable": "^3.1.3", + "uint8arraylist": "^2.4.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-stream-muxer": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.1.2.tgz", + "integrity": "sha512-dQJcn67UaAa8YQFRJDhbo4uT453z/2lCzD/ZwTk1YOqJxATXbXgVcB8dXDQFEUiUX3ZjVQ1IBu+NlQd+IZ++zw==", + "peer": true, + "dependencies": { + "@libp2p/interface-connection": "^5.0.0", + "@libp2p/interfaces": "^3.0.0", + "@libp2p/logger": "^2.0.7", + "abortable-iterator": "^5.0.1", + "any-signal": "^4.1.1", + "it-pushable": "^3.1.3", + "it-stream-types": "^2.0.1", + "uint8arraylist": "^2.4.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-transport": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@libp2p/interface-transport/-/interface-transport-4.0.3.tgz", + "integrity": "sha512-jXFQ3blhFMEyQbFw/U8Glo3F/fUO5LEaX5HIdeqNpCliK+XnwTfpkcaG+WsJrcApWK4FFyUHc+GGqiWR0hAFFg==", + "peer": true, + "dependencies": { + "@libp2p/interface-connection": "^5.0.0", + "@libp2p/interface-stream-muxer": "^4.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/@libp2p/peer-id": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", + "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", + "peer": true, + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.2.0", + "multiformats": "^11.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/@libp2p/peer-store": { + "version": "8.2.1", + "resolved": "https://registry.npmjs.org/@libp2p/peer-store/-/peer-store-8.2.1.tgz", + "integrity": "sha512-mr0GsZ7zucta3l5EblOGrBeVgdTVujRJ9WC+FmnYErQe023SRJevAZEv1WeMinMGVGL6CY+gmWw0oLpExu9AWg==", + "peer": true, + "dependencies": { + "@libp2p/interface-libp2p": "^3.1.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interface-peer-store": "^2.0.4", + "@libp2p/interfaces": "^3.2.0", + "@libp2p/logger": "^2.0.7", + "@libp2p/peer-collections": "^3.0.1", + "@libp2p/peer-id": "^2.0.0", + "@libp2p/peer-id-factory": "^2.0.0", + "@libp2p/peer-record": "^5.0.3", + "@multiformats/multiaddr": "^12.0.0", + "interface-datastore": "^8.0.0", + "it-all": "^3.0.2", + "mortice": "^3.0.1", + "multiformats": "^11.0.0", + "protons-runtime": "^5.0.0", + "uint8arraylist": "^2.1.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/@multiformats/mafmt": { + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@multiformats/mafmt/-/mafmt-12.1.5.tgz", + "integrity": "sha512-hz8CreKgs99pNIfea5/BHTPY90nrVLDHgGNrrHPCe51pkO+OM95PiF43q7ivIlytU++asOxcp+FhZymIwYy6LA==", + "peer": true, + "dependencies": { + "@multiformats/multiaddr": "^12.0.0" + } + }, "node_modules/@waku/peer-exchange/node_modules/@multiformats/multiaddr": { "version": "12.1.3", "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", - "optional": true, "peer": true, "dependencies": { "@chainsafe/is-ip": "^2.0.1", @@ -6310,14 +7654,14 @@ } }, "node_modules/@waku/peer-exchange/node_modules/@waku/core": { - "version": "0.0.20", - "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.20.tgz", - "integrity": "sha512-1p8TmOvbGhUQZHKE+w1FQtmp+EDTNQEsSgrsMoSjzGVdI+XuQQ/l2aefwOuBQHIHh99+VZBQ9ut+ArstFHks/A==", + "version": "0.0.21", + "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.21.tgz", + "integrity": "sha512-o42TIfOWNcO6PMYUkfJcNpDQ1xrO3ZOSDcuLWwsNd2yVTRp2f5hVcvf6XX9pM+uRhEj6RqS06SB4PKCmLqshfw==", "dependencies": { "@noble/hashes": "^1.3.0", - "@waku/interfaces": "0.0.15", + "@waku/interfaces": "0.0.16", "@waku/proto": "0.0.5", - "@waku/utils": "0.0.8", + "@waku/utils": "0.0.9", "debug": "^4.3.4", "it-all": "^3.0.2", "it-length-prefixed": "^9.0.1", @@ -6331,7 +7675,7 @@ }, "peerDependencies": { "@multiformats/multiaddr": "^12.0.0", - "libp2p": "^0.42.2" + "libp2p": "^0.45.9" }, "peerDependenciesMeta": { "@multiformats/multiaddr": { @@ -6339,6 +7683,125 @@ } } }, + "node_modules/@waku/peer-exchange/node_modules/@waku/utils": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.9.tgz", + "integrity": "sha512-afXcqgjy0honWW0qOM/EHMFEm1tQxyzIyZUSo6eAUysACy3/kSkZxHJeKDFjwKWaVW46dZo0dQQ6734xKMU5LA==", + "dependencies": { + "debug": "^4.3.4", + "uint8arrays": "^4.0.4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@waku/peer-exchange/node_modules/abortable-iterator": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/abortable-iterator/-/abortable-iterator-5.0.1.tgz", + "integrity": "sha512-hlZ5Z8UwqrKsJcelVPEqDduZowJPBQJ9ZhBC2FXpja3lXy8X6MoI5uMzIgmrA8+3jcVnp8TF/tx+IBBqYJNUrg==", + "peer": true, + "dependencies": { + "get-iterator": "^2.0.0", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/any-signal": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/any-signal/-/any-signal-4.1.1.tgz", + "integrity": "sha512-iADenERppdC+A2YKbOXXB2WUeABLaM6qnpZ70kZbPZ1cZMMJ7eF+3CaYm+/PhBizgkzlvssC7QuHS30oOiQYWA==", + "peer": true, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/datastore-core": { + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/datastore-core/-/datastore-core-9.2.0.tgz", + "integrity": "sha512-r3HZCdRTPXbHsiakhbYCtdGix9/a0G7huwYa9Ive+pIN7BjkdcLQseQ+iCMsECcocwHu23rs2qzdHKSflbVSng==", + "peer": true, + "dependencies": { + "@libp2p/logger": "^2.0.0", + "err-code": "^3.0.1", + "interface-store": "^5.0.0", + "it-all": "^3.0.1", + "it-drain": "^3.0.1", + "it-filter": "^3.0.0", + "it-map": "^3.0.1", + "it-merge": "^3.0.0", + "it-pipe": "^3.0.0", + "it-pushable": "^3.0.0", + "it-sort": "^3.0.1", + "it-take": "^3.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/interface-datastore": { + "version": "8.2.3", + "resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-8.2.3.tgz", + "integrity": "sha512-5U6BfK7cR4oSngm4pqYZBBAX7tpLI4YCOa3Ifz/EJEaEV2mmlloH5qP8ADWCVFk6vP1MPT925JJkt3kFIi7iWQ==", + "peer": true, + "dependencies": { + "interface-store": "^5.0.0", + "nanoid": "^4.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/interface-store": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/interface-store/-/interface-store-5.1.2.tgz", + "integrity": "sha512-q2sLoqC+UdaWnjwGyghsH0jwqqVk226lsG207e3QwPB8sAZYmYIWUnJwJH3JjFNNRV9e6CUTmm+gDO0Xg4KRiw==", + "peer": true, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/it-drain": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/it-drain/-/it-drain-3.0.2.tgz", + "integrity": "sha512-0hJvS/4Ktt9wT/bktmovjjMAY8r6FCsXqpL3zjqBBNwoL21VgQfguEnwbLSGuCip9Zq1vfU43cbHkmaRZdBfOg==", + "peer": true, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/it-filter": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/it-filter/-/it-filter-3.0.2.tgz", + "integrity": "sha512-Hhzp5anX7tmKOBqTPasBYTPlq7l4Xk4lMBfLB5GfKZnL9WCc6pr8M9Waud4nHh3s9neb4xwDWk7KQsEapgWyJw==", + "peer": true, + "dependencies": { + "it-peekable": "^3.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/it-first": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/it-first/-/it-first-3.0.2.tgz", + "integrity": "sha512-QPLAM2BOkait/o6W25HvP0XTEv+Os3Ce4wET//ADNaPv+WYAHWfQwJuMu5FB8X066hA1F7LEMnULvTpE7/4yQw==", + "peer": true, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@waku/peer-exchange/node_modules/it-length-prefixed": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", @@ -6355,6 +7818,19 @@ "npm": ">=7.0.0" } }, + "node_modules/@waku/peer-exchange/node_modules/it-map": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/it-map/-/it-map-3.0.3.tgz", + "integrity": "sha512-Yf89GJYeYUZb2NZzWkvFHm3IBXlxro74i2vGRmpf8BYau3BhlaS37ieDenJEdYzkTGJhL/EbM1jPPw/KGVVVIw==", + "peer": true, + "dependencies": { + "it-peekable": "^3.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@waku/peer-exchange/node_modules/it-merge": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.1.tgz", @@ -6381,6 +7857,19 @@ "npm": ">=7.0.0" } }, + "node_modules/@waku/peer-exchange/node_modules/it-sort": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/it-sort/-/it-sort-3.0.2.tgz", + "integrity": "sha512-gRvHyXkn13hyXIoiGkvg7Mf1Yg8JUB+ArKjMrGCYfd/4MQ8mQlMCOE6H8itjshwdVEAUDrppb786zODndYyjSg==", + "peer": true, + "dependencies": { + "it-all": "^3.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@waku/peer-exchange/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", @@ -6390,6 +7879,135 @@ "npm": ">=7.0.0" } }, + "node_modules/@waku/peer-exchange/node_modules/it-take": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/it-take/-/it-take-3.0.2.tgz", + "integrity": "sha512-HgtnQYW45iV+lOJIk54dhKWNi+puAeutUehIWQE9tRkM91nlCn0abbDU2xG/FZV3cVnEG4hGwxOEImnMMKwhmg==", + "peer": true, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/libp2p": { + "version": "0.45.9", + "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-0.45.9.tgz", + "integrity": "sha512-cf2dCf8naZqQoDw3xxSEZ6rKgQ8BBne5iWgtIKHAYrCvL+ulshz72jNgeAG0FQ/jjRD3yzmUuwoMaLHj6gf7Bw==", + "peer": true, + "dependencies": { + "@achingbrain/nat-port-mapper": "^1.0.9", + "@libp2p/crypto": "^1.0.17", + "@libp2p/interface-address-manager": "^3.0.0", + "@libp2p/interface-connection": "^5.1.1", + "@libp2p/interface-connection-encrypter": "^4.0.0", + "@libp2p/interface-connection-gater": "^3.0.0", + "@libp2p/interface-connection-manager": "^3.0.0", + "@libp2p/interface-content-routing": "^2.1.0", + "@libp2p/interface-keychain": "^2.0.4", + "@libp2p/interface-libp2p": "^3.2.0", + "@libp2p/interface-metrics": "^4.0.0", + "@libp2p/interface-peer-discovery": "^2.0.0", + "@libp2p/interface-peer-id": "^2.0.1", + "@libp2p/interface-peer-info": "^1.0.3", + "@libp2p/interface-peer-routing": "^1.1.0", + "@libp2p/interface-peer-store": "^2.0.4", + "@libp2p/interface-pubsub": "^4.0.0", + "@libp2p/interface-record": "^2.0.6", + "@libp2p/interface-registrar": "^2.0.3", + "@libp2p/interface-stream-muxer": "^4.0.0", + "@libp2p/interface-transport": "^4.0.0", + "@libp2p/interfaces": "^3.2.0", + "@libp2p/keychain": "^2.0.0", + "@libp2p/logger": "^2.1.1", + "@libp2p/multistream-select": "^3.1.8", + "@libp2p/peer-collections": "^3.0.0", + "@libp2p/peer-id": "^2.0.0", + "@libp2p/peer-id-factory": "^2.0.0", + "@libp2p/peer-record": "^5.0.0", + "@libp2p/peer-store": "^8.2.0", + "@libp2p/topology": "^4.0.1", + "@libp2p/tracked-map": "^3.0.0", + "@libp2p/utils": "^3.0.10", + "@multiformats/mafmt": "^12.0.0", + "@multiformats/multiaddr": "^12.0.0", + "abortable-iterator": "^5.0.1", + "any-signal": "^4.1.1", + "datastore-core": "^9.0.0", + "interface-datastore": "^8.0.0", + "it-all": "^3.0.1", + "it-drain": "^3.0.1", + "it-filter": "^3.0.1", + "it-first": "^3.0.1", + "it-handshake": "^4.1.3", + "it-length-prefixed": "^9.0.1", + "it-map": "^3.0.2", + "it-merge": "^3.0.0", + "it-pair": "^2.0.2", + "it-parallel": "^3.0.0", + "it-pb-stream": "^4.0.1", + "it-pipe": "^3.0.1", + "it-stream-types": "^2.0.1", + "merge-options": "^3.0.4", + "multiformats": "^11.0.0", + "p-defer": "^4.0.0", + "p-queue": "^7.3.4", + "p-retry": "^5.0.0", + "private-ip": "^3.0.0", + "protons-runtime": "^5.0.0", + "rate-limiter-flexible": "^2.3.11", + "uint8arraylist": "^2.3.2", + "uint8arrays": "^4.0.2", + "wherearewe": "^2.0.0", + "xsalsa20": "^1.1.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/long": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", + "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==", + "peer": true + }, + "node_modules/@waku/peer-exchange/node_modules/protobufjs": { + "version": "7.2.4", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.4.tgz", + "integrity": "sha512-AT+RJgD2sH8phPmCf7OUZR8xGdcJRga4+1cOaXJ64hvcSkVhNcRHOwIxUatPH15+nj59WAGTDv3LSGZPEQbJaQ==", + "hasInstallScript": true, + "peer": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@waku/peer-exchange/node_modules/protons-runtime": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.0.1.tgz", + "integrity": "sha512-AwyAA3pQ4Ka4tEBMdIjLi/cRdpb322f7sgv3NruVq9yguLggzwu5eeLe1HuRPFYlI4UsVN/QK/AQXjLPVLCzTA==", + "peer": true, + "dependencies": { + "protobufjs": "^7.0.0", + "uint8arraylist": "^2.4.3" + }, + "peerDependencies": { + "uint8arraylist": "^2.3.2" + } + }, "node_modules/@waku/proto": { "version": "0.0.5", "resolved": "https://registry.npmjs.org/@waku/proto/-/proto-0.0.5.tgz", @@ -6460,6 +8078,408 @@ "react": "^16.8.0 || ^17 || ^18" } }, + "node_modules/@waku/react/node_modules/@chainsafe/libp2p-noise": { + "version": "11.0.4", + "resolved": "https://registry.npmjs.org/@chainsafe/libp2p-noise/-/libp2p-noise-11.0.4.tgz", + "integrity": "sha512-X7kA6a3/QPFxNFwgUJ8vubDu5qBDcDT0nhD+jL7g60IFKZu//HFH7oqsNCZa12yx0oR1fEYOR62iHDt2GHyWBQ==", + "dependencies": { + "@libp2p/crypto": "^1.0.11", + "@libp2p/interface-connection-encrypter": "^3.0.5", + "@libp2p/interface-keys": "^1.0.6", + "@libp2p/interface-metrics": "^4.0.4", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/logger": "^2.0.5", + "@libp2p/peer-id": "^2.0.0", + "@stablelib/chacha20poly1305": "^1.0.1", + "@stablelib/hkdf": "^1.0.1", + "@stablelib/sha256": "^1.0.1", + "@stablelib/x25519": "^1.0.3", + "it-length-prefixed": "^8.0.2", + "it-pair": "^2.0.2", + "it-pb-stream": "^3.2.0", + "it-pipe": "^2.0.3", + "it-stream-types": "^1.0.4", + "protons-runtime": "^5.0.0", + "uint8arraylist": "^2.3.2", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/react/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/@waku/react/node_modules/@libp2p/mplex": { + "version": "7.1.7", + "resolved": "https://registry.npmjs.org/@libp2p/mplex/-/mplex-7.1.7.tgz", + "integrity": "sha512-8eJ6HUL3bM8ck0rb/NJ04+phBUVBMocxH/kuc2Nypn8RX9ezihV7srGGhG5N7muaMwJrRbYkFhIV4GH+8WTZUg==", + "dependencies": { + "@libp2p/interface-connection": "^4.0.0", + "@libp2p/interface-stream-muxer": "^3.0.0", + "@libp2p/interfaces": "^3.2.0", + "@libp2p/logger": "^2.0.0", + "abortable-iterator": "^4.0.2", + "any-signal": "^4.0.1", + "benchmark": "^2.1.4", + "it-batched-bytes": "^1.0.0", + "it-pushable": "^3.1.0", + "it-stream-types": "^1.0.4", + "rate-limiter-flexible": "^2.3.9", + "uint8arraylist": "^2.1.1", + "uint8arrays": "^4.0.2", + "varint": "^6.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/react/node_modules/@libp2p/peer-id": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", + "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.2.0", + "multiformats": "^11.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/react/node_modules/@libp2p/websockets": { + "version": "5.0.10", + "resolved": "https://registry.npmjs.org/@libp2p/websockets/-/websockets-5.0.10.tgz", + "integrity": "sha512-q8aKm0rhDxZjc4TzDpB0quog4pViFnz+Ok+UbGEk3xXxHwT3QCxaDVPKMemMqN/1N3OahVvcodpcvFSuWmus+A==", + "dependencies": { + "@libp2p/interface-connection": "^4.0.0", + "@libp2p/interface-transport": "^2.0.0", + "@libp2p/interfaces": "^3.0.3", + "@libp2p/logger": "^2.0.0", + "@libp2p/utils": "^3.0.2", + "@multiformats/mafmt": "^12.0.0", + "@multiformats/multiaddr": "^12.0.0", + "@multiformats/multiaddr-to-uri": "^9.0.2", + "abortable-iterator": "^4.0.2", + "it-ws": "^5.0.6", + "p-defer": "^4.0.0", + "p-timeout": "^6.0.0", + "wherearewe": "^2.0.1", + "ws": "^8.12.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/react/node_modules/@multiformats/mafmt": { + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@multiformats/mafmt/-/mafmt-12.1.5.tgz", + "integrity": "sha512-hz8CreKgs99pNIfea5/BHTPY90nrVLDHgGNrrHPCe51pkO+OM95PiF43q7ivIlytU++asOxcp+FhZymIwYy6LA==", + "dependencies": { + "@multiformats/multiaddr": "^12.0.0" + } + }, + "node_modules/@waku/react/node_modules/@multiformats/multiaddr": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", + "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", + "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/@waku/react/node_modules/@waku/core": { + "version": "0.0.20", + "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.20.tgz", + "integrity": "sha512-1p8TmOvbGhUQZHKE+w1FQtmp+EDTNQEsSgrsMoSjzGVdI+XuQQ/l2aefwOuBQHIHh99+VZBQ9ut+ArstFHks/A==", + "dependencies": { + "@noble/hashes": "^1.3.0", + "@waku/interfaces": "0.0.15", + "@waku/proto": "0.0.5", + "@waku/utils": "0.0.8", + "debug": "^4.3.4", + "it-all": "^3.0.2", + "it-length-prefixed": "^9.0.1", + "it-pipe": "^3.0.1", + "p-event": "^5.0.1", + "uint8arraylist": "^2.4.3", + "uuid": "^9.0.0" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "@multiformats/multiaddr": "^12.0.0", + "libp2p": "^0.42.2" + }, + "peerDependenciesMeta": { + "@multiformats/multiaddr": { + "optional": true + } + } + }, + "node_modules/@waku/react/node_modules/@waku/core/node_modules/it-length-prefixed": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", + "integrity": "sha512-ZBD8ZFLERj8d1q9CeBtk0eJ4EpeI3qwnkmWtemBSm3ZI2dM8PUweNVk5haZ2vw3EIq2uYQiabV9YwNm6EASM4A==", + "dependencies": { + "err-code": "^3.0.1", + "it-stream-types": "^2.0.1", + "uint8-varint": "^1.0.1", + "uint8arraylist": "^2.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/react/node_modules/@waku/core/node_modules/it-pipe": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/it-pipe/-/it-pipe-3.0.1.tgz", + "integrity": "sha512-sIoNrQl1qSRg2seYSBH/3QxWhJFn9PKYvOf/bHdtCBF0bnghey44VyASsWzn5dAx0DCDDABq1hZIuzKmtBZmKA==", + "dependencies": { + "it-merge": "^3.0.0", + "it-pushable": "^3.1.2", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/react/node_modules/@waku/core/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/react/node_modules/@waku/dns-discovery": { + "version": "0.0.14", + "resolved": "https://registry.npmjs.org/@waku/dns-discovery/-/dns-discovery-0.0.14.tgz", + "integrity": "sha512-S8kzLUvmqIuqLGcPAT6JAYFDrxB/TeMEihU4tsWWg7UBnxyQVH2lqkjzGxnqClrQ9XFukvlH1fhvn0AIkKg25A==", + "dependencies": { + "@libp2p/interface-peer-discovery": "^1.0.5", + "@libp2p/interfaces": "^3.3.1", + "@waku/enr": "0.0.14", + "@waku/utils": "0.0.8", + "debug": "^4.3.4", + "dns-query": "^0.11.2", + "hi-base32": "^0.5.1", + "uint8arrays": "^4.0.3" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@waku/react/node_modules/@waku/enr": { + "version": "0.0.14", + "resolved": "https://registry.npmjs.org/@waku/enr/-/enr-0.0.14.tgz", + "integrity": "sha512-oujSa7lVZoVEL2A/xA1UQqkktkeSL7I1ivt6hsMfK/3BbsQPt4d4LchY5QG7Vahrebv2BZ+/tvckhQ2mkF3azg==", + "dependencies": { + "@ethersproject/rlp": "^5.7.0", + "@libp2p/crypto": "^1.0.17", + "@libp2p/peer-id": "^2.0.3", + "@multiformats/multiaddr": "^12.0.0", + "@noble/secp256k1": "^1.7.1", + "@waku/utils": "0.0.8", + "debug": "^4.3.4", + "js-sha3": "^0.8.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@waku/react/node_modules/@waku/interfaces": { + "version": "0.0.15", + "resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.15.tgz", + "integrity": "sha512-l8MDtMtA51nWeeU36lZV07JWMLHmnn7Dm93ihS2lgqWACbhzwOEDZ3alox4T8Um7A3RmnK/WZ5U2Cprs3ukt8w==", + "engines": { + "node": ">=16" + } + }, + "node_modules/@waku/react/node_modules/@waku/sdk": { + "version": "0.0.16", + "resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.16.tgz", + "integrity": "sha512-G9R+2rwOf8DE+lzLfcM5d5IICeRmktyfH4g77aWkgsBA5GvBJoMY5vnIS1j1tqJ+J4UfGp+CggHmHW+x9li1mA==", + "dependencies": { + "@chainsafe/libp2p-noise": "^11.0.0", + "@libp2p/mplex": "^7.1.1", + "@libp2p/websockets": "^5.0.3", + "@waku/core": "0.0.20", + "@waku/dns-discovery": "0.0.14", + "@waku/relay": "0.0.3", + "@waku/utils": "0.0.8", + "libp2p": "^0.42.2" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@waku/react/node_modules/any-signal": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/any-signal/-/any-signal-4.1.1.tgz", + "integrity": "sha512-iADenERppdC+A2YKbOXXB2WUeABLaM6qnpZ70kZbPZ1cZMMJ7eF+3CaYm+/PhBizgkzlvssC7QuHS30oOiQYWA==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/react/node_modules/it-batched-bytes": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/it-batched-bytes/-/it-batched-bytes-1.0.1.tgz", + "integrity": "sha512-ptBiZ0Mh3kJYySpG0pCS7JgvWhaAW1fGfKDVFtNIuNTA+bpSlXINvD5H3b14ZlJbnJFzFzRSCSZ10E1nH4z/WQ==", + "dependencies": { + "it-stream-types": "^1.0.4", + "p-defer": "^4.0.0", + "uint8arraylist": "^2.4.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/react/node_modules/it-merge": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.1.tgz", + "integrity": "sha512-I6hjU1ABO+k3xY1H6JtCSDXvUME88pxIXSgKeT4WI5rPYbQzpr98ldacVuG95WbjaJxKl6Qot6lUdxduLBQPHA==", + "dependencies": { + "it-pushable": "^3.1.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/react/node_modules/it-pb-stream": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/it-pb-stream/-/it-pb-stream-3.2.1.tgz", + "integrity": "sha512-vKE04Zv5MUcwxPNE9bIEfYK3rd/Klj5ORGD1D8Bn5f0mbCLGfouSrqZP1Jntg2osqQg4BN5dKKS2BbfwyGUI3Q==", + "dependencies": { + "err-code": "^3.0.1", + "it-length-prefixed": "^9.0.0", + "it-pushable": "^3.1.2", + "it-stream-types": "^1.0.4", + "protons-runtime": "^5.0.0", + "uint8-varint": "^1.0.6", + "uint8arraylist": "^2.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/react/node_modules/it-pb-stream/node_modules/it-length-prefixed": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", + "integrity": "sha512-ZBD8ZFLERj8d1q9CeBtk0eJ4EpeI3qwnkmWtemBSm3ZI2dM8PUweNVk5haZ2vw3EIq2uYQiabV9YwNm6EASM4A==", + "dependencies": { + "err-code": "^3.0.1", + "it-stream-types": "^2.0.1", + "uint8-varint": "^1.0.1", + "uint8arraylist": "^2.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/react/node_modules/it-pb-stream/node_modules/it-length-prefixed/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/react/node_modules/it-ws": { + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/it-ws/-/it-ws-5.0.6.tgz", + "integrity": "sha512-TEEJQaGtkxgP/nGVq8dq48nPT85Afu8kwwvtDFLj4rQLWRhZcb26RWdXLdn9qhXkWPiWbK5H7JWBW1Bebj/SuQ==", + "dependencies": { + "event-iterator": "^2.0.0", + "iso-url": "^1.1.2", + "it-stream-types": "^1.0.2", + "uint8arrays": "^4.0.2", + "ws": "^8.4.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/react/node_modules/long": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", + "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" + }, + "node_modules/@waku/react/node_modules/protobufjs": { + "version": "7.2.4", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.4.tgz", + "integrity": "sha512-AT+RJgD2sH8phPmCf7OUZR8xGdcJRga4+1cOaXJ64hvcSkVhNcRHOwIxUatPH15+nj59WAGTDv3LSGZPEQbJaQ==", + "hasInstallScript": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@waku/react/node_modules/protons-runtime": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.0.1.tgz", + "integrity": "sha512-AwyAA3pQ4Ka4tEBMdIjLi/cRdpb322f7sgv3NruVq9yguLggzwu5eeLe1HuRPFYlI4UsVN/QK/AQXjLPVLCzTA==", + "dependencies": { + "protobufjs": "^7.0.0", + "uint8arraylist": "^2.4.3" + }, + "peerDependencies": { + "uint8arraylist": "^2.3.2" + } + }, "node_modules/@waku/relay": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/@waku/relay/-/relay-0.0.3.tgz", @@ -6649,19 +8669,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@waku/relay/node_modules/@libp2p/topology": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@libp2p/topology/-/topology-4.0.3.tgz", - "integrity": "sha512-uXd9ZYpmgb+onMTypsAPUlvKKeY20HMtxwsjAMEfDa29yqshK8DiEunHZNjLmtXaMIIO9CBl2w5ykjt5TtFsBQ==", - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interface-registrar": "^2.0.3" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@waku/relay/node_modules/@multiformats/multiaddr": { "version": "12.1.3", "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", @@ -6761,48 +8768,184 @@ "npm": ">=7.0.0" } }, + "node_modules/@waku/relay/node_modules/@waku/interfaces": { + "version": "0.0.15", + "resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.15.tgz", + "integrity": "sha512-l8MDtMtA51nWeeU36lZV07JWMLHmnn7Dm93ihS2lgqWACbhzwOEDZ3alox4T8Um7A3RmnK/WZ5U2Cprs3ukt8w==", + "engines": { + "node": ">=16" + } + }, "node_modules/@waku/sdk": { - "version": "0.0.16", - "resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.16.tgz", - "integrity": "sha512-G9R+2rwOf8DE+lzLfcM5d5IICeRmktyfH4g77aWkgsBA5GvBJoMY5vnIS1j1tqJ+J4UfGp+CggHmHW+x9li1mA==", + "version": "0.0.17", + "resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.17.tgz", + "integrity": "sha512-PdvS6sQqOnOBN53otMoqSnQkZLjXo49B6AxziAlS6zykJV8SuC5in13oHTrkvODpELJfxk0sEsnnU0j0jEJX9w==", "dependencies": { - "@chainsafe/libp2p-noise": "^11.0.0", - "@libp2p/mplex": "^7.1.1", - "@libp2p/websockets": "^5.0.3", - "@waku/core": "0.0.20", - "@waku/dns-discovery": "0.0.14", - "@waku/relay": "0.0.3", - "@waku/utils": "0.0.8", - "libp2p": "^0.42.2" + "@chainsafe/libp2p-noise": "^12.0.1", + "@libp2p/mplex": "^8.0.4", + "@libp2p/websockets": "^6.0.3", + "@waku/core": "0.0.21", + "@waku/dns-discovery": "0.0.15", + "@waku/interfaces": "0.0.16", + "@waku/relay": "0.0.4", + "@waku/utils": "0.0.9", + "libp2p": "^0.45.9" }, "engines": { "node": ">=16" } }, - "node_modules/@waku/sdk/node_modules/@chainsafe/libp2p-noise": { - "version": "11.0.4", - "resolved": "https://registry.npmjs.org/@chainsafe/libp2p-noise/-/libp2p-noise-11.0.4.tgz", - "integrity": "sha512-X7kA6a3/QPFxNFwgUJ8vubDu5qBDcDT0nhD+jL7g60IFKZu//HFH7oqsNCZa12yx0oR1fEYOR62iHDt2GHyWBQ==", + "node_modules/@waku/sdk/node_modules/@libp2p/interface-address-manager": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-address-manager/-/interface-address-manager-3.0.1.tgz", + "integrity": "sha512-8N1nfOtZ/CnZ/cL0Bnj59fhcSs7orI4evmNVsv2DM1VaNHXqc9tPy8JmQE2HRjrUXeUPwtzzG2eoP7l0ZYdC0g==", + "dependencies": { + "@multiformats/multiaddr": "^12.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/sdk/node_modules/@libp2p/interface-connection": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-5.1.1.tgz", + "integrity": "sha512-ytknMbuuNW72LYMmTP7wFGP5ZTaUSGBCmV9f+uQ55XPcFHtKXLtKWVU/HE8IqPmwtyU8AO7veGoJ/qStMHNRVA==", "dependencies": { - "@libp2p/crypto": "^1.0.11", - "@libp2p/interface-connection-encrypter": "^3.0.5", - "@libp2p/interface-keys": "^1.0.6", - "@libp2p/interface-metrics": "^4.0.4", "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/logger": "^2.0.5", - "@libp2p/peer-id": "^2.0.0", - "@stablelib/chacha20poly1305": "^1.0.1", - "@stablelib/hkdf": "^1.0.1", - "@stablelib/sha256": "^1.0.1", - "@stablelib/x25519": "^1.0.3", - "it-length-prefixed": "^8.0.2", - "it-pair": "^2.0.2", - "it-pb-stream": "^3.2.0", - "it-pipe": "^2.0.3", - "it-stream-types": "^1.0.4", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.3.2", - "uint8arrays": "^4.0.2" + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^2.0.1", + "uint8arraylist": "^2.4.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/sdk/node_modules/@libp2p/interface-connection-encrypter": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-encrypter/-/interface-connection-encrypter-4.0.1.tgz", + "integrity": "sha512-fOtZpaFL2f5vID/RaBpVMAR9OKx5DmDT/yMEFTCarNc6Bb37fWwClI4WNCtoVbDQwcnr4H4ZIo0+9yCxjEIjjQ==", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/sdk/node_modules/@libp2p/interface-connection-manager": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-manager/-/interface-connection-manager-3.0.1.tgz", + "integrity": "sha512-7ZAvzOWfHs3BtaoZoWsT+Ks1bo6HjyRMq1SJdFWDJ+ZkYEzrf6sdtQwsX8eXhwRDO6PuzpUDqLZ9TNQ2GVKEEw==", + "dependencies": { + "@libp2p/interface-connection": "^5.0.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "@libp2p/peer-collections": "^3.0.1", + "@multiformats/multiaddr": "^12.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/sdk/node_modules/@libp2p/interface-libp2p": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface-libp2p/-/interface-libp2p-3.2.0.tgz", + "integrity": "sha512-Vow6xNdjpQ0M/Kt3EDz1qE/Os5OZUyhFt0YTPU5Fp3/kXw/6ocsxYq/Bzird/96gjUjU5/i+Vukn4WgctJf55Q==", + "dependencies": { + "@libp2p/interface-connection": "^5.0.0", + "@libp2p/interface-content-routing": "^2.0.0", + "@libp2p/interface-keychain": "^2.0.0", + "@libp2p/interface-metrics": "^4.0.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interface-peer-info": "^1.0.0", + "@libp2p/interface-peer-routing": "^1.0.0", + "@libp2p/interface-peer-store": "^2.0.0", + "@libp2p/interface-registrar": "^2.0.0", + "@libp2p/interface-transport": "^4.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/sdk/node_modules/@libp2p/interface-peer-discovery": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-discovery/-/interface-peer-discovery-2.0.0.tgz", + "integrity": "sha512-Mien5t3Tc+ntP5p50acKUYJN90ouMnq1lOTQDKQNvGcXoajG8A1AEYLocnzVia/MXiexuj6S/Q28WBBacoOlBg==", + "dependencies": { + "@libp2p/interface-peer-info": "^1.0.0", + "@libp2p/interfaces": "^3.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/sdk/node_modules/@libp2p/interface-peer-store": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-store/-/interface-peer-store-2.0.4.tgz", + "integrity": "sha512-jNvBK3O1JPJqSiDN2vkb+PV8bTPnYdP54nxsLtut1BWukNm610lwzwleV7CetFI4bJCn6g+BgBvvq8fdADy0tA==", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@multiformats/multiaddr": "^12.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/sdk/node_modules/@libp2p/interface-pubsub": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-pubsub/-/interface-pubsub-4.0.1.tgz", + "integrity": "sha512-PIc5V/J98Yr1ZTHh8lQshP7GdVUh+pKNIqj6wGaDmXs8oQLB40qKCjcpHQNlAnv2e1Bh9mEH2GXv5sGZOA651A==", + "dependencies": { + "@libp2p/interface-connection": "^5.0.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "it-pushable": "^3.1.3", + "uint8arraylist": "^2.4.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/sdk/node_modules/@libp2p/interface-stream-muxer": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.1.2.tgz", + "integrity": "sha512-dQJcn67UaAa8YQFRJDhbo4uT453z/2lCzD/ZwTk1YOqJxATXbXgVcB8dXDQFEUiUX3ZjVQ1IBu+NlQd+IZ++zw==", + "dependencies": { + "@libp2p/interface-connection": "^5.0.0", + "@libp2p/interfaces": "^3.0.0", + "@libp2p/logger": "^2.0.7", + "abortable-iterator": "^5.0.1", + "any-signal": "^4.1.1", + "it-pushable": "^3.1.3", + "it-stream-types": "^2.0.1", + "uint8arraylist": "^2.4.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/sdk/node_modules/@libp2p/interface-transport": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@libp2p/interface-transport/-/interface-transport-4.0.3.tgz", + "integrity": "sha512-jXFQ3blhFMEyQbFw/U8Glo3F/fUO5LEaX5HIdeqNpCliK+XnwTfpkcaG+WsJrcApWK4FFyUHc+GGqiWR0hAFFg==", + "dependencies": { + "@libp2p/interface-connection": "^5.0.0", + "@libp2p/interface-stream-muxer": "^4.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^2.0.1" }, "engines": { "node": ">=16.0.0", @@ -6824,12 +8967,46 @@ "npm": ">=7.0.0" } }, + "node_modules/@waku/sdk/node_modules/@libp2p/peer-store": { + "version": "8.2.1", + "resolved": "https://registry.npmjs.org/@libp2p/peer-store/-/peer-store-8.2.1.tgz", + "integrity": "sha512-mr0GsZ7zucta3l5EblOGrBeVgdTVujRJ9WC+FmnYErQe023SRJevAZEv1WeMinMGVGL6CY+gmWw0oLpExu9AWg==", + "dependencies": { + "@libp2p/interface-libp2p": "^3.1.0", + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interface-peer-store": "^2.0.4", + "@libp2p/interfaces": "^3.2.0", + "@libp2p/logger": "^2.0.7", + "@libp2p/peer-collections": "^3.0.1", + "@libp2p/peer-id": "^2.0.0", + "@libp2p/peer-id-factory": "^2.0.0", + "@libp2p/peer-record": "^5.0.3", + "@multiformats/multiaddr": "^12.0.0", + "interface-datastore": "^8.0.0", + "it-all": "^3.0.2", + "mortice": "^3.0.1", + "multiformats": "^11.0.0", + "protons-runtime": "^5.0.0", + "uint8arraylist": "^2.1.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/sdk/node_modules/@multiformats/mafmt": { + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@multiformats/mafmt/-/mafmt-12.1.5.tgz", + "integrity": "sha512-hz8CreKgs99pNIfea5/BHTPY90nrVLDHgGNrrHPCe51pkO+OM95PiF43q7ivIlytU++asOxcp+FhZymIwYy6LA==", + "dependencies": { + "@multiformats/multiaddr": "^12.0.0" + } + }, "node_modules/@waku/sdk/node_modules/@multiformats/multiaddr": { "version": "12.1.3", "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", - "optional": true, - "peer": true, "dependencies": { "@chainsafe/is-ip": "^2.0.1", "@chainsafe/netmask": "^2.0.0", @@ -6845,14 +9022,14 @@ } }, "node_modules/@waku/sdk/node_modules/@waku/core": { - "version": "0.0.20", - "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.20.tgz", - "integrity": "sha512-1p8TmOvbGhUQZHKE+w1FQtmp+EDTNQEsSgrsMoSjzGVdI+XuQQ/l2aefwOuBQHIHh99+VZBQ9ut+ArstFHks/A==", + "version": "0.0.21", + "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.21.tgz", + "integrity": "sha512-o42TIfOWNcO6PMYUkfJcNpDQ1xrO3ZOSDcuLWwsNd2yVTRp2f5hVcvf6XX9pM+uRhEj6RqS06SB4PKCmLqshfw==", "dependencies": { "@noble/hashes": "^1.3.0", - "@waku/interfaces": "0.0.15", + "@waku/interfaces": "0.0.16", "@waku/proto": "0.0.5", - "@waku/utils": "0.0.8", + "@waku/utils": "0.0.9", "debug": "^4.3.4", "it-all": "^3.0.2", "it-length-prefixed": "^9.0.1", @@ -6866,7 +9043,7 @@ }, "peerDependencies": { "@multiformats/multiaddr": "^12.0.0", - "libp2p": "^0.42.2" + "libp2p": "^0.45.9" }, "peerDependenciesMeta": { "@multiformats/multiaddr": { @@ -6874,7 +9051,137 @@ } } }, - "node_modules/@waku/sdk/node_modules/@waku/core/node_modules/it-length-prefixed": { + "node_modules/@waku/sdk/node_modules/@waku/relay": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/@waku/relay/-/relay-0.0.4.tgz", + "integrity": "sha512-njNL5VagqsXj0yq5XWCtPX6cbfzOTLUzLSltob/tSlPNXQCLMnEKHXfHaoYxTIRaq7gZVr2ZnpIkkt0SCw5pMw==", + "dependencies": { + "@chainsafe/libp2p-gossipsub": "^9.1.0", + "@noble/hashes": "^1.3.0", + "@waku/core": "0.0.21", + "@waku/interfaces": "0.0.16", + "@waku/proto": "0.0.5", + "@waku/utils": "0.0.9", + "chai": "^4.3.7", + "debug": "^4.3.4", + "fast-check": "^3.8.1" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@waku/sdk/node_modules/@waku/utils": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.9.tgz", + "integrity": "sha512-afXcqgjy0honWW0qOM/EHMFEm1tQxyzIyZUSo6eAUysACy3/kSkZxHJeKDFjwKWaVW46dZo0dQQ6734xKMU5LA==", + "dependencies": { + "debug": "^4.3.4", + "uint8arrays": "^4.0.4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@waku/sdk/node_modules/abortable-iterator": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/abortable-iterator/-/abortable-iterator-5.0.1.tgz", + "integrity": "sha512-hlZ5Z8UwqrKsJcelVPEqDduZowJPBQJ9ZhBC2FXpja3lXy8X6MoI5uMzIgmrA8+3jcVnp8TF/tx+IBBqYJNUrg==", + "dependencies": { + "get-iterator": "^2.0.0", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/sdk/node_modules/any-signal": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/any-signal/-/any-signal-4.1.1.tgz", + "integrity": "sha512-iADenERppdC+A2YKbOXXB2WUeABLaM6qnpZ70kZbPZ1cZMMJ7eF+3CaYm+/PhBizgkzlvssC7QuHS30oOiQYWA==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/sdk/node_modules/datastore-core": { + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/datastore-core/-/datastore-core-9.2.0.tgz", + "integrity": "sha512-r3HZCdRTPXbHsiakhbYCtdGix9/a0G7huwYa9Ive+pIN7BjkdcLQseQ+iCMsECcocwHu23rs2qzdHKSflbVSng==", + "dependencies": { + "@libp2p/logger": "^2.0.0", + "err-code": "^3.0.1", + "interface-store": "^5.0.0", + "it-all": "^3.0.1", + "it-drain": "^3.0.1", + "it-filter": "^3.0.0", + "it-map": "^3.0.1", + "it-merge": "^3.0.0", + "it-pipe": "^3.0.0", + "it-pushable": "^3.0.0", + "it-sort": "^3.0.1", + "it-take": "^3.0.1", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/sdk/node_modules/interface-datastore": { + "version": "8.2.3", + "resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-8.2.3.tgz", + "integrity": "sha512-5U6BfK7cR4oSngm4pqYZBBAX7tpLI4YCOa3Ifz/EJEaEV2mmlloH5qP8ADWCVFk6vP1MPT925JJkt3kFIi7iWQ==", + "dependencies": { + "interface-store": "^5.0.0", + "nanoid": "^4.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/sdk/node_modules/interface-store": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/interface-store/-/interface-store-5.1.2.tgz", + "integrity": "sha512-q2sLoqC+UdaWnjwGyghsH0jwqqVk226lsG207e3QwPB8sAZYmYIWUnJwJH3JjFNNRV9e6CUTmm+gDO0Xg4KRiw==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/sdk/node_modules/it-drain": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/it-drain/-/it-drain-3.0.2.tgz", + "integrity": "sha512-0hJvS/4Ktt9wT/bktmovjjMAY8r6FCsXqpL3zjqBBNwoL21VgQfguEnwbLSGuCip9Zq1vfU43cbHkmaRZdBfOg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/sdk/node_modules/it-filter": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/it-filter/-/it-filter-3.0.2.tgz", + "integrity": "sha512-Hhzp5anX7tmKOBqTPasBYTPlq7l4Xk4lMBfLB5GfKZnL9WCc6pr8M9Waud4nHh3s9neb4xwDWk7KQsEapgWyJw==", + "dependencies": { + "it-peekable": "^3.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/sdk/node_modules/it-first": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/it-first/-/it-first-3.0.2.tgz", + "integrity": "sha512-QPLAM2BOkait/o6W25HvP0XTEv+Os3Ce4wET//ADNaPv+WYAHWfQwJuMu5FB8X066hA1F7LEMnULvTpE7/4yQw==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/sdk/node_modules/it-length-prefixed": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", "integrity": "sha512-ZBD8ZFLERj8d1q9CeBtk0eJ4EpeI3qwnkmWtemBSm3ZI2dM8PUweNVk5haZ2vw3EIq2uYQiabV9YwNm6EASM4A==", @@ -6890,7 +9197,19 @@ "npm": ">=7.0.0" } }, - "node_modules/@waku/sdk/node_modules/@waku/core/node_modules/it-merge": { + "node_modules/@waku/sdk/node_modules/it-map": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/it-map/-/it-map-3.0.3.tgz", + "integrity": "sha512-Yf89GJYeYUZb2NZzWkvFHm3IBXlxro74i2vGRmpf8BYau3BhlaS37ieDenJEdYzkTGJhL/EbM1jPPw/KGVVVIw==", + "dependencies": { + "it-peekable": "^3.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/sdk/node_modules/it-merge": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.1.tgz", "integrity": "sha512-I6hjU1ABO+k3xY1H6JtCSDXvUME88pxIXSgKeT4WI5rPYbQzpr98ldacVuG95WbjaJxKl6Qot6lUdxduLBQPHA==", @@ -6902,7 +9221,7 @@ "npm": ">=7.0.0" } }, - "node_modules/@waku/sdk/node_modules/@waku/core/node_modules/it-pipe": { + "node_modules/@waku/sdk/node_modules/it-pipe": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/it-pipe/-/it-pipe-3.0.1.tgz", "integrity": "sha512-sIoNrQl1qSRg2seYSBH/3QxWhJFn9PKYvOf/bHdtCBF0bnghey44VyASsWzn5dAx0DCDDABq1hZIuzKmtBZmKA==", @@ -6916,7 +9235,19 @@ "npm": ">=7.0.0" } }, - "node_modules/@waku/sdk/node_modules/@waku/core/node_modules/it-stream-types": { + "node_modules/@waku/sdk/node_modules/it-sort": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/it-sort/-/it-sort-3.0.2.tgz", + "integrity": "sha512-gRvHyXkn13hyXIoiGkvg7Mf1Yg8JUB+ArKjMrGCYfd/4MQ8mQlMCOE6H8itjshwdVEAUDrppb786zODndYyjSg==", + "dependencies": { + "it-all": "^3.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@waku/sdk/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", @@ -6925,58 +9256,99 @@ "npm": ">=7.0.0" } }, - "node_modules/@waku/sdk/node_modules/it-pb-stream": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/it-pb-stream/-/it-pb-stream-3.2.1.tgz", - "integrity": "sha512-vKE04Zv5MUcwxPNE9bIEfYK3rd/Klj5ORGD1D8Bn5f0mbCLGfouSrqZP1Jntg2osqQg4BN5dKKS2BbfwyGUI3Q==", - "dependencies": { - "err-code": "^3.0.1", - "it-length-prefixed": "^9.0.0", - "it-pushable": "^3.1.2", - "it-stream-types": "^1.0.4", - "protons-runtime": "^5.0.0", - "uint8-varint": "^1.0.6", - "uint8arraylist": "^2.0.0" - }, + "node_modules/@waku/sdk/node_modules/it-take": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/it-take/-/it-take-3.0.2.tgz", + "integrity": "sha512-HgtnQYW45iV+lOJIk54dhKWNi+puAeutUehIWQE9tRkM91nlCn0abbDU2xG/FZV3cVnEG4hGwxOEImnMMKwhmg==", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, - "node_modules/@waku/sdk/node_modules/it-pb-stream/node_modules/it-length-prefixed": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", - "integrity": "sha512-ZBD8ZFLERj8d1q9CeBtk0eJ4EpeI3qwnkmWtemBSm3ZI2dM8PUweNVk5haZ2vw3EIq2uYQiabV9YwNm6EASM4A==", + "node_modules/@waku/sdk/node_modules/libp2p": { + "version": "0.45.9", + "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-0.45.9.tgz", + "integrity": "sha512-cf2dCf8naZqQoDw3xxSEZ6rKgQ8BBne5iWgtIKHAYrCvL+ulshz72jNgeAG0FQ/jjRD3yzmUuwoMaLHj6gf7Bw==", "dependencies": { - "err-code": "^3.0.1", + "@achingbrain/nat-port-mapper": "^1.0.9", + "@libp2p/crypto": "^1.0.17", + "@libp2p/interface-address-manager": "^3.0.0", + "@libp2p/interface-connection": "^5.1.1", + "@libp2p/interface-connection-encrypter": "^4.0.0", + "@libp2p/interface-connection-gater": "^3.0.0", + "@libp2p/interface-connection-manager": "^3.0.0", + "@libp2p/interface-content-routing": "^2.1.0", + "@libp2p/interface-keychain": "^2.0.4", + "@libp2p/interface-libp2p": "^3.2.0", + "@libp2p/interface-metrics": "^4.0.0", + "@libp2p/interface-peer-discovery": "^2.0.0", + "@libp2p/interface-peer-id": "^2.0.1", + "@libp2p/interface-peer-info": "^1.0.3", + "@libp2p/interface-peer-routing": "^1.1.0", + "@libp2p/interface-peer-store": "^2.0.4", + "@libp2p/interface-pubsub": "^4.0.0", + "@libp2p/interface-record": "^2.0.6", + "@libp2p/interface-registrar": "^2.0.3", + "@libp2p/interface-stream-muxer": "^4.0.0", + "@libp2p/interface-transport": "^4.0.0", + "@libp2p/interfaces": "^3.2.0", + "@libp2p/keychain": "^2.0.0", + "@libp2p/logger": "^2.1.1", + "@libp2p/multistream-select": "^3.1.8", + "@libp2p/peer-collections": "^3.0.0", + "@libp2p/peer-id": "^2.0.0", + "@libp2p/peer-id-factory": "^2.0.0", + "@libp2p/peer-record": "^5.0.0", + "@libp2p/peer-store": "^8.2.0", + "@libp2p/topology": "^4.0.1", + "@libp2p/tracked-map": "^3.0.0", + "@libp2p/utils": "^3.0.10", + "@multiformats/mafmt": "^12.0.0", + "@multiformats/multiaddr": "^12.0.0", + "abortable-iterator": "^5.0.1", + "any-signal": "^4.1.1", + "datastore-core": "^9.0.0", + "interface-datastore": "^8.0.0", + "it-all": "^3.0.1", + "it-drain": "^3.0.1", + "it-filter": "^3.0.1", + "it-first": "^3.0.1", + "it-handshake": "^4.1.3", + "it-length-prefixed": "^9.0.1", + "it-map": "^3.0.2", + "it-merge": "^3.0.0", + "it-pair": "^2.0.2", + "it-parallel": "^3.0.0", + "it-pb-stream": "^4.0.1", + "it-pipe": "^3.0.1", "it-stream-types": "^2.0.1", - "uint8-varint": "^1.0.1", - "uint8arraylist": "^2.0.0", - "uint8arrays": "^4.0.2" + "merge-options": "^3.0.4", + "multiformats": "^11.0.0", + "p-defer": "^4.0.0", + "p-queue": "^7.3.4", + "p-retry": "^5.0.0", + "private-ip": "^3.0.0", + "protons-runtime": "^5.0.0", + "rate-limiter-flexible": "^2.3.11", + "uint8arraylist": "^2.3.2", + "uint8arrays": "^4.0.2", + "wherearewe": "^2.0.0", + "xsalsa20": "^1.1.0" }, "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, - "node_modules/@waku/sdk/node_modules/it-pb-stream/node_modules/it-length-prefixed/node_modules/it-stream-types": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", - "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@waku/sdk/node_modules/long": { "version": "5.2.3", "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" }, "node_modules/@waku/sdk/node_modules/protobufjs": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.3.tgz", - "integrity": "sha512-TtpvOqwB5Gdz/PQmOjgsrGH1nHjAQVCN7JG4A6r1sXRWESL5rNMAiRcBQlCAdKxZcAbstExQePYG8xof/JVRgg==", + "version": "7.2.4", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.4.tgz", + "integrity": "sha512-AT+RJgD2sH8phPmCf7OUZR8xGdcJRga4+1cOaXJ64hvcSkVhNcRHOwIxUatPH15+nj59WAGTDv3LSGZPEQbJaQ==", "hasInstallScript": true, "dependencies": { "@protobufjs/aspromise": "^1.1.2", @@ -6997,17 +9369,13 @@ } }, "node_modules/@waku/sdk/node_modules/protons-runtime": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.0.0.tgz", - "integrity": "sha512-QqjGnPGkpvbzq0dITzhG9DVK10rRIHf7nePcU2QQVVpFGuYbwrOWnvGSvei1GcceAzB9syTz6vHzvTPmGRR0PA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.0.1.tgz", + "integrity": "sha512-AwyAA3pQ4Ka4tEBMdIjLi/cRdpb322f7sgv3NruVq9yguLggzwu5eeLe1HuRPFYlI4UsVN/QK/AQXjLPVLCzTA==", "dependencies": { "protobufjs": "^7.0.0", "uint8arraylist": "^2.4.3" }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - }, "peerDependencies": { "uint8arraylist": "^2.3.2" } @@ -13515,11 +15883,10 @@ } }, "node_modules/it-batched-bytes": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/it-batched-bytes/-/it-batched-bytes-1.0.0.tgz", - "integrity": "sha512-OfztV9UHQmoZ6u5F4y+YOI1Z+5JAhkv3Gexc1a0B7ikcVXc3PFSKlEnHv79u+Yp/h23o3tsF9hHAhuqgHCYT2Q==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/it-batched-bytes/-/it-batched-bytes-2.0.3.tgz", + "integrity": "sha512-vUhr1K6NerlrSbSKpBGW9bDd3s64GPUQePWUzoUF0zkYw2ufFpCXEYCZAtJMP45n6BJNChWDYTYwxAZvQG0b0g==", "dependencies": { - "it-stream-types": "^1.0.4", "p-defer": "^4.0.0", "uint8arraylist": "^2.4.1" }, @@ -13565,13 +15932,13 @@ } }, "node_modules/it-handshake": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/it-handshake/-/it-handshake-4.1.2.tgz", - "integrity": "sha512-Q/EvrB4KWIX5+/wO7edBK3l79Vh28+iWPGZvZSSqwAtOJnHZIvywC+JUbiXPRJVXfICBJRqFETtIJcvrqWL2Zw==", + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/it-handshake/-/it-handshake-4.1.3.tgz", + "integrity": "sha512-V6Lt9A9usox9iduOX+edU1Vo94E6v9Lt9dOvg3ubFaw1qf5NCxXLi93Ao4fyCHWDYd8Y+DUhadwNtWVyn7qqLg==", "dependencies": { "it-pushable": "^3.1.0", "it-reader": "^6.0.1", - "it-stream-types": "^1.0.4", + "it-stream-types": "^2.0.1", "p-defer": "^4.0.0", "uint8arraylist": "^2.0.0" }, @@ -13580,6 +15947,15 @@ "npm": ">=7.0.0" } }, + "node_modules/it-handshake/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/it-length-prefixed": { "version": "8.0.4", "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-8.0.4.tgz", @@ -13630,6 +16006,110 @@ "npm": ">=7.0.0" } }, + "node_modules/it-parallel": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/it-parallel/-/it-parallel-3.0.3.tgz", + "integrity": "sha512-Q5KmdvERHCOLDcgKqrzQ+yiMCdG6H9h7ZL3Zjx/Tx9xhZy8txSKoy+EiCgWZFs0rfYvxJhk6UkOpKLzJ1zM9ZA==", + "dependencies": { + "p-defer": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/it-pb-stream": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/it-pb-stream/-/it-pb-stream-4.0.2.tgz", + "integrity": "sha512-wZ4Bvx2MfwamZTeyFQdX1SnD97hqdhpnaQwmbHqX4eT0pNWFPZ0mkKXbUkhLw2M0UNQNkEGN4wxljMod95c/ig==", + "dependencies": { + "err-code": "^3.0.1", + "it-length-prefixed": "^9.0.0", + "it-pushable": "^3.1.2", + "it-stream-types": "^2.0.1", + "protons-runtime": "^5.0.0", + "uint8-varint": "^1.0.6", + "uint8arraylist": "^2.0.0" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/it-pb-stream/node_modules/it-length-prefixed": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", + "integrity": "sha512-ZBD8ZFLERj8d1q9CeBtk0eJ4EpeI3qwnkmWtemBSm3ZI2dM8PUweNVk5haZ2vw3EIq2uYQiabV9YwNm6EASM4A==", + "dependencies": { + "err-code": "^3.0.1", + "it-stream-types": "^2.0.1", + "uint8-varint": "^1.0.1", + "uint8arraylist": "^2.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/it-pb-stream/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/it-pb-stream/node_modules/long": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", + "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" + }, + "node_modules/it-pb-stream/node_modules/protobufjs": { + "version": "7.2.4", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.4.tgz", + "integrity": "sha512-AT+RJgD2sH8phPmCf7OUZR8xGdcJRga4+1cOaXJ64hvcSkVhNcRHOwIxUatPH15+nj59WAGTDv3LSGZPEQbJaQ==", + "hasInstallScript": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/it-pb-stream/node_modules/protons-runtime": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.0.1.tgz", + "integrity": "sha512-AwyAA3pQ4Ka4tEBMdIjLi/cRdpb322f7sgv3NruVq9yguLggzwu5eeLe1HuRPFYlI4UsVN/QK/AQXjLPVLCzTA==", + "dependencies": { + "protobufjs": "^7.0.0", + "uint8arraylist": "^2.4.3" + }, + "peerDependencies": { + "uint8arraylist": "^2.3.2" + } + }, + "node_modules/it-peekable": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/it-peekable/-/it-peekable-3.0.1.tgz", + "integrity": "sha512-5zBfkf6e+YoxxWV0YDXMwdQKnc7eeTX6xo3WYPm/8dIoctIiDnddInRWOW+83W/8/76sbnpWqqsO4gSyXandeQ==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/it-pipe": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/it-pipe/-/it-pipe-2.0.5.tgz", @@ -13706,13 +16186,13 @@ } }, "node_modules/it-ws": { - "version": "5.0.6", - "resolved": "https://registry.npmjs.org/it-ws/-/it-ws-5.0.6.tgz", - "integrity": "sha512-TEEJQaGtkxgP/nGVq8dq48nPT85Afu8kwwvtDFLj4rQLWRhZcb26RWdXLdn9qhXkWPiWbK5H7JWBW1Bebj/SuQ==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/it-ws/-/it-ws-6.0.1.tgz", + "integrity": "sha512-tWsIEN/hYlBGgvikP3B/afBBR0nZesw6mwQjyeBfpOK69mKYNMOqWn/OxurQaK3TLhxTmbAoy/yLX6jYEqcQVw==", "dependencies": { "event-iterator": "^2.0.0", "iso-url": "^1.1.2", - "it-stream-types": "^1.0.2", + "it-stream-types": "^2.0.1", "uint8arrays": "^4.0.2", "ws": "^8.4.0" }, @@ -13721,6 +16201,15 @@ "npm": ">=7.0.0" } }, + "node_modules/it-ws/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/jake": { "version": "10.8.5", "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.5.tgz", @@ -15782,9 +18271,9 @@ } }, "node_modules/multiformats": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.1.tgz", - "integrity": "sha512-atWruyH34YiknSdL5yeIir00EDlJRpHzELYQxG7Iy29eCyL+VrZHpPrX5yqlik3jnuqpLpRKVZ0SGVb9UzKaSA==", + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" @@ -21283,15 +23772,11 @@ } }, "node_modules/uint8arrays": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.3.tgz", - "integrity": "sha512-b+aKlI2oTnxnfeSQWV1sMacqSNxqhtXySaH6bflvONGxF8V/fT3ZlYH7z2qgGfydsvpVo4JUgM/Ylyfl2YouCg==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.4.tgz", + "integrity": "sha512-AOoA66e/A7zoXm1mgzQjGmkWDTvCrS3ttWXLHFtlVAwMobLcaOA7G7WRNNAcyfjjYdFDtkEK6njRDX7hZLIO9Q==", "dependencies": { "multiformats": "^11.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" } }, "node_modules/unbox-primitive": { diff --git a/examples/web-chat/package.json b/examples/web-chat/package.json index ceab162..2cfc546 100644 --- a/examples/web-chat/package.json +++ b/examples/web-chat/package.json @@ -8,10 +8,10 @@ "@livechat/ui-kit": "^0.5.0-24", "@multiformats/multiaddr": "11.0.7", "@waku/react": "^0.0.2", - "@waku/sdk": "^0.0.16", - "@waku/dns-discovery": "^0.0.14", - "@waku/interfaces": "^0.0.15", - "@waku/peer-exchange": "^0.0.13", + "@waku/sdk": "^0.0.17", + "@waku/dns-discovery": "^0.0.15", + "@waku/interfaces": "^0.0.16", + "@waku/peer-exchange": "^0.0.14", "process": "^0.11.10", "protons-runtime": "^3.1.0", "react": "^17.0.2", From 6bd51cefcb04482042279c99540f4acf76e75b98 Mon Sep 17 00:00:00 2001 From: danisharora099 Date: Tue, 1 Aug 2023 17:27:38 +0530 Subject: [PATCH 02/12] upgrade deps --- examples/web-chat/package-lock.json | 3609 +++++---------------------- examples/web-chat/package.json | 4 +- 2 files changed, 671 insertions(+), 2942 deletions(-) diff --git a/examples/web-chat/package-lock.json b/examples/web-chat/package-lock.json index 8689f75..8009abf 100644 --- a/examples/web-chat/package-lock.json +++ b/examples/web-chat/package-lock.json @@ -8,13 +8,13 @@ "name": "web-chat", "version": "0.1.0", "dependencies": { - "@libp2p/bootstrap": "^5.0.0", + "@libp2p/bootstrap": "^8.0.0", "@livechat/ui-kit": "^0.5.0-24", "@multiformats/multiaddr": "11.0.7", "@waku/dns-discovery": "^0.0.15", "@waku/interfaces": "^0.0.16", "@waku/peer-exchange": "^0.0.14", - "@waku/react": "^0.0.2", + "@waku/react": "^0.0.3-7aeb24a", "@waku/sdk": "^0.0.17", "process": "^0.11.10", "protons-runtime": "^3.1.0", @@ -69,15 +69,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@achingbrain/nat-port-mapper/node_modules/it-first": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/it-first/-/it-first-3.0.2.tgz", - "integrity": "sha512-QPLAM2BOkait/o6W25HvP0XTEv+Os3Ce4wET//ADNaPv+WYAHWfQwJuMu5FB8X066hA1F7LEMnULvTpE7/4yQw==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@achingbrain/nat-port-mapper/node_modules/xml2js": { "version": "0.6.2", "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", @@ -2208,66 +2199,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@chainsafe/libp2p-gossipsub/node_modules/@libp2p/interface-connection-manager": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-manager/-/interface-connection-manager-3.0.1.tgz", - "integrity": "sha512-7ZAvzOWfHs3BtaoZoWsT+Ks1bo6HjyRMq1SJdFWDJ+ZkYEzrf6sdtQwsX8eXhwRDO6PuzpUDqLZ9TNQ2GVKEEw==", - "dependencies": { - "@libp2p/interface-connection": "^5.0.0", - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.0.0", - "@libp2p/peer-collections": "^3.0.1", - "@multiformats/multiaddr": "^12.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@chainsafe/libp2p-gossipsub/node_modules/@libp2p/interface-peer-store": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-store/-/interface-peer-store-2.0.4.tgz", - "integrity": "sha512-jNvBK3O1JPJqSiDN2vkb+PV8bTPnYdP54nxsLtut1BWukNm610lwzwleV7CetFI4bJCn6g+BgBvvq8fdADy0tA==", - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@multiformats/multiaddr": "^12.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@chainsafe/libp2p-gossipsub/node_modules/@libp2p/interface-pubsub": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-pubsub/-/interface-pubsub-4.0.1.tgz", - "integrity": "sha512-PIc5V/J98Yr1ZTHh8lQshP7GdVUh+pKNIqj6wGaDmXs8oQLB40qKCjcpHQNlAnv2e1Bh9mEH2GXv5sGZOA651A==", - "dependencies": { - "@libp2p/interface-connection": "^5.0.0", - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.0.0", - "it-pushable": "^3.1.3", - "uint8arraylist": "^2.4.3" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@chainsafe/libp2p-gossipsub/node_modules/@libp2p/peer-id": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", - "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.2.0", - "multiformats": "^11.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@chainsafe/libp2p-gossipsub/node_modules/@multiformats/multiaddr": { "version": "12.1.3", "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", @@ -2286,61 +2217,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@chainsafe/libp2p-gossipsub/node_modules/abortable-iterator": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/abortable-iterator/-/abortable-iterator-5.0.1.tgz", - "integrity": "sha512-hlZ5Z8UwqrKsJcelVPEqDduZowJPBQJ9ZhBC2FXpja3lXy8X6MoI5uMzIgmrA8+3jcVnp8TF/tx+IBBqYJNUrg==", - "dependencies": { - "get-iterator": "^2.0.0", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@chainsafe/libp2p-gossipsub/node_modules/it-length-prefixed": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", - "integrity": "sha512-ZBD8ZFLERj8d1q9CeBtk0eJ4EpeI3qwnkmWtemBSm3ZI2dM8PUweNVk5haZ2vw3EIq2uYQiabV9YwNm6EASM4A==", - "dependencies": { - "err-code": "^3.0.1", - "it-stream-types": "^2.0.1", - "uint8-varint": "^1.0.1", - "uint8arraylist": "^2.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@chainsafe/libp2p-gossipsub/node_modules/it-merge": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.1.tgz", - "integrity": "sha512-I6hjU1ABO+k3xY1H6JtCSDXvUME88pxIXSgKeT4WI5rPYbQzpr98ldacVuG95WbjaJxKl6Qot6lUdxduLBQPHA==", - "dependencies": { - "it-pushable": "^3.1.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@chainsafe/libp2p-gossipsub/node_modules/it-pipe": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/it-pipe/-/it-pipe-3.0.1.tgz", - "integrity": "sha512-sIoNrQl1qSRg2seYSBH/3QxWhJFn9PKYvOf/bHdtCBF0bnghey44VyASsWzn5dAx0DCDDABq1hZIuzKmtBZmKA==", - "dependencies": { - "it-merge": "^3.0.0", - "it-pushable": "^3.1.2", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@chainsafe/libp2p-gossipsub/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", @@ -2379,76 +2255,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@chainsafe/libp2p-noise/node_modules/@libp2p/interface-connection-encrypter": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-encrypter/-/interface-connection-encrypter-4.0.1.tgz", - "integrity": "sha512-fOtZpaFL2f5vID/RaBpVMAR9OKx5DmDT/yMEFTCarNc6Bb37fWwClI4WNCtoVbDQwcnr4H4ZIo0+9yCxjEIjjQ==", - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@chainsafe/libp2p-noise/node_modules/@libp2p/peer-id": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", - "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.2.0", - "multiformats": "^11.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@chainsafe/libp2p-noise/node_modules/it-length-prefixed": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", - "integrity": "sha512-ZBD8ZFLERj8d1q9CeBtk0eJ4EpeI3qwnkmWtemBSm3ZI2dM8PUweNVk5haZ2vw3EIq2uYQiabV9YwNm6EASM4A==", - "dependencies": { - "err-code": "^3.0.1", - "it-stream-types": "^2.0.1", - "uint8-varint": "^1.0.1", - "uint8arraylist": "^2.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@chainsafe/libp2p-noise/node_modules/it-merge": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.1.tgz", - "integrity": "sha512-I6hjU1ABO+k3xY1H6JtCSDXvUME88pxIXSgKeT4WI5rPYbQzpr98ldacVuG95WbjaJxKl6Qot6lUdxduLBQPHA==", - "dependencies": { - "it-pushable": "^3.1.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@chainsafe/libp2p-noise/node_modules/it-pipe": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/it-pipe/-/it-pipe-3.0.1.tgz", - "integrity": "sha512-sIoNrQl1qSRg2seYSBH/3QxWhJFn9PKYvOf/bHdtCBF0bnghey44VyASsWzn5dAx0DCDDABq1hZIuzKmtBZmKA==", - "dependencies": { - "it-merge": "^3.0.0", - "it-pushable": "^3.1.2", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@chainsafe/libp2p-noise/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", @@ -3955,24 +3761,51 @@ "integrity": "sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A==" }, "node_modules/@libp2p/bootstrap": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@libp2p/bootstrap/-/bootstrap-5.0.2.tgz", - "integrity": "sha512-AOr/uCjHpkfVWFylYXn7KRa1oIGmyZpadoMUr09nAEG0S3ejTda3TMFu90SXApMDnfSsaWyrnsfxNlH8HbfdSg==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/bootstrap/-/bootstrap-8.0.0.tgz", + "integrity": "sha512-xbaJ+ybx1FGsi8FeGl9g1Wk6P2zf5/Thdk9Fe1qXV0O0xIW0xRWrefOYG5Dvt+BV54C/zlnQ4CG+Xs+Rr7wsbA==", "dependencies": { - "@libp2p/interface-peer-discovery": "^1.0.1", - "@libp2p/interface-peer-info": "^1.0.3", - "@libp2p/interface-peer-store": "^1.2.2", + "@libp2p/interface-peer-discovery": "^2.0.0", + "@libp2p/interface-peer-info": "^1.0.7", + "@libp2p/interface-peer-store": "^2.0.0", "@libp2p/interfaces": "^3.0.3", "@libp2p/logger": "^2.0.1", - "@libp2p/peer-id": "^1.1.15", - "@multiformats/mafmt": "^11.0.3", - "@multiformats/multiaddr": "^11.0.0" + "@libp2p/peer-id": "^2.0.0", + "@multiformats/mafmt": "^12.0.0", + "@multiformats/multiaddr": "^12.0.0" }, "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, + "node_modules/@libp2p/bootstrap/node_modules/@multiformats/multiaddr": { + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", + "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", + "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": "^12.0.1", + "uint8arrays": "^4.0.2", + "varint": "^6.0.0" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "node_modules/@libp2p/bootstrap/node_modules/multiformats": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", + "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@libp2p/crypto": { "version": "1.0.17", "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-1.0.17.tgz", @@ -4038,18 +3871,44 @@ } }, "node_modules/@libp2p/interface-address-manager": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/interface-address-manager/-/interface-address-manager-2.0.4.tgz", - "integrity": "sha512-RcSi+z+xpVKJXq3BsfLf2rq8zb8VTAFown6uJBu02towMc0enYqqhwlV9DxcCaC573MgQ7gY2s/3XvxQdFraVA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-address-manager/-/interface-address-manager-3.0.1.tgz", + "integrity": "sha512-8N1nfOtZ/CnZ/cL0Bnj59fhcSs7orI4evmNVsv2DM1VaNHXqc9tPy8JmQE2HRjrUXeUPwtzzG2eoP7l0ZYdC0g==", "dependencies": { - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^11.0.0" + "@multiformats/multiaddr": "^12.0.0" }, "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, + "node_modules/@libp2p/interface-address-manager/node_modules/@multiformats/multiaddr": { + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", + "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", + "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": "^12.0.1", + "uint8arrays": "^4.0.2", + "varint": "^6.0.0" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "node_modules/@libp2p/interface-address-manager/node_modules/multiformats": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", + "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@libp2p/interface-connection": { "version": "3.0.8", "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-3.0.8.tgz", @@ -4067,19 +3926,27 @@ } }, "node_modules/@libp2p/interface-connection-encrypter": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-encrypter/-/interface-connection-encrypter-3.0.6.tgz", - "integrity": "sha512-LwyYBN/aSa3IPCe7gBxffx/vaC0rFxAXlCbx4QGaWGtg6qK80Ouj89LEDWb3HkMbecNVWaV4TEqJIM5WnAAx1Q==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-encrypter/-/interface-connection-encrypter-4.0.1.tgz", + "integrity": "sha512-fOtZpaFL2f5vID/RaBpVMAR9OKx5DmDT/yMEFTCarNc6Bb37fWwClI4WNCtoVbDQwcnr4H4ZIo0+9yCxjEIjjQ==", "dependencies": { "@libp2p/interface-peer-id": "^2.0.0", - "it-stream-types": "^1.0.4", - "uint8arraylist": "^2.1.2" + "it-stream-types": "^2.0.1" }, "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, + "node_modules/@libp2p/interface-connection-encrypter/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@libp2p/interface-connection-gater": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-gater/-/interface-connection-gater-3.0.1.tgz", @@ -4138,20 +4005,73 @@ } }, "node_modules/@libp2p/interface-connection-manager": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-manager/-/interface-connection-manager-1.3.7.tgz", - "integrity": "sha512-GyRa7FXtwjbch4ucFa/jj6vcaQT2RyhUbH3q0tIOTzjntABTMzQrhn3BWOGU5deRp2K7cVOB/OzrdhHdGUxYQA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-manager/-/interface-connection-manager-3.0.1.tgz", + "integrity": "sha512-7ZAvzOWfHs3BtaoZoWsT+Ks1bo6HjyRMq1SJdFWDJ+ZkYEzrf6sdtQwsX8eXhwRDO6PuzpUDqLZ9TNQ2GVKEEw==", "dependencies": { - "@libp2p/interface-connection": "^3.0.0", + "@libp2p/interface-connection": "^5.0.0", "@libp2p/interface-peer-id": "^2.0.0", "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^11.0.0" + "@libp2p/peer-collections": "^3.0.1", + "@multiformats/multiaddr": "^12.0.0" }, "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, + "node_modules/@libp2p/interface-connection-manager/node_modules/@libp2p/interface-connection": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-5.1.1.tgz", + "integrity": "sha512-ytknMbuuNW72LYMmTP7wFGP5ZTaUSGBCmV9f+uQ55XPcFHtKXLtKWVU/HE8IqPmwtyU8AO7veGoJ/qStMHNRVA==", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^2.0.1", + "uint8arraylist": "^2.4.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/interface-connection-manager/node_modules/@multiformats/multiaddr": { + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", + "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", + "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": "^12.0.1", + "uint8arrays": "^4.0.2", + "varint": "^6.0.0" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "node_modules/@libp2p/interface-connection-manager/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/interface-connection-manager/node_modules/multiformats": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", + "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@libp2p/interface-content-routing": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/@libp2p/interface-content-routing/-/interface-content-routing-2.1.1.tgz", @@ -4166,35 +4086,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-dht": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@libp2p/interface-dht/-/interface-dht-2.0.3.tgz", - "integrity": "sha512-JAKbHvw3egaSeB7CHOf6PF/dLNim4kzAiXX+0IEz2lln8L32/Xf1T7KNOF/RSbSYqO9b7Xxc/b2fuSfyaMwwMQ==", - "dependencies": { - "@libp2p/interface-peer-discovery": "^2.0.0", - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interface-peer-info": "^1.0.0", - "@libp2p/interfaces": "^3.0.0", - "multiformats": "^11.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/interface-dht/node_modules/@libp2p/interface-peer-discovery": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-discovery/-/interface-peer-discovery-2.0.0.tgz", - "integrity": "sha512-Mien5t3Tc+ntP5p50acKUYJN90ouMnq1lOTQDKQNvGcXoajG8A1AEYLocnzVia/MXiexuj6S/Q28WBBacoOlBg==", - "dependencies": { - "@libp2p/interface-peer-info": "^1.0.0", - "@libp2p/interfaces": "^3.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/interface-keychain": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/@libp2p/interface-keychain/-/interface-keychain-2.0.5.tgz", @@ -4218,21 +4109,20 @@ } }, "node_modules/@libp2p/interface-libp2p": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@libp2p/interface-libp2p/-/interface-libp2p-1.3.3.tgz", - "integrity": "sha512-7kEoIlAGTIiUNJ/4vIFWx+j+iN4aco7O2PqH6ES3dTvX6sgvYxYFi83p1G/RDj8tHKO7jLfG3UmiwJc/Ab0VyA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface-libp2p/-/interface-libp2p-3.2.0.tgz", + "integrity": "sha512-Vow6xNdjpQ0M/Kt3EDz1qE/Os5OZUyhFt0YTPU5Fp3/kXw/6ocsxYq/Bzird/96gjUjU5/i+Vukn4WgctJf55Q==", "dependencies": { "@libp2p/interface-connection": "^5.0.0", "@libp2p/interface-content-routing": "^2.0.0", - "@libp2p/interface-dht": "^2.0.0", "@libp2p/interface-keychain": "^2.0.0", "@libp2p/interface-metrics": "^4.0.0", "@libp2p/interface-peer-id": "^2.0.0", "@libp2p/interface-peer-info": "^1.0.0", "@libp2p/interface-peer-routing": "^1.0.0", - "@libp2p/interface-peer-store": "^1.0.0", - "@libp2p/interface-pubsub": "^4.0.0", + "@libp2p/interface-peer-store": "^2.0.0", "@libp2p/interface-registrar": "^2.0.0", + "@libp2p/interface-transport": "^4.0.0", "@libp2p/interfaces": "^3.0.0", "@multiformats/multiaddr": "^12.0.0" }, @@ -4257,38 +4147,22 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-libp2p/node_modules/@libp2p/interface-pubsub": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-pubsub/-/interface-pubsub-4.0.1.tgz", - "integrity": "sha512-PIc5V/J98Yr1ZTHh8lQshP7GdVUh+pKNIqj6wGaDmXs8oQLB40qKCjcpHQNlAnv2e1Bh9mEH2GXv5sGZOA651A==", - "dependencies": { - "@libp2p/interface-connection": "^5.0.0", - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.0.0", - "it-pushable": "^3.1.3", - "uint8arraylist": "^2.4.3" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/interface-libp2p/node_modules/@multiformats/multiaddr": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", - "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", + "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", "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", + "multiformats": "^12.0.1", "uint8arrays": "^4.0.2", "varint": "^6.0.0" }, "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" + "node": ">=18.0.0", + "npm": ">=8.6.0" } }, "node_modules/@libp2p/interface-libp2p/node_modules/it-stream-types": { @@ -4300,6 +4174,15 @@ "npm": ">=7.0.0" } }, + "node_modules/@libp2p/interface-libp2p/node_modules/multiformats": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", + "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@libp2p/interface-metrics": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/@libp2p/interface-metrics/-/interface-metrics-4.0.5.tgz", @@ -4313,9 +4196,9 @@ } }, "node_modules/@libp2p/interface-peer-discovery": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-discovery/-/interface-peer-discovery-1.0.5.tgz", - "integrity": "sha512-R0TN/vDaCJLvRhop0y4qoPqapHxX4AEQDEtqmpayAA1BuPgbBq4fS4mepR3FAMcNva/szeqVCDuI4gDejtCaVg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-discovery/-/interface-peer-discovery-2.0.0.tgz", + "integrity": "sha512-Mien5t3Tc+ntP5p50acKUYJN90ouMnq1lOTQDKQNvGcXoajG8A1AEYLocnzVia/MXiexuj6S/Q28WBBacoOlBg==", "dependencies": { "@libp2p/interface-peer-info": "^1.0.0", "@libp2p/interfaces": "^3.0.0" @@ -4365,37 +4248,113 @@ } }, "node_modules/@libp2p/interface-peer-store": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-store/-/interface-peer-store-1.2.8.tgz", - "integrity": "sha512-FM9VLmpg9CUBKZ2RW+J7RrQfQVMksLiC8oqENqHgb/VkPJY3kafbn7HIi0NcK6H/H5VcwBIhL15SUJk66O1K6g==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-store/-/interface-peer-store-2.0.4.tgz", + "integrity": "sha512-jNvBK3O1JPJqSiDN2vkb+PV8bTPnYdP54nxsLtut1BWukNm610lwzwleV7CetFI4bJCn6g+BgBvvq8fdADy0tA==", "dependencies": { "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interface-peer-info": "^1.0.0", - "@libp2p/interface-record": "^2.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^11.0.0" + "@multiformats/multiaddr": "^12.0.0" }, "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, - "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==", + "node_modules/@libp2p/interface-peer-store/node_modules/@multiformats/multiaddr": { + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", + "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", "dependencies": { - "@libp2p/interface-connection": "^3.0.0", + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interfaces": "^3.3.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8arrays": "^4.0.2", + "varint": "^6.0.0" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "node_modules/@libp2p/interface-peer-store/node_modules/multiformats": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", + "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/interface-pubsub": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-pubsub/-/interface-pubsub-4.0.1.tgz", + "integrity": "sha512-PIc5V/J98Yr1ZTHh8lQshP7GdVUh+pKNIqj6wGaDmXs8oQLB40qKCjcpHQNlAnv2e1Bh9mEH2GXv5sGZOA651A==", + "dependencies": { + "@libp2p/interface-connection": "^5.0.0", "@libp2p/interface-peer-id": "^2.0.0", "@libp2p/interfaces": "^3.0.0", - "it-pushable": "^3.0.0", - "uint8arraylist": "^2.1.2" + "it-pushable": "^3.1.3", + "uint8arraylist": "^2.4.3" }, "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, + "node_modules/@libp2p/interface-pubsub/node_modules/@libp2p/interface-connection": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-5.1.1.tgz", + "integrity": "sha512-ytknMbuuNW72LYMmTP7wFGP5ZTaUSGBCmV9f+uQ55XPcFHtKXLtKWVU/HE8IqPmwtyU8AO7veGoJ/qStMHNRVA==", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^2.0.1", + "uint8arraylist": "^2.4.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/interface-pubsub/node_modules/@multiformats/multiaddr": { + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", + "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", + "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": "^12.0.1", + "uint8arrays": "^4.0.2", + "varint": "^6.0.0" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "node_modules/@libp2p/interface-pubsub/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/interface-pubsub/node_modules/multiformats": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", + "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", + "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", @@ -4466,35 +4425,144 @@ } }, "node_modules/@libp2p/interface-stream-muxer": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-3.0.5.tgz", - "integrity": "sha512-815aJ+qVswNcTEOuOUTcB+7OLzAfROyjjqoWpK0bD0P/xqTHqOQcqdaDuK02zPuAZqYq9uR3+SoBasrCg6k3zw==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.1.2.tgz", + "integrity": "sha512-dQJcn67UaAa8YQFRJDhbo4uT453z/2lCzD/ZwTk1YOqJxATXbXgVcB8dXDQFEUiUX3ZjVQ1IBu+NlQd+IZ++zw==", "dependencies": { - "@libp2p/interface-connection": "^3.0.0", + "@libp2p/interface-connection": "^5.0.0", "@libp2p/interfaces": "^3.0.0", - "it-stream-types": "^1.0.4" + "@libp2p/logger": "^2.0.7", + "abortable-iterator": "^5.0.1", + "any-signal": "^4.1.1", + "it-pushable": "^3.1.3", + "it-stream-types": "^2.0.1", + "uint8arraylist": "^2.4.3" }, "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-transport": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-transport/-/interface-transport-2.1.1.tgz", - "integrity": "sha512-xDM/s8iPN/XfNqD9qNelibRMPKkhOLinXwQeNtoTZjarq+Cg6rtO6/5WBG/49hyI3+r+5jd2eykjPGQbb86NFQ==", + "node_modules/@libp2p/interface-stream-muxer/node_modules/@libp2p/interface-connection": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-5.1.1.tgz", + "integrity": "sha512-ytknMbuuNW72LYMmTP7wFGP5ZTaUSGBCmV9f+uQ55XPcFHtKXLtKWVU/HE8IqPmwtyU8AO7veGoJ/qStMHNRVA==", "dependencies": { - "@libp2p/interface-connection": "^3.0.0", - "@libp2p/interface-stream-muxer": "^3.0.0", + "@libp2p/interface-peer-id": "^2.0.0", "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^11.0.0", - "it-stream-types": "^1.0.4" + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^2.0.1", + "uint8arraylist": "^2.4.3" }, "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, + "node_modules/@libp2p/interface-stream-muxer/node_modules/@multiformats/multiaddr": { + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", + "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", + "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": "^12.0.1", + "uint8arrays": "^4.0.2", + "varint": "^6.0.0" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "node_modules/@libp2p/interface-stream-muxer/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/interface-stream-muxer/node_modules/multiformats": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", + "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/interface-transport": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@libp2p/interface-transport/-/interface-transport-4.0.3.tgz", + "integrity": "sha512-jXFQ3blhFMEyQbFw/U8Glo3F/fUO5LEaX5HIdeqNpCliK+XnwTfpkcaG+WsJrcApWK4FFyUHc+GGqiWR0hAFFg==", + "dependencies": { + "@libp2p/interface-connection": "^5.0.0", + "@libp2p/interface-stream-muxer": "^4.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/interface-transport/node_modules/@libp2p/interface-connection": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-5.1.1.tgz", + "integrity": "sha512-ytknMbuuNW72LYMmTP7wFGP5ZTaUSGBCmV9f+uQ55XPcFHtKXLtKWVU/HE8IqPmwtyU8AO7veGoJ/qStMHNRVA==", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^2.0.1", + "uint8arraylist": "^2.4.3" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/interface-transport/node_modules/@multiformats/multiaddr": { + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", + "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", + "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": "^12.0.1", + "uint8arrays": "^4.0.2", + "varint": "^6.0.0" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "node_modules/@libp2p/interface-transport/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/interface-transport/node_modules/multiformats": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", + "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@libp2p/interfaces": { "version": "3.3.2", "resolved": "https://registry.npmjs.org/@libp2p/interfaces/-/interfaces-3.3.2.tgz", @@ -4525,44 +4593,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/keychain/node_modules/@libp2p/peer-id": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", - "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.2.0", - "multiformats": "^11.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/keychain/node_modules/interface-datastore": { - "version": "8.2.3", - "resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-8.2.3.tgz", - "integrity": "sha512-5U6BfK7cR4oSngm4pqYZBBAX7tpLI4YCOa3Ifz/EJEaEV2mmlloH5qP8ADWCVFk6vP1MPT925JJkt3kFIi7iWQ==", - "dependencies": { - "interface-store": "^5.0.0", - "nanoid": "^4.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/keychain/node_modules/interface-store": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/interface-store/-/interface-store-5.1.2.tgz", - "integrity": "sha512-q2sLoqC+UdaWnjwGyghsH0jwqqVk226lsG207e3QwPB8sAZYmYIWUnJwJH3JjFNNRV9e6CUTmm+gDO0Xg4KRiw==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/logger": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-2.1.1.tgz", @@ -4597,29 +4627,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/logger/node_modules/interface-datastore": { - "version": "8.2.3", - "resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-8.2.3.tgz", - "integrity": "sha512-5U6BfK7cR4oSngm4pqYZBBAX7tpLI4YCOa3Ifz/EJEaEV2mmlloH5qP8ADWCVFk6vP1MPT925JJkt3kFIi7iWQ==", - "dependencies": { - "interface-store": "^5.0.0", - "nanoid": "^4.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/logger/node_modules/interface-store": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/interface-store/-/interface-store-5.1.2.tgz", - "integrity": "sha512-q2sLoqC+UdaWnjwGyghsH0jwqqVk226lsG207e3QwPB8sAZYmYIWUnJwJH3JjFNNRV9e6CUTmm+gDO0Xg4KRiw==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/mplex": { "version": "8.0.4", "resolved": "https://registry.npmjs.org/@libp2p/mplex/-/mplex-8.0.4.tgz", @@ -4661,25 +4668,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/mplex/node_modules/@libp2p/interface-stream-muxer": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.1.2.tgz", - "integrity": "sha512-dQJcn67UaAa8YQFRJDhbo4uT453z/2lCzD/ZwTk1YOqJxATXbXgVcB8dXDQFEUiUX3ZjVQ1IBu+NlQd+IZ++zw==", - "dependencies": { - "@libp2p/interface-connection": "^5.0.0", - "@libp2p/interfaces": "^3.0.0", - "@libp2p/logger": "^2.0.7", - "abortable-iterator": "^5.0.1", - "any-signal": "^4.1.1", - "it-pushable": "^3.1.3", - "it-stream-types": "^2.0.1", - "uint8arraylist": "^2.4.3" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/mplex/node_modules/@multiformats/multiaddr": { "version": "12.1.3", "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", @@ -4698,28 +4686,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/mplex/node_modules/abortable-iterator": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/abortable-iterator/-/abortable-iterator-5.0.1.tgz", - "integrity": "sha512-hlZ5Z8UwqrKsJcelVPEqDduZowJPBQJ9ZhBC2FXpja3lXy8X6MoI5uMzIgmrA8+3jcVnp8TF/tx+IBBqYJNUrg==", - "dependencies": { - "get-iterator": "^2.0.0", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/mplex/node_modules/any-signal": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/any-signal/-/any-signal-4.1.1.tgz", - "integrity": "sha512-iADenERppdC+A2YKbOXXB2WUeABLaM6qnpZ70kZbPZ1cZMMJ7eF+3CaYm+/PhBizgkzlvssC7QuHS30oOiQYWA==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/mplex/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", @@ -4753,70 +4719,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/multistream-select/node_modules/abortable-iterator": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/abortable-iterator/-/abortable-iterator-5.0.1.tgz", - "integrity": "sha512-hlZ5Z8UwqrKsJcelVPEqDduZowJPBQJ9ZhBC2FXpja3lXy8X6MoI5uMzIgmrA8+3jcVnp8TF/tx+IBBqYJNUrg==", - "dependencies": { - "get-iterator": "^2.0.0", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/multistream-select/node_modules/it-first": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/it-first/-/it-first-3.0.2.tgz", - "integrity": "sha512-QPLAM2BOkait/o6W25HvP0XTEv+Os3Ce4wET//ADNaPv+WYAHWfQwJuMu5FB8X066hA1F7LEMnULvTpE7/4yQw==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/multistream-select/node_modules/it-length-prefixed": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", - "integrity": "sha512-ZBD8ZFLERj8d1q9CeBtk0eJ4EpeI3qwnkmWtemBSm3ZI2dM8PUweNVk5haZ2vw3EIq2uYQiabV9YwNm6EASM4A==", - "dependencies": { - "err-code": "^3.0.1", - "it-stream-types": "^2.0.1", - "uint8-varint": "^1.0.1", - "uint8arraylist": "^2.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/multistream-select/node_modules/it-merge": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.1.tgz", - "integrity": "sha512-I6hjU1ABO+k3xY1H6JtCSDXvUME88pxIXSgKeT4WI5rPYbQzpr98ldacVuG95WbjaJxKl6Qot6lUdxduLBQPHA==", - "dependencies": { - "it-pushable": "^3.1.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/multistream-select/node_modules/it-pipe": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/it-pipe/-/it-pipe-3.0.1.tgz", - "integrity": "sha512-sIoNrQl1qSRg2seYSBH/3QxWhJFn9PKYvOf/bHdtCBF0bnghey44VyASsWzn5dAx0DCDDABq1hZIuzKmtBZmKA==", - "dependencies": { - "it-merge": "^3.0.0", - "it-pushable": "^3.1.2", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/multistream-select/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", @@ -4839,7 +4741,7 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/peer-collections/node_modules/@libp2p/peer-id": { + "node_modules/@libp2p/peer-id": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", @@ -4854,21 +4756,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/peer-id": { - "version": "1.1.18", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-1.1.18.tgz", - "integrity": "sha512-Zh3gzbrQZKDMLpoJAJB8gdGtyYFSBKV0dU5vflQ18/7MJDJmjsgKO+sJTYi72yN5sWREs1eGKMhxLo+N1ust5w==", - "dependencies": { - "@libp2p/interface-peer-id": "^1.0.0", - "err-code": "^3.0.1", - "multiformats": "^10.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/peer-id-factory": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/@libp2p/peer-id-factory/-/peer-id-factory-2.0.4.tgz", @@ -4888,21 +4775,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/peer-id-factory/node_modules/@libp2p/peer-id": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", - "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.2.0", - "multiformats": "^11.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/peer-id-factory/node_modules/long": { "version": "5.2.3", "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", @@ -4947,27 +4819,6 @@ "uint8arraylist": "^2.3.2" } }, - "node_modules/@libp2p/peer-id/node_modules/@libp2p/interface-peer-id": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-id/-/interface-peer-id-1.1.2.tgz", - "integrity": "sha512-S5iyVzG2EUgxm4NLe8W4ya9kpKuGfHs7Wbbos0wOUB4GXsbIKgOOxIr4yf+xGFgtEBaoximvlLkpob6dn8VFgA==", - "dependencies": { - "multiformats": "^10.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/peer-id/node_modules/multiformats": { - "version": "10.0.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-10.0.3.tgz", - "integrity": "sha512-K2yGSmstS/oEmYiEIieHb53jJCaqp4ERPDQAYrm5sV3UUrVDZeshJQCK6GHAKyIGufU1vAcbS0PdAAZmC7Tzcw==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/peer-record": { "version": "5.0.4", "resolved": "https://registry.npmjs.org/@libp2p/peer-record/-/peer-record-5.0.4.tgz", @@ -4990,21 +4841,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/peer-record/node_modules/@libp2p/peer-id": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", - "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.2.0", - "multiformats": "^11.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/peer-record/node_modules/@multiformats/multiaddr": { "version": "12.1.3", "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", @@ -5068,25 +4904,23 @@ } }, "node_modules/@libp2p/peer-store": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/peer-store/-/peer-store-6.0.4.tgz", - "integrity": "sha512-yw7XbeJ5k880PpkDV/HcSZtj0vQ0ShPbnCzVHc1hW0JS/g1vhpSooAZOf3w65obUoFhUwccnSZ4HSLBSpQqOaA==", + "version": "8.2.1", + "resolved": "https://registry.npmjs.org/@libp2p/peer-store/-/peer-store-8.2.1.tgz", + "integrity": "sha512-mr0GsZ7zucta3l5EblOGrBeVgdTVujRJ9WC+FmnYErQe023SRJevAZEv1WeMinMGVGL6CY+gmWw0oLpExu9AWg==", "dependencies": { + "@libp2p/interface-libp2p": "^3.1.0", "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interface-peer-info": "^1.0.3", - "@libp2p/interface-peer-store": "^1.2.2", - "@libp2p/interface-record": "^2.0.1", + "@libp2p/interface-peer-store": "^2.0.4", "@libp2p/interfaces": "^3.2.0", - "@libp2p/logger": "^2.0.0", + "@libp2p/logger": "^2.0.7", + "@libp2p/peer-collections": "^3.0.1", "@libp2p/peer-id": "^2.0.0", - "@libp2p/peer-record": "^5.0.0", - "@multiformats/multiaddr": "^11.0.0", - "interface-datastore": "^7.0.0", - "it-all": "^2.0.0", - "it-filter": "^2.0.0", - "it-foreach": "^1.0.0", - "it-map": "^2.0.0", - "mortice": "^3.0.0", + "@libp2p/peer-id-factory": "^2.0.0", + "@libp2p/peer-record": "^5.0.3", + "@multiformats/multiaddr": "^12.0.0", + "interface-datastore": "^8.0.0", + "it-all": "^3.0.2", + "mortice": "^3.0.1", "multiformats": "^11.0.0", "protons-runtime": "^5.0.0", "uint8arraylist": "^2.1.1", @@ -5097,25 +4931,28 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/peer-store/node_modules/@libp2p/peer-id": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", - "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", + "node_modules/@libp2p/peer-store/node_modules/@multiformats/multiaddr": { + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", + "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.2.0", - "multiformats": "^11.0.0", - "uint8arrays": "^4.0.2" + "@chainsafe/is-ip": "^2.0.1", + "@chainsafe/netmask": "^2.0.0", + "@libp2p/interfaces": "^3.3.1", + "dns-over-http-resolver": "^2.1.0", + "multiformats": "^12.0.1", + "uint8arrays": "^4.0.2", + "varint": "^6.0.0" }, "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" + "node": ">=18.0.0", + "npm": ">=8.6.0" } }, - "node_modules/@libp2p/peer-store/node_modules/it-all": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/it-all/-/it-all-2.0.1.tgz", - "integrity": "sha512-9UuJcCRZsboz+HBQTNOau80Dw+ryGaHYFP/cPYzFBJBFcfDathMYnhHk4t52en9+fcyDGPTdLB+lFc1wzQIroA==", + "node_modules/@libp2p/peer-store/node_modules/@multiformats/multiaddr/node_modules/multiformats": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", + "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" @@ -5127,9 +4964,9 @@ "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" }, "node_modules/@libp2p/peer-store/node_modules/protobufjs": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.3.tgz", - "integrity": "sha512-TtpvOqwB5Gdz/PQmOjgsrGH1nHjAQVCN7JG4A6r1sXRWESL5rNMAiRcBQlCAdKxZcAbstExQePYG8xof/JVRgg==", + "version": "7.2.4", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.4.tgz", + "integrity": "sha512-AT+RJgD2sH8phPmCf7OUZR8xGdcJRga4+1cOaXJ64hvcSkVhNcRHOwIxUatPH15+nj59WAGTDv3LSGZPEQbJaQ==", "hasInstallScript": true, "dependencies": { "@protobufjs/aspromise": "^1.1.2", @@ -5150,17 +4987,13 @@ } }, "node_modules/@libp2p/peer-store/node_modules/protons-runtime": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.0.0.tgz", - "integrity": "sha512-QqjGnPGkpvbzq0dITzhG9DVK10rRIHf7nePcU2QQVVpFGuYbwrOWnvGSvei1GcceAzB9syTz6vHzvTPmGRR0PA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.0.1.tgz", + "integrity": "sha512-AwyAA3pQ4Ka4tEBMdIjLi/cRdpb322f7sgv3NruVq9yguLggzwu5eeLe1HuRPFYlI4UsVN/QK/AQXjLPVLCzTA==", "dependencies": { "protobufjs": "^7.0.0", "uint8arraylist": "^2.4.3" }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - }, "peerDependencies": { "uint8arraylist": "^2.3.2" } @@ -5210,37 +5043,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/pubsub/node_modules/@libp2p/interface-pubsub": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-pubsub/-/interface-pubsub-4.0.1.tgz", - "integrity": "sha512-PIc5V/J98Yr1ZTHh8lQshP7GdVUh+pKNIqj6wGaDmXs8oQLB40qKCjcpHQNlAnv2e1Bh9mEH2GXv5sGZOA651A==", - "dependencies": { - "@libp2p/interface-connection": "^5.0.0", - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.0.0", - "it-pushable": "^3.1.3", - "uint8arraylist": "^2.4.3" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/pubsub/node_modules/@libp2p/peer-id": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", - "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.2.0", - "multiformats": "^11.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/pubsub/node_modules/@multiformats/multiaddr": { "version": "12.1.3", "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", @@ -5259,61 +5061,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/pubsub/node_modules/abortable-iterator": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/abortable-iterator/-/abortable-iterator-5.0.1.tgz", - "integrity": "sha512-hlZ5Z8UwqrKsJcelVPEqDduZowJPBQJ9ZhBC2FXpja3lXy8X6MoI5uMzIgmrA8+3jcVnp8TF/tx+IBBqYJNUrg==", - "dependencies": { - "get-iterator": "^2.0.0", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/pubsub/node_modules/it-length-prefixed": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", - "integrity": "sha512-ZBD8ZFLERj8d1q9CeBtk0eJ4EpeI3qwnkmWtemBSm3ZI2dM8PUweNVk5haZ2vw3EIq2uYQiabV9YwNm6EASM4A==", - "dependencies": { - "err-code": "^3.0.1", - "it-stream-types": "^2.0.1", - "uint8-varint": "^1.0.1", - "uint8arraylist": "^2.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/pubsub/node_modules/it-merge": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.1.tgz", - "integrity": "sha512-I6hjU1ABO+k3xY1H6JtCSDXvUME88pxIXSgKeT4WI5rPYbQzpr98ldacVuG95WbjaJxKl6Qot6lUdxduLBQPHA==", - "dependencies": { - "it-pushable": "^3.1.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/pubsub/node_modules/it-pipe": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/it-pipe/-/it-pipe-3.0.1.tgz", - "integrity": "sha512-sIoNrQl1qSRg2seYSBH/3QxWhJFn9PKYvOf/bHdtCBF0bnghey44VyASsWzn5dAx0DCDDABq1hZIuzKmtBZmKA==", - "dependencies": { - "it-merge": "^3.0.0", - "it-pushable": "^3.1.2", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/pubsub/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", @@ -5386,19 +5133,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/utils/node_modules/@libp2p/interface-peer-store": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-store/-/interface-peer-store-2.0.4.tgz", - "integrity": "sha512-jNvBK3O1JPJqSiDN2vkb+PV8bTPnYdP54nxsLtut1BWukNm610lwzwleV7CetFI4bJCn6g+BgBvvq8fdADy0tA==", - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@multiformats/multiaddr": "^12.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/utils/node_modules/@multiformats/multiaddr": { "version": "12.1.3", "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", @@ -5417,19 +5151,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/utils/node_modules/abortable-iterator": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/abortable-iterator/-/abortable-iterator-5.0.1.tgz", - "integrity": "sha512-hlZ5Z8UwqrKsJcelVPEqDduZowJPBQJ9ZhBC2FXpja3lXy8X6MoI5uMzIgmrA8+3jcVnp8TF/tx+IBBqYJNUrg==", - "dependencies": { - "get-iterator": "^2.0.0", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/utils/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", @@ -5481,49 +5202,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/websockets/node_modules/@libp2p/interface-stream-muxer": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.1.2.tgz", - "integrity": "sha512-dQJcn67UaAa8YQFRJDhbo4uT453z/2lCzD/ZwTk1YOqJxATXbXgVcB8dXDQFEUiUX3ZjVQ1IBu+NlQd+IZ++zw==", - "dependencies": { - "@libp2p/interface-connection": "^5.0.0", - "@libp2p/interfaces": "^3.0.0", - "@libp2p/logger": "^2.0.7", - "abortable-iterator": "^5.0.1", - "any-signal": "^4.1.1", - "it-pushable": "^3.1.3", - "it-stream-types": "^2.0.1", - "uint8arraylist": "^2.4.3" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/websockets/node_modules/@libp2p/interface-transport": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@libp2p/interface-transport/-/interface-transport-4.0.3.tgz", - "integrity": "sha512-jXFQ3blhFMEyQbFw/U8Glo3F/fUO5LEaX5HIdeqNpCliK+XnwTfpkcaG+WsJrcApWK4FFyUHc+GGqiWR0hAFFg==", - "dependencies": { - "@libp2p/interface-connection": "^5.0.0", - "@libp2p/interface-stream-muxer": "^4.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^12.0.0", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/websockets/node_modules/@multiformats/mafmt": { - "version": "12.1.5", - "resolved": "https://registry.npmjs.org/@multiformats/mafmt/-/mafmt-12.1.5.tgz", - "integrity": "sha512-hz8CreKgs99pNIfea5/BHTPY90nrVLDHgGNrrHPCe51pkO+OM95PiF43q7ivIlytU++asOxcp+FhZymIwYy6LA==", - "dependencies": { - "@multiformats/multiaddr": "^12.0.0" - } - }, "node_modules/@libp2p/websockets/node_modules/@multiformats/multiaddr": { "version": "12.1.3", "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", @@ -5542,28 +5220,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/websockets/node_modules/abortable-iterator": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/abortable-iterator/-/abortable-iterator-5.0.1.tgz", - "integrity": "sha512-hlZ5Z8UwqrKsJcelVPEqDduZowJPBQJ9ZhBC2FXpja3lXy8X6MoI5uMzIgmrA8+3jcVnp8TF/tx+IBBqYJNUrg==", - "dependencies": { - "get-iterator": "^2.0.0", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/websockets/node_modules/any-signal": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/any-signal/-/any-signal-4.1.1.tgz", - "integrity": "sha512-iADenERppdC+A2YKbOXXB2WUeABLaM6qnpZ70kZbPZ1cZMMJ7eF+3CaYm+/PhBizgkzlvssC7QuHS30oOiQYWA==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/websockets/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", @@ -5695,12 +5351,35 @@ } }, "node_modules/@multiformats/mafmt": { - "version": "11.0.4", - "resolved": "https://registry.npmjs.org/@multiformats/mafmt/-/mafmt-11.0.4.tgz", - "integrity": "sha512-j5+coLrda4e417igtPDn8Aek2JY+HXBo9w4PwnMx8fhfOE+ktFEHWTgJ9BwGMiQbonxc1CmGiUnylTdoyyt5ZQ==", + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@multiformats/mafmt/-/mafmt-12.1.5.tgz", + "integrity": "sha512-hz8CreKgs99pNIfea5/BHTPY90nrVLDHgGNrrHPCe51pkO+OM95PiF43q7ivIlytU++asOxcp+FhZymIwYy6LA==", "dependencies": { - "@multiformats/multiaddr": "^11.0.0" + "@multiformats/multiaddr": "^12.0.0" + } + }, + "node_modules/@multiformats/mafmt/node_modules/@multiformats/multiaddr": { + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", + "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", + "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": "^12.0.1", + "uint8arrays": "^4.0.2", + "varint": "^6.0.0" }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "node_modules/@multiformats/mafmt/node_modules/multiformats": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", + "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" @@ -6244,132 +5923,6 @@ "@sinonjs/commons": "^1.7.0" } }, - "node_modules/@stablelib/aead": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/aead/-/aead-1.0.1.tgz", - "integrity": "sha512-q39ik6sxGHewqtO0nP4BuSe3db5G1fEJE8ukvngS2gLkBXyy6E7pLubhbYgnkDFv6V8cWaxcE4Xn0t6LWcJkyg==" - }, - "node_modules/@stablelib/binary": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/binary/-/binary-1.0.1.tgz", - "integrity": "sha512-ClJWvmL6UBM/wjkvv/7m5VP3GMr9t0osr4yVgLZsLCOz4hGN9gIAFEqnJ0TsSMAN+n840nf2cHZnA5/KFqHC7Q==", - "dependencies": { - "@stablelib/int": "^1.0.1" - } - }, - "node_modules/@stablelib/bytes": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/bytes/-/bytes-1.0.1.tgz", - "integrity": "sha512-Kre4Y4kdwuqL8BR2E9hV/R5sOrUj6NanZaZis0V6lX5yzqC3hBuVSDXUIBqQv/sCpmuWRiHLwqiT1pqqjuBXoQ==" - }, - "node_modules/@stablelib/chacha": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/chacha/-/chacha-1.0.1.tgz", - "integrity": "sha512-Pmlrswzr0pBzDofdFuVe1q7KdsHKhhU24e8gkEwnTGOmlC7PADzLVxGdn2PoNVBBabdg0l/IfLKg6sHAbTQugg==", - "dependencies": { - "@stablelib/binary": "^1.0.1", - "@stablelib/wipe": "^1.0.1" - } - }, - "node_modules/@stablelib/chacha20poly1305": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/chacha20poly1305/-/chacha20poly1305-1.0.1.tgz", - "integrity": "sha512-MmViqnqHd1ymwjOQfghRKw2R/jMIGT3wySN7cthjXCBdO+qErNPUBnRzqNpnvIwg7JBCg3LdeCZZO4de/yEhVA==", - "dependencies": { - "@stablelib/aead": "^1.0.1", - "@stablelib/binary": "^1.0.1", - "@stablelib/chacha": "^1.0.1", - "@stablelib/constant-time": "^1.0.1", - "@stablelib/poly1305": "^1.0.1", - "@stablelib/wipe": "^1.0.1" - } - }, - "node_modules/@stablelib/constant-time": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/constant-time/-/constant-time-1.0.1.tgz", - "integrity": "sha512-tNOs3uD0vSJcK6z1fvef4Y+buN7DXhzHDPqRLSXUel1UfqMB1PWNsnnAezrKfEwTLpN0cGH2p9NNjs6IqeD0eg==" - }, - "node_modules/@stablelib/hash": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/hash/-/hash-1.0.1.tgz", - "integrity": "sha512-eTPJc/stDkdtOcrNMZ6mcMK1e6yBbqRBaNW55XA1jU8w/7QdnCF0CmMmOD1m7VSkBR44PWrMHU2l6r8YEQHMgg==" - }, - "node_modules/@stablelib/hkdf": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/hkdf/-/hkdf-1.0.1.tgz", - "integrity": "sha512-SBEHYE16ZXlHuaW5RcGk533YlBj4grMeg5TooN80W3NpcHRtLZLLXvKyX0qcRFxf+BGDobJLnwkvgEwHIDBR6g==", - "dependencies": { - "@stablelib/hash": "^1.0.1", - "@stablelib/hmac": "^1.0.1", - "@stablelib/wipe": "^1.0.1" - } - }, - "node_modules/@stablelib/hmac": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/hmac/-/hmac-1.0.1.tgz", - "integrity": "sha512-V2APD9NSnhVpV/QMYgCVMIYKiYG6LSqw1S65wxVoirhU/51ACio6D4yDVSwMzuTJXWZoVHbDdINioBwKy5kVmA==", - "dependencies": { - "@stablelib/constant-time": "^1.0.1", - "@stablelib/hash": "^1.0.1", - "@stablelib/wipe": "^1.0.1" - } - }, - "node_modules/@stablelib/int": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/int/-/int-1.0.1.tgz", - "integrity": "sha512-byr69X/sDtDiIjIV6m4roLVWnNNlRGzsvxw+agj8CIEazqWGOQp2dTYgQhtyVXV9wpO6WyXRQUzLV/JRNumT2w==" - }, - "node_modules/@stablelib/keyagreement": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/keyagreement/-/keyagreement-1.0.1.tgz", - "integrity": "sha512-VKL6xBwgJnI6l1jKrBAfn265cspaWBPAPEc62VBQrWHLqVgNRE09gQ/AnOEyKUWrrqfD+xSQ3u42gJjLDdMDQg==", - "dependencies": { - "@stablelib/bytes": "^1.0.1" - } - }, - "node_modules/@stablelib/poly1305": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/poly1305/-/poly1305-1.0.1.tgz", - "integrity": "sha512-1HlG3oTSuQDOhSnLwJRKeTRSAdFNVB/1djy2ZbS35rBSJ/PFqx9cf9qatinWghC2UbfOYD8AcrtbUQl8WoxabA==", - "dependencies": { - "@stablelib/constant-time": "^1.0.1", - "@stablelib/wipe": "^1.0.1" - } - }, - "node_modules/@stablelib/random": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@stablelib/random/-/random-1.0.2.tgz", - "integrity": "sha512-rIsE83Xpb7clHPVRlBj8qNe5L8ISQOzjghYQm/dZ7VaM2KHYwMW5adjQjrzTZCchFnNCNhkwtnOBa9HTMJCI8w==", - "dependencies": { - "@stablelib/binary": "^1.0.1", - "@stablelib/wipe": "^1.0.1" - } - }, - "node_modules/@stablelib/sha256": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/sha256/-/sha256-1.0.1.tgz", - "integrity": "sha512-GIIH3e6KH+91FqGV42Kcj71Uefd/QEe7Dy42sBTeqppXV95ggCcxLTk39bEr+lZfJmp+ghsR07J++ORkRELsBQ==", - "dependencies": { - "@stablelib/binary": "^1.0.1", - "@stablelib/hash": "^1.0.1", - "@stablelib/wipe": "^1.0.1" - } - }, - "node_modules/@stablelib/wipe": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/wipe/-/wipe-1.0.1.tgz", - "integrity": "sha512-WfqfX/eXGiAd3RJe4VU2snh/ZPwtSjLG4ynQ/vYzvghTh7dHFcI1wl+nrkWG6lGhukOxOsUHfv8dUXr58D0ayg==" - }, - "node_modules/@stablelib/x25519": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@stablelib/x25519/-/x25519-1.0.3.tgz", - "integrity": "sha512-KnTbKmUhPhHavzobclVJQG5kuivH+qDLpe84iRqX3CLrKp881cF160JvXJ+hjn1aMyCwYOKeIZefIH/P5cJoRw==", - "dependencies": { - "@stablelib/keyagreement": "^1.0.1", - "@stablelib/random": "^1.0.2", - "@stablelib/wipe": "^1.0.1" - } - }, "node_modules/@surma/rollup-plugin-off-main-thread": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/@surma/rollup-plugin-off-main-thread/-/rollup-plugin-off-main-thread-2.2.3.tgz", @@ -7297,31 +6850,6 @@ "node": ">=16" } }, - "node_modules/@waku/dns-discovery/node_modules/@libp2p/interface-peer-discovery": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-discovery/-/interface-peer-discovery-2.0.0.tgz", - "integrity": "sha512-Mien5t3Tc+ntP5p50acKUYJN90ouMnq1lOTQDKQNvGcXoajG8A1AEYLocnzVia/MXiexuj6S/Q28WBBacoOlBg==", - "dependencies": { - "@libp2p/interface-peer-info": "^1.0.0", - "@libp2p/interfaces": "^3.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/dns-discovery/node_modules/@waku/utils": { - "version": "0.0.9", - "resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.9.tgz", - "integrity": "sha512-afXcqgjy0honWW0qOM/EHMFEm1tQxyzIyZUSo6eAUysACy3/kSkZxHJeKDFjwKWaVW46dZo0dQQ6734xKMU5LA==", - "dependencies": { - "debug": "^4.3.4", - "uint8arrays": "^4.0.4" - }, - "engines": { - "node": ">=16" - } - }, "node_modules/@waku/enr": { "version": "0.0.15", "resolved": "https://registry.npmjs.org/@waku/enr/-/enr-0.0.15.tgz", @@ -7340,21 +6868,6 @@ "node": ">=16" } }, - "node_modules/@waku/enr/node_modules/@libp2p/peer-id": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", - "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.2.0", - "multiformats": "^11.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@waku/enr/node_modules/@multiformats/multiaddr": { "version": "12.1.3", "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", @@ -7373,18 +6886,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@waku/enr/node_modules/@waku/utils": { - "version": "0.0.9", - "resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.9.tgz", - "integrity": "sha512-afXcqgjy0honWW0qOM/EHMFEm1tQxyzIyZUSo6eAUysACy3/kSkZxHJeKDFjwKWaVW46dZo0dQQ6734xKMU5LA==", - "dependencies": { - "debug": "^4.3.4", - "uint8arrays": "^4.0.4" - }, - "engines": { - "node": ">=16" - } - }, "node_modules/@waku/interfaces": { "version": "0.0.16", "resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.16.tgz", @@ -7414,230 +6915,11 @@ "node": ">=16" } }, - "node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-address-manager": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-address-manager/-/interface-address-manager-3.0.1.tgz", - "integrity": "sha512-8N1nfOtZ/CnZ/cL0Bnj59fhcSs7orI4evmNVsv2DM1VaNHXqc9tPy8JmQE2HRjrUXeUPwtzzG2eoP7l0ZYdC0g==", - "peer": true, - "dependencies": { - "@multiformats/multiaddr": "^12.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-connection": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-5.1.1.tgz", - "integrity": "sha512-ytknMbuuNW72LYMmTP7wFGP5ZTaUSGBCmV9f+uQ55XPcFHtKXLtKWVU/HE8IqPmwtyU8AO7veGoJ/qStMHNRVA==", - "peer": true, - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^12.0.0", - "it-stream-types": "^2.0.1", - "uint8arraylist": "^2.4.3" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-connection-encrypter": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-encrypter/-/interface-connection-encrypter-4.0.1.tgz", - "integrity": "sha512-fOtZpaFL2f5vID/RaBpVMAR9OKx5DmDT/yMEFTCarNc6Bb37fWwClI4WNCtoVbDQwcnr4H4ZIo0+9yCxjEIjjQ==", - "peer": true, - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-connection-manager": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-manager/-/interface-connection-manager-3.0.1.tgz", - "integrity": "sha512-7ZAvzOWfHs3BtaoZoWsT+Ks1bo6HjyRMq1SJdFWDJ+ZkYEzrf6sdtQwsX8eXhwRDO6PuzpUDqLZ9TNQ2GVKEEw==", - "peer": true, - "dependencies": { - "@libp2p/interface-connection": "^5.0.0", - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.0.0", - "@libp2p/peer-collections": "^3.0.1", - "@multiformats/multiaddr": "^12.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-libp2p": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@libp2p/interface-libp2p/-/interface-libp2p-3.2.0.tgz", - "integrity": "sha512-Vow6xNdjpQ0M/Kt3EDz1qE/Os5OZUyhFt0YTPU5Fp3/kXw/6ocsxYq/Bzird/96gjUjU5/i+Vukn4WgctJf55Q==", - "peer": true, - "dependencies": { - "@libp2p/interface-connection": "^5.0.0", - "@libp2p/interface-content-routing": "^2.0.0", - "@libp2p/interface-keychain": "^2.0.0", - "@libp2p/interface-metrics": "^4.0.0", - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interface-peer-info": "^1.0.0", - "@libp2p/interface-peer-routing": "^1.0.0", - "@libp2p/interface-peer-store": "^2.0.0", - "@libp2p/interface-registrar": "^2.0.0", - "@libp2p/interface-transport": "^4.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^12.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-peer-discovery": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-discovery/-/interface-peer-discovery-2.0.0.tgz", - "integrity": "sha512-Mien5t3Tc+ntP5p50acKUYJN90ouMnq1lOTQDKQNvGcXoajG8A1AEYLocnzVia/MXiexuj6S/Q28WBBacoOlBg==", - "dependencies": { - "@libp2p/interface-peer-info": "^1.0.0", - "@libp2p/interfaces": "^3.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-peer-store": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-store/-/interface-peer-store-2.0.4.tgz", - "integrity": "sha512-jNvBK3O1JPJqSiDN2vkb+PV8bTPnYdP54nxsLtut1BWukNm610lwzwleV7CetFI4bJCn6g+BgBvvq8fdADy0tA==", - "peer": true, - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@multiformats/multiaddr": "^12.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-pubsub": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-pubsub/-/interface-pubsub-4.0.1.tgz", - "integrity": "sha512-PIc5V/J98Yr1ZTHh8lQshP7GdVUh+pKNIqj6wGaDmXs8oQLB40qKCjcpHQNlAnv2e1Bh9mEH2GXv5sGZOA651A==", - "peer": true, - "dependencies": { - "@libp2p/interface-connection": "^5.0.0", - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.0.0", - "it-pushable": "^3.1.3", - "uint8arraylist": "^2.4.3" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-stream-muxer": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.1.2.tgz", - "integrity": "sha512-dQJcn67UaAa8YQFRJDhbo4uT453z/2lCzD/ZwTk1YOqJxATXbXgVcB8dXDQFEUiUX3ZjVQ1IBu+NlQd+IZ++zw==", - "peer": true, - "dependencies": { - "@libp2p/interface-connection": "^5.0.0", - "@libp2p/interfaces": "^3.0.0", - "@libp2p/logger": "^2.0.7", - "abortable-iterator": "^5.0.1", - "any-signal": "^4.1.1", - "it-pushable": "^3.1.3", - "it-stream-types": "^2.0.1", - "uint8arraylist": "^2.4.3" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-transport": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@libp2p/interface-transport/-/interface-transport-4.0.3.tgz", - "integrity": "sha512-jXFQ3blhFMEyQbFw/U8Glo3F/fUO5LEaX5HIdeqNpCliK+XnwTfpkcaG+WsJrcApWK4FFyUHc+GGqiWR0hAFFg==", - "peer": true, - "dependencies": { - "@libp2p/interface-connection": "^5.0.0", - "@libp2p/interface-stream-muxer": "^4.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^12.0.0", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/@libp2p/peer-id": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", - "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", - "peer": true, - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.2.0", - "multiformats": "^11.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/@libp2p/peer-store": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@libp2p/peer-store/-/peer-store-8.2.1.tgz", - "integrity": "sha512-mr0GsZ7zucta3l5EblOGrBeVgdTVujRJ9WC+FmnYErQe023SRJevAZEv1WeMinMGVGL6CY+gmWw0oLpExu9AWg==", - "peer": true, - "dependencies": { - "@libp2p/interface-libp2p": "^3.1.0", - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interface-peer-store": "^2.0.4", - "@libp2p/interfaces": "^3.2.0", - "@libp2p/logger": "^2.0.7", - "@libp2p/peer-collections": "^3.0.1", - "@libp2p/peer-id": "^2.0.0", - "@libp2p/peer-id-factory": "^2.0.0", - "@libp2p/peer-record": "^5.0.3", - "@multiformats/multiaddr": "^12.0.0", - "interface-datastore": "^8.0.0", - "it-all": "^3.0.2", - "mortice": "^3.0.1", - "multiformats": "^11.0.0", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.1.1", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/@multiformats/mafmt": { - "version": "12.1.5", - "resolved": "https://registry.npmjs.org/@multiformats/mafmt/-/mafmt-12.1.5.tgz", - "integrity": "sha512-hz8CreKgs99pNIfea5/BHTPY90nrVLDHgGNrrHPCe51pkO+OM95PiF43q7ivIlytU++asOxcp+FhZymIwYy6LA==", - "peer": true, - "dependencies": { - "@multiformats/multiaddr": "^12.0.0" - } - }, "node_modules/@waku/peer-exchange/node_modules/@multiformats/multiaddr": { "version": "12.1.3", "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", + "optional": true, "peer": true, "dependencies": { "@chainsafe/is-ip": "^2.0.1", @@ -7683,331 +6965,6 @@ } } }, - "node_modules/@waku/peer-exchange/node_modules/@waku/utils": { - "version": "0.0.9", - "resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.9.tgz", - "integrity": "sha512-afXcqgjy0honWW0qOM/EHMFEm1tQxyzIyZUSo6eAUysACy3/kSkZxHJeKDFjwKWaVW46dZo0dQQ6734xKMU5LA==", - "dependencies": { - "debug": "^4.3.4", - "uint8arrays": "^4.0.4" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/@waku/peer-exchange/node_modules/abortable-iterator": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/abortable-iterator/-/abortable-iterator-5.0.1.tgz", - "integrity": "sha512-hlZ5Z8UwqrKsJcelVPEqDduZowJPBQJ9ZhBC2FXpja3lXy8X6MoI5uMzIgmrA8+3jcVnp8TF/tx+IBBqYJNUrg==", - "peer": true, - "dependencies": { - "get-iterator": "^2.0.0", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/any-signal": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/any-signal/-/any-signal-4.1.1.tgz", - "integrity": "sha512-iADenERppdC+A2YKbOXXB2WUeABLaM6qnpZ70kZbPZ1cZMMJ7eF+3CaYm+/PhBizgkzlvssC7QuHS30oOiQYWA==", - "peer": true, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/datastore-core": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/datastore-core/-/datastore-core-9.2.0.tgz", - "integrity": "sha512-r3HZCdRTPXbHsiakhbYCtdGix9/a0G7huwYa9Ive+pIN7BjkdcLQseQ+iCMsECcocwHu23rs2qzdHKSflbVSng==", - "peer": true, - "dependencies": { - "@libp2p/logger": "^2.0.0", - "err-code": "^3.0.1", - "interface-store": "^5.0.0", - "it-all": "^3.0.1", - "it-drain": "^3.0.1", - "it-filter": "^3.0.0", - "it-map": "^3.0.1", - "it-merge": "^3.0.0", - "it-pipe": "^3.0.0", - "it-pushable": "^3.0.0", - "it-sort": "^3.0.1", - "it-take": "^3.0.1", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/interface-datastore": { - "version": "8.2.3", - "resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-8.2.3.tgz", - "integrity": "sha512-5U6BfK7cR4oSngm4pqYZBBAX7tpLI4YCOa3Ifz/EJEaEV2mmlloH5qP8ADWCVFk6vP1MPT925JJkt3kFIi7iWQ==", - "peer": true, - "dependencies": { - "interface-store": "^5.0.0", - "nanoid": "^4.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/interface-store": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/interface-store/-/interface-store-5.1.2.tgz", - "integrity": "sha512-q2sLoqC+UdaWnjwGyghsH0jwqqVk226lsG207e3QwPB8sAZYmYIWUnJwJH3JjFNNRV9e6CUTmm+gDO0Xg4KRiw==", - "peer": true, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/it-drain": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/it-drain/-/it-drain-3.0.2.tgz", - "integrity": "sha512-0hJvS/4Ktt9wT/bktmovjjMAY8r6FCsXqpL3zjqBBNwoL21VgQfguEnwbLSGuCip9Zq1vfU43cbHkmaRZdBfOg==", - "peer": true, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/it-filter": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/it-filter/-/it-filter-3.0.2.tgz", - "integrity": "sha512-Hhzp5anX7tmKOBqTPasBYTPlq7l4Xk4lMBfLB5GfKZnL9WCc6pr8M9Waud4nHh3s9neb4xwDWk7KQsEapgWyJw==", - "peer": true, - "dependencies": { - "it-peekable": "^3.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/it-first": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/it-first/-/it-first-3.0.2.tgz", - "integrity": "sha512-QPLAM2BOkait/o6W25HvP0XTEv+Os3Ce4wET//ADNaPv+WYAHWfQwJuMu5FB8X066hA1F7LEMnULvTpE7/4yQw==", - "peer": true, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/it-length-prefixed": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", - "integrity": "sha512-ZBD8ZFLERj8d1q9CeBtk0eJ4EpeI3qwnkmWtemBSm3ZI2dM8PUweNVk5haZ2vw3EIq2uYQiabV9YwNm6EASM4A==", - "dependencies": { - "err-code": "^3.0.1", - "it-stream-types": "^2.0.1", - "uint8-varint": "^1.0.1", - "uint8arraylist": "^2.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/it-map": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/it-map/-/it-map-3.0.3.tgz", - "integrity": "sha512-Yf89GJYeYUZb2NZzWkvFHm3IBXlxro74i2vGRmpf8BYau3BhlaS37ieDenJEdYzkTGJhL/EbM1jPPw/KGVVVIw==", - "peer": true, - "dependencies": { - "it-peekable": "^3.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/it-merge": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.1.tgz", - "integrity": "sha512-I6hjU1ABO+k3xY1H6JtCSDXvUME88pxIXSgKeT4WI5rPYbQzpr98ldacVuG95WbjaJxKl6Qot6lUdxduLBQPHA==", - "dependencies": { - "it-pushable": "^3.1.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/it-pipe": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/it-pipe/-/it-pipe-3.0.1.tgz", - "integrity": "sha512-sIoNrQl1qSRg2seYSBH/3QxWhJFn9PKYvOf/bHdtCBF0bnghey44VyASsWzn5dAx0DCDDABq1hZIuzKmtBZmKA==", - "dependencies": { - "it-merge": "^3.0.0", - "it-pushable": "^3.1.2", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/it-sort": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/it-sort/-/it-sort-3.0.2.tgz", - "integrity": "sha512-gRvHyXkn13hyXIoiGkvg7Mf1Yg8JUB+ArKjMrGCYfd/4MQ8mQlMCOE6H8itjshwdVEAUDrppb786zODndYyjSg==", - "peer": true, - "dependencies": { - "it-all": "^3.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/it-stream-types": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", - "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/it-take": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/it-take/-/it-take-3.0.2.tgz", - "integrity": "sha512-HgtnQYW45iV+lOJIk54dhKWNi+puAeutUehIWQE9tRkM91nlCn0abbDU2xG/FZV3cVnEG4hGwxOEImnMMKwhmg==", - "peer": true, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/libp2p": { - "version": "0.45.9", - "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-0.45.9.tgz", - "integrity": "sha512-cf2dCf8naZqQoDw3xxSEZ6rKgQ8BBne5iWgtIKHAYrCvL+ulshz72jNgeAG0FQ/jjRD3yzmUuwoMaLHj6gf7Bw==", - "peer": true, - "dependencies": { - "@achingbrain/nat-port-mapper": "^1.0.9", - "@libp2p/crypto": "^1.0.17", - "@libp2p/interface-address-manager": "^3.0.0", - "@libp2p/interface-connection": "^5.1.1", - "@libp2p/interface-connection-encrypter": "^4.0.0", - "@libp2p/interface-connection-gater": "^3.0.0", - "@libp2p/interface-connection-manager": "^3.0.0", - "@libp2p/interface-content-routing": "^2.1.0", - "@libp2p/interface-keychain": "^2.0.4", - "@libp2p/interface-libp2p": "^3.2.0", - "@libp2p/interface-metrics": "^4.0.0", - "@libp2p/interface-peer-discovery": "^2.0.0", - "@libp2p/interface-peer-id": "^2.0.1", - "@libp2p/interface-peer-info": "^1.0.3", - "@libp2p/interface-peer-routing": "^1.1.0", - "@libp2p/interface-peer-store": "^2.0.4", - "@libp2p/interface-pubsub": "^4.0.0", - "@libp2p/interface-record": "^2.0.6", - "@libp2p/interface-registrar": "^2.0.3", - "@libp2p/interface-stream-muxer": "^4.0.0", - "@libp2p/interface-transport": "^4.0.0", - "@libp2p/interfaces": "^3.2.0", - "@libp2p/keychain": "^2.0.0", - "@libp2p/logger": "^2.1.1", - "@libp2p/multistream-select": "^3.1.8", - "@libp2p/peer-collections": "^3.0.0", - "@libp2p/peer-id": "^2.0.0", - "@libp2p/peer-id-factory": "^2.0.0", - "@libp2p/peer-record": "^5.0.0", - "@libp2p/peer-store": "^8.2.0", - "@libp2p/topology": "^4.0.1", - "@libp2p/tracked-map": "^3.0.0", - "@libp2p/utils": "^3.0.10", - "@multiformats/mafmt": "^12.0.0", - "@multiformats/multiaddr": "^12.0.0", - "abortable-iterator": "^5.0.1", - "any-signal": "^4.1.1", - "datastore-core": "^9.0.0", - "interface-datastore": "^8.0.0", - "it-all": "^3.0.1", - "it-drain": "^3.0.1", - "it-filter": "^3.0.1", - "it-first": "^3.0.1", - "it-handshake": "^4.1.3", - "it-length-prefixed": "^9.0.1", - "it-map": "^3.0.2", - "it-merge": "^3.0.0", - "it-pair": "^2.0.2", - "it-parallel": "^3.0.0", - "it-pb-stream": "^4.0.1", - "it-pipe": "^3.0.1", - "it-stream-types": "^2.0.1", - "merge-options": "^3.0.4", - "multiformats": "^11.0.0", - "p-defer": "^4.0.0", - "p-queue": "^7.3.4", - "p-retry": "^5.0.0", - "private-ip": "^3.0.0", - "protons-runtime": "^5.0.0", - "rate-limiter-flexible": "^2.3.11", - "uint8arraylist": "^2.3.2", - "uint8arrays": "^4.0.2", - "wherearewe": "^2.0.0", - "xsalsa20": "^1.1.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/long": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", - "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==", - "peer": true - }, - "node_modules/@waku/peer-exchange/node_modules/protobufjs": { - "version": "7.2.4", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.4.tgz", - "integrity": "sha512-AT+RJgD2sH8phPmCf7OUZR8xGdcJRga4+1cOaXJ64hvcSkVhNcRHOwIxUatPH15+nj59WAGTDv3LSGZPEQbJaQ==", - "hasInstallScript": true, - "peer": true, - "dependencies": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/node": ">=13.7.0", - "long": "^5.0.0" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/@waku/peer-exchange/node_modules/protons-runtime": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.0.1.tgz", - "integrity": "sha512-AwyAA3pQ4Ka4tEBMdIjLi/cRdpb322f7sgv3NruVq9yguLggzwu5eeLe1HuRPFYlI4UsVN/QK/AQXjLPVLCzTA==", - "peer": true, - "dependencies": { - "protobufjs": "^7.0.0", - "uint8arraylist": "^2.4.3" - }, - "peerDependencies": { - "uint8arraylist": "^2.3.2" - } - }, "node_modules/@waku/proto": { "version": "0.0.5", "resolved": "https://registry.npmjs.org/@waku/proto/-/proto-0.0.5.tgz", @@ -8064,12 +7021,13 @@ } }, "node_modules/@waku/react": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/@waku/react/-/react-0.0.2.tgz", - "integrity": "sha512-YL0y0W4kMqt6hhuKccy2t3jwBi4yvLz+UjDQeyDqCrlb3MfP8FE17pf1h17Ze1NUmkiq+/wwbyBH3ZiByu3g+Q==", + "version": "0.0.3-7aeb24a", + "resolved": "https://registry.npmjs.org/@waku/react/-/react-0.0.3-7aeb24a.tgz", + "integrity": "sha512-b2AYtYTGEyWQfDCoNgwlGQakP8M57b3uRQlQDkvrMbbHC9l6mkJBsxWCCa9e+ccJzrZNGqMRLFmRWzzbXNLFsQ==", "dependencies": { - "@waku/relay": "^0.0.3", - "@waku/sdk": "^0.0.16" + "@waku/interfaces": "^0.0.16", + "@waku/relay": "^0.0.4", + "@waku/sdk": "^0.0.17" }, "engines": { "node": ">=18" @@ -8078,419 +7036,17 @@ "react": "^16.8.0 || ^17 || ^18" } }, - "node_modules/@waku/react/node_modules/@chainsafe/libp2p-noise": { - "version": "11.0.4", - "resolved": "https://registry.npmjs.org/@chainsafe/libp2p-noise/-/libp2p-noise-11.0.4.tgz", - "integrity": "sha512-X7kA6a3/QPFxNFwgUJ8vubDu5qBDcDT0nhD+jL7g60IFKZu//HFH7oqsNCZa12yx0oR1fEYOR62iHDt2GHyWBQ==", - "dependencies": { - "@libp2p/crypto": "^1.0.11", - "@libp2p/interface-connection-encrypter": "^3.0.5", - "@libp2p/interface-keys": "^1.0.6", - "@libp2p/interface-metrics": "^4.0.4", - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/logger": "^2.0.5", - "@libp2p/peer-id": "^2.0.0", - "@stablelib/chacha20poly1305": "^1.0.1", - "@stablelib/hkdf": "^1.0.1", - "@stablelib/sha256": "^1.0.1", - "@stablelib/x25519": "^1.0.3", - "it-length-prefixed": "^8.0.2", - "it-pair": "^2.0.2", - "it-pb-stream": "^3.2.0", - "it-pipe": "^2.0.3", - "it-stream-types": "^1.0.4", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.3.2", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/react/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/@waku/react/node_modules/@libp2p/mplex": { - "version": "7.1.7", - "resolved": "https://registry.npmjs.org/@libp2p/mplex/-/mplex-7.1.7.tgz", - "integrity": "sha512-8eJ6HUL3bM8ck0rb/NJ04+phBUVBMocxH/kuc2Nypn8RX9ezihV7srGGhG5N7muaMwJrRbYkFhIV4GH+8WTZUg==", - "dependencies": { - "@libp2p/interface-connection": "^4.0.0", - "@libp2p/interface-stream-muxer": "^3.0.0", - "@libp2p/interfaces": "^3.2.0", - "@libp2p/logger": "^2.0.0", - "abortable-iterator": "^4.0.2", - "any-signal": "^4.0.1", - "benchmark": "^2.1.4", - "it-batched-bytes": "^1.0.0", - "it-pushable": "^3.1.0", - "it-stream-types": "^1.0.4", - "rate-limiter-flexible": "^2.3.9", - "uint8arraylist": "^2.1.1", - "uint8arrays": "^4.0.2", - "varint": "^6.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/react/node_modules/@libp2p/peer-id": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", - "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.2.0", - "multiformats": "^11.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/react/node_modules/@libp2p/websockets": { - "version": "5.0.10", - "resolved": "https://registry.npmjs.org/@libp2p/websockets/-/websockets-5.0.10.tgz", - "integrity": "sha512-q8aKm0rhDxZjc4TzDpB0quog4pViFnz+Ok+UbGEk3xXxHwT3QCxaDVPKMemMqN/1N3OahVvcodpcvFSuWmus+A==", - "dependencies": { - "@libp2p/interface-connection": "^4.0.0", - "@libp2p/interface-transport": "^2.0.0", - "@libp2p/interfaces": "^3.0.3", - "@libp2p/logger": "^2.0.0", - "@libp2p/utils": "^3.0.2", - "@multiformats/mafmt": "^12.0.0", - "@multiformats/multiaddr": "^12.0.0", - "@multiformats/multiaddr-to-uri": "^9.0.2", - "abortable-iterator": "^4.0.2", - "it-ws": "^5.0.6", - "p-defer": "^4.0.0", - "p-timeout": "^6.0.0", - "wherearewe": "^2.0.1", - "ws": "^8.12.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/react/node_modules/@multiformats/mafmt": { - "version": "12.1.5", - "resolved": "https://registry.npmjs.org/@multiformats/mafmt/-/mafmt-12.1.5.tgz", - "integrity": "sha512-hz8CreKgs99pNIfea5/BHTPY90nrVLDHgGNrrHPCe51pkO+OM95PiF43q7ivIlytU++asOxcp+FhZymIwYy6LA==", - "dependencies": { - "@multiformats/multiaddr": "^12.0.0" - } - }, - "node_modules/@waku/react/node_modules/@multiformats/multiaddr": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", - "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", - "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/@waku/react/node_modules/@waku/core": { - "version": "0.0.20", - "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.20.tgz", - "integrity": "sha512-1p8TmOvbGhUQZHKE+w1FQtmp+EDTNQEsSgrsMoSjzGVdI+XuQQ/l2aefwOuBQHIHh99+VZBQ9ut+ArstFHks/A==", - "dependencies": { - "@noble/hashes": "^1.3.0", - "@waku/interfaces": "0.0.15", - "@waku/proto": "0.0.5", - "@waku/utils": "0.0.8", - "debug": "^4.3.4", - "it-all": "^3.0.2", - "it-length-prefixed": "^9.0.1", - "it-pipe": "^3.0.1", - "p-event": "^5.0.1", - "uint8arraylist": "^2.4.3", - "uuid": "^9.0.0" - }, - "engines": { - "node": ">=16" - }, - "peerDependencies": { - "@multiformats/multiaddr": "^12.0.0", - "libp2p": "^0.42.2" - }, - "peerDependenciesMeta": { - "@multiformats/multiaddr": { - "optional": true - } - } - }, - "node_modules/@waku/react/node_modules/@waku/core/node_modules/it-length-prefixed": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", - "integrity": "sha512-ZBD8ZFLERj8d1q9CeBtk0eJ4EpeI3qwnkmWtemBSm3ZI2dM8PUweNVk5haZ2vw3EIq2uYQiabV9YwNm6EASM4A==", - "dependencies": { - "err-code": "^3.0.1", - "it-stream-types": "^2.0.1", - "uint8-varint": "^1.0.1", - "uint8arraylist": "^2.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/react/node_modules/@waku/core/node_modules/it-pipe": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/it-pipe/-/it-pipe-3.0.1.tgz", - "integrity": "sha512-sIoNrQl1qSRg2seYSBH/3QxWhJFn9PKYvOf/bHdtCBF0bnghey44VyASsWzn5dAx0DCDDABq1hZIuzKmtBZmKA==", - "dependencies": { - "it-merge": "^3.0.0", - "it-pushable": "^3.1.2", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/react/node_modules/@waku/core/node_modules/it-stream-types": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", - "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/react/node_modules/@waku/dns-discovery": { - "version": "0.0.14", - "resolved": "https://registry.npmjs.org/@waku/dns-discovery/-/dns-discovery-0.0.14.tgz", - "integrity": "sha512-S8kzLUvmqIuqLGcPAT6JAYFDrxB/TeMEihU4tsWWg7UBnxyQVH2lqkjzGxnqClrQ9XFukvlH1fhvn0AIkKg25A==", - "dependencies": { - "@libp2p/interface-peer-discovery": "^1.0.5", - "@libp2p/interfaces": "^3.3.1", - "@waku/enr": "0.0.14", - "@waku/utils": "0.0.8", - "debug": "^4.3.4", - "dns-query": "^0.11.2", - "hi-base32": "^0.5.1", - "uint8arrays": "^4.0.3" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/@waku/react/node_modules/@waku/enr": { - "version": "0.0.14", - "resolved": "https://registry.npmjs.org/@waku/enr/-/enr-0.0.14.tgz", - "integrity": "sha512-oujSa7lVZoVEL2A/xA1UQqkktkeSL7I1ivt6hsMfK/3BbsQPt4d4LchY5QG7Vahrebv2BZ+/tvckhQ2mkF3azg==", - "dependencies": { - "@ethersproject/rlp": "^5.7.0", - "@libp2p/crypto": "^1.0.17", - "@libp2p/peer-id": "^2.0.3", - "@multiformats/multiaddr": "^12.0.0", - "@noble/secp256k1": "^1.7.1", - "@waku/utils": "0.0.8", - "debug": "^4.3.4", - "js-sha3": "^0.8.0" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/@waku/react/node_modules/@waku/interfaces": { - "version": "0.0.15", - "resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.15.tgz", - "integrity": "sha512-l8MDtMtA51nWeeU36lZV07JWMLHmnn7Dm93ihS2lgqWACbhzwOEDZ3alox4T8Um7A3RmnK/WZ5U2Cprs3ukt8w==", - "engines": { - "node": ">=16" - } - }, - "node_modules/@waku/react/node_modules/@waku/sdk": { - "version": "0.0.16", - "resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.16.tgz", - "integrity": "sha512-G9R+2rwOf8DE+lzLfcM5d5IICeRmktyfH4g77aWkgsBA5GvBJoMY5vnIS1j1tqJ+J4UfGp+CggHmHW+x9li1mA==", - "dependencies": { - "@chainsafe/libp2p-noise": "^11.0.0", - "@libp2p/mplex": "^7.1.1", - "@libp2p/websockets": "^5.0.3", - "@waku/core": "0.0.20", - "@waku/dns-discovery": "0.0.14", - "@waku/relay": "0.0.3", - "@waku/utils": "0.0.8", - "libp2p": "^0.42.2" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/@waku/react/node_modules/any-signal": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/any-signal/-/any-signal-4.1.1.tgz", - "integrity": "sha512-iADenERppdC+A2YKbOXXB2WUeABLaM6qnpZ70kZbPZ1cZMMJ7eF+3CaYm+/PhBizgkzlvssC7QuHS30oOiQYWA==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/react/node_modules/it-batched-bytes": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/it-batched-bytes/-/it-batched-bytes-1.0.1.tgz", - "integrity": "sha512-ptBiZ0Mh3kJYySpG0pCS7JgvWhaAW1fGfKDVFtNIuNTA+bpSlXINvD5H3b14ZlJbnJFzFzRSCSZ10E1nH4z/WQ==", - "dependencies": { - "it-stream-types": "^1.0.4", - "p-defer": "^4.0.0", - "uint8arraylist": "^2.4.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/react/node_modules/it-merge": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.1.tgz", - "integrity": "sha512-I6hjU1ABO+k3xY1H6JtCSDXvUME88pxIXSgKeT4WI5rPYbQzpr98ldacVuG95WbjaJxKl6Qot6lUdxduLBQPHA==", - "dependencies": { - "it-pushable": "^3.1.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/react/node_modules/it-pb-stream": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/it-pb-stream/-/it-pb-stream-3.2.1.tgz", - "integrity": "sha512-vKE04Zv5MUcwxPNE9bIEfYK3rd/Klj5ORGD1D8Bn5f0mbCLGfouSrqZP1Jntg2osqQg4BN5dKKS2BbfwyGUI3Q==", - "dependencies": { - "err-code": "^3.0.1", - "it-length-prefixed": "^9.0.0", - "it-pushable": "^3.1.2", - "it-stream-types": "^1.0.4", - "protons-runtime": "^5.0.0", - "uint8-varint": "^1.0.6", - "uint8arraylist": "^2.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/react/node_modules/it-pb-stream/node_modules/it-length-prefixed": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", - "integrity": "sha512-ZBD8ZFLERj8d1q9CeBtk0eJ4EpeI3qwnkmWtemBSm3ZI2dM8PUweNVk5haZ2vw3EIq2uYQiabV9YwNm6EASM4A==", - "dependencies": { - "err-code": "^3.0.1", - "it-stream-types": "^2.0.1", - "uint8-varint": "^1.0.1", - "uint8arraylist": "^2.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/react/node_modules/it-pb-stream/node_modules/it-length-prefixed/node_modules/it-stream-types": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", - "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/react/node_modules/it-ws": { - "version": "5.0.6", - "resolved": "https://registry.npmjs.org/it-ws/-/it-ws-5.0.6.tgz", - "integrity": "sha512-TEEJQaGtkxgP/nGVq8dq48nPT85Afu8kwwvtDFLj4rQLWRhZcb26RWdXLdn9qhXkWPiWbK5H7JWBW1Bebj/SuQ==", - "dependencies": { - "event-iterator": "^2.0.0", - "iso-url": "^1.1.2", - "it-stream-types": "^1.0.2", - "uint8arrays": "^4.0.2", - "ws": "^8.4.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/react/node_modules/long": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", - "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" - }, - "node_modules/@waku/react/node_modules/protobufjs": { - "version": "7.2.4", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.4.tgz", - "integrity": "sha512-AT+RJgD2sH8phPmCf7OUZR8xGdcJRga4+1cOaXJ64hvcSkVhNcRHOwIxUatPH15+nj59WAGTDv3LSGZPEQbJaQ==", - "hasInstallScript": true, - "dependencies": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/node": ">=13.7.0", - "long": "^5.0.0" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/@waku/react/node_modules/protons-runtime": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.0.1.tgz", - "integrity": "sha512-AwyAA3pQ4Ka4tEBMdIjLi/cRdpb322f7sgv3NruVq9yguLggzwu5eeLe1HuRPFYlI4UsVN/QK/AQXjLPVLCzTA==", - "dependencies": { - "protobufjs": "^7.0.0", - "uint8arraylist": "^2.4.3" - }, - "peerDependencies": { - "uint8arraylist": "^2.3.2" - } - }, "node_modules/@waku/relay": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/@waku/relay/-/relay-0.0.3.tgz", - "integrity": "sha512-KDcfuOnTu/8HjNTwPXeVyd+qEIPZ7AXH0p4EwbfiucHbYWy7ahpljYz1fExwG7nKFsZ9uKtB7QGBBDy1ghKMCA==", + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/@waku/relay/-/relay-0.0.4.tgz", + "integrity": "sha512-njNL5VagqsXj0yq5XWCtPX6cbfzOTLUzLSltob/tSlPNXQCLMnEKHXfHaoYxTIRaq7gZVr2ZnpIkkt0SCw5pMw==", "dependencies": { - "@chainsafe/libp2p-gossipsub": "^6.1.0", + "@chainsafe/libp2p-gossipsub": "^9.1.0", "@noble/hashes": "^1.3.0", - "@waku/core": "0.0.20", - "@waku/interfaces": "0.0.15", + "@waku/core": "0.0.21", + "@waku/interfaces": "0.0.16", "@waku/proto": "0.0.5", - "@waku/utils": "0.0.8", + "@waku/utils": "0.0.9", "chai": "^4.3.7", "debug": "^4.3.4", "fast-check": "^3.8.1" @@ -8499,203 +7055,35 @@ "node": ">=16" } }, - "node_modules/@waku/relay/node_modules/@chainsafe/libp2p-gossipsub": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/@chainsafe/libp2p-gossipsub/-/libp2p-gossipsub-6.3.0.tgz", - "integrity": "sha512-yRgMB5JpyPROjmhOeOmzJUAKci19qBEnpH80201f8JkkviUJo7+X8i3MUkammlbFg0VhaTKBT98Osbko9+rT1w==", - "dependencies": { - "@libp2p/crypto": "^1.0.3", - "@libp2p/interface-connection": "^4.0.0", - "@libp2p/interface-connection-manager": "^1.3.0", - "@libp2p/interface-keys": "^1.0.3", - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interface-peer-store": "^1.2.2", - "@libp2p/interface-pubsub": "^3.0.0", - "@libp2p/interface-registrar": "^2.0.3", - "@libp2p/interfaces": "^3.2.0", - "@libp2p/logger": "^2.0.0", - "@libp2p/peer-id": "^2.0.0", - "@libp2p/peer-record": "^5.0.0", - "@libp2p/pubsub": "^6.0.0", - "@libp2p/topology": "^4.0.0", - "@multiformats/multiaddr": "^12.0.0", - "abortable-iterator": "^4.0.2", - "denque": "^1.5.0", - "it-length-prefixed": "^8.0.2", - "it-pipe": "^2.0.4", - "it-pushable": "^3.1.0", - "multiformats": "^11.0.0", - "protobufjs": "^6.11.2", - "uint8arraylist": "^2.3.2", - "uint8arrays": "^4.0.2" - }, - "engines": { - "npm": ">=8.7.0" - } - }, - "node_modules/@waku/relay/node_modules/@chainsafe/libp2p-gossipsub/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/@waku/relay/node_modules/@libp2p/peer-id": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", - "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.2.0", - "multiformats": "^11.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/relay/node_modules/@libp2p/pubsub": { - "version": "6.0.6", - "resolved": "https://registry.npmjs.org/@libp2p/pubsub/-/pubsub-6.0.6.tgz", - "integrity": "sha512-/JU4xvtZIYDxOyiHIk4MlpnAJuqfZsabDP+4f59QlXNsppOmiIujaDhN3eFBFIKG29XDSgHZBzKMLK+XsB8O5g==", - "dependencies": { - "@libp2p/crypto": "^1.0.0", - "@libp2p/interface-connection": "^4.0.0", - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interface-pubsub": "^3.0.0", - "@libp2p/interface-registrar": "^2.0.0", - "@libp2p/interfaces": "^3.2.0", - "@libp2p/logger": "^2.0.0", - "@libp2p/peer-collections": "^3.0.0", - "@libp2p/peer-id": "^2.0.0", - "@libp2p/topology": "^4.0.0", - "abortable-iterator": "^4.0.2", - "it-length-prefixed": "^9.0.0", - "it-pipe": "^3.0.0", - "it-pushable": "^3.0.0", - "multiformats": "^11.0.0", - "p-queue": "^7.2.0", - "uint8arraylist": "^2.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/relay/node_modules/@libp2p/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/@waku/relay/node_modules/@libp2p/pubsub/node_modules/it-length-prefixed": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", - "integrity": "sha512-ZBD8ZFLERj8d1q9CeBtk0eJ4EpeI3qwnkmWtemBSm3ZI2dM8PUweNVk5haZ2vw3EIq2uYQiabV9YwNm6EASM4A==", - "dependencies": { - "err-code": "^3.0.1", - "it-stream-types": "^2.0.1", - "uint8-varint": "^1.0.1", - "uint8arraylist": "^2.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/relay/node_modules/@libp2p/pubsub/node_modules/it-length-prefixed/node_modules/it-stream-types": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", - "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/relay/node_modules/@libp2p/pubsub/node_modules/it-merge": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.1.tgz", - "integrity": "sha512-I6hjU1ABO+k3xY1H6JtCSDXvUME88pxIXSgKeT4WI5rPYbQzpr98ldacVuG95WbjaJxKl6Qot6lUdxduLBQPHA==", - "dependencies": { - "it-pushable": "^3.1.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/relay/node_modules/@libp2p/pubsub/node_modules/it-pipe": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/it-pipe/-/it-pipe-3.0.1.tgz", - "integrity": "sha512-sIoNrQl1qSRg2seYSBH/3QxWhJFn9PKYvOf/bHdtCBF0bnghey44VyASsWzn5dAx0DCDDABq1hZIuzKmtBZmKA==", - "dependencies": { - "it-merge": "^3.0.0", - "it-pushable": "^3.1.2", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/relay/node_modules/@libp2p/pubsub/node_modules/it-pipe/node_modules/it-stream-types": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", - "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@waku/relay/node_modules/@multiformats/multiaddr": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", - "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", + "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", + "optional": true, + "peer": true, "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", + "multiformats": "^12.0.1", "uint8arrays": "^4.0.2", "varint": "^6.0.0" }, "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" + "node": ">=18.0.0", + "npm": ">=8.6.0" } }, "node_modules/@waku/relay/node_modules/@waku/core": { - "version": "0.0.20", - "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.20.tgz", - "integrity": "sha512-1p8TmOvbGhUQZHKE+w1FQtmp+EDTNQEsSgrsMoSjzGVdI+XuQQ/l2aefwOuBQHIHh99+VZBQ9ut+ArstFHks/A==", + "version": "0.0.21", + "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.21.tgz", + "integrity": "sha512-o42TIfOWNcO6PMYUkfJcNpDQ1xrO3ZOSDcuLWwsNd2yVTRp2f5hVcvf6XX9pM+uRhEj6RqS06SB4PKCmLqshfw==", "dependencies": { "@noble/hashes": "^1.3.0", - "@waku/interfaces": "0.0.15", + "@waku/interfaces": "0.0.16", "@waku/proto": "0.0.5", - "@waku/utils": "0.0.8", + "@waku/utils": "0.0.9", "debug": "^4.3.4", "it-all": "^3.0.2", "it-length-prefixed": "^9.0.1", @@ -8709,7 +7097,7 @@ }, "peerDependencies": { "@multiformats/multiaddr": "^12.0.0", - "libp2p": "^0.42.2" + "libp2p": "^0.45.9" }, "peerDependenciesMeta": { "@multiformats/multiaddr": { @@ -8717,65 +7105,17 @@ } } }, - "node_modules/@waku/relay/node_modules/@waku/core/node_modules/it-length-prefixed": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", - "integrity": "sha512-ZBD8ZFLERj8d1q9CeBtk0eJ4EpeI3qwnkmWtemBSm3ZI2dM8PUweNVk5haZ2vw3EIq2uYQiabV9YwNm6EASM4A==", - "dependencies": { - "err-code": "^3.0.1", - "it-stream-types": "^2.0.1", - "uint8-varint": "^1.0.1", - "uint8arraylist": "^2.0.0", - "uint8arrays": "^4.0.2" - }, + "node_modules/@waku/relay/node_modules/multiformats": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", + "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", + "optional": true, + "peer": true, "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, - "node_modules/@waku/relay/node_modules/@waku/core/node_modules/it-merge": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.1.tgz", - "integrity": "sha512-I6hjU1ABO+k3xY1H6JtCSDXvUME88pxIXSgKeT4WI5rPYbQzpr98ldacVuG95WbjaJxKl6Qot6lUdxduLBQPHA==", - "dependencies": { - "it-pushable": "^3.1.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/relay/node_modules/@waku/core/node_modules/it-pipe": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/it-pipe/-/it-pipe-3.0.1.tgz", - "integrity": "sha512-sIoNrQl1qSRg2seYSBH/3QxWhJFn9PKYvOf/bHdtCBF0bnghey44VyASsWzn5dAx0DCDDABq1hZIuzKmtBZmKA==", - "dependencies": { - "it-merge": "^3.0.0", - "it-pushable": "^3.1.2", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/relay/node_modules/@waku/core/node_modules/it-stream-types": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", - "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/relay/node_modules/@waku/interfaces": { - "version": "0.0.15", - "resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.15.tgz", - "integrity": "sha512-l8MDtMtA51nWeeU36lZV07JWMLHmnn7Dm93ihS2lgqWACbhzwOEDZ3alox4T8Um7A3RmnK/WZ5U2Cprs3ukt8w==", - "engines": { - "node": ">=16" - } - }, "node_modules/@waku/sdk": { "version": "0.0.17", "resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.17.tgz", @@ -8795,218 +7135,12 @@ "node": ">=16" } }, - "node_modules/@waku/sdk/node_modules/@libp2p/interface-address-manager": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-address-manager/-/interface-address-manager-3.0.1.tgz", - "integrity": "sha512-8N1nfOtZ/CnZ/cL0Bnj59fhcSs7orI4evmNVsv2DM1VaNHXqc9tPy8JmQE2HRjrUXeUPwtzzG2eoP7l0ZYdC0g==", - "dependencies": { - "@multiformats/multiaddr": "^12.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/@libp2p/interface-connection": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-5.1.1.tgz", - "integrity": "sha512-ytknMbuuNW72LYMmTP7wFGP5ZTaUSGBCmV9f+uQ55XPcFHtKXLtKWVU/HE8IqPmwtyU8AO7veGoJ/qStMHNRVA==", - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^12.0.0", - "it-stream-types": "^2.0.1", - "uint8arraylist": "^2.4.3" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/@libp2p/interface-connection-encrypter": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-encrypter/-/interface-connection-encrypter-4.0.1.tgz", - "integrity": "sha512-fOtZpaFL2f5vID/RaBpVMAR9OKx5DmDT/yMEFTCarNc6Bb37fWwClI4WNCtoVbDQwcnr4H4ZIo0+9yCxjEIjjQ==", - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/@libp2p/interface-connection-manager": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-manager/-/interface-connection-manager-3.0.1.tgz", - "integrity": "sha512-7ZAvzOWfHs3BtaoZoWsT+Ks1bo6HjyRMq1SJdFWDJ+ZkYEzrf6sdtQwsX8eXhwRDO6PuzpUDqLZ9TNQ2GVKEEw==", - "dependencies": { - "@libp2p/interface-connection": "^5.0.0", - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.0.0", - "@libp2p/peer-collections": "^3.0.1", - "@multiformats/multiaddr": "^12.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/@libp2p/interface-libp2p": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@libp2p/interface-libp2p/-/interface-libp2p-3.2.0.tgz", - "integrity": "sha512-Vow6xNdjpQ0M/Kt3EDz1qE/Os5OZUyhFt0YTPU5Fp3/kXw/6ocsxYq/Bzird/96gjUjU5/i+Vukn4WgctJf55Q==", - "dependencies": { - "@libp2p/interface-connection": "^5.0.0", - "@libp2p/interface-content-routing": "^2.0.0", - "@libp2p/interface-keychain": "^2.0.0", - "@libp2p/interface-metrics": "^4.0.0", - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interface-peer-info": "^1.0.0", - "@libp2p/interface-peer-routing": "^1.0.0", - "@libp2p/interface-peer-store": "^2.0.0", - "@libp2p/interface-registrar": "^2.0.0", - "@libp2p/interface-transport": "^4.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^12.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/@libp2p/interface-peer-discovery": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-discovery/-/interface-peer-discovery-2.0.0.tgz", - "integrity": "sha512-Mien5t3Tc+ntP5p50acKUYJN90ouMnq1lOTQDKQNvGcXoajG8A1AEYLocnzVia/MXiexuj6S/Q28WBBacoOlBg==", - "dependencies": { - "@libp2p/interface-peer-info": "^1.0.0", - "@libp2p/interfaces": "^3.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/@libp2p/interface-peer-store": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-store/-/interface-peer-store-2.0.4.tgz", - "integrity": "sha512-jNvBK3O1JPJqSiDN2vkb+PV8bTPnYdP54nxsLtut1BWukNm610lwzwleV7CetFI4bJCn6g+BgBvvq8fdADy0tA==", - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@multiformats/multiaddr": "^12.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/@libp2p/interface-pubsub": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-pubsub/-/interface-pubsub-4.0.1.tgz", - "integrity": "sha512-PIc5V/J98Yr1ZTHh8lQshP7GdVUh+pKNIqj6wGaDmXs8oQLB40qKCjcpHQNlAnv2e1Bh9mEH2GXv5sGZOA651A==", - "dependencies": { - "@libp2p/interface-connection": "^5.0.0", - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.0.0", - "it-pushable": "^3.1.3", - "uint8arraylist": "^2.4.3" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/@libp2p/interface-stream-muxer": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/@libp2p/interface-stream-muxer/-/interface-stream-muxer-4.1.2.tgz", - "integrity": "sha512-dQJcn67UaAa8YQFRJDhbo4uT453z/2lCzD/ZwTk1YOqJxATXbXgVcB8dXDQFEUiUX3ZjVQ1IBu+NlQd+IZ++zw==", - "dependencies": { - "@libp2p/interface-connection": "^5.0.0", - "@libp2p/interfaces": "^3.0.0", - "@libp2p/logger": "^2.0.7", - "abortable-iterator": "^5.0.1", - "any-signal": "^4.1.1", - "it-pushable": "^3.1.3", - "it-stream-types": "^2.0.1", - "uint8arraylist": "^2.4.3" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/@libp2p/interface-transport": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@libp2p/interface-transport/-/interface-transport-4.0.3.tgz", - "integrity": "sha512-jXFQ3blhFMEyQbFw/U8Glo3F/fUO5LEaX5HIdeqNpCliK+XnwTfpkcaG+WsJrcApWK4FFyUHc+GGqiWR0hAFFg==", - "dependencies": { - "@libp2p/interface-connection": "^5.0.0", - "@libp2p/interface-stream-muxer": "^4.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^12.0.0", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/@libp2p/peer-id": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", - "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.2.0", - "multiformats": "^11.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/@libp2p/peer-store": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@libp2p/peer-store/-/peer-store-8.2.1.tgz", - "integrity": "sha512-mr0GsZ7zucta3l5EblOGrBeVgdTVujRJ9WC+FmnYErQe023SRJevAZEv1WeMinMGVGL6CY+gmWw0oLpExu9AWg==", - "dependencies": { - "@libp2p/interface-libp2p": "^3.1.0", - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interface-peer-store": "^2.0.4", - "@libp2p/interfaces": "^3.2.0", - "@libp2p/logger": "^2.0.7", - "@libp2p/peer-collections": "^3.0.1", - "@libp2p/peer-id": "^2.0.0", - "@libp2p/peer-id-factory": "^2.0.0", - "@libp2p/peer-record": "^5.0.3", - "@multiformats/multiaddr": "^12.0.0", - "interface-datastore": "^8.0.0", - "it-all": "^3.0.2", - "mortice": "^3.0.1", - "multiformats": "^11.0.0", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.1.1", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/@multiformats/mafmt": { - "version": "12.1.5", - "resolved": "https://registry.npmjs.org/@multiformats/mafmt/-/mafmt-12.1.5.tgz", - "integrity": "sha512-hz8CreKgs99pNIfea5/BHTPY90nrVLDHgGNrrHPCe51pkO+OM95PiF43q7ivIlytU++asOxcp+FhZymIwYy6LA==", - "dependencies": { - "@multiformats/multiaddr": "^12.0.0" - } - }, "node_modules/@waku/sdk/node_modules/@multiformats/multiaddr": { "version": "12.1.3", "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", + "optional": true, + "peer": true, "dependencies": { "@chainsafe/is-ip": "^2.0.1", "@chainsafe/netmask": "^2.0.0", @@ -9051,26 +7185,7 @@ } } }, - "node_modules/@waku/sdk/node_modules/@waku/relay": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/@waku/relay/-/relay-0.0.4.tgz", - "integrity": "sha512-njNL5VagqsXj0yq5XWCtPX6cbfzOTLUzLSltob/tSlPNXQCLMnEKHXfHaoYxTIRaq7gZVr2ZnpIkkt0SCw5pMw==", - "dependencies": { - "@chainsafe/libp2p-gossipsub": "^9.1.0", - "@noble/hashes": "^1.3.0", - "@waku/core": "0.0.21", - "@waku/interfaces": "0.0.16", - "@waku/proto": "0.0.5", - "@waku/utils": "0.0.9", - "chai": "^4.3.7", - "debug": "^4.3.4", - "fast-check": "^3.8.1" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/@waku/sdk/node_modules/@waku/utils": { + "node_modules/@waku/utils": { "version": "0.0.9", "resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.9.tgz", "integrity": "sha512-afXcqgjy0honWW0qOM/EHMFEm1tQxyzIyZUSo6eAUysACy3/kSkZxHJeKDFjwKWaVW46dZo0dQQ6734xKMU5LA==", @@ -9082,316 +7197,6 @@ "node": ">=16" } }, - "node_modules/@waku/sdk/node_modules/abortable-iterator": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/abortable-iterator/-/abortable-iterator-5.0.1.tgz", - "integrity": "sha512-hlZ5Z8UwqrKsJcelVPEqDduZowJPBQJ9ZhBC2FXpja3lXy8X6MoI5uMzIgmrA8+3jcVnp8TF/tx+IBBqYJNUrg==", - "dependencies": { - "get-iterator": "^2.0.0", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/any-signal": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/any-signal/-/any-signal-4.1.1.tgz", - "integrity": "sha512-iADenERppdC+A2YKbOXXB2WUeABLaM6qnpZ70kZbPZ1cZMMJ7eF+3CaYm+/PhBizgkzlvssC7QuHS30oOiQYWA==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/datastore-core": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/datastore-core/-/datastore-core-9.2.0.tgz", - "integrity": "sha512-r3HZCdRTPXbHsiakhbYCtdGix9/a0G7huwYa9Ive+pIN7BjkdcLQseQ+iCMsECcocwHu23rs2qzdHKSflbVSng==", - "dependencies": { - "@libp2p/logger": "^2.0.0", - "err-code": "^3.0.1", - "interface-store": "^5.0.0", - "it-all": "^3.0.1", - "it-drain": "^3.0.1", - "it-filter": "^3.0.0", - "it-map": "^3.0.1", - "it-merge": "^3.0.0", - "it-pipe": "^3.0.0", - "it-pushable": "^3.0.0", - "it-sort": "^3.0.1", - "it-take": "^3.0.1", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/interface-datastore": { - "version": "8.2.3", - "resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-8.2.3.tgz", - "integrity": "sha512-5U6BfK7cR4oSngm4pqYZBBAX7tpLI4YCOa3Ifz/EJEaEV2mmlloH5qP8ADWCVFk6vP1MPT925JJkt3kFIi7iWQ==", - "dependencies": { - "interface-store": "^5.0.0", - "nanoid": "^4.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/interface-store": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/interface-store/-/interface-store-5.1.2.tgz", - "integrity": "sha512-q2sLoqC+UdaWnjwGyghsH0jwqqVk226lsG207e3QwPB8sAZYmYIWUnJwJH3JjFNNRV9e6CUTmm+gDO0Xg4KRiw==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/it-drain": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/it-drain/-/it-drain-3.0.2.tgz", - "integrity": "sha512-0hJvS/4Ktt9wT/bktmovjjMAY8r6FCsXqpL3zjqBBNwoL21VgQfguEnwbLSGuCip9Zq1vfU43cbHkmaRZdBfOg==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/it-filter": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/it-filter/-/it-filter-3.0.2.tgz", - "integrity": "sha512-Hhzp5anX7tmKOBqTPasBYTPlq7l4Xk4lMBfLB5GfKZnL9WCc6pr8M9Waud4nHh3s9neb4xwDWk7KQsEapgWyJw==", - "dependencies": { - "it-peekable": "^3.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/it-first": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/it-first/-/it-first-3.0.2.tgz", - "integrity": "sha512-QPLAM2BOkait/o6W25HvP0XTEv+Os3Ce4wET//ADNaPv+WYAHWfQwJuMu5FB8X066hA1F7LEMnULvTpE7/4yQw==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/it-length-prefixed": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", - "integrity": "sha512-ZBD8ZFLERj8d1q9CeBtk0eJ4EpeI3qwnkmWtemBSm3ZI2dM8PUweNVk5haZ2vw3EIq2uYQiabV9YwNm6EASM4A==", - "dependencies": { - "err-code": "^3.0.1", - "it-stream-types": "^2.0.1", - "uint8-varint": "^1.0.1", - "uint8arraylist": "^2.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/it-map": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/it-map/-/it-map-3.0.3.tgz", - "integrity": "sha512-Yf89GJYeYUZb2NZzWkvFHm3IBXlxro74i2vGRmpf8BYau3BhlaS37ieDenJEdYzkTGJhL/EbM1jPPw/KGVVVIw==", - "dependencies": { - "it-peekable": "^3.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/it-merge": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.1.tgz", - "integrity": "sha512-I6hjU1ABO+k3xY1H6JtCSDXvUME88pxIXSgKeT4WI5rPYbQzpr98ldacVuG95WbjaJxKl6Qot6lUdxduLBQPHA==", - "dependencies": { - "it-pushable": "^3.1.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/it-pipe": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/it-pipe/-/it-pipe-3.0.1.tgz", - "integrity": "sha512-sIoNrQl1qSRg2seYSBH/3QxWhJFn9PKYvOf/bHdtCBF0bnghey44VyASsWzn5dAx0DCDDABq1hZIuzKmtBZmKA==", - "dependencies": { - "it-merge": "^3.0.0", - "it-pushable": "^3.1.2", - "it-stream-types": "^2.0.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/it-sort": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/it-sort/-/it-sort-3.0.2.tgz", - "integrity": "sha512-gRvHyXkn13hyXIoiGkvg7Mf1Yg8JUB+ArKjMrGCYfd/4MQ8mQlMCOE6H8itjshwdVEAUDrppb786zODndYyjSg==", - "dependencies": { - "it-all": "^3.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/it-stream-types": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", - "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/it-take": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/it-take/-/it-take-3.0.2.tgz", - "integrity": "sha512-HgtnQYW45iV+lOJIk54dhKWNi+puAeutUehIWQE9tRkM91nlCn0abbDU2xG/FZV3cVnEG4hGwxOEImnMMKwhmg==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/libp2p": { - "version": "0.45.9", - "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-0.45.9.tgz", - "integrity": "sha512-cf2dCf8naZqQoDw3xxSEZ6rKgQ8BBne5iWgtIKHAYrCvL+ulshz72jNgeAG0FQ/jjRD3yzmUuwoMaLHj6gf7Bw==", - "dependencies": { - "@achingbrain/nat-port-mapper": "^1.0.9", - "@libp2p/crypto": "^1.0.17", - "@libp2p/interface-address-manager": "^3.0.0", - "@libp2p/interface-connection": "^5.1.1", - "@libp2p/interface-connection-encrypter": "^4.0.0", - "@libp2p/interface-connection-gater": "^3.0.0", - "@libp2p/interface-connection-manager": "^3.0.0", - "@libp2p/interface-content-routing": "^2.1.0", - "@libp2p/interface-keychain": "^2.0.4", - "@libp2p/interface-libp2p": "^3.2.0", - "@libp2p/interface-metrics": "^4.0.0", - "@libp2p/interface-peer-discovery": "^2.0.0", - "@libp2p/interface-peer-id": "^2.0.1", - "@libp2p/interface-peer-info": "^1.0.3", - "@libp2p/interface-peer-routing": "^1.1.0", - "@libp2p/interface-peer-store": "^2.0.4", - "@libp2p/interface-pubsub": "^4.0.0", - "@libp2p/interface-record": "^2.0.6", - "@libp2p/interface-registrar": "^2.0.3", - "@libp2p/interface-stream-muxer": "^4.0.0", - "@libp2p/interface-transport": "^4.0.0", - "@libp2p/interfaces": "^3.2.0", - "@libp2p/keychain": "^2.0.0", - "@libp2p/logger": "^2.1.1", - "@libp2p/multistream-select": "^3.1.8", - "@libp2p/peer-collections": "^3.0.0", - "@libp2p/peer-id": "^2.0.0", - "@libp2p/peer-id-factory": "^2.0.0", - "@libp2p/peer-record": "^5.0.0", - "@libp2p/peer-store": "^8.2.0", - "@libp2p/topology": "^4.0.1", - "@libp2p/tracked-map": "^3.0.0", - "@libp2p/utils": "^3.0.10", - "@multiformats/mafmt": "^12.0.0", - "@multiformats/multiaddr": "^12.0.0", - "abortable-iterator": "^5.0.1", - "any-signal": "^4.1.1", - "datastore-core": "^9.0.0", - "interface-datastore": "^8.0.0", - "it-all": "^3.0.1", - "it-drain": "^3.0.1", - "it-filter": "^3.0.1", - "it-first": "^3.0.1", - "it-handshake": "^4.1.3", - "it-length-prefixed": "^9.0.1", - "it-map": "^3.0.2", - "it-merge": "^3.0.0", - "it-pair": "^2.0.2", - "it-parallel": "^3.0.0", - "it-pb-stream": "^4.0.1", - "it-pipe": "^3.0.1", - "it-stream-types": "^2.0.1", - "merge-options": "^3.0.4", - "multiformats": "^11.0.0", - "p-defer": "^4.0.0", - "p-queue": "^7.3.4", - "p-retry": "^5.0.0", - "private-ip": "^3.0.0", - "protons-runtime": "^5.0.0", - "rate-limiter-flexible": "^2.3.11", - "uint8arraylist": "^2.3.2", - "uint8arrays": "^4.0.2", - "wherearewe": "^2.0.0", - "xsalsa20": "^1.1.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/long": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", - "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" - }, - "node_modules/@waku/sdk/node_modules/protobufjs": { - "version": "7.2.4", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.4.tgz", - "integrity": "sha512-AT+RJgD2sH8phPmCf7OUZR8xGdcJRga4+1cOaXJ64hvcSkVhNcRHOwIxUatPH15+nj59WAGTDv3LSGZPEQbJaQ==", - "hasInstallScript": true, - "dependencies": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/node": ">=13.7.0", - "long": "^5.0.0" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/@waku/sdk/node_modules/protons-runtime": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.0.1.tgz", - "integrity": "sha512-AwyAA3pQ4Ka4tEBMdIjLi/cRdpb322f7sgv3NruVq9yguLggzwu5eeLe1HuRPFYlI4UsVN/QK/AQXjLPVLCzTA==", - "dependencies": { - "protobufjs": "^7.0.0", - "uint8arraylist": "^2.4.3" - }, - "peerDependencies": { - "uint8arraylist": "^2.3.2" - } - }, - "node_modules/@waku/utils": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.8.tgz", - "integrity": "sha512-pMs06f+P+jBq8v4Hyek7VTkCB0Suxc+baXqNfqTdM7xqzmwnCjfi1q9ummCln17Q3+6lVsbwHzUfikGTyoMeow==", - "dependencies": { - "debug": "^4.3.4", - "uint8arrays": "^4.0.3" - }, - "engines": { - "node": ">=16" - } - }, "node_modules/@webassemblyjs/ast": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", @@ -9557,12 +7362,25 @@ "dev": true }, "node_modules/abortable-iterator": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/abortable-iterator/-/abortable-iterator-4.0.2.tgz", - "integrity": "sha512-SJGELER5yXr9v3kiL6mT5RZ1qlyJ9hV4nm34+vfsdIM1lp3zENQvpsqKgykpFLgRMUn3lzlizLTpiOASW05/+g==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/abortable-iterator/-/abortable-iterator-5.0.1.tgz", + "integrity": "sha512-hlZ5Z8UwqrKsJcelVPEqDduZowJPBQJ9ZhBC2FXpja3lXy8X6MoI5uMzIgmrA8+3jcVnp8TF/tx+IBBqYJNUrg==", "dependencies": { "get-iterator": "^2.0.0", - "it-stream-types": "^1.0.3" + "it-stream-types": "^2.0.1" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/abortable-iterator/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" } }, "node_modules/accepts": { @@ -9824,9 +7642,13 @@ } }, "node_modules/any-signal": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/any-signal/-/any-signal-3.0.1.tgz", - "integrity": "sha512-xgZgJtKEa9YmDqXodIgl7Fl1C8yNXr8w6gXjqK3LW4GcEiYT+6AQfJSE/8SPsEpLLmcvbv8YU+qet94UewHxqg==" + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/any-signal/-/any-signal-4.1.1.tgz", + "integrity": "sha512-iADenERppdC+A2YKbOXXB2WUeABLaM6qnpZ70kZbPZ1cZMMJ7eF+3CaYm+/PhBizgkzlvssC7QuHS30oOiQYWA==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } }, "node_modules/anymatch": { "version": "3.1.3", @@ -12093,21 +9915,22 @@ } }, "node_modules/datastore-core": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/datastore-core/-/datastore-core-8.0.4.tgz", - "integrity": "sha512-oBA6a024NFXJOTu+w9nLAimfy4wCYUhdE/5XQGtdKt1BmCVtPYW10GORvVT3pdZBcse6k/mVcBl+hjkXIlm65A==", + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/datastore-core/-/datastore-core-9.2.0.tgz", + "integrity": "sha512-r3HZCdRTPXbHsiakhbYCtdGix9/a0G7huwYa9Ive+pIN7BjkdcLQseQ+iCMsECcocwHu23rs2qzdHKSflbVSng==", "dependencies": { "@libp2p/logger": "^2.0.0", "err-code": "^3.0.1", - "interface-datastore": "^7.0.0", - "it-all": "^2.0.0", - "it-drain": "^2.0.0", - "it-filter": "^2.0.0", - "it-map": "^2.0.0", - "it-merge": "^2.0.0", - "it-pipe": "^2.0.3", + "interface-store": "^5.0.0", + "it-all": "^3.0.1", + "it-drain": "^3.0.1", + "it-filter": "^3.0.0", + "it-map": "^3.0.1", + "it-merge": "^3.0.0", + "it-pipe": "^3.0.0", "it-pushable": "^3.0.0", - "it-take": "^2.0.0", + "it-sort": "^3.0.1", + "it-take": "^3.0.1", "uint8arrays": "^4.0.2" }, "engines": { @@ -12115,15 +9938,6 @@ "npm": ">=7.0.0" } }, - "node_modules/datastore-core/node_modules/it-all": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/it-all/-/it-all-2.0.0.tgz", - "integrity": "sha512-I/yi9ogTY59lFxtfsDSlI9w9QZtC/5KJt6g7CPPBJJh2xql2ZS7Ghcp9hoqDDbc4QfwQvtx8Loy0zlKQ8H5gFg==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -13655,6 +11469,7 @@ "version": "3.3.0", "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "dev": true, "engines": { "node": ">=0.8.x" } @@ -13801,11 +11616,6 @@ "integrity": "sha512-G3BSX9cfKttjr+2o1O22tYMLq0DPluZnYtq1rXumE1SpL/F/SLIfHx08WYQoWSIpeMYf8sRbJ8++71+v6Pnxfg==", "dev": true }, - "node_modules/fast-fifo": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.1.0.tgz", - "integrity": "sha512-Kl29QoNbNvn4nhDsLYjyIAaIqaJB6rBx5p3sL9VjaefJ+eMFBWVZiaoguaoZfzEKr5RhAti0UgM8703akGPJ6g==" - }, "node_modules/fast-glob": { "version": "3.2.12", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", @@ -14785,11 +12595,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/hashlru": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/hashlru/-/hashlru-2.3.0.tgz", - "integrity": "sha512-0cMsjjIC8I+D3M44pOQdsy0OHXGLVz6Z0beRuufhKa0KfaD2wGwAev6jILzXsd3/vpnNQJmWyZtIILqM1N+n5A==" - }, "node_modules/he": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", @@ -15262,11 +13067,11 @@ "dev": true }, "node_modules/interface-datastore": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-7.0.4.tgz", - "integrity": "sha512-Q8LZS/jfFFHz6XyZazLTAc078SSCoa27ZPBOfobWdpDiFO7FqPA2yskitUJIhaCgxNK8C+/lMBUTBNfVIDvLiw==", + "version": "8.2.3", + "resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-8.2.3.tgz", + "integrity": "sha512-5U6BfK7cR4oSngm4pqYZBBAX7tpLI4YCOa3Ifz/EJEaEV2mmlloH5qP8ADWCVFk6vP1MPT925JJkt3kFIi7iWQ==", "dependencies": { - "interface-store": "^3.0.0", + "interface-store": "^5.0.0", "nanoid": "^4.0.0", "uint8arrays": "^4.0.2" }, @@ -15276,9 +13081,9 @@ } }, "node_modules/interface-store": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/interface-store/-/interface-store-3.0.4.tgz", - "integrity": "sha512-OjHUuGXbH4eXSBx1TF1tTySvjLldPLzRSYYXJwrEQI+XfH5JWYZofr0gVMV4F8XTwC+4V7jomDYkvGRmDSRKqQ==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/interface-store/-/interface-store-5.1.2.tgz", + "integrity": "sha512-q2sLoqC+UdaWnjwGyghsH0jwqqVk226lsG207e3QwPB8sAZYmYIWUnJwJH3JjFNNRV9e6CUTmm+gDO0Xg4KRiw==", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" @@ -15896,36 +13701,30 @@ } }, "node_modules/it-drain": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/it-drain/-/it-drain-2.0.0.tgz", - "integrity": "sha512-oa/5iyBtRs9UW486vPpyDTC0ee3rqx5qlrPI7txIUJcqqtiO5yVozEB6LQrl5ysQYv+P3y/dlKEqwVqlCV0SEA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/it-drain/-/it-drain-3.0.2.tgz", + "integrity": "sha512-0hJvS/4Ktt9wT/bktmovjjMAY8r6FCsXqpL3zjqBBNwoL21VgQfguEnwbLSGuCip9Zq1vfU43cbHkmaRZdBfOg==", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, "node_modules/it-filter": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/it-filter/-/it-filter-2.0.0.tgz", - "integrity": "sha512-E68+zzoNNI7MxdH1T4lUTgwpCyEnymlH349Qg2mcvsqLmYRkaZLM4NfZZ0hUuH7/5DkWXubQSDOYH396va8mpg==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/it-filter/-/it-filter-3.0.2.tgz", + "integrity": "sha512-Hhzp5anX7tmKOBqTPasBYTPlq7l4Xk4lMBfLB5GfKZnL9WCc6pr8M9Waud4nHh3s9neb4xwDWk7KQsEapgWyJw==", + "dependencies": { + "it-peekable": "^3.0.0" + }, "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, "node_modules/it-first": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/it-first/-/it-first-2.0.0.tgz", - "integrity": "sha512-fzZGzVf01exFyIZXNjkpSMFr1eW2+J1K0v018tYY26Dd4f/O3pWlBTdrOBfSQRZwtI8Pst6c7eKhYczWvFs6tA==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/it-foreach": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/it-foreach/-/it-foreach-1.0.0.tgz", - "integrity": "sha512-2j5HK1P6aMwEvgL6K5nzUwOk+81B/mjt05PxiSspFEKwJnqy1LfJYlLLS6llBoM+NdoUxf6EsBCHidFGmsXvhw==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/it-first/-/it-first-3.0.2.tgz", + "integrity": "sha512-QPLAM2BOkait/o6W25HvP0XTEv+Os3Ce4wET//ADNaPv+WYAHWfQwJuMu5FB8X066hA1F7LEMnULvTpE7/4yQw==", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" @@ -15957,12 +13756,12 @@ } }, "node_modules/it-length-prefixed": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-8.0.4.tgz", - "integrity": "sha512-5OJ1lxH+IaqJB7lxe8IAIwt9UfSfsmjKJoAI/RO9djYoBDt1Jfy9PeVHUmOfqhqyu/4kJvWBFAJUaG1HhLQ12A==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", + "integrity": "sha512-ZBD8ZFLERj8d1q9CeBtk0eJ4EpeI3qwnkmWtemBSm3ZI2dM8PUweNVk5haZ2vw3EIq2uYQiabV9YwNm6EASM4A==", "dependencies": { "err-code": "^3.0.1", - "it-stream-types": "^1.0.4", + "it-stream-types": "^2.0.1", "uint8-varint": "^1.0.1", "uint8arraylist": "^2.0.0", "uint8arrays": "^4.0.2" @@ -15972,19 +13771,31 @@ "npm": ">=7.0.0" } }, + "node_modules/it-length-prefixed/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/it-map": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/it-map/-/it-map-2.0.0.tgz", - "integrity": "sha512-mLgtk/NZaN7NZ06iLrMXCA6jjhtZO0vZT5Ocsp31H+nsGI18RSPVmUbFyA1sWx7q+g92J22Sixya7T2QSSAwfA==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/it-map/-/it-map-3.0.3.tgz", + "integrity": "sha512-Yf89GJYeYUZb2NZzWkvFHm3IBXlxro74i2vGRmpf8BYau3BhlaS37ieDenJEdYzkTGJhL/EbM1jPPw/KGVVVIw==", + "dependencies": { + "it-peekable": "^3.0.0" + }, "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, "node_modules/it-merge": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-2.0.0.tgz", - "integrity": "sha512-mH4bo/ZrMoU+Wlu7ZuYPNNh9oWZ/GvYbeXZ0zll97+Rp6H4jFu98iu6v9qqXDz//RUjdO9zGh8awzMfOElsjpA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.1.tgz", + "integrity": "sha512-I6hjU1ABO+k3xY1H6JtCSDXvUME88pxIXSgKeT4WI5rPYbQzpr98ldacVuG95WbjaJxKl6Qot6lUdxduLBQPHA==", "dependencies": { "it-pushable": "^3.1.0" }, @@ -16036,22 +13847,6 @@ "npm": ">=7.0.0" } }, - "node_modules/it-pb-stream/node_modules/it-length-prefixed": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/it-length-prefixed/-/it-length-prefixed-9.0.1.tgz", - "integrity": "sha512-ZBD8ZFLERj8d1q9CeBtk0eJ4EpeI3qwnkmWtemBSm3ZI2dM8PUweNVk5haZ2vw3EIq2uYQiabV9YwNm6EASM4A==", - "dependencies": { - "err-code": "^3.0.1", - "it-stream-types": "^2.0.1", - "uint8-varint": "^1.0.1", - "uint8arraylist": "^2.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/it-pb-stream/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", @@ -16111,19 +13906,28 @@ } }, "node_modules/it-pipe": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/it-pipe/-/it-pipe-2.0.5.tgz", - "integrity": "sha512-y85nW1N6zoiTnkidr2EAyC+ZVzc7Mwt2p+xt2a2ooG1ThFakSpNw1Kxm+7F13Aivru96brJhjQVRQNU+w0yozw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/it-pipe/-/it-pipe-3.0.1.tgz", + "integrity": "sha512-sIoNrQl1qSRg2seYSBH/3QxWhJFn9PKYvOf/bHdtCBF0bnghey44VyASsWzn5dAx0DCDDABq1hZIuzKmtBZmKA==", "dependencies": { - "it-merge": "^2.0.0", - "it-pushable": "^3.1.0", - "it-stream-types": "^1.0.3" + "it-merge": "^3.0.0", + "it-pushable": "^3.1.2", + "it-stream-types": "^2.0.1" }, "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, + "node_modules/it-pipe/node_modules/it-stream-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/it-pushable": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/it-pushable/-/it-pushable-3.1.3.tgz", @@ -16147,26 +13951,17 @@ } }, "node_modules/it-sort": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/it-sort/-/it-sort-2.0.0.tgz", - "integrity": "sha512-yeAE97b5PEjCrWFUiNyR90eJdGslj8FB3cjT84rsc+mzx9lxPyR2zJkYB9ZOJoWE5MMebxqcQCLRT3OSlzo7Zg==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/it-sort/-/it-sort-3.0.2.tgz", + "integrity": "sha512-gRvHyXkn13hyXIoiGkvg7Mf1Yg8JUB+ArKjMrGCYfd/4MQ8mQlMCOE6H8itjshwdVEAUDrppb786zODndYyjSg==", "dependencies": { - "it-all": "^2.0.0" + "it-all": "^3.0.0" }, "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, - "node_modules/it-sort/node_modules/it-all": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/it-all/-/it-all-2.0.0.tgz", - "integrity": "sha512-I/yi9ogTY59lFxtfsDSlI9w9QZtC/5KJt6g7CPPBJJh2xql2ZS7Ghcp9hoqDDbc4QfwQvtx8Loy0zlKQ8H5gFg==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/it-stream-types": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-1.0.5.tgz", @@ -16177,9 +13972,9 @@ } }, "node_modules/it-take": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/it-take/-/it-take-2.0.0.tgz", - "integrity": "sha512-lN3diSTomOvYBk2K0LHAgrQ52DlQfvq8tH/+HLAFpX8Q3JwBkr/BPJEi3Z3Lf8jMmN1KOCBXvt5sXa3eW9vUmg==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/it-take/-/it-take-3.0.2.tgz", + "integrity": "sha512-HgtnQYW45iV+lOJIk54dhKWNi+puAeutUehIWQE9tRkM91nlCn0abbDU2xG/FZV3cVnEG4hGwxOEImnMMKwhmg==", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" @@ -17479,74 +15274,70 @@ } }, "node_modules/libp2p": { - "version": "0.42.2", - "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-0.42.2.tgz", - "integrity": "sha512-arTOCJEEmAFw5HjlXdULVAFs7Y/dWZmgX/qN4SzuxtSkB0pa+fqn/DIbIfpBi2BuY+QozvnARPF1xJtSdqfqJQ==", + "version": "0.45.9", + "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-0.45.9.tgz", + "integrity": "sha512-cf2dCf8naZqQoDw3xxSEZ6rKgQ8BBne5iWgtIKHAYrCvL+ulshz72jNgeAG0FQ/jjRD3yzmUuwoMaLHj6gf7Bw==", "dependencies": { - "@achingbrain/nat-port-mapper": "^1.0.3", - "@libp2p/crypto": "^1.0.4", - "@libp2p/interface-address-manager": "^2.0.0", - "@libp2p/interface-connection": "^3.0.2", - "@libp2p/interface-connection-encrypter": "^3.0.1", - "@libp2p/interface-connection-manager": "^1.1.1", - "@libp2p/interface-content-routing": "^2.0.0", - "@libp2p/interface-dht": "^2.0.0", - "@libp2p/interface-libp2p": "^1.0.0", + "@achingbrain/nat-port-mapper": "^1.0.9", + "@libp2p/crypto": "^1.0.17", + "@libp2p/interface-address-manager": "^3.0.0", + "@libp2p/interface-connection": "^5.1.1", + "@libp2p/interface-connection-encrypter": "^4.0.0", + "@libp2p/interface-connection-gater": "^3.0.0", + "@libp2p/interface-connection-manager": "^3.0.0", + "@libp2p/interface-content-routing": "^2.1.0", + "@libp2p/interface-keychain": "^2.0.4", + "@libp2p/interface-libp2p": "^3.2.0", "@libp2p/interface-metrics": "^4.0.0", - "@libp2p/interface-peer-discovery": "^1.0.1", - "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interface-peer-discovery": "^2.0.0", + "@libp2p/interface-peer-id": "^2.0.1", "@libp2p/interface-peer-info": "^1.0.3", - "@libp2p/interface-peer-routing": "^1.0.1", - "@libp2p/interface-peer-store": "^1.2.2", - "@libp2p/interface-pubsub": "^3.0.0", + "@libp2p/interface-peer-routing": "^1.1.0", + "@libp2p/interface-peer-store": "^2.0.4", + "@libp2p/interface-pubsub": "^4.0.0", + "@libp2p/interface-record": "^2.0.6", "@libp2p/interface-registrar": "^2.0.3", - "@libp2p/interface-stream-muxer": "^3.0.0", - "@libp2p/interface-transport": "^2.1.0", - "@libp2p/interfaces": "^3.0.3", - "@libp2p/logger": "^2.0.1", - "@libp2p/multistream-select": "^3.0.0", + "@libp2p/interface-stream-muxer": "^4.0.0", + "@libp2p/interface-transport": "^4.0.0", + "@libp2p/interfaces": "^3.2.0", + "@libp2p/keychain": "^2.0.0", + "@libp2p/logger": "^2.1.1", + "@libp2p/multistream-select": "^3.1.8", "@libp2p/peer-collections": "^3.0.0", "@libp2p/peer-id": "^2.0.0", "@libp2p/peer-id-factory": "^2.0.0", "@libp2p/peer-record": "^5.0.0", - "@libp2p/peer-store": "^6.0.0", + "@libp2p/peer-store": "^8.2.0", + "@libp2p/topology": "^4.0.1", "@libp2p/tracked-map": "^3.0.0", - "@libp2p/utils": "^3.0.2", - "@multiformats/mafmt": "^11.0.2", - "@multiformats/multiaddr": "^11.0.0", - "abortable-iterator": "^4.0.2", - "any-signal": "^3.0.0", - "datastore-core": "^8.0.1", - "err-code": "^3.0.1", - "events": "^3.3.0", - "hashlru": "^2.3.0", - "interface-datastore": "^7.0.0", - "it-all": "^2.0.0", - "it-drain": "^2.0.0", - "it-filter": "^2.0.0", - "it-first": "^2.0.0", - "it-foreach": "^1.0.0", - "it-handshake": "^4.1.2", - "it-length-prefixed": "^8.0.2", - "it-map": "^2.0.0", - "it-merge": "^2.0.0", + "@libp2p/utils": "^3.0.10", + "@multiformats/mafmt": "^12.0.0", + "@multiformats/multiaddr": "^12.0.0", + "abortable-iterator": "^5.0.1", + "any-signal": "^4.1.1", + "datastore-core": "^9.0.0", + "interface-datastore": "^8.0.0", + "it-all": "^3.0.1", + "it-drain": "^3.0.1", + "it-filter": "^3.0.1", + "it-first": "^3.0.1", + "it-handshake": "^4.1.3", + "it-length-prefixed": "^9.0.1", + "it-map": "^3.0.2", + "it-merge": "^3.0.0", "it-pair": "^2.0.2", - "it-pipe": "^2.0.3", - "it-sort": "^2.0.0", - "it-stream-types": "^1.0.4", + "it-parallel": "^3.0.0", + "it-pb-stream": "^4.0.1", + "it-pipe": "^3.0.1", + "it-stream-types": "^2.0.1", "merge-options": "^3.0.4", "multiformats": "^11.0.0", - "node-forge": "^1.3.1", - "p-fifo": "^1.0.0", + "p-defer": "^4.0.0", + "p-queue": "^7.3.4", "p-retry": "^5.0.0", - "p-settle": "^5.0.0", "private-ip": "^3.0.0", - "protons-runtime": "^4.0.1", + "protons-runtime": "^5.0.0", "rate-limiter-flexible": "^2.3.11", - "retimer": "^3.0.0", - "sanitize-filename": "^1.6.3", - "set-delayed-interval": "^1.0.0", - "timeout-abort-controller": "^3.0.0", "uint8arraylist": "^2.3.2", "uint8arrays": "^4.0.2", "wherearewe": "^2.0.0", @@ -17557,25 +15348,53 @@ "npm": ">=7.0.0" } }, - "node_modules/libp2p/node_modules/@libp2p/peer-id": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", - "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", + "node_modules/libp2p/node_modules/@libp2p/interface-connection": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-5.1.1.tgz", + "integrity": "sha512-ytknMbuuNW72LYMmTP7wFGP5ZTaUSGBCmV9f+uQ55XPcFHtKXLtKWVU/HE8IqPmwtyU8AO7veGoJ/qStMHNRVA==", "dependencies": { "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.2.0", - "multiformats": "^11.0.0", - "uint8arrays": "^4.0.2" + "@libp2p/interfaces": "^3.0.0", + "@multiformats/multiaddr": "^12.0.0", + "it-stream-types": "^2.0.1", + "uint8arraylist": "^2.4.3" }, "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, - "node_modules/libp2p/node_modules/it-all": { + "node_modules/libp2p/node_modules/@multiformats/multiaddr": { + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", + "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", + "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": "^12.0.1", + "uint8arrays": "^4.0.2", + "varint": "^6.0.0" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "node_modules/libp2p/node_modules/@multiformats/multiaddr/node_modules/multiformats": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", + "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/libp2p/node_modules/it-stream-types": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/it-all/-/it-all-2.0.1.tgz", - "integrity": "sha512-9UuJcCRZsboz+HBQTNOau80Dw+ryGaHYFP/cPYzFBJBFcfDathMYnhHk4t52en9+fcyDGPTdLB+lFc1wzQIroA==", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", + "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" @@ -17587,9 +15406,9 @@ "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" }, "node_modules/libp2p/node_modules/protobufjs": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.3.tgz", - "integrity": "sha512-TtpvOqwB5Gdz/PQmOjgsrGH1nHjAQVCN7JG4A6r1sXRWESL5rNMAiRcBQlCAdKxZcAbstExQePYG8xof/JVRgg==", + "version": "7.2.4", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.4.tgz", + "integrity": "sha512-AT+RJgD2sH8phPmCf7OUZR8xGdcJRga4+1cOaXJ64hvcSkVhNcRHOwIxUatPH15+nj59WAGTDv3LSGZPEQbJaQ==", "hasInstallScript": true, "dependencies": { "@protobufjs/aspromise": "^1.1.2", @@ -17610,17 +15429,13 @@ } }, "node_modules/libp2p/node_modules/protons-runtime": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-4.0.2.tgz", - "integrity": "sha512-R4N6qKHgz8T2Gl45CTcZfITzXPQY9ym8lbLb4VyFMS4ag1KusCRZwkQXTBRhxQ+93ck3K3aDhK1wIk98AMtNyw==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.0.1.tgz", + "integrity": "sha512-AwyAA3pQ4Ka4tEBMdIjLi/cRdpb322f7sgv3NruVq9yguLggzwu5eeLe1HuRPFYlI4UsVN/QK/AQXjLPVLCzTA==", "dependencies": { "protobufjs": "^7.0.0", "uint8arraylist": "^2.4.3" }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - }, "peerDependencies": { "uint8arraylist": "^2.3.2" } @@ -18903,23 +16718,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/p-fifo": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-fifo/-/p-fifo-1.0.0.tgz", - "integrity": "sha512-IjoCxXW48tqdtDFz6fqo5q1UfFVjjVZe8TC1QRflvNUJtNfCUhxOUw6MOVZhDPjqhSzc26xKdugsO17gmzd5+A==", - "dependencies": { - "fast-fifo": "^1.0.0", - "p-defer": "^3.0.0" - } - }, - "node_modules/p-fifo/node_modules/p-defer": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-3.0.0.tgz", - "integrity": "sha512-ugZxsxmtTln604yeYd29EGrNhazN2lywetzpKhfmQjW/VJmhpDmWbiX+h0zL8V91R0UXkhb3KtPmyq9PZw3aYw==", - "engines": { - "node": ">=8" - } - }, "node_modules/p-limit": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", @@ -18976,17 +16774,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/p-reflect": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-reflect/-/p-reflect-3.1.0.tgz", - "integrity": "sha512-3sG3UlpisPSaX+o7u2q01hIQmrpkvdl5GSO1ZwL7pfc5kHB2bPF0eFNCfYTrW1/LTUdgmPwBAvmT0Zr8eSmaAQ==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/p-retry": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-5.1.2.tgz", @@ -19002,46 +16789,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/p-settle": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/p-settle/-/p-settle-5.1.0.tgz", - "integrity": "sha512-ujR6UFfh09ziOKyC5aaJak5ZclsjlLw57SYtFZg6yllMofyygnaibQRZ4jf6QPWqoOCGUXyb1cxUKELeAyKO7g==", - "dependencies": { - "p-limit": "^4.0.0", - "p-reflect": "^3.1.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-settle/node_modules/p-limit": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-4.0.0.tgz", - "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==", - "dependencies": { - "yocto-queue": "^1.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-settle/node_modules/yocto-queue": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.0.0.tgz", - "integrity": "sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==", - "engines": { - "node": ">=12.20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/p-timeout": { "version": "6.1.1", "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-6.1.1.tgz", @@ -22005,11 +19752,6 @@ "node": ">=10" } }, - "node_modules/retimer": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/retimer/-/retimer-3.0.0.tgz", - "integrity": "sha512-WKE0j11Pa0ZJI5YIk0nflGI7SQsfl2ljihVy7ogh7DeQSeYAUi0ubZ/yEueGtDfUPk6GH5LRw1hBdLq4IwUBWA==" - }, "node_modules/retry": { "version": "0.13.1", "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", @@ -22440,11 +20182,6 @@ "resolved": "https://registry.npmjs.org/server-name-generator/-/server-name-generator-1.0.5.tgz", "integrity": "sha512-LBo265lZl4rL/XETBhxPPssAzLNEl9fKNobJmFJxKcQQ43oONuHBQXR8evMnh9z2krWFVWmRPH7bWuvQvNQ4yw==" }, - "node_modules/set-delayed-interval": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/set-delayed-interval/-/set-delayed-interval-1.0.0.tgz", - "integrity": "sha512-29fhAwuZlLcuBnW/EwxvLcg2D3ELX+VBDNhnavs3YYkab72qmrcSeQNVdzl8EcPPahGQXhBM6MKdPLCQGMDakw==" - }, "node_modules/setimmediate": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", @@ -23436,14 +21173,6 @@ "integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==", "dev": true }, - "node_modules/timeout-abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/timeout-abort-controller/-/timeout-abort-controller-3.0.0.tgz", - "integrity": "sha512-O3e+2B8BKrQxU2YRyEjC/2yFdb33slI22WRdUaDx6rvysfi9anloNZyR2q0l6LnePo5qH7gSM7uZtvvwZbc2yA==", - "dependencies": { - "retimer": "^3.0.0" - } - }, "node_modules/tmp": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", diff --git a/examples/web-chat/package.json b/examples/web-chat/package.json index 2cfc546..76e1fb3 100644 --- a/examples/web-chat/package.json +++ b/examples/web-chat/package.json @@ -4,10 +4,10 @@ "private": true, "homepage": "/web-chat", "dependencies": { - "@libp2p/bootstrap": "^5.0.0", + "@libp2p/bootstrap": "^8.0.0", "@livechat/ui-kit": "^0.5.0-24", "@multiformats/multiaddr": "11.0.7", - "@waku/react": "^0.0.2", + "@waku/react": "^0.0.3-7aeb24a", "@waku/sdk": "^0.0.17", "@waku/dns-discovery": "^0.0.15", "@waku/interfaces": "^0.0.16", From e057e1b636e010d73e38aa6ef77419f86d7cc596 Mon Sep 17 00:00:00 2001 From: danisharora099 Date: Tue, 1 Aug 2023 17:30:14 +0530 Subject: [PATCH 03/12] `useNodePeers` to return granularity about peers discovered --- examples/web-chat/src/hooks.ts | 84 +++++++++++++++++++--------------- 1 file changed, 48 insertions(+), 36 deletions(-) diff --git a/examples/web-chat/src/hooks.ts b/examples/web-chat/src/hooks.ts index 841aadd..d5c3e0a 100644 --- a/examples/web-chat/src/hooks.ts +++ b/examples/web-chat/src/hooks.ts @@ -1,11 +1,13 @@ import React, { useEffect, useState } from "react"; import { generate } from "server-name-generator"; import { Message } from "./Message"; -import type { - Peer, - PeerProtocolsChangeData, -} from "@libp2p/interface-peer-store"; -import type { LightNode, StoreQueryOptions, Waku } from "@waku/interfaces"; +import type { Peer } from "@libp2p/interface-peer-store"; +import { + EPeersByDiscoveryEvents, + LightNode, + StoreQueryOptions, + Waku, +} from "@waku/interfaces"; import type { waku } from "@waku/sdk"; import { useFilterMessages, useStoreMessages } from "@waku/react"; @@ -62,42 +64,52 @@ export const useMessages = (params: UseMessagesParams): UseMessagesResult => { // can be safely ignored // this is for experiments on waku side around new discovery options export const useNodePeers = (node: undefined | LightNode) => { - const [bootstrapPeers, setBootstrapPeers] = useState(new Set()); - const [peerExchangePeers, setPeerExchangePeers] = useState(new Set()); + const [discoveredBootstrapPeers, setBootstrapPeers] = useState([]); + const [connectedBootstrapPeers, setConnectedBootstrapPeers] = useState< + Peer[] + >([]); + const [discoveredPeerExchangePeers, setPeerExchangePeers] = useState( + [] + ); + const [connectedPeerExchangePeers, setConnectedPeerExchangePeers] = useState< + Peer[] + >([]); useEffect(() => { if (!node) return; - const listener = async (evt: any) => { - const { peerId } = evt.detail; - const tags = (await node.libp2p.peerStore.getTags(peerId)).map( - (t) => t.name - ); - if (tags.includes("peer-exchange")) { - setPeerExchangePeers((peers) => new Set(peers).add(peerId.toString())); - } else { - setBootstrapPeers((peers) => new Set(peers).add(peerId.toString())); + //TODO: remove any once @waku/sdk is updated + (node as any).connectionManager.addEventListener( + EPeersByDiscoveryEvents.PEER_DISCOVERY_BOOTSTRAP, + (event: CustomEvent) => { + setBootstrapPeers((prev) => [...prev, event.detail]); } - }; - - // Update store peer when new peer connected & identified - node.libp2p.peerStore.addEventListener("change:protocols", listener); - return () => { - node.libp2p.peerStore.removeEventListener("change:protocols", listener); - }; + ); + (node as any).connectionManager.addEventListener( + EPeersByDiscoveryEvents.PEER_CONNECT_BOOTSTRAP, + (event: CustomEvent) => { + setConnectedBootstrapPeers((prev) => [...prev, event.detail]); + } + ); + (node as any).connectionManager.addEventListener( + EPeersByDiscoveryEvents.PEER_DISCOVERY_PEER_EXCHANGE, + (event: CustomEvent) => { + setPeerExchangePeers((prev) => [...prev, event.detail]); + } + ); + (node as any).connectionManager.addEventListener( + EPeersByDiscoveryEvents.PEER_CONNECT_PEER_EXCHANGE, + (event: CustomEvent) => { + setConnectedPeerExchangePeers((prev) => [...prev, event.detail]); + } + ); }, [node]); - useEffect(() => { - console.log("Bootstrap Peers:"); - console.table(bootstrapPeers); - - console.log("Peer Exchange Peers:"); - console.table(peerExchangePeers); - }, [bootstrapPeers, peerExchangePeers]); - return { - bootstrapPeers, - peerExchangePeers, + discoveredBootstrapPeers, + connectedBootstrapPeers, + discoveredPeerExchangePeers, + connectedPeerExchangePeers, }; }; @@ -128,7 +140,7 @@ export const usePeers = (params: UsePeersParams): UsePeersResults => { return; } - const listener = async (_event?: CustomEvent) => { + const listener = async () => { const peers = await Promise.all([ handleCatch(node?.store?.peers()), handleCatch(node?.filter?.peers()), @@ -143,9 +155,9 @@ export const usePeers = (params: UsePeersParams): UsePeersResults => { }; listener(); // populate peers before event is invoked - node.libp2p.peerStore.addEventListener("change:protocols", listener); + node.libp2p.addEventListener("peer:update", listener); return () => { - node.libp2p.peerStore.removeEventListener("change:protocols", listener); + node.libp2p.removeEventListener("peer:update", listener); }; }, [node, setPeers]); From 1f00f516bfee56d4db8436502c07cd8dbd45d94e Mon Sep 17 00:00:00 2001 From: danisharora099 Date: Tue, 1 Aug 2023 17:30:22 +0530 Subject: [PATCH 04/12] use the prod fleet instead of the test fleet --- examples/web-chat/src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/web-chat/src/index.tsx b/examples/web-chat/src/index.tsx index 44245dd..fe54b86 100644 --- a/examples/web-chat/src/index.tsx +++ b/examples/web-chat/src/index.tsx @@ -12,7 +12,7 @@ import { CONTENT_TOPIC, PROTOCOLS } from "./config"; const NODE_OPTIONS = { libp2p: { peerDiscovery: [ - wakuDnsDiscovery([enrTree.TEST], { + wakuDnsDiscovery([enrTree.PROD], { store: 1, filter: 2, lightPush: 2, From 97b628435254d8d3f4d137c2040a270ef522efe1 Mon Sep 17 00:00:00 2001 From: danisharora099 Date: Tue, 1 Aug 2023 17:30:46 +0530 Subject: [PATCH 05/12] show peers discovered vs peers connected by discovery protocol --- examples/web-chat/src/Room.tsx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/examples/web-chat/src/Room.tsx b/examples/web-chat/src/Room.tsx index 5fb1f41..508ffd1 100644 --- a/examples/web-chat/src/Room.tsx +++ b/examples/web-chat/src/Room.tsx @@ -18,7 +18,12 @@ export default function Room(props: Props) { const { encoder } = useContentPair(); const { push: onPush } = useLightPush({ node, encoder }); - const { bootstrapPeers, peerExchangePeers } = useNodePeers(node); + const { + connectedBootstrapPeers, + connectedPeerExchangePeers, + discoveredBootstrapPeers, + discoveredPeerExchangePeers, + } = useNodePeers(node); const { storePeers, filterPeers, lightPushPeers } = usePeers({ node }); const onSend = async (text: string) => { @@ -46,7 +51,8 @@ export default function Room(props: Props) { const storePeersLength = orZero(storePeers?.length); const peersMessage = `Peers: ${lightPushPeersLength} light push, ${filterPeersLength} filter, ${storePeersLength} store.`; - const bootstrapPeersMessage = `Bootstrap (DNS Discovery): ${bootstrapPeers.size}, Peer exchange: ${peerExchangePeers.size}. `; + const bootstrapPeersMessage = `Bootstrap peers: ${connectedBootstrapPeers.length} connected, ${discoveredBootstrapPeers.length} discovered.`; + const peerExchangePeersMessage = `Peer exchange peers: ${connectedPeerExchangePeers.length} connected, ${discoveredPeerExchangePeers.length} discovered.`; return (
From 27cac9901379206f85c39cb3a98e298f1cafbadc Mon Sep 17 00:00:00 2001 From: danisharora099 Date: Tue, 1 Aug 2023 17:34:09 +0530 Subject: [PATCH 06/12] update package.lock --- examples/web-chat/package-lock.json | 152 ++++++++++++---------------- 1 file changed, 67 insertions(+), 85 deletions(-) diff --git a/examples/web-chat/package-lock.json b/examples/web-chat/package-lock.json index ee13a4b..dd2a678 100644 --- a/examples/web-chat/package-lock.json +++ b/examples/web-chat/package-lock.json @@ -3909,22 +3909,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-connection": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-5.1.1.tgz", - "integrity": "sha512-ytknMbuuNW72LYMmTP7wFGP5ZTaUSGBCmV9f+uQ55XPcFHtKXLtKWVU/HE8IqPmwtyU8AO7veGoJ/qStMHNRVA==", - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.0.0", - "@multiformats/multiaddr": "^12.0.0", - "it-stream-types": "^2.0.1", - "uint8arraylist": "^2.4.3" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/interface-connection-encrypter": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-encrypter/-/interface-connection-encrypter-4.0.1.tgz", @@ -4195,6 +4179,58 @@ "npm": ">=7.0.0" } }, + "node_modules/@libp2p/interface-metrics/node_modules/@libp2p/interface-connection": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@libp2p/interface-connection/-/interface-connection-3.1.1.tgz", + "integrity": "sha512-+hxfYLv4jf+MruQEJiJeIyo/wI33/53wRL0XJTkxwQQPAkLHfZWCUY4kY9sXALd3+ASjXAENvJj9VvzZTlkRDQ==", + "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-metrics/node_modules/@multiformats/multiaddr": { + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", + "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", + "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": "^12.0.1", + "uint8arrays": "^4.0.2", + "varint": "^6.0.0" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "node_modules/@libp2p/interface-metrics/node_modules/it-stream-types": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-1.0.5.tgz", + "integrity": "sha512-I88Ka1nHgfX62e5mi5LLL+oueqz7Ltg0bUdtsUKDe9SoUqbQPf2Mp5kxDTe9pNhHQGs4pvYPAINwuZ1HAt42TA==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@libp2p/interface-metrics/node_modules/multiformats": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", + "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@libp2p/interface-peer-discovery": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-discovery/-/interface-peer-discovery-2.0.0.tgz", @@ -5035,6 +5071,21 @@ "npm": ">=7.0.0" } }, + "node_modules/@libp2p/pubsub/node_modules/@libp2p/peer-id": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", + "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", + "dependencies": { + "@libp2p/interface-peer-id": "^2.0.0", + "@libp2p/interfaces": "^3.2.0", + "multiformats": "^11.0.0", + "uint8arrays": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@libp2p/pubsub/node_modules/@multiformats/multiaddr": { "version": "12.1.3", "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", @@ -5075,63 +5126,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/pubsub": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/@libp2p/pubsub/-/pubsub-7.0.3.tgz", - "integrity": "sha512-BrUBQ6ljN1tU+2Hn1Vq+ZT/foVBGUVIywqoavNrFw5CmaBBTGuVRrmqE/MUToIS8dhonpW5RNCRabz3woq/4iQ==", - "dependencies": { - "@libp2p/crypto": "^1.0.0", - "@libp2p/interface-connection": "^5.0.1", - "@libp2p/interface-peer-id": "^2.0.1", - "@libp2p/interface-pubsub": "^4.0.0", - "@libp2p/interface-registrar": "^2.0.11", - "@libp2p/interfaces": "^3.3.1", - "@libp2p/logger": "^2.0.7", - "@libp2p/peer-collections": "^3.0.1", - "@libp2p/peer-id": "^2.0.3", - "@libp2p/topology": "^4.0.1", - "abortable-iterator": "^5.0.1", - "it-length-prefixed": "^9.0.0", - "it-pipe": "^3.0.1", - "it-pushable": "^3.1.3", - "multiformats": "^11.0.0", - "p-queue": "^7.2.0", - "uint8arraylist": "^2.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/pubsub/node_modules/@libp2p/peer-id": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-2.0.4.tgz", - "integrity": "sha512-gcOsN8Fbhj6izIK+ejiWsqiqKeJ2yWPapi/m55VjOvDa52/ptQzZszxQP8jUk93u36de92ATFXDfZR/Bi6eeUQ==", - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interfaces": "^3.2.0", - "multiformats": "^11.0.0", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@libp2p/topology": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@libp2p/topology/-/topology-4.0.3.tgz", - "integrity": "sha512-uXd9ZYpmgb+onMTypsAPUlvKKeY20HMtxwsjAMEfDa29yqshK8DiEunHZNjLmtXaMIIO9CBl2w5ykjt5TtFsBQ==", - "dependencies": { - "@libp2p/interface-peer-id": "^2.0.0", - "@libp2p/interface-registrar": "^2.0.3" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/tracked-map": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/@libp2p/tracked-map/-/tracked-map-3.0.4.tgz", @@ -22942,18 +22936,6 @@ "integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==", "dev": true }, - "node_modules/xml2js": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", - "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", - "dependencies": { - "sax": ">=0.6.0", - "xmlbuilder": "~11.0.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, "node_modules/xmlbuilder": { "version": "11.0.1", "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", From e947949dca0788f267117363704d881a934eaee5 Mon Sep 17 00:00:00 2001 From: danisharora099 Date: Wed, 2 Aug 2023 16:45:22 +0530 Subject: [PATCH 07/12] upgrade sdk and px --- examples/web-chat/package-lock.json | 306 +++++++++++++++++++++++----- examples/web-chat/package.json | 4 +- 2 files changed, 252 insertions(+), 58 deletions(-) diff --git a/examples/web-chat/package-lock.json b/examples/web-chat/package-lock.json index dd2a678..3d3a3c0 100644 --- a/examples/web-chat/package-lock.json +++ b/examples/web-chat/package-lock.json @@ -13,9 +13,9 @@ "@multiformats/multiaddr": "11.0.7", "@waku/dns-discovery": "^0.0.15", "@waku/interfaces": "^0.0.16", - "@waku/peer-exchange": "^0.0.14", + "@waku/peer-exchange": "^0.0.15", "@waku/react": "^0.0.3-7aeb24a", - "@waku/sdk": "^0.0.17", + "@waku/sdk": "^0.0.18", "process": "^0.11.10", "protons-runtime": "^3.1.0", "react": "^17.0.2", @@ -6951,17 +6951,17 @@ } }, "node_modules/@waku/peer-exchange": { - "version": "0.0.14", - "resolved": "https://registry.npmjs.org/@waku/peer-exchange/-/peer-exchange-0.0.14.tgz", - "integrity": "sha512-MxVDgTTab/63/+d+82qzce7THuGKqo8Rjyo3d8YV5+QliCW4eE4pHhhaAzDP1bDRGyQrn38tgQ38i4/CCSLV5A==", + "version": "0.0.15", + "resolved": "https://registry.npmjs.org/@waku/peer-exchange/-/peer-exchange-0.0.15.tgz", + "integrity": "sha512-Yl0IeMT5eRuwjGTFYvEDTfRP1cr9+rSbsCOswnPGSu9Yfuz3VJLhN7tUVY2qUmKv6FbNK1h8s4m6Azad6qgVaw==", "dependencies": { "@libp2p/interface-peer-discovery": "^2.0.0", "@libp2p/interfaces": "^3.3.2", - "@waku/core": "0.0.21", - "@waku/enr": "0.0.15", - "@waku/interfaces": "0.0.16", + "@waku/core": "0.0.22", + "@waku/enr": "0.0.16", + "@waku/interfaces": "0.0.17", "@waku/proto": "0.0.5", - "@waku/utils": "0.0.9", + "@waku/utils": "0.0.10", "debug": "^4.3.4", "it-all": "^3.0.2", "it-length-prefixed": "^9.0.1", @@ -6971,48 +6971,33 @@ "node": ">=16" } }, - "node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-peer-discovery": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-discovery/-/interface-peer-discovery-2.0.0.tgz", - "integrity": "sha512-Mien5t3Tc+ntP5p50acKUYJN90ouMnq1lOTQDKQNvGcXoajG8A1AEYLocnzVia/MXiexuj6S/Q28WBBacoOlBg==", - "dependencies": { - "@libp2p/interface-peer-info": "^1.0.0", - "@libp2p/interfaces": "^3.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@waku/peer-exchange/node_modules/@multiformats/multiaddr": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", - "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", - "optional": true, - "peer": true, + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", + "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", "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", + "multiformats": "^12.0.1", "uint8arrays": "^4.0.2", "varint": "^6.0.0" }, "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" + "node": ">=18.0.0", + "npm": ">=8.6.0" } }, "node_modules/@waku/peer-exchange/node_modules/@waku/core": { - "version": "0.0.21", - "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.21.tgz", - "integrity": "sha512-o42TIfOWNcO6PMYUkfJcNpDQ1xrO3ZOSDcuLWwsNd2yVTRp2f5hVcvf6XX9pM+uRhEj6RqS06SB4PKCmLqshfw==", + "version": "0.0.22", + "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.22.tgz", + "integrity": "sha512-UejYhrKN9Icf/dZ0x8fQ5hFSy+54iXUc0iubzEAFaa8pTeyQHlc3YJIxuzrlTOsxm+ajMZLX19w5l7BDHWrcgQ==", "dependencies": { "@noble/hashes": "^1.3.0", - "@waku/interfaces": "0.0.16", + "@waku/interfaces": "0.0.17", "@waku/proto": "0.0.5", - "@waku/utils": "0.0.9", + "@waku/utils": "0.0.10", "debug": "^4.3.4", "it-all": "^3.0.2", "it-length-prefixed": "^9.0.1", @@ -7034,6 +7019,53 @@ } } }, + "node_modules/@waku/peer-exchange/node_modules/@waku/enr": { + "version": "0.0.16", + "resolved": "https://registry.npmjs.org/@waku/enr/-/enr-0.0.16.tgz", + "integrity": "sha512-nhIpsbY/fiMa+KCYekZU0vAkyGo4DBO11ujuBFU5fTqer9Lv3HCBN3Ar4J7PahDkoXGiq3SiWZU4//F1SXs1YA==", + "dependencies": { + "@ethersproject/rlp": "^5.7.0", + "@libp2p/crypto": "^1.0.17", + "@libp2p/peer-id": "^2.0.4", + "@multiformats/multiaddr": "^12.0.0", + "@noble/secp256k1": "^1.7.1", + "@waku/utils": "0.0.10", + "debug": "^4.3.4", + "js-sha3": "^0.8.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@waku/peer-exchange/node_modules/@waku/interfaces": { + "version": "0.0.17", + "resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.17.tgz", + "integrity": "sha512-/3HrMhpjMwpArm73L05Q7xLPKFeGjvpDlrFq4lqrXjKa8J2VUmiZh6fD9LdYP1ZvhPdzrCRAL+o7+Lb9kt4fvQ==", + "engines": { + "node": ">=16" + } + }, + "node_modules/@waku/peer-exchange/node_modules/@waku/utils": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.10.tgz", + "integrity": "sha512-IQ1EWrzW+X9B/5r9fzP72n/5to1jl5050Cos/xVnk05GcdepOZdU1O1YgMXXZLIrX4TYlB7BQZUVQrUFTry05Q==", + "dependencies": { + "debug": "^4.3.4", + "uint8arrays": "^4.0.4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@waku/peer-exchange/node_modules/multiformats": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", + "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@waku/proto": { "version": "0.0.5", "resolved": "https://registry.npmjs.org/@waku/proto/-/proto-0.0.5.tgz", @@ -7105,6 +7137,86 @@ "react": "^16.8.0 || ^17 || ^18" } }, + "node_modules/@waku/react/node_modules/@multiformats/multiaddr": { + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", + "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", + "optional": true, + "peer": true, + "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": "^12.0.1", + "uint8arrays": "^4.0.2", + "varint": "^6.0.0" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.6.0" + } + }, + "node_modules/@waku/react/node_modules/@waku/core": { + "version": "0.0.21", + "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.21.tgz", + "integrity": "sha512-o42TIfOWNcO6PMYUkfJcNpDQ1xrO3ZOSDcuLWwsNd2yVTRp2f5hVcvf6XX9pM+uRhEj6RqS06SB4PKCmLqshfw==", + "dependencies": { + "@noble/hashes": "^1.3.0", + "@waku/interfaces": "0.0.16", + "@waku/proto": "0.0.5", + "@waku/utils": "0.0.9", + "debug": "^4.3.4", + "it-all": "^3.0.2", + "it-length-prefixed": "^9.0.1", + "it-pipe": "^3.0.1", + "p-event": "^5.0.1", + "uint8arraylist": "^2.4.3", + "uuid": "^9.0.0" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "@multiformats/multiaddr": "^12.0.0", + "libp2p": "^0.45.9" + }, + "peerDependenciesMeta": { + "@multiformats/multiaddr": { + "optional": true + } + } + }, + "node_modules/@waku/react/node_modules/@waku/sdk": { + "version": "0.0.17", + "resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.17.tgz", + "integrity": "sha512-PdvS6sQqOnOBN53otMoqSnQkZLjXo49B6AxziAlS6zykJV8SuC5in13oHTrkvODpELJfxk0sEsnnU0j0jEJX9w==", + "dependencies": { + "@chainsafe/libp2p-noise": "^12.0.1", + "@libp2p/mplex": "^8.0.4", + "@libp2p/websockets": "^6.0.3", + "@waku/core": "0.0.21", + "@waku/dns-discovery": "0.0.15", + "@waku/interfaces": "0.0.16", + "@waku/relay": "0.0.4", + "@waku/utils": "0.0.9", + "libp2p": "^0.45.9" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@waku/react/node_modules/multiformats": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", + "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", + "optional": true, + "peer": true, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@waku/relay": { "version": "0.0.4", "resolved": "https://registry.npmjs.org/@waku/relay/-/relay-0.0.4.tgz", @@ -7186,18 +7298,18 @@ } }, "node_modules/@waku/sdk": { - "version": "0.0.17", - "resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.17.tgz", - "integrity": "sha512-PdvS6sQqOnOBN53otMoqSnQkZLjXo49B6AxziAlS6zykJV8SuC5in13oHTrkvODpELJfxk0sEsnnU0j0jEJX9w==", + "version": "0.0.18", + "resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.18.tgz", + "integrity": "sha512-6WzrsQV6dtSeHM7+MfCjRiEYsVWmgn99PgKk+w0lIjZ+2Yd4brlE7fQrDlq9rV4sM14t232DmgpAODmormLtqg==", "dependencies": { "@chainsafe/libp2p-noise": "^12.0.1", "@libp2p/mplex": "^8.0.4", "@libp2p/websockets": "^6.0.3", - "@waku/core": "0.0.21", - "@waku/dns-discovery": "0.0.15", - "@waku/interfaces": "0.0.16", - "@waku/relay": "0.0.4", - "@waku/utils": "0.0.9", + "@waku/core": "0.0.22", + "@waku/dns-discovery": "0.0.16", + "@waku/interfaces": "0.0.17", + "@waku/relay": "0.0.5", + "@waku/utils": "0.0.10", "libp2p": "^0.45.9" }, "engines": { @@ -7205,34 +7317,32 @@ } }, "node_modules/@waku/sdk/node_modules/@multiformats/multiaddr": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", - "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", - "optional": true, - "peer": true, + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", + "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", "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", + "multiformats": "^12.0.1", "uint8arrays": "^4.0.2", "varint": "^6.0.0" }, "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" + "node": ">=18.0.0", + "npm": ">=8.6.0" } }, "node_modules/@waku/sdk/node_modules/@waku/core": { - "version": "0.0.21", - "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.21.tgz", - "integrity": "sha512-o42TIfOWNcO6PMYUkfJcNpDQ1xrO3ZOSDcuLWwsNd2yVTRp2f5hVcvf6XX9pM+uRhEj6RqS06SB4PKCmLqshfw==", + "version": "0.0.22", + "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.22.tgz", + "integrity": "sha512-UejYhrKN9Icf/dZ0x8fQ5hFSy+54iXUc0iubzEAFaa8pTeyQHlc3YJIxuzrlTOsxm+ajMZLX19w5l7BDHWrcgQ==", "dependencies": { "@noble/hashes": "^1.3.0", - "@waku/interfaces": "0.0.16", + "@waku/interfaces": "0.0.17", "@waku/proto": "0.0.5", - "@waku/utils": "0.0.9", + "@waku/utils": "0.0.10", "debug": "^4.3.4", "it-all": "^3.0.2", "it-length-prefixed": "^9.0.1", @@ -7254,6 +7364,90 @@ } } }, + "node_modules/@waku/sdk/node_modules/@waku/dns-discovery": { + "version": "0.0.16", + "resolved": "https://registry.npmjs.org/@waku/dns-discovery/-/dns-discovery-0.0.16.tgz", + "integrity": "sha512-giOgiaF2CWB/0fKh/k1feGYCieG368MJ9e4N7qhoXAvdybUlwSJIQQBwyWiW7zrPVe7ahGIiVUByjC5wqStrPw==", + "dependencies": { + "@libp2p/interface-peer-discovery": "^2.0.0", + "@libp2p/interfaces": "^3.3.2", + "@waku/enr": "0.0.16", + "@waku/utils": "0.0.10", + "debug": "^4.3.4", + "dns-query": "^0.11.2", + "hi-base32": "^0.5.1", + "uint8arrays": "^4.0.4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@waku/sdk/node_modules/@waku/enr": { + "version": "0.0.16", + "resolved": "https://registry.npmjs.org/@waku/enr/-/enr-0.0.16.tgz", + "integrity": "sha512-nhIpsbY/fiMa+KCYekZU0vAkyGo4DBO11ujuBFU5fTqer9Lv3HCBN3Ar4J7PahDkoXGiq3SiWZU4//F1SXs1YA==", + "dependencies": { + "@ethersproject/rlp": "^5.7.0", + "@libp2p/crypto": "^1.0.17", + "@libp2p/peer-id": "^2.0.4", + "@multiformats/multiaddr": "^12.0.0", + "@noble/secp256k1": "^1.7.1", + "@waku/utils": "0.0.10", + "debug": "^4.3.4", + "js-sha3": "^0.8.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@waku/sdk/node_modules/@waku/interfaces": { + "version": "0.0.17", + "resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.17.tgz", + "integrity": "sha512-/3HrMhpjMwpArm73L05Q7xLPKFeGjvpDlrFq4lqrXjKa8J2VUmiZh6fD9LdYP1ZvhPdzrCRAL+o7+Lb9kt4fvQ==", + "engines": { + "node": ">=16" + } + }, + "node_modules/@waku/sdk/node_modules/@waku/relay": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/@waku/relay/-/relay-0.0.5.tgz", + "integrity": "sha512-LCBzNVjAXZEgZgzdHCNM72gvtAmWGUzbhtFgZ6SMs2bEJkgwES0c1BUItt/Sn2A+1Booj3afbYGpl6ph23oH3A==", + "dependencies": { + "@chainsafe/libp2p-gossipsub": "^9.1.0", + "@noble/hashes": "^1.3.0", + "@waku/core": "0.0.22", + "@waku/interfaces": "0.0.17", + "@waku/proto": "0.0.5", + "@waku/utils": "0.0.10", + "chai": "^4.3.7", + "debug": "^4.3.4", + "fast-check": "^3.8.1" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@waku/sdk/node_modules/@waku/utils": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.10.tgz", + "integrity": "sha512-IQ1EWrzW+X9B/5r9fzP72n/5to1jl5050Cos/xVnk05GcdepOZdU1O1YgMXXZLIrX4TYlB7BQZUVQrUFTry05Q==", + "dependencies": { + "debug": "^4.3.4", + "uint8arrays": "^4.0.4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@waku/sdk/node_modules/multiformats": { + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", + "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@waku/utils": { "version": "0.0.9", "resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.9.tgz", diff --git a/examples/web-chat/package.json b/examples/web-chat/package.json index 67398f0..5f3c34e 100644 --- a/examples/web-chat/package.json +++ b/examples/web-chat/package.json @@ -8,10 +8,10 @@ "@waku/react": "^0.0.3-7aeb24a", "@waku/dns-discovery": "^0.0.15", "@waku/interfaces": "^0.0.16", - "@waku/peer-exchange": "^0.0.14", + "@waku/peer-exchange": "^0.0.15", "@livechat/ui-kit": "^0.5.0-24", "@multiformats/multiaddr": "11.0.7", - "@waku/sdk": "^0.0.17", + "@waku/sdk": "^0.0.18", "process": "^0.11.10", "protons-runtime": "^3.1.0", "react": "^17.0.2", From f759768cfd0f96cb304aa68f8cab1e6d4cef2a1e Mon Sep 17 00:00:00 2001 From: danisharora099 Date: Wed, 2 Aug 2023 17:41:27 +0530 Subject: [PATCH 08/12] update waku and multiformat deps --- examples/web-chat/package-lock.json | 800 ++-------------------------- examples/web-chat/package.json | 6 +- 2 files changed, 34 insertions(+), 772 deletions(-) diff --git a/examples/web-chat/package-lock.json b/examples/web-chat/package-lock.json index 3d3a3c0..7f12344 100644 --- a/examples/web-chat/package-lock.json +++ b/examples/web-chat/package-lock.json @@ -10,11 +10,11 @@ "dependencies": { "@libp2p/bootstrap": "^8.0.0", "@livechat/ui-kit": "^0.5.0-24", - "@multiformats/multiaddr": "11.0.7", + "@multiformats/multiaddr": "12.1.5", "@waku/dns-discovery": "^0.0.15", - "@waku/interfaces": "^0.0.16", + "@waku/interfaces": "^0.0.17", "@waku/peer-exchange": "^0.0.15", - "@waku/react": "^0.0.3-7aeb24a", + "@waku/react": "^0.0.4-fe5b4c4", "@waku/sdk": "^0.0.18", "process": "^0.11.10", "protons-runtime": "^3.1.0", @@ -2203,24 +2203,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@chainsafe/libp2p-gossipsub/node_modules/@multiformats/multiaddr": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", - "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", - "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/@chainsafe/libp2p-gossipsub/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", @@ -3783,33 +3765,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/bootstrap/node_modules/@multiformats/multiaddr": { - "version": "12.1.5", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", - "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", - "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": "^12.0.1", - "uint8arrays": "^4.0.2", - "varint": "^6.0.0" - }, - "engines": { - "node": ">=18.0.0", - "npm": ">=8.6.0" - } - }, - "node_modules/@libp2p/bootstrap/node_modules/multiformats": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", - "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/crypto": { "version": "1.0.17", "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-1.0.17.tgz", @@ -3882,33 +3837,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-address-manager/node_modules/@multiformats/multiaddr": { - "version": "12.1.5", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", - "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", - "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": "^12.0.1", - "uint8arrays": "^4.0.2", - "varint": "^6.0.0" - }, - "engines": { - "node": ">=18.0.0", - "npm": ">=8.6.0" - } - }, - "node_modules/@libp2p/interface-address-manager/node_modules/multiformats": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", - "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/interface-connection-encrypter": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/@libp2p/interface-connection-encrypter/-/interface-connection-encrypter-4.0.1.tgz", @@ -3961,24 +3889,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-connection-gater/node_modules/@multiformats/multiaddr": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", - "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", - "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-connection-gater/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", @@ -4020,24 +3930,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-connection-manager/node_modules/@multiformats/multiaddr": { - "version": "12.1.5", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", - "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", - "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": "^12.0.1", - "uint8arrays": "^4.0.2", - "varint": "^6.0.0" - }, - "engines": { - "node": ">=18.0.0", - "npm": ">=8.6.0" - } - }, "node_modules/@libp2p/interface-connection-manager/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", @@ -4047,15 +3939,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-connection-manager/node_modules/multiformats": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", - "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/interface-content-routing": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/@libp2p/interface-content-routing/-/interface-content-routing-2.1.1.tgz", @@ -4131,24 +4014,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-libp2p/node_modules/@multiformats/multiaddr": { - "version": "12.1.5", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", - "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", - "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": "^12.0.1", - "uint8arrays": "^4.0.2", - "varint": "^6.0.0" - }, - "engines": { - "node": ">=18.0.0", - "npm": ">=8.6.0" - } - }, "node_modules/@libp2p/interface-libp2p/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", @@ -4158,15 +4023,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-libp2p/node_modules/multiformats": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", - "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/interface-metrics": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/@libp2p/interface-metrics/-/interface-metrics-4.0.8.tgz", @@ -4195,24 +4051,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-metrics/node_modules/@multiformats/multiaddr": { - "version": "12.1.5", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", - "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", - "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": "^12.0.1", - "uint8arrays": "^4.0.2", - "varint": "^6.0.0" - }, - "engines": { - "node": ">=18.0.0", - "npm": ">=8.6.0" - } - }, "node_modules/@libp2p/interface-metrics/node_modules/it-stream-types": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-1.0.5.tgz", @@ -4222,15 +4060,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-metrics/node_modules/multiformats": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", - "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/interface-peer-discovery": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-discovery/-/interface-peer-discovery-2.0.0.tgz", @@ -4269,6 +4098,23 @@ "npm": ">=7.0.0" } }, + "node_modules/@libp2p/interface-peer-info/node_modules/@multiformats/multiaddr": { + "version": "11.6.1", + "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-11.6.1.tgz", + "integrity": "sha512-doST0+aB7/3dGK9+U5y3mtF3jq85KGbke1QiH0KE1F5mGQ9y56mFebTeu2D9FNOm+OT6UHb8Ss8vbSnpGjeLNw==", + "dependencies": { + "@chainsafe/is-ip": "^2.0.1", + "dns-over-http-resolver": "^2.1.0", + "err-code": "^3.0.1", + "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-peer-routing": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@libp2p/interface-peer-routing/-/interface-peer-routing-1.1.1.tgz", @@ -4296,33 +4142,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-peer-store/node_modules/@multiformats/multiaddr": { - "version": "12.1.5", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", - "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", - "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": "^12.0.1", - "uint8arrays": "^4.0.2", - "varint": "^6.0.0" - }, - "engines": { - "node": ">=18.0.0", - "npm": ">=8.6.0" - } - }, - "node_modules/@libp2p/interface-peer-store/node_modules/multiformats": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", - "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/interface-pubsub": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/@libp2p/interface-pubsub/-/interface-pubsub-4.0.1.tgz", @@ -4355,24 +4174,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-pubsub/node_modules/@multiformats/multiaddr": { - "version": "12.1.5", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", - "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", - "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": "^12.0.1", - "uint8arrays": "^4.0.2", - "varint": "^6.0.0" - }, - "engines": { - "node": ">=18.0.0", - "npm": ">=8.6.0" - } - }, "node_modules/@libp2p/interface-pubsub/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", @@ -4382,15 +4183,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-pubsub/node_modules/multiformats": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", - "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", - "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", @@ -4433,24 +4225,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-registrar/node_modules/@multiformats/multiaddr": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", - "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", - "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-registrar/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", @@ -4495,24 +4269,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-stream-muxer/node_modules/@multiformats/multiaddr": { - "version": "12.1.5", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", - "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", - "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": "^12.0.1", - "uint8arrays": "^4.0.2", - "varint": "^6.0.0" - }, - "engines": { - "node": ">=18.0.0", - "npm": ">=8.6.0" - } - }, "node_modules/@libp2p/interface-stream-muxer/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", @@ -4522,15 +4278,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-stream-muxer/node_modules/multiformats": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", - "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/interface-transport": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/@libp2p/interface-transport/-/interface-transport-4.0.3.tgz", @@ -4563,24 +4310,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-transport/node_modules/@multiformats/multiaddr": { - "version": "12.1.5", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", - "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", - "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": "^12.0.1", - "uint8arrays": "^4.0.2", - "varint": "^6.0.0" - }, - "engines": { - "node": ">=18.0.0", - "npm": ">=8.6.0" - } - }, "node_modules/@libp2p/interface-transport/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", @@ -4590,15 +4319,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/interface-transport/node_modules/multiformats": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", - "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/interfaces": { "version": "3.3.2", "resolved": "https://registry.npmjs.org/@libp2p/interfaces/-/interfaces-3.3.2.tgz", @@ -4645,24 +4365,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/logger/node_modules/@multiformats/multiaddr": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", - "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", - "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/mplex": { "version": "8.0.4", "resolved": "https://registry.npmjs.org/@libp2p/mplex/-/mplex-8.0.4.tgz", @@ -4704,24 +4406,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/mplex/node_modules/@multiformats/multiaddr": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", - "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", - "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/mplex/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", @@ -4873,24 +4557,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/peer-record/node_modules/@multiformats/multiaddr": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", - "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", - "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/peer-record/node_modules/long": { "version": "5.2.3", "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", @@ -4959,33 +4625,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/peer-store/node_modules/@multiformats/multiaddr": { - "version": "12.1.5", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", - "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", - "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": "^12.0.1", - "uint8arrays": "^4.0.2", - "varint": "^6.0.0" - }, - "engines": { - "node": ">=18.0.0", - "npm": ">=8.6.0" - } - }, - "node_modules/@libp2p/peer-store/node_modules/@multiformats/multiaddr/node_modules/multiformats": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", - "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@libp2p/peer-store/node_modules/long": { "version": "5.2.3", "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", @@ -5086,24 +4725,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/pubsub/node_modules/@multiformats/multiaddr": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", - "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", - "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/pubsub/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", @@ -5176,24 +4797,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/utils/node_modules/@multiformats/multiaddr": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", - "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", - "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/utils/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", @@ -5245,24 +4848,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@libp2p/websockets/node_modules/@multiformats/multiaddr": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", - "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", - "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/websockets/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", @@ -5401,7 +4986,7 @@ "@multiformats/multiaddr": "^12.0.0" } }, - "node_modules/@multiformats/mafmt/node_modules/@multiformats/multiaddr": { + "node_modules/@multiformats/multiaddr": { "version": "12.1.5", "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", @@ -5419,32 +5004,6 @@ "npm": ">=8.6.0" } }, - "node_modules/@multiformats/mafmt/node_modules/multiformats": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", - "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@multiformats/multiaddr": { - "version": "11.0.7", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-11.0.7.tgz", - "integrity": "sha512-rCqYS3Qz/dm4H/1Lvda11OBZf1tH8rst69GWK9jDy8AY+3n+NBBdErA/SRtdcRx6hPtQ8lAB5UhHlzIVbViv1Q==", - "dependencies": { - "@chainsafe/is-ip": "^2.0.1", - "dns-over-http-resolver": "^2.1.0", - "err-code": "^3.0.1", - "multiformats": "^10.0.0", - "uint8arrays": "^4.0.2", - "varint": "^6.0.0" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@multiformats/multiaddr-to-uri": { "version": "9.0.7", "resolved": "https://registry.npmjs.org/@multiformats/multiaddr-to-uri/-/multiaddr-to-uri-9.0.7.tgz", @@ -5457,28 +5016,10 @@ "npm": ">=7.0.0" } }, - "node_modules/@multiformats/multiaddr-to-uri/node_modules/@multiformats/multiaddr": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", - "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", - "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/@multiformats/multiaddr/node_modules/multiformats": { - "version": "10.0.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-10.0.3.tgz", - "integrity": "sha512-K2yGSmstS/oEmYiEIieHb53jJCaqp4ERPDQAYrm5sV3UUrVDZeshJQCK6GHAKyIGufU1vAcbS0PdAAZmC7Tzcw==", + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", + "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" @@ -6924,28 +6465,10 @@ "node": ">=16" } }, - "node_modules/@waku/enr/node_modules/@multiformats/multiaddr": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", - "integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", - "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/@waku/interfaces": { - "version": "0.0.16", - "resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.16.tgz", - "integrity": "sha512-eHDH7/B1zsJqn5gh4HW2pcT8mVz2dG2gXSS0pf7SS612q91ZI4iLQA850K+prnleaZUAx1Vj7VjZoi8aQ7zdNA==", + "version": "0.0.17", + "resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.17.tgz", + "integrity": "sha512-/3HrMhpjMwpArm73L05Q7xLPKFeGjvpDlrFq4lqrXjKa8J2VUmiZh6fD9LdYP1ZvhPdzrCRAL+o7+Lb9kt4fvQ==", "engines": { "node": ">=16" } @@ -6971,24 +6494,6 @@ "node": ">=16" } }, - "node_modules/@waku/peer-exchange/node_modules/@multiformats/multiaddr": { - "version": "12.1.5", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", - "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", - "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": "^12.0.1", - "uint8arrays": "^4.0.2", - "varint": "^6.0.0" - }, - "engines": { - "node": ">=18.0.0", - "npm": ">=8.6.0" - } - }, "node_modules/@waku/peer-exchange/node_modules/@waku/core": { "version": "0.0.22", "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.22.tgz", @@ -7037,14 +6542,6 @@ "node": ">=16" } }, - "node_modules/@waku/peer-exchange/node_modules/@waku/interfaces": { - "version": "0.0.17", - "resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.17.tgz", - "integrity": "sha512-/3HrMhpjMwpArm73L05Q7xLPKFeGjvpDlrFq4lqrXjKa8J2VUmiZh6fD9LdYP1ZvhPdzrCRAL+o7+Lb9kt4fvQ==", - "engines": { - "node": ">=16" - } - }, "node_modules/@waku/peer-exchange/node_modules/@waku/utils": { "version": "0.0.10", "resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.10.tgz", @@ -7057,15 +6554,6 @@ "node": ">=16" } }, - "node_modules/@waku/peer-exchange/node_modules/multiformats": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", - "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@waku/proto": { "version": "0.0.5", "resolved": "https://registry.npmjs.org/@waku/proto/-/proto-0.0.5.tgz", @@ -7122,181 +6610,17 @@ } }, "node_modules/@waku/react": { - "version": "0.0.3-7aeb24a", - "resolved": "https://registry.npmjs.org/@waku/react/-/react-0.0.3-7aeb24a.tgz", - "integrity": "sha512-b2AYtYTGEyWQfDCoNgwlGQakP8M57b3uRQlQDkvrMbbHC9l6mkJBsxWCCa9e+ccJzrZNGqMRLFmRWzzbXNLFsQ==", - "dependencies": { - "@waku/interfaces": "^0.0.16", - "@waku/relay": "^0.0.4", - "@waku/sdk": "^0.0.17" - }, + "version": "0.0.4-fe5b4c4", + "resolved": "https://registry.npmjs.org/@waku/react/-/react-0.0.4-fe5b4c4.tgz", + "integrity": "sha512-mSeCR5DGBCmcrmv2gfUXxU3IO8mEC9feRCgmRj5x1t1UiAHr4IkFQHNZh1Dd5G24On4Fa7LCpuwCAXp+7ayQYQ==", "engines": { "node": ">=18" }, "peerDependencies": { + "@waku/sdk": "^0.0.18", "react": "^16.8.0 || ^17 || ^18" } }, - "node_modules/@waku/react/node_modules/@multiformats/multiaddr": { - "version": "12.1.5", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", - "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", - "optional": true, - "peer": true, - "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": "^12.0.1", - "uint8arrays": "^4.0.2", - "varint": "^6.0.0" - }, - "engines": { - "node": ">=18.0.0", - "npm": ">=8.6.0" - } - }, - "node_modules/@waku/react/node_modules/@waku/core": { - "version": "0.0.21", - "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.21.tgz", - "integrity": "sha512-o42TIfOWNcO6PMYUkfJcNpDQ1xrO3ZOSDcuLWwsNd2yVTRp2f5hVcvf6XX9pM+uRhEj6RqS06SB4PKCmLqshfw==", - "dependencies": { - "@noble/hashes": "^1.3.0", - "@waku/interfaces": "0.0.16", - "@waku/proto": "0.0.5", - "@waku/utils": "0.0.9", - "debug": "^4.3.4", - "it-all": "^3.0.2", - "it-length-prefixed": "^9.0.1", - "it-pipe": "^3.0.1", - "p-event": "^5.0.1", - "uint8arraylist": "^2.4.3", - "uuid": "^9.0.0" - }, - "engines": { - "node": ">=16" - }, - "peerDependencies": { - "@multiformats/multiaddr": "^12.0.0", - "libp2p": "^0.45.9" - }, - "peerDependenciesMeta": { - "@multiformats/multiaddr": { - "optional": true - } - } - }, - "node_modules/@waku/react/node_modules/@waku/sdk": { - "version": "0.0.17", - "resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.17.tgz", - "integrity": "sha512-PdvS6sQqOnOBN53otMoqSnQkZLjXo49B6AxziAlS6zykJV8SuC5in13oHTrkvODpELJfxk0sEsnnU0j0jEJX9w==", - "dependencies": { - "@chainsafe/libp2p-noise": "^12.0.1", - "@libp2p/mplex": "^8.0.4", - "@libp2p/websockets": "^6.0.3", - "@waku/core": "0.0.21", - "@waku/dns-discovery": "0.0.15", - "@waku/interfaces": "0.0.16", - "@waku/relay": "0.0.4", - "@waku/utils": "0.0.9", - "libp2p": "^0.45.9" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/@waku/react/node_modules/multiformats": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", - "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", - "optional": true, - "peer": true, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/relay": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/@waku/relay/-/relay-0.0.4.tgz", - "integrity": "sha512-njNL5VagqsXj0yq5XWCtPX6cbfzOTLUzLSltob/tSlPNXQCLMnEKHXfHaoYxTIRaq7gZVr2ZnpIkkt0SCw5pMw==", - "dependencies": { - "@chainsafe/libp2p-gossipsub": "^9.1.0", - "@noble/hashes": "^1.3.0", - "@waku/core": "0.0.21", - "@waku/interfaces": "0.0.16", - "@waku/proto": "0.0.5", - "@waku/utils": "0.0.9", - "chai": "^4.3.7", - "debug": "^4.3.4", - "fast-check": "^3.8.1" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/@waku/relay/node_modules/@multiformats/multiaddr": { - "version": "12.1.5", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", - "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", - "optional": true, - "peer": true, - "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": "^12.0.1", - "uint8arrays": "^4.0.2", - "varint": "^6.0.0" - }, - "engines": { - "node": ">=18.0.0", - "npm": ">=8.6.0" - } - }, - "node_modules/@waku/relay/node_modules/@waku/core": { - "version": "0.0.21", - "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.21.tgz", - "integrity": "sha512-o42TIfOWNcO6PMYUkfJcNpDQ1xrO3ZOSDcuLWwsNd2yVTRp2f5hVcvf6XX9pM+uRhEj6RqS06SB4PKCmLqshfw==", - "dependencies": { - "@noble/hashes": "^1.3.0", - "@waku/interfaces": "0.0.16", - "@waku/proto": "0.0.5", - "@waku/utils": "0.0.9", - "debug": "^4.3.4", - "it-all": "^3.0.2", - "it-length-prefixed": "^9.0.1", - "it-pipe": "^3.0.1", - "p-event": "^5.0.1", - "uint8arraylist": "^2.4.3", - "uuid": "^9.0.0" - }, - "engines": { - "node": ">=16" - }, - "peerDependencies": { - "@multiformats/multiaddr": "^12.0.0", - "libp2p": "^0.45.9" - }, - "peerDependenciesMeta": { - "@multiformats/multiaddr": { - "optional": true - } - } - }, - "node_modules/@waku/relay/node_modules/multiformats": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", - "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", - "optional": true, - "peer": true, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@waku/sdk": { "version": "0.0.18", "resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.18.tgz", @@ -7316,24 +6640,6 @@ "node": ">=16" } }, - "node_modules/@waku/sdk/node_modules/@multiformats/multiaddr": { - "version": "12.1.5", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", - "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", - "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": "^12.0.1", - "uint8arrays": "^4.0.2", - "varint": "^6.0.0" - }, - "engines": { - "node": ">=18.0.0", - "npm": ">=8.6.0" - } - }, "node_modules/@waku/sdk/node_modules/@waku/core": { "version": "0.0.22", "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.22.tgz", @@ -7400,14 +6706,6 @@ "node": ">=16" } }, - "node_modules/@waku/sdk/node_modules/@waku/interfaces": { - "version": "0.0.17", - "resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.17.tgz", - "integrity": "sha512-/3HrMhpjMwpArm73L05Q7xLPKFeGjvpDlrFq4lqrXjKa8J2VUmiZh6fD9LdYP1ZvhPdzrCRAL+o7+Lb9kt4fvQ==", - "engines": { - "node": ">=16" - } - }, "node_modules/@waku/sdk/node_modules/@waku/relay": { "version": "0.0.5", "resolved": "https://registry.npmjs.org/@waku/relay/-/relay-0.0.5.tgz", @@ -7439,15 +6737,6 @@ "node": ">=16" } }, - "node_modules/@waku/sdk/node_modules/multiformats": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", - "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@waku/utils": { "version": "0.0.9", "resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.9.tgz", @@ -15630,33 +14919,6 @@ "npm": ">=7.0.0" } }, - "node_modules/libp2p/node_modules/@multiformats/multiaddr": { - "version": "12.1.5", - "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz", - "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==", - "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": "^12.0.1", - "uint8arrays": "^4.0.2", - "varint": "^6.0.0" - }, - "engines": { - "node": ">=18.0.0", - "npm": ">=8.6.0" - } - }, - "node_modules/libp2p/node_modules/@multiformats/multiaddr/node_modules/multiformats": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz", - "integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/libp2p/node_modules/it-stream-types": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/it-stream-types/-/it-stream-types-2.0.1.tgz", diff --git a/examples/web-chat/package.json b/examples/web-chat/package.json index 5f3c34e..ea507c2 100644 --- a/examples/web-chat/package.json +++ b/examples/web-chat/package.json @@ -5,12 +5,12 @@ "homepage": "/web-chat", "dependencies": { "@libp2p/bootstrap": "^8.0.0", - "@waku/react": "^0.0.3-7aeb24a", + "@waku/react": "^0.0.4-fe5b4c4", "@waku/dns-discovery": "^0.0.15", - "@waku/interfaces": "^0.0.16", + "@waku/interfaces": "^0.0.17", "@waku/peer-exchange": "^0.0.15", "@livechat/ui-kit": "^0.5.0-24", - "@multiformats/multiaddr": "11.0.7", + "@multiformats/multiaddr": "12.1.5", "@waku/sdk": "^0.0.18", "process": "^0.11.10", "protons-runtime": "^3.1.0", From 828e15b2f71ae7d6bafe1b0332146ed52f95d9d6 Mon Sep 17 00:00:00 2001 From: danisharora099 Date: Wed, 2 Aug 2023 17:41:54 +0530 Subject: [PATCH 09/12] update hooks for new API/add verbosity --- examples/web-chat/src/Room.tsx | 28 +++++-- examples/web-chat/src/hooks.ts | 133 +++++++++++++++++++++++---------- 2 files changed, 116 insertions(+), 45 deletions(-) diff --git a/examples/web-chat/src/Room.tsx b/examples/web-chat/src/Room.tsx index 508ffd1..bfee176 100644 --- a/examples/web-chat/src/Room.tsx +++ b/examples/web-chat/src/Room.tsx @@ -24,7 +24,9 @@ export default function Room(props: Props) { discoveredBootstrapPeers, discoveredPeerExchangePeers, } = useNodePeers(node); - const { storePeers, filterPeers, lightPushPeers } = usePeers({ node }); + const { allConnected, storePeers, filterPeers, lightPushPeers } = usePeers({ + node, + }); const onSend = async (text: string) => { if (!onPush || !text) { @@ -46,13 +48,29 @@ export default function Room(props: Props) { } }; + const allConnectedLength = orZero(allConnected?.length); const lightPushPeersLength = orZero(lightPushPeers?.length); const filterPeersLength = orZero(filterPeers?.length); const storePeersLength = orZero(storePeers?.length); - const peersMessage = `Peers: ${lightPushPeersLength} light push, ${filterPeersLength} filter, ${storePeersLength} store.`; - const bootstrapPeersMessage = `Bootstrap peers: ${connectedBootstrapPeers.length} connected, ${discoveredBootstrapPeers.length} discovered.`; - const peerExchangePeersMessage = `Peer exchange peers: ${connectedPeerExchangePeers.length} connected, ${discoveredPeerExchangePeers.length} discovered.`; + const peersMessage = `Peers Connected: ${allConnectedLength} + Store: ${storePeersLength} + Filter: ${filterPeersLength} + Light Push: ${lightPushPeersLength} + `; + + const protocolsPeersMessage = `Peers Discovered: ${ + discoveredBootstrapPeers.size + discoveredPeerExchangePeers.size + } + Bootstrap: ${discoveredBootstrapPeers.size} + Peer Exchange: ${discoveredPeerExchangePeers.size}; + + Peers Connected: ${ + connectedBootstrapPeers.size + connectedPeerExchangePeers.size + } + Bootstrap: ${connectedBootstrapPeers.size} + Peer Exchange: ${connectedPeerExchangePeers.size} + `; return (
diff --git a/examples/web-chat/src/hooks.ts b/examples/web-chat/src/hooks.ts index de7485a..09dde46 100644 --- a/examples/web-chat/src/hooks.ts +++ b/examples/web-chat/src/hooks.ts @@ -1,12 +1,14 @@ import React, { useEffect, useState } from "react"; import { generate } from "server-name-generator"; import { Message } from "./Message"; +import type { PeerId } from "@libp2p/interface-peer-id"; import type { Peer } from "@libp2p/interface-peer-store"; import { EPeersByDiscoveryEvents, LightNode, StoreQueryOptions, Waku, + Tags, } from "@waku/interfaces"; import type { waku } from "@waku/sdk"; @@ -64,45 +66,93 @@ export const useMessages = (params: UseMessagesParams): UseMessagesResult => { // can be safely ignored // this is for experiments on waku side around new discovery options export const useNodePeers = (node: undefined | LightNode) => { - const [discoveredBootstrapPeers, setBootstrapPeers] = useState([]); - const [connectedBootstrapPeers, setConnectedBootstrapPeers] = useState< - Peer[] - >([]); - const [discoveredPeerExchangePeers, setPeerExchangePeers] = useState( - [] + const [discoveredBootstrapPeers, setBootstrapPeers] = useState>( + new Set() ); + const [connectedBootstrapPeers, setConnectedBootstrapPeers] = useState< + Set + >(new Set()); + const [discoveredPeerExchangePeers, setPeerExchangePeers] = useState< + Set + >(new Set()); const [connectedPeerExchangePeers, setConnectedPeerExchangePeers] = useState< - Peer[] - >([]); + Set + >(new Set()); useEffect(() => { if (!node) return; - //TODO: remove any once @waku/sdk is updated - (node as any).connectionManager.addEventListener( - EPeersByDiscoveryEvents.PEER_DISCOVERY_BOOTSTRAP, - (event: CustomEvent) => { - setBootstrapPeers((prev) => [...prev, event.detail]); - } - ); - (node as any).connectionManager.addEventListener( - EPeersByDiscoveryEvents.PEER_CONNECT_BOOTSTRAP, - (event: CustomEvent) => { - setConnectedBootstrapPeers((prev) => [...prev, event.detail]); - } - ); - (node as any).connectionManager.addEventListener( - EPeersByDiscoveryEvents.PEER_DISCOVERY_PEER_EXCHANGE, - (event: CustomEvent) => { - setPeerExchangePeers((prev) => [...prev, event.detail]); - } - ); - (node as any).connectionManager.addEventListener( - EPeersByDiscoveryEvents.PEER_CONNECT_PEER_EXCHANGE, - (event: CustomEvent) => { - setConnectedPeerExchangePeers((prev) => [...prev, event.detail]); - } - ); + const handleDiscoveryBootstrap = (event: CustomEvent) => { + setBootstrapPeers((peers) => new Set([...peers, event.detail])); + }; + + const handleConnectBootstrap = (event: CustomEvent) => { + setConnectedBootstrapPeers((peers) => new Set([...peers, event.detail])); + }; + + const handleDiscoveryPeerExchange = (event: CustomEvent) => { + setPeerExchangePeers((peers) => new Set([...peers, event.detail])); + }; + + const handleConnectPeerExchange = (event: CustomEvent) => { + setConnectedPeerExchangePeers( + (peers) => new Set([...peers, event.detail]) + ); + }; + + const fetchData = async () => { + const { CONNECTED, DISCOVERED } = + await node.connectionManager.getPeersByDiscovery(); + + setConnectedBootstrapPeers( + new Set(CONNECTED[Tags.BOOTSTRAP].map((p) => p.id)) + ); + setConnectedPeerExchangePeers( + new Set(CONNECTED[Tags.PEER_EXCHANGE].map((p) => p.id)) + ); + setBootstrapPeers(new Set(DISCOVERED[Tags.BOOTSTRAP].map((p) => p.id))); + setPeerExchangePeers( + new Set(DISCOVERED[Tags.PEER_EXCHANGE].map((p) => p.id)) + ); + + node.connectionManager.addEventListener( + EPeersByDiscoveryEvents.PEER_DISCOVERY_BOOTSTRAP, + handleDiscoveryBootstrap + ); + node.connectionManager.addEventListener( + EPeersByDiscoveryEvents.PEER_CONNECT_BOOTSTRAP, + handleConnectBootstrap + ); + node.connectionManager.addEventListener( + EPeersByDiscoveryEvents.PEER_DISCOVERY_PEER_EXCHANGE, + handleDiscoveryPeerExchange + ); + node.connectionManager.addEventListener( + EPeersByDiscoveryEvents.PEER_CONNECT_PEER_EXCHANGE, + handleConnectPeerExchange + ); + }; + + fetchData(); + + return () => { + node.connectionManager.removeEventListener( + EPeersByDiscoveryEvents.PEER_DISCOVERY_BOOTSTRAP, + handleDiscoveryBootstrap + ); + node.connectionManager.removeEventListener( + EPeersByDiscoveryEvents.PEER_CONNECT_BOOTSTRAP, + handleConnectBootstrap + ); + node.connectionManager.removeEventListener( + EPeersByDiscoveryEvents.PEER_DISCOVERY_PEER_EXCHANGE, + handleDiscoveryPeerExchange + ); + node.connectionManager.removeEventListener( + EPeersByDiscoveryEvents.PEER_CONNECT_PEER_EXCHANGE, + handleConnectPeerExchange + ); + }; }, [node]); return { @@ -118,9 +168,10 @@ type UsePeersParams = { }; type UsePeersResults = { - storePeers?: undefined | Peer[]; - filterPeers?: undefined | Peer[]; - lightPushPeers?: undefined | Peer[]; + allConnected?: PeerId[]; + storePeers?: PeerId[]; + filterPeers?: PeerId[]; + lightPushPeers?: PeerId[]; }; /** @@ -135,22 +186,24 @@ export const usePeers = (params: UsePeersParams): UsePeersResults => { const { node } = params; const [peers, setPeers] = React.useState({}); - React.useEffect(() => { + useEffect(() => { if (!node) { return; } const listener = async () => { const peers = await Promise.all([ + node?.libp2p.getConnections().map((c) => c.remotePeer), handleCatch(node?.store?.peers()), handleCatch(node?.filter?.peers()), handleCatch(node?.lightPush?.peers()), ]); setPeers({ - storePeers: peers[0], - filterPeers: peers[1], - lightPushPeers: peers[2], + allConnected: peers[0], + storePeers: peers[1]?.map((p) => p.id), + filterPeers: peers[2]?.map((p) => p.id), + lightPushPeers: peers[3]?.map((p) => p.id), }); }; From 3fc193d832f5d60099125fda66590452061ca7e3 Mon Sep 17 00:00:00 2001 From: danisharora099 Date: Wed, 2 Aug 2023 18:05:27 +0530 Subject: [PATCH 10/12] update package.lock --- examples/web-chat/package-lock.json | 827 +++++++++++++++++++++++++--- 1 file changed, 763 insertions(+), 64 deletions(-) diff --git a/examples/web-chat/package-lock.json b/examples/web-chat/package-lock.json index a70e3d8..4f9842c 100644 --- a/examples/web-chat/package-lock.json +++ b/examples/web-chat/package-lock.json @@ -139,7 +139,6 @@ "version": "7.18.6", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", - "dev": true, "dependencies": { "@babel/highlight": "^7.18.6" }, @@ -454,7 +453,6 @@ "version": "7.18.6", "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz", "integrity": "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==", - "dev": true, "dependencies": { "@babel/types": "^7.18.6" }, @@ -577,7 +575,6 @@ "version": "7.19.4", "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz", "integrity": "sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==", - "dev": true, "engines": { "node": ">=6.9.0" } @@ -586,7 +583,6 @@ "version": "7.19.1", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==", - "dev": true, "engines": { "node": ">=6.9.0" } @@ -633,7 +629,6 @@ "version": "7.18.6", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", - "dev": true, "dependencies": { "@babel/helper-validator-identifier": "^7.18.6", "chalk": "^2.0.0", @@ -647,7 +642,6 @@ "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, "dependencies": { "color-convert": "^1.9.0" }, @@ -659,7 +653,6 @@ "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -673,7 +666,6 @@ "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, "dependencies": { "color-name": "1.1.3" } @@ -681,14 +673,12 @@ "node_modules/@babel/highlight/node_modules/color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" }, "node_modules/@babel/highlight/node_modules/escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, "engines": { "node": ">=0.8.0" } @@ -697,7 +687,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, "engines": { "node": ">=4" } @@ -706,7 +695,6 @@ "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, "dependencies": { "has-flag": "^3.0.0" }, @@ -2112,7 +2100,6 @@ "version": "7.21.0", "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.21.0.tgz", "integrity": "sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==", - "dev": true, "dependencies": { "regenerator-runtime": "^0.13.11" }, @@ -2159,7 +2146,6 @@ "version": "7.21.2", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.2.tgz", "integrity": "sha512-3wRZSs7jiFaB8AjxiiD+VqN5DTG2iRvJGQ+qYFrs/654lg6kGTQWIOFjlBo5RaXuAZjBmP3+OQH4dmhqiiyYxw==", - "dev": true, "dependencies": { "@babel/helper-string-parser": "^7.19.4", "@babel/helper-validator-identifier": "^7.19.1", @@ -2993,6 +2979,139 @@ "postcss-selector-parser": "^6.0.10" } }, + "node_modules/@emotion/babel-plugin": { + "version": "11.11.0", + "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.11.0.tgz", + "integrity": "sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ==", + "dependencies": { + "@babel/helper-module-imports": "^7.16.7", + "@babel/runtime": "^7.18.3", + "@emotion/hash": "^0.9.1", + "@emotion/memoize": "^0.8.1", + "@emotion/serialize": "^1.1.2", + "babel-plugin-macros": "^3.1.0", + "convert-source-map": "^1.5.0", + "escape-string-regexp": "^4.0.0", + "find-root": "^1.1.0", + "source-map": "^0.5.7", + "stylis": "4.2.0" + } + }, + "node_modules/@emotion/cache": { + "version": "11.11.0", + "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.11.0.tgz", + "integrity": "sha512-P34z9ssTCBi3e9EI1ZsWpNHcfY1r09ZO0rZbRO2ob3ZQMnFI35jB536qoXbkdesr5EUhYi22anuEJuyxifaqAQ==", + "dependencies": { + "@emotion/memoize": "^0.8.1", + "@emotion/sheet": "^1.2.2", + "@emotion/utils": "^1.2.1", + "@emotion/weak-memoize": "^0.3.1", + "stylis": "4.2.0" + } + }, + "node_modules/@emotion/hash": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.1.tgz", + "integrity": "sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ==" + }, + "node_modules/@emotion/is-prop-valid": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.1.tgz", + "integrity": "sha512-61Mf7Ufx4aDxx1xlDeOm8aFFigGHE4z+0sKCa+IHCeZKiyP9RLD0Mmx7m8b9/Cf37f7NAvQOOJAbQQGVr5uERw==", + "dependencies": { + "@emotion/memoize": "^0.8.1" + } + }, + "node_modules/@emotion/memoize": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.1.tgz", + "integrity": "sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==" + }, + "node_modules/@emotion/react": { + "version": "11.11.1", + "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.11.1.tgz", + "integrity": "sha512-5mlW1DquU5HaxjLkfkGN1GA/fvVGdyHURRiX/0FHl2cfIfRxSOfmxEH5YS43edp0OldZrZ+dkBKbngxcNCdZvA==", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@emotion/babel-plugin": "^11.11.0", + "@emotion/cache": "^11.11.0", + "@emotion/serialize": "^1.1.2", + "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", + "@emotion/utils": "^1.2.1", + "@emotion/weak-memoize": "^0.3.1", + "hoist-non-react-statics": "^3.3.1" + }, + "peerDependencies": { + "react": ">=16.8.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@emotion/serialize": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.2.tgz", + "integrity": "sha512-zR6a/fkFP4EAcCMQtLOhIgpprZOwNmCldtpaISpvz348+DP4Mz8ZoKaGGCQpbzepNIUWbq4w6hNZkwDyKoS+HA==", + "dependencies": { + "@emotion/hash": "^0.9.1", + "@emotion/memoize": "^0.8.1", + "@emotion/unitless": "^0.8.1", + "@emotion/utils": "^1.2.1", + "csstype": "^3.0.2" + } + }, + "node_modules/@emotion/sheet": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.2.tgz", + "integrity": "sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA==" + }, + "node_modules/@emotion/styled": { + "version": "11.11.0", + "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.11.0.tgz", + "integrity": "sha512-hM5Nnvu9P3midq5aaXj4I+lnSfNi7Pmd4EWk1fOZ3pxookaQTNew6bp4JaCBYM4HVFZF9g7UjJmsUmC2JlxOng==", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@emotion/babel-plugin": "^11.11.0", + "@emotion/is-prop-valid": "^1.2.1", + "@emotion/serialize": "^1.1.2", + "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", + "@emotion/utils": "^1.2.1" + }, + "peerDependencies": { + "@emotion/react": "^11.0.0-rc.0", + "react": ">=16.8.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@emotion/unitless": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.1.tgz", + "integrity": "sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ==" + }, + "node_modules/@emotion/use-insertion-effect-with-fallbacks": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.1.tgz", + "integrity": "sha512-jT/qyKZ9rzLErtrjGgdkMBn2OP8wl0G3sQlBb3YPryvKHsjvINUhVaPFfP+fpBcOkmrVOVEEHQFJ7nbj2TH2gw==", + "peerDependencies": { + "react": ">=16.8.0" + } + }, + "node_modules/@emotion/utils": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.1.tgz", + "integrity": "sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg==" + }, + "node_modules/@emotion/weak-memoize": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.1.tgz", + "integrity": "sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww==" + }, "node_modules/@eslint/eslintrc": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.0.tgz", @@ -5096,6 +5215,22 @@ "node": ">= 8" } }, + "node_modules/@popmotion/easing": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@popmotion/easing/-/easing-1.0.2.tgz", + "integrity": "sha512-IkdW0TNmRnWTeWI7aGQIVDbKXPWHVEYdGgd5ZR4SH/Ty/61p63jCjrPxX1XrR7IGkl08bjhJROStD7j+RKgoIw==" + }, + "node_modules/@popmotion/popcorn": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@popmotion/popcorn/-/popcorn-0.3.9.tgz", + "integrity": "sha512-pDUjY0M6Hf9Gn1+AeLwS/Mtk6Gl8bov9mm1GU5dk3ks6jN0nKThA4Shb6MOqLZwgt9zdPsf2ihxiuecvlVAkFg==", + "dependencies": { + "@popmotion/easing": "^1.0.1", + "framesync": "^4.0.1", + "hey-listen": "^1.0.8", + "style-value-types": "^3.1.3" + } + }, "node_modules/@protobufjs/aspromise": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", @@ -5150,6 +5285,133 @@ "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" }, + "node_modules/@react-aria/button": { + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/@react-aria/button/-/button-3.8.0.tgz", + "integrity": "sha512-QdvXTQgn+QEWOHoMbUIPXSBIN5P2r1zthRvqDJMTCzuT0I6LbNAq7RoojEbRrcn0DbTa/nZPzOOYsZXjgteRdw==", + "dependencies": { + "@react-aria/focus": "^3.13.0", + "@react-aria/interactions": "^3.16.0", + "@react-aria/utils": "^3.18.0", + "@react-stately/toggle": "^3.6.0", + "@react-types/button": "^3.7.3", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" + } + }, + "node_modules/@react-aria/focus": { + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.13.0.tgz", + "integrity": "sha512-9DW7RqgbFWiImZmkmTIJGe9LrQBqEeLYwlKY+F1FTVXerIPiCCQ3JO3ESEa4lFMmkaHoueFLUrq2jkYjRNqoTw==", + "dependencies": { + "@react-aria/interactions": "^3.16.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" + } + }, + "node_modules/@react-aria/interactions": { + "version": "3.16.0", + "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.16.0.tgz", + "integrity": "sha512-vXANFKVd6ONqNw8U+ZWbSA8lrduCOXw7cWsYosTa5dZ24ZJfRfbhlvRe8CaAKMhB/rOOmvTLaAwdIPia6JtLDg==", + "dependencies": { + "@react-aria/ssr": "^3.7.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" + } + }, + "node_modules/@react-aria/ssr": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.7.0.tgz", + "integrity": "sha512-bfufjg4ESE5giN+Fxj1XIzS5f/YIhqcGc+Ve+vUUKU8xZ8t/Xtjlv8F3kjqDBQdk//n3mluFY7xG1wQVB9rMLQ==", + "dependencies": { + "@swc/helpers": "^0.5.0" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" + } + }, + "node_modules/@react-aria/utils": { + "version": "3.18.0", + "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.18.0.tgz", + "integrity": "sha512-eLs0ExzXx/D3P9qe6ophJ87ZFcI1oRTyRa51M59pCad7grrpk0gWcYrBjMwcR457YWOQQWCeLuq8QJl2QxCW6Q==", + "dependencies": { + "@react-aria/ssr": "^3.7.0", + "@react-stately/utils": "^3.7.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" + } + }, + "node_modules/@react-stately/toggle": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/@react-stately/toggle/-/toggle-3.6.0.tgz", + "integrity": "sha512-w+Aqh78H9MLs0FDUYTjAzYhrHQWaDJ2zWjyg2oYcSvERES0+D0obmPvtJLWsFrJ8fHJrTmxd7ezVFBY9BbPeFQ==", + "dependencies": { + "@react-stately/utils": "^3.7.0", + "@react-types/checkbox": "^3.4.4", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" + } + }, + "node_modules/@react-stately/utils": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@react-stately/utils/-/utils-3.7.0.tgz", + "integrity": "sha512-VbApRiUV2rhozOfk0Qj9xt0qjVbQfLTgAzXLdrfeZSBnyIgo1bFRnjDpnDZKZUUCeGQcJJI03I9niaUtY+kwJQ==", + "dependencies": { + "@swc/helpers": "^0.5.0" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" + } + }, + "node_modules/@react-types/button": { + "version": "3.7.3", + "resolved": "https://registry.npmjs.org/@react-types/button/-/button-3.7.3.tgz", + "integrity": "sha512-Fz1t/kYinHDunmct3tADD2h3UDBPZUfRE+zCzYiymz0g+v/zYHTAqnkWToTF9ptf8HIB5L2Z2VFYpeUHFfpWzg==", + "dependencies": { + "@react-types/shared": "^3.18.1" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" + } + }, + "node_modules/@react-types/checkbox": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/@react-types/checkbox/-/checkbox-3.4.4.tgz", + "integrity": "sha512-rJNhbW4R9HTvdbF2oTZmqGiZ/WVP3/XsU4gae7tfdhSYjG+5T5h9zau1vRhz++zwKn57wfcyNn6a83GDhhgkVw==", + "dependencies": { + "@react-types/shared": "^3.18.1" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" + } + }, + "node_modules/@react-types/shared": { + "version": "3.18.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.18.1.tgz", + "integrity": "sha512-OpTYRFS607Ctfd6Tmhyk6t6cbFyDhO5K+etU35X50pMzpypo1b7vF0mkngEeTc0Xwl0e749ONZNPZskMyu5k8w==", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" + } + }, "node_modules/@rollup/plugin-babel": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-5.3.1.tgz", @@ -5492,6 +5754,14 @@ "url": "https://github.com/sponsors/gregberge" } }, + "node_modules/@swc/helpers": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.1.tgz", + "integrity": "sha512-sJ902EfIzn1Fa+qYmjdQqh8tPsoxyBz+8yBKC2HKUxyezKJFwPGOn7pv4WY6QuQW//ySQi5lJjA/ZT9sNWWNTg==", + "dependencies": { + "tslib": "^2.4.0" + } + }, "node_modules/@tootallnate/once": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", @@ -5761,8 +6031,7 @@ "node_modules/@types/parse-json": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", - "dev": true + "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" }, "node_modules/@types/prettier": { "version": "2.7.2", @@ -6943,6 +7212,11 @@ "node": ">= 8" } }, + "node_modules/are-passive-events-supported": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/are-passive-events-supported/-/are-passive-events-supported-1.1.1.tgz", + "integrity": "sha512-5wnvlvB/dTbfrCvJ027Y4L4gW/6Mwoy1uFSavney0YO++GU+0e/flnjiBBwH+1kh7xNCgCOGvmJC3s32joYbww==" + }, "node_modules/arg": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", @@ -7105,8 +7379,7 @@ "node_modules/asap": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", - "dev": true + "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==" }, "node_modules/assertion-error": { "version": "1.1.0", @@ -7303,7 +7576,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==", - "dev": true, "dependencies": { "@babel/runtime": "^7.12.5", "cosmiconfig": "^7.0.0", @@ -7711,11 +7983,170 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/callbag": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/callbag/-/callbag-1.5.1.tgz", + "integrity": "sha512-FGpkXYZ018Wpeevhsp7R2iABZuDamg54TaObKI48JBNGzMlkb9bRwS54eR0sgFksQpspsCan4iaaVbAbxm9MIg==" + }, + "node_modules/callbag-animation-frames": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/callbag-animation-frames/-/callbag-animation-frames-2.1.0.tgz", + "integrity": "sha512-mRvpE47uySluq2ioOVMY1fqS//6bxuiok8hNEMdPwa2JPYBJIQxkdpTpOXuAzyfxd+U1Yysp3I37PrnaH0ziPg==", + "dependencies": { + "callbag": "^1.1.0", + "callbag-share": "^1.1.1" + } + }, + "node_modules/callbag-concat": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/callbag-concat/-/callbag-concat-1.2.1.tgz", + "integrity": "sha512-iIC4FCUF7sKnt4gDKHNjMRHekebdaA1/udjON/mCLg31EzzTO/dE9nfxpcj+G/63KopFXVQdZKQDsu7UOYGpPg==", + "dependencies": { + "callbag": "^1.2.0" + } + }, + "node_modules/callbag-concat-with": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/callbag-concat-with/-/callbag-concat-with-1.2.0.tgz", + "integrity": "sha512-F2BHaSHMdKHsdQ01dtgUzcGWOEzE5MxpneN5TVlcVleVZb3BUnTcIuI40mLdd8xfYAADYhDGk+SaoRsq8VH1Kw==", + "dependencies": { + "callbag": "^1.1.0", + "callbag-concat": "^1.2.0", + "callbag-of": "^2.0.0" + } + }, + "node_modules/callbag-defer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/callbag-defer/-/callbag-defer-1.1.0.tgz", + "integrity": "sha512-hRW/2CiLZjaKy5IOT1htcZOgwQut+E2gwjVRXDdoLgTrzce9WNK5PUmNhG/oZDEo2DFASiKU3tPBJ6A4iDzjXQ==", + "dependencies": { + "callbag": "^1.2.0", + "callbag-flatten": "^1.4.0", + "callbag-lazy": "^2.0.1" + } + }, + "node_modules/callbag-duration-progress": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/callbag-duration-progress/-/callbag-duration-progress-2.0.0.tgz", + "integrity": "sha512-DqgzOXYttMYBTSv1KJmK6RROqxjUH00k+2eCoBfpk3nFF6ABHvr5QdvE4hJgH7eoG4psuoBvuKgGXYt3fU1QBg==", + "dependencies": { + "callbag": "^1.2.0", + "callbag-concat-with": "^1.2.0", + "callbag-map": "^1.1.0", + "callbag-ms-elapsed": "^2.0.1", + "callbag-take-while": "^2.0.0" + } + }, + "node_modules/callbag-flatten": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/callbag-flatten/-/callbag-flatten-1.7.0.tgz", + "integrity": "sha512-1nekVS5GwI38CRcIzmLFRFmXeoHkLG/SkUAwwvarwL4srmHW994UzFAcwwQbZjI9gudqfVDvY+LnopNb4Dtc4w==", + "dependencies": { + "callbag": "^1.1.0" + } + }, + "node_modules/callbag-from-event": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/callbag-from-event/-/callbag-from-event-1.3.0.tgz", + "integrity": "sha512-cAu82hKKFmMtKTmd50p/nlMfs1oKz+PGUZmmwhbzPbw4YtjNgTKg6pXjpcQprhBQdrqg/v8pHcAS8Qs6X7r8fw==", + "dependencies": { + "callbag": "^1.1.0" + } + }, + "node_modules/callbag-lazy": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/callbag-lazy/-/callbag-lazy-2.0.2.tgz", + "integrity": "sha512-UJ/Rcq+p9Pi5t8lJx9U2CrK3j6UPZXzlM3P2DiroPZ1MTfWKBx/+GbmDWBnYfGkmzxAsdKCn4S5Ek0xbZUjR5g==", + "dependencies": { + "callbag": "1.2.0" + } + }, + "node_modules/callbag-lazy/node_modules/callbag": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/callbag/-/callbag-1.2.0.tgz", + "integrity": "sha512-RMcVOk2oyA8CyCt/HsLEvnvvttKlaGVaG0uOo5IY7RpdiPLhStjxv5oYre33VJfT8kJE+cuKLSNHooz7yCUdhQ==" + }, + "node_modules/callbag-map": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/callbag-map/-/callbag-map-1.1.0.tgz", + "integrity": "sha512-/xFzvJCtx1xulZpFeI4wq+ZD7tkg417XOeJ3wS9v8bHLLpt+fHKXgbZ8TBnnIxywJN6Uu/ZhL+c1DzUG6KXYFQ==", + "dependencies": { + "callbag": "^1.1.0" + } + }, + "node_modules/callbag-merge": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/callbag-merge/-/callbag-merge-3.2.2.tgz", + "integrity": "sha512-VeBE5Mh7LUxYwxaITKsHt3CmZeMMfpsjEamMD0Wf6ajrFE6FGa4aQnd7SZ5h0KSSTcivxe0UaT6x97f8Y9atzA==", + "dependencies": { + "callbag": "^1.2.0" + } + }, + "node_modules/callbag-ms-elapsed": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/callbag-ms-elapsed/-/callbag-ms-elapsed-2.0.1.tgz", + "integrity": "sha512-d8AVcahgd+YyRgoZwp6hkGkcao3kJQXwRBWze00s3ZTi9ma1/c3xiEqwObWsHa34RO4zEmPBEtPPtT8hutlnrQ==", + "dependencies": { + "callbag": "^1.2.0", + "callbag-animation-frames": "^2.1.0", + "callbag-defer": "^1.1.0", + "callbag-map": "^1.1.0" + } + }, + "node_modules/callbag-of": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/callbag-of/-/callbag-of-2.0.1.tgz", + "integrity": "sha512-Lox6qcByTeqeFKtiOPAoWueKUbqT+X9DdSZKJwzshKJAkWmP5qPnO7z2HDzIfWkv3uY7z6WZ9ZMGjdbO3BOfpw==", + "dependencies": { + "callbag": "^1.4.0" + } + }, + "node_modules/callbag-share": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/callbag-share/-/callbag-share-1.3.0.tgz", + "integrity": "sha512-KqM16UzlvK3DcYRsT6Myabm4GqvsMQIoGLWmawVVoMAw3534O0XCa+6Sai0mjFKenC3tqTacyChlusoZoZmdsg==", + "dependencies": { + "callbag": "^1.1.0" + } + }, + "node_modules/callbag-subject": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/callbag-subject/-/callbag-subject-1.0.2.tgz", + "integrity": "sha512-pMIKoXxJdO6SypymWQyLJHW/idY0esgT68I6xjYQjGZch0IVPlM5Bd+YSJaQ17fGLJEvK3HsaRaDuU8nmAqWOQ==" + }, + "node_modules/callbag-subscribe": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/callbag-subscribe/-/callbag-subscribe-1.5.1.tgz", + "integrity": "sha512-CRj2jKfcRvG8gap2ehsm/NxZVAjnwUApI+0ZY3bu6nyFfhhOzH+4RWpB/4RSJUZNN3ZILdSgAKQiUov/7ov9BQ==", + "dependencies": { + "callbag": "^1.2.0" + } + }, + "node_modules/callbag-take-until": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/callbag-take-until/-/callbag-take-until-3.0.2.tgz", + "integrity": "sha512-mO5ubNxHYlxMDOKkpVMdKwfkdlRoSmLxDv+0Iw/THDt6NGC+1KngBi9/erTbKC6GMhqGLIVfcO+AkmQy6h2fSQ==", + "dependencies": { + "callbag": "1.2.0" + } + }, + "node_modules/callbag-take-until/node_modules/callbag": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/callbag/-/callbag-1.2.0.tgz", + "integrity": "sha512-RMcVOk2oyA8CyCt/HsLEvnvvttKlaGVaG0uOo5IY7RpdiPLhStjxv5oYre33VJfT8kJE+cuKLSNHooz7yCUdhQ==" + }, + "node_modules/callbag-take-while": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/callbag-take-while/-/callbag-take-while-2.0.0.tgz", + "integrity": "sha512-c6nnV14Xh/QEzkD6dgFSitMs0moh4ejF0zSf5SyHxNZdOjJtO+B9G9FKH7GCKPI9q485sjJ51/WcZLCloY1RdA==", + "dependencies": { + "callbag": "^1.1.0" + } + }, "node_modules/callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true, "engines": { "node": ">=6" } @@ -7851,6 +8282,11 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, + "node_modules/change-emitter": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/change-emitter/-/change-emitter-0.1.6.tgz", + "integrity": "sha512-YXzt1cQ4a2jqazhcuSWEOc1K2q8g9H6eWNsyZgi640LDzRWVQ2eDe+Y/kVdftH+vYdPF2rgDb3dLdpxE1jvAxw==" + }, "node_modules/char-regex": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", @@ -7979,6 +8415,14 @@ "wrap-ansi": "^7.0.0" } }, + "node_modules/clsx": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz", + "integrity": "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==", + "engines": { + "node": ">=6" + } + }, "node_modules/co": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", @@ -8281,8 +8725,7 @@ "node_modules/convert-source-map": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", - "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", - "dev": true + "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==" }, "node_modules/cookie": { "version": "0.5.0", @@ -8344,7 +8787,6 @@ "version": "7.1.0", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", - "dev": true, "dependencies": { "@types/parse-json": "^4.0.0", "import-fresh": "^3.2.1", @@ -8973,8 +9415,7 @@ "node_modules/csstype": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz", - "integrity": "sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw==", - "dev": true + "integrity": "sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw==" }, "node_modules/damerau-levenshtein": { "version": "1.0.8", @@ -9395,6 +9836,15 @@ "utila": "~0.4" } }, + "node_modules/dom-helpers": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz", + "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==", + "dependencies": { + "@babel/runtime": "^7.8.7", + "csstype": "^3.0.2" + } + }, "node_modules/dom-serializer": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.4.1.tgz", @@ -9587,9 +10037,6 @@ "version": "0.1.13", "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "dev": true, - "optional": true, - "peer": true, "dependencies": { "iconv-lite": "^0.6.2" } @@ -9625,7 +10072,6 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dev": true, "dependencies": { "is-arrayish": "^0.2.1" } @@ -9777,7 +10223,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "dev": true, "engines": { "node": ">=10" }, @@ -10752,6 +11197,34 @@ "bser": "2.1.1" } }, + "node_modules/fbjs": { + "version": "0.8.18", + "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.18.tgz", + "integrity": "sha512-EQaWFK+fEPSoibjNy8IxUtaFOMXcWsY0JaVrQoZR9zC8N2Ygf9iDITPWjUTVIax95b6I742JFLqASHfsag/vKA==", + "dependencies": { + "core-js": "^1.0.0", + "isomorphic-fetch": "^2.1.1", + "loose-envify": "^1.0.0", + "object-assign": "^4.1.0", + "promise": "^7.1.1", + "setimmediate": "^1.0.5", + "ua-parser-js": "^0.7.30" + } + }, + "node_modules/fbjs/node_modules/core-js": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", + "integrity": "sha512-ZiPp9pZlgxpWRu0M+YWbm6+aQ84XEfH1JRXvfOc/fILWI0VKhLC2LX13X1NYq4fULzLMq7Hfh43CSo2/aIaUPA==", + "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js." + }, + "node_modules/fbjs/node_modules/promise": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", + "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", + "dependencies": { + "asap": "~2.0.3" + } + }, "node_modules/file-entry-cache": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", @@ -10911,6 +11384,11 @@ "url": "https://github.com/avajs/find-cache-dir?sponsor=1" } }, + "node_modules/find-root": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", + "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==" + }, "node_modules/find-up": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", @@ -11129,6 +11607,14 @@ "url": "https://www.patreon.com/infusion" } }, + "node_modules/framesync": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/framesync/-/framesync-4.1.0.tgz", + "integrity": "sha512-MmgZ4wCoeVxNbx2xp5hN/zPDCbLSKiDt4BbbslK7j/pM2lg5S0vhTNv1v8BCVb99JPIo6hXBFdwzU7Q4qcAaoQ==", + "dependencies": { + "hey-listen": "^1.0.5" + } + }, "node_modules/freeport-promise": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/freeport-promise/-/freeport-promise-2.0.0.tgz", @@ -11190,8 +11676,7 @@ "node_modules/function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, "node_modules/function.prototype.name": { "version": "1.1.5", @@ -11548,7 +12033,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, "dependencies": { "function-bind": "^1.1.1" }, @@ -11643,11 +12127,24 @@ "he": "bin/he" } }, + "node_modules/hey-listen": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz", + "integrity": "sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q==" + }, "node_modules/hi-base32": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/hi-base32/-/hi-base32-0.5.1.tgz", "integrity": "sha512-EmBBpvdYh/4XxsnUybsPag6VikPYnN30td+vQk+GI3qpahVEG9+gTkG0aXVxTjBqQ5T6ijbWIu77O+C5WFWsnA==" }, + "node_modules/hoist-non-react-statics": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", + "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", + "dependencies": { + "react-is": "^16.7.0" + } + }, "node_modules/hoopy": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/hoopy/-/hoopy-0.1.4.tgz", @@ -11930,7 +12427,6 @@ "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dev": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" }, @@ -11991,7 +12487,6 @@ "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dev": true, "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" @@ -12007,7 +12502,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dev": true, "dependencies": { "callsites": "^3.0.0" }, @@ -12019,7 +12513,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true, "engines": { "node": ">=4" } @@ -12185,8 +12678,7 @@ "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", - "dev": true + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" }, "node_modules/is-bigint": { "version": "1.0.4", @@ -12244,7 +12736,6 @@ "version": "2.11.0", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz", "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", - "dev": true, "dependencies": { "has": "^1.0.3" }, @@ -12600,6 +13091,32 @@ "node": ">=12" } }, + "node_modules/isomorphic-fetch": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", + "integrity": "sha512-9c4TNAKYXM5PRyVcwUZrF3W09nQ+sO7+jydgs4ZGW9dhsLG2VOlISJABombdQqQRXCwuYG3sYV/puGf5rp0qmA==", + "dependencies": { + "node-fetch": "^1.0.1", + "whatwg-fetch": ">=0.10.0" + } + }, + "node_modules/isomorphic-fetch/node_modules/is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/isomorphic-fetch/node_modules/node-fetch": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", + "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", + "dependencies": { + "encoding": "^0.1.11", + "is-stream": "^1.0.1" + } + }, "node_modules/istanbul-lib-coverage": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", @@ -14155,8 +14672,7 @@ "node_modules/json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "dev": true + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" }, "node_modules/json-schema": { "version": "0.4.0", @@ -14444,8 +14960,7 @@ "node_modules/lines-and-columns": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", - "dev": true + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" }, "node_modules/linkify-it": { "version": "3.0.3", @@ -15845,7 +16360,6 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dev": true, "dependencies": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", @@ -15913,8 +16427,7 @@ "node_modules/path-parse": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" }, "node_modules/path-to-regexp": { "version": "0.1.7", @@ -15926,7 +16439,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true, "engines": { "node": ">=8" } @@ -16156,6 +16668,17 @@ "resolved": "https://registry.npmjs.org/platform/-/platform-1.3.6.tgz", "integrity": "sha512-fnWVljUchTro6RiCFvCXBbNhJc2NijN7oIQxbwsyL0buWJPG85v81ehlHI9fXrJsMNgTofEoWIQeClKpgxFLrg==" }, + "node_modules/polished": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/polished/-/polished-3.7.2.tgz", + "integrity": "sha512-pQKtpZGmsZrW8UUpQMAnR7s3ppHeMQVNyMDKtUyKwuvDmklzcEyM5Kllb3JyE/sE/x7arDmyd35i+4vp99H6sQ==", + "dependencies": { + "@babel/runtime": "^7.12.5" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/postcss": { "version": "8.4.27", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.27.tgz", @@ -17562,7 +18085,6 @@ "version": "15.8.1", "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", - "dev": true, "dependencies": { "loose-envify": "^1.4.0", "object-assign": "^4.1.1", @@ -18164,8 +18686,7 @@ "node_modules/react-is": { "version": "16.13.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", - "dev": true + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" }, "node_modules/react-refresh": { "version": "0.11.0", @@ -18284,6 +18805,37 @@ "node": ">= 10.0.0" } }, + "node_modules/react-textarea-autosize": { + "version": "8.5.2", + "resolved": "https://registry.npmjs.org/react-textarea-autosize/-/react-textarea-autosize-8.5.2.tgz", + "integrity": "sha512-uOkyjkEl0ByEK21eCJMHDGBAAd/BoFQBawYK5XItjAmCTeSbjxghd8qnt7nzsLYzidjnoObu6M26xts0YGKsGg==", + "dependencies": { + "@babel/runtime": "^7.20.13", + "use-composed-ref": "^1.3.0", + "use-latest": "^1.2.1" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/react-transition-group": { + "version": "4.4.5", + "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz", + "integrity": "sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==", + "dependencies": { + "@babel/runtime": "^7.5.5", + "dom-helpers": "^5.0.1", + "loose-envify": "^1.4.0", + "prop-types": "^15.6.2" + }, + "peerDependencies": { + "react": ">=16.6.0", + "react-dom": ">=16.6.0" + } + }, "node_modules/read-cache": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", @@ -18473,8 +19025,7 @@ "node_modules/regenerator-runtime": { "version": "0.13.11", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", - "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==", - "dev": true + "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==" }, "node_modules/regenerator-transform": { "version": "0.15.1", @@ -18622,11 +19173,15 @@ "lodash": "^4.17.21" } }, + "node_modules/resize-observer-polyfill": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz", + "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==" + }, "node_modules/resolve": { "version": "1.22.2", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz", "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==", - "dev": true, "dependencies": { "is-core-module": "^2.11.0", "path-parse": "^1.0.7", @@ -18888,8 +19443,7 @@ "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "dev": true + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "node_modules/sanitize-filename": { "version": "1.6.3", @@ -19172,6 +19726,11 @@ "resolved": "https://registry.npmjs.org/server-name-generator/-/server-name-generator-1.0.5.tgz", "integrity": "sha512-LBo265lZl4rL/XETBhxPPssAzLNEl9fKNobJmFJxKcQQ43oONuHBQXR8evMnh9z2krWFVWmRPH7bWuvQvNQ4yw==" }, + "node_modules/setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==" + }, "node_modules/setprototypeof": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", @@ -19266,6 +19825,14 @@ "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==", "dev": true }, + "node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/source-map-js": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", @@ -19689,6 +20256,20 @@ "webpack": "^5.0.0" } }, + "node_modules/style-value-types": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/style-value-types/-/style-value-types-3.2.0.tgz", + "integrity": "sha512-ih0mGsrYYmVvdDi++/66O6BaQPRPRMQHoZevNNdMMcPlP/cH28Rnfsqf1UEba/Bwfuw9T8BmIMwbGdzsPwQKrQ==", + "dependencies": { + "hey-listen": "^1.0.8", + "tslib": "^1.10.0" + } + }, + "node_modules/style-value-types/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, "node_modules/stylehacks": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-5.1.1.tgz", @@ -19705,6 +20286,11 @@ "postcss": "^8.2.15" } }, + "node_modules/stylis": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz", + "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==" + }, "node_modules/sucrase": { "version": "3.34.0", "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.34.0.tgz", @@ -19799,7 +20385,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "dev": true, "engines": { "node": ">= 0.4" }, @@ -19971,12 +20556,25 @@ "node": ">=4" } }, + "node_modules/symbol-observable": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz", + "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/symbol-tree": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", "dev": true }, + "node_modules/tabbable": { + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-5.3.3.tgz", + "integrity": "sha512-QD9qKY3StfbZqWOPLp0++pOrAVb/HbUi5xCc8cUo4XjP19808oaMiDzn0leBY5mCespIBM0CIZePzZjgzR83kA==" + }, "node_modules/tailwindcss": { "version": "3.3.3", "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.3.tgz", @@ -20223,7 +20821,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", - "dev": true, "engines": { "node": ">=4" } @@ -20368,8 +20965,7 @@ "node_modules/tslib": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==", - "dev": true + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" }, "node_modules/tsutils": { "version": "3.21.0", @@ -20473,6 +21069,24 @@ "node": ">=4.2.0" } }, + "node_modules/ua-parser-js": { + "version": "0.7.35", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.35.tgz", + "integrity": "sha512-veRf7dawaj9xaWEu9HoTVn5Pggtc/qj+kqTOFvNiN1l0YdxwC1kvel57UCjThjGa3BHBihE8/UJAHI+uQHmd/g==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/ua-parser-js" + }, + { + "type": "paypal", + "url": "https://paypal.me/faisalman" + } + ], + "engines": { + "node": "*" + } + }, "node_modules/uc.micro": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", @@ -20705,6 +21319,93 @@ "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==", "dev": true }, + "node_modules/use-composed-ref": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/use-composed-ref/-/use-composed-ref-1.3.0.tgz", + "integrity": "sha512-GLMG0Jc/jiKov/3Ulid1wbv3r54K9HlMW29IWcDFPEqFkSO2nS0MuefWgMJpeHQ9YJeXDL3ZUF+P3jdXlZX/cQ==", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/use-constant": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/use-constant/-/use-constant-1.1.1.tgz", + "integrity": "sha512-sy2ttlE4kuAnNbp2P6a5aTZiGYwsZojkqaGZ31yDDjIurteUS8GOcYiPGmJ3y/LHOHkdazDdVRBZPzH3RZHffA==", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/use-isomorphic-layout-effect": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/use-isomorphic-layout-effect/-/use-isomorphic-layout-effect-1.1.2.tgz", + "integrity": "sha512-49L8yCO3iGT/ZF9QttjwLF/ZD9Iwto5LnH5LmEdk/6cFmXddqi2ulF0edxTwjj+7mqvpVVGQWvbXZdn32wRSHA==", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/use-latest": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/use-latest/-/use-latest-1.2.1.tgz", + "integrity": "sha512-xA+AVm/Wlg3e2P/JiItTziwS7FK92LWrDB0p+hgXloIMuVCeJJ8v6f0eeHyPZaJrM+usM1FkFfbNCrJGs8A/zw==", + "dependencies": { + "use-isomorphic-layout-effect": "^1.1.1" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/use-onclickoutside": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/use-onclickoutside/-/use-onclickoutside-0.4.1.tgz", + "integrity": "sha512-hAo1viJ9D2mPffUig4EWCwE4as7fq84HANk3MCkY3rhXk5oMl0mjLCLF/OhzWIhTaITcAcDDcnaxRdMHPq+sww==", + "dependencies": { + "are-passive-events-supported": "^1.1.1", + "use-latest": "^1.2.1" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/use-previous": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/use-previous/-/use-previous-1.2.0.tgz", + "integrity": "sha512-tK7Ne779nqTKGeh0rsFvxnQcEqePFRYlM0rfmNy9JH+h+2ndja7P0017nda0Q1gkqfcOD//pKZbDyyLIUH2s+Q==", + "dependencies": { + "use-isomorphic-layout-effect": "^1.1.0" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/use-subscription": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/use-subscription/-/use-subscription-1.8.0.tgz", + "integrity": "sha512-LISuG0/TmmoDoCRmV5XAqYkd3UCBNM0ML3gGBndze65WITcsExCD3DTvXXTLyNcOC0heFQZzluW88bN/oC1DQQ==", + "dependencies": { + "use-sync-external-store": "^1.2.0" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/use-sync-external-store": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz", + "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, "node_modules/utf8-byte-length": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/utf8-byte-length/-/utf8-byte-length-1.0.4.tgz", @@ -21267,8 +21968,7 @@ "node_modules/whatwg-fetch": { "version": "3.6.2", "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.2.tgz", - "integrity": "sha512-bJlen0FcuU/0EMLrdbJ7zOnW6ITZLrZMIarMUVmdKtsGvZna8vxKYaexICWPfZ8qwf9fzNq+UEIZrnSaApt6RA==", - "dev": true + "integrity": "sha512-bJlen0FcuU/0EMLrdbJ7zOnW6ITZLrZMIarMUVmdKtsGvZna8vxKYaexICWPfZ8qwf9fzNq+UEIZrnSaApt6RA==" }, "node_modules/whatwg-mimetype": { "version": "2.3.0", @@ -21834,7 +22534,6 @@ "version": "1.10.2", "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", - "dev": true, "engines": { "node": ">= 6" } From 6654248738f826c49c71fd20da07fddd5115ce60 Mon Sep 17 00:00:00 2001 From: danisharora099 Date: Wed, 2 Aug 2023 18:21:35 +0530 Subject: [PATCH 11/12] improve readability on chatroom --- examples/web-chat/src/Room.tsx | 45 ++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/examples/web-chat/src/Room.tsx b/examples/web-chat/src/Room.tsx index da584df..553e48a 100644 --- a/examples/web-chat/src/Room.tsx +++ b/examples/web-chat/src/Room.tsx @@ -52,31 +52,34 @@ export default function Room(props: Props) { const filterPeersLength = orZero(filterPeers?.length); const storePeersLength = orZero(storePeers?.length); - const peersMessage = `Peers Connected: ${allConnectedLength} - Store: ${storePeersLength} - Filter: ${filterPeersLength} - Light Push: ${lightPushPeersLength} - `; - - const protocolsPeersMessage = `Peers Discovered: ${ - discoveredBootstrapPeers.size + discoveredPeerExchangePeers.size - } - Bootstrap: ${discoveredBootstrapPeers.size} - Peer Exchange: ${discoveredPeerExchangePeers.size}; - - Peers Connected: ${ - connectedBootstrapPeers.size + connectedPeerExchangePeers.size - } - Bootstrap: ${connectedBootstrapPeers.size} - Peer Exchange: ${connectedPeerExchangePeers.size} - `; - return (
-
{peersMessage}
+
+
Peers Connected: {allConnectedLength}
+
Store: {storePeersLength}
+
Filter: {filterPeersLength}
+
Light Push: {lightPushPeersLength}
+
Waku v2 Web Chat
-
{protocolsPeersMessage}
+
+
+ Peers Discovered:{" "} + {discoveredBootstrapPeers.size + discoveredPeerExchangePeers.size} +
+
+ Bootstrap: {discoveredBootstrapPeers.size} Peer Exchange:{" "} + {discoveredPeerExchangePeers.size} +
+
+ Peers Connected:{" "} + {connectedBootstrapPeers.size + connectedPeerExchangePeers.size} +
+
+ Bootstrap: {connectedBootstrapPeers.size} Peer Exchange:{" "} + {connectedPeerExchangePeers.size} +
+
From 21c2d4643669b0531f9f7b3c1744b36ea6de054b Mon Sep 17 00:00:00 2001 From: danisharora099 Date: Thu, 3 Aug 2023 13:11:20 +0530 Subject: [PATCH 12/12] rename var --- examples/web-chat/src/hooks.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/web-chat/src/hooks.ts b/examples/web-chat/src/hooks.ts index 09dde46..5f38677 100644 --- a/examples/web-chat/src/hooks.ts +++ b/examples/web-chat/src/hooks.ts @@ -100,7 +100,7 @@ export const useNodePeers = (node: undefined | LightNode) => { ); }; - const fetchData = async () => { + const initHookData = async () => { const { CONNECTED, DISCOVERED } = await node.connectionManager.getPeersByDiscovery(); @@ -133,7 +133,7 @@ export const useNodePeers = (node: undefined | LightNode) => { ); }; - fetchData(); + initHookData(); return () => { node.connectionManager.removeEventListener(