diff --git a/examples/relay-reactjs-chat/package-lock.json b/examples/relay-reactjs-chat/package-lock.json index 0879b5ddd7..5a3dd9aa1f 100644 --- a/examples/relay-reactjs-chat/package-lock.json +++ b/examples/relay-reactjs-chat/package-lock.json @@ -11,7 +11,7 @@ "@testing-library/jest-dom": "^5.16.2", "@testing-library/react": "^13.2.0", "@testing-library/user-event": "^14.0.4", - "js-waku": "^0.19.2", + "js-waku": "^0.22.0", "protobufjs": "^6.11.2", "react": "^18.1.0", "react-dom": "^18.1.0", @@ -4715,10 +4715,6 @@ "version": "3.7.2", "license": "MIT" }, - "node_modules/bn.js": { - "version": "4.12.0", - "license": "MIT" - }, "node_modules/body-parser": { "version": "1.19.1", "license": "MIT", @@ -4800,10 +4796,6 @@ "node": ">=8" } }, - "node_modules/brorand": { - "version": "1.1.0", - "license": "MIT" - }, "node_modules/browser-process-hrtime": { "version": "1.0.0", "license": "BSD-2-Clause" @@ -6233,19 +6225,6 @@ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.132.tgz", "integrity": "sha512-JYdZUw/1068NWN+SwXQ7w6Ue0bWYGihvSUNNQwurvcDV/SM7vSiGZ3NuFvFgoEiCs4kB8xs3cX2an3wB7d4TBw==" }, - "node_modules/elliptic": { - "version": "6.5.4", - "license": "MIT", - "dependencies": { - "bn.js": "^4.11.9", - "brorand": "^1.1.0", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.1", - "inherits": "^2.0.4", - "minimalistic-assert": "^1.0.1", - "minimalistic-crypto-utils": "^1.0.1" - } - }, "node_modules/emittery": { "version": "0.8.1", "license": "MIT", @@ -8007,14 +7986,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/hash.js": { - "version": "1.1.7", - "license": "MIT", - "dependencies": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.1" - } - }, "node_modules/hashlru": { "version": "2.3.0", "license": "MIT" @@ -8030,15 +8001,6 @@ "version": "0.5.1", "license": "MIT" }, - "node_modules/hmac-drbg": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "hash.js": "^1.0.3", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.1" - } - }, "node_modules/hoopy": { "version": "0.1.4", "license": "MIT", @@ -10697,11 +10659,13 @@ "license": "MIT" }, "node_modules/js-waku": { - "version": "0.19.2", - "license": "MIT OR Apache-2.0", + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.22.0.tgz", + "integrity": "sha512-4aMOJI6HKSaJ4eLfanbD1CDifwUgCPfcIDnIrt96SJA5A3nf9VXFZUmR1huwv07JithmkP9orXNGb6u8KdGcrg==", "dependencies": { "@chainsafe/libp2p-noise": "^5.0.0", "@ethersproject/rlp": "^5.5.0", + "@noble/secp256k1": "^1.3.4", "debug": "^4.3.1", "dns-query": "^0.8.0", "hi-base32": "^0.5.1", @@ -10710,13 +10674,12 @@ "js-sha3": "^0.8.0", "libp2p": "^0.36.2", "libp2p-bootstrap": "^0.14.0", - "libp2p-gossipsub": "^0.13.0", + "libp2p-gossipsub": "0.13.0", "libp2p-mplex": "^0.10.4", "libp2p-websockets": "^0.16.1", "multiaddr": "^10.0.1", "multihashes": "^4.0.3", "protobufjs": "^6.8.8", - "secp256k1": "^4.0.2", "uuid": "^8.3.2" }, "engines": { @@ -11441,10 +11404,6 @@ "version": "1.0.1", "license": "ISC" }, - "node_modules/minimalistic-crypto-utils": { - "version": "1.0.1", - "license": "MIT" - }, "node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -11652,10 +11611,6 @@ "tslib": "^2.0.3" } }, - "node_modules/node-addon-api": { - "version": "2.0.2", - "license": "MIT" - }, "node_modules/node-fetch": { "name": "@achingbrain/node-fetch", "version": "2.6.7", @@ -11671,15 +11626,6 @@ "node": ">= 6.0.0" } }, - "node_modules/node-gyp-build": { - "version": "4.3.0", - "license": "MIT", - "bin": { - "node-gyp-build": "bin.js", - "node-gyp-build-optional": "optional.js", - "node-gyp-build-test": "build-test.js" - } - }, "node_modules/node-int64": { "version": "0.4.0", "license": "MIT" @@ -14766,19 +14712,6 @@ "url": "https://opencollective.com/webpack" } }, - "node_modules/secp256k1": { - "version": "4.0.3", - "hasInstallScript": true, - "license": "MIT", - "dependencies": { - "elliptic": "^6.5.4", - "node-addon-api": "^2.0.0", - "node-gyp-build": "^4.2.0" - }, - "engines": { - "node": ">=10.0.0" - } - }, "node_modules/select-hose": { "version": "2.0.0", "license": "MIT" @@ -19980,9 +19913,6 @@ "bluebird": { "version": "3.7.2" }, - "bn.js": { - "version": "4.12.0" - }, "body-parser": { "version": "1.19.1", "requires": { @@ -20045,9 +19975,6 @@ "fill-range": "^7.0.1" } }, - "brorand": { - "version": "1.1.0" - }, "browser-process-hrtime": { "version": "1.0.0" }, @@ -20920,18 +20847,6 @@ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.132.tgz", "integrity": "sha512-JYdZUw/1068NWN+SwXQ7w6Ue0bWYGihvSUNNQwurvcDV/SM7vSiGZ3NuFvFgoEiCs4kB8xs3cX2an3wB7d4TBw==" }, - "elliptic": { - "version": "6.5.4", - "requires": { - "bn.js": "^4.11.9", - "brorand": "^1.1.0", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.1", - "inherits": "^2.0.4", - "minimalistic-assert": "^1.0.1", - "minimalistic-crypto-utils": "^1.0.1" - } - }, "emittery": { "version": "0.8.1" }, @@ -22055,13 +21970,6 @@ "has-symbols": "^1.0.2" } }, - "hash.js": { - "version": "1.1.7", - "requires": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.1" - } - }, "hashlru": { "version": "2.3.0" }, @@ -22071,14 +21979,6 @@ "hi-base32": { "version": "0.5.1" }, - "hmac-drbg": { - "version": "1.0.1", - "requires": { - "hash.js": "^1.0.3", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.1" - } - }, "hoopy": { "version": "0.1.4" }, @@ -23724,10 +23624,13 @@ "version": "4.0.0" }, "js-waku": { - "version": "0.19.2", + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.22.0.tgz", + "integrity": "sha512-4aMOJI6HKSaJ4eLfanbD1CDifwUgCPfcIDnIrt96SJA5A3nf9VXFZUmR1huwv07JithmkP9orXNGb6u8KdGcrg==", "requires": { "@chainsafe/libp2p-noise": "^5.0.0", "@ethersproject/rlp": "^5.5.0", + "@noble/secp256k1": "^1.3.4", "debug": "^4.3.1", "dns-query": "^0.8.0", "hi-base32": "^0.5.1", @@ -23736,13 +23639,12 @@ "js-sha3": "^0.8.0", "libp2p": "^0.36.2", "libp2p-bootstrap": "^0.14.0", - "libp2p-gossipsub": "^0.13.0", + "libp2p-gossipsub": "0.13.0", "libp2p-mplex": "^0.10.4", "libp2p-websockets": "^0.16.1", "multiaddr": "^10.0.1", "multihashes": "^4.0.3", "protobufjs": "^6.8.8", - "secp256k1": "^4.0.2", "uuid": "^8.3.2" } }, @@ -24241,9 +24143,6 @@ "minimalistic-assert": { "version": "1.0.1" }, - "minimalistic-crypto-utils": { - "version": "1.0.1" - }, "minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -24393,18 +24292,12 @@ "tslib": "^2.0.3" } }, - "node-addon-api": { - "version": "2.0.2" - }, "node-fetch": { "version": "npm:@achingbrain/node-fetch@2.6.7" }, "node-forge": { "version": "0.10.0" }, - "node-gyp-build": { - "version": "4.3.0" - }, "node-int64": { "version": "0.4.0" }, @@ -26210,14 +26103,6 @@ "ajv-keywords": "^3.5.2" } }, - "secp256k1": { - "version": "4.0.3", - "requires": { - "elliptic": "^6.5.4", - "node-addon-api": "^2.0.0", - "node-gyp-build": "^4.2.0" - } - }, "select-hose": { "version": "2.0.0" }, diff --git a/examples/relay-reactjs-chat/package.json b/examples/relay-reactjs-chat/package.json index 902322b2a1..75604ff0c4 100644 --- a/examples/relay-reactjs-chat/package.json +++ b/examples/relay-reactjs-chat/package.json @@ -6,7 +6,7 @@ "@testing-library/jest-dom": "^5.16.2", "@testing-library/react": "^13.2.0", "@testing-library/user-event": "^14.0.4", - "js-waku": "^0.19.2", + "js-waku": "^0.22.0", "protobufjs": "^6.11.2", "react": "^18.1.0", "react-dom": "^18.1.0",