diff --git a/package-lock.json b/package-lock.json index ed8dcbc662..2d5051038d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6801,7 +6801,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/app-root-path/-/app-root-path-3.1.0.tgz", "integrity": "sha512-biN3PwB2gUtjaYy/isrU3aNWI5w+fAfvHkSvCKeQGxhmYpwKFUxudR3Yya+KqVRHBmEDYh+/lTozYCFbmzX4nA==", - "dev": true, "engines": { "node": ">= 6.0.0" } @@ -11368,7 +11367,6 @@ "version": "2.25.0", "resolved": "https://registry.npmjs.org/fast-check/-/fast-check-2.25.0.tgz", "integrity": "sha512-wRUT2KD2lAmT75WNIJIHECawoUUMHM0I5jrlLXGtGeqmPL8jl/EldUDjY1VCp6fDY8yflyfUeIOsOBrIbIiArg==", - "dev": true, "dependencies": { "pure-rand": "^5.0.1" }, @@ -16617,7 +16615,6 @@ "version": "0.5.6", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", - "dev": true, "dependencies": { "minimist": "^1.2.6" }, @@ -22091,7 +22088,6 @@ "version": "1.0.32", "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.32.tgz", "integrity": "sha512-on2ZJVVDXRADWE6jnQaX0ioEylzgBpQk8r55NE4wjXW1ZxO+BgDlY6DXwj20i0V8eB4SenDQ00WEaxfiIQPcxg==", - "dev": true, "dependencies": { "async": "^2.6.4", "debug": "^3.2.7", @@ -22105,7 +22101,6 @@ "version": "3.2.7", "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, "dependencies": { "ms": "^2.1.1" } @@ -22971,7 +22966,6 @@ "version": "5.0.3", "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-5.0.3.tgz", "integrity": "sha512-9N8x1h8dptBQpHyC7aZMS+iNOAm97WMGY0AFrguU1cpfW3I5jINkWe5BIY5md0ofy+1TCIELsVcm/GJXZSaPbw==", - "dev": true, "funding": { "type": "opencollective", "url": "https://opencollective.com/fast-check" @@ -25459,7 +25453,6 @@ "version": "2.2.4", "resolved": "https://registry.npmjs.org/tail/-/tail-2.2.4.tgz", "integrity": "sha512-PX8klSxW1u3SdgDrDeewh5GNE+hkJ4h02JvHfV6YrHqWOVJ88nUdSQqtsUf/gWhgZlPAws3fiZ+F1f8euspcuQ==", - "dev": true, "engines": { "node": ">= 6.0.0" } @@ -27399,7 +27392,7 @@ }, "packages/core": { "name": "@waku/core", - "version": "0.0.8", + "version": "0.0.9", "license": "MIT OR Apache-2.0", "dependencies": { "@chainsafe/libp2p-gossipsub": "^5.2.1", @@ -27419,7 +27412,9 @@ "@waku/libp2p-utils": "*", "@waku/peer-exchange": "*", "@waku/proto": "*", + "chai": "^4.3.4", "debug": "^4.3.4", + "fast-check": "^2.14.0", "it-all": "^1.0.6", "it-length-prefixed": "^8.0.2", "it-pipe": "^2.0.4", @@ -27443,7 +27438,6 @@ "@typescript-eslint/eslint-plugin": "^5.8.1", "@typescript-eslint/parser": "^5.8.1", "app-root-path": "^3.0.0", - "chai": "^4.3.4", "cspell": "^6.17.0", "eslint": "^8.6.0", "eslint-config-prettier": "^8.3.0", @@ -27451,7 +27445,6 @@ "eslint-plugin-functional": "^4.0.2", "eslint-plugin-import": "^2.25.3", "eslint-plugin-prettier": "^4.0.0", - "fast-check": "^2.14.0", "gh-pages": "^3.2.3", "ignore-loader": "^0.1.2", "isomorphic-fetch": "^3.0.0", @@ -27555,6 +27548,7 @@ "@waku/byte-utils": "*", "@waku/enr": "*", "@waku/libp2p-utils": "*", + "chai": "^4.3.4", "debug": "^4.3.4", "dns-query": "^0.11.2", "hi-base32": "^0.5.1", @@ -27570,7 +27564,6 @@ "@typescript-eslint/eslint-plugin": "^5.8.1", "@typescript-eslint/parser": "^5.8.1", "@waku/interfaces": "*", - "chai": "^4.3.4", "cspell": "^6.17.0", "eslint": "^8.6.0", "eslint-config-prettier": "^8.3.0", @@ -27599,6 +27592,8 @@ "@multiformats/multiaddr": "^11.0.6", "@noble/secp256k1": "^1.3.4", "@waku/byte-utils": "*", + "chai": "^4.3.6", + "debug": "^4.3.4", "js-sha3": "^0.8.0" }, "devDependencies": { @@ -27609,9 +27604,7 @@ "@typescript-eslint/eslint-plugin": "^5.8.1", "@typescript-eslint/parser": "^5.8.1", "@waku/interfaces": "*", - "chai": "^4.3.6", "cspell": "^6.17.0", - "debug": "^4.3.4", "eslint": "^8.6.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-eslint-comments": "^3.2.0", @@ -27669,7 +27662,8 @@ "@libp2p/interface-peer-info": "^1.0.1", "@libp2p/interface-peer-store": "^1.2.3", "@libp2p/peer-id": "^1.1.10", - "@multiformats/multiaddr": "^11.0.6" + "@multiformats/multiaddr": "^11.0.6", + "debug": "^4.3.4" }, "devDependencies": { "@rollup/plugin-commonjs": "^22.0.0", @@ -27678,7 +27672,6 @@ "@typescript-eslint/eslint-plugin": "^5.8.1", "@typescript-eslint/parser": "^5.8.1", "cspell": "^6.17.0", - "debug": "^4.3.4", "eslint": "^8.6.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-eslint-comments": "^3.2.0", @@ -27704,6 +27697,9 @@ "@waku/core": "*", "@waku/interfaces": "*", "@waku/proto": "*", + "chai": "^4.3.6", + "debug": "^4.3.4", + "fast-check": "^2.14.0", "js-sha3": "^0.8.0" }, "devDependencies": { @@ -27712,16 +27708,13 @@ "@rollup/plugin-node-resolve": "^13.3.0", "@typescript-eslint/eslint-plugin": "^5.8.1", "@typescript-eslint/parser": "^5.8.1", - "chai": "^4.3.6", "cspell": "^6.17.0", - "debug": "^4.3.4", "eslint": "^8.6.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-functional": "^4.0.2", "eslint-plugin-import": "^2.25.3", "eslint-plugin-prettier": "^4.0.0", - "fast-check": "^2.14.0", "npm-run-all": "^4.1.5", "prettier": "^2.1.1", "rollup": "^2.75.0", @@ -27818,30 +27811,32 @@ "@waku/byte-utils": "*", "@waku/core": "*", "@waku/create": "*", + "@waku/dns-discovery": "*", "@waku/enr": "*", "@waku/interfaces": "*", - "@waku/message-encryption": "*" + "@waku/message-encryption": "*", + "@waku/peer-exchange": "*", + "app-root-path": "^3.0.0", + "chai": "^4.3.6", + "debug": "^4.3.4", + "mocha": "^9.1.3", + "p-timeout": "^6.0.0", + "portfinder": "^1.0.28", + "tail": "^2.2.0" }, "devDependencies": { "@libp2p/bootstrap": "^5.0.0", "@typescript-eslint/eslint-plugin": "^5.8.1", "@typescript-eslint/parser": "^5.8.1", - "app-root-path": "^3.0.0", - "chai": "^4.3.6", "cspell": "^6.17.0", - "debug": "^4.3.4", "eslint": "^8.6.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-functional": "^4.0.2", "eslint-plugin-import": "^2.25.3", "eslint-plugin-prettier": "^4.0.0", - "mocha": "^9.1.3", "npm-run-all": "^4.1.5", - "p-timeout": "^6.0.0", - "portfinder": "^1.0.28", "prettier": "^2.1.1", - "tail": "^2.2.0", "typescript": "^4.6.3" }, "engines": { @@ -31985,9 +31980,11 @@ "@waku/byte-utils": "*", "@waku/core": "*", "@waku/create": "*", + "@waku/dns-discovery": "*", "@waku/enr": "*", "@waku/interfaces": "*", "@waku/message-encryption": "*", + "@waku/peer-exchange": "*", "app-root-path": "^3.0.0", "chai": "^4.3.6", "cspell": "^6.17.0", @@ -33262,8 +33259,7 @@ "app-root-path": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/app-root-path/-/app-root-path-3.1.0.tgz", - "integrity": "sha512-biN3PwB2gUtjaYy/isrU3aNWI5w+fAfvHkSvCKeQGxhmYpwKFUxudR3Yya+KqVRHBmEDYh+/lTozYCFbmzX4nA==", - "dev": true + "integrity": "sha512-biN3PwB2gUtjaYy/isrU3aNWI5w+fAfvHkSvCKeQGxhmYpwKFUxudR3Yya+KqVRHBmEDYh+/lTozYCFbmzX4nA==" }, "append-transform": { "version": "2.0.0", @@ -36534,7 +36530,6 @@ "version": "2.25.0", "resolved": "https://registry.npmjs.org/fast-check/-/fast-check-2.25.0.tgz", "integrity": "sha512-wRUT2KD2lAmT75WNIJIHECawoUUMHM0I5jrlLXGtGeqmPL8jl/EldUDjY1VCp6fDY8yflyfUeIOsOBrIbIiArg==", - "dev": true, "requires": { "pure-rand": "^5.0.1" } @@ -40305,7 +40300,6 @@ "version": "0.5.6", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", - "dev": true, "requires": { "minimist": "^1.2.6" } @@ -43956,7 +43950,6 @@ "version": "1.0.32", "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.32.tgz", "integrity": "sha512-on2ZJVVDXRADWE6jnQaX0ioEylzgBpQk8r55NE4wjXW1ZxO+BgDlY6DXwj20i0V8eB4SenDQ00WEaxfiIQPcxg==", - "dev": true, "requires": { "async": "^2.6.4", "debug": "^3.2.7", @@ -43967,7 +43960,6 @@ "version": "3.2.7", "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, "requires": { "ms": "^2.1.1" } @@ -44587,8 +44579,7 @@ "pure-rand": { "version": "5.0.3", "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-5.0.3.tgz", - "integrity": "sha512-9N8x1h8dptBQpHyC7aZMS+iNOAm97WMGY0AFrguU1cpfW3I5jINkWe5BIY5md0ofy+1TCIELsVcm/GJXZSaPbw==", - "dev": true + "integrity": "sha512-9N8x1h8dptBQpHyC7aZMS+iNOAm97WMGY0AFrguU1cpfW3I5jINkWe5BIY5md0ofy+1TCIELsVcm/GJXZSaPbw==" }, "q": { "version": "1.5.1", @@ -46464,8 +46455,7 @@ "tail": { "version": "2.2.4", "resolved": "https://registry.npmjs.org/tail/-/tail-2.2.4.tgz", - "integrity": "sha512-PX8klSxW1u3SdgDrDeewh5GNE+hkJ4h02JvHfV6YrHqWOVJ88nUdSQqtsUf/gWhgZlPAws3fiZ+F1f8euspcuQ==", - "dev": true + "integrity": "sha512-PX8klSxW1u3SdgDrDeewh5GNE+hkJ4h02JvHfV6YrHqWOVJ88nUdSQqtsUf/gWhgZlPAws3fiZ+F1f8euspcuQ==" }, "tapable": { "version": "2.2.1", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 4b9182d521..c6975fb104 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -7,10 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [@waku/core@0.0.9] - 2023-01-18 + ### Changed - Removed `/vac/waku/relay/2.0.0-beta2` from `WakuRelay` protocols. - Moved `@chai` and `@fast-check` to `dependencies` list. +- Remove peer exchange from protocols to expect in `waitForRemotePeer` by default. ### Fixed @@ -643,7 +646,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [ReactJS Chat App example](./examples/web-chat). - [Typedoc Documentation](https://js-waku.wakuconnect.dev/). -[unreleased]: https://github.com/status-im/js-waku/compare/@waku/core@0.0.8...HEAD +[unreleased]: https://github.com/status-im/js-waku/compare/@waku/core@0.0.9...HEAD +[@waku/core@0.0.9]: https://github.com/waku-org/js-waku/compare/@waku/core@0.0.8...@waku/core@0.0.9 [@waku/core@0.0.8]: https://github.com/waku-org/js-waku/compare/@waku/core@0.0.7...@waku/core@0.0.8 [@waku/core@0.0.7]: https://github.com/waku-org/js-waku/compare/@waku/core@0.0.6...@waku/core@0.0.7 [@waku/core@0.0.6]: https://github.com/waku-org/js-waku/compare/@waku/core@0.0.5...@waku/core@0.0.6 diff --git a/packages/core/package.json b/packages/core/package.json index 2cd18de16d..0658420c93 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@waku/core", - "version": "0.0.8", + "version": "0.0.9", "description": "TypeScript implementation of the Waku v2 protocol", "types": "./dist/index.d.ts", "module": "./dist/index.js",