115 Commits

Author SHA1 Message Date
David Dias
eda78d7a76 add websockets to the battery of tests, everything checks out 2016-03-15 11:14:55 +00:00
David Dias
6bcf48ff39 Release v0.8.0. 2016-03-15 10:25:27 +00:00
David Dias
8615a50bc9 Merge pull request #26 from diasdavid/feature/filter-addrs
filter the multiaddrs that are passed to avoid collision
2016-03-15 10:08:43 +00:00
David Dias
b83e5dd8dc complete 2016-03-15 09:57:06 +00:00
David Dias
4036ea4b1a Release v0.7.0. 2016-03-11 14:56:16 +00:00
David Dias
d65a0901b9 Merge pull request #25 from diasdavid/fix/silly-passthrough-bug
silly passthrough bug
2016-03-11 14:55:52 +00:00
David Dias
412bda731b fixed 2016-03-11 14:47:39 +00:00
David Dias
69bd386afc Release v0.6.0. 2016-03-10 21:00:28 +00:00
David Dias
849d38e8e0 update readme badges 2016-03-10 21:00:15 +00:00
David Dias
bb7f7399b2 Merge pull request #20 from diasdavid/update/simplify
simplify libp2p-swarm
2016-03-10 20:41:23 +00:00
David Dias
990111980b woot 2016-03-10 20:36:07 +00:00
David Dias
366b6ef382 design notes 2016-03-10 15:17:07 +00:00
David Dias
e8de55bc28 update the docs 2016-03-10 14:38:22 +00:00
David Dias
f8e14e4ddf stream multiplexing done, starting on identify refactor 2016-03-07 15:22:36 +00:00
David Dias
9d8ee67c61 high level API working + tests 2016-03-06 08:40:49 +00:00
David Dias
c8f2fdd077 internal transport interface + libp2p-tcp tests 2016-03-05 11:27:57 +00:00
David Dias
1fd6a3885d remove coverage folder and solve new linting issue 2016-03-03 12:21:01 +00:00
David Dias
c651dd2aec remove coverage folder and solve new linting issue 2016-03-03 12:18:00 +00:00
David Dias
d688893268 Merge pull request #19 from diasdavid/update/mocha-istanbul-standard
update swarm
2016-03-03 12:09:06 +00:00
David Dias
0e636597ee update swarm 2016-03-03 12:08:46 +00:00
David Dias
b54b7edeeb Merge pull request #18 from RichardLitt/patch-1
Freejs => Freenode
2015-12-29 00:29:30 +01:00
Richard Littauer
aea0940b2d Freejs => Freenode
See https://github.com/ipfs/community/issues/93
2015-12-28 17:18:08 -05:00
David Dias
60028daf14 Merge pull request #17 from masylum/feature/remove-v4-to-v6-hack
Removed ipv6/ipv4 hack
2015-11-02 04:32:31 +00:00
Pau Ramon Revilla
c39eb4a830 Removed ipv6 to ipv4 hack 2015-11-01 19:57:20 +01:00
David Dias
3b9465de92 Release v0.5.5. 2015-10-29 00:27:59 +00:00
David Dias
c827bd8470 package.json 2015-10-29 00:27:49 +00:00
David Dias
555f2199df Release v0.5.4. 2015-10-29 00:27:18 +00:00
David Dias
a9942b014b Merge pull request #16 from diasdavid/rn
update readme and package.json
2015-10-29 00:26:53 +00:00
David Dias
348615b5aa update readme and package.json 2015-10-29 00:26:18 +00:00
David Dias
f309d4f7b7 Release v0.5.3. 2015-09-28 16:12:01 +01:00
David Dias
1c8fbb2c5b Merge branch 'masylum-patch-1' 2015-09-28 16:11:45 +01:00
David Dias
789fdcfdc3 merge #11 2015-09-28 16:11:16 +01:00
David Dias
f53124393c Release v0.5.2. 2015-09-28 04:01:45 +01:00
David Dias
81c6ab013d Merge pull request #14 from masylum/implement-close
Implemented `close` and improved the tests with it
2015-09-28 04:00:12 +01:00
David Dias
adb5ce19b1 Release v0.5.1. 2015-09-26 21:12:46 +01:00
David Dias
4feaa8b187 Merge pull request #13 from masylum/patch-3
Do not allow undefined `peerInfo`
2015-09-26 20:59:14 +01:00
Pau Ramon Revilla
5c53540e92 Implemented close and improved the tests with it 2015-09-26 20:12:13 +02:00
Pau Ramon Revilla
8dc46da80f Protect from peers without supported transports
# What

Trying to run compliance tests from the kad router module. I've tried to port the new swarm API but forgot to add a transport. The tests ended up blowing up instead of failing gracefully.

# How to test

```js
peerOne = new Peer(Id.create(), [multiaddr('/ip4/127.0.0.1/tcp/8090')])
peerTwo = new Peer(Id.create(), [multiaddr('/ip4/127.0.0.1/tcp/8091')])
swarm = new Swarm(peerZero)
swarm.dial(peerTwo, {}, function (err) {
  console.log(err);
});
```

This just work and display the error.
2015-09-26 16:55:34 +02:00
Pau Ramon Revilla
0514b0034b Do not allow undefined peerInfo
# What

The code assumes that `peerInfo` exists, the API doesn't.

# How to test

```js
swarm = new Swarm()
swarm.addTransport('tcp', tcp, { multiaddr: mh }, {}, {port: 8095})
```

This shouldn't explode because of `self.peerInfo.multiaddrs`.
2015-09-26 16:24:46 +02:00
David Dias
cd53344441 Release v0.5.0. 2015-09-23 23:12:50 +01:00
David Dias
490022cf02 ready to publish new version 2015-09-23 23:12:35 +01:00
David Dias
4d9d8c94c7 Merge pull request #10 from diasdavid/revisit
Revisit Swarm - multitransport + upgrades - https://github.com/diasdavid/node-ipfs-swarm/issues/8
2015-09-23 23:09:27 +01:00
David Dias
1ba8e80d4d rm laf 2015-09-23 20:34:31 +01:00
David Dias
5b7a6051ad comment undone tests 2015-09-23 20:07:55 +01:00
David Dias
5fe94446d8 rm old test file 2015-09-23 20:07:05 +01:00
David Dias
92b499df82 fix readme typos and missing links 2015-09-23 20:06:10 +01:00
David Dias
e6bcde41fb change cov 2015-09-23 19:58:14 +01:00
David Dias
fb37b4dec9 clear unused console logs 2015-09-23 19:57:37 +01:00
David Dias
2000827273 add identify 2015-09-23 19:14:29 +01:00
David Dias
0bcbe63005 rm old code 2015-09-23 17:26:26 +01:00