From 47cbe97232224a16f25aa8558352ca7f808f8136 Mon Sep 17 00:00:00 2001
From: David Dias <daviddias.p@gmail.com>
Date: Sun, 3 Sep 2017 14:57:51 +0100
Subject: [PATCH 1/2] feat: complete the migration to p2p-webrtc-star

---
 README.md                            |  4 ++--
 package.json                         | 26 +++++++++++++-------------
 src/core/runtime/config-browser.json |  2 +-
 3 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/README.md b/README.md
index 843d14916c..8408bb6cbb 100644
--- a/README.md
+++ b/README.md
@@ -362,7 +362,7 @@ const node = new IPFS({
       Swarm: [
         "/ip4/0.0.0.0/tcp/4002",
         "/ip4/127.0.0.1/tcp/4003/ws",
-        "/libp2p-webrtc-star/dns4/star-signal.cloud.ipfs.team/wss"
+        "/dns4/star-signal.cloud.ipfs.team/wss/p2p-webrtc-star"
       ]
     }
   },
@@ -387,7 +387,7 @@ npm install wrtc --global
 npm install electron-webrtc --global
 ```
 
-Then, update your IPFS Daemon config to include the multiaddr for this new transport on the `Addresses.Swarm` array. Add: `"/libp2p-webrtc-star/dns4/star-signal.cloud.ipfs.team/wss"`
+Then, update your IPFS Daemon config to include the multiaddr for this new transport on the `Addresses.Swarm` array. Add: `"/dns4/star-signal.cloud.ipfs.team/wss/p2p-webrtc-star"`
 
 ## Packages
 
diff --git a/package.json b/package.json
index b06989a2c0..5e0c8f8669 100644
--- a/package.json
+++ b/package.json
@@ -100,7 +100,7 @@
     "hapi-set-header": "^1.0.2",
     "hoek": "^4.2.0",
     "ipfs-api": "^14.2.1",
-    "ipfs-bitswap": "~0.16.1",
+    "ipfs-bitswap": "~0.17.0",
     "ipfs-block": "~0.6.0",
     "ipfs-block-service": "~0.12.0",
     "ipfs-multipart": "~0.1.0",
@@ -111,29 +111,29 @@
     "is-ipfs": "^0.3.0",
     "is-stream": "^1.1.0",
     "joi": "^10.6.0",
-    "libp2p": "~0.11.0",
+    "libp2p": "~0.12.0",
     "libp2p-floodsub": "~0.11.0",
-    "libp2p-kad-dht": "~0.4.1",
-    "libp2p-mdns": "~0.8.0",
-    "libp2p-multiplex": "~0.4.4",
-    "libp2p-railing": "~0.6.1",
-    "libp2p-secio": "~0.7.1",
-    "libp2p-tcp": "~0.10.2",
-    "libp2p-webrtc-star": "~0.12.0",
+    "libp2p-kad-dht": "~0.5.0",
+    "libp2p-mdns": "~0.9.0",
+    "libp2p-multiplex": "~0.5.0",
+    "libp2p-railing": "~0.7.0",
+    "libp2p-secio": "~0.8.0",
+    "libp2p-tcp": "~0.11.0",
+    "libp2p-webrtc-star": "~0.13.0",
     "libp2p-websockets": "~0.10.1",
     "lodash.flatmap": "^4.5.0",
     "lodash.get": "^4.4.2",
     "lodash.sortby": "^4.7.0",
     "lodash.values": "^4.3.0",
-    "mafmt": "^2.1.8",
+    "mafmt": "^3.0.0",
     "mkdirp": "~0.5.1",
-    "multiaddr": "^2.3.0",
+    "multiaddr": "^3.0.0",
     "multihashes": "~0.4.9",
     "once": "^1.4.0",
     "path-exists": "^3.0.0",
     "peer-book": "~0.5.0",
-    "peer-id": "~0.9.0",
-    "peer-info": "~0.10.0",
+    "peer-id": "~0.10.0",
+    "peer-info": "~0.11.0",
     "promisify-es6": "^1.0.3",
     "pull-file": "^1.0.0",
     "pull-paramap": "^1.2.2",
diff --git a/src/core/runtime/config-browser.json b/src/core/runtime/config-browser.json
index 6d0615519b..61d9e4c470 100644
--- a/src/core/runtime/config-browser.json
+++ b/src/core/runtime/config-browser.json
@@ -1,7 +1,7 @@
 {
   "Addresses": {
     "Swarm": [
-      "/libp2p-webrtc-star/dns4/star-signal.cloud.ipfs.team/wss"
+      "/dns4/star-signal.cloud.ipfs.team/wss/p2p-webrtc-star"
     ],
     "API": "",
     "Gateway": ""

From f6b4807c49e43069c2d82d26df5cc03db7746246 Mon Sep 17 00:00:00 2001
From: David Dias <daviddias.p@gmail.com>
Date: Sun, 3 Sep 2017 15:10:46 +0100
Subject: [PATCH 2/2] test: remove .only

---
 test/http-api/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/http-api/index.js b/test/http-api/index.js
index 52b6c0616e..ad647e92df 100644
--- a/test/http-api/index.js
+++ b/test/http-api/index.js
@@ -41,7 +41,7 @@ describe('HTTP API', () => {
       .forEach((file) => require('./spec/' + file)(http))
   })
 
-  describe.only('## interface tests', () => {
+  describe('## interface tests', () => {
     fs.readdirSync(path.join(__dirname, '/interface'))
       .forEach((file) => require('./interface/' + file))
   })