merge master into branch and resolve conflicts

This commit is contained in:
fbarbu15 2023-09-18 19:42:22 +03:00
commit 884d37634c
16 changed files with 150 additions and 180 deletions

View File

@ -16,7 +16,6 @@ on:
env:
NODE_JS: "18"
RETRY_ATTEMPTS: 3
jobs:
check:

View File

@ -16,7 +16,6 @@ on:
env:
NODE_JS: "18"
RETRY_ATTEMPTS: 3
WAKU_SERVICE_NODE_PARAMS: ${{ (inputs.test_type == 'go-waku-master') && '--min-relay-peers-to-publish=0' || '' }}
DEBUG: ${{ inputs.debug }}
@ -37,11 +36,8 @@ jobs:
- uses: ./.github/actions/npm
- run: npm run build:esm
- uses: Wandalen/wretry.action@master
with:
attempt_limit: ${{ env.RETRY_ATTEMPTS }}
command: ${{ (inputs.test_type == 'node-optional') && 'npm run test:optional --workspace=@waku/tests' || 'npm run test:node' }}
- run: ${{ (inputs.test_type == 'node-optional') && 'npm run test:optional --workspace=@waku/tests' || 'npm run test:node' }}
- name: Upload debug logs on failure
uses: actions/upload-artifact@v3

272
package-lock.json generated
View File

