Skip to content

Conversation

joaquim-verges
Copy link
Member

@joaquim-verges joaquim-verges commented Jan 28, 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

thirdweb@5.87.0

Minor Changes

  • #6082 4550bb2 Thanks @joaquim-verges! - Support Account and Wallet headless components in react native

    You can now use the Account and Wallet headless components in react native, this lets you build your own UI, styling it however you want, but letting the components handle the logic.

    Example Account components usage:

    <AccountProvider address={account.address} client={client}>
      /* avatar */
      <AccountAvatar
        loadingComponent={
          <AccountBlobbie size={92} style={{ borderRadius: 100 }} />
        }
        fallbackComponent={
          <AccountBlobbie size={92} style={{ borderRadius: 100 }} />
        }
        style={{
          width: 92,
          height: 92,
          borderRadius: 100,
        }}
      />
      /* address */
      <AccountAddress
        style={{ fontSize: 16, color: Colors.secondary }}
        formatFn={shortenAddress}
      />
      /* balance */
      <AccountBalance
        showBalanceInFiat={"USD"}
        chain={chain}
        loadingComponent={
          <ActivityIndicator size="large" color={Colors.accent} />
        }
        fallbackComponent={
          <Text className="text-primary">Failed to load balance</Text>
        }
        style={{
          color: "white",
          fontSize: 48,
          fontWeight: "bold",
        }}
      />
    </AccountProvider>

    Example Wallet components usage:

    <WalletProvider id={"io.metamask"}>
      <WalletIcon width={32} height={32} />
      <WalletName style={{ fontSize: 16, color: Colors.primary }} />
    </WalletProvider>

Patch Changes

@thirdweb-dev/service-utils@0.7.2

Patch Changes

@thirdweb-dev/wagmi-adapter@0.2.7

Patch Changes


PR-Codex overview

This PR primarily focuses on updating the versions of several packages and their changelogs, along with enhancing the thirdweb package by adding support for Account and Wallet headless components in React Native.

Detailed summary

  • Updated @thirdweb-dev/wagmi-adapter version from 0.2.6 to 0.2.7.
  • Updated @thirdweb-dev/service-utils version from 0.7.1 to 0.7.2.
  • Updated thirdweb version from 5.86.6 to 5.87.0.
  • Added support for Account and Wallet headless components in React Native.
  • Exported randomPrivateKey from thirdweb/wallets.
  • Fixed autoconnection of in-app wallets in React Native.
  • Updated dependencies across packages.

✨ 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 January 28, 2025 07:09
Copy link

vercel bot commented Jan 28, 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 Jan 29, 2025 0:44am
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2025 0:44am
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2025 0:44am
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2025 0:44am

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

graphite-app bot commented Jan 28, 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

github-actions bot commented Jan 28, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 46.55 KB (0%) 932 ms (0%) 3.3 s (+40.42% 🔺) 4.2 s
thirdweb (cjs) 122.35 KB (0%) 2.5 s (0%) 7.6 s (+7.75% 🔺) 10 s
thirdweb (minimal + tree-shaking) 5.58 KB (0%) 112 ms (0%) 434 ms (+174.44% 🔺) 546 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 95 ms (+90.37% 🔺) 105 ms
thirdweb/react (minimal + tree-shaking) 19.27 KB (0%) 386 ms (0%) 556 ms (-1.39% 🔽) 942 ms

Copy link

codecov bot commented Jan 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.87%. Comparing base (1616b7f) to head (f4552a7).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6083      +/-   ##
==========================================
+ Coverage   56.81%   56.87%   +0.05%     
==========================================
  Files        1152     1152              
  Lines       63906    63907       +1     
  Branches     5178     5185       +7     
==========================================
+ Hits        36311    36344      +33     
+ Misses      26865    26834      -31     
+ Partials      730      729       -1     
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 1616b7f
packages 55.06% <ø> (+0.06%) ⬆️

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

see 5 files with indirect coverage changes

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