chore: bump rln version and use keystore better (#55)
This commit is contained in:
parent
a7594e60c1
commit
2316eaada6
|
@ -8,7 +8,7 @@
|
|||
"name": "rln-chat",
|
||||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"@waku/rln": "0.1.2-126bce3",
|
||||
"@waku/rln": "0.1.3",
|
||||
"@waku/sdk": "^0.0.22",
|
||||
"@waku/utils": "^0.0.14",
|
||||
"ethers": "^5.7.2",
|
||||
|
@ -48,11 +48,11 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@achingbrain/nat-port-mapper/node_modules/@libp2p/interface": {
|
||||
"version": "1.1.5",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.5.tgz",
|
||||
"integrity": "sha512-BjFgv/3VwEDNRcFKL4KW6g29IcUWUjaTJhyZVGWtodFuPjZsZHJgoQU7T/FFxDcfTdI90qpFbTREycOB+VL9NQ==",
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.6.tgz",
|
||||
"integrity": "sha512-CLz6TAZf+Mw1PCIU8pjMIct1uh3A1fIene2/t+E57Tw4uJLCBJE9CLed/Opxliy5RH0e32Aa6bi4QSXtkJTK7A==",
|
||||
"dependencies": {
|
||||
"@multiformats/multiaddr": "^12.1.14",
|
||||
"@multiformats/multiaddr": "^12.2.1",
|
||||
"it-pushable": "^3.2.3",
|
||||
"it-stream-types": "^2.0.1",
|
||||
"multiformats": "^13.1.0",
|
||||
|
@ -61,12 +61,12 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@achingbrain/nat-port-mapper/node_modules/@libp2p/logger": {
|
||||
"version": "4.0.8",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-4.0.8.tgz",
|
||||
"integrity": "sha512-H8vdQdjkPxnR9JbjyWQpyc+hjuE18ONvZet3hyOFqUUi28LkNSNMaW3VozgL+Gvb/JyJ3Hzni4Wbiqs2+EOi3g==",
|
||||
"version": "4.0.9",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-4.0.9.tgz",
|
||||
"integrity": "sha512-eGjFvMGA2FtNrnQuI6YwYY5jviA00lTMAKi8pF3eH0TCnEokSYJ9LxBLwZNgIzrWuwZwO+sf4SsY1YBEisFf5Q==",
|
||||
"dependencies": {
|
||||
"@libp2p/interface": "^1.1.5",
|
||||
"@multiformats/multiaddr": "^12.1.14",
|
||||
"@libp2p/interface": "^1.1.6",
|
||||
"@multiformats/multiaddr": "^12.2.1",
|
||||
"debug": "^4.3.4",
|
||||
"interface-datastore": "^8.2.11",
|
||||
"multiformats": "^13.1.0"
|
||||
|
@ -89,9 +89,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@babel/runtime": {
|
||||
"version": "7.24.1",
|
||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.1.tgz",
|
||||
"integrity": "sha512-+BIznRzyqBf+2wCTxcKE3wDjfGeCoVE61KSHGpkzqrLi8qxqFwBeUFyId2cxkTmm55fzDGnm0+yCxaxygrLUnQ==",
|
||||
"version": "7.24.4",
|
||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.4.tgz",
|
||||
"integrity": "sha512-dkxf7+hn8mFBwKjs9bvBlArzLVxVbS8usaPUDd5p2a9JCL9tB8OaOVN1isD4+Xyk4ns89/xeOmbQvgdK7IIVdA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"regenerator-runtime": "^0.14.0"
|
||||
|
@ -1540,9 +1540,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@multiformats/dns": {
|
||||
"version": "1.0.5",
|
||||
"resolved": "https://registry.npmjs.org/@multiformats/dns/-/dns-1.0.5.tgz",
|
||||
"integrity": "sha512-qP42WXdmK5D0KTMervvkE9N1l+1WbReMk9UwCmvE6iPterZgtNcNO5LQVfUrl0xqajQG9wDlom+a8YwA+sa5KQ==",
|
||||
"version": "1.0.6",
|
||||
"resolved": "https://registry.npmjs.org/@multiformats/dns/-/dns-1.0.6.tgz",
|
||||
"integrity": "sha512-nt/5UqjMPtyvkG9BQYdJ4GfLK3nMqGpFZOzf4hAmIa0sJh2LlS9YKXZ4FgwBDsaHvzZqR/rUFIywIc7pkHNNuw==",
|
||||
"dependencies": {
|
||||
"@types/dns-packet": "^5.6.5",
|
||||
"buffer": "^6.0.3",
|
||||
|
@ -1612,11 +1612,11 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@multiformats/multiaddr/node_modules/@libp2p/interface": {
|
||||
"version": "1.1.5",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.5.tgz",
|
||||
"integrity": "sha512-BjFgv/3VwEDNRcFKL4KW6g29IcUWUjaTJhyZVGWtodFuPjZsZHJgoQU7T/FFxDcfTdI90qpFbTREycOB+VL9NQ==",
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.6.tgz",
|
||||
"integrity": "sha512-CLz6TAZf+Mw1PCIU8pjMIct1uh3A1fIene2/t+E57Tw4uJLCBJE9CLed/Opxliy5RH0e32Aa6bi4QSXtkJTK7A==",
|
||||
"dependencies": {
|
||||
"@multiformats/multiaddr": "^12.1.14",
|
||||
"@multiformats/multiaddr": "^12.2.1",
|
||||
"it-pushable": "^3.2.3",
|
||||
"it-stream-types": "^2.0.1",
|
||||
"multiformats": "^13.1.0",
|
||||
|
@ -1944,9 +1944,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@types/express-serve-static-core": {
|
||||
"version": "4.17.43",
|
||||
"resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.43.tgz",
|
||||
"integrity": "sha512-oaYtiBirUOPQGSWNGPWnzyAFJ0BP3cwvN4oWZQY+zUBwpVIGsKUkpBpSztp74drYcjavs7SKFZ4DX1V2QeN8rg==",
|
||||
"version": "4.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.0.tgz",
|
||||
"integrity": "sha512-bGyep3JqPCRry1wq+O5n7oiBgGWmeIJXPjXXCo8EK0u8duZGSYar7cGqd3ML2JUsLGeB7fmc06KYo9fLGWqPvQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@types/node": "*",
|
||||
|
@ -1989,9 +1989,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"node_modules/@types/node": {
|
||||
"version": "20.12.2",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.2.tgz",
|
||||
"integrity": "sha512-zQ0NYO87hyN6Xrclcqp7f8ZbXNbRfoGWNcMvHTPQp9UUrwI0mI7XBz+cu7/W6/VClYo2g63B0cjull/srU7LgQ==",
|
||||
"version": "20.12.5",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.5.tgz",
|
||||
"integrity": "sha512-BD+BjQ9LS/D8ST9p5uqBxghlN+S42iuNxjsUGjeZobe/ciXzk2qb1B6IXc6AnRLS+yFJRpN2IPEHMzwspfDJNw==",
|
||||
"dependencies": {
|
||||
"undici-types": "~5.26.4"
|
||||
}
|
||||
|
@ -2042,14 +2042,14 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@types/serve-static": {
|
||||
"version": "1.15.5",
|
||||
"resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.5.tgz",
|
||||
"integrity": "sha512-PDRk21MnK70hja/YF8AHfC7yIsiQHn1rcXx7ijCFBX/k+XQJhQT/gw3xekXKJvx+5SXaMMS8oqQy09Mzvz2TuQ==",
|
||||
"version": "1.15.7",
|
||||
"resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.7.tgz",
|
||||
"integrity": "sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@types/http-errors": "*",
|
||||
"@types/mime": "*",
|
||||
"@types/node": "*"
|
||||
"@types/node": "*",
|
||||
"@types/send": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/sockjs": {
|
||||
|
@ -2315,11 +2315,11 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@waku/dns-discovery/node_modules/@libp2p/interface": {
|
||||
"version": "1.1.5",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.5.tgz",
|
||||
"integrity": "sha512-BjFgv/3VwEDNRcFKL4KW6g29IcUWUjaTJhyZVGWtodFuPjZsZHJgoQU7T/FFxDcfTdI90qpFbTREycOB+VL9NQ==",
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.6.tgz",
|
||||
"integrity": "sha512-CLz6TAZf+Mw1PCIU8pjMIct1uh3A1fIene2/t+E57Tw4uJLCBJE9CLed/Opxliy5RH0e32Aa6bi4QSXtkJTK7A==",
|
||||
"dependencies": {
|
||||
"@multiformats/multiaddr": "^12.1.14",
|
||||
"@multiformats/multiaddr": "^12.2.1",
|
||||
"it-pushable": "^3.2.3",
|
||||
"it-stream-types": "^2.0.1",
|
||||
"multiformats": "^13.1.0",
|
||||
|
@ -2425,11 +2425,11 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@waku/peer-exchange/node_modules/@libp2p/interface": {
|
||||
"version": "1.1.5",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.5.tgz",
|
||||
"integrity": "sha512-BjFgv/3VwEDNRcFKL4KW6g29IcUWUjaTJhyZVGWtodFuPjZsZHJgoQU7T/FFxDcfTdI90qpFbTREycOB+VL9NQ==",
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.6.tgz",
|
||||
"integrity": "sha512-CLz6TAZf+Mw1PCIU8pjMIct1uh3A1fIene2/t+E57Tw4uJLCBJE9CLed/Opxliy5RH0e32Aa6bi4QSXtkJTK7A==",
|
||||
"dependencies": {
|
||||
"@multiformats/multiaddr": "^12.1.14",
|
||||
"@multiformats/multiaddr": "^12.2.1",
|
||||
"it-pushable": "^3.2.3",
|
||||
"it-stream-types": "^2.0.1",
|
||||
"multiformats": "^13.1.0",
|
||||
|
@ -2564,11 +2564,11 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@waku/relay/node_modules/@libp2p/interface": {
|
||||
"version": "1.1.5",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.5.tgz",
|
||||
"integrity": "sha512-BjFgv/3VwEDNRcFKL4KW6g29IcUWUjaTJhyZVGWtodFuPjZsZHJgoQU7T/FFxDcfTdI90qpFbTREycOB+VL9NQ==",
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.6.tgz",
|
||||
"integrity": "sha512-CLz6TAZf+Mw1PCIU8pjMIct1uh3A1fIene2/t+E57Tw4uJLCBJE9CLed/Opxliy5RH0e32Aa6bi4QSXtkJTK7A==",
|
||||
"dependencies": {
|
||||
"@multiformats/multiaddr": "^12.1.14",
|
||||
"@multiformats/multiaddr": "^12.2.1",
|
||||
"it-pushable": "^3.2.3",
|
||||
"it-stream-types": "^2.0.1",
|
||||
"multiformats": "^13.1.0",
|
||||
|
@ -2658,9 +2658,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@waku/rln": {
|
||||
"version": "0.1.2-126bce3",
|
||||
"resolved": "https://registry.npmjs.org/@waku/rln/-/rln-0.1.2-126bce3.tgz",
|
||||
"integrity": "sha512-KwV05DGDHWq3Q5X7Mhh1FVqMdaKVFboIFaeaxXsRQWKjSHDjyXSKCe5k4wL9pGx3brO8qd0cAsYxWqG0ql/PUQ==",
|
||||
"version": "0.1.3",
|
||||
"resolved": "https://registry.npmjs.org/@waku/rln/-/rln-0.1.3.tgz",
|
||||
"integrity": "sha512-em6oxCIQktOP8fze0/dAXg6odxagrUWRds+bns4JMVAuBoSFNhE6gJ2N2400aL0Okhk4A54mcB7t6Y761k4O+w==",
|
||||
"dependencies": {
|
||||
"@chainsafe/bls-keystore": "^3.0.0",
|
||||
"@waku/core": "^0.0.25",
|
||||
|
@ -2725,11 +2725,11 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@waku/sdk/node_modules/@libp2p/interface": {
|
||||
"version": "1.1.5",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.5.tgz",
|
||||
"integrity": "sha512-BjFgv/3VwEDNRcFKL4KW6g29IcUWUjaTJhyZVGWtodFuPjZsZHJgoQU7T/FFxDcfTdI90qpFbTREycOB+VL9NQ==",
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.6.tgz",
|
||||
"integrity": "sha512-CLz6TAZf+Mw1PCIU8pjMIct1uh3A1fIene2/t+E57Tw4uJLCBJE9CLed/Opxliy5RH0e32Aa6bi4QSXtkJTK7A==",
|
||||
"dependencies": {
|
||||
"@multiformats/multiaddr": "^12.1.14",
|
||||
"@multiformats/multiaddr": "^12.2.1",
|
||||
"it-pushable": "^3.2.3",
|
||||
"it-stream-types": "^2.0.1",
|
||||
"multiformats": "^13.1.0",
|
||||
|
@ -3710,9 +3710,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/caniuse-lite": {
|
||||
"version": "1.0.30001605",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001605.tgz",
|
||||
"integrity": "sha512-nXwGlFWo34uliI9z3n6Qc0wZaf7zaZWA1CPZ169La5mV3I/gem7bst0vr5XQH5TJXZIMfDeZyOrZnSlVzKxxHQ==",
|
||||
"version": "1.0.30001607",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001607.tgz",
|
||||
"integrity": "sha512-WcvhVRjXLKFB/kmOFVwELtMxyhq3iM/MvmXcyCe2PNf166c39mptscOc/45TTS96n2gpNV2z7+NakArTWZCQ3w==",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
{
|
||||
|
@ -4093,11 +4093,11 @@
|
|||
}
|
||||
},
|
||||
"node_modules/datastore-core/node_modules/@libp2p/interface": {
|
||||
"version": "1.1.5",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.5.tgz",
|
||||
"integrity": "sha512-BjFgv/3VwEDNRcFKL4KW6g29IcUWUjaTJhyZVGWtodFuPjZsZHJgoQU7T/FFxDcfTdI90qpFbTREycOB+VL9NQ==",
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.6.tgz",
|
||||
"integrity": "sha512-CLz6TAZf+Mw1PCIU8pjMIct1uh3A1fIene2/t+E57Tw4uJLCBJE9CLed/Opxliy5RH0e32Aa6bi4QSXtkJTK7A==",
|
||||
"dependencies": {
|
||||
"@multiformats/multiaddr": "^12.1.14",
|
||||
"@multiformats/multiaddr": "^12.2.1",
|
||||
"it-pushable": "^3.2.3",
|
||||
"it-stream-types": "^2.0.1",
|
||||
"multiformats": "^13.1.0",
|
||||
|
@ -4106,12 +4106,12 @@
|
|||
}
|
||||
},
|
||||
"node_modules/datastore-core/node_modules/@libp2p/logger": {
|
||||
"version": "4.0.8",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-4.0.8.tgz",
|
||||
"integrity": "sha512-H8vdQdjkPxnR9JbjyWQpyc+hjuE18ONvZet3hyOFqUUi28LkNSNMaW3VozgL+Gvb/JyJ3Hzni4Wbiqs2+EOi3g==",
|
||||
"version": "4.0.9",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-4.0.9.tgz",
|
||||
"integrity": "sha512-eGjFvMGA2FtNrnQuI6YwYY5jviA00lTMAKi8pF3eH0TCnEokSYJ9LxBLwZNgIzrWuwZwO+sf4SsY1YBEisFf5Q==",
|
||||
"dependencies": {
|
||||
"@libp2p/interface": "^1.1.5",
|
||||
"@multiformats/multiaddr": "^12.1.14",
|
||||
"@libp2p/interface": "^1.1.6",
|
||||
"@multiformats/multiaddr": "^12.2.1",
|
||||
"debug": "^4.3.4",
|
||||
"interface-datastore": "^8.2.11",
|
||||
"multiformats": "^13.1.0"
|
||||
|
@ -4329,9 +4329,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"node_modules/electron-to-chromium": {
|
||||
"version": "1.4.723",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.723.tgz",
|
||||
"integrity": "sha512-rxFVtrMGMFROr4qqU6n95rUi9IlfIm+lIAt+hOToy/9r6CDv0XiEcQdC3VP71y1pE5CFTzKV0RvxOGYCPWWHPw==",
|
||||
"version": "1.4.729",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.729.tgz",
|
||||
"integrity": "sha512-bx7+5Saea/qu14kmPTDHQxkp2UnziG3iajUQu3BxFvCOnpAJdDbMV4rSl+EqFDkkpNNVUFlR1kDfpL59xfy1HA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/elliptic": {
|
||||
|
@ -4382,9 +4382,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/envinfo": {
|
||||
"version": "7.11.1",
|
||||
"resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.11.1.tgz",
|
||||
"integrity": "sha512-8PiZgZNIB4q/Lw4AhOvAfB/ityHAd2bli3lESSWmWSzSsl5dKpy5N1d1Rfkd2teq/g9xN90lc6o98DOjMeYHpg==",
|
||||
"version": "7.12.0",
|
||||
"resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.12.0.tgz",
|
||||
"integrity": "sha512-Iw9rQJBGpJRd3rwXm9ft/JiGoAZmLxxJZELYDQoPRZ4USVhkKtIcNBPw6U+/K2mBpaqM25JSV6Yl4Az9vO2wJg==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"envinfo": "dist/cli.js"
|
||||
|
@ -9176,9 +9176,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/terser": {
|
||||
"version": "5.30.1",
|
||||
"resolved": "https://registry.npmjs.org/terser/-/terser-5.30.1.tgz",
|
||||
"integrity": "sha512-PJhOnRttZqqmIujxOQOMu4QuFGvh43lR7Youln3k6OJvmxwZ5FxK5rbCEh8XABRCpLf7ZnhrZuclCNCASsScnA==",
|
||||
"version": "5.30.3",
|
||||
"resolved": "https://registry.npmjs.org/terser/-/terser-5.30.3.tgz",
|
||||
"integrity": "sha512-STdUgOUx8rLbMGO9IOwHLpCqolkDITFFQSMYYwKE1N2lY6MVSaeoi10z/EhWxRc6ybqoVmKSkhKYH/XUpl7vSA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@jridgewell/source-map": "^0.3.3",
|
||||
|
@ -9429,9 +9429,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
"version": "5.4.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.3.tgz",
|
||||
"integrity": "sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==",
|
||||
"version": "5.4.4",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.4.tgz",
|
||||
"integrity": "sha512-dGE2Vv8cpVvw28v8HCPqyb08EzbBURxDpuhJvTrusShUfGnhHBafDsLdS1EhhxyL6BJQE+2cT3dDPAv+MQ6oLw==",
|
||||
"dev": true,
|
||||
"peer": true,
|
||||
"bin": {
|
||||
|
@ -10262,11 +10262,11 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@libp2p/interface": {
|
||||
"version": "1.1.5",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.5.tgz",
|
||||
"integrity": "sha512-BjFgv/3VwEDNRcFKL4KW6g29IcUWUjaTJhyZVGWtodFuPjZsZHJgoQU7T/FFxDcfTdI90qpFbTREycOB+VL9NQ==",
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.6.tgz",
|
||||
"integrity": "sha512-CLz6TAZf+Mw1PCIU8pjMIct1uh3A1fIene2/t+E57Tw4uJLCBJE9CLed/Opxliy5RH0e32Aa6bi4QSXtkJTK7A==",
|
||||
"requires": {
|
||||
"@multiformats/multiaddr": "^12.1.14",
|
||||
"@multiformats/multiaddr": "^12.2.1",
|
||||
"it-pushable": "^3.2.3",
|
||||
"it-stream-types": "^2.0.1",
|
||||
"multiformats": "^13.1.0",
|
||||
|
@ -10275,12 +10275,12 @@
|
|||
}
|
||||
},
|
||||
"@libp2p/logger": {
|
||||
"version": "4.0.8",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-4.0.8.tgz",
|
||||
"integrity": "sha512-H8vdQdjkPxnR9JbjyWQpyc+hjuE18ONvZet3hyOFqUUi28LkNSNMaW3VozgL+Gvb/JyJ3Hzni4Wbiqs2+EOi3g==",
|
||||
"version": "4.0.9",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-4.0.9.tgz",
|
||||
"integrity": "sha512-eGjFvMGA2FtNrnQuI6YwYY5jviA00lTMAKi8pF3eH0TCnEokSYJ9LxBLwZNgIzrWuwZwO+sf4SsY1YBEisFf5Q==",
|
||||
"requires": {
|
||||
"@libp2p/interface": "^1.1.5",
|
||||
"@multiformats/multiaddr": "^12.1.14",
|
||||
"@libp2p/interface": "^1.1.6",
|
||||
"@multiformats/multiaddr": "^12.2.1",
|
||||
"debug": "^4.3.4",
|
||||
"interface-datastore": "^8.2.11",
|
||||
"multiformats": "^13.1.0"
|
||||
|
@ -10305,9 +10305,9 @@
|
|||
}
|
||||
},
|
||||
"@babel/runtime": {
|
||||
"version": "7.24.1",
|
||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.1.tgz",
|
||||
"integrity": "sha512-+BIznRzyqBf+2wCTxcKE3wDjfGeCoVE61KSHGpkzqrLi8qxqFwBeUFyId2cxkTmm55fzDGnm0+yCxaxygrLUnQ==",
|
||||
"version": "7.24.4",
|
||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.4.tgz",
|
||||
"integrity": "sha512-dkxf7+hn8mFBwKjs9bvBlArzLVxVbS8usaPUDd5p2a9JCL9tB8OaOVN1isD4+Xyk4ns89/xeOmbQvgdK7IIVdA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"regenerator-runtime": "^0.14.0"
|
||||
|
@ -11346,9 +11346,9 @@
|
|||
}
|
||||
},
|
||||
"@multiformats/dns": {
|
||||
"version": "1.0.5",
|
||||
"resolved": "https://registry.npmjs.org/@multiformats/dns/-/dns-1.0.5.tgz",
|
||||
"integrity": "sha512-qP42WXdmK5D0KTMervvkE9N1l+1WbReMk9UwCmvE6iPterZgtNcNO5LQVfUrl0xqajQG9wDlom+a8YwA+sa5KQ==",
|
||||
"version": "1.0.6",
|
||||
"resolved": "https://registry.npmjs.org/@multiformats/dns/-/dns-1.0.6.tgz",
|
||||
"integrity": "sha512-nt/5UqjMPtyvkG9BQYdJ4GfLK3nMqGpFZOzf4hAmIa0sJh2LlS9YKXZ4FgwBDsaHvzZqR/rUFIywIc7pkHNNuw==",
|
||||
"requires": {
|
||||
"@types/dns-packet": "^5.6.5",
|
||||
"buffer": "^6.0.3",
|
||||
|
@ -11397,11 +11397,11 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@libp2p/interface": {
|
||||
"version": "1.1.5",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.5.tgz",
|
||||
"integrity": "sha512-BjFgv/3VwEDNRcFKL4KW6g29IcUWUjaTJhyZVGWtodFuPjZsZHJgoQU7T/FFxDcfTdI90qpFbTREycOB+VL9NQ==",
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.6.tgz",
|
||||
"integrity": "sha512-CLz6TAZf+Mw1PCIU8pjMIct1uh3A1fIene2/t+E57Tw4uJLCBJE9CLed/Opxliy5RH0e32Aa6bi4QSXtkJTK7A==",
|
||||
"requires": {
|
||||
"@multiformats/multiaddr": "^12.1.14",
|
||||
"@multiformats/multiaddr": "^12.2.1",
|
||||
"it-pushable": "^3.2.3",
|
||||
"it-stream-types": "^2.0.1",
|
||||
"multiformats": "^13.1.0",
|
||||
|
@ -11703,9 +11703,9 @@
|
|||
}
|
||||
},
|
||||
"@types/express-serve-static-core": {
|
||||
"version": "4.17.43",
|
||||
"resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.43.tgz",
|
||||
"integrity": "sha512-oaYtiBirUOPQGSWNGPWnzyAFJ0BP3cwvN4oWZQY+zUBwpVIGsKUkpBpSztp74drYcjavs7SKFZ4DX1V2QeN8rg==",
|
||||
"version": "4.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.0.tgz",
|
||||
"integrity": "sha512-bGyep3JqPCRry1wq+O5n7oiBgGWmeIJXPjXXCo8EK0u8duZGSYar7cGqd3ML2JUsLGeB7fmc06KYo9fLGWqPvQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/node": "*",
|
||||
|
@ -11748,9 +11748,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"@types/node": {
|
||||
"version": "20.12.2",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.2.tgz",
|
||||
"integrity": "sha512-zQ0NYO87hyN6Xrclcqp7f8ZbXNbRfoGWNcMvHTPQp9UUrwI0mI7XBz+cu7/W6/VClYo2g63B0cjull/srU7LgQ==",
|
||||
"version": "20.12.5",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.5.tgz",
|
||||
"integrity": "sha512-BD+BjQ9LS/D8ST9p5uqBxghlN+S42iuNxjsUGjeZobe/ciXzk2qb1B6IXc6AnRLS+yFJRpN2IPEHMzwspfDJNw==",
|
||||
"requires": {
|
||||
"undici-types": "~5.26.4"
|
||||
}
|
||||
|
@ -11801,14 +11801,14 @@
|
|||
}
|
||||
},
|
||||
"@types/serve-static": {
|
||||
"version": "1.15.5",
|
||||
"resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.5.tgz",
|
||||
"integrity": "sha512-PDRk21MnK70hja/YF8AHfC7yIsiQHn1rcXx7ijCFBX/k+XQJhQT/gw3xekXKJvx+5SXaMMS8oqQy09Mzvz2TuQ==",
|
||||
"version": "1.15.7",
|
||||
"resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.7.tgz",
|
||||
"integrity": "sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/http-errors": "*",
|
||||
"@types/mime": "*",
|
||||
"@types/node": "*"
|
||||
"@types/node": "*",
|
||||
"@types/send": "*"
|
||||
}
|
||||
},
|
||||
"@types/sockjs": {
|
||||
|
@ -11999,11 +11999,11 @@
|
|||
}
|
||||
},
|
||||
"@libp2p/interface": {
|
||||
"version": "1.1.5",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.5.tgz",
|
||||
"integrity": "sha512-BjFgv/3VwEDNRcFKL4KW6g29IcUWUjaTJhyZVGWtodFuPjZsZHJgoQU7T/FFxDcfTdI90qpFbTREycOB+VL9NQ==",
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.6.tgz",
|
||||
"integrity": "sha512-CLz6TAZf+Mw1PCIU8pjMIct1uh3A1fIene2/t+E57Tw4uJLCBJE9CLed/Opxliy5RH0e32Aa6bi4QSXtkJTK7A==",
|
||||
"requires": {
|
||||
"@multiformats/multiaddr": "^12.1.14",
|
||||
"@multiformats/multiaddr": "^12.2.1",
|
||||
"it-pushable": "^3.2.3",
|
||||
"it-stream-types": "^2.0.1",
|
||||
"multiformats": "^13.1.0",
|
||||
|
@ -12098,11 +12098,11 @@
|
|||
}
|
||||
},
|
||||
"@libp2p/interface": {
|
||||
"version": "1.1.5",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.5.tgz",
|
||||
"integrity": "sha512-BjFgv/3VwEDNRcFKL4KW6g29IcUWUjaTJhyZVGWtodFuPjZsZHJgoQU7T/FFxDcfTdI90qpFbTREycOB+VL9NQ==",
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.6.tgz",
|
||||
"integrity": "sha512-CLz6TAZf+Mw1PCIU8pjMIct1uh3A1fIene2/t+E57Tw4uJLCBJE9CLed/Opxliy5RH0e32Aa6bi4QSXtkJTK7A==",
|
||||
"requires": {
|
||||
"@multiformats/multiaddr": "^12.1.14",
|
||||
"@multiformats/multiaddr": "^12.2.1",
|
||||
"it-pushable": "^3.2.3",
|
||||
"it-stream-types": "^2.0.1",
|
||||
"multiformats": "^13.1.0",
|
||||
|
@ -12212,11 +12212,11 @@
|
|||
}
|
||||
},
|
||||
"@libp2p/interface": {
|
||||
"version": "1.1.5",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.5.tgz",
|
||||
"integrity": "sha512-BjFgv/3VwEDNRcFKL4KW6g29IcUWUjaTJhyZVGWtodFuPjZsZHJgoQU7T/FFxDcfTdI90qpFbTREycOB+VL9NQ==",
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.6.tgz",
|
||||
"integrity": "sha512-CLz6TAZf+Mw1PCIU8pjMIct1uh3A1fIene2/t+E57Tw4uJLCBJE9CLed/Opxliy5RH0e32Aa6bi4QSXtkJTK7A==",
|
||||
"requires": {
|
||||
"@multiformats/multiaddr": "^12.1.14",
|
||||
"@multiformats/multiaddr": "^12.2.1",
|
||||
"it-pushable": "^3.2.3",
|
||||
"it-stream-types": "^2.0.1",
|
||||
"multiformats": "^13.1.0",
|
||||
|
@ -12287,9 +12287,9 @@
|
|||
}
|
||||
},
|
||||
"@waku/rln": {
|
||||
"version": "0.1.2-126bce3",
|
||||
"resolved": "https://registry.npmjs.org/@waku/rln/-/rln-0.1.2-126bce3.tgz",
|
||||
"integrity": "sha512-KwV05DGDHWq3Q5X7Mhh1FVqMdaKVFboIFaeaxXsRQWKjSHDjyXSKCe5k4wL9pGx3brO8qd0cAsYxWqG0ql/PUQ==",
|
||||
"version": "0.1.3",
|
||||
"resolved": "https://registry.npmjs.org/@waku/rln/-/rln-0.1.3.tgz",
|
||||
"integrity": "sha512-em6oxCIQktOP8fze0/dAXg6odxagrUWRds+bns4JMVAuBoSFNhE6gJ2N2400aL0Okhk4A54mcB7t6Y761k4O+w==",
|
||||
"requires": {
|
||||
"@chainsafe/bls-keystore": "^3.0.0",
|
||||
"@waku/core": "^0.0.25",
|
||||
|
@ -12347,11 +12347,11 @@
|
|||
}
|
||||
},
|
||||
"@libp2p/interface": {
|
||||
"version": "1.1.5",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.5.tgz",
|
||||
"integrity": "sha512-BjFgv/3VwEDNRcFKL4KW6g29IcUWUjaTJhyZVGWtodFuPjZsZHJgoQU7T/FFxDcfTdI90qpFbTREycOB+VL9NQ==",
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.6.tgz",
|
||||
"integrity": "sha512-CLz6TAZf+Mw1PCIU8pjMIct1uh3A1fIene2/t+E57Tw4uJLCBJE9CLed/Opxliy5RH0e32Aa6bi4QSXtkJTK7A==",
|
||||
"requires": {
|
||||
"@multiformats/multiaddr": "^12.1.14",
|
||||
"@multiformats/multiaddr": "^12.2.1",
|
||||
"it-pushable": "^3.2.3",
|
||||
"it-stream-types": "^2.0.1",
|
||||
"multiformats": "^13.1.0",
|
||||
|
@ -13110,9 +13110,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"caniuse-lite": {
|
||||
"version": "1.0.30001605",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001605.tgz",
|
||||
"integrity": "sha512-nXwGlFWo34uliI9z3n6Qc0wZaf7zaZWA1CPZ169La5mV3I/gem7bst0vr5XQH5TJXZIMfDeZyOrZnSlVzKxxHQ==",
|
||||
"version": "1.0.30001607",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001607.tgz",
|
||||
"integrity": "sha512-WcvhVRjXLKFB/kmOFVwELtMxyhq3iM/MvmXcyCe2PNf166c39mptscOc/45TTS96n2gpNV2z7+NakArTWZCQ3w==",
|
||||
"dev": true
|
||||
},
|
||||
"chai": {
|
||||
|
@ -13399,11 +13399,11 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@libp2p/interface": {
|
||||
"version": "1.1.5",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.5.tgz",
|
||||
"integrity": "sha512-BjFgv/3VwEDNRcFKL4KW6g29IcUWUjaTJhyZVGWtodFuPjZsZHJgoQU7T/FFxDcfTdI90qpFbTREycOB+VL9NQ==",
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/interface/-/interface-1.1.6.tgz",
|
||||
"integrity": "sha512-CLz6TAZf+Mw1PCIU8pjMIct1uh3A1fIene2/t+E57Tw4uJLCBJE9CLed/Opxliy5RH0e32Aa6bi4QSXtkJTK7A==",
|
||||
"requires": {
|
||||
"@multiformats/multiaddr": "^12.1.14",
|
||||
"@multiformats/multiaddr": "^12.2.1",
|
||||
"it-pushable": "^3.2.3",
|
||||
"it-stream-types": "^2.0.1",
|
||||
"multiformats": "^13.1.0",
|
||||
|
@ -13412,12 +13412,12 @@
|
|||
}
|
||||
},
|
||||
"@libp2p/logger": {
|
||||
"version": "4.0.8",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-4.0.8.tgz",
|
||||
"integrity": "sha512-H8vdQdjkPxnR9JbjyWQpyc+hjuE18ONvZet3hyOFqUUi28LkNSNMaW3VozgL+Gvb/JyJ3Hzni4Wbiqs2+EOi3g==",
|
||||
"version": "4.0.9",
|
||||
"resolved": "https://registry.npmjs.org/@libp2p/logger/-/logger-4.0.9.tgz",
|
||||
"integrity": "sha512-eGjFvMGA2FtNrnQuI6YwYY5jviA00lTMAKi8pF3eH0TCnEokSYJ9LxBLwZNgIzrWuwZwO+sf4SsY1YBEisFf5Q==",
|
||||
"requires": {
|
||||
"@libp2p/interface": "^1.1.5",
|
||||
"@multiformats/multiaddr": "^12.1.14",
|
||||
"@libp2p/interface": "^1.1.6",
|
||||
"@multiformats/multiaddr": "^12.2.1",
|
||||
"debug": "^4.3.4",
|
||||
"interface-datastore": "^8.2.11",
|
||||
"multiformats": "^13.1.0"
|
||||
|
@ -13577,9 +13577,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"electron-to-chromium": {
|
||||
"version": "1.4.723",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.723.tgz",
|
||||
"integrity": "sha512-rxFVtrMGMFROr4qqU6n95rUi9IlfIm+lIAt+hOToy/9r6CDv0XiEcQdC3VP71y1pE5CFTzKV0RvxOGYCPWWHPw==",
|
||||
"version": "1.4.729",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.729.tgz",
|
||||
"integrity": "sha512-bx7+5Saea/qu14kmPTDHQxkp2UnziG3iajUQu3BxFvCOnpAJdDbMV4rSl+EqFDkkpNNVUFlR1kDfpL59xfy1HA==",
|
||||
"dev": true
|
||||
},
|
||||
"elliptic": {
|
||||
|
@ -13626,9 +13626,9 @@
|
|||
}
|
||||
},
|
||||
"envinfo": {
|
||||
"version": "7.11.1",
|
||||
"resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.11.1.tgz",
|
||||
"integrity": "sha512-8PiZgZNIB4q/Lw4AhOvAfB/ityHAd2bli3lESSWmWSzSsl5dKpy5N1d1Rfkd2teq/g9xN90lc6o98DOjMeYHpg==",
|
||||
"version": "7.12.0",
|
||||
"resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.12.0.tgz",
|
||||
"integrity": "sha512-Iw9rQJBGpJRd3rwXm9ft/JiGoAZmLxxJZELYDQoPRZ4USVhkKtIcNBPw6U+/K2mBpaqM25JSV6Yl4Az9vO2wJg==",
|
||||
"dev": true
|
||||
},
|
||||
"err-code": {
|
||||
|
@ -17213,9 +17213,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"terser": {
|
||||
"version": "5.30.1",
|
||||
"resolved": "https://registry.npmjs.org/terser/-/terser-5.30.1.tgz",
|
||||
"integrity": "sha512-PJhOnRttZqqmIujxOQOMu4QuFGvh43lR7Youln3k6OJvmxwZ5FxK5rbCEh8XABRCpLf7ZnhrZuclCNCASsScnA==",
|
||||
"version": "5.30.3",
|
||||
"resolved": "https://registry.npmjs.org/terser/-/terser-5.30.3.tgz",
|
||||
"integrity": "sha512-STdUgOUx8rLbMGO9IOwHLpCqolkDITFFQSMYYwKE1N2lY6MVSaeoi10z/EhWxRc6ybqoVmKSkhKYH/XUpl7vSA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@jridgewell/source-map": "^0.3.3",
|
||||
|
@ -17387,9 +17387,9 @@
|
|||
}
|
||||
},
|
||||
"typescript": {
|
||||
"version": "5.4.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.3.tgz",
|
||||
"integrity": "sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==",
|
||||
"version": "5.4.4",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.4.tgz",
|
||||
"integrity": "sha512-dGE2Vv8cpVvw28v8HCPqyb08EzbBURxDpuhJvTrusShUfGnhHBafDsLdS1EhhxyL6BJQE+2cT3dDPAv+MQ6oLw==",
|
||||
"dev": true,
|
||||
"peer": true
|
||||
},
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"start": "webpack-dev-server"
|
||||
},
|
||||
"dependencies": {
|
||||
"@waku/rln": "0.1.2-126bce3",
|
||||
"@waku/rln": "0.1.3",
|
||||
"@waku/sdk": "^0.0.22",
|
||||
"@waku/utils": "^0.0.14",
|
||||
"ethers": "^5.7.2",
|
||||
|
|
|
@ -28,9 +28,11 @@ export async function initRLN({ onStatusChange }) {
|
|||
try {
|
||||
onStatusChange("Connecting to Ethereum...");
|
||||
const localKeystore = readLocalKeystore();
|
||||
rln.keystore = Keystore.fromString(localKeystore);
|
||||
|
||||
await rln.start({ signer });
|
||||
await rln.start({
|
||||
signer,
|
||||
credentials: { keystore: localKeystore },
|
||||
});
|
||||
} catch (err) {
|
||||
onStatusChange(`Failed to connect to Ethereum: ${err}`, "error");
|
||||
throw Error(err);
|
||||
|
|
Loading…
Reference in New Issue