Skip to content

Conversation

@joaquim-verges
Copy link
Member

@joaquim-verges joaquim-verges commented Apr 11, 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]

Minor Changes

  • #6695 86070fa Thanks @joaquim-verges! - Add feePayer option for direct_payment mode of PayEmbed

    For direct payments via the PayEmbed, you can now specify the payer of the protocol fee for direct transfers. Can be "sender" or "receiver", defaults to "sender".

    <PayEmbed
            client={THIRDWEB_CLIENT}
            payOptions={{
              mode: "direct_payment",
              paymentInfo: {
                amount: "2",
                chain: base,
                token: getDefaultToken(base, "USDC"),
                sellerAddress: "0x...",
                feePayer: "receiver", // <-- transfer fee paid by the receiver
              },
              metadata: {
                name: "Black Hoodie (Size L)",
                image: "/drip-hoodie.png",
              },
            }}
          />

@thirdweb-dev/[email protected]


PR-Codex overview

This PR focuses on updating version numbers and enhancing the thirdweb package with new features, particularly related to payment options in the PayEmbed component.

Detailed summary

  • Deleted the file .changeset/brave-wombats-smoke.md.
  • Updated version in packages/thirdweb/package.json from 5.93.17 to 5.94.0.
  • Updated version in packages/wagmi-adapter/package.json from 0.2.52 to 0.2.53.
  • Added a new section in packages/thirdweb/CHANGELOG.md for version 5.94.0 with:
    • New feature: feePayer option for PayEmbed in direct payment mode, allowing specification of who pays the protocol fee.
    • Example code snippet demonstrating the use of the feePayer option.

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

@joaquim-verges joaquim-verges requested review from a team as code owners April 11, 2025 03:44
@graphite-app
Copy link
Contributor

graphite-app bot commented Apr 11, 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.

@github-actions github-actions bot added packages SDK Involves changes to the thirdweb SDK labels Apr 11, 2025
@vercel
Copy link

vercel bot commented Apr 11, 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 11, 2025 3:53am
login ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 11, 2025 3:53am
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 11, 2025 3:53am
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 11, 2025 3:53am
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 11, 2025 3:53am

@github-actions
Copy link
Contributor

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 47.67 KB (0%) 954 ms (0%) 94 ms (+235.98% 🔺) 1.1 s
thirdweb (cjs) 130.06 KB (0%) 2.7 s (0%) 128 ms (+48.31% 🔺) 2.8 s
thirdweb (minimal + tree-shaking) 5.62 KB (0%) 113 ms (0%) 59 ms (+1679.4% 🔺) 171 ms
thirdweb/chains (tree-shaking) 514 B (0%) 11 ms (0%) 29 ms (+1306.43% 🔺) 39 ms
thirdweb/react (minimal + tree-shaking) 19.36 KB (0%) 388 ms (0%) 63 ms (+811.24% 🔺) 451 ms

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.

2 participants