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: Resolve provider creation error & add fallback for wallets without wallet_getAssets support #822

Merged
merged 7 commits into from
Feb 17, 2025

Conversation

KannuSingh
Copy link
Collaborator

@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.

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

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
@@ -74,7 +75,7 @@ function GiftDonutForm({
variant="link"
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