From ce693cfdf103582af9314355c157505fb204485f Mon Sep 17 00:00:00 2001 From: Sasha Date: Thu, 30 Nov 2023 02:03:27 +0100 Subject: [PATCH] address comments --- examples/flush-notes/README.md | 42 +- examples/flush-notes/package-lock.json | 1848 +++++++++-------- examples/flush-notes/package.json | 9 +- examples/flush-notes/src/app/globals.css | 4 +- examples/flush-notes/src/app/layout.tsx | 2 +- examples/flush-notes/src/app/page.tsx | 40 +- examples/flush-notes/src/app/view/page.tsx | 2 +- .../src/{app => components}/Loading.tsx | 0 .../src/{app => components}/WakuProvider.tsx | 2 +- examples/flush-notes/src/hooks/useNoteURL.ts | 7 +- examples/flush-notes/src/services/notes.ts | 88 +- 11 files changed, 1110 insertions(+), 934 deletions(-) rename examples/flush-notes/src/{app => components}/Loading.tsx (100%) rename examples/flush-notes/src/{app => components}/WakuProvider.tsx (96%) diff --git a/examples/flush-notes/README.md b/examples/flush-notes/README.md index c403366..f7f78ee 100644 --- a/examples/flush-notes/README.md +++ b/examples/flush-notes/README.md @@ -1,36 +1,16 @@ -This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). +## Waku dependencies +- @waku/interfaces +- @waku/message-encryption +- @waku/sdk +- @waku/utils -## Getting Started - -First, run the development server: +## Description +Exchange encrypted or plain notes by link. +This example shows how symmetric encryption can be used to encrypt only part of Waku message. +## How to run ```bash -npm run dev +npm start # or -yarn dev -# or -pnpm dev -# or -bun dev +yarn start ``` - -Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. - -You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. - -This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. - -## Learn More - -To learn more about Next.js, take a look at the following resources: - -- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. -- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. - -You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! - -## Deploy on Vercel - -The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. - -Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. diff --git a/examples/flush-notes/package-lock.json b/examples/flush-notes/package-lock.json index 0cda551..62a3ec4 100644 --- a/examples/flush-notes/package-lock.json +++ b/examples/flush-notes/package-lock.json @@ -1,18 +1,17 @@ { - "name": "share-notes", + "name": "flush-notes", "version": "0.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "share-notes", + "name": "flush-notes", "version": "0.1.0", "dependencies": { - "@waku/interfaces": "^0.0.20", - "@waku/message-encryption": "^0.0.23", - "@waku/sdk": "^0.0.21", - "@waku/utils": "^0.0.13", - "ethereum-cryptography": "^2.1.2", + "@waku/interfaces": "0.0.21-7eb3375.0", + "@waku/message-encryption": "0.0.24-7eb3375.0", + "@waku/sdk": "0.0.22-7eb3375.0", + "@waku/utils": "0.0.14-7eb3375.0", "next": "14.0.2", "react": "^18", "react-dom": "^18", @@ -65,9 +64,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.2.tgz", - "integrity": "sha512-mM8eg4yl5D6i3lu2QKPuPH4FArvJ8KhTofbE7jwMUv9KX5mBvwPAqnV3MlyBNqdp9RyRKP6Yck8TrfYrPvX3bg==", + "version": "7.23.5", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.5.tgz", + "integrity": "sha512-NdUTHcPe4C99WxPub+K9l9tK5/lV4UXIoaHSYgzco9BCyjKAAwzdBI+wWtYqHt7LJdbo74ZjRPJgzVweq1sz0w==", "dev": true, "dependencies": { "regenerator-runtime": "^0.14.0" @@ -92,12 +91,12 @@ "integrity": "sha512-ndGqEMG1W5WkGagaqOZHpPU172AGdxr+LD15sv3WIUvT5oCFUrG1Y0CW/v2Egwj4JXEvSibaIIIqImsm98y1nA==" }, "node_modules/@chainsafe/libp2p-gossipsub": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/@chainsafe/libp2p-gossipsub/-/libp2p-gossipsub-10.1.0.tgz", - "integrity": "sha512-mOVYJAvxYRkh2HeggNFW/7ukEccQDVEI9LPhvlnJk7gnJhyJJ6mhZxUAaytfp3v3qTkmeBRnEL0eJOQBm+MoOA==", + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/@chainsafe/libp2p-gossipsub/-/libp2p-gossipsub-10.1.1.tgz", + "integrity": "sha512-nou65zlGaUIPwlUq7ceEVpszJX4tBWRRanppYaKsJk7rbDeIKRJQla2duATGOI3fwj1+pGSlDQuF2zG7P0VJQw==", "dependencies": { "@libp2p/crypto": "^2.0.0", - "@libp2p/interface": "^0.1.0", + "@libp2p/interface": "^0.1.4", "@libp2p/interface-internal": "^0.1.0", "@libp2p/logger": "^3.0.0", "@libp2p/peer-id": "^3.0.0", @@ -118,9 +117,9 @@ } }, "node_modules/@chainsafe/libp2p-noise": { - "version": "13.0.3", - "resolved": "https://registry.npmjs.org/@chainsafe/libp2p-noise/-/libp2p-noise-13.0.3.tgz", - "integrity": "sha512-hzfhKUEx5XHDaC21wgROhTUFelaeYojH3DFYhCvqFnhRPUjmz+WJh2jweKaUlysKTTrEHv+JJob/TDY/IS6fRw==", + "version": "13.0.5", + "resolved": "https://registry.npmjs.org/@chainsafe/libp2p-noise/-/libp2p-noise-13.0.5.tgz", + "integrity": "sha512-xXqwrkH4nXlv3cYENHtqOgmIT2M4irPDwi548UvpmxzeC9hqa0kmiqbtAFYMV3v+gJ9pqVBVWFRk2hjs83GNrw==", "dependencies": { "@chainsafe/as-chacha20poly1305": "^0.1.0", "@chainsafe/as-sha256": "^0.4.1", @@ -203,9 +202,9 @@ } }, "node_modules/@eslint/js": { - "version": "8.53.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.53.0.tgz", - "integrity": "sha512-Kn7K8dx/5U6+cT1yEhpX1w4PCSg0M+XyRILPgvwcEBjerFWCwQj5sbr3/VmxqV0JGHCBCzyd6LxypEuehypY1w==", + "version": "8.54.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.54.0.tgz", + "integrity": "sha512-ut5V+D+fOoWPgGGNj83GGjnntO39xDy6DWxO0wb7Jp3DcMX0TfIqdzHF85VTQkerdyGmuuMD9AKAo5KiNlf/AQ==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -364,23 +363,26 @@ } }, "node_modules/@libp2p/interface-internal": { - "version": "0.1.9", - "resolved": "https://registry.npmjs.org/@libp2p/interface-internal/-/interface-internal-0.1.9.tgz", - "integrity": "sha512-0HoY3ojG773VqE/m5vw9XtpKzuTqlCNqbOcwh2JvQvrLIiQgwu1zbn6t+T6cKK49eTBGfUqj3uWN7YQgX8rdGA==", + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/@libp2p/interface-internal/-/interface-internal-0.1.10.tgz", + "integrity": "sha512-eTbNtvLdSe762qcmSD54db9GJXqckKjqTyaDdUMK/3Zb/uwpjblqXCzecOxNvLi6W1Hfg9Lr7hvIm1zkGmzCPg==", "dependencies": { - "@libp2p/interface": "^0.1.6", - "@libp2p/peer-collections": "^4.0.8", - "@multiformats/multiaddr": "^12.1.5", + "@libp2p/interface": "^1.0.0", + "@libp2p/peer-collections": "^4.0.9", + "@multiformats/multiaddr": "^12.1.10", "uint8arraylist": "^2.4.3" } }, - "node_modules/@libp2p/interface-keys": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@libp2p/interface-keys/-/interface-keys-1.0.8.tgz", - "integrity": "sha512-CJ1SlrwuoHMquhEEWS77E+4vv7hwB7XORkqzGQrPQmA9MRdIEZRS64bA4JqCLUDa4ltH0l+U1vp0oZHLT67NEA==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" + "node_modules/@libp2p/interface-internal/node_modules/@libp2p/interface": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.0.0.tgz", + "integrity": "sha512-Djd3KB3CXsFPdTFqbkwmvinPcZV3ISp+ZqXwPHnBzr2zRdZrU8ptUldPYT4uzx7q7P2IgyBbSQvKlz0Qr/w1/w==", + "dependencies": { + "@multiformats/multiaddr": "^12.1.10", + "it-pushable": "^3.2.1", + "it-stream-types": "^2.0.1", + "multiformats": "^12.1.3", + "uint8arraylist": "^2.4.3" } }, "node_modules/@libp2p/interfaces": { @@ -438,33 +440,62 @@ } }, "node_modules/@libp2p/multistream-select": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/@libp2p/multistream-select/-/multistream-select-4.0.6.tgz", - "integrity": "sha512-WT3thUOqUpzKjTctLkgezQep0C23uIPyE0J5H7tBBoB+h6Ocp90A7aQWsBZMbszGKcNOeAkIIYE7dZ0J1MdKeg==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/@libp2p/multistream-select/-/multistream-select-4.0.7.tgz", + "integrity": "sha512-O3gxXYfvtOtA1OsZAWHXBOB2KPSvxuYgOCm2Xr6+lR+atyhXwjZ0WGEaVAkL2yNZIs89aQ0MTADJO3sE3/V5LQ==", "dependencies": { - "@libp2p/interface": "^0.1.6", - "@libp2p/logger": "^3.1.0", - "abortable-iterator": "^5.0.1", - "it-first": "^3.0.1", - "it-handshake": "^4.1.3", - "it-length-prefixed": "^9.0.1", - "it-merge": "^3.0.0", + "@libp2p/interface": "^1.0.0", + "it-length-prefixed": "^9.0.3", + "it-length-prefixed-stream": "^1.1.1", "it-pipe": "^3.0.1", - "it-pushable": "^3.2.0", - "it-reader": "^6.0.1", "it-stream-types": "^2.0.1", - "uint8-varint": "^2.0.0", + "p-defer": "^4.0.0", + "uint8-varint": "^2.0.2", "uint8arraylist": "^2.4.3", "uint8arrays": "^4.0.6" } }, - "node_modules/@libp2p/peer-collections": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/@libp2p/peer-collections/-/peer-collections-4.0.8.tgz", - "integrity": "sha512-Tk7W7pgPRH1v1+DmCx+XDqWX/E1Q7t7dNz3gsKZ1smstLwF6P1OhmYgDuVpMUvJiYroM7j7X6CcPZEoVUvNVog==", + "node_modules/@libp2p/multistream-select/node_modules/@libp2p/interface": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.0.0.tgz", + "integrity": "sha512-Djd3KB3CXsFPdTFqbkwmvinPcZV3ISp+ZqXwPHnBzr2zRdZrU8ptUldPYT4uzx7q7P2IgyBbSQvKlz0Qr/w1/w==", "dependencies": { - "@libp2p/interface": "^0.1.6", - "@libp2p/peer-id": "^3.0.6" + "@multiformats/multiaddr": "^12.1.10", + "it-pushable": "^3.2.1", + "it-stream-types": "^2.0.1", + "multiformats": "^12.1.3", + "uint8arraylist": "^2.4.3" + } + }, + "node_modules/@libp2p/peer-collections": { + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/@libp2p/peer-collections/-/peer-collections-4.0.9.tgz", + "integrity": "sha512-jQgTV35byACBYDMIp+kopAPs7ZsgZn0oRfkNkkRX10zYCX7ehrZ1qiiSR0oaCJfgrktWhkv+sYj7nyaBwhgANg==", + "dependencies": { + "@libp2p/interface": "^1.0.0", + "@libp2p/peer-id": "^4.0.0" + } + }, + "node_modules/@libp2p/peer-collections/node_modules/@libp2p/interface": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.0.0.tgz", + "integrity": "sha512-Djd3KB3CXsFPdTFqbkwmvinPcZV3ISp+ZqXwPHnBzr2zRdZrU8ptUldPYT4uzx7q7P2IgyBbSQvKlz0Qr/w1/w==", + "dependencies": { + "@multiformats/multiaddr": "^12.1.10", + "it-pushable": "^3.2.1", + "it-stream-types": "^2.0.1", + "multiformats": "^12.1.3", + "uint8arraylist": "^2.4.3" + } + }, + "node_modules/@libp2p/peer-collections/node_modules/@libp2p/peer-id": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-4.0.0.tgz", + "integrity": "sha512-ltZqVmtQ27qgTB2ZQE3zsdLPnAxu8ehfGNI63njz87G+H7RWVnEeXFdISaQnxQchyewYda7klNc0Cr+aN0b1IA==", + "dependencies": { + "@libp2p/interface": "^1.0.0", + "multiformats": "^12.1.3", + "uint8arrays": "^4.0.6" } }, "node_modules/@libp2p/peer-id": { @@ -478,77 +509,246 @@ } }, "node_modules/@libp2p/peer-id-factory": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id-factory/-/peer-id-factory-3.0.8.tgz", - "integrity": "sha512-T0pOKWwFw01GqpeA03RRztG2qr0Zl2cSdt20d/WQ+BAjyrJNr7PSBTXux3nRGGdmzoUfJTJU6f992PDtq1z/mQ==", + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id-factory/-/peer-id-factory-3.0.9.tgz", + "integrity": "sha512-e5wxUhynltG3Zlrh1dkHP9VSz3gmWl9v4c97ZekaOisJgUlyJDPfryggcNSvNLtdR6A8s7ZTUexlo7S1IkbVeA==", "dependencies": { - "@libp2p/crypto": "^2.0.8", - "@libp2p/interface": "^0.1.6", - "@libp2p/peer-id": "^3.0.6", - "multiformats": "^12.0.1", + "@libp2p/crypto": "^3.0.0", + "@libp2p/interface": "^1.0.0", + "@libp2p/peer-id": "^4.0.0", + "multiformats": "^12.1.3", "protons-runtime": "^5.0.0", "uint8arraylist": "^2.4.3", "uint8arrays": "^4.0.6" } }, - "node_modules/@libp2p/peer-record": { - "version": "6.0.9", - "resolved": "https://registry.npmjs.org/@libp2p/peer-record/-/peer-record-6.0.9.tgz", - "integrity": "sha512-S8SibblcvJWMeOnHfL62nlQuwvgxDb4fB132Fw/2ej4wABqJa94KrllFk+oejJW7rzWIPCKhImcN5YY/ymIkiQ==", + "node_modules/@libp2p/peer-id-factory/node_modules/@libp2p/crypto": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-3.0.0.tgz", + "integrity": "sha512-NZDz/HaaOEDhgBqbdynoNkmnnq5KLq9/iQc9PU0/fFCKazo1hEYMhXZDN4szzXGBZQg58k9Q7FlduG5K5yTQbg==", "dependencies": { - "@libp2p/crypto": "^2.0.8", - "@libp2p/interface": "^0.1.6", - "@libp2p/peer-id": "^3.0.6", - "@libp2p/utils": "^4.0.7", - "@multiformats/multiaddr": "^12.1.5", + "@libp2p/interface": "^1.0.0", + "@noble/curves": "^1.1.0", + "@noble/hashes": "^1.3.1", + "multiformats": "^12.1.3", + "node-forge": "^1.1.0", + "protons-runtime": "^5.0.0", + "uint8arraylist": "^2.4.3", + "uint8arrays": "^4.0.6" + } + }, + "node_modules/@libp2p/peer-id-factory/node_modules/@libp2p/interface": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.0.0.tgz", + "integrity": "sha512-Djd3KB3CXsFPdTFqbkwmvinPcZV3ISp+ZqXwPHnBzr2zRdZrU8ptUldPYT4uzx7q7P2IgyBbSQvKlz0Qr/w1/w==", + "dependencies": { + "@multiformats/multiaddr": "^12.1.10", + "it-pushable": "^3.2.1", + "it-stream-types": "^2.0.1", + "multiformats": "^12.1.3", + "uint8arraylist": "^2.4.3" + } + }, + "node_modules/@libp2p/peer-id-factory/node_modules/@libp2p/peer-id": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-4.0.0.tgz", + "integrity": "sha512-ltZqVmtQ27qgTB2ZQE3zsdLPnAxu8ehfGNI63njz87G+H7RWVnEeXFdISaQnxQchyewYda7klNc0Cr+aN0b1IA==", + "dependencies": { + "@libp2p/interface": "^1.0.0", + "multiformats": "^12.1.3", + "uint8arrays": "^4.0.6" + } + }, + "node_modules/@libp2p/peer-record": { + "version": "6.0.10", + "resolved": "https://registry.npmjs.org/@libp2p/peer-record/-/peer-record-6.0.10.tgz", + "integrity": "sha512-GiR+RE5PBVMgHTkQ2Ghf8KbLX7PNW/TDHdUyqsl3X1ij0KxQHufwrYfO3aMP0GN4pN5g25bO6WixAUU8MokNPw==", + "dependencies": { + "@libp2p/crypto": "^3.0.0", + "@libp2p/interface": "^1.0.0", + "@libp2p/peer-id": "^4.0.0", + "@libp2p/utils": "^5.0.0", + "@multiformats/multiaddr": "^12.1.10", "protons-runtime": "^5.0.0", "uint8-varint": "^2.0.0", "uint8arraylist": "^2.4.3", "uint8arrays": "^4.0.6" } }, - "node_modules/@libp2p/peer-store": { - "version": "9.0.9", - "resolved": "https://registry.npmjs.org/@libp2p/peer-store/-/peer-store-9.0.9.tgz", - "integrity": "sha512-8wP45gEozPw7mE5/p+2onAUXEPvb5pWiriV2UqPqrt9FZ7OTRUfD4sMxMxFgCGg8K5pcrXuQPBWyG7OEn4GOGg==", + "node_modules/@libp2p/peer-record/node_modules/@libp2p/crypto": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-3.0.0.tgz", + "integrity": "sha512-NZDz/HaaOEDhgBqbdynoNkmnnq5KLq9/iQc9PU0/fFCKazo1hEYMhXZDN4szzXGBZQg58k9Q7FlduG5K5yTQbg==", "dependencies": { - "@libp2p/interface": "^0.1.6", - "@libp2p/logger": "^3.1.0", - "@libp2p/peer-collections": "^4.0.8", - "@libp2p/peer-id": "^3.0.6", - "@libp2p/peer-id-factory": "^3.0.8", - "@libp2p/peer-record": "^6.0.9", - "@multiformats/multiaddr": "^12.1.5", - "interface-datastore": "^8.2.0", - "it-all": "^3.0.2", - "mortice": "^3.0.1", - "multiformats": "^12.0.1", + "@libp2p/interface": "^1.0.0", + "@noble/curves": "^1.1.0", + "@noble/hashes": "^1.3.1", + "multiformats": "^12.1.3", + "node-forge": "^1.1.0", "protons-runtime": "^5.0.0", "uint8arraylist": "^2.4.3", "uint8arrays": "^4.0.6" } }, - "node_modules/@libp2p/pubsub": { - "version": "8.0.10", - "resolved": "https://registry.npmjs.org/@libp2p/pubsub/-/pubsub-8.0.10.tgz", - "integrity": "sha512-Bein6ZRg834sxcQeAvzrf8UUwMRZ42EkPJjv+0IXXOTpJE/pU25sP844yI7y+QPCFZ/tYLZ0/VVsf4y4s7diMQ==", + "node_modules/@libp2p/peer-record/node_modules/@libp2p/interface": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.0.0.tgz", + "integrity": "sha512-Djd3KB3CXsFPdTFqbkwmvinPcZV3ISp+ZqXwPHnBzr2zRdZrU8ptUldPYT4uzx7q7P2IgyBbSQvKlz0Qr/w1/w==", "dependencies": { - "@libp2p/crypto": "^2.0.8", - "@libp2p/interface": "^0.1.6", - "@libp2p/interface-internal": "^0.1.9", - "@libp2p/logger": "^3.1.0", - "@libp2p/peer-collections": "^4.0.8", - "@libp2p/peer-id": "^3.0.6", - "abortable-iterator": "^5.0.1", - "it-length-prefixed": "^9.0.1", - "it-pipe": "^3.0.1", - "it-pushable": "^3.2.0", - "multiformats": "^12.0.1", - "p-queue": "^7.3.4", + "@multiformats/multiaddr": "^12.1.10", + "it-pushable": "^3.2.1", + "it-stream-types": "^2.0.1", + "multiformats": "^12.1.3", + "uint8arraylist": "^2.4.3" + } + }, + "node_modules/@libp2p/peer-record/node_modules/@libp2p/peer-id": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-4.0.0.tgz", + "integrity": "sha512-ltZqVmtQ27qgTB2ZQE3zsdLPnAxu8ehfGNI63njz87G+H7RWVnEeXFdISaQnxQchyewYda7klNc0Cr+aN0b1IA==", + "dependencies": { + "@libp2p/interface": "^1.0.0", + "multiformats": "^12.1.3", + "uint8arrays": "^4.0.6" + } + }, + "node_modules/@libp2p/peer-record/node_modules/@libp2p/utils": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/utils/-/utils-5.0.0.tgz", + "integrity": "sha512-abRRyih2e+NuwOr3JywUARCJdvfRGe4fa8Sp46LLlgFZ571KjfJUxlKooVKBbZcdHUBLFUaoGfxXmKCZWueC5A==", + "dependencies": { + "@chainsafe/is-ip": "^2.0.2", + "@libp2p/interface": "^1.0.0", + "@multiformats/multiaddr": "^12.1.10", + "@multiformats/multiaddr-matcher": "^1.1.0", + "get-iterator": "^2.0.1", + "is-loopback-addr": "^2.0.1", + "it-pushable": "^3.2.2", + "it-stream-types": "^2.0.1", + "p-queue": "^7.4.1", + "private-ip": "^3.0.1", + "race-signal": "^1.0.1", + "uint8arraylist": "^2.4.3" + } + }, + "node_modules/@libp2p/peer-store": { + "version": "9.0.10", + "resolved": "https://registry.npmjs.org/@libp2p/peer-store/-/peer-store-9.0.10.tgz", + "integrity": "sha512-daYjOOQqd1KpChnKVVBtUivqBoHadAcKSC09u3YdQtROSkxJj297YPXlC8qIpSKvfDwGpeKESy2j5VyMc1uPGQ==", + "dependencies": { + "@libp2p/interface": "^1.0.0", + "@libp2p/peer-collections": "^4.0.9", + "@libp2p/peer-id": "^4.0.0", + "@libp2p/peer-id-factory": "^3.0.9", + "@libp2p/peer-record": "^6.0.10", + "@multiformats/multiaddr": "^12.1.10", + "interface-datastore": "^8.2.0", + "it-all": "^3.0.2", + "mortice": "^3.0.1", + "multiformats": "^12.1.3", + "protons-runtime": "^5.0.0", "uint8arraylist": "^2.4.3", "uint8arrays": "^4.0.6" } }, + "node_modules/@libp2p/peer-store/node_modules/@libp2p/interface": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.0.0.tgz", + "integrity": "sha512-Djd3KB3CXsFPdTFqbkwmvinPcZV3ISp+ZqXwPHnBzr2zRdZrU8ptUldPYT4uzx7q7P2IgyBbSQvKlz0Qr/w1/w==", + "dependencies": { + "@multiformats/multiaddr": "^12.1.10", + "it-pushable": "^3.2.1", + "it-stream-types": "^2.0.1", + "multiformats": "^12.1.3", + "uint8arraylist": "^2.4.3" + } + }, + "node_modules/@libp2p/peer-store/node_modules/@libp2p/peer-id": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-4.0.0.tgz", + "integrity": "sha512-ltZqVmtQ27qgTB2ZQE3zsdLPnAxu8ehfGNI63njz87G+H7RWVnEeXFdISaQnxQchyewYda7klNc0Cr+aN0b1IA==", + "dependencies": { + "@libp2p/interface": "^1.0.0", + "multiformats": "^12.1.3", + "uint8arrays": "^4.0.6" + } + }, + "node_modules/@libp2p/pubsub": { + "version": "8.0.11", + "resolved": "https://registry.npmjs.org/@libp2p/pubsub/-/pubsub-8.0.11.tgz", + "integrity": "sha512-3HgeWl/1u1XluYdhOsLmB+6a8JUKWi3rlqIJxmET51Mz7yD8zBAqGv8pFXf/ZVEHcXzkzm0VVi25ksG80KL7+w==", + "dependencies": { + "@libp2p/crypto": "^3.0.0", + "@libp2p/interface": "^1.0.0", + "@libp2p/interface-internal": "^0.1.10", + "@libp2p/peer-collections": "^4.0.9", + "@libp2p/peer-id": "^4.0.0", + "@libp2p/utils": "^5.0.0", + "it-length-prefixed": "^9.0.3", + "it-pipe": "^3.0.1", + "it-pushable": "^3.2.1", + "multiformats": "^12.1.3", + "p-queue": "^7.4.1", + "uint8arraylist": "^2.4.3", + "uint8arrays": "^4.0.6" + } + }, + "node_modules/@libp2p/pubsub/node_modules/@libp2p/crypto": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-3.0.0.tgz", + "integrity": "sha512-NZDz/HaaOEDhgBqbdynoNkmnnq5KLq9/iQc9PU0/fFCKazo1hEYMhXZDN4szzXGBZQg58k9Q7FlduG5K5yTQbg==", + "dependencies": { + "@libp2p/interface": "^1.0.0", + "@noble/curves": "^1.1.0", + "@noble/hashes": "^1.3.1", + "multiformats": "^12.1.3", + "node-forge": "^1.1.0", + "protons-runtime": "^5.0.0", + "uint8arraylist": "^2.4.3", + "uint8arrays": "^4.0.6" + } + }, + "node_modules/@libp2p/pubsub/node_modules/@libp2p/interface": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.0.0.tgz", + "integrity": "sha512-Djd3KB3CXsFPdTFqbkwmvinPcZV3ISp+ZqXwPHnBzr2zRdZrU8ptUldPYT4uzx7q7P2IgyBbSQvKlz0Qr/w1/w==", + "dependencies": { + "@multiformats/multiaddr": "^12.1.10", + "it-pushable": "^3.2.1", + "it-stream-types": "^2.0.1", + "multiformats": "^12.1.3", + "uint8arraylist": "^2.4.3" + } + }, + "node_modules/@libp2p/pubsub/node_modules/@libp2p/peer-id": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-4.0.0.tgz", + "integrity": "sha512-ltZqVmtQ27qgTB2ZQE3zsdLPnAxu8ehfGNI63njz87G+H7RWVnEeXFdISaQnxQchyewYda7klNc0Cr+aN0b1IA==", + "dependencies": { + "@libp2p/interface": "^1.0.0", + "multiformats": "^12.1.3", + "uint8arrays": "^4.0.6" + } + }, + "node_modules/@libp2p/pubsub/node_modules/@libp2p/utils": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/utils/-/utils-5.0.0.tgz", + "integrity": "sha512-abRRyih2e+NuwOr3JywUARCJdvfRGe4fa8Sp46LLlgFZ571KjfJUxlKooVKBbZcdHUBLFUaoGfxXmKCZWueC5A==", + "dependencies": { + "@chainsafe/is-ip": "^2.0.2", + "@libp2p/interface": "^1.0.0", + "@multiformats/multiaddr": "^12.1.10", + "@multiformats/multiaddr-matcher": "^1.1.0", + "get-iterator": "^2.0.1", + "is-loopback-addr": "^2.0.1", + "it-pushable": "^3.2.2", + "it-stream-types": "^2.0.1", + "p-queue": "^7.4.1", + "private-ip": "^3.0.1", + "race-signal": "^1.0.1", + "uint8arraylist": "^2.4.3" + } + }, "node_modules/@libp2p/utils": { "version": "4.0.7", "resolved": "https://registry.npmjs.org/@libp2p/utils/-/utils-4.0.7.tgz", @@ -796,17 +996,6 @@ "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", - "integrity": "sha512-iR8GBkDt0Q3GyaVcIu7mSsVIqnFbkbRzGLWlvhwunacoLwt4J3swfKhfaM6rN6WY+TBGoYT1GtT1mIh2/jGbRQ==", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ] - }, "node_modules/@noble/hashes": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", @@ -919,66 +1108,11 @@ "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" }, "node_modules/@rushstack/eslint-patch": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.5.1.tgz", - "integrity": "sha512-6i/8UoL0P5y4leBIGzvkZdS85RDMG9y1ihZzmTZQ5LdHUYmZ7pKFoj8X0236s3lusPs1Fa5HTQUpwI+UfTcmeA==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.6.0.tgz", + "integrity": "sha512-2/U3GXA6YiPYQDLGwtGlnNgKYBSwCFIHf8Y9LUY5VATHdtbLlU0Y1R3QoBnT0aB4qv/BEiVVsj7LJXoQCgJ2vA==", "dev": true }, - "node_modules/@scure/base": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.1.3.tgz", - "integrity": "sha512-/+SgoRjLq7Xlf0CWuLHq2LUZeL/w65kfzAPG5NH9pcmBhs+nunQTn4gvdwgMTIXnt9b2C/1SeL2XiysZEyIC9Q==", - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@scure/bip32": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@scure/bip32/-/bip32-1.3.1.tgz", - "integrity": "sha512-osvveYtyzdEVbt3OfwwXFr4P2iVBL5u1Q3q4ONBfDY/UpOuXmOlbgwc1xECEboY8wIays8Yt6onaWMUdUbfl0A==", - "dependencies": { - "@noble/curves": "~1.1.0", - "@noble/hashes": "~1.3.1", - "@scure/base": "~1.1.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@scure/bip32/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/@scure/bip32/node_modules/@noble/hashes": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.1.tgz", - "integrity": "sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA==", - "engines": { - "node": ">= 16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@scure/bip39": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@scure/bip39/-/bip39-1.2.1.tgz", - "integrity": "sha512-Z3/Fsz1yr904dduJD0NpiyRHhRYHdcnyh73FZWiV+/qhWi83wNJ3NWolYqCEN+ZWsUz2TWwajJggcRE9r1zUYg==", - "dependencies": { - "@noble/hashes": "~1.3.0", - "@scure/base": "~1.1.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, "node_modules/@swc/helpers": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.2.tgz", @@ -1023,22 +1157,22 @@ "integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==" }, "node_modules/@types/node": { - "version": "20.9.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.9.0.tgz", - "integrity": "sha512-nekiGu2NDb1BcVofVcEKMIwzlx4NjHlcjhoxxKBNLtz15Y1z7MYf549DFvkHSId02Ax6kGwWntIBPC3l/JZcmw==", + "version": "20.10.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.1.tgz", + "integrity": "sha512-T2qwhjWwGH81vUEx4EXmBKsTJRXFXNZTL4v0gi01+zyBmCwzE6TyHszqX01m+QHTEq+EZNo13NeJIdEqf+Myrg==", "dependencies": { "undici-types": "~5.26.4" } }, "node_modules/@types/prop-types": { - "version": "15.7.10", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.10.tgz", - "integrity": "sha512-mxSnDQxPqsZxmeShFH+uwQ4kO4gcJcGahjjMFeLbKE95IAZiiZyiEepGZjtXJ7hN/yfu0bu9xN2ajcU0JcxX6A==" + "version": "15.7.11", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.11.tgz", + "integrity": "sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==" }, "node_modules/@types/react": { - "version": "18.2.37", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.37.tgz", - "integrity": "sha512-RGAYMi2bhRgEXT3f4B92WTohopH6bIXw05FuGlmJEnv/omEn190+QYEIYxIAuIBdKgboYYdVved2p1AxZVQnaw==", + "version": "18.2.39", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.39.tgz", + "integrity": "sha512-Oiw+ppED6IremMInLV4HXGbfbG6GyziY3kqAwJYOR0PNbkYDmLWQA3a95EhdSmamsvbkJN96ZNN+YD+fGjzSBA==", "dependencies": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -1046,9 +1180,9 @@ } }, "node_modules/@types/react-dom": { - "version": "18.2.15", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.15.tgz", - "integrity": "sha512-HWMdW+7r7MR5+PZqJF6YFNSCtjz1T0dsvo/f1BV6HkV+6erD/nA7wd9NM00KVG83zf2nJ7uATPO9ttdIPvi3gg==", + "version": "18.2.17", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.17.tgz", + "integrity": "sha512-rvrT/M7Df5eykWFxn6MYt5Pem/Dbyc1N8Y0S9Mrkw2WFCRiqUgw9P7ul2NpwsXCSM1DVdENzdG9J5SreqfAIWg==", "dev": true, "dependencies": { "@types/react": "*" @@ -1060,9 +1194,9 @@ "integrity": "sha512-XISRgDJ2Tc5q4TRqvgJtzsRkFYNJzZrhTdtMoGVBttwzzQJkPnS3WWTFc7kuDRoPtPakl+T+OfdEUjYJj7Jbow==" }, "node_modules/@types/scheduler": { - "version": "0.16.6", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.6.tgz", - "integrity": "sha512-Vlktnchmkylvc9SnwwwozTv04L/e1NykF5vgoQ0XTmI8DD+wxfjQuHuvHS3p0r2jz2x2ghPs2h1FVeDirIteWA==" + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.8.tgz", + "integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==" }, "node_modules/@types/unist": { "version": "3.0.2", @@ -1070,23 +1204,23 @@ "integrity": "sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==" }, "node_modules/@types/ws": { - "version": "8.5.9", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.9.tgz", - "integrity": "sha512-jbdrY0a8lxfdTp/+r7Z4CkycbOFN8WX+IOchLJr3juT/xzbJ8URyTVSJ/hvNdadTgM1mnedb47n+Y31GsFnQlg==", + "version": "8.5.10", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.10.tgz", + "integrity": "sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==", "dependencies": { "@types/node": "*" } }, "node_modules/@typescript-eslint/parser": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.10.0.tgz", - "integrity": "sha512-+sZwIj+s+io9ozSxIWbNB5873OSdfeBEH/FR0re14WLI6BaKuSOnnwCJ2foUiu8uXf4dRp1UqHP0vrZ1zXGrog==", + "version": "6.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.13.1.tgz", + "integrity": "sha512-fs2XOhWCzRhqMmQf0eicLa/CWSaYss2feXsy7xBD/pLyWke/jCIVc2s1ikEAtSW7ina1HNhv7kONoEfVNEcdDQ==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "6.10.0", - "@typescript-eslint/types": "6.10.0", - "@typescript-eslint/typescript-estree": "6.10.0", - "@typescript-eslint/visitor-keys": "6.10.0", + "@typescript-eslint/scope-manager": "6.13.1", + "@typescript-eslint/types": "6.13.1", + "@typescript-eslint/typescript-estree": "6.13.1", + "@typescript-eslint/visitor-keys": "6.13.1", "debug": "^4.3.4" }, "engines": { @@ -1106,13 +1240,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.10.0.tgz", - "integrity": "sha512-TN/plV7dzqqC2iPNf1KrxozDgZs53Gfgg5ZHyw8erd6jd5Ta/JIEcdCheXFt9b1NYb93a1wmIIVW/2gLkombDg==", + "version": "6.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.13.1.tgz", + "integrity": "sha512-BW0kJ7ceiKi56GbT2KKzZzN+nDxzQK2DS6x0PiSMPjciPgd/JRQGMibyaN2cPt2cAvuoH0oNvn2fwonHI+4QUQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.10.0", - "@typescript-eslint/visitor-keys": "6.10.0" + "@typescript-eslint/types": "6.13.1", + "@typescript-eslint/visitor-keys": "6.13.1" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -1123,9 +1257,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.10.0.tgz", - "integrity": "sha512-36Fq1PWh9dusgo3vH7qmQAj5/AZqARky1Wi6WpINxB6SkQdY5vQoT2/7rW7uBIsPDcvvGCLi4r10p0OJ7ITAeg==", + "version": "6.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.13.1.tgz", + "integrity": "sha512-gjeEskSmiEKKFIbnhDXUyiqVma1gRCQNbVZ1C8q7Zjcxh3WZMbzWVfGE9rHfWd1msQtPS0BVD9Jz9jded44eKg==", "dev": true, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -1136,13 +1270,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.10.0.tgz", - "integrity": "sha512-ek0Eyuy6P15LJVeghbWhSrBCj/vJpPXXR+EpaRZqou7achUWL8IdYnMSC5WHAeTWswYQuP2hAZgij/bC9fanBg==", + "version": "6.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.13.1.tgz", + "integrity": "sha512-sBLQsvOC0Q7LGcUHO5qpG1HxRgePbT6wwqOiGLpR8uOJvPJbfs0mW3jPA3ujsDvfiVwVlWUDESNXv44KtINkUQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.10.0", - "@typescript-eslint/visitor-keys": "6.10.0", + "@typescript-eslint/types": "6.13.1", + "@typescript-eslint/visitor-keys": "6.13.1", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -1163,12 +1297,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.10.0.tgz", - "integrity": "sha512-xMGluxQIEtOM7bqFCo+rCMh5fqI+ZxV5RUUOa29iVPz1OgCZrtc7rFnz5cLUazlkPKYqX+75iuDq7m0HQ48nCg==", + "version": "6.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.13.1.tgz", + "integrity": "sha512-NDhQUy2tg6XGNBGDRm1XybOHSia8mcXmlbKWoQP+nm1BIIMxa55shyJfZkHpEBN62KNPLrocSM2PdPcaLgDKMQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.10.0", + "@typescript-eslint/types": "6.13.1", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -1185,17 +1319,17 @@ "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==" }, "node_modules/@waku/core": { - "version": "0.0.25", - "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.25.tgz", - "integrity": "sha512-YG6cRo82CaU92bf85hrN1s5FAtHlojaJ6I3pzOzRl7HAhhGVhQvfNgc1XHU1RiVkbw17ug8AapFPSy+A36gjvQ==", + "version": "0.0.26-7eb3375.0", + "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.26-7eb3375.0.tgz", + "integrity": "sha512-MGh22r+aM1uAMXS0UF6z/iTuIwYa/JPIde2PZiB3Vi8a1y44ttUCtdry82MJOe5HQ348tTJ4uColYt7ipNTBlw==", "dependencies": { "@noble/hashes": "^1.3.2", - "@waku/enr": "^0.0.19", - "@waku/interfaces": "0.0.20", - "@waku/proto": "0.0.5", - "@waku/utils": "0.0.13", + "@waku/enr": "0.0.20-7eb3375.0", + "@waku/interfaces": "0.0.21-7eb3375.0", + "@waku/proto": "0.0.6-7eb3375.0", + "@waku/utils": "0.0.14-7eb3375.0", "debug": "^4.3.4", - "it-all": "^3.0.3", + "it-all": "^3.0.4", "it-length-prefixed": "^9.0.1", "it-pipe": "^3.0.1", "p-event": "^6.0.0", @@ -1216,12 +1350,12 @@ } }, "node_modules/@waku/dns-discovery": { - "version": "0.0.19", - "resolved": "https://registry.npmjs.org/@waku/dns-discovery/-/dns-discovery-0.0.19.tgz", - "integrity": "sha512-K701xc+snE2NrvhORB7Wiyg4WXSGCjzE5LLCTeIaSzlB7eA1HbdU3wC57uiLdChqo495JPqMN/52TQ/m9nAwpQ==", + "version": "0.0.20-7eb3375.0", + "resolved": "https://registry.npmjs.org/@waku/dns-discovery/-/dns-discovery-0.0.20-7eb3375.0.tgz", + "integrity": "sha512-wLa0JIynI3jUpVTa6YaX/TsWqT8vsTA3Hvqodd7SlfV0tSRwrrF7eDOmYNdZnUulxzmsv7rMnWIaI2L8k07mYw==", "dependencies": { - "@waku/enr": "0.0.19", - "@waku/utils": "0.0.13", + "@waku/enr": "0.0.20-7eb3375.0", + "@waku/utils": "0.0.14-7eb3375.0", "debug": "^4.3.4", "dns-query": "^0.11.2", "hi-base32": "^0.5.1", @@ -1232,16 +1366,16 @@ } }, "node_modules/@waku/enr": { - "version": "0.0.19", - "resolved": "https://registry.npmjs.org/@waku/enr/-/enr-0.0.19.tgz", - "integrity": "sha512-SomeHKk9kZwYoCNLqSB7SQ9ngnAIdKfQ0JACsc20azdhTxLYAQ6gWrrDFAmXnYwRKNAJfl8A28XThtWnGIiUpA==", + "version": "0.0.20-7eb3375.0", + "resolved": "https://registry.npmjs.org/@waku/enr/-/enr-0.0.20-7eb3375.0.tgz", + "integrity": "sha512-BDbZp68l0yE8He5ES2VOBjcXCrSqBfZZdN/UsSn+LjTOMVHLfECby6jS/j473UqhN/i+KBy8V+NeRzTSx2moMw==", "dependencies": { "@ethersproject/rlp": "^5.7.0", - "@libp2p/crypto": "^1.0.17", + "@libp2p/crypto": "^2.0.8", "@libp2p/peer-id": "^3.0.3", "@multiformats/multiaddr": "^12.0.0", "@noble/secp256k1": "^1.7.1", - "@waku/utils": "0.0.13", + "@waku/utils": "0.0.14-7eb3375.0", "debug": "^4.3.4", "js-sha3": "^0.9.2" }, @@ -1249,53 +1383,24 @@ "node": ">=18" } }, - "node_modules/@waku/enr/node_modules/@libp2p/crypto": { - "version": "1.0.17", - "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-1.0.17.tgz", - "integrity": "sha512-Oeg0Eb/EvAho0gVkOgemXEgrVxWaT3x/DpFgkBdZ9qGxwq75w/E/oPc7souqBz+l1swfz37GWnwV7bIb4Xv5Ag==", - "dependencies": { - "@libp2p/interface-keys": "^1.0.2", - "@libp2p/interfaces": "^3.2.0", - "@noble/ed25519": "^1.6.0", - "@noble/secp256k1": "^1.5.4", - "multiformats": "^11.0.0", - "node-forge": "^1.1.0", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/@waku/enr/node_modules/multiformats": { - "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" - } - }, "node_modules/@waku/interfaces": { - "version": "0.0.20", - "resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.20.tgz", - "integrity": "sha512-6g2SRCKiAqtxElozXzPNHg68u/lxWSGL1LSXqwA0AAs+WYvK2vYfBM9ceUlbhDEk4ReCUAceUgZgdtdgKGflgA==", + "version": "0.0.21-7eb3375.0", + "resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.21-7eb3375.0.tgz", + "integrity": "sha512-LLv9xDOhCT61O2iCYtL8TksA8LGmaca2tQugJmBDdSSXYgd1JEsOe2qUPxbrW1lvofSuXIa9do9IHGcnVHKOvQ==", "engines": { "node": ">=18" } }, "node_modules/@waku/message-encryption": { - "version": "0.0.23", - "resolved": "https://registry.npmjs.org/@waku/message-encryption/-/message-encryption-0.0.23.tgz", - "integrity": "sha512-i/qMAjO8EVCMlA1BbuGT+uHxzdydYQVXM9mThgH+kTTPTW5gVAMdzFaGmbiHWT6kn3yAsWq5CBB7M3+1zqb8vQ==", + "version": "0.0.24-7eb3375.0", + "resolved": "https://registry.npmjs.org/@waku/message-encryption/-/message-encryption-0.0.24-7eb3375.0.tgz", + "integrity": "sha512-yGbS7e7wC159e7dmdskd6B/Bro4IKymhaGWER4oZUEUJNWx5/Yc4jszeaN6gHXGBkMuHldK8Sj3H7KZ7EB2aZA==", "dependencies": { "@noble/secp256k1": "^1.7.1", - "@waku/core": "0.0.25", - "@waku/interfaces": "0.0.20", - "@waku/proto": "0.0.5", - "@waku/utils": "0.0.13", + "@waku/core": "0.0.26-7eb3375.0", + "@waku/interfaces": "0.0.21-7eb3375.0", + "@waku/proto": "0.0.6-7eb3375.0", + "@waku/utils": "0.0.14-7eb3375.0", "debug": "^4.3.4", "js-sha3": "^0.9.2" }, @@ -1304,18 +1409,18 @@ } }, "node_modules/@waku/peer-exchange": { - "version": "0.0.18", - "resolved": "https://registry.npmjs.org/@waku/peer-exchange/-/peer-exchange-0.0.18.tgz", - "integrity": "sha512-oRXuASG62SxiVUYdJL7JJAHsa0yORuHHNg1oxL4apVgbnxDXY6SPcvGR1tgpBzMweryPzzx1IqMOZ9tusFCwyA==", + "version": "0.0.19-7eb3375.0", + "resolved": "https://registry.npmjs.org/@waku/peer-exchange/-/peer-exchange-0.0.19-7eb3375.0.tgz", + "integrity": "sha512-mHLd80ex8fE1p5M1VvlQpxkv39f3RKH6rAnbxNqWGxFuRHnAntNmLYjjzVx5w5itE9mjGjTcFmJxoEPTQMIOmA==", "dependencies": { "@libp2p/interfaces": "^3.3.2", - "@waku/core": "0.0.25", - "@waku/enr": "0.0.19", - "@waku/interfaces": "0.0.20", - "@waku/proto": "0.0.5", - "@waku/utils": "0.0.13", + "@waku/core": "0.0.26-7eb3375.0", + "@waku/enr": "0.0.20-7eb3375.0", + "@waku/interfaces": "0.0.21-7eb3375.0", + "@waku/proto": "0.0.6-7eb3375.0", + "@waku/utils": "0.0.14-7eb3375.0", "debug": "^4.3.4", - "it-all": "^3.0.3", + "it-all": "^3.0.4", "it-length-prefixed": "^9.0.1", "it-pipe": "^3.0.1" }, @@ -1324,28 +1429,28 @@ } }, "node_modules/@waku/proto": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/@waku/proto/-/proto-0.0.5.tgz", - "integrity": "sha512-td0WKhUm+pcnpkbhuu5XV79ZcuM+f7b5swNIHHcqCaW5FaJeCtEhXsG8kNrt97kcDAHdr41lxFgQTRDlmAns4A==", + "version": "0.0.6-7eb3375.0", + "resolved": "https://registry.npmjs.org/@waku/proto/-/proto-0.0.6-7eb3375.0.tgz", + "integrity": "sha512-zwTd5tJaAHHoLZ/USWsize2PMal3DtzOgPmEzzfxcXJjYeMTxdKMilO0bKOMqdHBfUQgdo7dqyyH6hWFHzLTrQ==", "dependencies": { - "protons-runtime": "^5.0.0" + "protons-runtime": "^5.0.2" }, "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/@waku/relay": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/@waku/relay/-/relay-0.0.8.tgz", - "integrity": "sha512-H1DXlB7o6qo3dc+qtVFY8g8/jXlyYhSXEIiNU/4eHjCDt0fzl58JdT170QJMDuTQB8LswVzTMRUxFZM5/LTwXw==", + "version": "0.0.9-7eb3375.0", + "resolved": "https://registry.npmjs.org/@waku/relay/-/relay-0.0.9-7eb3375.0.tgz", + "integrity": "sha512-44wz8kFVaO8ncuZD0qmnd+GsRGrx2G9OvThOh8vUhxOuP9snFWTZWdUSviUgWY1eOjTzZ4Nh+Db99Wx/cdX9cQ==", "dependencies": { "@chainsafe/libp2p-gossipsub": "^10.1.0", "@noble/hashes": "^1.3.2", - "@waku/core": "0.0.25", - "@waku/interfaces": "0.0.20", - "@waku/proto": "0.0.5", - "@waku/utils": "0.0.13", - "chai": "^4.3.7", + "@waku/core": "0.0.26-7eb3375.0", + "@waku/interfaces": "0.0.21-7eb3375.0", + "@waku/proto": "0.0.6-7eb3375.0", + "@waku/utils": "0.0.14-7eb3375.0", + "chai": "^4.3.10", "debug": "^4.3.4", "fast-check": "^3.13.1" }, @@ -1354,19 +1459,19 @@ } }, "node_modules/@waku/sdk": { - "version": "0.0.21", - "resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.21.tgz", - "integrity": "sha512-LKG4lGJryco9hHa5fS4GaZ1sDze6MoEeZWyRAmt4uN0UtarKWfzDzIUiifTH3x1vgpcV0mioQPCgeVy3z+acYg==", + "version": "0.0.22-7eb3375.0", + "resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.22-7eb3375.0.tgz", + "integrity": "sha512-wtFfnlD/dsxGqgjs3sd3Kyv+jLAriDCN/PMiRHC3HiWsPZNF+zIsmInaoKilbhIS8dpm+YCC7dk+EnguqD8lyw==", "dependencies": { - "@chainsafe/libp2p-noise": "^13.0.0", - "@libp2p/mplex": "^9.0.5", + "@chainsafe/libp2p-noise": "^13.0.4", + "@libp2p/mplex": "^9.0.10", "@libp2p/websockets": "^7.0.5", - "@waku/core": "0.0.25", - "@waku/dns-discovery": "0.0.19", - "@waku/interfaces": "0.0.20", - "@waku/peer-exchange": "^0.0.18", - "@waku/relay": "0.0.8", - "@waku/utils": "0.0.13", + "@waku/core": "0.0.26-7eb3375.0", + "@waku/dns-discovery": "0.0.20-7eb3375.0", + "@waku/interfaces": "0.0.21-7eb3375.0", + "@waku/peer-exchange": "0.0.19-7eb3375.0", + "@waku/relay": "0.0.9-7eb3375.0", + "@waku/utils": "0.0.14-7eb3375.0", "libp2p": "^0.46.14" }, "engines": { @@ -1374,11 +1479,12 @@ } }, "node_modules/@waku/utils": { - "version": "0.0.13", - "resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.13.tgz", - "integrity": "sha512-sGZRJyYr7+QZpV2tlGJF48gKmwNdFha6rPKPgXiKDsz2YMhPlg70ffbGcND3bEfOwWmX4g/x5i3Oqwwl+HzwJw==", + "version": "0.0.14-7eb3375.0", + "resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.14-7eb3375.0.tgz", + "integrity": "sha512-+atx1BFALDtIJvZXMROTninB57DLVqIG1jMq5QVBPed0hLf/HFpIH9xlJ99bFeSXM6pj+yJA6HB23wgrviSi2w==", "dependencies": { - "chai": "^4.3.8", + "@noble/hashes": "^1.3.2", + "chai": "^4.3.10", "debug": "^4.3.4", "uint8arrays": "^4.0.4" }, @@ -1822,9 +1928,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001561", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001561.tgz", - "integrity": "sha512-NTt0DNoKe958Q0BE0j0c1V9jbUzhBxHIEJy7asmGrpE0yG63KTV7PLHPnK2E1O9RsQrQ081I3NLuXGS6zht3cw==", + "version": "1.0.30001565", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001565.tgz", + "integrity": "sha512-xrE//a3O7TP0vaJ8ikzkD2c2NgcVUvsEe2IvFTntV4Yd1Z9FVzh+gW+enX96L0psrbaFMcVcH2l90xNuGDWc8w==", "funding": [ { "type": "opencollective", @@ -1956,9 +2062,9 @@ "dev": true }, "node_modules/datastore-core": { - "version": "9.2.3", - "resolved": "https://registry.npmjs.org/datastore-core/-/datastore-core-9.2.3.tgz", - "integrity": "sha512-jcvrVDt+jp7lUp2WhMXXgX/hoi3VcJebN+z/ZXbIRKOVfNOF4bl8cvr7sQ1y9qITikgC2coXFYd79Wzt/n13ZQ==", + "version": "9.2.4", + "resolved": "https://registry.npmjs.org/datastore-core/-/datastore-core-9.2.4.tgz", + "integrity": "sha512-j/i/+PGHzAMEZRmW+7RCiHYkPnAGCj+JT7lPg9c9fYOkGTqedce64pd84AfuIeZRewZw2YxQSVFvlUD4O2we8Q==", "dependencies": { "@libp2p/logger": "^3.0.0", "err-code": "^3.0.1", @@ -2150,9 +2256,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.581", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.581.tgz", - "integrity": "sha512-6uhqWBIapTJUxgPTCHH9sqdbxIMPt7oXl0VcAL1kOtlU6aECdcMncCrX5Z7sHQ/invtrC9jUQUef7+HhO8vVFw==", + "version": "1.4.597", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.597.tgz", + "integrity": "sha512-0XOQNqHhg2YgRVRUrS4M4vWjFCFIP2ETXcXe/0KIQBjXE9Cpy+tgzzYfuq6HGai3hWq0YywtG+5XK8fyG08EjA==", "dev": true }, "node_modules/emoji-regex": { @@ -2316,15 +2422,15 @@ } }, "node_modules/eslint": { - "version": "8.53.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.53.0.tgz", - "integrity": "sha512-N4VuiPjXDUa4xVeV/GC/RV3hQW9Nw+Y463lkWaKKXKYMvmRiRDAtfpuPFLN+E1/6ZhyR8J2ig+eVREnYgUsiag==", + "version": "8.54.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.54.0.tgz", + "integrity": "sha512-NY0DfAkM8BIZDVl6PgSa1ttZbx3xHgJzSNJKYcQglem6CppHyMhRIQkBVSSMaSRnLhig3jsDbEzOjwCVt4AmmA==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.3", - "@eslint/js": "8.53.0", + "@eslint/js": "8.54.0", "@humanwhocodes/config-array": "^0.11.13", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -2725,39 +2831,6 @@ "node": ">=0.10.0" } }, - "node_modules/ethereum-cryptography": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-2.1.2.tgz", - "integrity": "sha512-Z5Ba0T0ImZ8fqXrJbpHcbpAvIswRte2wGNR/KePnu8GbbvgJ47lMxT/ZZPG6i9Jaht4azPDop4HaM00J0J59ug==", - "dependencies": { - "@noble/curves": "1.1.0", - "@noble/hashes": "1.3.1", - "@scure/bip32": "1.3.1", - "@scure/bip39": "1.2.1" - } - }, - "node_modules/ethereum-cryptography/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/ethereum-cryptography/node_modules/@noble/hashes": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.1.tgz", - "integrity": "sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA==", - "engines": { - "node": ">= 16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, "node_modules/event-iterator": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/event-iterator/-/event-iterator-2.0.0.tgz", @@ -2796,9 +2869,9 @@ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" }, "node_modules/fast-check": { - "version": "3.13.2", - "resolved": "https://registry.npmjs.org/fast-check/-/fast-check-3.13.2.tgz", - "integrity": "sha512-ouTiFyeMoqmNg253xqy4NSacr5sHxH6pZpLOaHgaAdgZxFWdtsfxExwolpveoAE9CJdV+WYjqErNGef6SqA5Mg==", + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/fast-check/-/fast-check-3.14.0.tgz", + "integrity": "sha512-9Z0zqASzDNjXBox/ileV/fd+4P+V/f3o4shM6QawvcdLFh8yjPG4h5BrHUZ8yzY6amKGDTAmRMyb/JZqe+dCgw==", "funding": [ { "type": "individual", @@ -3317,9 +3390,9 @@ } }, "node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", + "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==", "dev": true, "engines": { "node": ">= 4" @@ -3372,36 +3445,19 @@ "integrity": "sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q==" }, "node_modules/interface-datastore": { - "version": "8.2.5", - "resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-8.2.5.tgz", - "integrity": "sha512-kvLGJMz3RPoJF/g5DbEvfWWempIiSBLVMf63b0PBsziVcSkj0ofzHYI86v8vqpGedkQ81DtPCUKyvX9W7zWvrQ==", + "version": "8.2.7", + "resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-8.2.7.tgz", + "integrity": "sha512-ot5B5+VogufRfjhedAXZHm5NuEKyYZkDyVpTjBYIrxYUpS5GIfF2soE/dsd/FiBVqubcxa4IEToMXL5ruMwhjw==", "dependencies": { "interface-store": "^5.0.0", - "nanoid": "^4.0.0", + "nanoid": "^5.0.3", "uint8arrays": "^4.0.2" } }, - "node_modules/interface-datastore/node_modules/nanoid": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.2.tgz", - "integrity": "sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "bin": { - "nanoid": "bin/nanoid.js" - }, - "engines": { - "node": "^14 || ^16 || >=18" - } - }, "node_modules/interface-store": { - "version": "5.1.4", - "resolved": "https://registry.npmjs.org/interface-store/-/interface-store-5.1.4.tgz", - "integrity": "sha512-SI2co5IAxAybBc9egRM2bXvHOa1RPh5SQQkO6di6t/aX92RbtzP4t8raB0l3GTzQmJADaBbzz8Tfa1QLgfMdGQ==" + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/interface-store/-/interface-store-5.1.5.tgz", + "integrity": "sha512-X0KnJBk3o+YL13MxZBMwa88/b3Mdrpm0yPzkSTKDDVn9BSPH7UK6W+ZtIPO2bxKOQVmq7zqOwAnYnpfqWjb6/g==" }, "node_modules/internal-slot": { "version": "1.0.6", @@ -3810,46 +3866,47 @@ } }, "node_modules/it-all": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/it-all/-/it-all-3.0.3.tgz", - "integrity": "sha512-LwEVD1d0b1O5mDwumnZk+80jSBn5sXDxQ41xiD6j6l2lRiWH6lBLdxXx1C6mlKrXQwRHzUQagOZUmqttDUwb0A==" + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/it-all/-/it-all-3.0.4.tgz", + "integrity": "sha512-UMiy0i9DqCHBdWvMbzdYvVGa5/w4t1cc4nchpbnjdLhklglv8mQeEYnii0gvKESJuL1zV32Cqdb33R6/GPfxpQ==" }, "node_modules/it-batched-bytes": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/it-batched-bytes/-/it-batched-bytes-2.0.4.tgz", - "integrity": "sha512-n4V19XACvFG+b8lCkuvidYvwpyz3++DAolqZGI+9AcDvIPMAhVwwtFCe9SiDIz45OzQnnNYwBgBxbIinHPgraA==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/it-batched-bytes/-/it-batched-bytes-2.0.5.tgz", + "integrity": "sha512-2VgeZ+7KPef0SD2ZgkZfWFe+sgZKdxkzNZXbsYG44nGe4NzWSZLJ6lUjkKHW/S5pSKyW88uacosz6B6K++1LDA==", "dependencies": { "p-defer": "^4.0.0", "uint8arraylist": "^2.4.1" } }, "node_modules/it-byte-stream": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/it-byte-stream/-/it-byte-stream-1.0.1.tgz", - "integrity": "sha512-Nu1/y8ObmrEmpHfWBHrWKtla9xwTdnMceB7v1z7tM+H84VP5Ou59wyFiJHsyvuIETLfKFY+TfhEbOJy24FRGjQ==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/it-byte-stream/-/it-byte-stream-1.0.5.tgz", + "integrity": "sha512-wGHbXPE0ZiU0poJTgCNOW06+mh9yyCwdF8bVv0zxchgql6CMQd/2NEXXtmwWE+N65st8bi/KWUWcMU2pJU2fEw==", "dependencies": { - "it-pushable": "^3.2.0", "it-stream-types": "^2.0.1", + "p-defer": "^4.0.0", + "race-signal": "^1.0.1", "uint8arraylist": "^2.4.1" } }, "node_modules/it-drain": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/it-drain/-/it-drain-3.0.4.tgz", - "integrity": "sha512-BqG0O7gxDvw1luVvFUVtbnmxBIqvx5wQFdId/B7aMZB3tPFvLvZ1/mcqN64iOMU9N9VEBgklIZnNY/EWvzSOTQ==" + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/it-drain/-/it-drain-3.0.5.tgz", + "integrity": "sha512-qYFe4SWdvs9oJGUY5bSjvmiLUMLzFEODNOQUdYdCIkuIgQF+AUB2INhM4yQ09buJ2rhHKDFxvTD/+yUq6qg0XA==" }, "node_modules/it-filter": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/it-filter/-/it-filter-3.0.3.tgz", - "integrity": "sha512-2zXUrJuuV6QHM21ahc8NqVUUxkLMVDWXBoUBcj9GCQLQez2OXmddTHN0r0F5B+TkNTpeL618yIgXi1HNPJOxow==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/it-filter/-/it-filter-3.0.4.tgz", + "integrity": "sha512-e0sz+st4sudK/zH6GZ/gRTRP8A/ADuJFCYDmRgMbZvR79y5+v4ZXav850bBZk5wL9zXaYZFxS1v/6Qi+Vjwh5g==", "dependencies": { "it-peekable": "^3.0.0" } }, "node_modules/it-first": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/it-first/-/it-first-3.0.3.tgz", - "integrity": "sha512-RC8tplctsDpoBUljwsp1viiyaR5fPvMe+FgbbcU0sFjKkJa7iwbB4CCPhHtVYSdjsrREfr0QEotfQrBoGyt7Dw==" + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/it-first/-/it-first-3.0.4.tgz", + "integrity": "sha512-FtQl84iTNxN5EItP/JgL28V2rzNMkCzTUlNoj41eVdfix2z1DBuLnBqZ0hzYhGGa1rMpbQf0M7CQSA2adlrLJg==" }, "node_modules/it-handshake": { "version": "4.1.3", @@ -3885,9 +3942,9 @@ } }, "node_modules/it-length-prefixed-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/it-length-prefixed-stream/-/it-length-prefixed-stream-1.1.0.tgz", - "integrity": "sha512-TdpxiL8SQ6QMyfyfXW7clHfeicjraYRaG5C9VIo84zU8n2SeiS6ySKz6/uFC0hhAidzMRExVUkXNz489u4GeLA==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/it-length-prefixed-stream/-/it-length-prefixed-stream-1.1.4.tgz", + "integrity": "sha512-6YcQ5jsaYnuXBqF+oSGjSdSY9jF7HWl7yh+dxYytXxbE2GcdiOpn6pLM7m6AlIID9MCzQqMY5nOzaiatQ8A3/A==", "dependencies": { "it-byte-stream": "^1.0.0", "it-length-prefixed": "^9.0.1", @@ -3897,17 +3954,17 @@ } }, "node_modules/it-map": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/it-map/-/it-map-3.0.4.tgz", - "integrity": "sha512-h5zCxovJQ+mzJT75xP4GkJuFrJQ5l7IIdhZ6AOWaE02g5F7T1k1j4CB/uKSRR05LLLOi1LqG+7CrH9bi8GIXYA==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/it-map/-/it-map-3.0.5.tgz", + "integrity": "sha512-hB0TDXo/h4KSJJDSRLgAPmDroiXP6Fx1ck4Bzl3US9hHfZweTKsuiP0y4gXuTMcJlS6vj0bb+f70rhkD47ZA3w==", "dependencies": { "it-peekable": "^3.0.0" } }, "node_modules/it-merge": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.2.tgz", - "integrity": "sha512-bMk2km8lTz+Rwv30hzDUdGIcqQkOemFJqmGT2wqQZ6/zHKCsYqdRunPrteCqHLV/nIVhUK8nZZkDA2eJ4MJZiA==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.3.tgz", + "integrity": "sha512-FYVU15KC5pb/GQX1Ims+lee8d4pdqGVCpWr0lkNj8o4xuNo7jY71k6GuEiWdP+T7W1bJqewSxX5yoTy5yZpRVA==", "dependencies": { "it-pushable": "^3.2.0" } @@ -3926,17 +3983,17 @@ } }, "node_modules/it-parallel": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/it-parallel/-/it-parallel-3.0.5.tgz", - "integrity": "sha512-F3DBY5UQ3uS+s5n34w6e1Dc4qwys8l+00phyzUawud30wp6PUD1ZGCFNeeajNtpuUQaakpbFaMCYVhD9I3/9nw==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/it-parallel/-/it-parallel-3.0.6.tgz", + "integrity": "sha512-i7UM7I9LTkDJw3YIqXHFAPZX6CWYzGc+X3irdNrVExI4vPazrJdI7t5OqrSVN8CONXLAunCiqaSV/zZRbQR56A==", "dependencies": { "p-defer": "^4.0.0" } }, "node_modules/it-peekable": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/it-peekable/-/it-peekable-3.0.2.tgz", - "integrity": "sha512-nWwUdhNQ1CfAuoJmsaUotNMYUrfNIlY9gBA1jwWfWSu1I0mLY2brwreKHGOUptXLJUiG5pR04He0xYZMWBRiGA==" + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/it-peekable/-/it-peekable-3.0.3.tgz", + "integrity": "sha512-Wx21JX/rMzTEl9flx3DGHuPV1KQFGOl8uoKfQtmZHgPQtGb89eQ6RyVd82h3HuP9Ghpt0WgBDlmmdWeHXqyx7w==" }, "node_modules/it-pipe": { "version": "3.0.1", @@ -3953,9 +4010,9 @@ } }, "node_modules/it-protobuf-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/it-protobuf-stream/-/it-protobuf-stream-1.1.0.tgz", - "integrity": "sha512-ThfHsMCf8B+mv4yTd22JkbKtVoxeZPQB9mtwtpWbrOhhPNZ5FQzICViQLHPtvqtkGyMJDN7VXuO37r9nG6rFyA==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/it-protobuf-stream/-/it-protobuf-stream-1.1.1.tgz", + "integrity": "sha512-H7fiC+m85AAz84I8SQOKHKZTDREFrsYfKxEhWTlhAdySoUyiC72Xe2ocqBFy3zUWCGYq6rCTMGnCbTKntSlcog==", "dependencies": { "it-length-prefixed-stream": "^1.0.0", "it-stream-types": "^2.0.1", @@ -3964,9 +4021,9 @@ } }, "node_modules/it-pushable": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/it-pushable/-/it-pushable-3.2.2.tgz", - "integrity": "sha512-eGY2lKZxa4hNNRPNuL4r7Eluk//j6jL4zEmQUzAHYKG912sY/RzzEpfJedZcnEdf6zB7b8NdHOf0chCm2sL/xw==", + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/it-pushable/-/it-pushable-3.2.3.tgz", + "integrity": "sha512-gzYnXYK8Y5t5b/BnJUr7glfQLO4U5vyb05gPx/TyTw+4Bv1zM9gFk4YsOrnulWefMewlphCjKkakFvj1y99Tcg==", "dependencies": { "p-defer": "^4.0.0" } @@ -3985,9 +4042,9 @@ } }, "node_modules/it-sort": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/it-sort/-/it-sort-3.0.3.tgz", - "integrity": "sha512-9BuQc5Y2fmBUNhevQBUDHfItrQmzWoZcnzydJl91V6na6M+RkbNj71UtCPPNIpOt/SQG+va0pe1wMQJ9lP2Oew==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/it-sort/-/it-sort-3.0.4.tgz", + "integrity": "sha512-tvnC93JZZWjX4UxALy0asow0dzXabkoaRbrPJKClTKhNCqw4gzHr+H5axf1gohcthedRRkqd/ae+wl7WqoxFhw==", "dependencies": { "it-all": "^3.0.0" } @@ -4002,9 +4059,9 @@ } }, "node_modules/it-take": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/it-take/-/it-take-3.0.3.tgz", - "integrity": "sha512-Ay5SXEyrBKD0tO8PQif2QjrStImIsLIg0F50Uu4EeXOw8C9DfVIGfsGL3X9s65F2I9skDp9mLgBzl71IToMxNw==" + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/it-take/-/it-take-3.0.4.tgz", + "integrity": "sha512-RG8HDjAZlvkzz5Nav4xq6gK5zNT+Ff1UTIf+CrSJW8nIl6N1FpBH5e7clUshiCn+MmmMoSdIEpw4UaTolszxhA==" }, "node_modules/it-ws": { "version": "6.0.5", @@ -4849,9 +4906,9 @@ } }, "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.3.tgz", + "integrity": "sha512-I7X2b22cxA4LIHXPSqbBCEQSL+1wv8TuoefejsX4HFWyC6jc5JG7CEaxOltiKjc1M+YCS2YkrZZcj4+dytw9GA==", "funding": [ { "type": "github", @@ -4859,10 +4916,10 @@ } ], "bin": { - "nanoid": "bin/nanoid.cjs" + "nanoid": "bin/nanoid.js" }, "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + "node": "^18 || >=20" } }, "node_modules/natural-compare": { @@ -5363,6 +5420,23 @@ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", "dev": true }, + "node_modules/postcss/node_modules/nanoid": { + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, "node_modules/prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -5483,9 +5557,9 @@ ] }, "node_modules/race-signal": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/race-signal/-/race-signal-1.0.1.tgz", - "integrity": "sha512-a5un4dInIWoB7+76DieVE+Xv+wmyochKJ3P2GVs9dUKIzGuPyFR5iU3gEWJvztde/15fSOGkslbIsPxi+Loosw==" + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/race-signal/-/race-signal-1.0.2.tgz", + "integrity": "sha512-o3xNv0iTcIDQCXFlF6fPAMEBRjFxssgGoRqLbg06m+AdzEXXLUmoNOoUHTVz2NoBI8hHwKFKoC6IqyNtWr2bww==" }, "node_modules/rate-limiter-flexible": { "version": "3.0.4", @@ -6231,9 +6305,9 @@ } }, "node_modules/typescript": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", - "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.2.tgz", + "integrity": "sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -6253,21 +6327,17 @@ } }, "node_modules/uint8arraylist": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.4.3.tgz", - "integrity": "sha512-oEVZr4/GrH87K0kjNce6z8pSCzLEPqHNLNR5sj8cJOySrTP8Vb/pMIbZKLJGhQKxm1TiZ31atNrpn820Pyqpow==", + "version": "2.4.7", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.4.7.tgz", + "integrity": "sha512-ohRElqR6C5dd60vRFLq40MCiSnUe1AzkpHvbCEMCGGP6zMoFYECsjdhL6bR1kTK37ONNRDuHQ3RIpScRYcYYIg==", "dependencies": { "uint8arrays": "^4.0.2" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" } }, "node_modules/uint8arrays": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.6.tgz", - "integrity": "sha512-4ZesjQhqOU2Ip6GPReIwN60wRxIupavL8T0Iy36BBHr2qyMrNxsPJvr7vpS4eFt8F8kSguWUPad6ZM9izs/vyw==", + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.9.tgz", + "integrity": "sha512-iHU8XJJnfeijILZWzV7RgILdPHqe0mjJvyzY4mO8aUUtHsDbPa2Gc8/02Kc4zeokp2W6Qq8z9Ap1xkQ1HfbKwg==", "dependencies": { "multiformats": "^12.0.1" } @@ -6705,9 +6775,9 @@ } }, "@babel/runtime": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.2.tgz", - "integrity": "sha512-mM8eg4yl5D6i3lu2QKPuPH4FArvJ8KhTofbE7jwMUv9KX5mBvwPAqnV3MlyBNqdp9RyRKP6Yck8TrfYrPvX3bg==", + "version": "7.23.5", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.5.tgz", + "integrity": "sha512-NdUTHcPe4C99WxPub+K9l9tK5/lV4UXIoaHSYgzco9BCyjKAAwzdBI+wWtYqHt7LJdbo74ZjRPJgzVweq1sz0w==", "dev": true, "requires": { "regenerator-runtime": "^0.14.0" @@ -6729,12 +6799,12 @@ "integrity": "sha512-ndGqEMG1W5WkGagaqOZHpPU172AGdxr+LD15sv3WIUvT5oCFUrG1Y0CW/v2Egwj4JXEvSibaIIIqImsm98y1nA==" }, "@chainsafe/libp2p-gossipsub": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/@chainsafe/libp2p-gossipsub/-/libp2p-gossipsub-10.1.0.tgz", - "integrity": "sha512-mOVYJAvxYRkh2HeggNFW/7ukEccQDVEI9LPhvlnJk7gnJhyJJ6mhZxUAaytfp3v3qTkmeBRnEL0eJOQBm+MoOA==", + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/@chainsafe/libp2p-gossipsub/-/libp2p-gossipsub-10.1.1.tgz", + "integrity": "sha512-nou65zlGaUIPwlUq7ceEVpszJX4tBWRRanppYaKsJk7rbDeIKRJQla2duATGOI3fwj1+pGSlDQuF2zG7P0VJQw==", "requires": { "@libp2p/crypto": "^2.0.0", - "@libp2p/interface": "^0.1.0", + "@libp2p/interface": "^0.1.4", "@libp2p/interface-internal": "^0.1.0", "@libp2p/logger": "^3.0.0", "@libp2p/peer-id": "^3.0.0", @@ -6752,9 +6822,9 @@ } }, "@chainsafe/libp2p-noise": { - "version": "13.0.3", - "resolved": "https://registry.npmjs.org/@chainsafe/libp2p-noise/-/libp2p-noise-13.0.3.tgz", - "integrity": "sha512-hzfhKUEx5XHDaC21wgROhTUFelaeYojH3DFYhCvqFnhRPUjmz+WJh2jweKaUlysKTTrEHv+JJob/TDY/IS6fRw==", + "version": "13.0.5", + "resolved": "https://registry.npmjs.org/@chainsafe/libp2p-noise/-/libp2p-noise-13.0.5.tgz", + "integrity": "sha512-xXqwrkH4nXlv3cYENHtqOgmIT2M4irPDwi548UvpmxzeC9hqa0kmiqbtAFYMV3v+gJ9pqVBVWFRk2hjs83GNrw==", "requires": { "@chainsafe/as-chacha20poly1305": "^0.1.0", "@chainsafe/as-sha256": "^0.4.1", @@ -6818,9 +6888,9 @@ } }, "@eslint/js": { - "version": "8.53.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.53.0.tgz", - "integrity": "sha512-Kn7K8dx/5U6+cT1yEhpX1w4PCSg0M+XyRILPgvwcEBjerFWCwQj5sbr3/VmxqV0JGHCBCzyd6LxypEuehypY1w==", + "version": "8.54.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.54.0.tgz", + "integrity": "sha512-ut5V+D+fOoWPgGGNj83GGjnntO39xDy6DWxO0wb7Jp3DcMX0TfIqdzHF85VTQkerdyGmuuMD9AKAo5KiNlf/AQ==", "dev": true }, "@ethersproject/bytes": { @@ -6930,21 +7000,30 @@ } }, "@libp2p/interface-internal": { - "version": "0.1.9", - "resolved": "https://registry.npmjs.org/@libp2p/interface-internal/-/interface-internal-0.1.9.tgz", - "integrity": "sha512-0HoY3ojG773VqE/m5vw9XtpKzuTqlCNqbOcwh2JvQvrLIiQgwu1zbn6t+T6cKK49eTBGfUqj3uWN7YQgX8rdGA==", + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/@libp2p/interface-internal/-/interface-internal-0.1.10.tgz", + "integrity": "sha512-eTbNtvLdSe762qcmSD54db9GJXqckKjqTyaDdUMK/3Zb/uwpjblqXCzecOxNvLi6W1Hfg9Lr7hvIm1zkGmzCPg==", "requires": { - "@libp2p/interface": "^0.1.6", - "@libp2p/peer-collections": "^4.0.8", - "@multiformats/multiaddr": "^12.1.5", + "@libp2p/interface": "^1.0.0", + "@libp2p/peer-collections": "^4.0.9", + "@multiformats/multiaddr": "^12.1.10", "uint8arraylist": "^2.4.3" + }, + "dependencies": { + "@libp2p/interface": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.0.0.tgz", + "integrity": "sha512-Djd3KB3CXsFPdTFqbkwmvinPcZV3ISp+ZqXwPHnBzr2zRdZrU8ptUldPYT4uzx7q7P2IgyBbSQvKlz0Qr/w1/w==", + "requires": { + "@multiformats/multiaddr": "^12.1.10", + "it-pushable": "^3.2.1", + "it-stream-types": "^2.0.1", + "multiformats": "^12.1.3", + "uint8arraylist": "^2.4.3" + } + } } }, - "@libp2p/interface-keys": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@libp2p/interface-keys/-/interface-keys-1.0.8.tgz", - "integrity": "sha512-CJ1SlrwuoHMquhEEWS77E+4vv7hwB7XORkqzGQrPQmA9MRdIEZRS64bA4JqCLUDa4ltH0l+U1vp0oZHLT67NEA==" - }, "@libp2p/interfaces": { "version": "3.3.2", "resolved": "https://registry.npmjs.org/@libp2p/interfaces/-/interfaces-3.3.2.tgz", @@ -6996,33 +7075,66 @@ } }, "@libp2p/multistream-select": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/@libp2p/multistream-select/-/multistream-select-4.0.6.tgz", - "integrity": "sha512-WT3thUOqUpzKjTctLkgezQep0C23uIPyE0J5H7tBBoB+h6Ocp90A7aQWsBZMbszGKcNOeAkIIYE7dZ0J1MdKeg==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/@libp2p/multistream-select/-/multistream-select-4.0.7.tgz", + "integrity": "sha512-O3gxXYfvtOtA1OsZAWHXBOB2KPSvxuYgOCm2Xr6+lR+atyhXwjZ0WGEaVAkL2yNZIs89aQ0MTADJO3sE3/V5LQ==", "requires": { - "@libp2p/interface": "^0.1.6", - "@libp2p/logger": "^3.1.0", - "abortable-iterator": "^5.0.1", - "it-first": "^3.0.1", - "it-handshake": "^4.1.3", - "it-length-prefixed": "^9.0.1", - "it-merge": "^3.0.0", + "@libp2p/interface": "^1.0.0", + "it-length-prefixed": "^9.0.3", + "it-length-prefixed-stream": "^1.1.1", "it-pipe": "^3.0.1", - "it-pushable": "^3.2.0", - "it-reader": "^6.0.1", "it-stream-types": "^2.0.1", - "uint8-varint": "^2.0.0", + "p-defer": "^4.0.0", + "uint8-varint": "^2.0.2", "uint8arraylist": "^2.4.3", "uint8arrays": "^4.0.6" + }, + "dependencies": { + "@libp2p/interface": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.0.0.tgz", + "integrity": "sha512-Djd3KB3CXsFPdTFqbkwmvinPcZV3ISp+ZqXwPHnBzr2zRdZrU8ptUldPYT4uzx7q7P2IgyBbSQvKlz0Qr/w1/w==", + "requires": { + "@multiformats/multiaddr": "^12.1.10", + "it-pushable": "^3.2.1", + "it-stream-types": "^2.0.1", + "multiformats": "^12.1.3", + "uint8arraylist": "^2.4.3" + } + } } }, "@libp2p/peer-collections": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/@libp2p/peer-collections/-/peer-collections-4.0.8.tgz", - "integrity": "sha512-Tk7W7pgPRH1v1+DmCx+XDqWX/E1Q7t7dNz3gsKZ1smstLwF6P1OhmYgDuVpMUvJiYroM7j7X6CcPZEoVUvNVog==", + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/@libp2p/peer-collections/-/peer-collections-4.0.9.tgz", + "integrity": "sha512-jQgTV35byACBYDMIp+kopAPs7ZsgZn0oRfkNkkRX10zYCX7ehrZ1qiiSR0oaCJfgrktWhkv+sYj7nyaBwhgANg==", "requires": { - "@libp2p/interface": "^0.1.6", - "@libp2p/peer-id": "^3.0.6" + "@libp2p/interface": "^1.0.0", + "@libp2p/peer-id": "^4.0.0" + }, + "dependencies": { + "@libp2p/interface": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.0.0.tgz", + "integrity": "sha512-Djd3KB3CXsFPdTFqbkwmvinPcZV3ISp+ZqXwPHnBzr2zRdZrU8ptUldPYT4uzx7q7P2IgyBbSQvKlz0Qr/w1/w==", + "requires": { + "@multiformats/multiaddr": "^12.1.10", + "it-pushable": "^3.2.1", + "it-stream-types": "^2.0.1", + "multiformats": "^12.1.3", + "uint8arraylist": "^2.4.3" + } + }, + "@libp2p/peer-id": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-4.0.0.tgz", + "integrity": "sha512-ltZqVmtQ27qgTB2ZQE3zsdLPnAxu8ehfGNI63njz87G+H7RWVnEeXFdISaQnxQchyewYda7klNc0Cr+aN0b1IA==", + "requires": { + "@libp2p/interface": "^1.0.0", + "multiformats": "^12.1.3", + "uint8arrays": "^4.0.6" + } + } } }, "@libp2p/peer-id": { @@ -7036,75 +7148,252 @@ } }, "@libp2p/peer-id-factory": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/@libp2p/peer-id-factory/-/peer-id-factory-3.0.8.tgz", - "integrity": "sha512-T0pOKWwFw01GqpeA03RRztG2qr0Zl2cSdt20d/WQ+BAjyrJNr7PSBTXux3nRGGdmzoUfJTJU6f992PDtq1z/mQ==", + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id-factory/-/peer-id-factory-3.0.9.tgz", + "integrity": "sha512-e5wxUhynltG3Zlrh1dkHP9VSz3gmWl9v4c97ZekaOisJgUlyJDPfryggcNSvNLtdR6A8s7ZTUexlo7S1IkbVeA==", "requires": { - "@libp2p/crypto": "^2.0.8", - "@libp2p/interface": "^0.1.6", - "@libp2p/peer-id": "^3.0.6", - "multiformats": "^12.0.1", + "@libp2p/crypto": "^3.0.0", + "@libp2p/interface": "^1.0.0", + "@libp2p/peer-id": "^4.0.0", + "multiformats": "^12.1.3", "protons-runtime": "^5.0.0", "uint8arraylist": "^2.4.3", "uint8arrays": "^4.0.6" + }, + "dependencies": { + "@libp2p/crypto": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-3.0.0.tgz", + "integrity": "sha512-NZDz/HaaOEDhgBqbdynoNkmnnq5KLq9/iQc9PU0/fFCKazo1hEYMhXZDN4szzXGBZQg58k9Q7FlduG5K5yTQbg==", + "requires": { + "@libp2p/interface": "^1.0.0", + "@noble/curves": "^1.1.0", + "@noble/hashes": "^1.3.1", + "multiformats": "^12.1.3", + "node-forge": "^1.1.0", + "protons-runtime": "^5.0.0", + "uint8arraylist": "^2.4.3", + "uint8arrays": "^4.0.6" + } + }, + "@libp2p/interface": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.0.0.tgz", + "integrity": "sha512-Djd3KB3CXsFPdTFqbkwmvinPcZV3ISp+ZqXwPHnBzr2zRdZrU8ptUldPYT4uzx7q7P2IgyBbSQvKlz0Qr/w1/w==", + "requires": { + "@multiformats/multiaddr": "^12.1.10", + "it-pushable": "^3.2.1", + "it-stream-types": "^2.0.1", + "multiformats": "^12.1.3", + "uint8arraylist": "^2.4.3" + } + }, + "@libp2p/peer-id": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-4.0.0.tgz", + "integrity": "sha512-ltZqVmtQ27qgTB2ZQE3zsdLPnAxu8ehfGNI63njz87G+H7RWVnEeXFdISaQnxQchyewYda7klNc0Cr+aN0b1IA==", + "requires": { + "@libp2p/interface": "^1.0.0", + "multiformats": "^12.1.3", + "uint8arrays": "^4.0.6" + } + } } }, "@libp2p/peer-record": { - "version": "6.0.9", - "resolved": "https://registry.npmjs.org/@libp2p/peer-record/-/peer-record-6.0.9.tgz", - "integrity": "sha512-S8SibblcvJWMeOnHfL62nlQuwvgxDb4fB132Fw/2ej4wABqJa94KrllFk+oejJW7rzWIPCKhImcN5YY/ymIkiQ==", + "version": "6.0.10", + "resolved": "https://registry.npmjs.org/@libp2p/peer-record/-/peer-record-6.0.10.tgz", + "integrity": "sha512-GiR+RE5PBVMgHTkQ2Ghf8KbLX7PNW/TDHdUyqsl3X1ij0KxQHufwrYfO3aMP0GN4pN5g25bO6WixAUU8MokNPw==", "requires": { - "@libp2p/crypto": "^2.0.8", - "@libp2p/interface": "^0.1.6", - "@libp2p/peer-id": "^3.0.6", - "@libp2p/utils": "^4.0.7", - "@multiformats/multiaddr": "^12.1.5", + "@libp2p/crypto": "^3.0.0", + "@libp2p/interface": "^1.0.0", + "@libp2p/peer-id": "^4.0.0", + "@libp2p/utils": "^5.0.0", + "@multiformats/multiaddr": "^12.1.10", "protons-runtime": "^5.0.0", "uint8-varint": "^2.0.0", "uint8arraylist": "^2.4.3", "uint8arrays": "^4.0.6" + }, + "dependencies": { + "@libp2p/crypto": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-3.0.0.tgz", + "integrity": "sha512-NZDz/HaaOEDhgBqbdynoNkmnnq5KLq9/iQc9PU0/fFCKazo1hEYMhXZDN4szzXGBZQg58k9Q7FlduG5K5yTQbg==", + "requires": { + "@libp2p/interface": "^1.0.0", + "@noble/curves": "^1.1.0", + "@noble/hashes": "^1.3.1", + "multiformats": "^12.1.3", + "node-forge": "^1.1.0", + "protons-runtime": "^5.0.0", + "uint8arraylist": "^2.4.3", + "uint8arrays": "^4.0.6" + } + }, + "@libp2p/interface": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.0.0.tgz", + "integrity": "sha512-Djd3KB3CXsFPdTFqbkwmvinPcZV3ISp+ZqXwPHnBzr2zRdZrU8ptUldPYT4uzx7q7P2IgyBbSQvKlz0Qr/w1/w==", + "requires": { + "@multiformats/multiaddr": "^12.1.10", + "it-pushable": "^3.2.1", + "it-stream-types": "^2.0.1", + "multiformats": "^12.1.3", + "uint8arraylist": "^2.4.3" + } + }, + "@libp2p/peer-id": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-4.0.0.tgz", + "integrity": "sha512-ltZqVmtQ27qgTB2ZQE3zsdLPnAxu8ehfGNI63njz87G+H7RWVnEeXFdISaQnxQchyewYda7klNc0Cr+aN0b1IA==", + "requires": { + "@libp2p/interface": "^1.0.0", + "multiformats": "^12.1.3", + "uint8arrays": "^4.0.6" + } + }, + "@libp2p/utils": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/utils/-/utils-5.0.0.tgz", + "integrity": "sha512-abRRyih2e+NuwOr3JywUARCJdvfRGe4fa8Sp46LLlgFZ571KjfJUxlKooVKBbZcdHUBLFUaoGfxXmKCZWueC5A==", + "requires": { + "@chainsafe/is-ip": "^2.0.2", + "@libp2p/interface": "^1.0.0", + "@multiformats/multiaddr": "^12.1.10", + "@multiformats/multiaddr-matcher": "^1.1.0", + "get-iterator": "^2.0.1", + "is-loopback-addr": "^2.0.1", + "it-pushable": "^3.2.2", + "it-stream-types": "^2.0.1", + "p-queue": "^7.4.1", + "private-ip": "^3.0.1", + "race-signal": "^1.0.1", + "uint8arraylist": "^2.4.3" + } + } } }, "@libp2p/peer-store": { - "version": "9.0.9", - "resolved": "https://registry.npmjs.org/@libp2p/peer-store/-/peer-store-9.0.9.tgz", - "integrity": "sha512-8wP45gEozPw7mE5/p+2onAUXEPvb5pWiriV2UqPqrt9FZ7OTRUfD4sMxMxFgCGg8K5pcrXuQPBWyG7OEn4GOGg==", + "version": "9.0.10", + "resolved": "https://registry.npmjs.org/@libp2p/peer-store/-/peer-store-9.0.10.tgz", + "integrity": "sha512-daYjOOQqd1KpChnKVVBtUivqBoHadAcKSC09u3YdQtROSkxJj297YPXlC8qIpSKvfDwGpeKESy2j5VyMc1uPGQ==", "requires": { - "@libp2p/interface": "^0.1.6", - "@libp2p/logger": "^3.1.0", - "@libp2p/peer-collections": "^4.0.8", - "@libp2p/peer-id": "^3.0.6", - "@libp2p/peer-id-factory": "^3.0.8", - "@libp2p/peer-record": "^6.0.9", - "@multiformats/multiaddr": "^12.1.5", + "@libp2p/interface": "^1.0.0", + "@libp2p/peer-collections": "^4.0.9", + "@libp2p/peer-id": "^4.0.0", + "@libp2p/peer-id-factory": "^3.0.9", + "@libp2p/peer-record": "^6.0.10", + "@multiformats/multiaddr": "^12.1.10", "interface-datastore": "^8.2.0", "it-all": "^3.0.2", "mortice": "^3.0.1", - "multiformats": "^12.0.1", + "multiformats": "^12.1.3", "protons-runtime": "^5.0.0", "uint8arraylist": "^2.4.3", "uint8arrays": "^4.0.6" + }, + "dependencies": { + "@libp2p/interface": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.0.0.tgz", + "integrity": "sha512-Djd3KB3CXsFPdTFqbkwmvinPcZV3ISp+ZqXwPHnBzr2zRdZrU8ptUldPYT4uzx7q7P2IgyBbSQvKlz0Qr/w1/w==", + "requires": { + "@multiformats/multiaddr": "^12.1.10", + "it-pushable": "^3.2.1", + "it-stream-types": "^2.0.1", + "multiformats": "^12.1.3", + "uint8arraylist": "^2.4.3" + } + }, + "@libp2p/peer-id": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-4.0.0.tgz", + "integrity": "sha512-ltZqVmtQ27qgTB2ZQE3zsdLPnAxu8ehfGNI63njz87G+H7RWVnEeXFdISaQnxQchyewYda7klNc0Cr+aN0b1IA==", + "requires": { + "@libp2p/interface": "^1.0.0", + "multiformats": "^12.1.3", + "uint8arrays": "^4.0.6" + } + } } }, "@libp2p/pubsub": { - "version": "8.0.10", - "resolved": "https://registry.npmjs.org/@libp2p/pubsub/-/pubsub-8.0.10.tgz", - "integrity": "sha512-Bein6ZRg834sxcQeAvzrf8UUwMRZ42EkPJjv+0IXXOTpJE/pU25sP844yI7y+QPCFZ/tYLZ0/VVsf4y4s7diMQ==", + "version": "8.0.11", + "resolved": "https://registry.npmjs.org/@libp2p/pubsub/-/pubsub-8.0.11.tgz", + "integrity": "sha512-3HgeWl/1u1XluYdhOsLmB+6a8JUKWi3rlqIJxmET51Mz7yD8zBAqGv8pFXf/ZVEHcXzkzm0VVi25ksG80KL7+w==", "requires": { - "@libp2p/crypto": "^2.0.8", - "@libp2p/interface": "^0.1.6", - "@libp2p/interface-internal": "^0.1.9", - "@libp2p/logger": "^3.1.0", - "@libp2p/peer-collections": "^4.0.8", - "@libp2p/peer-id": "^3.0.6", - "abortable-iterator": "^5.0.1", - "it-length-prefixed": "^9.0.1", + "@libp2p/crypto": "^3.0.0", + "@libp2p/interface": "^1.0.0", + "@libp2p/interface-internal": "^0.1.10", + "@libp2p/peer-collections": "^4.0.9", + "@libp2p/peer-id": "^4.0.0", + "@libp2p/utils": "^5.0.0", + "it-length-prefixed": "^9.0.3", "it-pipe": "^3.0.1", - "it-pushable": "^3.2.0", - "multiformats": "^12.0.1", - "p-queue": "^7.3.4", + "it-pushable": "^3.2.1", + "multiformats": "^12.1.3", + "p-queue": "^7.4.1", "uint8arraylist": "^2.4.3", "uint8arrays": "^4.0.6" + }, + "dependencies": { + "@libp2p/crypto": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-3.0.0.tgz", + "integrity": "sha512-NZDz/HaaOEDhgBqbdynoNkmnnq5KLq9/iQc9PU0/fFCKazo1hEYMhXZDN4szzXGBZQg58k9Q7FlduG5K5yTQbg==", + "requires": { + "@libp2p/interface": "^1.0.0", + "@noble/curves": "^1.1.0", + "@noble/hashes": "^1.3.1", + "multiformats": "^12.1.3", + "node-forge": "^1.1.0", + "protons-runtime": "^5.0.0", + "uint8arraylist": "^2.4.3", + "uint8arrays": "^4.0.6" + } + }, + "@libp2p/interface": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.0.0.tgz", + "integrity": "sha512-Djd3KB3CXsFPdTFqbkwmvinPcZV3ISp+ZqXwPHnBzr2zRdZrU8ptUldPYT4uzx7q7P2IgyBbSQvKlz0Qr/w1/w==", + "requires": { + "@multiformats/multiaddr": "^12.1.10", + "it-pushable": "^3.2.1", + "it-stream-types": "^2.0.1", + "multiformats": "^12.1.3", + "uint8arraylist": "^2.4.3" + } + }, + "@libp2p/peer-id": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-4.0.0.tgz", + "integrity": "sha512-ltZqVmtQ27qgTB2ZQE3zsdLPnAxu8ehfGNI63njz87G+H7RWVnEeXFdISaQnxQchyewYda7klNc0Cr+aN0b1IA==", + "requires": { + "@libp2p/interface": "^1.0.0", + "multiformats": "^12.1.3", + "uint8arrays": "^4.0.6" + } + }, + "@libp2p/utils": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@libp2p/utils/-/utils-5.0.0.tgz", + "integrity": "sha512-abRRyih2e+NuwOr3JywUARCJdvfRGe4fa8Sp46LLlgFZ571KjfJUxlKooVKBbZcdHUBLFUaoGfxXmKCZWueC5A==", + "requires": { + "@chainsafe/is-ip": "^2.0.2", + "@libp2p/interface": "^1.0.0", + "@multiformats/multiaddr": "^12.1.10", + "@multiformats/multiaddr-matcher": "^1.1.0", + "get-iterator": "^2.0.1", + "is-loopback-addr": "^2.0.1", + "it-pushable": "^3.2.2", + "it-stream-types": "^2.0.1", + "p-queue": "^7.4.1", + "private-ip": "^3.0.1", + "race-signal": "^1.0.1", + "uint8arraylist": "^2.4.3" + } + } } }, "@libp2p/utils": { @@ -7263,11 +7552,6 @@ "@noble/hashes": "1.3.2" } }, - "@noble/ed25519": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.7.3.tgz", - "integrity": "sha512-iR8GBkDt0Q3GyaVcIu7mSsVIqnFbkbRzGLWlvhwunacoLwt4J3swfKhfaM6rN6WY+TBGoYT1GtT1mIh2/jGbRQ==" - }, "@noble/hashes": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", @@ -7359,50 +7643,11 @@ "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" }, "@rushstack/eslint-patch": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.5.1.tgz", - "integrity": "sha512-6i/8UoL0P5y4leBIGzvkZdS85RDMG9y1ihZzmTZQ5LdHUYmZ7pKFoj8X0236s3lusPs1Fa5HTQUpwI+UfTcmeA==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.6.0.tgz", + "integrity": "sha512-2/U3GXA6YiPYQDLGwtGlnNgKYBSwCFIHf8Y9LUY5VATHdtbLlU0Y1R3QoBnT0aB4qv/BEiVVsj7LJXoQCgJ2vA==", "dev": true }, - "@scure/base": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.1.3.tgz", - "integrity": "sha512-/+SgoRjLq7Xlf0CWuLHq2LUZeL/w65kfzAPG5NH9pcmBhs+nunQTn4gvdwgMTIXnt9b2C/1SeL2XiysZEyIC9Q==" - }, - "@scure/bip32": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@scure/bip32/-/bip32-1.3.1.tgz", - "integrity": "sha512-osvveYtyzdEVbt3OfwwXFr4P2iVBL5u1Q3q4ONBfDY/UpOuXmOlbgwc1xECEboY8wIays8Yt6onaWMUdUbfl0A==", - "requires": { - "@noble/curves": "~1.1.0", - "@noble/hashes": "~1.3.1", - "@scure/base": "~1.1.0" - }, - "dependencies": { - "@noble/curves": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.1.0.tgz", - "integrity": "sha512-091oBExgENk/kGj3AZmtBDMpxQPDtxQABR2B9lb1JbVTs6ytdzZNwvhxQ4MWasRNEzlbEH8jCWFCwhF/Obj5AA==", - "requires": { - "@noble/hashes": "1.3.1" - } - }, - "@noble/hashes": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.1.tgz", - "integrity": "sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA==" - } - } - }, - "@scure/bip39": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@scure/bip39/-/bip39-1.2.1.tgz", - "integrity": "sha512-Z3/Fsz1yr904dduJD0NpiyRHhRYHdcnyh73FZWiV+/qhWi83wNJ3NWolYqCEN+ZWsUz2TWwajJggcRE9r1zUYg==", - "requires": { - "@noble/hashes": "~1.3.0", - "@scure/base": "~1.1.0" - } - }, "@swc/helpers": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.2.tgz", @@ -7447,22 +7692,22 @@ "integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==" }, "@types/node": { - "version": "20.9.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.9.0.tgz", - "integrity": "sha512-nekiGu2NDb1BcVofVcEKMIwzlx4NjHlcjhoxxKBNLtz15Y1z7MYf549DFvkHSId02Ax6kGwWntIBPC3l/JZcmw==", + "version": "20.10.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.1.tgz", + "integrity": "sha512-T2qwhjWwGH81vUEx4EXmBKsTJRXFXNZTL4v0gi01+zyBmCwzE6TyHszqX01m+QHTEq+EZNo13NeJIdEqf+Myrg==", "requires": { "undici-types": "~5.26.4" } }, "@types/prop-types": { - "version": "15.7.10", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.10.tgz", - "integrity": "sha512-mxSnDQxPqsZxmeShFH+uwQ4kO4gcJcGahjjMFeLbKE95IAZiiZyiEepGZjtXJ7hN/yfu0bu9xN2ajcU0JcxX6A==" + "version": "15.7.11", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.11.tgz", + "integrity": "sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==" }, "@types/react": { - "version": "18.2.37", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.37.tgz", - "integrity": "sha512-RGAYMi2bhRgEXT3f4B92WTohopH6bIXw05FuGlmJEnv/omEn190+QYEIYxIAuIBdKgboYYdVved2p1AxZVQnaw==", + "version": "18.2.39", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.39.tgz", + "integrity": "sha512-Oiw+ppED6IremMInLV4HXGbfbG6GyziY3kqAwJYOR0PNbkYDmLWQA3a95EhdSmamsvbkJN96ZNN+YD+fGjzSBA==", "requires": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -7470,9 +7715,9 @@ } }, "@types/react-dom": { - "version": "18.2.15", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.15.tgz", - "integrity": "sha512-HWMdW+7r7MR5+PZqJF6YFNSCtjz1T0dsvo/f1BV6HkV+6erD/nA7wd9NM00KVG83zf2nJ7uATPO9ttdIPvi3gg==", + "version": "18.2.17", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.17.tgz", + "integrity": "sha512-rvrT/M7Df5eykWFxn6MYt5Pem/Dbyc1N8Y0S9Mrkw2WFCRiqUgw9P7ul2NpwsXCSM1DVdENzdG9J5SreqfAIWg==", "dev": true, "requires": { "@types/react": "*" @@ -7484,9 +7729,9 @@ "integrity": "sha512-XISRgDJ2Tc5q4TRqvgJtzsRkFYNJzZrhTdtMoGVBttwzzQJkPnS3WWTFc7kuDRoPtPakl+T+OfdEUjYJj7Jbow==" }, "@types/scheduler": { - "version": "0.16.6", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.6.tgz", - "integrity": "sha512-Vlktnchmkylvc9SnwwwozTv04L/e1NykF5vgoQ0XTmI8DD+wxfjQuHuvHS3p0r2jz2x2ghPs2h1FVeDirIteWA==" + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.8.tgz", + "integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==" }, "@types/unist": { "version": "3.0.2", @@ -7494,50 +7739,50 @@ "integrity": "sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==" }, "@types/ws": { - "version": "8.5.9", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.9.tgz", - "integrity": "sha512-jbdrY0a8lxfdTp/+r7Z4CkycbOFN8WX+IOchLJr3juT/xzbJ8URyTVSJ/hvNdadTgM1mnedb47n+Y31GsFnQlg==", + "version": "8.5.10", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.10.tgz", + "integrity": "sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==", "requires": { "@types/node": "*" } }, "@typescript-eslint/parser": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.10.0.tgz", - "integrity": "sha512-+sZwIj+s+io9ozSxIWbNB5873OSdfeBEH/FR0re14WLI6BaKuSOnnwCJ2foUiu8uXf4dRp1UqHP0vrZ1zXGrog==", + "version": "6.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.13.1.tgz", + "integrity": "sha512-fs2XOhWCzRhqMmQf0eicLa/CWSaYss2feXsy7xBD/pLyWke/jCIVc2s1ikEAtSW7ina1HNhv7kONoEfVNEcdDQ==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "6.10.0", - "@typescript-eslint/types": "6.10.0", - "@typescript-eslint/typescript-estree": "6.10.0", - "@typescript-eslint/visitor-keys": "6.10.0", + "@typescript-eslint/scope-manager": "6.13.1", + "@typescript-eslint/types": "6.13.1", + "@typescript-eslint/typescript-estree": "6.13.1", + "@typescript-eslint/visitor-keys": "6.13.1", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.10.0.tgz", - "integrity": "sha512-TN/plV7dzqqC2iPNf1KrxozDgZs53Gfgg5ZHyw8erd6jd5Ta/JIEcdCheXFt9b1NYb93a1wmIIVW/2gLkombDg==", + "version": "6.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.13.1.tgz", + "integrity": "sha512-BW0kJ7ceiKi56GbT2KKzZzN+nDxzQK2DS6x0PiSMPjciPgd/JRQGMibyaN2cPt2cAvuoH0oNvn2fwonHI+4QUQ==", "dev": true, "requires": { - "@typescript-eslint/types": "6.10.0", - "@typescript-eslint/visitor-keys": "6.10.0" + "@typescript-eslint/types": "6.13.1", + "@typescript-eslint/visitor-keys": "6.13.1" } }, "@typescript-eslint/types": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.10.0.tgz", - "integrity": "sha512-36Fq1PWh9dusgo3vH7qmQAj5/AZqARky1Wi6WpINxB6SkQdY5vQoT2/7rW7uBIsPDcvvGCLi4r10p0OJ7ITAeg==", + "version": "6.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.13.1.tgz", + "integrity": "sha512-gjeEskSmiEKKFIbnhDXUyiqVma1gRCQNbVZ1C8q7Zjcxh3WZMbzWVfGE9rHfWd1msQtPS0BVD9Jz9jded44eKg==", "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.10.0.tgz", - "integrity": "sha512-ek0Eyuy6P15LJVeghbWhSrBCj/vJpPXXR+EpaRZqou7achUWL8IdYnMSC5WHAeTWswYQuP2hAZgij/bC9fanBg==", + "version": "6.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.13.1.tgz", + "integrity": "sha512-sBLQsvOC0Q7LGcUHO5qpG1HxRgePbT6wwqOiGLpR8uOJvPJbfs0mW3jPA3ujsDvfiVwVlWUDESNXv44KtINkUQ==", "dev": true, "requires": { - "@typescript-eslint/types": "6.10.0", - "@typescript-eslint/visitor-keys": "6.10.0", + "@typescript-eslint/types": "6.13.1", + "@typescript-eslint/visitor-keys": "6.13.1", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -7546,12 +7791,12 @@ } }, "@typescript-eslint/visitor-keys": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.10.0.tgz", - "integrity": "sha512-xMGluxQIEtOM7bqFCo+rCMh5fqI+ZxV5RUUOa29iVPz1OgCZrtc7rFnz5cLUazlkPKYqX+75iuDq7m0HQ48nCg==", + "version": "6.13.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.13.1.tgz", + "integrity": "sha512-NDhQUy2tg6XGNBGDRm1XybOHSia8mcXmlbKWoQP+nm1BIIMxa55shyJfZkHpEBN62KNPLrocSM2PdPcaLgDKMQ==", "dev": true, "requires": { - "@typescript-eslint/types": "6.10.0", + "@typescript-eslint/types": "6.13.1", "eslint-visitor-keys": "^3.4.1" } }, @@ -7561,17 +7806,17 @@ "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==" }, "@waku/core": { - "version": "0.0.25", - "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.25.tgz", - "integrity": "sha512-YG6cRo82CaU92bf85hrN1s5FAtHlojaJ6I3pzOzRl7HAhhGVhQvfNgc1XHU1RiVkbw17ug8AapFPSy+A36gjvQ==", + "version": "0.0.26-7eb3375.0", + "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.26-7eb3375.0.tgz", + "integrity": "sha512-MGh22r+aM1uAMXS0UF6z/iTuIwYa/JPIde2PZiB3Vi8a1y44ttUCtdry82MJOe5HQ348tTJ4uColYt7ipNTBlw==", "requires": { "@noble/hashes": "^1.3.2", - "@waku/enr": "^0.0.19", - "@waku/interfaces": "0.0.20", - "@waku/proto": "0.0.5", - "@waku/utils": "0.0.13", + "@waku/enr": "0.0.20-7eb3375.0", + "@waku/interfaces": "0.0.21-7eb3375.0", + "@waku/proto": "0.0.6-7eb3375.0", + "@waku/utils": "0.0.14-7eb3375.0", "debug": "^4.3.4", - "it-all": "^3.0.3", + "it-all": "^3.0.4", "it-length-prefixed": "^9.0.1", "it-pipe": "^3.0.1", "p-event": "^6.0.0", @@ -7580,12 +7825,12 @@ } }, "@waku/dns-discovery": { - "version": "0.0.19", - "resolved": "https://registry.npmjs.org/@waku/dns-discovery/-/dns-discovery-0.0.19.tgz", - "integrity": "sha512-K701xc+snE2NrvhORB7Wiyg4WXSGCjzE5LLCTeIaSzlB7eA1HbdU3wC57uiLdChqo495JPqMN/52TQ/m9nAwpQ==", + "version": "0.0.20-7eb3375.0", + "resolved": "https://registry.npmjs.org/@waku/dns-discovery/-/dns-discovery-0.0.20-7eb3375.0.tgz", + "integrity": "sha512-wLa0JIynI3jUpVTa6YaX/TsWqT8vsTA3Hvqodd7SlfV0tSRwrrF7eDOmYNdZnUulxzmsv7rMnWIaI2L8k07mYw==", "requires": { - "@waku/enr": "0.0.19", - "@waku/utils": "0.0.13", + "@waku/enr": "0.0.20-7eb3375.0", + "@waku/utils": "0.0.14-7eb3375.0", "debug": "^4.3.4", "dns-query": "^0.11.2", "hi-base32": "^0.5.1", @@ -7593,126 +7838,104 @@ } }, "@waku/enr": { - "version": "0.0.19", - "resolved": "https://registry.npmjs.org/@waku/enr/-/enr-0.0.19.tgz", - "integrity": "sha512-SomeHKk9kZwYoCNLqSB7SQ9ngnAIdKfQ0JACsc20azdhTxLYAQ6gWrrDFAmXnYwRKNAJfl8A28XThtWnGIiUpA==", + "version": "0.0.20-7eb3375.0", + "resolved": "https://registry.npmjs.org/@waku/enr/-/enr-0.0.20-7eb3375.0.tgz", + "integrity": "sha512-BDbZp68l0yE8He5ES2VOBjcXCrSqBfZZdN/UsSn+LjTOMVHLfECby6jS/j473UqhN/i+KBy8V+NeRzTSx2moMw==", "requires": { "@ethersproject/rlp": "^5.7.0", - "@libp2p/crypto": "^1.0.17", + "@libp2p/crypto": "^2.0.8", "@libp2p/peer-id": "^3.0.3", "@multiformats/multiaddr": "^12.0.0", "@noble/secp256k1": "^1.7.1", - "@waku/utils": "0.0.13", + "@waku/utils": "0.0.14-7eb3375.0", "debug": "^4.3.4", "js-sha3": "^0.9.2" - }, - "dependencies": { - "@libp2p/crypto": { - "version": "1.0.17", - "resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-1.0.17.tgz", - "integrity": "sha512-Oeg0Eb/EvAho0gVkOgemXEgrVxWaT3x/DpFgkBdZ9qGxwq75w/E/oPc7souqBz+l1swfz37GWnwV7bIb4Xv5Ag==", - "requires": { - "@libp2p/interface-keys": "^1.0.2", - "@libp2p/interfaces": "^3.2.0", - "@noble/ed25519": "^1.6.0", - "@noble/secp256k1": "^1.5.4", - "multiformats": "^11.0.0", - "node-forge": "^1.1.0", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3", - "uint8arrays": "^4.0.2" - } - }, - "multiformats": { - "version": "11.0.2", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", - "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==" - } } }, "@waku/interfaces": { - "version": "0.0.20", - "resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.20.tgz", - "integrity": "sha512-6g2SRCKiAqtxElozXzPNHg68u/lxWSGL1LSXqwA0AAs+WYvK2vYfBM9ceUlbhDEk4ReCUAceUgZgdtdgKGflgA==" + "version": "0.0.21-7eb3375.0", + "resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.21-7eb3375.0.tgz", + "integrity": "sha512-LLv9xDOhCT61O2iCYtL8TksA8LGmaca2tQugJmBDdSSXYgd1JEsOe2qUPxbrW1lvofSuXIa9do9IHGcnVHKOvQ==" }, "@waku/message-encryption": { - "version": "0.0.23", - "resolved": "https://registry.npmjs.org/@waku/message-encryption/-/message-encryption-0.0.23.tgz", - "integrity": "sha512-i/qMAjO8EVCMlA1BbuGT+uHxzdydYQVXM9mThgH+kTTPTW5gVAMdzFaGmbiHWT6kn3yAsWq5CBB7M3+1zqb8vQ==", + "version": "0.0.24-7eb3375.0", + "resolved": "https://registry.npmjs.org/@waku/message-encryption/-/message-encryption-0.0.24-7eb3375.0.tgz", + "integrity": "sha512-yGbS7e7wC159e7dmdskd6B/Bro4IKymhaGWER4oZUEUJNWx5/Yc4jszeaN6gHXGBkMuHldK8Sj3H7KZ7EB2aZA==", "requires": { "@noble/secp256k1": "^1.7.1", - "@waku/core": "0.0.25", - "@waku/interfaces": "0.0.20", - "@waku/proto": "0.0.5", - "@waku/utils": "0.0.13", + "@waku/core": "0.0.26-7eb3375.0", + "@waku/interfaces": "0.0.21-7eb3375.0", + "@waku/proto": "0.0.6-7eb3375.0", + "@waku/utils": "0.0.14-7eb3375.0", "debug": "^4.3.4", "js-sha3": "^0.9.2" } }, "@waku/peer-exchange": { - "version": "0.0.18", - "resolved": "https://registry.npmjs.org/@waku/peer-exchange/-/peer-exchange-0.0.18.tgz", - "integrity": "sha512-oRXuASG62SxiVUYdJL7JJAHsa0yORuHHNg1oxL4apVgbnxDXY6SPcvGR1tgpBzMweryPzzx1IqMOZ9tusFCwyA==", + "version": "0.0.19-7eb3375.0", + "resolved": "https://registry.npmjs.org/@waku/peer-exchange/-/peer-exchange-0.0.19-7eb3375.0.tgz", + "integrity": "sha512-mHLd80ex8fE1p5M1VvlQpxkv39f3RKH6rAnbxNqWGxFuRHnAntNmLYjjzVx5w5itE9mjGjTcFmJxoEPTQMIOmA==", "requires": { "@libp2p/interfaces": "^3.3.2", - "@waku/core": "0.0.25", - "@waku/enr": "0.0.19", - "@waku/interfaces": "0.0.20", - "@waku/proto": "0.0.5", - "@waku/utils": "0.0.13", + "@waku/core": "0.0.26-7eb3375.0", + "@waku/enr": "0.0.20-7eb3375.0", + "@waku/interfaces": "0.0.21-7eb3375.0", + "@waku/proto": "0.0.6-7eb3375.0", + "@waku/utils": "0.0.14-7eb3375.0", "debug": "^4.3.4", - "it-all": "^3.0.3", + "it-all": "^3.0.4", "it-length-prefixed": "^9.0.1", "it-pipe": "^3.0.1" } }, "@waku/proto": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/@waku/proto/-/proto-0.0.5.tgz", - "integrity": "sha512-td0WKhUm+pcnpkbhuu5XV79ZcuM+f7b5swNIHHcqCaW5FaJeCtEhXsG8kNrt97kcDAHdr41lxFgQTRDlmAns4A==", + "version": "0.0.6-7eb3375.0", + "resolved": "https://registry.npmjs.org/@waku/proto/-/proto-0.0.6-7eb3375.0.tgz", + "integrity": "sha512-zwTd5tJaAHHoLZ/USWsize2PMal3DtzOgPmEzzfxcXJjYeMTxdKMilO0bKOMqdHBfUQgdo7dqyyH6hWFHzLTrQ==", "requires": { - "protons-runtime": "^5.0.0" + "protons-runtime": "^5.0.2" } }, "@waku/relay": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/@waku/relay/-/relay-0.0.8.tgz", - "integrity": "sha512-H1DXlB7o6qo3dc+qtVFY8g8/jXlyYhSXEIiNU/4eHjCDt0fzl58JdT170QJMDuTQB8LswVzTMRUxFZM5/LTwXw==", + "version": "0.0.9-7eb3375.0", + "resolved": "https://registry.npmjs.org/@waku/relay/-/relay-0.0.9-7eb3375.0.tgz", + "integrity": "sha512-44wz8kFVaO8ncuZD0qmnd+GsRGrx2G9OvThOh8vUhxOuP9snFWTZWdUSviUgWY1eOjTzZ4Nh+Db99Wx/cdX9cQ==", "requires": { "@chainsafe/libp2p-gossipsub": "^10.1.0", "@noble/hashes": "^1.3.2", - "@waku/core": "0.0.25", - "@waku/interfaces": "0.0.20", - "@waku/proto": "0.0.5", - "@waku/utils": "0.0.13", - "chai": "^4.3.7", + "@waku/core": "0.0.26-7eb3375.0", + "@waku/interfaces": "0.0.21-7eb3375.0", + "@waku/proto": "0.0.6-7eb3375.0", + "@waku/utils": "0.0.14-7eb3375.0", + "chai": "^4.3.10", "debug": "^4.3.4", "fast-check": "^3.13.1" } }, "@waku/sdk": { - "version": "0.0.21", - "resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.21.tgz", - "integrity": "sha512-LKG4lGJryco9hHa5fS4GaZ1sDze6MoEeZWyRAmt4uN0UtarKWfzDzIUiifTH3x1vgpcV0mioQPCgeVy3z+acYg==", + "version": "0.0.22-7eb3375.0", + "resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.22-7eb3375.0.tgz", + "integrity": "sha512-wtFfnlD/dsxGqgjs3sd3Kyv+jLAriDCN/PMiRHC3HiWsPZNF+zIsmInaoKilbhIS8dpm+YCC7dk+EnguqD8lyw==", "requires": { - "@chainsafe/libp2p-noise": "^13.0.0", - "@libp2p/mplex": "^9.0.5", + "@chainsafe/libp2p-noise": "^13.0.4", + "@libp2p/mplex": "^9.0.10", "@libp2p/websockets": "^7.0.5", - "@waku/core": "0.0.25", - "@waku/dns-discovery": "0.0.19", - "@waku/interfaces": "0.0.20", - "@waku/peer-exchange": "^0.0.18", - "@waku/relay": "0.0.8", - "@waku/utils": "0.0.13", + "@waku/core": "0.0.26-7eb3375.0", + "@waku/dns-discovery": "0.0.20-7eb3375.0", + "@waku/interfaces": "0.0.21-7eb3375.0", + "@waku/peer-exchange": "0.0.19-7eb3375.0", + "@waku/relay": "0.0.9-7eb3375.0", + "@waku/utils": "0.0.14-7eb3375.0", "libp2p": "^0.46.14" } }, "@waku/utils": { - "version": "0.0.13", - "resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.13.tgz", - "integrity": "sha512-sGZRJyYr7+QZpV2tlGJF48gKmwNdFha6rPKPgXiKDsz2YMhPlg70ffbGcND3bEfOwWmX4g/x5i3Oqwwl+HzwJw==", + "version": "0.0.14-7eb3375.0", + "resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.14-7eb3375.0.tgz", + "integrity": "sha512-+atx1BFALDtIJvZXMROTninB57DLVqIG1jMq5QVBPed0hLf/HFpIH9xlJ99bFeSXM6pj+yJA6HB23wgrviSi2w==", "requires": { - "chai": "^4.3.8", + "@noble/hashes": "^1.3.2", + "chai": "^4.3.10", "debug": "^4.3.4", "uint8arrays": "^4.0.4" } @@ -8017,9 +8240,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001561", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001561.tgz", - "integrity": "sha512-NTt0DNoKe958Q0BE0j0c1V9jbUzhBxHIEJy7asmGrpE0yG63KTV7PLHPnK2E1O9RsQrQ081I3NLuXGS6zht3cw==" + "version": "1.0.30001565", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001565.tgz", + "integrity": "sha512-xrE//a3O7TP0vaJ8ikzkD2c2NgcVUvsEe2IvFTntV4Yd1Z9FVzh+gW+enX96L0psrbaFMcVcH2l90xNuGDWc8w==" }, "chai": { "version": "4.3.10", @@ -8111,9 +8334,9 @@ "dev": true }, "datastore-core": { - "version": "9.2.3", - "resolved": "https://registry.npmjs.org/datastore-core/-/datastore-core-9.2.3.tgz", - "integrity": "sha512-jcvrVDt+jp7lUp2WhMXXgX/hoi3VcJebN+z/ZXbIRKOVfNOF4bl8cvr7sQ1y9qITikgC2coXFYd79Wzt/n13ZQ==", + "version": "9.2.4", + "resolved": "https://registry.npmjs.org/datastore-core/-/datastore-core-9.2.4.tgz", + "integrity": "sha512-j/i/+PGHzAMEZRmW+7RCiHYkPnAGCj+JT7lPg9c9fYOkGTqedce64pd84AfuIeZRewZw2YxQSVFvlUD4O2we8Q==", "requires": { "@libp2p/logger": "^3.0.0", "err-code": "^3.0.1", @@ -8253,9 +8476,9 @@ } }, "electron-to-chromium": { - "version": "1.4.581", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.581.tgz", - "integrity": "sha512-6uhqWBIapTJUxgPTCHH9sqdbxIMPt7oXl0VcAL1kOtlU6aECdcMncCrX5Z7sHQ/invtrC9jUQUef7+HhO8vVFw==", + "version": "1.4.597", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.597.tgz", + "integrity": "sha512-0XOQNqHhg2YgRVRUrS4M4vWjFCFIP2ETXcXe/0KIQBjXE9Cpy+tgzzYfuq6HGai3hWq0YywtG+5XK8fyG08EjA==", "dev": true }, "emoji-regex": { @@ -8392,15 +8615,15 @@ "dev": true }, "eslint": { - "version": "8.53.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.53.0.tgz", - "integrity": "sha512-N4VuiPjXDUa4xVeV/GC/RV3hQW9Nw+Y463lkWaKKXKYMvmRiRDAtfpuPFLN+E1/6ZhyR8J2ig+eVREnYgUsiag==", + "version": "8.54.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.54.0.tgz", + "integrity": "sha512-NY0DfAkM8BIZDVl6PgSa1ttZbx3xHgJzSNJKYcQglem6CppHyMhRIQkBVSSMaSRnLhig3jsDbEzOjwCVt4AmmA==", "dev": true, "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.3", - "@eslint/js": "8.53.0", + "@eslint/js": "8.54.0", "@humanwhocodes/config-array": "^0.11.13", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -8702,32 +8925,6 @@ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", "dev": true }, - "ethereum-cryptography": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-2.1.2.tgz", - "integrity": "sha512-Z5Ba0T0ImZ8fqXrJbpHcbpAvIswRte2wGNR/KePnu8GbbvgJ47lMxT/ZZPG6i9Jaht4azPDop4HaM00J0J59ug==", - "requires": { - "@noble/curves": "1.1.0", - "@noble/hashes": "1.3.1", - "@scure/bip32": "1.3.1", - "@scure/bip39": "1.2.1" - }, - "dependencies": { - "@noble/curves": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.1.0.tgz", - "integrity": "sha512-091oBExgENk/kGj3AZmtBDMpxQPDtxQABR2B9lb1JbVTs6ytdzZNwvhxQ4MWasRNEzlbEH8jCWFCwhF/Obj5AA==", - "requires": { - "@noble/hashes": "1.3.1" - } - }, - "@noble/hashes": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.1.tgz", - "integrity": "sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA==" - } - } - }, "event-iterator": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/event-iterator/-/event-iterator-2.0.0.tgz", @@ -8760,9 +8957,9 @@ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" }, "fast-check": { - "version": "3.13.2", - "resolved": "https://registry.npmjs.org/fast-check/-/fast-check-3.13.2.tgz", - "integrity": "sha512-ouTiFyeMoqmNg253xqy4NSacr5sHxH6pZpLOaHgaAdgZxFWdtsfxExwolpveoAE9CJdV+WYjqErNGef6SqA5Mg==", + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/fast-check/-/fast-check-3.14.0.tgz", + "integrity": "sha512-9Z0zqASzDNjXBox/ileV/fd+4P+V/f3o4shM6QawvcdLFh8yjPG4h5BrHUZ8yzY6amKGDTAmRMyb/JZqe+dCgw==", "requires": { "pure-rand": "^6.0.0" } @@ -9130,9 +9327,9 @@ "integrity": "sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==" }, "ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", + "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==", "dev": true }, "import-fresh": { @@ -9173,26 +9370,19 @@ "integrity": "sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q==" }, "interface-datastore": { - "version": "8.2.5", - "resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-8.2.5.tgz", - "integrity": "sha512-kvLGJMz3RPoJF/g5DbEvfWWempIiSBLVMf63b0PBsziVcSkj0ofzHYI86v8vqpGedkQ81DtPCUKyvX9W7zWvrQ==", + "version": "8.2.7", + "resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-8.2.7.tgz", + "integrity": "sha512-ot5B5+VogufRfjhedAXZHm5NuEKyYZkDyVpTjBYIrxYUpS5GIfF2soE/dsd/FiBVqubcxa4IEToMXL5ruMwhjw==", "requires": { "interface-store": "^5.0.0", - "nanoid": "^4.0.0", + "nanoid": "^5.0.3", "uint8arrays": "^4.0.2" - }, - "dependencies": { - "nanoid": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.2.tgz", - "integrity": "sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw==" - } } }, "interface-store": { - "version": "5.1.4", - "resolved": "https://registry.npmjs.org/interface-store/-/interface-store-5.1.4.tgz", - "integrity": "sha512-SI2co5IAxAybBc9egRM2bXvHOa1RPh5SQQkO6di6t/aX92RbtzP4t8raB0l3GTzQmJADaBbzz8Tfa1QLgfMdGQ==" + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/interface-store/-/interface-store-5.1.5.tgz", + "integrity": "sha512-X0KnJBk3o+YL13MxZBMwa88/b3Mdrpm0yPzkSTKDDVn9BSPH7UK6W+ZtIPO2bxKOQVmq7zqOwAnYnpfqWjb6/g==" }, "internal-slot": { "version": "1.0.6", @@ -9463,46 +9653,47 @@ "integrity": "sha512-9JPDgCN4B7QPkLtYAAOrEuAWvP9rWvR5offAr0/SeF046wIkglqH3VXgYYP6NcsKslH80UIVgmPqNe3j7tG2ng==" }, "it-all": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/it-all/-/it-all-3.0.3.tgz", - "integrity": "sha512-LwEVD1d0b1O5mDwumnZk+80jSBn5sXDxQ41xiD6j6l2lRiWH6lBLdxXx1C6mlKrXQwRHzUQagOZUmqttDUwb0A==" + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/it-all/-/it-all-3.0.4.tgz", + "integrity": "sha512-UMiy0i9DqCHBdWvMbzdYvVGa5/w4t1cc4nchpbnjdLhklglv8mQeEYnii0gvKESJuL1zV32Cqdb33R6/GPfxpQ==" }, "it-batched-bytes": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/it-batched-bytes/-/it-batched-bytes-2.0.4.tgz", - "integrity": "sha512-n4V19XACvFG+b8lCkuvidYvwpyz3++DAolqZGI+9AcDvIPMAhVwwtFCe9SiDIz45OzQnnNYwBgBxbIinHPgraA==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/it-batched-bytes/-/it-batched-bytes-2.0.5.tgz", + "integrity": "sha512-2VgeZ+7KPef0SD2ZgkZfWFe+sgZKdxkzNZXbsYG44nGe4NzWSZLJ6lUjkKHW/S5pSKyW88uacosz6B6K++1LDA==", "requires": { "p-defer": "^4.0.0", "uint8arraylist": "^2.4.1" } }, "it-byte-stream": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/it-byte-stream/-/it-byte-stream-1.0.1.tgz", - "integrity": "sha512-Nu1/y8ObmrEmpHfWBHrWKtla9xwTdnMceB7v1z7tM+H84VP5Ou59wyFiJHsyvuIETLfKFY+TfhEbOJy24FRGjQ==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/it-byte-stream/-/it-byte-stream-1.0.5.tgz", + "integrity": "sha512-wGHbXPE0ZiU0poJTgCNOW06+mh9yyCwdF8bVv0zxchgql6CMQd/2NEXXtmwWE+N65st8bi/KWUWcMU2pJU2fEw==", "requires": { - "it-pushable": "^3.2.0", "it-stream-types": "^2.0.1", + "p-defer": "^4.0.0", + "race-signal": "^1.0.1", "uint8arraylist": "^2.4.1" } }, "it-drain": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/it-drain/-/it-drain-3.0.4.tgz", - "integrity": "sha512-BqG0O7gxDvw1luVvFUVtbnmxBIqvx5wQFdId/B7aMZB3tPFvLvZ1/mcqN64iOMU9N9VEBgklIZnNY/EWvzSOTQ==" + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/it-drain/-/it-drain-3.0.5.tgz", + "integrity": "sha512-qYFe4SWdvs9oJGUY5bSjvmiLUMLzFEODNOQUdYdCIkuIgQF+AUB2INhM4yQ09buJ2rhHKDFxvTD/+yUq6qg0XA==" }, "it-filter": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/it-filter/-/it-filter-3.0.3.tgz", - "integrity": "sha512-2zXUrJuuV6QHM21ahc8NqVUUxkLMVDWXBoUBcj9GCQLQez2OXmddTHN0r0F5B+TkNTpeL618yIgXi1HNPJOxow==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/it-filter/-/it-filter-3.0.4.tgz", + "integrity": "sha512-e0sz+st4sudK/zH6GZ/gRTRP8A/ADuJFCYDmRgMbZvR79y5+v4ZXav850bBZk5wL9zXaYZFxS1v/6Qi+Vjwh5g==", "requires": { "it-peekable": "^3.0.0" } }, "it-first": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/it-first/-/it-first-3.0.3.tgz", - "integrity": "sha512-RC8tplctsDpoBUljwsp1viiyaR5fPvMe+FgbbcU0sFjKkJa7iwbB4CCPhHtVYSdjsrREfr0QEotfQrBoGyt7Dw==" + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/it-first/-/it-first-3.0.4.tgz", + "integrity": "sha512-FtQl84iTNxN5EItP/JgL28V2rzNMkCzTUlNoj41eVdfix2z1DBuLnBqZ0hzYhGGa1rMpbQf0M7CQSA2adlrLJg==" }, "it-handshake": { "version": "4.1.3", @@ -9530,9 +9721,9 @@ } }, "it-length-prefixed-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/it-length-prefixed-stream/-/it-length-prefixed-stream-1.1.0.tgz", - "integrity": "sha512-TdpxiL8SQ6QMyfyfXW7clHfeicjraYRaG5C9VIo84zU8n2SeiS6ySKz6/uFC0hhAidzMRExVUkXNz489u4GeLA==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/it-length-prefixed-stream/-/it-length-prefixed-stream-1.1.4.tgz", + "integrity": "sha512-6YcQ5jsaYnuXBqF+oSGjSdSY9jF7HWl7yh+dxYytXxbE2GcdiOpn6pLM7m6AlIID9MCzQqMY5nOzaiatQ8A3/A==", "requires": { "it-byte-stream": "^1.0.0", "it-length-prefixed": "^9.0.1", @@ -9542,17 +9733,17 @@ } }, "it-map": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/it-map/-/it-map-3.0.4.tgz", - "integrity": "sha512-h5zCxovJQ+mzJT75xP4GkJuFrJQ5l7IIdhZ6AOWaE02g5F7T1k1j4CB/uKSRR05LLLOi1LqG+7CrH9bi8GIXYA==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/it-map/-/it-map-3.0.5.tgz", + "integrity": "sha512-hB0TDXo/h4KSJJDSRLgAPmDroiXP6Fx1ck4Bzl3US9hHfZweTKsuiP0y4gXuTMcJlS6vj0bb+f70rhkD47ZA3w==", "requires": { "it-peekable": "^3.0.0" } }, "it-merge": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.2.tgz", - "integrity": "sha512-bMk2km8lTz+Rwv30hzDUdGIcqQkOemFJqmGT2wqQZ6/zHKCsYqdRunPrteCqHLV/nIVhUK8nZZkDA2eJ4MJZiA==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/it-merge/-/it-merge-3.0.3.tgz", + "integrity": "sha512-FYVU15KC5pb/GQX1Ims+lee8d4pdqGVCpWr0lkNj8o4xuNo7jY71k6GuEiWdP+T7W1bJqewSxX5yoTy5yZpRVA==", "requires": { "it-pushable": "^3.2.0" } @@ -9567,17 +9758,17 @@ } }, "it-parallel": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/it-parallel/-/it-parallel-3.0.5.tgz", - "integrity": "sha512-F3DBY5UQ3uS+s5n34w6e1Dc4qwys8l+00phyzUawud30wp6PUD1ZGCFNeeajNtpuUQaakpbFaMCYVhD9I3/9nw==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/it-parallel/-/it-parallel-3.0.6.tgz", + "integrity": "sha512-i7UM7I9LTkDJw3YIqXHFAPZX6CWYzGc+X3irdNrVExI4vPazrJdI7t5OqrSVN8CONXLAunCiqaSV/zZRbQR56A==", "requires": { "p-defer": "^4.0.0" } }, "it-peekable": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/it-peekable/-/it-peekable-3.0.2.tgz", - "integrity": "sha512-nWwUdhNQ1CfAuoJmsaUotNMYUrfNIlY9gBA1jwWfWSu1I0mLY2brwreKHGOUptXLJUiG5pR04He0xYZMWBRiGA==" + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/it-peekable/-/it-peekable-3.0.3.tgz", + "integrity": "sha512-Wx21JX/rMzTEl9flx3DGHuPV1KQFGOl8uoKfQtmZHgPQtGb89eQ6RyVd82h3HuP9Ghpt0WgBDlmmdWeHXqyx7w==" }, "it-pipe": { "version": "3.0.1", @@ -9590,9 +9781,9 @@ } }, "it-protobuf-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/it-protobuf-stream/-/it-protobuf-stream-1.1.0.tgz", - "integrity": "sha512-ThfHsMCf8B+mv4yTd22JkbKtVoxeZPQB9mtwtpWbrOhhPNZ5FQzICViQLHPtvqtkGyMJDN7VXuO37r9nG6rFyA==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/it-protobuf-stream/-/it-protobuf-stream-1.1.1.tgz", + "integrity": "sha512-H7fiC+m85AAz84I8SQOKHKZTDREFrsYfKxEhWTlhAdySoUyiC72Xe2ocqBFy3zUWCGYq6rCTMGnCbTKntSlcog==", "requires": { "it-length-prefixed-stream": "^1.0.0", "it-stream-types": "^2.0.1", @@ -9601,9 +9792,9 @@ } }, "it-pushable": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/it-pushable/-/it-pushable-3.2.2.tgz", - "integrity": "sha512-eGY2lKZxa4hNNRPNuL4r7Eluk//j6jL4zEmQUzAHYKG912sY/RzzEpfJedZcnEdf6zB7b8NdHOf0chCm2sL/xw==", + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/it-pushable/-/it-pushable-3.2.3.tgz", + "integrity": "sha512-gzYnXYK8Y5t5b/BnJUr7glfQLO4U5vyb05gPx/TyTw+4Bv1zM9gFk4YsOrnulWefMewlphCjKkakFvj1y99Tcg==", "requires": { "p-defer": "^4.0.0" } @@ -9618,9 +9809,9 @@ } }, "it-sort": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/it-sort/-/it-sort-3.0.3.tgz", - "integrity": "sha512-9BuQc5Y2fmBUNhevQBUDHfItrQmzWoZcnzydJl91V6na6M+RkbNj71UtCPPNIpOt/SQG+va0pe1wMQJ9lP2Oew==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/it-sort/-/it-sort-3.0.4.tgz", + "integrity": "sha512-tvnC93JZZWjX4UxALy0asow0dzXabkoaRbrPJKClTKhNCqw4gzHr+H5axf1gohcthedRRkqd/ae+wl7WqoxFhw==", "requires": { "it-all": "^3.0.0" } @@ -9631,9 +9822,9 @@ "integrity": "sha512-6DmOs5r7ERDbvS4q8yLKENcj6Yecr7QQTqWApbZdfAUTEC947d+PEha7PCqhm//9oxaLYL7TWRekwhoXl2s6fg==" }, "it-take": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/it-take/-/it-take-3.0.3.tgz", - "integrity": "sha512-Ay5SXEyrBKD0tO8PQif2QjrStImIsLIg0F50Uu4EeXOw8C9DfVIGfsGL3X9s65F2I9skDp9mLgBzl71IToMxNw==" + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/it-take/-/it-take-3.0.4.tgz", + "integrity": "sha512-RG8HDjAZlvkzz5Nav4xq6gK5zNT+Ff1UTIf+CrSJW8nIl6N1FpBH5e7clUshiCn+MmmMoSdIEpw4UaTolszxhA==" }, "it-ws": { "version": "6.0.5", @@ -10186,9 +10377,9 @@ "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==" }, "nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==" + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.3.tgz", + "integrity": "sha512-I7X2b22cxA4LIHXPSqbBCEQSL+1wv8TuoefejsX4HFWyC6jc5JG7CEaxOltiKjc1M+YCS2YkrZZcj4+dytw9GA==" }, "natural-compare": { "version": "1.4.0", @@ -10506,6 +10697,13 @@ "nanoid": "^3.3.6", "picocolors": "^1.0.0", "source-map-js": "^1.0.2" + }, + "dependencies": { + "nanoid": { + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==" + } } }, "postcss-value-parser": { @@ -10593,9 +10791,9 @@ "dev": true }, "race-signal": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/race-signal/-/race-signal-1.0.1.tgz", - "integrity": "sha512-a5un4dInIWoB7+76DieVE+Xv+wmyochKJ3P2GVs9dUKIzGuPyFR5iU3gEWJvztde/15fSOGkslbIsPxi+Loosw==" + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/race-signal/-/race-signal-1.0.2.tgz", + "integrity": "sha512-o3xNv0iTcIDQCXFlF6fPAMEBRjFxssgGoRqLbg06m+AdzEXXLUmoNOoUHTVz2NoBI8hHwKFKoC6IqyNtWr2bww==" }, "rate-limiter-flexible": { "version": "3.0.4", @@ -11120,9 +11318,9 @@ } }, "typescript": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", - "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.2.tgz", + "integrity": "sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ==", "dev": true }, "uint8-varint": { @@ -11135,17 +11333,17 @@ } }, "uint8arraylist": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.4.3.tgz", - "integrity": "sha512-oEVZr4/GrH87K0kjNce6z8pSCzLEPqHNLNR5sj8cJOySrTP8Vb/pMIbZKLJGhQKxm1TiZ31atNrpn820Pyqpow==", + "version": "2.4.7", + "resolved": "https://registry.npmjs.org/uint8arraylist/-/uint8arraylist-2.4.7.tgz", + "integrity": "sha512-ohRElqR6C5dd60vRFLq40MCiSnUe1AzkpHvbCEMCGGP6zMoFYECsjdhL6bR1kTK37ONNRDuHQ3RIpScRYcYYIg==", "requires": { "uint8arrays": "^4.0.2" } }, "uint8arrays": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.6.tgz", - "integrity": "sha512-4ZesjQhqOU2Ip6GPReIwN60wRxIupavL8T0Iy36BBHr2qyMrNxsPJvr7vpS4eFt8F8kSguWUPad6ZM9izs/vyw==", + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.9.tgz", + "integrity": "sha512-iHU8XJJnfeijILZWzV7RgILdPHqe0mjJvyzY4mO8aUUtHsDbPa2Gc8/02Kc4zeokp2W6Qq8z9Ap1xkQ1HfbKwg==", "requires": { "multiformats": "^12.0.1" } diff --git a/examples/flush-notes/package.json b/examples/flush-notes/package.json index 63029cd..8311d86 100644 --- a/examples/flush-notes/package.json +++ b/examples/flush-notes/package.json @@ -8,11 +8,10 @@ "lint": "next lint" }, "dependencies": { - "@waku/interfaces": "^0.0.20", - "@waku/message-encryption": "^0.0.23", - "@waku/sdk": "^0.0.21", - "@waku/utils": "^0.0.13", - "ethereum-cryptography": "^2.1.2", + "@waku/interfaces": "0.0.21-7eb3375.0", + "@waku/message-encryption": "0.0.24-7eb3375.0", + "@waku/sdk": "0.0.22-7eb3375.0", + "@waku/utils": "0.0.14-7eb3375.0", "next": "14.0.2", "react": "^18", "react-dom": "^18", diff --git a/examples/flush-notes/src/app/globals.css b/examples/flush-notes/src/app/globals.css index a8ac73d..eec3f69 100644 --- a/examples/flush-notes/src/app/globals.css +++ b/examples/flush-notes/src/app/globals.css @@ -21,10 +21,8 @@ align-items: center; } -.password-value { +.to-encrypt { font-size: 1rem; - height: 2rem; - width: 250px; padding: 5px; } diff --git a/examples/flush-notes/src/app/layout.tsx b/examples/flush-notes/src/app/layout.tsx index e48b6c4..fa25f8b 100644 --- a/examples/flush-notes/src/app/layout.tsx +++ b/examples/flush-notes/src/app/layout.tsx @@ -2,7 +2,7 @@ import React from "react"; import { Inter } from "next/font/google"; -import { WakuProvider } from "@/app/WakuProvider"; +import { WakuProvider } from "@/components/WakuProvider"; import "./globals.css"; const inter = Inter({ subsets: ["latin"] }); diff --git a/examples/flush-notes/src/app/page.tsx b/examples/flush-notes/src/app/page.tsx index 6f087b9..0d9a53f 100644 --- a/examples/flush-notes/src/app/page.tsx +++ b/examples/flush-notes/src/app/page.tsx @@ -7,7 +7,7 @@ import { notes } from "@/services/notes"; export default function Create() { const router = useRouter(); const { note, onNoteChange } = useEditNote(); - const { password, onPasswordChange } = usePassword(); + const { toEncrypt, onEncryptChange } = useEncryptedState(); const onSave = async () => { if (!note) { @@ -15,10 +15,12 @@ export default function Create() { } try { - const id = await notes.createNote(note, password); - router.push(`/view/${id}`); + const { id, password } = await notes.createNote(note, toEncrypt); + const passwordParam = password ? `?password=${password}` : ""; + + router.push(`/view/${id}${passwordParam}`); } catch (error) { - console.log("Failed to create a note:", error); + console.error("Failed to create a note:", error); } }; @@ -28,13 +30,17 @@ export default function Create() { Your record will be stored for couple of days. Markdown is supported.

