-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
ReplicaDriverWeb not accessible from all environments #310
Comments
Oh and I depend on version ^10.0.1 |
Hi @keks! In the NPM distribution some exports have been moved to import * as Earthstar from "earthstar";
import { ReplicaDriverWeb } from "earthstar/browser"; Let me know if that helps. |
You're right about |
As the README has been updated and the website now lists APIs for all environments on the website, I'd like to think it'd be harder for some to get into the same situation as you did. |
What's the problem you want solved?
I noticed that ReplicaDriverWeb is not accessible from my setup. It also doesn't show up in the API docs.
I use npm with webpack. It's very small, no fancy build scripts. I import earthstar using
and that works and most functionality is there, but ReplicaDriverWeb isn't.
When using it from a simple js file with type=module and the cdn import it worked fine. No idea what the cause is, I don't know JS/TS tooling very well.
Is there a solution you'd like to recommend?
Sorry, no.
The text was updated successfully, but these errors were encountered: