Merge branch 'master' of github.com:waku-org/js-waku into chore/bump-noble-secp256k1

This commit is contained in:
danisharora099 2023-08-21 13:37:08 +05:30
commit a0d632ce6b
No known key found for this signature in database
GPG Key ID: FBD2BF500037F135
4 changed files with 166 additions and 37 deletions

197
package-lock.json generated
View File

@ -2634,19 +2634,52 @@
}
},
"node_modules/@libp2p/peer-id-factory": {
"version": "2.0.4",
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@libp2p/peer-id-factory/-/peer-id-factory-3.0.3.tgz",
"integrity": "sha512-RsE1GbK0w4LxiGr9sU2fm23IHOGzCtCfmUD8LC9V8LwLgt+z62oNKbWzwbko+CeromngURDimdv3JpH9jw5OUA==",
"dev": true,
"license": "Apache-2.0 OR MIT",
"dependencies": {
"@libp2p/crypto": "^1.0.0",
"@libp2p/interface-keys": "^1.0.2",
"@libp2p/interface-peer-id": "^2.0.0",
"@libp2p/peer-id": "^2.0.0",
"multiformats": "^11.0.0",
"@libp2p/crypto": "^2.0.3",
"@libp2p/interface": "^0.1.2",
"@libp2p/peer-id": "^3.0.2",
"multiformats": "^12.0.1",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.0.0",
"uint8arrays": "^4.0.2"
},
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6"
}
},
"node_modules/@libp2p/peer-id-factory/node_modules/@libp2p/crypto": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.3.tgz",
"integrity": "sha512-VLhjdkJe8b/vedHp7SosDs62Yxq1i05Ej/YdVaEdWQdJsBRHCwbRlS4hPg3vm21U5hLF0g958r/927Vd/wamZw==",
"dev": true,
"dependencies": {
"@libp2p/interface": "^0.1.2",
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",
"multiformats": "^12.0.1",
"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/peer-id": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-3.0.2.tgz",
"integrity": "sha512-133qGXu9UBiqsYm7nBDJaAh4eiKe79DPLKF+/aRu0Z7gKcX7I0+LewEky4kBt3olhYQSF1CAnJIzD8Dmsn40Yw==",
"dev": true,
"dependencies": {
"@libp2p/interface": "^0.1.2",
"multiformats": "^12.0.1",
"uint8arrays": "^4.0.6"
}
},
"node_modules/@libp2p/peer-id-factory/node_modules/multiformats": {
"version": "12.0.1",
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz",
"integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==",
"dev": true,
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
@ -8629,10 +8662,11 @@
}
},
"node_modules/datastore-core": {
"version": "9.2.0",
"license": "Apache-2.0 OR MIT",
"version": "9.2.2",
"resolved": "https://registry.npmjs.org/datastore-core/-/datastore-core-9.2.2.tgz",
"integrity": "sha512-WFB1wVlD3Tr2yBZpJutPedBc18A4t0HvLOSksokYr/2nHBapplgnwkg2esI6xxctma+76FghhXx7G26khx2Uxg==",
"dependencies": {
"@libp2p/logger": "^2.0.0",
"@libp2p/logger": "^3.0.0",
"err-code": "^3.0.1",
"interface-store": "^5.0.0",
"it-all": "^3.0.1",
@ -8651,6 +8685,18 @@
"npm": ">=7.0.0"
}
},
"node_modules/datastore-core/node_modules/@libp2p/logger": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-3.0.2.tgz",
"integrity": "sha512-2JtRGBXiGfm1t5XneUIXQ2JusW7QwyYmxsW7hSAYS5J73RQJUicpt5le5obVRt7+OM39ei+nWEuC6Xvm1ugHkw==",
"dependencies": {
"@libp2p/interface": "^0.1.2",
"@multiformats/multiaddr": "^12.1.5",
"debug": "^4.3.4",
"interface-datastore": "^8.2.0",
"multiformats": "^12.0.1"
}
},
"node_modules/datastore-core/node_modules/it-filter": {
"version": "3.0.2",
"license": "Apache-2.0 OR MIT",
@ -8662,6 +8708,15 @@
"npm": ">=7.0.0"
}
},
"node_modules/datastore-core/node_modules/multiformats": {
"version": "12.0.1",
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz",
"integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==",
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
}
},
"node_modules/date-fns": {
"version": "1.30.1",
"dev": true,
@ -27425,10 +27480,20 @@
}
},
"node_modules/uint8arrays": {
"version": "4.0.4",
"license": "Apache-2.0 OR MIT",
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.6.tgz",
"integrity": "sha512-4ZesjQhqOU2Ip6GPReIwN60wRxIupavL8T0Iy36BBHr2qyMrNxsPJvr7vpS4eFt8F8kSguWUPad6ZM9izs/vyw==",
"dependencies": {
"multiformats": "^11.0.0"
"multiformats": "^12.0.1"
}
},
"node_modules/uint8arrays/node_modules/multiformats": {
"version": "12.0.1",
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz",
"integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==",
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
}
},
"node_modules/unbox-primitive": {
@ -28530,7 +28595,7 @@
},
"devDependencies": {
"@libp2p/peer-id": "^2.0.4",
"@libp2p/peer-id-factory": "^2.0.4",
"@libp2p/peer-id-factory": "^3.0.3",
"@multiformats/multiaddr": "^12.0.0",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-json": "^6.0.0",
@ -28569,7 +28634,7 @@
"js-sha3": "^0.8.0"
},
"devDependencies": {
"@libp2p/peer-id-factory": "^2.0.4",
"@libp2p/peer-id-factory": "^3.0.3",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
@ -28903,7 +28968,7 @@
"aegir": "^40.0.11",
"chai": "^4.3.7",
"cspell": "^7.0.0",
"datastore-core": "^9.2.0",
"datastore-core": "^9.2.2",
"debug": "^4.3.4",
"interface-datastore": "^8.2.3",
"libp2p": "^0.46.3",
@ -31074,17 +31139,53 @@
}
},
"@libp2p/peer-id-factory": {
"version": "2.0.4",
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@libp2p/peer-id-factory/-/peer-id-factory-3.0.3.tgz",
"integrity": "sha512-RsE1GbK0w4LxiGr9sU2fm23IHOGzCtCfmUD8LC9V8LwLgt+z62oNKbWzwbko+CeromngURDimdv3JpH9jw5OUA==",
"dev": true,
"requires": {
"@libp2p/crypto": "^1.0.0",
"@libp2p/interface-keys": "^1.0.2",
"@libp2p/interface-peer-id": "^2.0.0",
"@libp2p/peer-id": "^2.0.0",
"multiformats": "^11.0.0",
"@libp2p/crypto": "^2.0.3",
"@libp2p/interface": "^0.1.2",
"@libp2p/peer-id": "^3.0.2",
"multiformats": "^12.0.1",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.0.0",
"uint8arrays": "^4.0.2"
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6"
},
"dependencies": {
"@libp2p/crypto": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/@libp2p/crypto/-/crypto-2.0.3.tgz",
"integrity": "sha512-VLhjdkJe8b/vedHp7SosDs62Yxq1i05Ej/YdVaEdWQdJsBRHCwbRlS4hPg3vm21U5hLF0g958r/927Vd/wamZw==",
"dev": true,
"requires": {
"@libp2p/interface": "^0.1.2",
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",
"multiformats": "^12.0.1",
"node-forge": "^1.1.0",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6"
}
},
"@libp2p/peer-id": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/@libp2p/peer-id/-/peer-id-3.0.2.tgz",
"integrity": "sha512-133qGXu9UBiqsYm7nBDJaAh4eiKe79DPLKF+/aRu0Z7gKcX7I0+LewEky4kBt3olhYQSF1CAnJIzD8Dmsn40Yw==",
"dev": true,
"requires": {
"@libp2p/interface": "^0.1.2",
"multiformats": "^12.0.1",
"uint8arrays": "^4.0.6"
}
},
"multiformats": {
"version": "12.0.1",
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz",
"integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==",
"dev": true
}
}
},
"@libp2p/peer-store": {
@ -32835,7 +32936,7 @@
"version": "file:packages/dns-discovery",
"requires": {
"@libp2p/peer-id": "^2.0.4",
"@libp2p/peer-id-factory": "^2.0.4",
"@libp2p/peer-id-factory": "^3.0.3",
"@multiformats/multiaddr": "^12.0.0",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-json": "^6.0.0",
@ -32868,7 +32969,7 @@
"@ethersproject/rlp": "^5.7.0",
"@libp2p/crypto": "^1.0.17",
"@libp2p/peer-id": "^2.0.4",
"@libp2p/peer-id-factory": "^2.0.4",
"@libp2p/peer-id-factory": "^3.0.3",
"@multiformats/multiaddr": "^12.0.0",
"@noble/secp256k1": "^2.0.0",
"@rollup/plugin-commonjs": "^24.0.1",
@ -33118,7 +33219,7 @@
"app-root-path": "^3.1.0",
"chai": "^4.3.7",
"cspell": "^7.0.0",
"datastore-core": "^9.2.0",
"datastore-core": "^9.2.2",
"debug": "^4.3.4",
"dockerode": "^3.3.5",
"interface-datastore": "^8.2.3",
@ -35414,9 +35515,11 @@
"dev": true
},
"datastore-core": {
"version": "9.2.0",
"version": "9.2.2",
"resolved": "https://registry.npmjs.org/datastore-core/-/datastore-core-9.2.2.tgz",
"integrity": "sha512-WFB1wVlD3Tr2yBZpJutPedBc18A4t0HvLOSksokYr/2nHBapplgnwkg2esI6xxctma+76FghhXx7G26khx2Uxg==",
"requires": {
"@libp2p/logger": "^2.0.0",
"@libp2p/logger": "^3.0.0",
"err-code": "^3.0.1",
"interface-store": "^5.0.0",
"it-all": "^3.0.1",
@ -35431,11 +35534,28 @@
"uint8arrays": "^4.0.2"
},
"dependencies": {
"@libp2p/logger": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-3.0.2.tgz",
"integrity": "sha512-2JtRGBXiGfm1t5XneUIXQ2JusW7QwyYmxsW7hSAYS5J73RQJUicpt5le5obVRt7+OM39ei+nWEuC6Xvm1ugHkw==",
"requires": {
"@libp2p/interface": "^0.1.2",
"@multiformats/multiaddr": "^12.1.5",
"debug": "^4.3.4",
"interface-datastore": "^8.2.0",
"multiformats": "^12.0.1"
}
},
"it-filter": {
"version": "3.0.2",
"requires": {
"it-peekable": "^3.0.0"
}
},
"multiformats": {
"version": "12.0.1",
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz",
"integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ=="
}
}
},
@ -47052,9 +47172,18 @@
}
},
"uint8arrays": {
"version": "4.0.4",
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.6.tgz",
"integrity": "sha512-4ZesjQhqOU2Ip6GPReIwN60wRxIupavL8T0Iy36BBHr2qyMrNxsPJvr7vpS4eFt8F8kSguWUPad6ZM9izs/vyw==",
"requires": {
"multiformats": "^11.0.0"
"multiformats": "^12.0.1"
},
"dependencies": {
"multiformats": {
"version": "12.0.1",
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz",
"integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ=="
}
}
},
"unbox-primitive": {

View File

@ -60,7 +60,7 @@
},
"devDependencies": {
"@libp2p/peer-id": "^2.0.4",
"@libp2p/peer-id-factory": "^2.0.4",
"@libp2p/peer-id-factory": "^3.0.3",
"@multiformats/multiaddr": "^12.0.0",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-json": "^6.0.0",

View File

@ -61,7 +61,7 @@
"js-sha3": "^0.8.0"
},
"devDependencies": {
"@libp2p/peer-id-factory": "^2.0.4",
"@libp2p/peer-id-factory": "^3.0.3",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",

View File

@ -79,7 +79,7 @@
"@waku/message-encryption": "*",
"@waku/peer-exchange": "*",
"chai": "^4.3.7",
"datastore-core": "^9.2.0",
"datastore-core": "^9.2.2",
"cspell": "^7.0.0",
"debug": "^4.3.4",
"interface-datastore": "^8.2.3",