- +
+ + +
@@ -61,15 +67,15 @@ const useEditNote = () => { }; }; -const usePassword = () => { - const [password, setPassword] = React.useState(); +const useEncryptedState = () => { + const [toEncrypt, setToEncrypt] = React.useState(); - const onPasswordChange = (event: React.FormEvent) => { - setPassword(event?.currentTarget?.value); + const onEncryptChange = (event: React.FormEvent) => { + setToEncrypt(event?.currentTarget?.value); }; return { - password, - onPasswordChange, + toEncrypt, + onEncryptChange, }; }; diff --git a/examples/flush-notes/src/app/view/page.tsx b/examples/flush-notes/src/app/view/page.tsx index f198559..454005e 100644 --- a/examples/flush-notes/src/app/view/page.tsx +++ b/examples/flush-notes/src/app/view/page.tsx @@ -5,7 +5,7 @@ import Markdown from "react-markdown"; import { useRouter } from "next/navigation"; import { useNoteURL } from "@/hooks/useNoteURL"; import { notes } from "@/services/notes"; -import { Loading } from "../Loading"; +import { Loading } from "@/components/Loading"; const View = () => { const router = useRouter(); diff --git a/examples/flush-notes/src/app/Loading.tsx b/examples/flush-notes/src/components/Loading.tsx similarity index 100% rename from examples/flush-notes/src/app/Loading.tsx rename to examples/flush-notes/src/components/Loading.tsx diff --git a/examples/flush-notes/src/app/WakuProvider.tsx b/examples/flush-notes/src/components/WakuProvider.tsx similarity index 96% rename from examples/flush-notes/src/app/WakuProvider.tsx rename to examples/flush-notes/src/components/WakuProvider.tsx index 1d62cdb..70595f8 100644 --- a/examples/flush-notes/src/app/WakuProvider.tsx +++ b/examples/flush-notes/src/components/WakuProvider.tsx @@ -3,7 +3,7 @@ import React from "react"; import { waku, Waku, WakuEvents } from "@/services/waku"; import { WakuStatus } from "@/const"; -import { Loading } from "./Loading"; +import { Loading } from "@/components/Loading"; type WakuContextProps = { status: WakuStatus; diff --git a/examples/flush-notes/src/hooks/useNoteURL.ts b/examples/flush-notes/src/hooks/useNoteURL.ts index b8e8989..13deab4 100644 --- a/examples/flush-notes/src/hooks/useNoteURL.ts +++ b/examples/flush-notes/src/hooks/useNoteURL.ts @@ -1,12 +1,13 @@ "use client"; -import { usePathname } from "next/navigation"; +import { usePathname, useSearchParams } from "next/navigation"; export const useNoteURL = (): undefined | string => { const pathname = usePathname(); - const urlParams = new URLSearchParams(window.location.search); + const params = useSearchParams(); + const segments = pathname.split("/"); const viewIndex = segments.indexOf("view"); - const password = urlParams.get("password"); + const password = params.get("password"); return { password, diff --git a/examples/flush-notes/src/services/notes.ts b/examples/flush-notes/src/services/notes.ts index b8a7846..aafcc4e 100644 --- a/examples/flush-notes/src/services/notes.ts +++ b/examples/flush-notes/src/services/notes.ts @@ -2,9 +2,10 @@ import { waku } from "@/services/waku"; import { CONTENT_TOPIC } from "@/const"; -import { encrypt, decrypt } from "ethereum-cryptography/aes"; -import { getRandomBytes } from "ethereum-cryptography/random"; -import { pbkdf2 } from "ethereum-cryptography/pbkdf2"; +import { + symmetric, + generateSymmetricKey, +} from "@waku/message-encryption/crypto"; import { createDecoder, createEncoder, @@ -21,14 +22,12 @@ import { bytesToHex, hexToBytes } from "@waku/utils/bytes"; type Note = { id: string; content: string; - kdf: - | undefined - | { - iv: string; - dklen: number; - c: number; - salt: string; - }; + iv: string; +}; + +type NoteResult = { + id: string; + password?: string; }; export class Notes { @@ -42,16 +41,23 @@ export class Notes { this.encoder = createEncoder({ contentTopic: CONTENT_TOPIC }); } - public async createNote(content: string, password?: string): Promise { - const note = password - ? await this.encryptNote(content, password) - : { id: generateRandomString(), content, kdf: undefined }; + public async createNote( + content: string, + toEncrypt?: boolean + ): Promise { + const symmetricKey = toEncrypt ? generateSymmetricKey() : undefined; + const note = toEncrypt + ? await this.encryptNote(content, symmetricKey) + : { id: generateRandomString(), content, iv: undefined }; await waku.send(this.encoder, { payload: utf8ToBytes(JSON.stringify(note)), }); - return note.id; + return { + id: note.id, + password: symmetricKey ? bytesToHex(symmetricKey) : undefined, + }; } public async readNote( @@ -74,7 +80,7 @@ export class Notes { } }); - if (!message?.kdf) { + if (!message?.iv) { return message?.content; } @@ -100,48 +106,36 @@ export class Notes { }); } - private async encryptNote(content: string, password: string): Promise { - const iv = await getRandomBytes(16); - const salt = await getRandomBytes(32); - const c = 131072; - const dklen = 16; - const kdf = await pbkdf2( - utf8ToBytes(password.normalize("NFKC")), - salt, - c, - dklen, - "sha256" + private async encryptNote( + content: string, + symmetricKey: Uint8Array + ): Promise { + const iv = symmetric.generateIv(); + const encryptedContent = await symmetric.encrypt( + iv, + symmetricKey, + utf8ToBytes(content) ); - const encryptedContent = await encrypt(utf8ToBytes(content), kdf, iv); return { id: generateRandomString(), content: bytesToHex(encryptedContent), - kdf: { - c, - dklen, - iv: bytesToHex(iv), - salt: bytesToHex(salt), - }, + iv: bytesToHex(iv), }; } private async decryptNote(note: Note, password: string): Promise { - if (!note?.kdf) { - throw Error("Failed to decrypt a note, no kdf params found."); + if (!note?.iv) { + throw Error("Failed to decrypt a note, no IV params found."); } - const iv = hexToBytes(note.kdf.iv); - const salt = hexToBytes(note.kdf.salt); - - const kdf = await pbkdf2( - utf8ToBytes(password.normalize("NFKC")), - salt, - note.kdf.c, - note.kdf.dklen, - "sha256" + const iv = hexToBytes(note.iv); + const symmetricKey = hexToBytes(password); + const decryptedContent = await symmetric.decrypt( + iv, + symmetricKey, + hexToBytes(note.content) ); - const decryptedContent = await decrypt(hexToBytes(note.content), kdf, iv); return bytesToUtf8(decryptedContent); }