1
0
mirror of https://github.com/fluencelabs/js-libp2p synced 2025-03-16 15:40:49 +00:00

810 Commits

Author SHA1 Message Date
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
cfbd52d7f7 chore: migration to 0.29 should use webrtc-star0.20 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
b606ce0e91 chore: release version v0.29.0-rc.0 2020-08-27 15:38:01 +02:00
Jacob Heun
64c8c0f097 chore: update contributors 2020-08-27 15:38:01 +02:00
Vasco Santos
9be582e222 docs: migration 0.28 to 0.29 ()
* docs: migration 0.28 to 0.29

* chore: finish pubsub migration

* chore: add uintarray migration and modules

* chore: apply suggestions from code review

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

* chore: add uint8array module reference

* chore: rename files

Co-authored-by: Jacob Heun <jacobheun@gmail.com>
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
9107efe121 chore: apply suggestions from code review
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-08-27 15:38:01 +02:00
Vasco Santos
cd09327eb6 chore: add notice for addressBook.set 2020-08-27 15:38:01 +02:00
Vasco Santos
ca57e65ecc chore: apply suggestions from code review
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-08-27 15:38:01 +02:00
Vasco Santos
f574e82a5d chore: apply suggestions from code review 2020-08-27 15:38:01 +02:00
Vasco Santos
15613ccf19 fix: do not return self on peerstore.peers 2020-08-27 15:38:01 +02:00
Vasco Santos
dab1c8b2a5 chore: increase bundle size 2020-08-27 15:38:01 +02:00
Vasco Santos
d437defede chore: rename isEqual to equals in tests 2020-08-27 15:38:01 +02:00
Vasco Santos
74d414c21f chore: add certified peer records to persisted peer store 2020-08-27 15:38:01 +02:00
Vasco Santos
8f2e69048f feat: cerified addressbook 2020-08-27 15:38:01 +02:00
Vasco Santos
b0a36ccbc8 chore: apply suggestions from code review
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-08-27 15:38:01 +02:00
Vasco Santos
3158366579 fix: revert new identify protocol versions 2020-08-27 15:38:01 +02:00
Vasco Santos
1d318e12d8 chore: address review 2020-08-27 15:38:01 +02:00
Vasco Santos
8a97dded26 feat: create self peer record in identify 2020-08-27 15:38:01 +02:00
Vasco Santos
e50f0eeb7b feat: exchange signed peer records in identify 2020-08-27 15:38:01 +02:00
Vasco Santos
ee57a643cc chore: apply suggestions from code review
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-08-27 15:38:01 +02:00
Vasco Santos
89658dd655 chore: address review 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
71daac24b1 chore: refactor and better docs 2020-08-27 15:38:01 +02:00
Vasco Santos
02a5095b9c chore: apply suggestions from code review
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
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
Vasco Santos
689f90a698 revert: reapply "fix: throw if no conn encryption module provided ()"
This reapplies commit b621fbdfdc1844343c513ac40d4389e8beee714e.
2020-08-27 15:38:01 +02:00
Vasco Santos
0e3cc5866b
docs: update peer store api with metadata () 2020-08-21 13:03:29 +02:00
Alan Shaw
4851680c4d
docs: link to official streaming iterables document () 2020-08-06 13:23:18 +02:00
Jacob Heun
0e18735b8c
chore: release version v0.28.10 v0.28.10 2020-08-05 19:07:08 +02:00
Jacob Heun
f68ff35625
chore: update contributors 2020-08-05 19:07:07 +02:00
Alex Potsides
8c56ec0d23
fix: allow certain keychain operations without a password ()
* fix: allow certain keychain operations without a password

Listing, removing, renaming etc keys do not require a password so
the user should not be required to provide one.

This means we don't have to prompt the user to create a password
when they aren't going to do any operations that require a password.

* fix: make keychain pass optional

* fix: support libp2p creation without keychain pass

Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-08-05 19:03:11 +02:00
Vasco Santos
fa5ee873e3
chore: update node and npm badges () 2020-08-05 18:26:50 +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
726a746479
fix(identify): make agentversion dynamic and add it to the peerstore () 2020-08-04 18:39:05 +02:00
Felipe Martins
a331b84f13
docs(example): add pubssub message filter example
moved the filter folder

rename folder

docs(refactor): clean up pubsub validator example
2020-07-31 12:09:34 +02:00
Jacob Heun
78d152dd68
chore: release version v0.28.9 v0.28.9 2020-07-27 11:58:53 +02:00
Jacob Heun
7e14aa19b5
chore: update contributors 2020-07-27 11:58:52 +02:00
Vasco Santos
2440c872df
fix: ping multiaddr from peer not previously stored in peerstore () 2020-07-27 10:53:23 +02:00
Jacob Heun
6c7e5e5eef
chore: release version v0.28.8 v0.28.8 2020-07-20 17:23:01 +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
Vasco Santos
cea59a1fe4
docs: update addressBook get and getMultiaddrsForPeer return values () 2020-07-20 16:17:39 +02:00
Vasco Santos
7da9ad44ab
fix: create dial target for peer with no known addrs () 2020-07-20 14:54:03 +02:00
Vasco Santos
3896941128
docs: use tag for webrtc-star discovery config () 2020-07-20 14:51:24 +02:00
Vasco Santos
856b38de67
chore: add migration guide template () 2020-07-16 18:14:02 +02:00