1
0
mirror of https://github.com/fluencelabs/js-libp2p synced 2025-03-16 23:50:51 +00:00

366 Commits

Author SHA1 Message Date
Vasco Santos
24bb8df521 chore: update contributors 2020-12-16 14:03:09 +01:00
Vasco Santos
239413e331 chore: update contributors 2020-12-16 13:56:41 +01:00
Vasco Santos
21e8ced81a chore: update contributors 2020-12-16 13:56:41 +01:00
Vasco Santos
9ae1b758e9 fix: types from ipfs integration () 2020-12-16 13:56:41 +01:00
Vasco Santos
5d0ac529e4 chore: update contributors 2020-12-16 13:56:41 +01:00
Vasco Santos
169bb806a7 chore: add typedefs () 2020-12-16 13:56:41 +01:00
Vasco Santos
7d76ba1367 docs: migration 0.29 to 0.30 () 2020-12-16 13:56:41 +01:00
Vasco Santos
baedf3fe5a feat: discover and connect to closest peers () 2020-12-16 13:56:41 +01:00
Vasco Santos
4ebcdb085c chore: update websockets ()
* chore: update websockets
2020-12-16 13:56:41 +01:00
Vasco Santos
4448de8432 docs: auto relay example ()
* chore: auto relay example

* chore: update examples to use process arguments

* chore: add test setup for node tests and test for auto-relay

* chore: apply suggestions from code review

* chore: do not use promise for multiaddrs event on example
2020-12-16 13:56:41 +01:00
Vasco Santos
585ad52b4c feat: custom dialer addr sorter ()
* feat: custom dialer addr sorter

* chore: use libp2p utils sorter via addressBook getMultiaddrsForPeer

* chore: use new libp2p utils

* chore: apply suggestions from code review

Co-authored-by: Jacob Heun <jacobheun@gmail.com>

Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-12-16 13:56:41 +01:00
Vasco Santos
e50c6abcf2 chore: update pubsub ()
BREAKING CHANGE: pubsub signing policy properties were changed according to libp2p-interfaces changes to a single property. The emitSelf option default value was also modified to match the routers value
2020-12-16 13:56:41 +01:00
Vasco Santos
ef9d3ca2c6 feat: custom announce filter 2020-12-16 13:56:41 +01:00
Vasco Santos
e977039c8a chore: sort relay addresses to listen for public first 2020-12-16 13:56:41 +01:00
Vasco Santos
0bf0b7cf89 feat: auto relay network query for new relays 2020-12-16 13:56:41 +01:00
Jacob Heun
1a5ae74741
chore: update contributors 2020-12-09 16:42:20 +01:00
Vasco Santos
8f29a667a1 chore: update contributors 2020-11-04 14:05:08 +01:00
Vasco Santos
093c0ea13f
feat: resolve multiaddrs before dial () 2020-11-04 13:54:50 +01:00
Jacob Heun
f82da56901
chore: update contributors 2020-10-23 15:40:53 +02:00
Jacob Heun
4a80afce8f
chore: update contributors 2020-10-22 14:33:28 +02:00
Jacob Heun
f2d010a3ab chore: update mplex 2020-10-22 14:29:52 +02:00
Jacob Heun
4c6be91588 fix: ensure streams are closed on connection close 2020-10-22 14:29:52 +02:00
Vasco Santos
0d48fc4f5a
test: use ed25519 keys in tests ()
* chore: use ed25519 keys in tests

* fix: persisted keybook recheck keybook content for delete

* chore: only store if key not inline

* chore: update peer id

* chore: identify wait for closed streams
2020-10-07 14:50:01 +02:00
Vasco Santos
96df4b7dc4
chore: update aegir and jsdocs for eslint changes () 2020-10-06 14:59:43 +02:00
Vasco Santos
fb4b2734d3
chore: update delegate deps () 2020-09-15 12:47:16 +02:00
Jacob Heun
d6d1a746ea
chore: update contributors 2020-08-27 16:56:16 +02:00
Vasco Santos
81e70df742 chore: update interop version () 2020-08-27 15:38:01 +02:00
Jacob Heun
7be17a3ce1 chore: update contributors 2020-08-27 15:38:01 +02:00
Jacob Heun
93dda74085 fix: peer record interop with go ()
* test: add go peer record interop test

