Skip to content
This repository was archived by the owner on Apr 29, 2020. It is now read-only.

Commit 651a5b3

Browse files
committed
Merge pull request #27 from ipfs/update-deps
deps updated successfully
2 parents 074d608 + 3b52eef commit 651a5b3

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const rawPeer = require('./test/peer.json')
1111
const id = Id.createFromPrivKey(rawPeer.privKey)
1212

1313
gulp.task('libnode:start', (done) => {
14-
const mh = multiaddr('/ip4/127.0.0.1/tcp/9090/websockets')
14+
const mh = multiaddr('/ip4/127.0.0.1/tcp/9090/ws')
1515
const peer = new Peer(id)
1616
peer.multiaddr.add(mh)
1717

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@
3131
},
3232
"homepage": "https://github.com/ipfs/js-libp2p-ipfs-browser#readme",
3333
"devDependencies": {
34-
"aegir": "^3.0.1",
34+
"aegir": "^3.0.4",
3535
"chai": "^3.5.0",
3636
"gulp": "^3.9.1",
37-
"libp2p-ipfs": "^0.3.8",
37+
"libp2p-ipfs": "^0.4.0",
3838
"peer-id": "^0.6.6",
3939
"pre-commit": "^1.1.2"
4040
},
4141
"dependencies": {
4242
"babel-runtime": "^6.6.1",
43-
"libp2p-spdy": "^0.3.1",
44-
"libp2p-swarm": "^0.12.10",
45-
"libp2p-websockets": "^0.4.4",
46-
"multiaddr": "^1.4.1",
43+
"libp2p-spdy": "^0.4.0",
44+
"libp2p-swarm": "^0.14.0",
45+
"libp2p-websockets": "^0.5.0",
46+
"multiaddr": "^2.0.0",
4747
"peer-info": "^0.6.2"
4848
},
4949
"aegir": {
@@ -60,4 +60,4 @@
6060
"dignifiedquire <[email protected]>",
6161
"greenkeeperio-bot <[email protected]>"
6262
]
63-
}
63+
}

test/index.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('libp2p-ipfs-browser', function () {
2020
})
2121

2222
it('echo', (done) => {
23-
const mh = multiaddr('/ip4/127.0.0.1/tcp/9090/websockets')
23+
const mh = multiaddr('/ip4/127.0.0.1/tcp/9090/ws')
2424
const peer = new Peer(id)
2525
peer.multiaddr.add(mh)
2626

@@ -40,7 +40,7 @@ describe('libp2p-ipfs-browser', function () {
4040

4141
describe('stress', () => {
4242
it('one big write', (done) => {
43-
const mh = multiaddr('/ip4/127.0.0.1/tcp/9090/websockets')
43+
const mh = multiaddr('/ip4/127.0.0.1/tcp/9090/ws')
4444
const peer = new Peer(id)
4545
peer.multiaddr.add(mh)
4646

@@ -68,7 +68,7 @@ describe('libp2p-ipfs-browser', function () {
6868
})
6969

7070
it('many writes in 2 batches', (done) => {
71-
const mh = multiaddr('/ip4/127.0.0.1/tcp/9090/websockets')
71+
const mh = multiaddr('/ip4/127.0.0.1/tcp/9090/ws')
7272
const peer = new Peer(id)
7373
peer.multiaddr.add(mh)
7474

0 commit comments

Comments
 (0)