Skip to content

fix: Resolve provider creation error & add fallback for wallets without wallet_getAssets support#822

Merged
KannuSingh merged 7 commits intomainfrom
fix/deps-and-lock-file-conflict
Feb 17, 2025
Merged

fix: Resolve provider creation error & add fallback for wallets without wallet_getAssets support#822
KannuSingh merged 7 commits intomainfrom
fix/deps-and-lock-file-conflict

Conversation

@KannuSingh
Copy link
Contributor

@KannuSingh KannuSingh commented Feb 17, 2025

  • fix: cannot create provider error: The error cause due to incorrect lock file.
  • add support for wallet not supporting wallet_getAssets with warning.

@vercel
Copy link

vercel bot commented Feb 17, 2025

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

Name Status Preview Comments Updated (UTC)
chain-abstraction-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 17, 2025 5:35pm
10 Skipped Deployments
Name Status Preview Comments Updated (UTC)
appkit-react-wagmi-example ⬜️ Ignored (Inspect) Feb 17, 2025 5:35pm
appkit-solana ⬜️ Ignored (Inspect) Feb 17, 2025 5:35pm
decentralized-relay-app ⬜️ Ignored (Inspect) Visit Preview Feb 17, 2025 5:35pm
decentralized-relay-wallet ⬜️ Ignored (Inspect) Visit Preview Feb 17, 2025 5:35pm
malicious-dapp-verify-simulation ⬜️ Ignored (Inspect) Visit Preview Feb 17, 2025 5:35pm
react-dapp-v2 ⬜️ Ignored (Inspect) Visit Preview Feb 17, 2025 5:35pm
react-dapp-v2-cosmos-provider ⬜️ Ignored (Inspect) Visit Preview Feb 17, 2025 5:35pm
react-dapp-v2-with-ethers ⬜️ Ignored (Inspect) Visit Preview Feb 17, 2025 5:35pm
react-wallet-v2 ⬜️ Ignored (Inspect) Visit Preview 💬 Add feedback Feb 17, 2025 5:35pm
smart-sessions-demo ⬜️ Ignored (Inspect) Visit Preview Feb 17, 2025 5:35pm

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 17, 2025

Deploying demo-ai-agents with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6d988f4
Status: ✅  Deploy successful!
Preview URL: https://027dbeac.demo-ai-agents.pages.dev
Branch Preview URL: https://fix-deps-and-lock-file-confl.demo-ai-agents.pages.dev

View logs

@KannuSingh KannuSingh requested a review from jakubuid February 17, 2025 17:11
@KannuSingh KannuSingh changed the title fix: cannot create provider error fix: Resolve provider creation error & add fallback for wallets without wallet_getAssets support Feb 17, 2025
size="sm"
onClick={() => setDonutCount(maxDonutPurchasable)}
disabled={count >= maxDonutPurchasable}
disabled={count === maxDonutPurchasable}
Copy link
Member

@chris13524 chris13524 Feb 17, 2025

Choose a reason for hiding this comment

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

Should we just remove this attribute instead? This greys out text when it's exactly equal, but not sure why that would be desired.

Suggested change
disabled={count === maxDonutPurchasable}

@KannuSingh KannuSingh merged commit 2209923 into main Feb 17, 2025
15 checks passed
@KannuSingh KannuSingh deleted the fix/deps-and-lock-file-conflict branch February 17, 2025 17:38
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.

2 participants