Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 1e5dd2c

Browse files
authored
feat: complete the migration to p2p-webrtc-star (#984)
* feat: complete the migration to p2p-webrtc-star * test: remove .only
1 parent ef0ba50 commit 1e5dd2c

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ const node = new IPFS({
362362
Swarm: [
363363
"/ip4/0.0.0.0/tcp/4002",
364364
"/ip4/127.0.0.1/tcp/4003/ws",
365-
"/libp2p-webrtc-star/dns4/star-signal.cloud.ipfs.team/wss"
365+
"/dns4/star-signal.cloud.ipfs.team/wss/p2p-webrtc-star"
366366
]
367367
}
368368
},
@@ -387,7 +387,7 @@ npm install wrtc --global
387387
npm install electron-webrtc --global
388388
```
389389

390-
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"`
390+
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"`
391391

392392
## Packages
393393

package.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"hapi-set-header": "^1.0.2",
101101
"hoek": "^4.2.0",
102102
"ipfs-api": "^14.2.1",
103-
"ipfs-bitswap": "~0.16.1",
103+
"ipfs-bitswap": "~0.17.0",
104104
"ipfs-block": "~0.6.0",
105105
"ipfs-block-service": "~0.12.0",
106106
"ipfs-multipart": "~0.1.0",
@@ -111,29 +111,29 @@
111111
"is-ipfs": "^0.3.0",
112112
"is-stream": "^1.1.0",
113113
"joi": "^10.6.0",
114-
"libp2p": "~0.11.0",
114+
"libp2p": "~0.12.0",
115115
"libp2p-floodsub": "~0.11.0",
116-
"libp2p-kad-dht": "~0.4.1",
117-
"libp2p-mdns": "~0.8.0",
118-
"libp2p-multiplex": "~0.4.4",
119-
"libp2p-railing": "~0.6.1",
120-
"libp2p-secio": "~0.7.1",
121-
"libp2p-tcp": "~0.10.2",
122-
"libp2p-webrtc-star": "~0.12.0",
116+
"libp2p-kad-dht": "~0.5.0",
117+
"libp2p-mdns": "~0.9.0",
118+
"libp2p-multiplex": "~0.5.0",
119+
"libp2p-railing": "~0.7.0",
120+
"libp2p-secio": "~0.8.0",
121+
"libp2p-tcp": "~0.11.0",
122+
"libp2p-webrtc-star": "~0.13.0",
123123
"libp2p-websockets": "~0.10.1",
124124
"lodash.flatmap": "^4.5.0",
125125
"lodash.get": "^4.4.2",
126126
"lodash.sortby": "^4.7.0",
127127
"lodash.values": "^4.3.0",
128-
"mafmt": "^2.1.8",
128+
"mafmt": "^3.0.0",
129129
"mkdirp": "~0.5.1",
130-
"multiaddr": "^2.3.0",
130+
"multiaddr": "^3.0.0",
131131
"multihashes": "~0.4.9",
132132
"once": "^1.4.0",
133133
"path-exists": "^3.0.0",
134134
"peer-book": "~0.5.0",
135-
"peer-id": "~0.9.0",
136-
"peer-info": "~0.10.0",
135+
"peer-id": "~0.10.0",
136+
"peer-info": "~0.11.0",
137137
"promisify-es6": "^1.0.3",
138138
"pull-file": "^1.0.0",
139139
"pull-paramap": "^1.2.2",

src/core/runtime/config-browser.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"Addresses": {
33
"Swarm": [
4-
"/libp2p-webrtc-star/dns4/star-signal.cloud.ipfs.team/wss"
4+
"/dns4/star-signal.cloud.ipfs.team/wss/p2p-webrtc-star"
55
],
66
"API": "",
77
"Gateway": ""

test/http-api/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ describe('HTTP API', () => {
4141
.forEach((file) => require('./spec/' + file)(http))
4242
})
4343

44-
describe.only('## interface tests', () => {
44+
describe('## interface tests', () => {
4545
fs.readdirSync(path.join(__dirname, '/interface'))
4646
.forEach((file) => require('./interface/' + file))
4747
})

0 commit comments

Comments
 (0)