diff --git a/.changeset/afraid-lizards-argue.md b/.changeset/afraid-lizards-argue.md deleted file mode 100644 index b282a1e..0000000 --- a/.changeset/afraid-lizards-argue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-node': minor ---- - -Add pubsub limits diff --git a/.changeset/brave-cows-dream.md b/.changeset/brave-cows-dream.md deleted file mode 100644 index a845151..0000000 --- a/.changeset/brave-cows-dream.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/bright-drinks-help.md b/.changeset/bright-drinks-help.md deleted file mode 100644 index a845151..0000000 --- a/.changeset/bright-drinks-help.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/brown-doors-beam.md b/.changeset/brown-doors-beam.md deleted file mode 100644 index aa75926..0000000 --- a/.changeset/brown-doors-beam.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@rosen-bridge/rosenet-relay": minor -"@rosen-bridge/rosenet-utils": minor ---- - -extract `privateKeyToPeerId` helper function into utils package diff --git a/.changeset/chilled-eagles-wait.md b/.changeset/chilled-eagles-wait.md deleted file mode 100644 index 631d20c..0000000 --- a/.changeset/chilled-eagles-wait.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-utils': minor ---- - -Show only a diff log for update events in `addEventListeners` diff --git a/.changeset/clean-eagles-fix.md b/.changeset/clean-eagles-fix.md deleted file mode 100644 index 44e7660..0000000 --- a/.changeset/clean-eagles-fix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@rosen-bridge/rosenet-node": major ---- - -add required `privateKey` config for creating peer id diff --git a/.changeset/cold-shirts-accept.md b/.changeset/cold-shirts-accept.md deleted file mode 100644 index 3176208..0000000 --- a/.changeset/cold-shirts-accept.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-node': minor ---- - -Limit the number of concurrent pending messages, while also applying different timeouts during message sending diff --git a/.changeset/cool-snakes-perform.md b/.changeset/cool-snakes-perform.md deleted file mode 100644 index e573b74..0000000 --- a/.changeset/cool-snakes-perform.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@rosen-bridge/rosenet-relay': minor -'@rosen-bridge/rosenet-node': minor ---- - -Limit node connections to relay to 3 to prevent network traffic issues diff --git a/.changeset/empty-cats-report.md b/.changeset/empty-cats-report.md deleted file mode 100644 index a845151..0000000 --- a/.changeset/empty-cats-report.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/empty-crabs-stare.md b/.changeset/empty-crabs-stare.md deleted file mode 100644 index f1b6756..0000000 --- a/.changeset/empty-crabs-stare.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-node': minor ---- - -add whitelist support diff --git a/.changeset/empty-lobsters-pump.md b/.changeset/empty-lobsters-pump.md deleted file mode 100644 index 09bfc8d..0000000 --- a/.changeset/empty-lobsters-pump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-relay': minor ---- - -Add `subscribe` function for subscribing to a pubsub topic diff --git a/.changeset/few-rings-flash.md b/.changeset/few-rings-flash.md deleted file mode 100644 index a845151..0000000 --- a/.changeset/few-rings-flash.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/fluffy-clocks-lie.md b/.changeset/fluffy-clocks-lie.md deleted file mode 100644 index 6345358..0000000 --- a/.changeset/fluffy-clocks-lie.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-relay': minor ---- - -Add pubsub related configs diff --git a/.changeset/funny-mugs-wait.md b/.changeset/funny-mugs-wait.md deleted file mode 100644 index 85a349a..0000000 --- a/.changeset/funny-mugs-wait.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@rosen-bridge/rosenet-relay': minor -'@rosen-bridge/rosenet-node': minor ---- - -add node info containing type (node vs relay) and version diff --git a/.changeset/good-lies-float.md b/.changeset/good-lies-float.md deleted file mode 100644 index 8b460ef..0000000 --- a/.changeset/good-lies-float.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-node': minor ---- - -implement basic messaging apis diff --git a/.changeset/gorgeous-dodos-sit.md b/.changeset/gorgeous-dodos-sit.md deleted file mode 100644 index e824869..0000000 --- a/.changeset/gorgeous-dodos-sit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-relay': minor ---- - -Enable gossipsub peer exchange in relays diff --git a/.changeset/grumpy-bikes-grow.md b/.changeset/grumpy-bikes-grow.md deleted file mode 100644 index 7bab5c9..0000000 --- a/.changeset/grumpy-bikes-grow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-utils': minor ---- - -add libp2pLoggerFactory for customizing libp2p logger diff --git a/.changeset/itchy-cougars-sniff.md b/.changeset/itchy-cougars-sniff.md deleted file mode 100644 index ffe339c..0000000 --- a/.changeset/itchy-cougars-sniff.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@rosen-bridge/rosenet-relay': minor -'@rosen-bridge/rosenet-node': minor ---- - -add peer discovery mechanism diff --git a/.changeset/large-cycles-check.md b/.changeset/large-cycles-check.md deleted file mode 100644 index ffec887..0000000 --- a/.changeset/large-cycles-check.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-node': major ---- - -Implement ack mechanism for direct messages diff --git a/.changeset/long-hornets-swim.md b/.changeset/long-hornets-swim.md deleted file mode 100644 index d11259b..0000000 --- a/.changeset/long-hornets-swim.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-relay': minor ---- - -Configuare relays as Gossipsub bootstrappers diff --git a/.changeset/long-students-glow.md b/.changeset/long-students-glow.md deleted file mode 100644 index ecd28fe..0000000 --- a/.changeset/long-students-glow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-node': minor ---- - -Limit the number of concurrent messages that can be handled concurrently diff --git a/.changeset/lovely-birds-rule.md b/.changeset/lovely-birds-rule.md deleted file mode 100644 index aca8445..0000000 --- a/.changeset/lovely-birds-rule.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@rosen-bridge/rosenet-relay": major ---- - -enforce passing a private key to create a RoseNet relay diff --git a/.changeset/lovely-hats-join.md b/.changeset/lovely-hats-join.md deleted file mode 100644 index 4f77d51..0000000 --- a/.changeset/lovely-hats-join.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-node': patch ---- - -Fix issue of RoseNet direction protocol listener pipe not getting awaited diff --git a/.changeset/modern-donuts-rest.md b/.changeset/modern-donuts-rest.md deleted file mode 100644 index 668195a..0000000 --- a/.changeset/modern-donuts-rest.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@rosen-bridge/rosenet-relay': minor -'@rosen-bridge/rosenet-node': minor ---- - -Enable DCUtR service diff --git a/.changeset/modern-hairs-scream.md b/.changeset/modern-hairs-scream.md deleted file mode 100644 index 12042f0..0000000 --- a/.changeset/modern-hairs-scream.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-utils': patch ---- - -Append unused format parameters to format function diff --git a/.changeset/nasty-years-exist.md b/.changeset/nasty-years-exist.md deleted file mode 100644 index 50ef4d4..0000000 --- a/.changeset/nasty-years-exist.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-node': major ---- - -Disable gossipsub signing diff --git a/.changeset/neat-dancers-fix.md b/.changeset/neat-dancers-fix.md deleted file mode 100644 index a845151..0000000 --- a/.changeset/neat-dancers-fix.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/neat-hotels-accept.md b/.changeset/neat-hotels-accept.md deleted file mode 100644 index 3f699bc..0000000 --- a/.changeset/neat-hotels-accept.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@rosen-bridge/rosenet-relay': minor -'@rosen-bridge/rosenet-node': minor ---- - -add pubsub apis diff --git a/.changeset/nice-points-relax.md b/.changeset/nice-points-relax.md deleted file mode 100644 index a916b17..0000000 --- a/.changeset/nice-points-relax.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-node': minor ---- - -implement stream reuse diff --git a/.changeset/pink-cherries-taste.md b/.changeset/pink-cherries-taste.md deleted file mode 100644 index 800da3b..0000000 --- a/.changeset/pink-cherries-taste.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-utils': patch ---- - -Fix issue of trying to format non-string values in `convertToPrintfFormat` diff --git a/.changeset/pink-pans-explode.md b/.changeset/pink-pans-explode.md deleted file mode 100644 index 0cc03e9..0000000 --- a/.changeset/pink-pans-explode.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@rosen-bridge/rosenet-relay': minor -'@rosen-bridge/rosenet-node': minor ---- - -log different libp2p node events diff --git a/.changeset/polite-cycles-bow.md b/.changeset/polite-cycles-bow.md deleted file mode 100644 index 9f1a94c..0000000 --- a/.changeset/polite-cycles-bow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-node': minor ---- - -Add info APIs diff --git a/.changeset/pretty-roses-pay.md b/.changeset/pretty-roses-pay.md deleted file mode 100644 index 77bc1d1..0000000 --- a/.changeset/pretty-roses-pay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@rosen-bridge/rosenet-relay": major ---- - -add whitelist support diff --git a/.changeset/quick-pears-hug.md b/.changeset/quick-pears-hug.md deleted file mode 100644 index a845151..0000000 --- a/.changeset/quick-pears-hug.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/quiet-kings-raise.md b/.changeset/quiet-kings-raise.md deleted file mode 100644 index f81a654..0000000 --- a/.changeset/quiet-kings-raise.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@rosen-bridge/rosenet-relay': minor -'@rosen-bridge/rosenet-node': minor ---- - -add config to enable libp2p logs diff --git a/.changeset/red-mangos-attack.md b/.changeset/red-mangos-attack.md deleted file mode 100644 index 8902006..0000000 --- a/.changeset/red-mangos-attack.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-node': minor ---- - -Enable fail fast when message sending bulkhead execution slots becomes nearly full diff --git a/.changeset/serious-fireants-study.md b/.changeset/serious-fireants-study.md deleted file mode 100644 index a845151..0000000 --- a/.changeset/serious-fireants-study.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/shiny-pens-float.md b/.changeset/shiny-pens-float.md deleted file mode 100644 index a845151..0000000 --- a/.changeset/shiny-pens-float.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/shy-emus-argue.md b/.changeset/shy-emus-argue.md deleted file mode 100644 index a845151..0000000 --- a/.changeset/shy-emus-argue.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/small-grapes-pump.md b/.changeset/small-grapes-pump.md deleted file mode 100644 index ed118b2..0000000 --- a/.changeset/small-grapes-pump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@rosen-bridge/rosenet-node": major ---- - -Retry failed direct messages diff --git a/.changeset/strange-months-hear.md b/.changeset/strange-months-hear.md deleted file mode 100644 index e6afd4e..0000000 --- a/.changeset/strange-months-hear.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-node': minor ---- - -Add timeout for handling incoming direct messages diff --git a/.changeset/strong-ears-drop.md b/.changeset/strong-ears-drop.md deleted file mode 100644 index 164de28..0000000 --- a/.changeset/strong-ears-drop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-node': patch ---- - -check cached stream writeStatus instead of status diff --git a/.changeset/tame-buttons-talk.md b/.changeset/tame-buttons-talk.md deleted file mode 100644 index 5b203ec..0000000 --- a/.changeset/tame-buttons-talk.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@rosen-bridge/rosenet-relay': patch -'@rosen-bridge/rosenet-node': patch ---- - -update package source code with latest version of kodegen diff --git a/.changeset/tame-queens-study.md b/.changeset/tame-queens-study.md deleted file mode 100644 index 66ff1b0..0000000 --- a/.changeset/tame-queens-study.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@rosen-bridge/rosenet-relay': minor -'@rosen-bridge/rosenet-node': minor ---- - -Switch from mplex to yamux for multiplexing diff --git a/.changeset/tender-cheetahs-teach.md b/.changeset/tender-cheetahs-teach.md deleted file mode 100644 index bd8f35f..0000000 --- a/.changeset/tender-cheetahs-teach.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@rosen-bridge/rosenet-relay': patch -'@rosen-bridge/rosenet-node': patch ---- - -Fix issues of pubsub causing nodes and relays connection to be abrupted diff --git a/.changeset/thick-rabbits-look.md b/.changeset/thick-rabbits-look.md deleted file mode 100644 index 7dd26e4..0000000 --- a/.changeset/thick-rabbits-look.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-node': minor ---- - -announce public ip diff --git a/.changeset/thin-donkeys-sip.md b/.changeset/thin-donkeys-sip.md deleted file mode 100644 index 27cdb6a..0000000 --- a/.changeset/thin-donkeys-sip.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-node': major ---- - -Add required configurations to node factory diff --git a/.changeset/beige-parents-wave.md b/.changeset/three-seahorses-travel.md similarity index 100% rename from .changeset/beige-parents-wave.md rename to .changeset/three-seahorses-travel.md diff --git a/.changeset/tough-phones-knock.md b/.changeset/tough-phones-knock.md deleted file mode 100644 index b35b7c3..0000000 --- a/.changeset/tough-phones-knock.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-relay': minor ---- - -prevent applying default reservation limits diff --git a/.changeset/twelve-rockets-sell.md b/.changeset/twelve-rockets-sell.md deleted file mode 100644 index f9d3c3e..0000000 --- a/.changeset/twelve-rockets-sell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-node': patch ---- - -return cached streams with writeStatus of writing, too diff --git a/.changeset/two-fans-tease.md b/.changeset/two-fans-tease.md deleted file mode 100644 index b9c048a..0000000 --- a/.changeset/two-fans-tease.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@rosen-bridge/rosenet-relay': minor -'@rosen-bridge/rosenet-node': minor ---- - -implement simple star topology diff --git a/.changeset/unlucky-rocks-impress.md b/.changeset/unlucky-rocks-impress.md deleted file mode 100644 index 0c1cde8..0000000 --- a/.changeset/unlucky-rocks-impress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-node': patch ---- - -only choose outbound streams for sending messages diff --git a/.changeset/warm-turtles-thank.md b/.changeset/warm-turtles-thank.md deleted file mode 100644 index a845151..0000000 --- a/.changeset/warm-turtles-thank.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/wet-tomatoes-nail.md b/.changeset/wet-tomatoes-nail.md deleted file mode 100644 index e36423e..0000000 --- a/.changeset/wet-tomatoes-nail.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@rosen-bridge/rosenet-relay': minor -'@rosen-bridge/rosenet-node': minor ---- - -Prevent Gossipsub from running on transient connections diff --git a/.changeset/witty-taxis-learn.md b/.changeset/witty-taxis-learn.md deleted file mode 100644 index 525befd..0000000 --- a/.changeset/witty-taxis-learn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@rosen-bridge/rosenet-utils': minor ---- - -add `addEventListeners` function diff --git a/package-lock.json b/package-lock.json index 3d935c2..51f3042 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9148,7 +9148,7 @@ }, "packages/rosenet-node": { "name": "@rosen-bridge/rosenet-node", - "version": "0.0.0", + "version": "0.1.0", "license": "GPL-3.0", "dependencies": { "@chainsafe/libp2p-gossipsub": "^13.2.0", @@ -9165,7 +9165,7 @@ "@libp2p/tcp": "^9.1.5", "@libp2p/utils": "^5.4.9", "@multiformats/multiaddr": "^12.3.0", - "@rosen-bridge/rosenet-utils": "^0.0.0", + "@rosen-bridge/rosenet-utils": "^0.1.0", "cockatiel": "^3.2.1", "fast-shuffle": "^6.1.0", "it-first": "^3.0.6", @@ -9547,7 +9547,7 @@ }, "packages/rosenet-relay": { "name": "@rosen-bridge/rosenet-relay", - "version": "0.0.0", + "version": "0.1.0", "license": "GPL-3.0", "dependencies": { "@chainsafe/libp2p-gossipsub": "^13.2.0", @@ -9561,7 +9561,7 @@ "@libp2p/tcp": "^9.1.5", "@libp2p/utils": "^5.4.9", "@rosen-bridge/logger-interface": "^0.2.0", - "@rosen-bridge/rosenet-utils": "^0.0.0", + "@rosen-bridge/rosenet-utils": "^0.1.0", "libp2p": "^1.9.2" }, "devDependencies": { @@ -9916,7 +9916,7 @@ }, "packages/utils": { "name": "@rosen-bridge/rosenet-utils", - "version": "0.0.0", + "version": "0.1.0", "license": "GPL-3.0", "dependencies": { "@libp2p/crypto": "^4.0.2", @@ -9972,8 +9972,8 @@ "version": "0.0.0", "license": "GPL-3.0", "dependencies": { - "@rosen-bridge/rosenet-node": "^0.0.0", - "@rosen-bridge/rosenet-relay": "^0.0.0" + "@rosen-bridge/rosenet-node": "^0.1.0", + "@rosen-bridge/rosenet-relay": "^0.1.0" }, "devDependencies": { "@types/node": "^20.11.9", diff --git a/packages/rosenet-node/CHANGELOG.md b/packages/rosenet-node/CHANGELOG.md new file mode 100644 index 0000000..a0a4728 --- /dev/null +++ b/packages/rosenet-node/CHANGELOG.md @@ -0,0 +1,28 @@ +# @rosen-bridge/rosenet-node + +## 0.1.0 + +### Minor Changes + +- Add required `privateKey` config for creating peer id +- Implement ack mechanism for direct messages +- Disable gossipsub signing +- Retry failed direct messages +- Add required configurations to node factory +- Add pubsub limits +- Limit the number of concurrent pending messages, while also applying different timeouts during message sending +- Limit node connections to relay to 3 to prevent network traffic issues +- Add whitelist support +- Add node info containing type (node vs relay) and version +- Implement basic messaging apis +- Add peer discovery mechanism +- Limit the number of concurrent messages that can be handled concurrently +- Enable DCUtR service +- Add pubsub apis +- Log different libp2p node events +- Add info APIs +- Add config to enable libp2p logs +- Enable fail fast when message sending bulkhead execution slots becomes nearly full +- Add timeout for handling incoming direct messages +- Announce public ip +- Prevent Gossipsub from running on transient connections diff --git a/packages/rosenet-node/package.json b/packages/rosenet-node/package.json index 4f4986a..8664ca4 100644 --- a/packages/rosenet-node/package.json +++ b/packages/rosenet-node/package.json @@ -1,6 +1,6 @@ { "name": "@rosen-bridge/rosenet-node", - "version": "0.0.0", + "version": "0.1.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.0.0", + "@rosen-bridge/rosenet-utils": "^0.1.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 new file mode 100644 index 0000000..4512ec6 --- /dev/null +++ b/packages/rosenet-relay/CHANGELOG.md @@ -0,0 +1,21 @@ +# @rosen-bridge/rosenet-relay + +## 0.1.0 + +### Minor Changes + +- Enforce passing a private key to create a RoseNet relay +- Add whitelist support +- Limit node connections to relay to 3 to prevent network traffic issues +- Add `subscribe` function for subscribing to a pubsub topic +- Add pubsub related configs +- Add node info containing type (node vs relay) and version +- Enable gossipsub peer exchange in relays +- Add peer discovery mechanism +- Configure relays as Gossipsub bootstrappers +- Enable DCUtR service +- Add pubsub apis +- Log different libp2p node events +- Add config to enable libp2p logs +- Prevent applying default reservation limits +- Prevent Gossipsub from running on transient connections diff --git a/packages/rosenet-relay/package.json b/packages/rosenet-relay/package.json index f95e012..20fb808 100644 --- a/packages/rosenet-relay/package.json +++ b/packages/rosenet-relay/package.json @@ -1,6 +1,6 @@ { "name": "@rosen-bridge/rosenet-relay", - "version": "0.0.0", + "version": "0.1.0", "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.0.0", + "@rosen-bridge/rosenet-utils": "^0.1.0", "libp2p": "^1.9.2" } } diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md new file mode 100644 index 0000000..6d5fe32 --- /dev/null +++ b/packages/utils/CHANGELOG.md @@ -0,0 +1,10 @@ +# @rosen-bridge/rosenet-utils + +## 0.1.0 + +### Minor Changes + +- Extract `privateKeyToPeerId` helper function into utils package +- Show only a diff log for update events in `addEventListeners` +- Add `libp2pLoggerFactory` for customizing libp2p logger +- Add `addEventListeners` function diff --git a/packages/utils/package.json b/packages/utils/package.json index da330c8..96bfe57 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,7 +1,7 @@ { "name": "@rosen-bridge/rosenet-utils", "private": true, - "version": "0.0.0", + "version": "0.1.0", "description": "Utils used inside RoseNet", "repository": "https://github.com/rosen-bridge/rosenet", "license": "GPL-3.0", diff --git a/tests/scale/package.json b/tests/scale/package.json index a52fdf8..3341368 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.0.0", - "@rosen-bridge/rosenet-relay": "^0.0.0" + "@rosen-bridge/rosenet-node": "^0.1.0", + "@rosen-bridge/rosenet-relay": "^0.1.0" } }