web3-onboard
web3-onboard copied to clipboard
Bump @wagmi/core to v2.16.4 and Viem to v2.23.4 to Fix Sepolia RPC Connection
Description
Upgraded @wagmi/core to v2.16.4 and viem to v2.23.4 to resolve connection issues with the Sepolia chain. Previous versions were attempting to connect to a deprecated Sepolia endpoint. This update ensures compatibility with an active RPC.
PLEASE NOTE- Checklist must be complete prior to review.
Checklist
- [x] Increment the version field in
package.jsonof the package you have made changes in following semantic versioning and using alpha release tagging - [x] Check the box that allows repo maintainers to update this PR
- [x] Test locally to make sure this feature/fix works
- [x] Run
yarn check-allto confirm there are not any associated errors - [ ] Confirm this PR passes Circle CI checks
- [x] Add or update relevant information in the documentation
Docs Checklist
- [ ] Include a screenshot of any changes (see docs README on running locally)
- [ ] Add/update the appropriate package README (if applicable)
- [x] Add/update the related module in the docs demo (if applicable)
- [ ] Add/update the related package in the
docs/package.jsonfile (if applicable)
If this PR includes changes to add an injected wallet or SDK wallet module:
Please complete the following using the internal demo package.
To run this demo use the command yarn && yarn dev to get the project running at http://localhost:8080/
Tests with demo app (injected)
- [x] send transaction
- [x] switch chains
- [x] sign message
- [x] sign typed message
- [x] disconnect
Tests with demo app (SDK)
- [ ] send transaction
- [ ] switch chains
- [ ] sign message
- [ ] sign typed message
- [ ] disconnect
🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎
To accept the risk, merge this PR and you will not be notified again.
| Alert | Package | Note | Source | CI |
|---|---|---|---|---|
| Critical CVE | npm/[email protected] |
| ⚠︎ | |
| Critical CVE | npm/[email protected] |
| ⚠︎ |
Next steps
What is a critical CVE?
Contains a Critical Common Vulnerability and Exposure (CVE).
Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.
Take a deeper look at the dependency
Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.
Remove the package
If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.
Mark a package as acceptable risk
To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all
@SocketSecurity ignore npm/[email protected]@SocketSecurity ignore npm/[email protected]
Hope to see this PR published as soon as possible (even in alpha releases). The currently published versions do not have a working Sepolia connection.