@ -2513,28 +2513,30 @@
}
},
"node_modules/@libp2p/mplex": {
"version": "9.0.2",
"license": "Apache-2.0 OR MIT",
"version": "9.0.5",
"resolved": "https://registry.npmjs.org/@libp2p/mplex/-/mplex-9.0.5.tgz",
"integrity": "sha512-cwg8ueB7xzwQbWt2da/Q5oPsm/6wk1GwNiGBiUsvy75h3qr6b1RNDuFJYkCSySI4mLvdTrkvthJCXHQMAW4Tvg==",
"dependencies": {
"@libp2p/interface": "^0.1.1",
"@libp2p/logger": "^3.0.1",
"@libp2p/interface": "^0.1.2",
"@libp2p/logger": "^3.0.2",
"abortable-iterator": "^5.0.1",
"benchmark": "^2.1.4",
"it-batched-bytes": "^2.0.2",
"it-pushable": "^3.2.0",
"it-stream-types": "^2.0.1",
"rate-limiter-flexible": "^2.3.11",
"uint8-varint": "^2.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.4",
"varint": "^6.0.0"
"uint8arrays": "^4.0.6"
}
},
"node_modules/@libp2p/mplex/node_modules/@libp2p/logger": {
"version": "3.0.1",
"license": "Apache-2.0 OR MIT",
"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.1",
"@multiformats/multiaddr": "^12.1.3",
"@libp2p/interface": "^0.1.2",
"@multiformats/multiaddr": "^12.1.5",
"debug": "^4.3.4",
"interface-datastore": "^8.2.0",
"multiformats": "^12.0.1"
@ -2549,13 +2551,23 @@
}
},
"node_modules/@libp2p/mplex/node_modules/multiformats": {
"version": "12.0.1",
"license": "Apache-2.0 OR MIT",
"version": "12.1.1",
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.1.tgz",
"integrity": "sha512-GBSToTmri2vJYs8wqcZQ8kB21dCaeTOzHTIAlr8J06C1eL6UbzqURXFZ5Fl0EYm9GAFz1IlYY8SxGOs9G9NJRg==",
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
}
},
"node_modules/@libp2p/mplex/node_modules/uint8-varint": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/uint8-varint/-/uint8-varint-2.0.1.tgz",
"integrity": "sha512-euvmpuulJstK5+xNuI4S1KfnxJnbI5QP52RXIR3GZ3/ZMkOsEK2AgCtFpNvEQLXMxMx2o0qcyevK1fJwOZJagQ==",
"dependencies": {
"uint8arraylist": "^2.0.0",
"uint8arrays": "^4.0.2"
}
},
"node_modules/@libp2p/multistream-select": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/@libp2p/multistream-select/-/multistream-select-4.0.2.tgz",
@ -8495,8 +8507,9 @@
}
},
"node_modules/datastore-core": {
"version": "9.2.2",
"license": "Apache-2.0 OR MIT",
"version": "9.2.3",
"resolved": "https://registry.npmjs.org/datastore-core/-/datastore-core-9.2.3.tgz",
"integrity": "sha512-jcvrVDt+jp7lUp2WhMXXgX/hoi3VcJebN+z/ZXbIRKOVfNOF4bl8cvr7sQ1y9qITikgC2coXFYd79Wzt/n13ZQ==",
"dependencies": {
"@libp2p/logger": "^3.0.0",
"err-code": "^3.0.1",
@ -8505,16 +8518,12 @@
"it-drain": "^3.0.1",
"it-filter": "^3.0.0",
"it-map": "^3.0.1",
"it-merge": "^3.0.0",
"it-merge": "^3.0.1",
"it-pipe": "^3.0.0",
"it-pushable": "^3.0.0",
"it-sort": "^3.0.1",
"it-take": "^3.0.1",
"uint8arrays": "^4.0.2"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
}
},
"node_modules/datastore-core/node_modules/@libp2p/logger": {
@ -12319,16 +12328,13 @@
"license": "ISC"
},
"node_modules/interface-datastore": {
"version": "8.2.4",
"license": "Apache-2.0 OR MIT",
"version": "8.2.5",
"resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-8.2.5.tgz",
"integrity": "sha512-kvLGJMz3RPoJF/g5DbEvfWWempIiSBLVMf63b0PBsziVcSkj0ofzHYI86v8vqpGedkQ81DtPCUKyvX9W7zWvrQ==",
"dependencies": {
"interface-store": "^5.0.0",
"nanoid": "^4.0.0",
"uint8arrays": "^4.0.2"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
}
},
"node_modules/interface-datastore/node_modules/nanoid": {
@ -13636,9 +13642,10 @@
"license": "MIT"
},
"node_modules/karma": {
"version": "6.4.1",
"version": "6.4.2",
"resolved": "https://registry.npmjs.org/karma/-/karma-6.4.2.tgz",
"integrity": "sha512-C6SU/53LB31BEgRg+omznBEMY4SjHU3ricV6zBcAe1EeILKkeScr+fZXtaI5WyDbkVowJxxAI6h73NcFPmXolQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@colors/colors": "1.5.0",
"body-parser": "^1.19.0",
@ -21817,16 +21824,13 @@
}
},
"node_modules/protons-runtime": {
"version": "5.0.0",
"license": "Apache-2.0 OR MIT",
"version": "5.0.2",
"resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.0.2.tgz",
"integrity": "sha512-eKppVrIS5dDh+Y61Yj4bDEOs2sQLQbQGIhr7EBiybPQhIMGBynzVXlYILPWl3Td1GDadobc8qevh5D+JwfG9bw==",
"dependencies": {
"protobufjs": "^7.0.0",
"uint8arraylist": "^2.4.3"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
},
"peerDependencies": {
"uint8arraylist": "^2.3.2"
}
@ -23456,9 +23460,9 @@
}
},
"node_modules/rollup": {
"version": "3.29.0",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.0.tgz",
"integrity": "sha512-nszM8DINnx1vSS+TpbWKMkxem0CDWk3cSit/WWCBVs9/JZ1I/XLwOsiUglYuYReaeWWSsW9kge5zE5NZtf/a4w==",
"version": "3.29.2",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.2.tgz",
"integrity": "sha512-CJouHoZ27v6siztc21eEQGo0kIcE5D1gVPA571ez0mMYb25LGYGKnVNXpEj5MGlepmDWGXNjDB5q7uNiPHC11A==",
"dev": true,
"bin": {
"rollup": "dist/bin/rollup"
@ -27009,7 +27013,7 @@
"fast-check": "^3.12.0",
"ignore-loader": "^0.1.2",
"isomorphic-fetch": "^3.0.0",
"karma": "^6.4.1",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-webpack": "^5.0.0",
@ -27017,7 +27021,7 @@
"npm-run-all": "^4.1.5",
"process": "^0.11.10",
"puppeteer": "^21.1.1",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
@ -27066,13 +27070,13 @@
"@waku/interfaces": "0.0.18",
"chai": "^4.3.7",
"cspell": "^7.3.2",
"karma": "^6.4.1",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-webpack": "^5.0.0",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"ts-loader": "^9.4.2",
"typescript": "^5.0.4"
},
@ -27105,7 +27109,7 @@
"@waku/interfaces": "0.0.18",
"chai": "^4.3.7",
"cspell": "^7.3.2",
"karma": "^6.4.1",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-webpack": "^5.0.0",
@ -27113,7 +27117,7 @@
"npm-run-all": "^4.1.5",
"process": "^0.11.10",
"puppeteer": "^21.1.1",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"ts-loader": "^9.4.2",
"typescript": "^5.0.4",
"uint8arrays": "^4.0.4"
@ -27161,7 +27165,7 @@
"chai": "^4.3.7",
"cspell": "^7.3.2",
"fast-check": "^3.12.0",
"karma": "^6.4.1",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-webpack": "^5.0.0",
@ -27169,7 +27173,7 @@
"npm-run-all": "^4.1.5",
"process": "^0.11.10",
"puppeteer": "^21.1.1",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"ts-loader": "^9.4.2",
"typescript": "^5.0.4"
},
@ -27199,7 +27203,7 @@
"fast-check": "^3.12.0",
"ignore-loader": "^0.1.2",
"isomorphic-fetch": "^3.0.0",
"karma": "^6.4.1",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-webpack": "^5.0.0",
@ -27207,7 +27211,7 @@
"npm-run-all": "^4.1.5",
"process": "^0.11.10",
"puppeteer": "^21.1.1",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
@ -27240,7 +27244,7 @@
"chai": "^4.3.7",
"cspell": "^7.3.2",
"npm-run-all": "^4.1.5",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"ts-loader": "^9.4.2",
"typescript": "^5.0.4",
"uint8arraylist": "^2.4.3"
@ -27254,7 +27258,7 @@
"version": "0.0.5",
"license": "MIT OR Apache-2.0",
"dependencies": {
"protons-runtime": "^5.0.0"
"protons-runtime": "^5.0.2"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.4",
@ -27264,7 +27268,7 @@
"cspell": "^7.3.2",
"npm-run-all": "^4.1.5",
"protons": "^7.0.2",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"typescript": "^5.0.4",
"uint8arraylist": "^2.4.3"
},
@ -27292,7 +27296,7 @@
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@waku/build-utils": "*",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
@ -27307,7 +27311,7 @@
"license": "MIT OR Apache-2.0",
"dependencies": {
"@chainsafe/libp2p-noise": "^13.0.0",
"@libp2p/mplex": "^9.0.2",
"@libp2p/mplex": "^9.0.5",
"@libp2p/websockets": "^7.0.5",
"@waku/core": "0.0.23",
"@waku/dns-discovery": "0.0.17",
@ -27324,55 +27328,15 @@
"@rollup/plugin-node-resolve": "^15.1.0",
"@waku/build-utils": "*",
"cspell": "^7.3.2",
"interface-datastore": "^7.0.4",
"interface-datastore": "^8.2.5",
"npm-run-all": "^4.1.5",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"typescript": "^5.0.4"
},
"engines": {
"node": ">=16"
}
},
"packages/sdk/node_modules/interface-datastore": {
"version": "7.0.4",
"dev": true,
"license": "Apache-2.0 OR MIT",
"dependencies": {
"interface-store": "^3.0.0",
"nanoid": "^4.0.0",
"uint8arrays": "^4.0.2"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
}
},
"packages/sdk/node_modules/interface-store": {
"version": "3.0.4",
"dev": true,
"license": "Apache-2.0 OR MIT",
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
}
},
"packages/sdk/node_modules/nanoid": {
"version": "4.0.2",
"dev": true,
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/ai"
}
],
"license": "MIT",
"bin": {
"nanoid": "bin/nanoid.js"
},
"engines": {
"node": "^14 || ^16 || >=18"
}
},
"packages/tests": {
"name": "@waku/tests",
"version": "0.0.1",
@ -27409,9 +27373,9 @@
"@waku/sdk": "*",
"chai": "^4.3.7",
"cspell": "^7.3.2",
"datastore-core": "^9.2.2",
"datastore-core": "^9.2.3",
"debug": "^4.3.4",
"interface-datastore": "^8.2.3",
"interface-datastore": "^8.2.5",
"libp2p": "^0.46.9",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
@ -27665,7 +27629,7 @@
"@waku/interfaces": "0.0.17",
"cspell": "^7.3.2",
"npm-run-all": "^4.1.5",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"typescript": "^5.0.4"
},
"engines": {
@ -29360,26 +29324,30 @@
}
},
"@libp2p/mplex": {
"version": "9.0.2",
"version": "9.0.5",
"resolved": "https://registry.npmjs.org/@libp2p/mplex/-/mplex-9.0.5.tgz",
"integrity": "sha512-cwg8ueB7xzwQbWt2da/Q5oPsm/6wk1GwNiGBiUsvy75h3qr6b1RNDuFJYkCSySI4mLvdTrkvthJCXHQMAW4Tvg==",
"requires": {
"@libp2p/interface": "^0.1.1",
"@libp2p/logger": "^3.0.1",
"@libp2p/interface": "^0.1.2",
"@libp2p/logger": "^3.0.2",
"abortable-iterator": "^5.0.1",
"benchmark": "^2.1.4",
"it-batched-bytes": "^2.0.2",
"it-pushable": "^3.2.0",
"it-stream-types": "^2.0.1",
"rate-limiter-flexible": "^2.3.11",
"uint8-varint": "^2.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.4",
"varint": "^6.0.0"
"uint8arrays": "^4.0.6"
},
"dependencies": {
"@libp2p/logger": {
"version": "3.0.1",
"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.1",
"@multiformats/multiaddr": "^12.1.3",
"@libp2p/interface": "^0.1.2",
"@multiformats/multiaddr": "^12.1.5",
"debug": "^4.3.4",
"interface-datastore": "^8.2.0",
"multiformats": "^12.0.1"
@ -29389,7 +29357,18 @@
"version": "2.0.1"
},
"multiformats": {
"version": "12.0.1"
"version": "12.1.1",
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.1.tgz",
"integrity": "sha512-GBSToTmri2vJYs8wqcZQ8kB21dCaeTOzHTIAlr8J06C1eL6UbzqURXFZ5Fl0EYm9GAFz1IlYY8SxGOs9G9NJRg=="
},
"uint8-varint": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/uint8-varint/-/uint8-varint-2.0.1.tgz",
"integrity": "sha512-euvmpuulJstK5+xNuI4S1KfnxJnbI5QP52RXIR3GZ3/ZMkOsEK2AgCtFpNvEQLXMxMx2o0qcyevK1fJwOZJagQ==",
"requires": {
"uint8arraylist": "^2.0.0",
"uint8arrays": "^4.0.2"
}
}
}
},
@ -31183,7 +31162,7 @@
"it-all": "^3.0.3",
"it-length-prefixed": "^9.0.1",
"it-pipe": "^3.0.1",
"karma": "^6.4.1",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-webpack": "^5.0.0",
@ -31192,7 +31171,7 @@
"p-event": "^5.0.1",
"process": "^0.11.10",
"puppeteer": "^21.1.1",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
@ -31224,13 +31203,13 @@
"debug": "^4.3.4",
"dns-query": "^0.11.2",
"hi-base32": "^0.5.1",
"karma": "^6.4.1",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-webpack": "^5.0.0",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"ts-loader": "^9.4.2",
"typescript": "^5.0.4",
"uint8arrays": "^4.0.4"
@ -31257,7 +31236,7 @@
"cspell": "^7.3.2",
"debug": "^4.3.4",
"js-sha3": "^0.8.0",
"karma": "^6.4.1",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-webpack": "^5.0.0",
@ -31265,7 +31244,7 @@
"npm-run-all": "^4.1.5",
"process": "^0.11.10",
"puppeteer": "^21.1.1",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"ts-loader": "^9.4.2",
"typescript": "^5.0.4",
"uint8arrays": "^4.0.4"
@ -31301,7 +31280,7 @@
"debug": "^4.3.4",
"fast-check": "^3.12.0",
"js-sha3": "^0.8.0",
"karma": "^6.4.1",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-webpack": "^5.0.0",
@ -31309,7 +31288,7 @@
"npm-run-all": "^4.1.5",
"process": "^0.11.10",
"puppeteer": "^21.1.1",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"ts-loader": "^9.4.2",
"typescript": "^5.0.4"
}
@ -31332,7 +31311,7 @@
"fast-check": "^3.12.0",
"ignore-loader": "^0.1.2",
"isomorphic-fetch": "^3.0.0",
"karma": "^6.4.1",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-webpack": "^5.0.0",
@ -31340,7 +31319,7 @@
"npm-run-all": "^4.1.5",
"process": "^0.11.10",
"puppeteer": "^21.1.1",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
@ -31366,7 +31345,7 @@
"it-length-prefixed": "^9.0.1",
"it-pipe": "^3.0.1",
"npm-run-all": "^4.1.5",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"ts-loader": "^9.4.2",
"typescript": "^5.0.4",
"uint8arraylist": "^2.4.3"
@ -31382,8 +31361,8 @@
"cspell": "^7.3.2",
"npm-run-all": "^4.1.5",
"protons": "^7.0.2",
"protons-runtime": "^5.0.0",
"rollup": "^3.29.0",
"protons-runtime": "^5.0.2",
"rollup": "^3.29.2",
"typescript": "^5.0.4",
"uint8arraylist": "^2.4.3"
}
@ -31404,7 +31383,7 @@
"chai": "^4.3.7",
"debug": "^4.3.4",
"fast-check": "^3.12.0",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
@ -31415,7 +31394,7 @@
"requires": {
"@chainsafe/libp2p-gossipsub": "^10.1.0",
"@chainsafe/libp2p-noise": "^13.0.0",
"@libp2p/mplex": "^9.0.2",
"@libp2p/mplex": "^9.0.5",
"@libp2p/websockets": "^7.0.5",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-json": "^6.0.0",
@ -31428,30 +31407,11 @@
"@waku/relay": "0.0.6",
"@waku/utils": "0.0.11",
"cspell": "^7.3.2",
"interface-datastore": "^7.0.4",
"interface-datastore": "^8.2.5",
"libp2p": "^0.46.9",
"npm-run-all": "^4.1.5",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"typescript": "^5.0.4"
},
"dependencies": {
"interface-datastore": {
"version": "7.0.4",
"dev": true,
"requires": {
"interface-store": "^3.0.0",
"nanoid": "^4.0.0",
"uint8arrays": "^4.0.2"
}
},
"interface-store": {
"version": "3.0.4",
"dev": true
},
"nanoid": {
"version": "4.0.2",
"dev": true
}
}
},
"@waku/tests": {
@ -31479,10 +31439,10 @@
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"cspell": "^7.3.2",
"datastore-core": "^9.2.2",
"datastore-core": "^9.2.3",
"debug": "^4.3.4",
"dockerode": "^3.3.5",
"interface-datastore": "^8.2.3",
"interface-datastore": "^8.2.5",
"libp2p": "^0.46.9",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
@ -31620,7 +31580,7 @@
"cspell": "^7.3.2",
"debug": "^4.3.4",
"npm-run-all": "^4.1.5",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"typescript": "^5.0.4",
"uint8arrays": "^4.0.4"
},
@ -33509,7 +33469,9 @@
"dev": true
},
"datastore-core": {
"version": "9.2.2",
"version": "9.2.3",
"resolved": "https://registry.npmjs.org/datastore-core/-/datastore-core-9.2.3.tgz",
"integrity": "sha512-jcvrVDt+jp7lUp2WhMXXgX/hoi3VcJebN+z/ZXbIRKOVfNOF4bl8cvr7sQ1y9qITikgC2coXFYd79Wzt/n13ZQ==",
"requires": {
"@libp2p/logger": "^3.0.0",
"err-code": "^3.0.1",
@ -33518,7 +33480,7 @@
"it-drain": "^3.0.1",
"it-filter": "^3.0.0",
"it-map": "^3.0.1",
"it-merge": "^3.0.0",
"it-merge": "^3.0.1",
"it-pipe": "^3.0.0",
"it-pushable": "^3.0.0",
"it-sort": "^3.0.1",
@ -35743,7 +35705,9 @@
"version": "1.3.8"
},
"interface-datastore": {
"version": "8.2.4",
"version": "8.2.5",
"resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-8.2.5.tgz",
"integrity": "sha512-kvLGJMz3RPoJF/g5DbEvfWWempIiSBLVMf63b0PBsziVcSkj0ofzHYI86v8vqpGedkQ81DtPCUKyvX9W7zWvrQ==",
"requires": {
"interface-store": "^5.0.0",
"nanoid": "^4.0.0",
@ -36476,7 +36440,9 @@
"version": "4.2.1"
},
"karma": {
"version": "6.4.1",
"version": "6.4.2",
"resolved": "https://registry.npmjs.org/karma/-/karma-6.4.2.tgz",
"integrity": "sha512-C6SU/53LB31BEgRg+omznBEMY4SjHU3ricV6zBcAe1EeILKkeScr+fZXtaI5WyDbkVowJxxAI6h73NcFPmXolQ==",
"dev": true,
"requires": {
"@colors/colors": "1.5.0",
@ -41626,7 +41592,9 @@
}
},
"protons-runtime": {
"version": "5.0.0",
"version": "5.0.2",
"resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.0.2.tgz",
"integrity": "sha512-eKppVrIS5dDh+Y61Yj4bDEOs2sQLQbQGIhr7EBiybPQhIMGBynzVXlYILPWl3Td1GDadobc8qevh5D+JwfG9bw==",
"requires": {
"protobufjs": "^7.0.0",
"uint8arraylist": "^2.4.3"
@ -42405,9 +42373,9 @@
}
},
"rollup": {
"version": "3.29.0",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.0.tgz",
"integrity": "sha512-nszM8DINnx1vSS+TpbWKMkxem0CDWk3cSit/WWCBVs9/JZ1I/XLwOsiUglYuYReaeWWSsW9kge5zE5NZtf/a4w==",
"version": "3.29.2",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.2.tgz",
"integrity": "sha512-CJouHoZ27v6siztc21eEQGo0kIcE5D1gVPA571ez0mMYb25LGYGKnVNXpEj5MGlepmDWGXNjDB5q7uNiPHC11A==",
"dev": true,
"requires": {
"fsevents": "~2.3.2"

View File

@ -99,7 +99,7 @@
"fast-check": "^3.12.0",
"ignore-loader": "^0.1.2",
"isomorphic-fetch": "^3.0.0",
"karma": "^6.4.1",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-webpack": "^5.0.0",
@ -107,7 +107,7 @@
"npm-run-all": "^4.1.5",
"process": "^0.11.10",
"puppeteer": "^21.1.1",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"

View File

@ -89,6 +89,12 @@ class Subscription {
async (source) => await all(source)
);
if (!res || !res.length) {
throw Error(
`No response received for request ${request.requestId}: ${res}`
);
}
const { statusCode, requestId, statusDesc } =
FilterSubscribeResponse.decode(res[0].slice());

View File

@ -70,13 +70,13 @@
"@waku/interfaces": "0.0.18",
"chai": "^4.3.7",
"cspell": "^7.3.2",
"karma": "^6.4.1",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-webpack": "^5.0.0",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"ts-loader": "^9.4.2",
"typescript": "^5.0.4"
},

View File

@ -71,7 +71,7 @@
"@waku/interfaces": "0.0.18",
"chai": "^4.3.7",
"cspell": "^7.3.2",
"karma": "^6.4.1",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-webpack": "^5.0.0",
@ -79,7 +79,7 @@
"npm-run-all": "^4.1.5",
"process": "^0.11.10",
"puppeteer": "^21.1.1",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"ts-loader": "^9.4.2",
"typescript": "^5.0.4",
"uint8arrays": "^4.0.4"

View File

@ -89,7 +89,7 @@
"chai": "^4.3.7",
"cspell": "^7.3.2",
"fast-check": "^3.12.0",
"karma": "^6.4.1",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-webpack": "^5.0.0",
@ -97,7 +97,7 @@
"npm-run-all": "^4.1.5",
"process": "^0.11.10",
"puppeteer": "^21.1.1",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"ts-loader": "^9.4.2",
"typescript": "^5.0.4"
},

View File

@ -67,7 +67,7 @@
"fast-check": "^3.12.0",
"ignore-loader": "^0.1.2",
"isomorphic-fetch": "^3.0.0",
"karma": "^6.4.1",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-webpack": "^5.0.0",
@ -75,7 +75,7 @@
"npm-run-all": "^4.1.5",
"process": "^0.11.10",
"puppeteer": "^21.1.1",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"

View File

@ -67,7 +67,7 @@
"chai": "^4.3.7",
"cspell": "^7.3.2",
"npm-run-all": "^4.1.5",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"ts-loader": "^9.4.2",
"typescript": "^5.0.4",
"uint8arraylist": "^2.4.3"

View File

@ -44,7 +44,7 @@
"node": ">=16"
},
"dependencies": {
"protons-runtime": "^5.0.0"
"protons-runtime": "^5.0.2"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.4",
@ -54,7 +54,7 @@
"cspell": "^7.3.2",
"npm-run-all": "^4.1.5",
"protons": "^7.0.2",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"typescript": "^5.0.4",
"uint8arraylist": "^2.4.3"
},

View File

@ -64,7 +64,7 @@
"@waku/build-utils": "*",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"

View File

@ -49,7 +49,7 @@
},
"dependencies": {
"@chainsafe/libp2p-noise": "^13.0.0",
"@libp2p/mplex": "^9.0.2",
"@libp2p/mplex": "^9.0.5",
"@libp2p/websockets": "^7.0.5",
"@waku/utils": "0.0.11",
"@waku/relay": "0.0.6",
@ -66,9 +66,9 @@
"@rollup/plugin-node-resolve": "^15.1.0",
"@waku/build-utils": "*",
"cspell": "^7.3.2",
"interface-datastore": "^7.0.4",
"interface-datastore": "^8.2.5",
"npm-run-all": "^4.1.5",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"typescript": "^5.0.4"
},
"typedoc": {

View File

@ -6,5 +6,6 @@
"experimental-specifier-resolution=node",
"loader=ts-node/esm"
],
"exit": true
"exit": true,
"retries": 3
}

View File

@ -81,9 +81,9 @@
"@waku/sdk": "*",
"chai": "^4.3.7",
"cspell": "^7.3.2",
"datastore-core": "^9.2.2",
"datastore-core": "^9.2.3",
"debug": "^4.3.4",
"interface-datastore": "^8.2.3",
"interface-datastore": "^8.2.5",
"libp2p": "^0.46.9",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",

View File

@ -77,7 +77,7 @@
"@waku/interfaces": "0.0.17",
"cspell": "^7.3.2",
"npm-run-all": "^4.1.5",
"rollup": "^3.29.0",
"rollup": "^3.29.2",
"typescript": "^5.0.4"
},
"typedoc": {