From ecfd85565198dfe169a7138b52fcb78235c93fa2 Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Fri, 23 Dec 2022 16:45:39 +1100 Subject: [PATCH 1/2] chore: update package lock --- package-lock.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index a1e412e8b3..a282a9e28e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,11 +6,11 @@ "": { "name": "@waku/root", "workspaces": [ - "packages/proto", "packages/byte-utils", - "packages/enr", - "packages/interfaces", "packages/libp2p-utils", + "packages/proto", + "packages/interfaces", + "packages/enr", "packages/peer-exchange", "packages/core", "packages/dns-discovery", @@ -27271,6 +27271,7 @@ "@rollup/plugin-node-resolve": "^13.3.0", "@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", @@ -27309,6 +27310,7 @@ "@rollup/plugin-node-resolve": "^13.3.0", "@typescript-eslint/eslint-plugin": "^5.8.1", "@typescript-eslint/parser": "^5.8.1", + "@waku/interfaces": "*", "chai": "^4.3.6", "cspell": "^6.17.0", "eslint": "^8.6.0", @@ -31340,6 +31342,7 @@ "@typescript-eslint/parser": "^5.8.1", "@waku/byte-utils": "*", "@waku/enr": "*", + "@waku/interfaces": "*", "@waku/libp2p-utils": "*", "chai": "^4.3.4", "cspell": "^6.17.0", @@ -31375,6 +31378,7 @@ "@typescript-eslint/eslint-plugin": "^5.8.1", "@typescript-eslint/parser": "^5.8.1", "@waku/byte-utils": "*", + "@waku/interfaces": "*", "chai": "^4.3.6", "cspell": "^6.17.0", "eslint": "^8.6.0", From d022d8700b0e6f51e8a177adc97cee8738270cbf Mon Sep 17 00:00:00 2001 From: Danish Arora <35004822+danisharora099@users.noreply.github.com> Date: Fri, 23 Dec 2022 17:08:41 +0530 Subject: [PATCH 2/2] chore: remove unused relay protocol identifier (#1063) * chore: remove unused relay protocol identifier * update: changelog --- packages/core/CHANGELOG.md | 4 ++++ packages/core/src/lib/relay/constants.ts | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index b4f5fb8b81..ce4cccbb6d 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- Removed `/vac/waku/relay/2.0.0-beta2` from `WakuRelay` protocols. + ### Fixed - Documentation links. diff --git a/packages/core/src/lib/relay/constants.ts b/packages/core/src/lib/relay/constants.ts index ba123de3cd..9dbc346a48 100644 --- a/packages/core/src/lib/relay/constants.ts +++ b/packages/core/src/lib/relay/constants.ts @@ -4,10 +4,7 @@ export const minute = 60 * second; /** * RelayCodec is the libp2p identifier for the waku relay protocol */ -export const RelayCodecs = [ - "/vac/waku/relay/2.0.0-beta2", - "/vac/waku/relay/2.0.0", -]; +export const RelayCodecs = ["/vac/waku/relay/2.0.0"]; export const RelayPingContentTopic = "/relay-ping/1/ping/null";