810 Commits

Author SHA1 Message Date
Vasco Santos
c0bbda24c2 chore: merge 0.28x updates 2020-05-07 17:45:22 +02:00
Vasco Santos
9eaed58604 chore: apply suggestions from code review
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-05-07 17:17:55 +02:00
Vasco Santos
d21a138d40 chore: add keys to keybook on connection upgraded 2020-05-07 17:17:55 +02:00
Vasco Santos
16a62cae0d chore: apply suggestions from code review
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-05-07 17:17:55 +02:00
Vasco Santos
8e35ab11da feat: keybook 2020-05-07 17:17:55 +02:00
Vasco Santos
b1a2b8aa76 Merge branch '0.28.x' into feat/keychain 2020-05-07 10:54:20 +02:00
Vasco Santos
396e1b1b49 chore: remove peer-info from package table 2020-05-05 16:09:51 +02:00
Vasco Santos
1059c87925 chore: apply suggestions from code review
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-05-05 16:08:10 +02:00
Vasco Santos
b880d5de97 refactor: peristent peer-store extended class and disabled by defaul 2020-05-05 16:08:10 +02:00
Vasco Santos
da7ddbb160 chore: persist delete with test 2020-05-05 16:08:10 +02:00
Vasco Santos
7d3d6dec68 feat: peerStore persistence 2020-05-05 16:08:10 +02:00
Vasco Santos
8c92e8b3d8
test: use libp2p-noise (#585)
* chore: use libp2p-noise

* chore: address review
2020-05-04 16:03:11 +02:00
Vasco Santos
9d54730077 chore: merge 0.28x updates 2020-05-01 22:06:32 +02:00
Vasco Santos
0252eaf960 fix: libp2p connections getter 2020-05-01 21:46:21 +02:00
Vasco Santos
de05e70820 fix: use libp2p.multiaddrs instead of listen
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
2020-05-01 21:46:21 +02:00
Vasco Santos
beb6b8090d chore: rename address functions and apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
2020-05-01 21:43:21 +02:00
Vasco Santos
52f45d0319 chore: update api docs 2020-05-01 21:43:21 +02:00
Vasco Santos
bc9760319c feat: address manager 2020-05-01 21:43:21 +02:00
Vasco Santos
261c99dd18 chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
2020-05-01 21:36:58 +02:00
Vasco Santos
31d8a929ea chore: refactor connection manager and registrar 2020-05-01 21:36:58 +02:00
Vasco Santos
67fda7e106 chore: use kad-dht with renamed peer-store properties 2020-05-01 21:36:26 +02:00
Vasco Santos
e96f01ae74 chore: rename peer-store properties 2020-05-01 21:36:26 +02:00
Vasco Santos
ea149cd1fe chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
2020-05-01 21:36:25 +02:00
Vasco Santos
daf980e2ba 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-01 21:35:49 +02:00
Vasco Santos
ac124644d5 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-01 21:33:28 +02:00
Vasco Santos
a08a725123 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-01 21:33:03 +02:00
Vasco Santos
97455957ac
chore: remove wrtc devdep (#624) 2020-04-30 12:00:50 +02:00
David Dias
5255d87d0a
docs: remove Tech Lead from README (#623) 2020-04-30 11:51:21 +02:00
Vasco Santos
0b260e91ac Merge branch 'master' of ../js-libp2p-keychain into feat/keychain 2020-04-29 16:05:15 +02:00
Vasco Santos
d9fd726163 chore: move to libp2p 2020-04-29 15:09:32 +02:00
dependabot-preview[bot]
9e96dbc50f
chore(deps-dev): bump datastore-fs from 0.9.1 to 1.0.0 (#46)
Bumps [datastore-fs](https://github.com/ipfs/js-datastore-fs) from 0.9.1 to 1.0.0.
- [Release notes](https://github.com/ipfs/js-datastore-fs/releases)
- [Changelog](https://github.com/ipfs/js-datastore-fs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ipfs/js-datastore-fs/compare/v0.9.1...v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-29 11:06:50 +02:00
Vasco Santos
e72a5b0084
chore(deps-dev): bump datastore-level from 0.14.1 to 1.0.0 2020-04-29 10:14:21 +02:00
Vasco Santos
21b39ebcd0 chore: rename address functions and apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
2020-04-28 16:48:29 +02:00
dependabot-preview[bot]
fd618b6e47
chore(deps-dev): bump datastore-level from 0.14.1 to 1.0.0
Bumps [datastore-level](https://github.com/ipfs/js-datastore-level) from 0.14.1 to 1.0.0.
- [Release notes](https://github.com/ipfs/js-datastore-level/releases)
- [Changelog](https://github.com/ipfs/js-datastore-level/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ipfs/js-datastore-level/compare/v0.14.1...v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-28 13:42:27 +00:00
dependabot-preview[bot]
03ce7c3103
chore(deps-dev): bump p-times from 2.1.0 to 3.0.0 (#620)
Bumps [p-times](https://github.com/sindresorhus/p-times) from 2.1.0 to 3.0.0.
- [Release notes](https://github.com/sindresorhus/p-times/releases)
- [Commits](https://github.com/sindresorhus/p-times/compare/v2.1.0...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-28 13:16:41 +02:00
Vasco Santos
4e4a9988a3 chore: update api docs 2020-04-27 19:03:10 +02:00
Vasco Santos
7e76d0f649 feat: address manager 2020-04-27 17:36:59 +02:00
Vasco Santos
e87b42bc78 chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
2020-04-27 16:46:18 +02:00
Vasco Santos
a55a4dcd27 chore: refactor connection manager and registrar 2020-04-27 16:46:18 +02:00
Didrik Nordström
ea0621b2f6
fix: reset discovery services upon stop (#618) 2020-04-27 12:07:30 +02:00
Vasco Santos
7627f96c4f chore: use kad-dht with renamed peer-store properties 2020-04-27 09:22:40 +02:00
Vasco Santos
872338840f chore: rename peer-store properties 2020-04-27 09:22:40 +02:00
Jacob Heun
9197df309b
chore: release version v0.27.7 v0.27.7 2020-04-24 17:38:32 +02:00
Jacob Heun
8dd361338b
chore: update contributors 2020-04-24 17:38:32 +02:00
Hugo Dias
9b13fe321a
fix: remove node global (#587)
* fix: use new libp2p-crypto

* fix: remove node globals and reduce size

- adds buffer require
- adds globalThis where needed
- streaming-iterables was remove and new utils created, this will be consolidated in `ipfs-utils` and backported here to normalize all these iterator helper functions
- latency-monitor was copied inside the repo
- iso-random-stream is now used instead of node crypto
- the test `should ignore self on discovery` was moved to node only

Size: 172.97KB
47.03KB below the 220KB limit.

`aegir build --node false` and `aegir test -t browser --node false` now work 🎉

* fix: fix require path

* fix: feedback

* fix: update deps and bundle size

* chore: bump interfaces

* chore: update size
2020-04-24 17:10:40 +02:00
Vasco Santos
984d933606 chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
2020-04-24 14:58:39 +02:00
Vasco Santos
0f6e8781db 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-04-24 14:58:39 +02:00
Jacob Heun
1f85e0213a
chore: release version v0.27.6 v0.27.6 2020-04-16 16:35:01 +02:00
Jacob Heun
09a604b5e5
chore: update contributors 2020-04-16 16:35:01 +02:00
Jacob Heun
ed16b69057
chore: update delegate routing deps to fix branches (#609)
* chore: update delegate routing deps to fix branches

* chore: bump delegate router versions
2020-04-16 15:48:13 +02:00