Skip to content
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

fix: add await on switchNetwork #3895

Merged
merged 3 commits into from
Feb 21, 2025
Merged

fix: add await on switchNetwork #3895

merged 3 commits into from
Feb 21, 2025

Conversation

magiziz
Copy link
Contributor

@magiziz magiziz commented Feb 21, 2025

Description

We didn't add await in switchNetwork

Type of change

  • Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • Code in this PR is covered by automated tests (Unit tests, E2E tests)
  • My changes generate no new warnings
  • I have reviewed my own code
  • I have filled out all required sections
  • I have tested my changes on the preview link
  • Approver of this PR confirms that the changes are tested on the preview link

Copy link

changeset-bot bot commented Feb 21, 2025

🦋 Changeset detected

Latest commit: efc038b

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

This PR includes changesets to release 19 packages
Name Type
@reown/appkit-adapter-bitcoin Patch
@reown/appkit-adapter-ethers5 Patch
@reown/appkit-adapter-ethers Patch
@reown/appkit-adapter-solana Patch
@reown/appkit-utils Patch
@reown/appkit Patch
@reown/appkit-adapter-wagmi Patch
@reown/appkit-cdn Patch
@reown/appkit-cli Patch
@reown/appkit-common Patch
@reown/appkit-core Patch
@reown/appkit-experimental Patch
@reown/appkit-polyfills Patch
@reown/appkit-scaffold-ui Patch
@reown/appkit-siwe Patch
@reown/appkit-siwx Patch
@reown/appkit-ui Patch
@reown/appkit-wallet Patch
@reown/appkit-wallet-button 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

Copy link

vercel bot commented Feb 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
appkit-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 21, 2025 0:54am
appkit-ethers5-bera ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 21, 2025 0:54am
appkit-laboratory ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 21, 2025 0:54am
next-wagmi-solana-bitcoin-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 21, 2025 0:54am
10 Skipped Deployments
Name Status Preview Comments Updated (UTC)
appkit-basic-ep ⬜️ Ignored (Inspect) Feb 21, 2025 0:54am
appkit-basic-ep-example ⬜️ Ignored (Inspect) Feb 21, 2025 0:54am
appkit-basic-example ⬜️ Ignored (Inspect) Feb 21, 2025 0:54am
appkit-basic-sign-client-example ⬜️ Ignored (Inspect) Feb 21, 2025 0:54am
appkit-basic-up-example ⬜️ Ignored (Inspect) Feb 21, 2025 0:54am
appkit-nansen-demo ⬜️ Ignored (Inspect) Visit Preview Feb 21, 2025 0:54am
appkit-vue-solana ⬜️ Ignored (Inspect) Feb 21, 2025 0:54am
appkit-wagmi-cdn-example ⬜️ Ignored (Inspect) Feb 21, 2025 0:54am
ethereum-provider-wagmi-example ⬜️ Ignored (Inspect) Visit Preview Feb 21, 2025 0:54am
vue-wagmi-example ⬜️ Ignored (Inspect) Feb 21, 2025 0:54am

Copy link
Contributor

github-actions bot commented Feb 21, 2025

Warnings
⚠️ File packages/appkit/src/client.ts contains a KEY or SECRET
⚠️ File packages/appkit/tests/client/public-methods.test.ts contains a KEY or SECRET

Generated by 🚫 dangerJS against efc038b

Copy link
Contributor

github-actions bot commented Feb 21, 2025

Copy link
Collaborator

@tomiir tomiir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need a test for this?

@magiziz magiziz merged commit 8d2a81f into main Feb 21, 2025
30 checks passed
@magiziz magiziz deleted the fix/switch-network-await branch February 21, 2025 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants