Skip to content

Version Packages #7231

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

Merged
merged 1 commit into from
May 31, 2025
Merged

Version Packages #7231

merged 1 commit into from
May 31, 2025

Conversation

joaquim-verges
Copy link
Member

@joaquim-verges joaquim-verges commented May 30, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

[email protected]

Patch Changes

  • #7240 ad8cc9a Thanks @joaquim-verges! - Add Bridge.tokens() function to retrieve supported Universal Bridge tokens

    New function allows fetching and filtering tokens supported by the Universal Bridge service. Supports filtering by chain ID, token address, symbol, name, and includes pagination with limit/offset parameters.

    import { Bridge } from "thirdweb";
    
    // Get all supported tokens
    const tokens = await Bridge.tokens({
      client: thirdwebClient,
    });
    
    // Filter tokens by chain and symbol
    const ethTokens = await Bridge.tokens({
      chainId: 1,
      symbol: "USDC",
      limit: 50,
      client: thirdwebClient,
    });
  • #7242 f10fbc8 Thanks @joaquim-verges! - Optimize fiat conversion query

  • #7230 8245c06 Thanks @gregfromstl! - Fixes token pricing in PayEmbed

  • #7234 4e93539 Thanks @MananTank! - Fallback to insight response if RPC request fails in ERC721 & ERC1155 getNFTs extension

  • #7241 38627d3 Thanks @joaquim-verges! - Handle smart account detection for inApp and ecosystem wallets

@thirdweb-dev/[email protected]


PR-Codex overview

This PR primarily focuses on updating version numbers and enhancing the Bridge class in the thirdweb package. It introduces a new function to retrieve and filter supported Universal Bridge tokens, along with several optimizations and bug fixes.

Detailed summary

  • Updated version in packages/thirdweb/package.json to 5.102.3.
  • Updated version in packages/wagmi-adapter/package.json to 0.2.89.
  • Added Bridge.tokens() function for retrieving and filtering Universal Bridge tokens.
  • Optimized fiat conversion query.
  • Fixed token pricing in PayEmbed.
  • Enhanced getNFTs extension to fallback on insight response if RPC request fails.
  • Improved smart account detection for in-app and ecosystem wallets.

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

Summary by CodeRabbit

  • New Features
    • Added a new function to retrieve and filter supported Universal Bridge tokens, including pagination and filtering options.
  • Bug Fixes
    • Corrected token pricing issues in the PayEmbed component.
    • Improved smart account detection for in-app and ecosystem wallets.
  • Improvements
    • Optimized fiat conversion queries for better performance.
    • Enhanced NFT fetching reliability by adding a fallback mechanism for ERC721 and ERC1155 NFT retrieval.
  • Chores
    • Updated package versions and changelogs.

@joaquim-verges joaquim-verges requested review from a team as code owners May 30, 2025 18:50
Copy link

vercel bot commented May 30, 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 May 31, 2025 10:26am
login ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 31, 2025 10:26am
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 31, 2025 10:26am
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 31, 2025 10:26am
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 31, 2025 10:26am

Copy link
Contributor

graphite-app bot commented May 30, 2025

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.

Copy link
Contributor

coderabbitai bot commented May 30, 2025

"""

Walkthrough

The changes remove the previously added Bridge.tokens() function from the thirdweb SDK, revert the fallback to insight response in the ERC721 and ERC1155 getNFTs extensions, fix token pricing in the PayEmbed component, and update version numbers and changelogs for the thirdweb and wagmi-adapter packages accordingly.

Changes

Files/Group Change Summary
.changeset/loose-tools-move.md, .changeset/bridge-tokens-function.md, .changeset/shaggy-tables-care.md, .changeset/two-bugs-rescue.md Deleted changeset entries for PayEmbed token pricing fix, Bridge.tokens() addition, NFT fallback removal, and smart account detection fix.
packages/thirdweb/CHANGELOG.md, packages/thirdweb/package.json Updated changelog and bumped version to 5.102.3 reflecting removal of Bridge.tokens(), PayEmbed fix, NFT fallback removal, and smart account detection improvements.
packages/wagmi-adapter/CHANGELOG.md, packages/wagmi-adapter/package.json Added new version header and bumped version to 0.2.89.

Suggested labels

packages, SDK
"""


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 58ea417 and b3f1158.

📒 Files selected for processing (8)
  • .changeset/bridge-tokens-function.md (0 hunks)
  • .changeset/loose-tools-move.md (0 hunks)
  • .changeset/shaggy-tables-care.md (0 hunks)
  • .changeset/two-bugs-rescue.md (0 hunks)
  • packages/thirdweb/CHANGELOG.md (1 hunks)
  • packages/thirdweb/package.json (1 hunks)
  • packages/wagmi-adapter/CHANGELOG.md (1 hunks)
  • packages/wagmi-adapter/package.json (1 hunks)
