From cc128e8aa586fc73d7c0b9c6b0499f870c6aba29 Mon Sep 17 00:00:00 2001 From: Mohammad Kermani Date: Sun, 3 Nov 2024 14:13:58 +0330 Subject: [PATCH 1/2] chore: bump packages --- .changeset/eighty-news-peel.md | 5 ----- .changeset/lazy-laws-shout.md | 5 ----- ...-humans-reflect.md => popular-suns-burn.md} | 0 .changeset/seven-carrots-refuse.md | 5 ----- .changeset/silly-radios-shake.md | 2 -- .changeset/sweet-cars-cross.md | 2 -- .changeset/three-seahorses-travel.md | 2 -- .changeset/tough-insects-behave.md | 5 ----- package-lock.json | 18 +++++++++--------- packages/rosenet-node/CHANGELOG.md | 13 +++++++++++++ packages/rosenet-node/package.json | 4 ++-- packages/rosenet-relay/CHANGELOG.md | 7 +++++++ packages/rosenet-relay/package.json | 4 ++-- packages/utils/CHANGELOG.md | 6 ++++++ packages/utils/package.json | 2 +- tests/global/package.json | 4 ++-- tests/scale/package.json | 4 ++-- 17 files changed, 44 insertions(+), 44 deletions(-) delete mode 100644 .changeset/eighty-news-peel.md delete mode 100644 .changeset/lazy-laws-shout.md rename .changeset/{nice-humans-reflect.md => popular-suns-burn.md} (100%) delete mode 100644 .changeset/seven-carrots-refuse.md delete mode 100644 .changeset/silly-radios-shake.md delete mode 100644 .changeset/sweet-cars-cross.md delete mode 100644 .changeset/three-seahorses-travel.md delete mode 100644 .changeset/tough-insects-behave.md diff --git a/.changeset/eighty-news-peel.md b/.changeset/eighty-news-peel.md deleted file mode 100644 index 0fc995f..0000000 --- a/.changeset/eighty-news-peel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-node': minor ---- - -Add `getDiscoveredPeers` to public APIs for gettting a list of discovered peer ids diff --git a/.changeset/lazy-laws-shout.md b/.changeset/lazy-laws-shout.md deleted file mode 100644 index f1aeb88..0000000 --- a/.changeset/lazy-laws-shout.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-utils': minor ---- - -Add `readPrivateKeyFromFile` utility function for the management of a RoseNet private key in a file diff --git a/.changeset/nice-humans-reflect.md b/.changeset/popular-suns-burn.md similarity index 100% rename from .changeset/nice-humans-reflect.md rename to .changeset/popular-suns-burn.md diff --git a/.changeset/seven-carrots-refuse.md b/.changeset/seven-carrots-refuse.md deleted file mode 100644 index 520d009..0000000 --- a/.changeset/seven-carrots-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@rosen-bridge/rosenet-node": patch ---- - -Change level of peer id log to info diff --git a/.changeset/silly-radios-shake.md b/.changeset/silly-radios-shake.md deleted file mode 100644 index a845151..0000000 --- a/.changeset/silly-radios-shake.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/sweet-cars-cross.md b/.changeset/sweet-cars-cross.md deleted file mode 100644 index a845151..0000000 --- a/.changeset/sweet-cars-cross.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/three-seahorses-travel.md b/.changeset/three-seahorses-travel.md deleted file mode 100644 index a845151..0000000 --- a/.changeset/three-seahorses-travel.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/tough-insects-behave.md b/.changeset/tough-insects-behave.md deleted file mode 100644 index 5267966..0000000 --- a/.changeset/tough-insects-behave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-node': patch ---- - -Fix failing dials when nodes are behind a non-symmetric NAT diff --git a/package-lock.json b/package-lock.json index f792839..fd5dec0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9992,7 +9992,7 @@ }, "packages/rosenet-node": { "name": "@rosen-bridge/rosenet-node", - "version": "0.1.0", + "version": "0.2.0", "license": "GPL-3.0", "dependencies": { "@chainsafe/libp2p-gossipsub": "^13.2.0", @@ -10009,7 +10009,7 @@ "@libp2p/tcp": "^9.1.5", "@libp2p/utils": "^5.4.9", "@multiformats/multiaddr": "^12.3.0", - "@rosen-bridge/rosenet-utils": "^0.1.0", + "@rosen-bridge/rosenet-utils": "^0.2.0", "cockatiel": "^3.2.1", "fast-shuffle": "^6.1.0", "it-first": "^3.0.6", @@ -10391,7 +10391,7 @@ }, "packages/rosenet-relay": { "name": "@rosen-bridge/rosenet-relay", - "version": "0.1.0", + "version": "0.1.1", "license": "GPL-3.0", "dependencies": { "@chainsafe/libp2p-gossipsub": "^13.2.0", @@ -10405,7 +10405,7 @@ "@libp2p/tcp": "^9.1.5", "@libp2p/utils": "^5.4.9", "@rosen-bridge/logger-interface": "^0.2.0", - "@rosen-bridge/rosenet-utils": "^0.1.0", + "@rosen-bridge/rosenet-utils": "^0.2.0", "libp2p": "^1.9.2" }, "devDependencies": { @@ -10760,7 +10760,7 @@ }, "packages/utils": { "name": "@rosen-bridge/rosenet-utils", - "version": "0.1.0", + "version": "0.2.0", "license": "GPL-3.0", "dependencies": { "@libp2p/crypto": "^4.0.2", @@ -10818,8 +10818,8 @@ "dependencies": { "@influxdata/influxdb-client": "^1.35.0", "@rosen-bridge/abstract-logger": "^2.0.1", - "@rosen-bridge/rosenet-node": "^0.1.0", - "@rosen-bridge/rosenet-relay": "^0.1.0", + "@rosen-bridge/rosenet-node": "^0.2.0", + "@rosen-bridge/rosenet-relay": "^0.1.1", "@rosen-bridge/winston-logger": "^1.0.2", "extensionless": "^1.9.6", "lodash-es": "^4.17.21", @@ -10843,8 +10843,8 @@ "version": "0.0.0", "license": "GPL-3.0", "dependencies": { - "@rosen-bridge/rosenet-node": "^0.1.0", - "@rosen-bridge/rosenet-relay": "^0.1.0" + "@rosen-bridge/rosenet-node": "^0.2.0", + "@rosen-bridge/rosenet-relay": "^0.1.1" }, "devDependencies": { "@types/node": "^20.11.9", diff --git a/packages/rosenet-node/CHANGELOG.md b/packages/rosenet-node/CHANGELOG.md index a0a4728..5e4d91a 100644 --- a/packages/rosenet-node/CHANGELOG.md +++ b/packages/rosenet-node/CHANGELOG.md @@ -1,5 +1,18 @@ # @rosen-bridge/rosenet-node +## 0.2.0 + +### Minor Changes + +- Add `getDiscoveredPeers` to public APIs for gettting a list of discovered peer ids + +### Patch Changes + +- Change level of peer id log to info +- Fix failing dials when nodes are behind a non-symmetric NAT +- Updated dependencies + - @rosen-bridge/rosenet-utils@0.2.0 + ## 0.1.0 ### Minor Changes diff --git a/packages/rosenet-node/package.json b/packages/rosenet-node/package.json index 8664ca4..cda4990 100644 --- a/packages/rosenet-node/package.json +++ b/packages/rosenet-node/package.json @@ -1,6 +1,6 @@ { "name": "@rosen-bridge/rosenet-node", - "version": "0.1.0", + "version": "0.2.0", "description": "Rosen Bridge RoseNet node", "repository": "https://github.com/rosen-bridge/rosenet", "license": "GPL-3.0", @@ -50,7 +50,7 @@ "@libp2p/tcp": "^9.1.5", "@libp2p/utils": "^5.4.9", "@multiformats/multiaddr": "^12.3.0", - "@rosen-bridge/rosenet-utils": "^0.1.0", + "@rosen-bridge/rosenet-utils": "^0.2.0", "cockatiel": "^3.2.1", "fast-shuffle": "^6.1.0", "it-first": "^3.0.6", diff --git a/packages/rosenet-relay/CHANGELOG.md b/packages/rosenet-relay/CHANGELOG.md index 4512ec6..a65f99a 100644 --- a/packages/rosenet-relay/CHANGELOG.md +++ b/packages/rosenet-relay/CHANGELOG.md @@ -1,5 +1,12 @@ # @rosen-bridge/rosenet-relay +## 0.1.1 + +### Patch Changes + +- Updated dependencies + - @rosen-bridge/rosenet-utils@0.2.0 + ## 0.1.0 ### Minor Changes diff --git a/packages/rosenet-relay/package.json b/packages/rosenet-relay/package.json index 20fb808..8ec5289 100644 --- a/packages/rosenet-relay/package.json +++ b/packages/rosenet-relay/package.json @@ -1,6 +1,6 @@ { "name": "@rosen-bridge/rosenet-relay", - "version": "0.1.0", + "version": "0.1.1", "description": "Rosen Bridge RoseNet relay", "repository": "https://github.com/rosen-bridge/rosenet", "license": "GPL-3.0", @@ -44,7 +44,7 @@ "@libp2p/tcp": "^9.1.5", "@libp2p/utils": "^5.4.9", "@rosen-bridge/logger-interface": "^0.2.0", - "@rosen-bridge/rosenet-utils": "^0.1.0", + "@rosen-bridge/rosenet-utils": "^0.2.0", "libp2p": "^1.9.2" } } diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index 6d5fe32..55d5ecb 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -1,5 +1,11 @@ # @rosen-bridge/rosenet-utils +## 0.2.0 + +### Minor Changes + +- Add `readPrivateKeyFromFile` utility function for the management of a RoseNet private key in a file + ## 0.1.0 ### Minor Changes diff --git a/packages/utils/package.json b/packages/utils/package.json index 96bfe57..04f7491 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,7 +1,7 @@ { "name": "@rosen-bridge/rosenet-utils", "private": true, - "version": "0.1.0", + "version": "0.2.0", "description": "Utils used inside RoseNet", "repository": "https://github.com/rosen-bridge/rosenet", "license": "GPL-3.0", diff --git a/tests/global/package.json b/tests/global/package.json index 0a6c030..a0e09e9 100644 --- a/tests/global/package.json +++ b/tests/global/package.json @@ -30,8 +30,8 @@ "dependencies": { "@influxdata/influxdb-client": "^1.35.0", "@rosen-bridge/abstract-logger": "^2.0.1", - "@rosen-bridge/rosenet-node": "^0.1.0", - "@rosen-bridge/rosenet-relay": "^0.1.0", + "@rosen-bridge/rosenet-node": "^0.2.0", + "@rosen-bridge/rosenet-relay": "^0.1.1", "@rosen-bridge/winston-logger": "^1.0.2", "extensionless": "^1.9.6", "lodash-es": "^4.17.21", diff --git a/tests/scale/package.json b/tests/scale/package.json index 3341368..012f02b 100644 --- a/tests/scale/package.json +++ b/tests/scale/package.json @@ -29,7 +29,7 @@ "typescript": "^5.3.3" }, "dependencies": { - "@rosen-bridge/rosenet-node": "^0.1.0", - "@rosen-bridge/rosenet-relay": "^0.1.0" + "@rosen-bridge/rosenet-node": "^0.2.0", + "@rosen-bridge/rosenet-relay": "^0.1.1" } } From f1443d75848a3a2b3cc2994c493b4edcce65f048 Mon Sep 17 00:00:00 2001 From: Mohammad Kermani Date: Tue, 5 Nov 2024 10:48:46 +0330 Subject: [PATCH 2/2] fix(utils): mark package as public --- packages/utils/package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/utils/package.json b/packages/utils/package.json index 04f7491..1f30488 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,5 @@ { "name": "@rosen-bridge/rosenet-utils", - "private": true, "version": "0.2.0", "description": "Utils used inside RoseNet", "repository": "https://github.com/rosen-bridge/rosenet",