Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Transport implements initializable #11

Merged
merged 2 commits into from
Aug 10, 2022
Merged

Conversation

ckousik
Copy link
Collaborator

@ckousik ckousik commented Aug 10, 2022

@John-LittleBearLabs Could we merge this into your existing PR? I can then work on connection using your branch. It allows access to the registrar and metrics components.

@@ -41,6 +45,7 @@ export class WebRTCTransport implements Transport {
}

async _connect(ma: Multiaddr, options: WebRTCDialOptions) {
let registrar = (await this.components.promise).getRegistrar();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is registrar used for?

@John-LittleBearLabs
Copy link
Contributor

I suppose we can. But since the prologue support has landed in the upstream js-libp2p-noise, perhaps we could merge that other PR into develop? The only question is the correct reference in package.json for the new new noise (I don't believe there's a release yet, so we might need to do the git thing).

@ckousik ckousik changed the base branch from jt/con-428_dial to develop August 10, 2022 15:49
@ckousik ckousik merged commit 688dc3e into develop Aug 10, 2022
@ddimaria ddimaria linked an issue Aug 12, 2022 that may be closed by this pull request
17 tasks
@github-actions
Copy link

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement webrtc in js-libp2p
2 participants