b621fbdfdc
revert: "fix: throw if no conn encryption module provided ( #665 )"
...
This reverts commit c038550fad
.
2020-06-15 12:45:49 +02:00
24dd1d22c5
chore: release version v0.28.1
v0.28.1
2020-06-12 16:48:30 +02:00
a1a1213bdc
chore: update contributors
2020-06-12 16:48:29 +02:00
90a9d93968
chore: refactor ConnectionManager#get
2020-06-11 16:21:51 +02:00
8f680e20e9
feat: add ConnectionManager#getAll
2020-06-11 16:21:51 +02:00
afafd08943
chore: fix discv5 npm link
...
chore: update package name for discv5
2020-06-11 13:03:31 +02:00
c038550fad
fix: throw if no conn encryption module provided ( #665 )
...
* fix: throw if no conn encryption module provided
* chore: address review
* chore: apply suggestions from code review
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
2020-06-11 12:49:32 +02:00
d60a3215d0
chore: update interface datastore ( #663 )
...
* chore: update interface datastore
Updates to v1.x.x to not have multiple versions of this module in the ipfs browser bundle.
* fix: let batch commits complete before continuing tests
Batch commits are async but the tests weren't waiting for them to complete,
mainly because they are triggered by events.
There's no way that I can see of waiting for the batch commit to finish so
I've added delays to the tests. Not great but a start.
* chore: use error log
* test: wait for commit spies to complete
* chore: bump interface-datastore
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
2020-06-10 23:39:40 +02:00
1e51295150
chore: use interop release
2020-06-08 12:20:48 +02:00
5299995998
chore: release version v0.28.0
v0.28.0
2020-06-05 15:32:03 +02:00
64a66f08ac
chore: update contributors
2020-06-05 15:32:03 +02:00
e2a63bab62
chore: release version v0.28.0-rc.0
v0.28.0-rc.0
2020-05-28 12:52:25 +02:00
294b032b0b
chore: update contributors
2020-05-28 12:52:24 +02:00
72f37acd4a
fix: always emit when a connection is made
2020-05-28 12:37:48 +02:00
52a615f922
fix: expose the muxed stream interface on inbound streams
2020-05-28 12:37:48 +02:00
698c1df1b4
feat: support dial only on transport manager to tolerate errors ( #643 )
...
* feat: support dial only on transport manager to tolerate errors
* chore: address review
* chore: add jsdoc to transport manager tolerance errors
2020-05-28 12:37:48 +02:00
7f4662f8d8
chore: fix api formatting ( #644 )
2020-05-28 12:37:48 +02:00
84b935f682
feat: metadata book ( #638 )
...
* feat: metadata book
* chore: address review
* chore: address review
2020-05-28 12:37:48 +02:00
0fbb59748e
docs: update examples to 0.28.x api ( #625 )
...
* chore: update examples to 0.28 api
* chore: use libp2p-noise in examples
* chore: examples using multiaddrs property of libp2p
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
* docs: update language around secio in crypto example
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
2020-05-28 12:37:48 +02:00
56316b8c1e
docs: migration 0.27 to 0.28 ( #637 )
...
* docs: migration 0.27 to 0.28
* chore: apply suggestions from code review
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
2020-05-28 12:37:48 +02:00
aaa1155633
chore: uncomment local peer public key after connect test
2020-05-28 12:37:48 +02:00
aa5e232479
chore: rewrite peer-store submit and retrieve docs ( #605 )
...
* chore: rewrite peer-store submit and retrieve docs
* chore: address review
2020-05-28 12:37:48 +02:00
eb7adcf1ab
docs: libp2p components options specified
2020-05-28 12:37:48 +02:00
0be74e6a61
chore: apply suggestions from code review
...
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
2020-05-28 12:37:48 +02:00
6065923356
chore: integrate libp2p-keychain into js-libp2p ( #633 )
...
Integrates the libp2p-keychain codebase into this repo
2020-05-28 12:37:48 +02:00
2b45fee0ed
fix: onConnect should not add addr to the addressBook
2020-05-28 12:37:48 +02:00
8bf5a70bb8
chore: integrate libp2p-keychain into js-libp2p ( #633 )
...
Integrates the libp2p-keychain codebase into this repo
Co-authored-by: David Dias <daviddias.p@gmail.com >
Co-authored-by: Richard Schneider <makaretu@gmail.com >
Co-authored-by: Maciej Krüger <mkg20001@gmail.com >
Co-authored-by: Victor Bjelkholm <victorbjelkholm@gmail.com >
Co-authored-by: Masahiro Saito <camelmasa@gmail.com >
Co-authored-by: Alan Shaw <alan.shaw@protocol.ai >
Co-authored-by: Hugo Dias <mail@hugodias.me >
Co-authored-by: Alberto Elias <hi@albertoelias.me >
Co-authored-by: Alex Potsides <alex@achingbrain.net >
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
2020-05-28 12:37:48 +02:00
6627278a87
chore: apply suggestions from code review
...
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
2020-05-28 12:37:48 +02:00
65e87460b0
chore: add keys to keybook on connection upgraded
2020-05-28 12:37:48 +02:00
7b8d01697d
chore: apply suggestions from code review
...
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
2020-05-28 12:37:48 +02:00
ce38033c10
feat: keybook
2020-05-28 12:37:48 +02:00
3f2b06dc26
chore: remove peer-info from package table
2020-05-28 12:37:48 +02:00
1e3d6f4b56
chore: apply suggestions from code review
...
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
2020-05-28 12:37:48 +02:00
48a9a3eecc
refactor: peristent peer-store extended class and disabled by defaul
2020-05-28 12:37:48 +02:00
9ea9287bea
chore: persist delete with test
2020-05-28 12:37:48 +02:00
5123a8357b
feat: peerStore persistence
2020-05-28 12:37:48 +02:00
43630f1e0b
test: use libp2p-noise ( #585 )
...
* chore: use libp2p-noise
* chore: address review
2020-05-28 12:37:48 +02:00
aaf62a40ec
fix: libp2p connections getter
2020-05-28 12:37:48 +02:00
7fbd1556e8
fix: use libp2p.multiaddrs instead of listen
...
Co-Authored-By: Jacob Heun <jacobheun@gmail.com >
2020-05-28 12:37:48 +02:00
51474c334a
chore: rename address functions and apply suggestions from code review
...
Co-Authored-By: Jacob Heun <jacobheun@gmail.com >
2020-05-28 12:37:48 +02:00
d75cc97ced
chore: update api docs
2020-05-28 12:37:48 +02:00
2a7967c1cc
feat: address manager
2020-05-28 12:37:48 +02:00
9e9ec0b575
chore: apply suggestions from code review
...
Co-Authored-By: Jacob Heun <jacobheun@gmail.com >
2020-05-28 12:37:48 +02:00
d3a4bf0a3f
chore: refactor connection manager and registrar
2020-05-28 12:37:48 +02:00
d33919d0b3
chore: use kad-dht with renamed peer-store properties
2020-05-28 12:37:48 +02:00
c215339a27
chore: rename peer-store properties
2020-05-28 12:37:48 +02:00
cb597b57d7
chore: apply suggestions from code review
...
Co-Authored-By: Jacob Heun <jacobheun@gmail.com >
2020-05-28 12:37:48 +02:00
12e48adafa
chore: remove peer-info usage
...
BREAKING CHANGE: all API methods with peer-info parameters or return values were changed. You can check the API.md document, in order to check the new values to use
2020-05-28 12:37:48 +02:00
ed6d5bb4b4
chore: deprecate old peer store api ( #598 )
...
* chore: deprecate old peer-store api
BREAKING CHANGE: the peer-store api changed. Check the API docs for the new specification.
* chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com >
* chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com >
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
2020-05-28 12:37:48 +02:00
e9d225c9dc
feat: address and proto books ( #590 )
...
* feat: address and proto books
* chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com >
* chore: minor fixes and initial tests added
* chore: integrate new peer-store with code using adapters for other modules
* chore: do not use peerstore.put on get-peer-info
* chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com >
* chore: add new peer store tests
* chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com >
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
2020-05-28 12:37:48 +02:00