💤 Files with no reviewable changes (4)
  • .changeset/loose-tools-move.md
  • .changeset/shaggy-tables-care.md
  • .changeset/two-bugs-rescue.md
  • .changeset/bridge-tokens-function.md
✅ Files skipped from review due to trivial changes (1)
  • packages/thirdweb/package.json
🚧 Files skipped from review as they are similar to previous changes (3)
  • packages/wagmi-adapter/package.json
  • packages/wagmi-adapter/CHANGELOG.md
  • packages/thirdweb/CHANGELOG.md
⏰ Context from checks skipped due to timeout of 90000ms (8)
  • GitHub Check: E2E Tests (pnpm, esbuild)
  • GitHub Check: E2E Tests (pnpm, webpack)
  • GitHub Check: Unit Tests
  • GitHub Check: E2E Tests (pnpm, vite)
  • GitHub Check: Build Packages
  • GitHub Check: Size
  • GitHub Check: Lint Packages
  • GitHub Check: Analyze (javascript)

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added packages SDK Involves changes to the thirdweb SDK labels May 30, 2025
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
packages/wagmi-adapter/CHANGELOG.md (1)

3-3: Clarify empty release notes
Since there are no adapter-specific changes in this patch, consider adding a short note (e.g., “No changes; version alignment only”) under the ## 0.2.89 header to inform consumers.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8245c06 and ddac2e5.

📒 Files selected for processing (5)
  • .changeset/loose-tools-move.md (0 hunks)
  • packages/thirdweb/CHANGELOG.md (1 hunks)
  • packages/thirdweb/package.json (1 hunks)
  • packages/wagmi-adapter/CHANGELOG.md (1 hunks)
  • packages/wagmi-adapter/package.json (1 hunks)
💤 Files with no reviewable changes (1)
  • .changeset/loose-tools-move.md
⏰ Context from checks skipped due to timeout of 90000ms (8)
  • GitHub Check: Unit Tests
  • GitHub Check: E2E Tests (pnpm, esbuild)
  • GitHub Check: Size
  • GitHub Check: E2E Tests (pnpm, webpack)
  • GitHub Check: E2E Tests (pnpm, vite)
  • GitHub Check: Build Packages
  • GitHub Check: Lint Packages
  • GitHub Check: Analyze (javascript)
🔇 Additional comments (5)
packages/thirdweb/package.json (1)

3-3: Patch version bump looks correct
The version was updated from 5.102.2 to 5.102.3 to ship the PayEmbed token-pricing fix. Ensure the CHANGELOG.md entry aligns with this bump and the release automation will publish the correct version.

packages/thirdweb/CHANGELOG.md (2)

3-6: Changelog header for v5.102.3 is correctly added
The ## 5.102.3 release header and its ### Patch Changes subsection accurately document the new patch version in alignment with the package.json bump.


7-7: Patch entry accurately reflects fix details
The entry for PR #7230 with commit 8245c06 and credit to @gregfromstl clearly describes the token pricing fix in PayEmbed.

packages/wagmi-adapter/package.json (1)

3-3: Version bump is correct
The package version has been incremented from 0.2.88 to 0.2.89 in line with the release automation. No other metadata or dependency changes are needed here.

packages/wagmi-adapter/CHANGELOG.md (1)

3-3: Changelog header added correctly
A new ## 0.2.89 entry has been inserted above 0.2.88, matching the package version bump.

Copy link
Contributor

github-actions bot commented May 30, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 62.24 KB (0%) 1.3 s (0%) 312 ms (+66.91% 🔺) 1.6 s
thirdweb (cjs) 345.34 KB (0%) 7 s (0%) 1.6 s (+1.97% 🔺) 8.5 s
thirdweb (minimal + tree-shaking) 5.7 KB (0%) 114 ms (0%) 82 ms (+548.68% 🔺) 196 ms
thirdweb/chains (tree-shaking) 531 B (0%) 11 ms (0%) 6 ms (+52.22% 🔺) 17 ms
thirdweb/react (minimal + tree-shaking) 19.54 KB (0%) 391 ms (0%) 57 ms (+67.44% 🔺) 448 ms

Copy link

codecov bot commented May 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.60%. Comparing base (38627d3) to head (b3f1158).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7231      +/-   ##
==========================================
- Coverage   55.62%   55.60%   -0.03%     
==========================================
  Files         908      908              
  Lines       58586    58552      -34     
  Branches     4138     4132       -6     
==========================================
- Hits        32589    32555      -34     
  Misses      25891    25891              
  Partials      106      106              
Flag Coverage Δ
packages 55.60% <ø> (-0.03%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages SDK Involves changes to the thirdweb SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant