338 Commits

Author SHA1 Message Date
Alan Shaw
9521e79061 test: add tests for peer discovery module registration
License: MIT
Signed-off-by: Alan Shaw <alan@tableflip.io>
2018-06-29 23:42:43 +02:00
Alan Shaw
80f0b6077a fix: add null property guards
License: MIT
Signed-off-by: Alan Shaw <alan@tableflip.io>
2018-06-29 23:42:43 +02:00
Alan Shaw
ac5cacba33 fix: do not mutate the config object
License: MIT
Signed-off-by: Alan Shaw <alan@tableflip.io>
2018-06-29 23:42:43 +02:00
Alan Shaw
e320854db7 feat: enable peer discovery modules by default
This PR will enable any provided peer discovery modules by default if no configuration for the module is supplied/needed.

As before, modules can be explicitly disabled or enabled by passing config.

This also enables pre-configured modules (instances) to be passed and enabled without them having to have a `tag` and an unused config section.

License: MIT
Signed-off-by: Alan Shaw <alan@tableflip.io>
2018-06-29 23:42:43 +02:00
Jacob Heun
501cc22fb4 test: prevent ci collision 2018-06-29 20:38:40 +02:00
Jacob Heun
a57f1b22d0 chore: update latest webrtc 2018-06-29 20:38:40 +02:00
David Dias
7baf9f47ac
chore: remove travis CI badge 2018-06-28 10:35:18 +02:00
David Dias
4e8ac0b7a8
chore: release version v0.21.0 v0.21.0 2018-06-28 10:34:11 +02:00
David Dias
b593adef56
chore: update contributors 2018-06-28 10:34:11 +02:00
David Dias
8c803d5901
chore: remove pre-push 2018-06-28 10:11:54 +02:00
David Dias
9fadd1d7b8
chore: update mplex 2018-06-28 10:11:29 +02:00
David Dias
6905f1ba41
feat: (BREAKING CHANGE) overhaul libp2p config and constructor
* docs: update chat example and add info to its readme
* docs: update echo example
* docs: update libp2p in browser example
* docs: update pubsub example
* docs: update peer and content routing examples
* docs: update discovery mechanisms example
* docs: update encrypted comms example
* docs: update protocol and stream muxing example
* feat: add config validation
* test: update CI configs, use only node 8
2018-06-28 10:06:25 +02:00
David Dias
b80e89269c
docs: add weekly core dev calls url 2018-06-22 00:05:53 +01:00
David Dias
deba7ea28e
docs: add mgmt 2018-06-22 00:03:52 +01:00
Pedro Teixeira
d5972045da feat: set and hook up libp2p-connection-manager (#184) 2018-06-20 11:19:37 +01:00
Hugo Dias
28ffa0c7dc chore: update libp2p-switch 2018-06-07 19:58:22 +01:00
João Santos
1790ded144 docs: Minor fixes in Transport example readme (#199)
* docs: Fixes typos, adds instructions

* docs: adds .md bash syntax highlight
2018-06-04 09:56:57 +01:00
David Dias
abc6257bf7
docs: update badges 2018-05-29 13:45:48 +01:00
Volker Mische
dd84190d47 docs: libp2p-swarm was renamed to libp2p-switch (#196)
* docs: libp2p-swarm was renamed to libp2p-switch

Update the README accordingly.

* Fixing another typo
2018-05-28 14:29:43 +01:00
David Dias
65073792aa
fix: lock wrtc to 0.1.1
* chore: update deps

* fix: use only wrtc 0.1.1

* chore: update webrtc-star

* chore: update circle

* chore: no node10
2018-05-12 19:45:05 +01:00
David Dias
0bf203b087
docs: lead maintainer (#190) 2018-05-06 18:32:26 +02:00
David Dias
37471135fa
chore: release version v0.20.4 v0.20.4 2018-04-30 22:41:32 +01:00
David Dias
2a21c20ea3
chore: update contributors 2018-04-30 22:41:32 +01:00
David Dias
9a2d4e3d72
chore: release version v0.20.3 2018-04-30 22:41:08 +01:00
David Dias
7c2a19e3cc
chore: update deps 2018-04-30 22:41:08 +01:00
David Dias
26d5e69c62
chore: update deps 2018-04-30 22:41:08 +01:00
Florian-Merle
5042e09bb4 docs: typo in examples readme.md 2018-04-30 15:29:12 +01:00
David Dias
409e7a8e1f chore: release version v0.20.2 v0.20.2 2018-04-10 14:04:44 +09:00
David Dias
52938e9f39 chore: update contributors 2018-04-10 14:04:44 +09:00
David Dias
32941a807a chore: fix deps 2018-04-10 14:03:29 +09:00
David Dias
32d34d3b83 chore: release version v0.20.1 v0.20.1 2018-04-10 12:15:57 +09:00
David Dias
074b8af09d chore: update contributors 2018-04-10 12:15:57 +09:00
David Dias
4117bd7552 chore: add needed dep (websockets) 2018-04-10 12:13:11 +09:00
David Dias
db3f6dbb06 chore: release version v0.20.0 v0.20.0 2018-04-06 17:03:47 +01:00
David Dias
3808c365b1 chore: update contributors 2018-04-06 17:03:47 +01:00
David Dias
19528ef15e chore: update deps 2018-04-06 17:02:51 +01:00
Diogo Silva
bb0c9905ed feat: use class-is for type checks 2018-04-05 19:47:02 +01:00
David Dias
141920cd14 chore: update deps 2018-04-05 19:47:02 +01:00
David Dias
2dc94cd907 chore: release version v0.19.2 v0.19.2 2018-03-28 15:34:00 -07:00
David Dias
7fc1cd0f7c chore: update contributors 2018-03-28 15:33:59 -07:00
David Dias
26f3f9a319 chore: release version v0.19.1 2018-03-28 15:32:20 -07:00
David Dias
e9ce4ac795 chore: update deps 2018-03-28 15:32:20 -07:00
Sönke Hahn
bca86873cc docs: enable missing syntax highlighting (#178)
Enable missing syntax highlighting for example code in `discovery-mechanisms/README.md`.
2018-03-20 21:43:56 -07:00
David Dias
bcca813171 chore: release version v0.19.0 v0.19.0 2018-03-15 08:16:12 -07:00
David Dias
cfc5958a4b chore: update contributors 2018-03-15 08:16:12 -07:00
Pedro Teixeira
4527d5fff1 stats: tests: bind to localhost only 2018-03-15 08:09:56 -07:00
Pedro Teixeira
2c04a71007 stats: exposed and documented 2018-03-15 08:09:56 -07:00
David Dias
642b8ad751 chore: update deps 2018-03-15 07:57:30 -07:00
David Dias
ada73221b0 chore: update deps 2018-03-14 06:27:53 -07:00
Zane Starr
2e40e9dda1 docs: update echo and chat examples to use libp2p-switch (#174) 2018-03-06 13:25:55 +01:00