From 5ff08636a06aae5982afe0514913254f29ccbda2 Mon Sep 17 00:00:00 2001 From: Sasha Date: Mon, 27 Feb 2023 23:47:57 +0100 Subject: [PATCH] add comment, remove alias --- examples/web-chat/package-lock.json | 451 ++++++++++++++-------------- examples/web-chat/src/command.ts | 12 +- examples/web-chat/src/hooks.ts | 2 + 3 files changed, 239 insertions(+), 226 deletions(-) diff --git a/examples/web-chat/package-lock.json b/examples/web-chat/package-lock.json index 65b55ad..da88b82 100644 --- a/examples/web-chat/package-lock.json +++ b/examples/web-chat/package-lock.json @@ -17,7 +17,7 @@ "@waku/dns-discovery": "0.0.5", "@waku/interfaces": "^0.0.7", "@waku/peer-exchange": "^0.0.3", - "@waku/react": "file:../../../waku-ui", + "@waku/react": "0.0.1-a", "process": "^0.11.10", "protons-runtime": "^3.1.0", "react": "^17.0.2", @@ -2307,56 +2307,56 @@ } }, "node_modules/@cspell/cspell-bundled-dicts": { - "version": "6.26.3", - "resolved": "https://registry.npmjs.org/@cspell/cspell-bundled-dicts/-/cspell-bundled-dicts-6.26.3.tgz", - "integrity": "sha512-ZOQI5XSJiLJi9GEbdjKJvMDbgzevsmoQzvAHZ2ujwzoWfhxCeEET0+6fs88/5QvHgXwl0CDsFspXZr1OFfZLHA==", + "version": "6.27.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-bundled-dicts/-/cspell-bundled-dicts-6.27.0.tgz", + "integrity": "sha512-udRkEUz0QIAecCUECVac8IBCu7f5siCrxUZmsoZINgqLlSh0ppmn4/CiiA+sefj99rOq/vB4VEEQCnMShfl5qw==", "dev": true, "dependencies": { "@cspell/dict-ada": "^4.0.1", "@cspell/dict-aws": "^3.0.0", "@cspell/dict-bash": "^4.1.1", - "@cspell/dict-companies": "^3.0.6", - "@cspell/dict-cpp": "^4.0.2", + "@cspell/dict-companies": "^3.0.8", + "@cspell/dict-cpp": "^4.0.3", "@cspell/dict-cryptocurrencies": "^3.0.1", "@cspell/dict-csharp": "^4.0.2", - "@cspell/dict-css": "^4.0.3", - "@cspell/dict-dart": "^2.0.1", - "@cspell/dict-django": "^4.0.1", - "@cspell/dict-docker": "^1.1.5", - "@cspell/dict-dotnet": "^4.0.1", - "@cspell/dict-elixir": "^4.0.1", - "@cspell/dict-en_us": "^4.2.2", + "@cspell/dict-css": "^4.0.5", + "@cspell/dict-dart": "^2.0.2", + "@cspell/dict-django": "^4.0.2", + "@cspell/dict-docker": "^1.1.6", + "@cspell/dict-dotnet": "^4.0.2", + "@cspell/dict-elixir": "^4.0.2", + "@cspell/dict-en_us": "^4.3.0", "@cspell/dict-en-common-misspellings": "^1.0.2", "@cspell/dict-en-gb": "1.1.33", "@cspell/dict-filetypes": "^3.0.0", - "@cspell/dict-fonts": "^3.0.0", - "@cspell/dict-fullstack": "^3.1.1", + "@cspell/dict-fonts": "^3.0.1", + "@cspell/dict-fullstack": "^3.1.4", "@cspell/dict-gaming-terms": "^1.0.4", "@cspell/dict-git": "^2.0.0", - "@cspell/dict-golang": "^5.0.1", + "@cspell/dict-golang": "^5.0.2", "@cspell/dict-haskell": "^4.0.1", - "@cspell/dict-html": "^4.0.2", + "@cspell/dict-html": "^4.0.3", "@cspell/dict-html-symbol-entities": "^4.0.0", - "@cspell/dict-java": "^5.0.4", - "@cspell/dict-k8s": "^1.0.0", + "@cspell/dict-java": "^5.0.5", + "@cspell/dict-k8s": "^1.0.1", "@cspell/dict-latex": "^3.1.0", "@cspell/dict-lorem-ipsum": "^3.0.0", - "@cspell/dict-lua": "^4.0.0", + "@cspell/dict-lua": "^4.0.1", "@cspell/dict-node": "^4.0.2", - "@cspell/dict-npm": "^5.0.3", + "@cspell/dict-npm": "^5.0.5", "@cspell/dict-php": "^3.0.4", - "@cspell/dict-powershell": "^4.0.0", + "@cspell/dict-powershell": "^4.0.2", "@cspell/dict-public-licenses": "^2.0.1", "@cspell/dict-python": "^4.0.1", "@cspell/dict-r": "^2.0.1", - "@cspell/dict-ruby": "^4.0.1", - "@cspell/dict-rust": "^4.0.0", - "@cspell/dict-scala": "^4.0.0", - "@cspell/dict-software-terms": "^3.1.3", - "@cspell/dict-sql": "^2.0.1", + "@cspell/dict-ruby": "^4.0.2", + "@cspell/dict-rust": "^4.0.1", + "@cspell/dict-scala": "^4.0.1", + "@cspell/dict-software-terms": "^3.1.5", + "@cspell/dict-sql": "^2.0.2", "@cspell/dict-svelte": "^1.0.2", "@cspell/dict-swift": "^2.0.1", - "@cspell/dict-typescript": "^3.1.0", + "@cspell/dict-typescript": "^3.1.1", "@cspell/dict-vue": "^3.0.0" }, "engines": { @@ -2364,27 +2364,27 @@ } }, "node_modules/@cspell/cspell-pipe": { - "version": "6.26.3", - "resolved": "https://registry.npmjs.org/@cspell/cspell-pipe/-/cspell-pipe-6.26.3.tgz", - "integrity": "sha512-e4LKHgXnYj8lO2qFaPaGUjgS2Vps464sc8lRt65MJ3iHR3/AzQO1mB+MDLCqItaLmcyA/llrEY1D8m9dGiBFxA==", + "version": "6.27.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-pipe/-/cspell-pipe-6.27.0.tgz", + "integrity": "sha512-lS3kIew5+ETExORdPcJkEA03ylrEL9CHaJ1xE7SSezU3mqoUgbVW5/f2+PCIWPu1mVvUpWef2X1ODddiPPp9NQ==", "dev": true, "engines": { "node": ">=14" } }, "node_modules/@cspell/cspell-service-bus": { - "version": "6.26.3", - "resolved": "https://registry.npmjs.org/@cspell/cspell-service-bus/-/cspell-service-bus-6.26.3.tgz", - "integrity": "sha512-dbhsB8d4dEd8adyA+/KpNYERyOt8y3VSvOdgusjweEKjezCNxIwLR3GFQHi4QWCevDzrqS+mt9hAvO5RlYP7Bg==", + "version": "6.27.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-service-bus/-/cspell-service-bus-6.27.0.tgz", + "integrity": "sha512-GC3WseMeBE1xtIftBgfTOQxgAMHmLF5HhjHo2rVIfCKv3uyQXuNsGYmtqY7dm4GDrBx1vIYjOoT2xtEaSLoUPw==", "dev": true, "engines": { "node": ">=14" } }, "node_modules/@cspell/cspell-types": { - "version": "6.26.3", - "resolved": "https://registry.npmjs.org/@cspell/cspell-types/-/cspell-types-6.26.3.tgz", - "integrity": "sha512-s5SjHbpCP/MBTCCwgADzmZvsxpygIiH/2JytVUBrk8TWr4U8/EE3gXPdJ8EUAW3Ndgls/OpGn9c31F6sFjsLjg==", + "version": "6.27.0", + "resolved": "https://registry.npmjs.org/@cspell/cspell-types/-/cspell-types-6.27.0.tgz", + "integrity": "sha512-eHKpAhIUYIjssqF20IrihzNAPDTWJsFpBzg7UznX03Z4Y77JrGAgdRZ6h69uaIafQb7uotNYWnDazpVSkMpikQ==", "dev": true, "engines": { "node": ">=14" @@ -2469,9 +2469,9 @@ "dev": true }, "node_modules/@cspell/dict-en_us": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/@cspell/dict-en_us/-/dict-en_us-4.2.3.tgz", - "integrity": "sha512-6P6Jh2c5hf5w/dnmCIAu4Pd1WbBGm6NvHF4tuAaCN2raNPpj7Xvym6tPY+AoBhBQykBOZJ5o7cf7ozA65+Jskg==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@cspell/dict-en_us/-/dict-en_us-4.3.0.tgz", + "integrity": "sha512-lQ4r8tBiylNjmYwrWz4xUgBtVC0CciKpddMUVosdusHonFE0KjlvkZK6PFtROBupmRLMBBMjxvtpbq8SdFBqCw==", "dev": true }, "node_modules/@cspell/dict-en-common-misspellings": { @@ -2667,9 +2667,9 @@ "dev": true }, "node_modules/@cspell/dynamic-import": { - "version": "6.26.3", - "resolved": "https://registry.npmjs.org/@cspell/dynamic-import/-/dynamic-import-6.26.3.tgz", - "integrity": "sha512-Ic5uNy49mDg/6Qtbuc51zq2sDd0lXiFVN2QKSueNjk5hA5Zh/ZLQhrB70q7qaQwQg7FTiRxvJjpRtNoVqbY/sg==", + "version": "6.27.0", + "resolved": "https://registry.npmjs.org/@cspell/dynamic-import/-/dynamic-import-6.27.0.tgz", + "integrity": "sha512-PrBAH0+6OERWeY57PUH+9WmxYtUBnBjTYmm+3Zpg3SUd/ToD0cNf83OJCrcDF7KNQYE9rjCPUfVdsOe3aJlIHw==", "dev": true, "dependencies": { "import-meta-resolve": "^2.2.1" @@ -2679,9 +2679,9 @@ } }, "node_modules/@cspell/strong-weak-map": { - "version": "6.26.3", - "resolved": "https://registry.npmjs.org/@cspell/strong-weak-map/-/strong-weak-map-6.26.3.tgz", - "integrity": "sha512-PC+I5obQY6f/l4/Z4TiE6HJhDiuR8wCPYqezPtBuD1Fw7Op0Nni77gUPKajTxhy1WHpks/PTTSjnV/cX9Mgt1Q==", + "version": "6.27.0", + "resolved": "https://registry.npmjs.org/@cspell/strong-weak-map/-/strong-weak-map-6.27.0.tgz", + "integrity": "sha512-4hel0Dik7GTX8yVOjOXlumIOzYD8mWzDeyMEhEJb3qwDfsTPeeYo1EMTSgtS+oJXR6kQ09qBrF1lok44v6NOAQ==", "dev": true, "engines": { "node": ">=14.6" @@ -3108,9 +3108,9 @@ "integrity": "sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg==" }, "node_modules/@eslint/eslintrc": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.4.1.tgz", - "integrity": "sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.0.tgz", + "integrity": "sha512-fluIaaV+GyV24CCu/ggiHdV+j4RNh85yQnAYS/G2mZODZgGmmlrgCydjUcV3YvxCm9x8nMAfThsqTni4KiXT4A==", "dev": true, "dependencies": { "ajv": "^6.12.4", @@ -3175,6 +3175,15 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/@eslint/js": { + "version": "8.35.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.35.0.tgz", + "integrity": "sha512-JXdzbRiWclLVoD8sNUjR443VVlYqiYmDVT6rGUEIEHU5YJW0gaVZwV2xgM7D4arkvASqD0IlLUVjHiFuxaftRw==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, "node_modules/@ethersproject/bytes": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz", @@ -4896,9 +4905,9 @@ } }, "node_modules/@multiformats/mafmt": { - "version": "11.0.3", - "resolved": "https://registry.npmjs.org/@multiformats/mafmt/-/mafmt-11.0.3.tgz", - "integrity": "sha512-DvCQeZJgaC4kE3BLqMuW3gQkNAW14Z7I+yMt30Ze+wkfHkWSp+bICcHGihhtgfzYCumHA/vHlJ9n54mrCcmnvQ==", + "version": "11.0.4", + "resolved": "https://registry.npmjs.org/@multiformats/mafmt/-/mafmt-11.0.4.tgz", + "integrity": "sha512-j5+coLrda4e417igtPDn8Aek2JY+HXBo9w4PwnMx8fhfOE+ktFEHWTgJ9BwGMiQbonxc1CmGiUnylTdoyyt5ZQ==", "dependencies": { "@multiformats/multiaddr": "^11.0.0" }, @@ -5174,16 +5183,16 @@ "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" }, "node_modules/@react-aria/button": { - "version": "3.6.4", - "resolved": "https://registry.npmjs.org/@react-aria/button/-/button-3.6.4.tgz", - "integrity": "sha512-OEs5fNGiuZzyC5y0cNl96+6pRf/3ZhI1i2m6LlRYhJLsWXPhHt21UHEnlSchE/XGtgKojJEeTsXottoBFTBi5w==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@react-aria/button/-/button-3.7.0.tgz", + "integrity": "sha512-4DSGXrAWflzT4cQe/x0KdrPzz7hv9vZgqYJuNXQkpmeIMs1EmUKuby2xC+W9GHuZ+8dMxjTWKy3XdwX2tCM42A==", "dependencies": { - "@react-aria/focus": "^3.10.1", - "@react-aria/interactions": "^3.13.1", - "@react-aria/utils": "^3.14.2", - "@react-stately/toggle": "^3.4.4", - "@react-types/button": "^3.7.0", - "@react-types/shared": "^3.16.0", + "@react-aria/focus": "^3.11.0", + "@react-aria/interactions": "^3.14.0", + "@react-aria/utils": "^3.15.0", + "@react-stately/toggle": "^3.5.0", + "@react-types/button": "^3.7.1", + "@react-types/shared": "^3.17.0", "@swc/helpers": "^0.4.14" }, "peerDependencies": { @@ -5191,13 +5200,13 @@ } }, "node_modules/@react-aria/focus": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.10.1.tgz", - "integrity": "sha512-HjgFUC1CznuYC7CxtBIFML6bOBxW3M3cSNtvmXU9QWlrPSwwOLkXCnfY6+UkjCc5huP4v7co4PoRDX8Vbe/cVQ==", + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.11.0.tgz", + "integrity": "sha512-yPuWs9bAR9CMfIwyOPm2oXLPF19gNkUqW+ozSPhWbLMTEa8Ma09eHW1br4xbN+4ONOm/dCJsIkxTNPUkiLdQoA==", "dependencies": { - "@react-aria/interactions": "^3.13.1", - "@react-aria/utils": "^3.14.2", - "@react-types/shared": "^3.16.0", + "@react-aria/interactions": "^3.14.0", + "@react-aria/utils": "^3.15.0", + "@react-types/shared": "^3.17.0", "@swc/helpers": "^0.4.14", "clsx": "^1.1.1" }, @@ -5206,12 +5215,12 @@ } }, "node_modules/@react-aria/interactions": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.13.1.tgz", - "integrity": "sha512-WCvfZOi1hhussVTHxVq76OR48ry13Zvp9U5hmuQufyxIUlf4hOvDk4/cbK4o4JiCs8X7C7SRzcwFM34M4NHzmg==", + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.14.0.tgz", + "integrity": "sha512-e1Tkr0UTuYFpV21PJrXy7jEY542Vl+C2Fo70oukZ1fN+wtfQkzodsTIzyepXb7kVMGmC34wDisMJUrksVkfY2w==", "dependencies": { - "@react-aria/utils": "^3.14.2", - "@react-types/shared": "^3.16.0", + "@react-aria/utils": "^3.15.0", + "@react-types/shared": "^3.17.0", "@swc/helpers": "^0.4.14" }, "peerDependencies": { @@ -5219,9 +5228,9 @@ } }, "node_modules/@react-aria/ssr": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.4.1.tgz", - "integrity": "sha512-NmhoilMDyIfQiOSdQgxpVH2tC2u85Y0mVijtBNbI9kcDYLEiW/r6vKYVKtkyU+C4qobXhGMPfZ70PTc0lysSVA==", + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.5.0.tgz", + "integrity": "sha512-h0MJdSWOd1qObLnJ8mprU31wI8tmKFJMuwT22MpWq6psisOOZaga6Ml4u6Ee6M6duWWISjXvqO4Sb/J0PBA+nQ==", "dependencies": { "@swc/helpers": "^0.4.14" }, @@ -5230,13 +5239,13 @@ } }, "node_modules/@react-aria/utils": { - "version": "3.14.2", - "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.14.2.tgz", - "integrity": "sha512-3nr5gsAf/J/W+6Tu4NF3Q7m+1mXjfpXESh7TPa6UR6v3tVDTsJVMrITg2BkHN1jM8xELcl2ZxyUffOWqOXzWuA==", + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.15.0.tgz", + "integrity": "sha512-aJZBG++iz1UwTW5gXFaHicKju4p0MPhAyBTcf2awHYWeTUUslDjJcEnNg7kjBYZBOrOSlA2rAt7/7C5CCURQPg==", "dependencies": { - "@react-aria/ssr": "^3.4.1", - "@react-stately/utils": "^3.5.2", - "@react-types/shared": "^3.16.0", + "@react-aria/ssr": "^3.5.0", + "@react-stately/utils": "^3.6.0", + "@react-types/shared": "^3.17.0", "@swc/helpers": "^0.4.14", "clsx": "^1.1.1" }, @@ -5245,13 +5254,13 @@ } }, "node_modules/@react-stately/toggle": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@react-stately/toggle/-/toggle-3.4.4.tgz", - "integrity": "sha512-OwVJpd2M7P7fekTWpl3TUdD3Brq+Z/xElOCJYP5QuVytXCa5seKsk40YPld8JQnA5dRKojpbUxMDOJpb6hOOfw==", + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/@react-stately/toggle/-/toggle-3.5.0.tgz", + "integrity": "sha512-vKwLLkFsiIve4pXIQC/dqLAz7Z+qtzJ8+D00EXXO1Nf8YHcyIMDkTmi3NTM8Qtvmt4xX2hbJFiPDF6WvF6mBIg==", "dependencies": { - "@react-stately/utils": "^3.5.2", - "@react-types/checkbox": "^3.4.1", - "@react-types/shared": "^3.16.0", + "@react-stately/utils": "^3.6.0", + "@react-types/checkbox": "^3.4.2", + "@react-types/shared": "^3.17.0", "@swc/helpers": "^0.4.14" }, "peerDependencies": { @@ -5259,9 +5268,9 @@ } }, "node_modules/@react-stately/utils": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/@react-stately/utils/-/utils-3.5.2.tgz", - "integrity": "sha512-639gSKqamPHIEPaApb9ahVJS0HgAqNdVF3tQRoh+Ky6759Mbk6i3HqG4zk4IGQ1tVlYSYZvCckwehF7b2zndMg==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/@react-stately/utils/-/utils-3.6.0.tgz", + "integrity": "sha512-rptF7iUWDrquaYvBAS4QQhOBQyLBncDeHF03WnHXAxnuPJXNcr9cXJtjJPGCs036ZB8Q2hc9BGG5wNyMkF5v+Q==", "dependencies": { "@swc/helpers": "^0.4.14" }, @@ -5270,31 +5279,31 @@ } }, "node_modules/@react-types/button": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/@react-types/button/-/button-3.7.0.tgz", - "integrity": "sha512-81BQO3QxSgF9PTXsVozNdNCKxBOB1lpbCWocV99dN1ws9s8uaYw8pmJJZ0LJKLiOsIECQ/3QrhQjmWTDW/qTug==", + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/@react-types/button/-/button-3.7.1.tgz", + "integrity": "sha512-c+8xjmqWSjI5/mEHVLbVSp0eh/z2UU8Ga+wqjbEUZUjm8uopYj1PaCAwZ7YgcAebyQrL/21GyjK6tFHKzuUdJQ==", "dependencies": { - "@react-types/shared": "^3.16.0" + "@react-types/shared": "^3.17.0" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" } }, "node_modules/@react-types/checkbox": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/@react-types/checkbox/-/checkbox-3.4.1.tgz", - "integrity": "sha512-kDMpy9SntjGQ7x00m5zmW8GENPouOtyiDgiEDKsPXUr2iYqHsNtricqVyG9S9+6hqpzuu8BzTcvZamc/xYjzlg==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/@react-types/checkbox/-/checkbox-3.4.2.tgz", + "integrity": "sha512-/NWFCEQLvVgo25afPt2jv4syxYvZeY/D/n2Y92IGtoNV4akdz4AuQ65+1X+JOhQc/ZbAblWw5fFWUZoQs3CLZg==", "dependencies": { - "@react-types/shared": "^3.16.0" + "@react-types/shared": "^3.17.0" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" } }, "node_modules/@react-types/shared": { - "version": "3.16.0", - "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.16.0.tgz", - "integrity": "sha512-IQgU4oAEvMwylEvaTsr2XB1G/mAoMe1JFYLD6G78v++oAR9l8o9MQxZ0YSeANDkqTamb2gKezGoT1RxvSKjVxw==", + "version": "3.17.0", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.17.0.tgz", + "integrity": "sha512-1SNZ/RhVrrQ1e6yE0bPV7d5Sfp+Uv0dfUEhwF9MAu2v5msu7AMewnsiojKNA0QA6Ing1gpDLjHCxtayQfuxqcg==", "peerDependencies": { "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" } @@ -6187,14 +6196,14 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.53.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.53.0.tgz", - "integrity": "sha512-alFpFWNucPLdUOySmXCJpzr6HKC3bu7XooShWM+3w/EL6J2HIoB2PFxpLnq4JauWVk6DiVeNKzQlFEaE+X9sGw==", + "version": "5.54.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.54.0.tgz", + "integrity": "sha512-+hSN9BdSr629RF02d7mMtXhAJvDTyCbprNYJKrXETlul/Aml6YZwd90XioVbjejQeHbb3R8Dg0CkRgoJDxo8aw==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.53.0", - "@typescript-eslint/type-utils": "5.53.0", - "@typescript-eslint/utils": "5.53.0", + "@typescript-eslint/scope-manager": "5.54.0", + "@typescript-eslint/type-utils": "5.54.0", + "@typescript-eslint/utils": "5.54.0", "debug": "^4.3.4", "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", @@ -6221,12 +6230,12 @@ } }, "node_modules/@typescript-eslint/experimental-utils": { - "version": "5.53.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.53.0.tgz", - "integrity": "sha512-4SklZEwRn0jqkhtW+pPZpbKFXprwGneBndRM0TGzJu/LWdb9QV2hBgFIVU9AREo02BzqFvyG/ypd+xAW5YGhXw==", + "version": "5.54.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.54.0.tgz", + "integrity": "sha512-rRYECOTh5V3iWsrOzXi7h1jp3Bi9OkJHrb3wECi3DVqMGTilo9wAYmCbT+6cGdrzUY3MWcAa2mESM6FMik6tVw==", "dev": true, "dependencies": { - "@typescript-eslint/utils": "5.53.0" + "@typescript-eslint/utils": "5.54.0" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -6240,14 +6249,14 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "5.53.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.53.0.tgz", - "integrity": "sha512-MKBw9i0DLYlmdOb3Oq/526+al20AJZpANdT6Ct9ffxcV8nKCHz63t/S0IhlTFNsBIHJv+GY5SFJ0XfqVeydQrQ==", + "version": "5.54.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.54.0.tgz", + "integrity": "sha512-aAVL3Mu2qTi+h/r04WI/5PfNWvO6pdhpeMRWk9R7rEV4mwJNzoWf5CCU5vDKBsPIFQFjEq1xg7XBI2rjiMXQbQ==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.53.0", - "@typescript-eslint/types": "5.53.0", - "@typescript-eslint/typescript-estree": "5.53.0", + "@typescript-eslint/scope-manager": "5.54.0", + "@typescript-eslint/types": "5.54.0", + "@typescript-eslint/typescript-estree": "5.54.0", "debug": "^4.3.4" }, "engines": { @@ -6267,13 +6276,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "5.53.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.53.0.tgz", - "integrity": "sha512-Opy3dqNsp/9kBBeCPhkCNR7fmdSQqA+47r21hr9a14Bx0xnkElEQmhoHga+VoaoQ6uDHjDKmQPIYcUcKJifS7w==", + "version": "5.54.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.54.0.tgz", + "integrity": "sha512-VTPYNZ7vaWtYna9M4oD42zENOBrb+ZYyCNdFs949GcN8Miwn37b8b7eMj+EZaq7VK9fx0Jd+JhmkhjFhvnovhg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.53.0", - "@typescript-eslint/visitor-keys": "5.53.0" + "@typescript-eslint/types": "5.54.0", + "@typescript-eslint/visitor-keys": "5.54.0" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -6284,13 +6293,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "5.53.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.53.0.tgz", - "integrity": "sha512-HO2hh0fmtqNLzTAme/KnND5uFNwbsdYhCZghK2SoxGp3Ifn2emv+hi0PBUjzzSh0dstUIFqOj3bp0AwQlK4OWw==", + "version": "5.54.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.54.0.tgz", + "integrity": "sha512-WI+WMJ8+oS+LyflqsD4nlXMsVdzTMYTxl16myXPaCXnSgc7LWwMsjxQFZCK/rVmTZ3FN71Ct78ehO9bRC7erYQ==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "5.53.0", - "@typescript-eslint/utils": "5.53.0", + "@typescript-eslint/typescript-estree": "5.54.0", + "@typescript-eslint/utils": "5.54.0", "debug": "^4.3.4", "tsutils": "^3.21.0" }, @@ -6311,9 +6320,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "5.53.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.53.0.tgz", - "integrity": "sha512-5kcDL9ZUIP756K6+QOAfPkigJmCPHcLN7Zjdz76lQWWDdzfOhZDTj1irs6gPBKiXx5/6O3L0+AvupAut3z7D2A==", + "version": "5.54.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.54.0.tgz", + "integrity": "sha512-nExy+fDCBEgqblasfeE3aQ3NuafBUxZxgxXcYfzYRZFHdVvk5q60KhCSkG0noHgHRo/xQ/BOzURLZAafFpTkmQ==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -6324,13 +6333,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.53.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.53.0.tgz", - "integrity": "sha512-eKmipH7QyScpHSkhbptBBYh9v8FxtngLquq292YTEQ1pxVs39yFBlLC1xeIZcPPz1RWGqb7YgERJRGkjw8ZV7w==", + "version": "5.54.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.54.0.tgz", + "integrity": "sha512-X2rJG97Wj/VRo5YxJ8Qx26Zqf0RRKsVHd4sav8NElhbZzhpBI8jU54i6hfo9eheumj4oO4dcRN1B/zIVEqR/MQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.53.0", - "@typescript-eslint/visitor-keys": "5.53.0", + "@typescript-eslint/types": "5.54.0", + "@typescript-eslint/visitor-keys": "5.54.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -6380,16 +6389,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "5.53.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.53.0.tgz", - "integrity": "sha512-VUOOtPv27UNWLxFwQK/8+7kvxVC+hPHNsJjzlJyotlaHjLSIgOCKj9I0DBUjwOOA64qjBwx5afAPjksqOxMO0g==", + "version": "5.54.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.54.0.tgz", + "integrity": "sha512-cuwm8D/Z/7AuyAeJ+T0r4WZmlnlxQ8wt7C7fLpFlKMR+dY6QO79Cq1WpJhvZbMA4ZeZGHiRWnht7ZJ8qkdAunw==", "dev": true, "dependencies": { "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.53.0", - "@typescript-eslint/types": "5.53.0", - "@typescript-eslint/typescript-estree": "5.53.0", + "@typescript-eslint/scope-manager": "5.54.0", + "@typescript-eslint/types": "5.54.0", + "@typescript-eslint/typescript-estree": "5.54.0", "eslint-scope": "^5.1.1", "eslint-utils": "^3.0.0", "semver": "^7.3.7" @@ -6428,12 +6437,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.53.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.53.0.tgz", - "integrity": "sha512-JqNLnX3leaHFZEN0gCh81sIvgrp/2GOACZNgO4+Tkf64u51kTpAyWFOY8XHx8XuXr3N2C9zgPPHtcpMg6z1g0w==", + "version": "5.54.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.54.0.tgz", + "integrity": "sha512-xu4wT7aRCakGINTLGeyGqDn+78BwFlggwBjnHa1ar/KaGagnmwLYmlrXIrgAaQ3AE1Vd6nLfKASm7LrFHNbKGA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.53.0", + "@typescript-eslint/types": "5.54.0", "eslint-visitor-keys": "^3.3.0" }, "engines": { @@ -6731,9 +6740,9 @@ } }, "node_modules/@waku/react": { - "version": "0.0.1", - "resolved": "file:../../../waku-ui", - "license": "MIT OR Apache-2.0", + "version": "0.0.1-a", + "resolved": "https://registry.npmjs.org/@waku/react/-/react-0.0.1-a.tgz", + "integrity": "sha512-vkvsNJIKjELPh6okgLgqXnEuNnD5DFMnj/q9hZuz1NB53VhZnpFm/V8o3fo/Is+uJkdNU+liAafUw9GmRd93WA==", "dependencies": { "@waku/core": "^0.0.10", "@waku/create": "^0.0.6" @@ -8251,9 +8260,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001457", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001457.tgz", - "integrity": "sha512-SDIV6bgE1aVbK6XyxdURbUE89zY7+k1BBBaOwYwkNCglXlel/E7mELiHC64HQ+W0xSKlqWhV9Wh7iHxUjMs4fA==", + "version": "1.0.30001458", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001458.tgz", + "integrity": "sha512-lQ1VlUUq5q9ro9X+5gOEyH7i3vm+AYVT1WDCVB69XOZ17KZRhnZ9J0Sqz7wTHQaLBJccNCHq8/Ww5LlOIZbB0w==", "dev": true, "funding": [ { @@ -8756,9 +8765,9 @@ "dev": true }, "node_modules/core-js": { - "version": "3.28.0", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.28.0.tgz", - "integrity": "sha512-GiZn9D4Z/rSYvTeg1ljAIsEqFm0LaN9gVtwDCrKL80zHtS31p9BAjmTxVqTQDMpwlMolJZOFntUG2uwyj7DAqw==", + "version": "3.29.0", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.29.0.tgz", + "integrity": "sha512-VG23vuEisJNkGl6XQmFJd3rEG/so/CNatqeE+7uZAwTSwFeB/qaO0be8xZYUNWprJ/GIwL8aMt9cj1kvbpTZhg==", "dev": true, "hasInstallScript": true, "funding": { @@ -8767,9 +8776,9 @@ } }, "node_modules/core-js-compat": { - "version": "3.28.0", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.28.0.tgz", - "integrity": "sha512-myzPgE7QodMg4nnd3K1TDoES/nADRStM8Gpz0D6nhkwbmwEnE0ZGJgoWsvQ722FR8D7xS0n0LV556RcEicjTyg==", + "version": "3.29.0", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.29.0.tgz", + "integrity": "sha512-ScMn3uZNAFhK2DGoEfErguoiAHhV2Ju+oJo/jK08p7B3f3UhocUrCCkTvnZaiS+edl5nlIoiBXKcwMc6elv4KQ==", "dev": true, "dependencies": { "browserslist": "^4.21.5" @@ -8780,9 +8789,9 @@ } }, "node_modules/core-js-pure": { - "version": "3.28.0", - "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.28.0.tgz", - "integrity": "sha512-DSOVleA9/v3LNj/vFxAPfUHttKTzrB2RXhAPvR5TPXn4vrra3Z2ssytvRyt8eruJwAfwAiFADEbrjcRdcvPLQQ==", + "version": "3.29.0", + "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.29.0.tgz", + "integrity": "sha512-v94gUjN5UTe1n0yN/opTihJ8QBWD2O8i19RfTZR7foONPWArnjB96QA/wk5ozu1mm6ja3udQCzOzwQXTxi3xOQ==", "dev": true, "hasInstallScript": true, "funding": { @@ -8834,18 +8843,19 @@ } }, "node_modules/cspell": { - "version": "6.26.3", - "resolved": "https://registry.npmjs.org/cspell/-/cspell-6.26.3.tgz", - "integrity": "sha512-h7p8JpWSFhgNbsJLlpjzMCQ0k6TuhX/M5JcrED14x17CuZR7ad29lQDRF0Un82Wxhd8hJNxZubV9IBdWZA7Qig==", + "version": "6.27.0", + "resolved": "https://registry.npmjs.org/cspell/-/cspell-6.27.0.tgz", + "integrity": "sha512-BhDzXJIRFcpswOy32tgnoOw2OdSM91pQuUpRxfZvRxdM4HBxUrodDYJ5HbBz7D0vNBrXFidFX/157KNX4m1gmg==", "dev": true, "dependencies": { - "@cspell/cspell-pipe": "6.26.3", - "@cspell/dynamic-import": "6.26.3", + "@cspell/cspell-pipe": "6.27.0", + "@cspell/dynamic-import": "6.27.0", "chalk": "^4.1.2", "commander": "^10.0.0", - "cspell-gitignore": "6.26.3", - "cspell-glob": "6.26.3", - "cspell-lib": "6.26.3", + "cspell-gitignore": "6.27.0", + "cspell-glob": "6.27.0", + "cspell-io": "6.27.0", + "cspell-lib": "6.27.0", "fast-glob": "^3.2.12", "fast-json-stable-stringify": "^2.1.0", "file-entry-cache": "^6.0.1", @@ -8866,14 +8876,14 @@ } }, "node_modules/cspell-dictionary": { - "version": "6.26.3", - "resolved": "https://registry.npmjs.org/cspell-dictionary/-/cspell-dictionary-6.26.3.tgz", - "integrity": "sha512-wUiTHe7OWZuptEROJm3gzSk12ABAozArFnKVNfsfVR/tgBIjLTgX+9RIOuJL0g+vDxIsZu8dpOuty3MPmI3vBg==", + "version": "6.27.0", + "resolved": "https://registry.npmjs.org/cspell-dictionary/-/cspell-dictionary-6.27.0.tgz", + "integrity": "sha512-u2HZ6Yl0tIBzflJ9Rt5i15kP1KN41XtyKfqCCntugX3gYtfbQ1t/HvAPcq4g7EDZV2tzqSKGcNvzuJgHJyxxFw==", "dev": true, "dependencies": { - "@cspell/cspell-pipe": "6.26.3", - "@cspell/cspell-types": "6.26.3", - "cspell-trie-lib": "6.26.3", + "@cspell/cspell-pipe": "6.27.0", + "@cspell/cspell-types": "6.27.0", + "cspell-trie-lib": "6.27.0", "fast-equals": "^4.0.3", "gensequence": "^4.0.3" }, @@ -8882,12 +8892,12 @@ } }, "node_modules/cspell-gitignore": { - "version": "6.26.3", - "resolved": "https://registry.npmjs.org/cspell-gitignore/-/cspell-gitignore-6.26.3.tgz", - "integrity": "sha512-K6Gl3I71UZOU9077xXhJmG2Bwzhj6ay64pnry6+KBHJDAxuSWnXaWg1/KpSf6ciwwvggyRxhKOSykzLI8Ivweg==", + "version": "6.27.0", + "resolved": "https://registry.npmjs.org/cspell-gitignore/-/cspell-gitignore-6.27.0.tgz", + "integrity": "sha512-aXIuSMtm2pW8Z0y4SHBqvXwY4Hk3lz4b3PD50IU1gn2mjk8GioEYAnWlN/FANeOuMjOXiRfLaX0McvNErnZxdw==", "dev": true, "dependencies": { - "cspell-glob": "6.26.3", + "cspell-glob": "6.27.0", "find-up": "^5.0.0" }, "bin": { @@ -8898,9 +8908,9 @@ } }, "node_modules/cspell-glob": { - "version": "6.26.3", - "resolved": "https://registry.npmjs.org/cspell-glob/-/cspell-glob-6.26.3.tgz", - "integrity": "sha512-6f6waZGHZ1Vt9HVOqQrkYfq5EMJ+UvJGgiq1tVO8jDGdayupNIaivh9XT6ReWHJVLbKypJddQzrw7eMMEd0Mmg==", + "version": "6.27.0", + "resolved": "https://registry.npmjs.org/cspell-glob/-/cspell-glob-6.27.0.tgz", + "integrity": "sha512-YzS9SiNU5iFIdEMCeVOsGlCvffCM7M51io9ylkkY6138NLCnqWw/DSePzIAAsuLqh9nsJt8xiXrHPerKiPnN3g==", "dev": true, "dependencies": { "micromatch": "^4.0.5" @@ -8910,13 +8920,13 @@ } }, "node_modules/cspell-grammar": { - "version": "6.26.3", - "resolved": "https://registry.npmjs.org/cspell-grammar/-/cspell-grammar-6.26.3.tgz", - "integrity": "sha512-eoqMETuGH6bjsSnK5UGtfLKLkW+VKOQBGRQBVBfI+2KKaZyfvm7/q8ScRYdAsoQg67Ws7/2Dplej7vRltyfCQQ==", + "version": "6.27.0", + "resolved": "https://registry.npmjs.org/cspell-grammar/-/cspell-grammar-6.27.0.tgz", + "integrity": "sha512-03SH0+bWazhkzUUK+t6ywUZvWuDcqj4J171oIdA3fvdG7nBpTqyFc1/vU1mReZK7CDde16BUaqCkWgf+El+N1w==", "dev": true, "dependencies": { - "@cspell/cspell-pipe": "6.26.3", - "@cspell/cspell-types": "6.26.3" + "@cspell/cspell-pipe": "6.27.0", + "@cspell/cspell-types": "6.27.0" }, "bin": { "cspell-grammar": "bin.js" @@ -8926,12 +8936,12 @@ } }, "node_modules/cspell-io": { - "version": "6.26.3", - "resolved": "https://registry.npmjs.org/cspell-io/-/cspell-io-6.26.3.tgz", - "integrity": "sha512-bUzsHM+A+jfMEYuwBnC/w2KIgf4TPEx3E5AIfg+qtRuP2paTYOFulNBWgxzWovSkXH08R4yNgDQIN1dO3Fhzjw==", + "version": "6.27.0", + "resolved": "https://registry.npmjs.org/cspell-io/-/cspell-io-6.27.0.tgz", + "integrity": "sha512-WsvXjbbWwIQVembEtlNuC8cJrGtyUuk8GvZzL9bBpSofU2UXvFjaQ9bAZjIeHibGQrIIuOM0ra0CqOcLb5mShA==", "dev": true, "dependencies": { - "@cspell/cspell-service-bus": "6.26.3", + "@cspell/cspell-service-bus": "6.27.0", "node-fetch": "^2.6.9" }, "engines": { @@ -8939,24 +8949,24 @@ } }, "node_modules/cspell-lib": { - "version": "6.26.3", - "resolved": "https://registry.npmjs.org/cspell-lib/-/cspell-lib-6.26.3.tgz", - "integrity": "sha512-UwtrGSHoZxQmTm78yB55KLIz46THG1neZ87mYHdoYgc5EOc2gKTWRPfYsioUs8fH31L+4CwHNbdxvTRg+Vpg/Q==", + "version": "6.27.0", + "resolved": "https://registry.npmjs.org/cspell-lib/-/cspell-lib-6.27.0.tgz", + "integrity": "sha512-wwi3VCFiWaVFrV/ycm4yNBjjPY3pyhWud4lVJs51p2IkKqJbmR7hZ+bSIyw6d9MVzPKRD67eMaNBYXFGDaNHGQ==", "dev": true, "dependencies": { - "@cspell/cspell-bundled-dicts": "6.26.3", - "@cspell/cspell-pipe": "6.26.3", - "@cspell/cspell-types": "6.26.3", - "@cspell/strong-weak-map": "6.26.3", + "@cspell/cspell-bundled-dicts": "6.27.0", + "@cspell/cspell-pipe": "6.27.0", + "@cspell/cspell-types": "6.27.0", + "@cspell/strong-weak-map": "6.27.0", "clear-module": "^4.1.2", "comment-json": "^4.2.3", "configstore": "^5.0.1", - "cosmiconfig": "^8.0.0", - "cspell-dictionary": "6.26.3", - "cspell-glob": "6.26.3", - "cspell-grammar": "6.26.3", - "cspell-io": "6.26.3", - "cspell-trie-lib": "6.26.3", + "cosmiconfig": "8.0.0", + "cspell-dictionary": "6.27.0", + "cspell-glob": "6.27.0", + "cspell-grammar": "6.27.0", + "cspell-io": "6.27.0", + "cspell-trie-lib": "6.27.0", "fast-equals": "^4.0.3", "find-up": "^5.0.0", "gensequence": "^4.0.3", @@ -9004,13 +9014,13 @@ } }, "node_modules/cspell-trie-lib": { - "version": "6.26.3", - "resolved": "https://registry.npmjs.org/cspell-trie-lib/-/cspell-trie-lib-6.26.3.tgz", - "integrity": "sha512-pda7iXr74SC9eD5ksAEDDR2M/ervnGaHXugTjn+TVXXBH16lnmqz/Ns5Zlp351lwb3BhqjVU+XqZ0tn28ISvAw==", + "version": "6.27.0", + "resolved": "https://registry.npmjs.org/cspell-trie-lib/-/cspell-trie-lib-6.27.0.tgz", + "integrity": "sha512-kelDXszZKzlWbk7hV3cTtWYd2Gs3MXqTNSL3udtN4Oow74ik+h1bWsOOmXKKjtKvRctx4omWC1JdriQXfhBMBA==", "dev": true, "dependencies": { - "@cspell/cspell-pipe": "6.26.3", - "@cspell/cspell-types": "6.26.3", + "@cspell/cspell-pipe": "6.27.0", + "@cspell/cspell-types": "6.27.0", "gensequence": "^4.0.3" }, "engines": { @@ -10021,9 +10031,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.309", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.309.tgz", - "integrity": "sha512-U7DTiKe4h+irqBG6h4EZ0XXaZuJj4md3xIXXaGSYhwiumPZ4BSc6rgf9UD0hVUMaeP/jB0q5pKWCPxvhO8fvZA==", + "version": "1.4.312", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.312.tgz", + "integrity": "sha512-e7g+PzxzkbiCD1aNhdj+Tx3TLlfrQF/Lf+LAaUdoLvB1kCxf9wJimqXdWEqnoiYjFtxIR1hGBmoHsBIcCBNOMA==", "dev": true }, "node_modules/email-addresses": { @@ -10349,12 +10359,13 @@ } }, "node_modules/eslint": { - "version": "8.34.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.34.0.tgz", - "integrity": "sha512-1Z8iFsucw+7kSqXNZVslXS8Ioa4u2KM7GPwuKtkTFAqZ/cHMcEaR+1+Br0wLlot49cNxIiZk5wp8EAbPcYZxTg==", + "version": "8.35.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.35.0.tgz", + "integrity": "sha512-BxAf1fVL7w+JLRQhWl2pzGeSiGqbWumV4WNvc9Rhp6tiCtm4oHnyPBSEtMGZwrQgudFQ+otqzWoPB7x+hxoWsw==", "dev": true, "dependencies": { - "@eslint/eslintrc": "^1.4.1", + "@eslint/eslintrc": "^2.0.0", + "@eslint/js": "8.35.0", "@humanwhocodes/config-array": "^0.11.8", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -10368,7 +10379,7 @@ "eslint-utils": "^3.0.0", "eslint-visitor-keys": "^3.3.0", "espree": "^9.4.0", - "esquery": "^1.4.0", + "esquery": "^1.4.2", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^6.0.1", @@ -20837,13 +20848,13 @@ "dev": true }, "node_modules/tsconfig-paths": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz", - "integrity": "sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ==", + "version": "3.14.2", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz", + "integrity": "sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==", "dev": true, "dependencies": { "@types/json5": "^0.0.29", - "json5": "^1.0.1", + "json5": "^1.0.2", "minimist": "^1.2.6", "strip-bom": "^3.0.0" } diff --git a/examples/web-chat/src/command.ts b/examples/web-chat/src/command.ts index 7f69e3f..1d2f5ed 100644 --- a/examples/web-chat/src/command.ts +++ b/examples/web-chat/src/command.ts @@ -1,5 +1,5 @@ import { multiaddr } from "@multiformats/multiaddr"; -import type { LightNode as WakuLight } from "@waku/interfaces"; +import type { LightNode } from "@waku/interfaces"; function help(): string[] { return [ @@ -21,7 +21,7 @@ function nick( return [`New nick: ${nick}`]; } -function info(waku: WakuLight | undefined): string[] { +function info(waku: LightNode | undefined): string[] { if (!waku) { return ["Waku node is starting"]; } @@ -30,7 +30,7 @@ function info(waku: WakuLight | undefined): string[] { function connect( peer: string | undefined, - waku: WakuLight | undefined + waku: LightNode | undefined ): string[] { if (!waku) { return ["Waku node is starting"]; @@ -55,7 +55,7 @@ function connect( } } -async function peers(waku: WakuLight | undefined): Promise { +async function peers(waku: LightNode | undefined): Promise { if (!waku) { return ["Waku node is starting"]; } @@ -82,7 +82,7 @@ async function peers(waku: WakuLight | undefined): Promise { return response; } -function connections(waku: WakuLight | undefined): string[] { +function connections(waku: LightNode | undefined): string[] { if (!waku) { return ["Waku node is starting"]; } @@ -103,7 +103,7 @@ function connections(waku: WakuLight | undefined): string[] { export default async function handleCommand( input: string, - waku: WakuLight | undefined, + waku: LightNode | undefined, setNick: (nick: string) => void ): Promise<{ command: string; response: string[] }> { let response: string[] = []; diff --git a/examples/web-chat/src/hooks.ts b/examples/web-chat/src/hooks.ts index d58aff9..bab01c4 100644 --- a/examples/web-chat/src/hooks.ts +++ b/examples/web-chat/src/hooks.ts @@ -54,6 +54,8 @@ export const useMessages = (params: UseMessagesParams): UseMessagesResult => { return [allMessages, pushMessages]; }; +// can be safely ignored +// this is for experiments on waku side around new discovery options export const useNodePeers = (node: undefined | LightNode) => { const [bootstrapPeers, setBootstrapPeers] = useState(new Set()); const [peerExchangePeers, setPeerExchangePeers] = useState(new Set());