Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: webrtc import #143

Merged
merged 1 commit into from Sep 14, 2021
Merged

fix: webrtc import #143

merged 1 commit into from Sep 14, 2021

Conversation

gdborton
Copy link
Contributor

@gdborton gdborton commented Sep 8, 2021

What is the purpose of this pull request? (put an "X" next to item)

[ ] Documentation update
[x] Bug fix
[ ] New feature
[ ] Other, please explain:

What changes did you make? (Give an overview)
The recent esm update changed the structure of the resulting wrtc object, this breaks web peers in webtorrent-hybrid.

I found that this change makes simple-peer fail on this line:
https://github.com/feross/simple-peer/blob/master/index.js#L101

Which issue (if any) does this pull request address?

Is there anything you'd like reviewers to focus on?

@welcome
Copy link

welcome bot commented Sep 8, 2021

🙌 Thanks for opening this pull request! You're awesome.

@gdborton gdborton changed the title Fix webrtc import fix: webrtc import Sep 8, 2021
@DiegoRBaquero
Copy link
Member

With which error does it fail? wrtc does not have a default export

@DiegoRBaquero DiegoRBaquero merged commit 3b5d9bb into webtorrent:master Sep 14, 2021
@welcome
Copy link

welcome bot commented Sep 14, 2021

🎉 Congrats on getting your first pull request landed!

webtorrent-bot pushed a commit that referenced this pull request Sep 14, 2021
## [5.0.1](v5.0.0...v5.0.1) (2021-09-14)

### Bug Fixes

* webrtc import ([#143](#143)) ([3b5d9bb](3b5d9bb))
@webtorrent-bot
Copy link

🎉 This PR is included in version 5.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

3 participants