78 Commits

Author SHA1 Message Date
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
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
David Dias
168d01befd stream muxer for connection reuse test 2015-09-23 17:25:21 +01:00
David Dias
0040be765d add spdy + test 2015-09-23 17:11:32 +01:00
David Dias
416e107d64 quick fix for travis 2015-09-22 17:50:41 +01:00
David Dias
59b00f6886 use warmed up connection + test 2015-09-22 17:27:37 +01:00
David Dias
8e8d8e9093 dial on a protocol + test 2015-09-22 16:50:42 +01:00
David Dias
5e4cca52c0 dial a conn + test 2015-09-22 16:16:21 +01:00
David Dias
e1df0b9ecd add transport and close listener test 2015-09-22 14:31:23 +01:00
David Dias
73a6a4fd45 adding transports works 2015-09-21 19:56:42 +01:00
David Dias
1833ded0f7 making progress 2015-09-21 16:46:04 +01:00
David Dias
544e4a4165 update README with new candidate interface 2015-09-20 21:08:28 +01:00
David Dias
7aae02581c Merge pull request #7 from Dignifiedquire/identify-tests
identify: Fix some issues with updateSelf.
2015-09-14 19:23:24 +01:00
David Dias
10ec005695 Release v0.4.1. v0.4.1 2015-09-14 12:06:55 +01:00
David Dias
326f56206c to v4 2015-09-14 12:06:41 +01:00
David Dias
139ac6e852 to v4 2015-09-14 12:06:19 +01:00
dignifiedquire
17f40911db identify: Fix some issues with updateSelf. 2015-08-04 12:10:17 +02:00
David Dias
bef901fecd Release v0.4.0. 2015-08-03 19:46:05 +02:00
David Dias
c6ae35026b fix issue pointed out here - https://github.com/diasdavid/node-ipfs-swarm/pull/7#discussion_r36044035 2015-08-03 19:45:51 +02:00
David Dias
cfa37e8d98 remove 0.10 from travis list (due to spdy-transport) 2015-08-02 13:31:03 +02:00
David Dias
cc8355fa42 make travis-ci badge green :) 2015-08-02 13:26:38 +02:00
David Dias
da498eec95 Release v0.3.1. 2015-08-01 20:19:52 +02:00
David Dias
cfc9ac582e update spdy-stream-muxer 2015-08-01 20:19:25 +02:00
David Dias
16e9696733 Merge pull request #5 from Dignifiedquire/tests
[WIP] More tests
2015-08-01 20:17:20 +02:00
dignifiedquire
f1d796f47b Fix swarm.closeConns 2015-07-31 23:13:05 +02:00
dignifiedquire
a73066b10b Setup travis 2015-07-31 18:03:29 +02:00
dignifiedquire
13659ecb40 swarm: Fix self.handles data structure 2015-07-31 17:56:36 +02:00
dignifiedquire
85e312dc66 Start adding more swarm tests 2015-07-31 17:40:55 +02:00
David Dias
7cf6808e9b Release v0.3.0. 2015-07-30 15:01:57 -07:00
David Dias
306b01cf84 Merge pull request #6 from diasdavid/last-seen
Add/update a `lastSeen` `Date` object when a stream is opened
2015-07-30 14:59:27 -07:00
David Dias
02e07993da add/update lastSeen to a peer once a stream is open 2015-07-30 14:58:32 -07:00
David Dias
648eb7c666 add last seen date to the peer 2015-07-30 14:35:59 -07:00
David Dias
b08107dc63 Release v0.2.0. 2015-07-25 18:42:49 -07:00
David Dias
8911d72648 add new openConnection option 2015-07-25 18:42:36 -07:00
David Dias
7c08e76cec Release v0.1.1. 2015-07-21 16:01:13 -07:00
David Dias
e1b4a8ce4e add a readme 2015-07-21 16:00:59 -07:00
David Dias
a9855a0b42 fix multiaddr explosion 2015-07-20 14:42:47 -07:00
David Dias
d67b3dff32 rm old proto-test.js example 2015-07-20 11:19:31 -07:00
David Dias
fe026707c9 Release v0.1.0. 2015-07-19 14:37:35 -07:00