Skip to content

Commit

Permalink
use relay as p2p-circuit ma
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak committed Jun 24, 2024
1 parent 01ab5d3 commit 28d9b2d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
26 changes: 13 additions & 13 deletions examples/canvas/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -714,11 +714,11 @@
resolved "https://registry.yarnpkg.com/@sindresorhus/fnv1a/-/fnv1a-3.1.0.tgz#f8e46597298f6fd4c12dc901cdd4e73beb4d24fa"
integrity sha512-KV321z5m/0nuAg83W1dPLy85HpHDk7Sdi4fJbwvacWsEhAh+rZUW4ZfGcXmUIvjZg4ss2bcwNlRhJ7GBEUG08w==

"@topology-foundation/[email protected].6", "@topology-foundation/crdt@file:../../packages/crdt":
version "0.0.6"
"@topology-foundation/[email protected].7", "@topology-foundation/crdt@file:../../packages/crdt":
version "0.0.7"

"@topology-foundation/[email protected].6", "@topology-foundation/network@file:../../packages/network":
version "0.0.6"
"@topology-foundation/[email protected].7", "@topology-foundation/network@file:../../packages/network":
version "0.0.7"
dependencies:
"@chainsafe/libp2p-gossipsub" "^13.0.0"
"@chainsafe/libp2p-noise" "^15.0.0"
Expand All @@ -737,19 +737,19 @@
libp2p "^1.6.0"

"@topology-foundation/node@file:../../packages/node":
version "0.0.6"
version "0.0.7"
dependencies:
"@topology-foundation/crdt" "0.0.6"
"@topology-foundation/network" "0.0.6"
"@topology-foundation/object" "0.0.6"
"@topology-foundation/crdt" "0.0.7"
"@topology-foundation/network" "0.0.7"
"@topology-foundation/object" "0.0.7"

"@topology-foundation/[email protected].6":
version "0.0.6"
resolved "https://registry.yarnpkg.com/@topology-foundation/object/-/object-0.0.6.tgz#d52d3d555e58f2122c59b0c3fcdc5fc4c8be0ef1"
integrity sha512-rfyMkbnP4GYDk90n93Vq8TgRTiGTLNkWsPPhLrCy2nJXD9PwyBXaVwTDgYDCxJuFpIxuXahkfYvuK+7OQFMDAQ==
"@topology-foundation/[email protected].7":
version "0.0.7"
resolved "https://registry.yarnpkg.com/@topology-foundation/object/-/object-0.0.7.tgz#227cae7fb47caeef812f7ab15ac70d778405fa89"
integrity sha512-kasUqQaBeNGCCnojWVFNxnR1izG1kU2mIRGKMZbODRnYkgMd9mTc08AHLflA2qAs0Vkci9LxRyMNWtzugJZEZQ==

"@topology-foundation/object@file:../../packages/object":
version "0.0.6"
version "0.0.7"

"@tsconfig/node10@^1.0.7":
version "1.0.11"
Expand Down
5 changes: 4 additions & 1 deletion packages/network/src/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ export class TopologyNetworkNode {
async start() {
this._node = await createLibp2p({
addresses: {
listen: ["/webrtc"],
listen: [
"/webrtc",
"/dns4/relay.droak.sh/tcp/443/wss/p2p/Qma3GsJmB47xYuyahPZPSadh1avvxfyYQwk8R3UnFrQ6aP/p2p-circuit",
],
},
connectionEncryption: [noise()],
connectionGater: {
Expand Down

0 comments on commit 28d9b2d

Please sign in to comment.