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

chore: improve error handling #3188

Closed magiziz closed 2 weeks ago

magiziz commented 2 weeks ago

Description

Improved error handling for auth and universal provider connector.

Type of change

Associated Issues

For Linear issues: Closes APKT-1400

Checklist

linear[bot] commented 2 weeks ago

APKT-1400 Change error message when socials or email login are not working

changeset-bot[bot] commented 2 weeks ago

🦋 Changeset detected

Latest commit: ec606b2ff4148fd31f24702861935b6668b1b38d

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

This PR includes changesets to release 20 packages | Name | Type | | ------------------------------ | ----- | | @reown/appkit-adapter-ethers5 | Patch | | @reown/appkit-adapter-ethers | Patch | | @reown/appkit-adapter-solana | Patch | | @reown/appkit-adapter-wagmi | Patch | | @reown/appkit-utils | Patch | | @reown/appkit | Patch | | @apps/demo | Patch | | @apps/gallery | Patch | | @apps/laboratory | Patch | | @reown/appkit-adapter-polkadot | Patch | | @reown/appkit-cdn | 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 |

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 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 6, 2024 11:05am
appkit-vue-solana ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2024 11:05am
appkit-wagmi-cdn-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2024 11:05am
vue-wagmi-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2024 11:05am
web3modal-gallery ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2024 11:05am
github-actions[bot] commented 2 weeks ago

Coverage Report for Coverage

Status Category Percentage Covered / Total
🔵 Lines 341.21000000000004% 4507 / 18764
🔵 Statements 341.21000000000004% 4507 / 18764
🔵 Functions 376.16999999999996% 372 / 1088
🔵 Branches 465.18000000000006% 683 / 1392
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/appkit/src/universal-adapter/client.ts 51.09% 46.77% 47.36% 51.09% 110-114, 132-133, 136, 141-142, 144-146, 158-162, 164-217, 230-232, 241-255, 271-287, 290-296, 298-304, 314-319, 322-326, 349-354, 358-363, 370-392, 398, 400-403, 429-450, 467-475, 503-504, 506, 511-512, 531-536, 547-556, 559-562, 566-594, 633-637, 642-645, 662-663, 675-700, 717-724
packages/appkit-utils/src/ErrorUtil.ts 0% 0% 0% 0% 1-44
packages/appkit-utils/src/LoggerUtil.ts 0% 0% 0% 0% 1-27
Generated in workflow #7215 for commit ec606b2 by the Vitest Coverage Report Action