Chris Basham

Results 35 comments of Chris Basham

Those are some amazing results! My recommendation: - Add an explicit `NONE` option, and clearly state whatever default you settle on in the documentation. You can do that in a...

I'm now using `[email protected]`. As for my browser version of Earthstar, I compiled [my own bundle of v8.2.4](https://github.com/basham/earthstar-bundle/tree/v8.2.4) (rather than copying it over from the CDN), and I'm including it...

As additional tests in the browser, I swapped out `ReplicaDriverIndexedDB` for `ReplicaDriverMemory` and `ReplicaDriverLocalStorage`. In all cases, the Websocket messages are identical (as I described in my last comment).

This gist contains 5 to 10 seconds of the Websocket messages that the browser received from replica-server. I've logged the messages as JSON. https://gist.github.com/basham/13af3ec5f6395b988ecaf1c924120cd1

The import path changes are nice. I was doing this in one part of my code: ```js import { ReplicaDriverSqlite } from 'earthstar/src/entries/node.js' ``` It'll be nice doing this: ```js...

I know I encountered problems with `buffer` with either Earthstar v6 or v7. But I'm not seeing that particular issue now. After some more investigation, the problem is more complex...

More specifically, as a start, you may want to consider splitting up `deps.ts` into `browser-deps.ts`, `node-deps.ts`, and `universal-deps.ts`. But I'm sure it'll get more complex than that, as you dive...

[`crypto-driver-chloride.js`](https://unpkg.com/browse/[email protected]/esm/src/crypto/crypto-driver-chloride.js) is a good example of how the dependencies are handled well. It depends on the `chloride` and `buffer` packages, but it is only referenced by the [`node.js` entry](https://unpkg.com/browse/[email protected]/esm/src/entries/node.js). As...

As some additional tests, instead of having Snowpack try to build Earthstar itself, I switched to using CDN module imports. But both tests results in browser errors. ## Skypack -...

I do not intend to use a URL import of Earthstar. I just did the Skypack and ESM.sh test as a way to see if those systems somehow could resolve...