From f681246d4eff48967fa5d6fa40a39c66ae5c6934 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Wed, 11 May 2022 15:09:24 +1000 Subject: [PATCH] web-chat: Upgrade js-waku to 0.22.0 --- examples/web-chat/package-lock.json | 71 +++++------------------------ examples/web-chat/package.json | 2 +- 2 files changed, 12 insertions(+), 61 deletions(-) diff --git a/examples/web-chat/package-lock.json b/examples/web-chat/package-lock.json index 9c440a98c2..fc3cf605fd 100644 --- a/examples/web-chat/package-lock.json +++ b/examples/web-chat/package-lock.json @@ -14,7 +14,7 @@ "crypto-browserify": "^3.12.0", "http-browserify": "^1.7.0", "https-browserify": "^1.0.0", - "js-waku": "^0.19.2", + "js-waku": "^0.22.0", "process": "^0.11.10", "react": "^18.1.0", "react-dom": "^18.1.0", @@ -15902,12 +15902,13 @@ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "node_modules/js-waku": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.19.2.tgz", - "integrity": "sha512-aaMmCnV5BVxrssfLpvvv6RhasSb5YU77VU8D/Y6vZaJFNSWBWQTs1CAJzaNodUmq5k7WoEeoFjh+GiNjQp5AYw==", + "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", @@ -15916,13 +15917,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": { @@ -17023,11 +17023,6 @@ "tslib": "^2.0.3" } }, - "node_modules/node-addon-api": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz", - "integrity": "sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA==" - }, "node_modules/node-fetch": { "version": "1.7.3", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", @@ -17054,16 +17049,6 @@ "node": ">= 6.0.0" } }, - "node_modules/node-gyp-build": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.4.0.tgz", - "integrity": "sha512-amJnQCcgtRVw9SvoebO3BKGESClrfXGCUTX9hSn1OuGQTQBOZmVd0Z0OlecpuRksKvbsUqALE8jls/ErClAPuQ==", - "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", "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", @@ -21074,20 +21059,6 @@ "url": "https://opencollective.com/webpack" } }, - "node_modules/secp256k1": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.3.tgz", - "integrity": "sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA==", - "hasInstallScript": true, - "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", "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", @@ -36175,12 +36146,13 @@ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "js-waku": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/js-waku/-/js-waku-0.19.2.tgz", - "integrity": "sha512-aaMmCnV5BVxrssfLpvvv6RhasSb5YU77VU8D/Y6vZaJFNSWBWQTs1CAJzaNodUmq5k7WoEeoFjh+GiNjQp5AYw==", + "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", @@ -36189,13 +36161,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" } }, @@ -37105,11 +37076,6 @@ "tslib": "^2.0.3" } }, - "node-addon-api": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz", - "integrity": "sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA==" - }, "node-fetch": { "version": "1.7.3", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", @@ -37132,11 +37098,6 @@ "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", "dev": true }, - "node-gyp-build": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.4.0.tgz", - "integrity": "sha512-amJnQCcgtRVw9SvoebO3BKGESClrfXGCUTX9hSn1OuGQTQBOZmVd0Z0OlecpuRksKvbsUqALE8jls/ErClAPuQ==" - }, "node-int64": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", @@ -40010,16 +39971,6 @@ "ajv-keywords": "^3.5.2" } }, - "secp256k1": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.3.tgz", - "integrity": "sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA==", - "requires": { - "elliptic": "^6.5.4", - "node-addon-api": "^2.0.0", - "node-gyp-build": "^4.2.0" - } - }, "select-hose": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", diff --git a/examples/web-chat/package.json b/examples/web-chat/package.json index f5830fb9a7..31cb232d71 100644 --- a/examples/web-chat/package.json +++ b/examples/web-chat/package.json @@ -10,7 +10,7 @@ "crypto-browserify": "^3.12.0", "http-browserify": "^1.7.0", "https-browserify": "^1.0.0", - "js-waku": "^0.19.2", + "js-waku": "^0.22.0", "process": "^0.11.10", "react": "^18.1.0", "react-dom": "^18.1.0",