Skip to content

Conversation

@Simon-Laux
Copy link
Contributor

@Simon-Laux Simon-Laux commented Jan 14, 2026

Follow up to #6655, looks like it was forgotten there.

Let's keep it as draft until we make sure that this doesn't break
anything in desktop dependency resolution or bundling.
with the yerpc fix it will be safe.

To be on the safe side I also removed the web socket dependencies from yerpc in chatmail/yerpc#74.
Turns out those extra wrapper dependencies are not needed anymore in nodejs1. So as soon as we release and use a new yerpc version with this fix we can merge this PR without any worries. And then we can also remove the ws dependency from desktop2 .

Another reason for removing these dependencies is that they triggered irrelevant dependabot PRs, for a dependency that was not even used.

Footnotes

  1. since version 22 there is official support for web sockets and browser already had native support anyway, so this wrapper library is not used anymore

  2. and then we can also remove the we dependency from desktop packages: it can just be removed from frontend and electron. and in the browser version we need a mini refactoring to migrate to the standard web sockets)

`@deltachat/jsonrpc-client`

follow up to #6655, looks like it was forgotten there.

Let's keep it as draft until we make sure that this doesn't break
anything in desktop dependency resolution or bundling. Could be that we
also need to remove it from upstream yerpc (there it should ideally be
an extension package, like `yerpc-websocket-transport`).
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.

2 participants