chore: up dogfooding app (#85)

This commit is contained in:
Sasha 2024-09-11 01:22:41 +02:00 committed by GitHub
parent 5385e53b68
commit 2a8424e04c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 60 additions and 237 deletions

View File

@ -9,7 +9,7 @@
"version": "0.0.1",
"dependencies": {
"@libp2p/peer-id": "^4.1.2",
"@waku/sdk": "0.0.27-514ce36.0",
"@waku/sdk": "0.0.28",
"protobufjs": "^7.3.0"
},
"devDependencies": {
@ -51,42 +51,6 @@
"resolved": "https://registry.npmjs.org/@chainsafe/is-ip/-/is-ip-2.0.2.tgz",
"integrity": "sha512-ndGqEMG1W5WkGagaqOZHpPU172AGdxr+LD15sv3WIUvT5oCFUrG1Y0CW/v2Egwj4JXEvSibaIIIqImsm98y1nA=="
},
"node_modules/@chainsafe/libp2p-gossipsub": {
"version": "13.2.0",
"resolved": "https://registry.npmjs.org/@chainsafe/libp2p-gossipsub/-/libp2p-gossipsub-13.2.0.tgz",
"integrity": "sha512-yKGXIJMLeNLa/XeI57HvQKhf1f4LRgBuV1Lrzv9Vo685Szr+qaBATUbMk/aLxpN2rMgibDIS5F8yaeuIUVPh8Q==",
"license": "Apache-2.0",
"dependencies": {
"@libp2p/crypto": "^4.0.1",
"@libp2p/interface": "^1.5.0",
"@libp2p/interface-internal": "^1.0.7",
"@libp2p/peer-id": "^4.0.5",
"@libp2p/pubsub": "^9.0.8",
"@multiformats/multiaddr": "^12.1.14",
"denque": "^2.1.0",
"it-length-prefixed": "^9.0.4",
"it-pipe": "^3.0.1",
"it-pushable": "^3.2.3",
"multiformats": "^13.0.1",
"protons-runtime": "5.4.0",
"uint8arraylist": "^2.4.8",
"uint8arrays": "^5.0.1"
},
"engines": {
"npm": ">=8.7.0"
}
},
"node_modules/@chainsafe/libp2p-gossipsub/node_modules/protons-runtime": {
"version": "5.4.0",
"resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.4.0.tgz",
"integrity": "sha512-XfA++W/WlQOSyjUyuF5lgYBfXZUEMP01Oh1C2dSwZAlF2e/ZrMRPfWonXj6BGM+o8Xciv7w0tsRMKYwYEuQvaw==",
"license": "Apache-2.0 OR MIT",
"dependencies": {
"uint8-varint": "^2.0.2",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^5.0.1"
}
},
"node_modules/@chainsafe/libp2p-noise": {
"version": "15.1.1",
"resolved": "https://registry.npmjs.org/@chainsafe/libp2p-noise/-/libp2p-noise-15.1.1.tgz",
@ -562,9 +526,9 @@
}
},
"node_modules/@libp2p/ping": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/@libp2p/ping/-/ping-1.1.5.tgz",
"integrity": "sha512-CeRpXdtljyWr/UNmrojnZbyI/oDkdu6duCGtWnnDFmPS2tR4Rxr2C8sKA1iAvhgvRFhh5vrTmlB1QUbUWHHRCg==",
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/@libp2p/ping/-/ping-1.1.6.tgz",
"integrity": "sha512-tzTL0BzS1JaHE8v4PhRZ5K8wQQQcTMXM/0baCkLTLIaSMe1fzhj+KHbFNoUrY3yni4yfsVY1uR0qchhc1/J9qg==",
"license": "Apache-2.0 OR MIT",
"dependencies": {
"@libp2p/crypto": "^4.1.9",
@ -576,27 +540,6 @@
"uint8arrays": "^5.1.0"
}
},
"node_modules/@libp2p/pubsub": {
"version": "9.0.26",
"resolved": "https://registry.npmjs.org/@libp2p/pubsub/-/pubsub-9.0.26.tgz",
"integrity": "sha512-69sFv5DAHSXrQdu4THX9WSZuEfCjEbbk6bKiTtbNGpq1Vaf57rjsTWk/EXMS/veeMl95xJs3/BR7dQal2PtJmw==",
"license": "Apache-2.0 OR MIT",
"dependencies": {
"@libp2p/crypto": "^4.1.9",
"@libp2p/interface": "^1.7.0",
"@libp2p/interface-internal": "^1.3.4",
"@libp2p/peer-collections": "^5.2.9",
"@libp2p/peer-id": "^4.2.4",
"@libp2p/utils": "^5.4.9",
"it-length-prefixed": "^9.0.4",
"it-pipe": "^3.0.1",
"it-pushable": "^3.2.3",
"multiformats": "^13.1.0",
"p-queue": "^8.0.1",
"uint8arraylist": "^2.4.8",
"uint8arrays": "^5.1.0"
}
},
"node_modules/@libp2p/utils": {
"version": "5.4.9",
"resolved": "https://registry.npmjs.org/@libp2p/utils/-/utils-5.4.9.tgz",
@ -1234,16 +1177,16 @@
"dev": true
},
"node_modules/@waku/core": {
"version": "0.0.31-514ce36.0",
"resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.31-514ce36.0.tgz",
"integrity": "sha512-2kGL6WVSEAUxOvxDnRDurlzhrY3O42MNQDsyYHv89qln13IIpK6OpQmRYrDugSCITwIks0RS8ZrfU0+nli3guA==",
"version": "0.0.32",
"resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.32.tgz",
"integrity": "sha512-dsG9ox7VpOsbflFnrfy96wBuk2f3KVaTGMv20T9iZeCr2Yil26xhu9IAyL8EvyIG4ip6VJFooBw7kQQ8Ck+wZA==",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@libp2p/ping": "^1.1.2",
"@waku/enr": "0.0.25-514ce36.0",
"@waku/interfaces": "0.0.26-514ce36.0",
"@waku/proto": "0.0.8-514ce36.0",
"@waku/utils": "0.0.19-514ce36.0",
"@waku/enr": "^0.0.26",
"@waku/interfaces": "0.0.27",
"@waku/proto": "0.0.8",
"@waku/utils": "0.0.20",
"debug": "^4.3.4",
"it-all": "^3.0.4",
"it-length-prefixed": "^9.0.4",
@ -1257,32 +1200,28 @@
},
"peerDependencies": {
"@multiformats/multiaddr": "^12.0.0",
"@waku/enr": "0.0.25-514ce36.0",
"@waku/interfaces": "0.0.26-514ce36.0",
"@waku/proto": "0.0.8-514ce36.0",
"@waku/utils": "0.0.19-514ce36.0",
"libp2p": "^1.8.1"
},
"peerDependenciesMeta": {
"@multiformats/multiaddr": {
"optional": true
},
"@waku/interfaces": {
"libp2p": {
"optional": true
}
}
},
"node_modules/@waku/discovery": {
"version": "0.0.4-514ce36.0",
"resolved": "https://registry.npmjs.org/@waku/discovery/-/discovery-0.0.4-514ce36.0.tgz",
"integrity": "sha512-NVrvFrCkmeLfLR+rS4cuV++7zz4qoxr+XUiKA6Pvej7eLvgM40MGrktaiafNkYY0qGzqN2VAUPshmn3eI4uaLg==",
"version": "0.0.5",
"resolved": "https://registry.npmjs.org/@waku/discovery/-/discovery-0.0.5.tgz",
"integrity": "sha512-GKR+7gu3g9NW9eG9J0oK8q1UIea+RL+8NfC/RLunfU5xj6BGuw+VuBW3CDnm6USYOxHHLGjA6OxHf/upOTpSlA==",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@waku/core": "0.0.31-514ce36.0",
"@waku/enr": "0.0.25-514ce36.0",
"@waku/interfaces": "0.0.26-514ce36.0",
"@waku/proto": "0.0.8-514ce36.0",
"@waku/utils": "0.0.19-514ce36.0",
"@waku/core": "0.0.32",
"@waku/enr": "0.0.26",
"@waku/interfaces": "0.0.27",
"@waku/proto": "^0.0.8",
"@waku/utils": "0.0.20",
"debug": "^4.3.4",
"dns-query": "^0.11.2",
"hi-base32": "^0.5.1",
@ -1292,26 +1231,18 @@
"node": ">=20"
},
"peerDependencies": {
"@libp2p/interface": "^1.6.3",
"@waku/core": "0.0.31-514ce36.0",
"@waku/enr": "0.0.25-514ce36.0",
"@waku/interfaces": "0.0.26-514ce36.0",
"@waku/proto": "0.0.8-514ce36.0",
"@waku/utils": "0.0.19-514ce36.0"
"@libp2p/interface": "^1.6.3"
},
"peerDependenciesMeta": {
"@libp2p/interface": {
"optional": true
},
"@waku/interfaces": {
"optional": true
}
}
},
"node_modules/@waku/enr": {
"version": "0.0.25-514ce36.0",
"resolved": "https://registry.npmjs.org/@waku/enr/-/enr-0.0.25-514ce36.0.tgz",
"integrity": "sha512-1vKvj4+6LgN620Aq3QxvO8XhPxoq6DYUQOabPbytikPtPW1ESy6SOXjIG4RRDw1YRfg19xJ2foVy0qJm8VNEfw==",
"version": "0.0.26",
"resolved": "https://registry.npmjs.org/@waku/enr/-/enr-0.0.26.tgz",
"integrity": "sha512-5JEEyAINiRv+BI9svY7UQrYU5xy/akGq3pDjbEeGPGOWga4BJ128RGpNz0tHHMnUXaHFoq+2DpQbT2oQXytXkw==",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@ethersproject/rlp": "^5.7.0",
@ -1319,7 +1250,7 @@
"@libp2p/peer-id": "^4.2.1",
"@multiformats/multiaddr": "^12.0.0",
"@noble/secp256k1": "^1.7.1",
"@waku/utils": "0.0.19-514ce36.0",
"@waku/utils": "0.0.20",
"debug": "^4.3.4",
"js-sha3": "^0.9.2"
},
@ -1327,58 +1258,43 @@
"node": ">=20"
},
"peerDependencies": {
"@multiformats/multiaddr": "^12.0.0",
"@waku/interfaces": "0.0.26-514ce36.0",
"@waku/utils": "0.0.19-514ce36.0"
"@multiformats/multiaddr": "^12.0.0"
},
"peerDependenciesMeta": {
"@multiformats/multiaddr": {
"optional": true
},
"@waku/interfaces": {
"optional": true
}
}
},
"node_modules/@waku/interfaces": {
"version": "0.0.26-514ce36.0",
"resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.26-514ce36.0.tgz",
"integrity": "sha512-5AdgYrDKX9RaNFoyHqXsKCAnME5SdV39EG7WhjHt1AaFagEwZikVScZUdUHX/BNg4m6DDUSnybXCvvyV/dr6WA==",
"version": "0.0.27",
"resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.27.tgz",
"integrity": "sha512-VsmpngqYVVY57JcyQkNau62clV/hStWfBVAAhlDUvaOcci+j3Aj3hWj550klFlcud9btEQ2Kl+P6EHnq9bQWIw==",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@waku/proto": "0.0.8-514ce36.0"
"@waku/proto": "^0.0.8"
},
"engines": {
"node": ">=20"
}
},
"node_modules/@waku/message-hash": {
"version": "0.1.15-514ce36.0",
"resolved": "https://registry.npmjs.org/@waku/message-hash/-/message-hash-0.1.15-514ce36.0.tgz",
"integrity": "sha512-7O5slsK4M9YaiqsH0XZNXD6hLo16MCzs0hw418yead/9E7FnrjbNrL93n2XAtSdhZv6/14ruolMbnUDA6t86yw==",
"version": "0.1.16",
"resolved": "https://registry.npmjs.org/@waku/message-hash/-/message-hash-0.1.16.tgz",
"integrity": "sha512-Vwm4mWC3PSWf4YRjmfIR7SFzmps2JnF6ICbQJYGoTmLaS4AaxsbwrLmb747QMnpdfh9aemB0HbtM/cZEBrbWsA==",
"license": "MIT OR Apache-2.0",
"peer": true,
"dependencies": {
"@noble/hashes": "^1.3.2",
"@waku/utils": "0.0.19-514ce36.0"
"@waku/utils": "0.0.20"
},
"engines": {
"node": ">=20"
},
"peerDependencies": {
"@waku/interfaces": "0.0.26-514ce36.0",
"@waku/utils": "0.0.19-514ce36.0"
},
"peerDependenciesMeta": {
"@waku/interfaces": {
"optional": true
}
}
},
"node_modules/@waku/proto": {
"version": "0.0.8-514ce36.0",
"resolved": "https://registry.npmjs.org/@waku/proto/-/proto-0.0.8-514ce36.0.tgz",
"integrity": "sha512-JRNosYv9ZobTkU0aKJHjd3FVzawE2Ljt0PenI24MBt5SNu67U9/y62kij/zktjEdcq/OgMKY093mysnbS4o7Eg==",
"version": "0.0.8",
"resolved": "https://registry.npmjs.org/@waku/proto/-/proto-0.0.8.tgz",
"integrity": "sha512-RPq8XLZf1xoKXCFyGKfL0j2ySfMS6MNimBwhMHKM53kRlGnszP3wBZnjWBApBY7G1pIHvxzvUBpFQzYdHMhIQA==",
"license": "MIT OR Apache-2.0",
"dependencies": {
"protons-runtime": "^5.4.0"
@ -1387,45 +1303,10 @@
"node": ">=20"
}
},
"node_modules/@waku/relay": {
"version": "0.0.14-514ce36.0",
"resolved": "https://registry.npmjs.org/@waku/relay/-/relay-0.0.14-514ce36.0.tgz",
"integrity": "sha512-D4l21ZYyMFF4NlrsgHW9ufIQ7czXm+VtuOan9/cZhaHGzExwmCIprUIGjeahHtTv7KXnLOHViv2i2o0PWbeC6Q==",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@chainsafe/libp2p-gossipsub": "^13.1.0",
"@noble/hashes": "^1.3.2",
"@waku/core": "0.0.31-514ce36.0",
"@waku/interfaces": "0.0.26-514ce36.0",
"@waku/proto": "0.0.8-514ce36.0",
"@waku/utils": "0.0.19-514ce36.0",
"chai": "^4.3.10",
"debug": "^4.3.4",
"fast-check": "^3.19.0"
},
"engines": {
"node": ">=18"
},
"peerDependencies": {
"@chainsafe/libp2p-gossipsub": "^12.0.0",
"@waku/core": "0.0.31-514ce36.0",
"@waku/interfaces": "0.0.26-514ce36.0",
"@waku/proto": "0.0.8-514ce36.0",
"@waku/utils": "0.0.19-514ce36.0"
},
"peerDependenciesMeta": {
"@chainsafe/libp2p-gossipsub": {
"optional": true
},
"@waku/interfaces": {
"optional": true
}
}
},
"node_modules/@waku/sdk": {
"version": "0.0.27-514ce36.0",
"resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.27-514ce36.0.tgz",
"integrity": "sha512-q/Cmf0Uzu2B/yb93I6xgBhMLb66544o+3YJx0j56S/3fAh1RvVcS5H7mEUjN5BZofS1+0uAhhFaCRvIa05NCSg==",
"version": "0.0.28",
"resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.28.tgz",
"integrity": "sha512-wiy8BB2Rg2yizlwM58RhWRkpuP8XjCXCmiVAsNqitHZw3L5LjdGDU9YZU105M0J61L7DMAtlRoRBXgJyPWNEfg==",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@chainsafe/libp2p-noise": "^15.1.0",
@ -1435,56 +1316,40 @@
"@libp2p/ping": "^1.1.2",
"@libp2p/websockets": "^8.1.4",
"@noble/hashes": "^1.3.3",
"@waku/core": "0.0.31-514ce36.0",
"@waku/discovery": "0.0.4-514ce36.0",
"@waku/interfaces": "0.0.26-514ce36.0",
"@waku/proto": "0.0.8-514ce36.0",
"@waku/relay": "0.0.14-514ce36.0",
"@waku/utils": "0.0.19-514ce36.0",
"@waku/core": "0.0.32",
"@waku/discovery": "0.0.5",
"@waku/interfaces": "0.0.27",
"@waku/message-hash": "0.1.16",
"@waku/proto": "^0.0.8",
"@waku/utils": "0.0.20",
"libp2p": "^1.8.1"
},
"engines": {
"node": ">=20"
},
"peerDependencies": {
"@libp2p/bootstrap": "^10",
"@waku/core": "0.0.31-514ce36.0",
"@waku/interfaces": "0.0.26-514ce36.0",
"@waku/message-hash": "0.1.15-514ce36.0",
"@waku/relay": "0.0.14-514ce36.0",
"@waku/utils": "0.0.19-514ce36.0"
"@libp2p/bootstrap": "^10"
},
"peerDependenciesMeta": {
"@libp2p/bootstrap": {
"optional": true
},
"@waku/interfaces": {
"optional": true
}
}
},
"node_modules/@waku/utils": {
"version": "0.0.19-514ce36.0",
"resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.19-514ce36.0.tgz",
"integrity": "sha512-BsWm+JW/ARVhxOG0S4dB5QaRzcdNNRmwutu9d9c5gj1FBhiaW+DGlEwTJM/YIuCGFNET77DmYGxvL2aACR8JEA==",
"version": "0.0.20",
"resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.20.tgz",
"integrity": "sha512-10s/1Mqnyc24ckJ5Abbg510KmQZRavVw4WF5LynR1nL4VwDQkJn9o1szzysLn+j+DwXtYWM5PDXspu7uHcXGcw==",
"license": "MIT OR Apache-2.0",
"dependencies": {
"@noble/hashes": "^1.3.2",
"@waku/interfaces": "0.0.26-514ce36.0",
"@waku/interfaces": "0.0.27",
"chai": "^4.3.10",
"debug": "^4.3.4",
"uint8arrays": "^5.0.1"
},
"engines": {
"node": ">=20"
},
"peerDependencies": {
"@waku/interfaces": "0.0.26-514ce36.0"
},
"peerDependenciesMeta": {
"@waku/interfaces": {
"optional": true
}
}
},
"node_modules/@webassemblyjs/ast": {
@ -2810,15 +2675,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/denque": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/denque/-/denque-2.1.0.tgz",
"integrity": "sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==",
"license": "Apache-2.0",
"engines": {
"node": ">=0.10"
}
},
"node_modules/depd": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
@ -3673,28 +3529,6 @@
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
"dev": true
},
"node_modules/fast-check": {
"version": "3.22.0",
"resolved": "https://registry.npmjs.org/fast-check/-/fast-check-3.22.0.tgz",
"integrity": "sha512-8HKz3qXqnHYp/VCNn2qfjHdAdcI8zcSqOyX64GOMukp7SL2bfzfeDKjSd+UyECtejccaZv3LcvZTm9YDD22iCQ==",
"funding": [
{
"type": "individual",
"url": "https://github.com/sponsors/dubzzz"
},
{
"type": "opencollective",
"url": "https://opencollective.com/fast-check"
}
],
"license": "MIT",
"dependencies": {
"pure-rand": "^6.1.0"
},
"engines": {
"node": ">=8.0.0"
}
},
"node_modules/fast-deep-equal": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
@ -5398,9 +5232,9 @@
}
},
"node_modules/libp2p": {
"version": "1.9.2",
"resolved": "https://registry.npmjs.org/libp2p/-/libp2p-1.9.2.tgz",
"integrity": "sha512-cvzSC3UM9A1w6kb3GO9+iqRwCg/c/4hF6RZTF0SyY5U3xVawXSQPMcB5td9d+20HcNrYm2uWKjlexORllAT2hA==",
"version": "1.9.4",
"resolved": "https://registry.npmjs.org/libp2p/-/libp2p-1.9.4.tgz",
"integrity": "sha512-OCMQqJ0Po8jhgb4CilWhI5EWhppn9ENdhg63PQL8Yi1tk2rOwJJt+NBec85AU18zBc0jv7Q6SgQRkzCefAuyIQ==",
"license": "Apache-2.0 OR MIT",
"dependencies": {
"@libp2p/crypto": "^4.1.9",
@ -6331,22 +6165,6 @@
"node": ">=6"
}
},
"node_modules/pure-rand": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz",
"integrity": "sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==",
"funding": [
{
"type": "individual",
"url": "https://github.com/sponsors/dubzzz"
},
{
"type": "opencollective",
"url": "https://opencollective.com/fast-check"
}
],
"license": "MIT"
},
"node_modules/pvtsutils": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/pvtsutils/-/pvtsutils-1.3.5.tgz",

View File

@ -8,7 +8,7 @@
},
"dependencies": {
"@libp2p/peer-id": "^4.1.2",
"@waku/sdk": "0.0.27-514ce36.0",
"@waku/sdk": "0.0.28",
"protobufjs": "^7.3.0"
},
"devDependencies": {

View File

@ -71,8 +71,13 @@ export async function app(telemetryClient: TelemetryClient) {
payload,
timestamp: new Date(),
});
console.log("===");
console.log("light push successes: ", result.successes.length);
console.log(result.successes);
console.log("light push failures: ", result.failures.length);
console.log(result.failures);
if (result.successes.length > 0) {
// Push to telemetry client
telemetryClient.push<TelemetryPushFilter>([