* fix: correct the payload type of peer records

* chore: fix linting

* test: fix envelope test
2020-08-27 15:38:01 +02:00
Vasco Santos
6cd23ea6c9 chore: use gossipsub0.6 2020-08-27 15:38:01 +02:00
Jacob Heun
9b75a0f184 chore: bump libp2p-webrtc-star 2020-08-27 15:38:01 +02:00
Jacob Heun
64c8c0f097 chore: update contributors 2020-08-27 15:38:01 +02:00
Vasco Santos
55c9bfac44 feat: gossipsub 1.1 ()
* feat: gossipsub 1.1

BREAKING CHANGE: pubsub implementation is now directly exposed and its API was updated according to the new pubsub interface in js-libp2p-interfaces repo

* chore: use gossipsub branch with src added

* fix: add pubsub handlers adapter

* chore: fix deps

* chore: update pubsub docs and examples

* chore: apply suggestions from code review

Co-authored-by: Jacob Heun <jacobheun@gmail.com>

* chore: use new floodsub

* chore: change validator doc set

Co-authored-by: Jacob Heun <jacobheun@gmail.com>

* chore: add new gossipsub src

Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-08-27 15:38:01 +02:00
Alex Potsides
1e869717ff fix: replace node buffers with uint8arrays ()
* fix: replace node buffers with uint8arrays

Upgrades all deps and replaces all use of node Buffers with Uint8Arrays

BREAKING CHANGES:

- All deps used by this module now use Uint8Arrays in place of node Buffers

* chore: browser fixes

* chore: remove .only

* chore: stringify uint8array before parsing

* chore: update interop suite

* chore: remove ts from build command

* chore: update deps

* fix: update records to use uint8array

* chore: fix lint

* chore: update deps

Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-08-27 15:38:01 +02:00
Vasco Santos
4ab125e017 fix: signature compliant with spec 2020-08-27 15:38:01 +02:00
Vasco Santos
3e5d450eca feat: signed peer records record manager 2020-08-27 15:38:01 +02:00
Jacob Heun
098f3d1dd3 chore: update travis to use node lts and stable
BREAKING CHANGE: this drops testing support in node 10.
2020-08-27 15:38:01 +02:00
Jacob Heun
f68ff35625
chore: update contributors 2020-08-05 19:07:07 +02:00
Jacob Heun
51d7ca44c1
feat(keychain): add support for ed25519 and secp keys ()
* feat(keychain): add support for ed25519 and secp keys

* chore: bump crypto

* refactor: cleanup keychain usage
2020-08-05 18:19:10 +02:00
Jacob Heun
7e14aa19b5
chore: update contributors 2020-07-27 11:58:52 +02:00
Jacob Heun
388df6b6e6
chore: update contributors 2020-07-20 17:23:00 +02:00
Jacob Heun
7dbfe6ab1a
chore: update libp2p-crypto ()
This includes a patch for ed25519 interop with Go
2020-07-20 17:18:09 +02:00
Jacob Heun
f2d0d8b51d
chore: update contributors 2020-07-14 19:13:54 +02:00
Jacob Heun
6115f8b680
chore: update contributors 2020-07-14 16:12:59 +02:00
Jacob Heun
0fd23f6a5f
chore: update contributors 2020-07-10 17:26:21 +02:00
Jacob Heun
51da8874d8
test: add pubsub reconnect test ()
* test: add pubsub reconnect test

* chore: dep bump

* chore: remove temp pubsub dep

Co-authored-by: Vasco Santos <vasco.santos@moxy.studio>

Co-authored-by: Vasco Santos <vasco.santos@moxy.studio>
2020-07-07 18:31:51 +02:00
Jacob Heun
19e7254c3d
chore: update contributors 2020-07-03 16:14:47 +02:00
Vasco Santos
f4898eb883
chore: add test for pubsub on reconnect ()
* chore: add test for pubsub on reconnect

* chore: update interface dep

Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-07-03 16:08:37 +02:00
Jacob Heun
07bd269fb0
chore: update contributors 2020-06-18 15:40:38 +02:00
Jacob Heun
b56cdda0ef
chore: update contributors 2020-06-15 12:48:25 +02:00