libp2p / js-libp2p-webtransport

WebTranport module that libp2p uses and that implements the interface-transport spec
Other
15 stars 5 forks source link

fix: window is not defined in worker contexts #59

Closed SgtPooki closed 1 year ago

SgtPooki commented 1 year ago

window.WebTransport doesn't exist in service worker.

SgtPooki commented 1 year ago

ping @achingbrain

achingbrain commented 1 year ago

I pushed a change to run our test suite on Chrome webworkers which would have caught this error.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 1.0.10 :tada:

The release is available on:

Your semantic-release bot :package::rocket: