mirror of
https://github.com/fluencelabs/js-libp2p-tcp
synced 2025-06-15 12:01:20 +00:00
feat: change api to async / await (#112)
BREAKING CHANGE: All places in the API that used callbacks are now replaced with async/await. The API has also been updated according to the latest `interface-transport` version, https://github.com/libp2p/interface-transport/tree/v0.6.0#api.
This commit is contained in:
@ -15,7 +15,7 @@ describe('filter addrs', () => {
|
||||
let tcp
|
||||
|
||||
before(() => {
|
||||
tcp = new TCP()
|
||||
tcp = new TCP({ upgrader: {} })
|
||||
})
|
||||
|
||||
it('filter valid addrs for this transport', () => {
|
||||
|
Reference in New Issue
Block a user