chore: config types and dependencies update (#904)

BREAKING CHANGES:

top level types were updated, multiaddr@9.0.0 is used, dialer and keychain internal property names changed and connectionManager minPeers is not supported anymore
This commit is contained in:
Vasco Santos
2021-04-15 09:40:02 +02:00
committed by GitHub
parent 8e1743cac4
commit 8506414ea1
114 changed files with 4600 additions and 828 deletions

View File

@ -21,6 +21,8 @@ describe('libp2p.peerStore', () => {
})
})
afterEach(() => Promise.all([libp2p, remoteLibp2p].map(l => l.stop())))
it('adds peer address to AddressBook and keys to the keybook when establishing connection', async () => {
const remoteIdStr = remoteLibp2p.peerId.toB58String()