mirror of https://github.com/waku-org/waku-lab.git
feat: setup message monitor for dogfooding
This commit is contained in:
parent
8b970b259c
commit
44c5c25a58
|
@ -15,7 +15,7 @@
|
||||||
"@types/node": "^16.18.111",
|
"@types/node": "^16.18.111",
|
||||||
"@types/react": "^18.3.9",
|
"@types/react": "^18.3.9",
|
||||||
"@types/react-dom": "^18.3.0",
|
"@types/react-dom": "^18.3.0",
|
||||||
"@waku/sdk": "^0.0.29-338250a.0",
|
"@waku/sdk": "^0.0.28",
|
||||||
"protobufjs": "^7.4.0",
|
"protobufjs": "^7.4.0",
|
||||||
"react": "^18.3.1",
|
"react": "^18.3.1",
|
||||||
"react-dom": "^18.3.1",
|
"react-dom": "^18.3.1",
|
||||||
|
@ -685,18 +685,6 @@
|
||||||
"@babel/core": "^7.0.0-0"
|
"@babel/core": "^7.0.0-0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@babel/plugin-proposal-private-property-in-object": {
|
|
||||||
"version": "7.21.0-placeholder-for-preset-env.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz",
|
|
||||||
"integrity": "sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==",
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=6.9.0"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"@babel/core": "^7.0.0-0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@babel/plugin-syntax-async-generators": {
|
"node_modules/@babel/plugin-syntax-async-generators": {
|
||||||
"version": "7.8.4",
|
"version": "7.8.4",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz",
|
||||||
|
@ -2030,6 +2018,18 @@
|
||||||
"@babel/core": "^7.0.0-0"
|
"@babel/core": "^7.0.0-0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@babel/preset-env/node_modules/@babel/plugin-proposal-private-property-in-object": {
|
||||||
|
"version": "7.21.0-placeholder-for-preset-env.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz",
|
||||||
|
"integrity": "sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==",
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=6.9.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"@babel/core": "^7.0.0-0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@babel/preset-env/node_modules/semver": {
|
"node_modules/@babel/preset-env/node_modules/semver": {
|
||||||
"version": "6.3.1",
|
"version": "6.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
|
||||||
|
@ -5469,16 +5469,16 @@
|
||||||
"license": "ISC"
|
"license": "ISC"
|
||||||
},
|
},
|
||||||
"node_modules/@waku/core": {
|
"node_modules/@waku/core": {
|
||||||
"version": "0.0.33-f599932.0",
|
"version": "0.0.32",
|
||||||
"resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.33-f599932.0.tgz",
|
"resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.32.tgz",
|
||||||
"integrity": "sha512-G83+C4S3+Gg9TOuGc869Tn0Rw4QIWelIAw/5TQBZ/Y38HGn9my2Xb7ym5IKFcVPVCmNAfTtzBoBdjE5JruGImg==",
|
"integrity": "sha512-dsG9ox7VpOsbflFnrfy96wBuk2f3KVaTGMv20T9iZeCr2Yil26xhu9IAyL8EvyIG4ip6VJFooBw7kQQ8Ck+wZA==",
|
||||||
"license": "MIT OR Apache-2.0",
|
"license": "MIT OR Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@libp2p/ping": "^1.1.2",
|
"@libp2p/ping": "^1.1.2",
|
||||||
"@waku/enr": "0.0.27-f599932.0",
|
"@waku/enr": "^0.0.26",
|
||||||
"@waku/interfaces": "0.0.28-f599932.0",
|
"@waku/interfaces": "0.0.27",
|
||||||
"@waku/proto": "0.0.9-f599932.0",
|
"@waku/proto": "0.0.8",
|
||||||
"@waku/utils": "0.0.21-f599932.0",
|
"@waku/utils": "0.0.20",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"it-all": "^3.0.4",
|
"it-all": "^3.0.4",
|
||||||
"it-length-prefixed": "^9.0.4",
|
"it-length-prefixed": "^9.0.4",
|
||||||
|
@ -5517,16 +5517,16 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@waku/discovery": {
|
"node_modules/@waku/discovery": {
|
||||||
"version": "0.0.6-f599932.0",
|
"version": "0.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@waku/discovery/-/discovery-0.0.6-f599932.0.tgz",
|
"resolved": "https://registry.npmjs.org/@waku/discovery/-/discovery-0.0.5.tgz",
|
||||||
"integrity": "sha512-Ykr/Q2bwBBFCoCtLn61q/tL3PCnqLCinrVSobK8vfXyc0A4U07UAS2YHr1a9l1ALRBmnWJR9QGBGLKrCnvxCew==",
|
"integrity": "sha512-GKR+7gu3g9NW9eG9J0oK8q1UIea+RL+8NfC/RLunfU5xj6BGuw+VuBW3CDnm6USYOxHHLGjA6OxHf/upOTpSlA==",
|
||||||
"license": "MIT OR Apache-2.0",
|
"license": "MIT OR Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@waku/core": "0.0.33-f599932.0",
|
"@waku/core": "0.0.32",
|
||||||
"@waku/enr": "0.0.27-f599932.0",
|
"@waku/enr": "0.0.26",
|
||||||
"@waku/interfaces": "0.0.28-f599932.0",
|
"@waku/interfaces": "0.0.27",
|
||||||
"@waku/proto": "0.0.9-f599932.0",
|
"@waku/proto": "^0.0.8",
|
||||||
"@waku/utils": "0.0.21-f599932.0",
|
"@waku/utils": "0.0.20",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"dns-query": "^0.11.2",
|
"dns-query": "^0.11.2",
|
||||||
"hi-base32": "^0.5.1",
|
"hi-base32": "^0.5.1",
|
||||||
|
@ -5545,9 +5545,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@waku/enr": {
|
"node_modules/@waku/enr": {
|
||||||
"version": "0.0.27-f599932.0",
|
"version": "0.0.26",
|
||||||
"resolved": "https://registry.npmjs.org/@waku/enr/-/enr-0.0.27-f599932.0.tgz",
|
"resolved": "https://registry.npmjs.org/@waku/enr/-/enr-0.0.26.tgz",
|
||||||
"integrity": "sha512-IFVwLlVJAHgU+sQVdKaZc0z3trM7rAQPjK5rucoHK5SVGEY5J5kYgcejqwXhI1LrqOA593tO3ugQSdrdTwRCSg==",
|
"integrity": "sha512-5JEEyAINiRv+BI9svY7UQrYU5xy/akGq3pDjbEeGPGOWga4BJ128RGpNz0tHHMnUXaHFoq+2DpQbT2oQXytXkw==",
|
||||||
"license": "MIT OR Apache-2.0",
|
"license": "MIT OR Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ethersproject/rlp": "^5.7.0",
|
"@ethersproject/rlp": "^5.7.0",
|
||||||
|
@ -5555,7 +5555,7 @@
|
||||||
"@libp2p/peer-id": "^4.2.1",
|
"@libp2p/peer-id": "^4.2.1",
|
||||||
"@multiformats/multiaddr": "^12.0.0",
|
"@multiformats/multiaddr": "^12.0.0",
|
||||||
"@noble/secp256k1": "^1.7.1",
|
"@noble/secp256k1": "^1.7.1",
|
||||||
"@waku/utils": "0.0.21-f599932.0",
|
"@waku/utils": "0.0.20",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"js-sha3": "^0.9.2"
|
"js-sha3": "^0.9.2"
|
||||||
},
|
},
|
||||||
|
@ -5572,34 +5572,34 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@waku/interfaces": {
|
"node_modules/@waku/interfaces": {
|
||||||
"version": "0.0.28-f599932.0",
|
"version": "0.0.27",
|
||||||
"resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.28-f599932.0.tgz",
|
"resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.27.tgz",
|
||||||
"integrity": "sha512-h6nzGgek0/TVU8339y5IZczpDsAfBRSQfjzbKRhzdiCAzgeh/x9K5YHh01jhECj4lWQnPHCmebZG0iTztUuYKg==",
|
"integrity": "sha512-VsmpngqYVVY57JcyQkNau62clV/hStWfBVAAhlDUvaOcci+j3Aj3hWj550klFlcud9btEQ2Kl+P6EHnq9bQWIw==",
|
||||||
"license": "MIT OR Apache-2.0",
|
"license": "MIT OR Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@waku/proto": "0.0.9-f599932.0"
|
"@waku/proto": "^0.0.8"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20"
|
"node": ">=20"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@waku/message-hash": {
|
"node_modules/@waku/message-hash": {
|
||||||
"version": "0.1.17-f599932.0",
|
"version": "0.1.16",
|
||||||
"resolved": "https://registry.npmjs.org/@waku/message-hash/-/message-hash-0.1.17-f599932.0.tgz",
|
"resolved": "https://registry.npmjs.org/@waku/message-hash/-/message-hash-0.1.16.tgz",
|
||||||
"integrity": "sha512-ifw9jCFfH2DitWOyVgWAmzHRJwJqjwUjfQP57GfV7NKUVrs6QAgfD55NsZsDMu4jfrVuPYPvDyD6sPpPKRP5gg==",
|
"integrity": "sha512-Vwm4mWC3PSWf4YRjmfIR7SFzmps2JnF6ICbQJYGoTmLaS4AaxsbwrLmb747QMnpdfh9aemB0HbtM/cZEBrbWsA==",
|
||||||
"license": "MIT OR Apache-2.0",
|
"license": "MIT OR Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@noble/hashes": "^1.3.2",
|
"@noble/hashes": "^1.3.2",
|
||||||
"@waku/utils": "0.0.21-f599932.0"
|
"@waku/utils": "0.0.20"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20"
|
"node": ">=20"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@waku/proto": {
|
"node_modules/@waku/proto": {
|
||||||
"version": "0.0.9-f599932.0",
|
"version": "0.0.8",
|
||||||
"resolved": "https://registry.npmjs.org/@waku/proto/-/proto-0.0.9-f599932.0.tgz",
|
"resolved": "https://registry.npmjs.org/@waku/proto/-/proto-0.0.8.tgz",
|
||||||
"integrity": "sha512-+pL3JfUCkjn20qKruHZVgINDe5Iaz5qDlHk4L9FUPALaZBA7qM8F0Dqq1tlqLoONXZ6yEC7ZA2s7fJIGWayTEw==",
|
"integrity": "sha512-RPq8XLZf1xoKXCFyGKfL0j2ySfMS6MNimBwhMHKM53kRlGnszP3wBZnjWBApBY7G1pIHvxzvUBpFQzYdHMhIQA==",
|
||||||
"license": "MIT OR Apache-2.0",
|
"license": "MIT OR Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"protons-runtime": "^5.4.0"
|
"protons-runtime": "^5.4.0"
|
||||||
|
@ -5609,25 +5609,24 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@waku/sdk": {
|
"node_modules/@waku/sdk": {
|
||||||
"version": "0.0.29-f599932.0",
|
"version": "0.0.28",
|
||||||
"resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.29-f599932.0.tgz",
|
"resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.28.tgz",
|
||||||
"integrity": "sha512-jQ7rfqps4Qt/QVK84SNEWFYeuF1hMk6fSY1x2bDrPNzQYEFiLl+JR2KErvjciUnviw+ht8ZTDT+7jU7UyqPJ7Q==",
|
"integrity": "sha512-wiy8BB2Rg2yizlwM58RhWRkpuP8XjCXCmiVAsNqitHZw3L5LjdGDU9YZU105M0J61L7DMAtlRoRBXgJyPWNEfg==",
|
||||||
"license": "MIT OR Apache-2.0",
|
"license": "MIT OR Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@chainsafe/libp2p-noise": "^15.1.0",
|
"@chainsafe/libp2p-noise": "^15.1.0",
|
||||||
"@libp2p/bootstrap": "^10",
|
"@libp2p/bootstrap": "^10.1.2",
|
||||||
"@libp2p/identify": "^2.1.2",
|
"@libp2p/identify": "^2.1.2",
|
||||||
"@libp2p/mplex": "^10.1.2",
|
"@libp2p/mplex": "^10.1.2",
|
||||||
"@libp2p/ping": "^1.1.2",
|
"@libp2p/ping": "^1.1.2",
|
||||||
"@libp2p/websockets": "^8.1.4",
|
"@libp2p/websockets": "^8.1.4",
|
||||||
"@noble/hashes": "^1.3.3",
|
"@noble/hashes": "^1.3.3",
|
||||||
"@waku/core": "0.0.33-f599932.0",
|
"@waku/core": "0.0.32",
|
||||||
"@waku/discovery": "0.0.6-f599932.0",
|
"@waku/discovery": "0.0.5",
|
||||||
"@waku/interfaces": "0.0.28-f599932.0",
|
"@waku/interfaces": "0.0.27",
|
||||||
"@waku/message-hash": "0.1.17-f599932.0",
|
"@waku/message-hash": "0.1.16",
|
||||||
"@waku/proto": "0.0.9-f599932.0",
|
"@waku/proto": "^0.0.8",
|
||||||
"@waku/utils": "0.0.21-f599932.0",
|
"@waku/utils": "0.0.20",
|
||||||
"async-mutex": "^0.5.0",
|
|
||||||
"libp2p": "^1.8.1"
|
"libp2p": "^1.8.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
@ -5643,13 +5642,13 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@waku/utils": {
|
"node_modules/@waku/utils": {
|
||||||
"version": "0.0.21-f599932.0",
|
"version": "0.0.20",
|
||||||
"resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.21-f599932.0.tgz",
|
"resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.20.tgz",
|
||||||
"integrity": "sha512-oAipWO4k6df5RMI2eOfSrbyN9NkNhKFpTHupg1sIpw5vA9jWbhl9+S08wcgV3bI7oRZYqbc8dylh+/cqo/r8gQ==",
|
"integrity": "sha512-10s/1Mqnyc24ckJ5Abbg510KmQZRavVw4WF5LynR1nL4VwDQkJn9o1szzysLn+j+DwXtYWM5PDXspu7uHcXGcw==",
|
||||||
"license": "MIT OR Apache-2.0",
|
"license": "MIT OR Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@noble/hashes": "^1.3.2",
|
"@noble/hashes": "^1.3.2",
|
||||||
"@waku/interfaces": "0.0.28-f599932.0",
|
"@waku/interfaces": "0.0.27",
|
||||||
"chai": "^4.3.10",
|
"chai": "^4.3.10",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"uint8arrays": "^5.0.1"
|
"uint8arrays": "^5.0.1"
|
||||||
|
@ -6335,15 +6334,6 @@
|
||||||
"integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==",
|
"integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/async-mutex": {
|
|
||||||
"version": "0.5.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/async-mutex/-/async-mutex-0.5.0.tgz",
|
|
||||||
"integrity": "sha512-1A94B18jkJ3DYq284ohPxoXbfTA5HsQ7/Mf4DEhcyLx3Bz27Rh59iScbB6EPiP+B+joue6YCxcMXSbFC1tZKwA==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"tslib": "^2.4.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/asynckit": {
|
"node_modules/asynckit": {
|
||||||
"version": "0.4.0",
|
"version": "0.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"@types/node": "^16.18.111",
|
"@types/node": "^16.18.111",
|
||||||
"@types/react": "^18.3.9",
|
"@types/react": "^18.3.9",
|
||||||
"@types/react-dom": "^18.3.0",
|
"@types/react-dom": "^18.3.0",
|
||||||
"@waku/sdk": "^0.0.29-338250a.0",
|
"@waku/sdk": "^0.0.28",
|
||||||
"protobufjs": "^7.4.0",
|
"protobufjs": "^7.4.0",
|
||||||
"react": "^18.3.1",
|
"react": "^18.3.1",
|
||||||
"react-dom": "^18.3.1",
|
"react-dom": "^18.3.1",
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
import React from 'react';
|
||||||
|
import { render, screen } from '@testing-library/react';
|
||||||
|
import App from './App';
|
||||||
|
|
||||||
|
test('renders learn react link', () => {
|
||||||
|
render(<App />);
|
||||||
|
const linkElement = screen.getByText(/learn react/i);
|
||||||
|
expect(linkElement).toBeInTheDocument();
|
||||||
|
});
|
Loading…
Reference in New Issue