diff --git a/examples/circuit-relaying/package.json b/examples/circuit-relaying/package.json index 6a3e5cf58d..f516cfd64d 100644 --- a/examples/circuit-relaying/package.json +++ b/examples/circuit-relaying/package.json @@ -15,11 +15,10 @@ "license": "MIT", "dependencies": { "ipfs": "file:../../", - "ipfs-pubsub-room": "~0.3.0" + "ipfs-pubsub-room": "^1.4.0" }, "devDependencies": { "aegir": "^14.0.0", - "http-server": "~0.10.0", "ipfs-css": "~0.2.0", "parcel-bundler": "^1.6.2", "tachyons": "^4.9.1" diff --git a/examples/circuit-relaying/src/app.js b/examples/circuit-relaying/src/app.js index 83a9bd5d72..4f724e9a63 100644 --- a/examples/circuit-relaying/src/app.js +++ b/examples/circuit-relaying/src/app.js @@ -28,15 +28,15 @@ const repo = () => { const ipfs = new IPFS({ repo: repo(), - EXPERIMENTAL: { - pubsub: true, // enable pubsub - relay: { - enabled: true, // enable relay dialer/listener (STOP) - hop: { - enabled: true // make this node a relay (HOP) - } + relay: { + enabled: true, // enable relay dialer/listener (STOP) + hop: { + enabled: true // make this node a relay (HOP) } }, + EXPERIMENTAL: { + pubsub: true // enable pubsub + }, config: { Bootstrap: [] }