Skip to content

Conversation

@joaquim-verges
Copy link
Member

@joaquim-verges joaquim-verges commented Apr 1, 2025


PR-Codex overview

This PR focuses on enhancing the thirdweb package by adding functionality to fetch and display past transactions in the wallet's transaction history. It introduces a new API endpoint for retrieving transactions and updates the UI to show this data.

Detailed summary

  • Added insight URL configuration to domains.
  • Introduced getPastTransactions function to fetch recent transactions.
  • Updated WalletTransactionHistory component to integrate transaction fetching.
  • Enhanced TransactionButton to handle transaction receipts.
  • Improved loading state handling for transaction data.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@vercel
Copy link

vercel bot commented Apr 1, 2025

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

Name Status Preview Comments Updated (UTC)
docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 1, 2025 10:06am
login ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 1, 2025 10:06am
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 1, 2025 10:06am
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 1, 2025 10:06am
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 1, 2025 10:06am

@changeset-bot
Copy link

changeset-bot bot commented Apr 1, 2025

🦋 Changeset detected

Latest commit: fae0873

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

This PR includes changesets to release 2 packages
Name Type
thirdweb Patch
@thirdweb-dev/wagmi-adapter 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
Member Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions bot added packages SDK Involves changes to the thirdweb SDK labels Apr 1, 2025
@joaquim-verges joaquim-verges changed the title [thirdweb] Show past transactions in transactions modal screen [SDK] Show past transactions in transactions modal screen Apr 1, 2025
@joaquim-verges joaquim-verges marked this pull request as ready for review April 1, 2025 09:42
@joaquim-verges joaquim-verges requested review from a team as code owners April 1, 2025 09:42
@github-actions
Copy link
Contributor

github-actions bot commented Apr 1, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 47.61 KB (+0.17% 🔺) 953 ms (+0.17% 🔺) 133 ms (+140.75% 🔺) 1.1 s
thirdweb (cjs) 127.63 KB (+0.18% 🔺) 2.6 s (+0.18% 🔺) 174 ms (+24% 🔺) 2.8 s
thirdweb (minimal + tree-shaking) 5.62 KB (+0.32% 🔺) 113 ms (+0.32% 🔺) 46 ms (+1035.75% 🔺) 159 ms
thirdweb/chains (tree-shaking) 514 B (+1.59% 🔺) 11 ms (+0.4% 🔺) 31 ms (+2221.94% 🔺) 41 ms
thirdweb/react (minimal + tree-shaking) 19.35 KB (+0.07% 🔺) 388 ms (+0.07% 🔺) 80 ms (+475.14% 🔺) 467 ms

@joaquim-verges joaquim-verges merged commit a9b7633 into main Apr 1, 2025
29 of 30 checks passed
@joaquim-verges joaquim-verges deleted the _thirdweb_Show_past_transactions_in_transactions_modal_screen branch April 1, 2025 10:14
@joaquim-verges joaquim-verges mentioned this pull request Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

packages Playground Changes involving the Playground codebase. SDK Involves changes to the thirdweb SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants