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

feat: complete the migration to p2p-webrtc-star #984

Merged
merged 2 commits into from
Sep 3, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
},
Expand All @@ -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

Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/core/runtime/config-browser.json
Original file line number Diff line number Diff line change
@@ -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": ""
Expand Down
2 changes: 1 addition & 1 deletion test/http-api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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))
})
Expand Down