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

Version Packages #4263

Merged
merged 1 commit into from
Aug 24, 2024
Merged

Version Packages #4263

merged 1 commit into from
Aug 24, 2024

Conversation

jnsdls
Copy link
Member

@jnsdls jnsdls commented Aug 23, 2024

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

  • #4250 41fbdaf Thanks @gregfromstl! - Add overload to signMessage to pass an account rather than a private key

    import { signMessage } from "thirdweb/utils";
    await signMessage({
      message: "Hello, world!",
      account,
    });
  • #4267 7a2de70 Thanks @alecananian! - Added hideSwitchWallet param to wallet details modal

  • #4224 1405598 Thanks @IDubuque! - Added support for direct transfers in Pay

  • #4269 120d61f Thanks @MananTank! - Show wallet balance with upto 5 decimal places in UI components

  • #4274 a0aea23 Thanks @gregfromstl! - Fix popup and window auth modes conflicting on firefox

  • #4244 44e8e7b Thanks @MananTank! - - Pay UI now selects the fiat currency based on the user's location / timezone

    • Add Japanese Yen (JPY) as a supported fiat currency for thirdweb Pay
    • Added option to configure the default fiat currency for the Pay UI

    Examples

    <PayEmbed
      client={client}
      payOptions={{
        buyWithFiat: {
          prefillSource: {
            currency: "CAD",
          },
        },
      }}
    />
    <ConnectButton
      client={client}
      detailsModal={{
        payOptions: {
          buyWithFiat: {
            prefillSource: {
              currency: "JPY",
            },
          },
        },
      }}
    />
    const sendTransaction = useSendTransaction({
      payModal: {
        buyWithFiat: {
          prefillSource: {
            currency: "CAD",
          },
        },
      },
    });
    <TransactionButton
      transaction={() => someTx}
      payModal={{
        buyWithFiat: {
          prefillSource: {
            currency: "CAD",
          },
        },
      }}
    >
      some tx
    </TransactionButton>

PR-Codex overview

This PR updates the version of the thirdweb package to 5.48.2 and includes various patches and feature enhancements.

Detailed summary

  • Updated version to 5.48.2
  • Added overload to signMessage
  • Added hideSwitchWallet param to wallet details modal
  • Added support for direct transfers in Pay
  • Show wallet balance with up to 5 decimal places
  • Fixed popup and window auth modes conflict on Firefox
  • Pay UI selects fiat currency based on user's location
  • Added Japanese Yen (JPY) as a supported fiat currency
  • Added option to configure default fiat currency for Pay UI

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

Copy link

vercel bot commented Aug 23, 2024

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 Aug 24, 2024 9:33pm
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 24, 2024 9:33pm
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 24, 2024 9:33pm
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 24, 2024 9:33pm

Copy link

graphite-app bot commented Aug 23, 2024

Your org requires the Graphite merge queue for merging into main

Add the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

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

@github-actions github-actions bot added Dashboard Involves changes to the Dashboard. TS SDK Involves changes to the v5 TypeScript SDK. labels Aug 23, 2024
Copy link
Contributor

github-actions bot commented Aug 23, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 43.25 KB (0%) 865 ms (0%) 3.3 s (+18.63% 🔺) 4.2 s
thirdweb (cjs) 92.43 KB (0%) 1.9 s (0%) 8 s (+2.79% 🔺) 9.9 s
thirdweb (minimal + tree-shaking) 4.81 KB (0%) 97 ms (0%) 1.1 s (+300.3% 🔺) 1.2 s
thirdweb/chains (tree-shaking) 492 B (0%) 10 ms (0%) 51 ms (-20.24% 🔽) 61 ms
thirdweb/react (minimal + tree-shaking) 13.98 KB (0%) 280 ms (0%) 690 ms (+58.39% 🔺) 969 ms

Copy link

codecov bot commented Aug 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.31%. Comparing base (a0aea23) to head (d6bf908).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4263   +/-   ##
=======================================
  Coverage   59.30%   59.31%           
=======================================
  Files         962      962           
  Lines       77524    77524           
  Branches     3489     3492    +3     
=======================================
+ Hits        45977    45982    +5     
+ Misses      30873    30869    -4     
+ Partials      674      673    -1     
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from a0aea23
packages 58.27% <ø> (+<0.01%) ⬆️

*This pull request uses carry forward flags. Click here to find out more.

see 4 files with indirect coverage changes

@jnsdls jnsdls force-pushed the changeset-release/main branch from 4cf853a to f3b3139 Compare August 23, 2024 16:50
@jnsdls jnsdls force-pushed the changeset-release/main branch from f3b3139 to c30b25e Compare August 23, 2024 18:46
@jnsdls jnsdls force-pushed the changeset-release/main branch from c30b25e to ab1ced6 Compare August 23, 2024 20:44
@jnsdls jnsdls force-pushed the changeset-release/main branch from ab1ced6 to d5a8624 Compare August 23, 2024 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dashboard Involves changes to the Dashboard. TS SDK Involves changes to the v5 TypeScript SDK.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants