wevm / viem

TypeScript Interface for Ethereum
https://viem.sh
Other
2.44k stars 729 forks source link

feat: add ws keepalive support #2516

Closed izayl closed 1 month ago

izayl commented 1 month ago

PR-Codex overview

The focus of this PR is to add a keepAlive property to the webSocket transport for sending ping messages and improve reconnect behavior.

Detailed summary

The following files were skipped due to too many changes: src/utils/rpc/socket.ts

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 874c5a298028712a0a2de673a9b3c36b5838591c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ---- | ----- | | viem | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 1 month ago

@izayl is attempting to deploy a commit to the Wevm Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 1 month ago

Deployment failed with the following error:

The provided GitHub repository does not contain the requested branch or commit reference. Please ensure the repository is not empty.