reown-com / appkit

The full stack toolkit to build onchain app UX
https://reown.com/appkit
Apache License 2.0
4.94k stars 1.41k forks source link

fix: add deprecated caip network ids for solana chains as a workaround #3205

Closed zoruka closed 2 weeks ago

zoruka commented 2 weeks ago

Description

Add the workaround for deprecated solana chain ids in Universal Provider Adapter.

Type of change

Associated Issues

For Linear issues: Closes APKT-xxx For GH issues: closes #...

Showcase (Optional)

If there is a UI change include the screenshots with before and after state. If new feature is being introduced, include the link to demo recording.

Checklist

changeset-bot[bot] commented 2 weeks ago

⚠️ No Changeset found

Latest commit: 0244fb89395e168bcd68539d5780b84054a22943

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

vercel[bot] commented 2 weeks ago

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

Name Status Preview Comments Updated (UTC)
appkit-laboratory ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 10:36pm
appkit-vue-solana ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 10:36pm
appkit-wagmi-cdn-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 10:36pm
vue-wagmi-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 10:36pm
web3modal-gallery ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 10:36pm
github-actions[bot] commented 2 weeks ago

Coverage Report for Coverage

Status Category Percentage Covered / Total
🔵 Lines 341.73% 4495 / 18736
🔵 Statements 341.73% 4495 / 18736
🔵 Functions 375.93% 371 / 1087
🔵 Branches 465.43000000000006% 681 / 1388
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/appkit/src/networks/solana/solana.ts 100% 100% 100% 100%
packages/appkit/src/networks/solana/solanaDevnet.ts 100% 100% 100% 100%
packages/appkit/src/tests/mocks/UniversalProvider.ts 100% 100% 100% 100%
packages/appkit/src/utils/HelpersUtil.ts 97.4% 85.71% 100% 97.4% 70-71
Generated in workflow #7200 for commit 0244fb8 by the Vitest Coverage Report Action