Skip to content

Version Packages #5909

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
Jan 8, 2025
Merged

Version Packages #5909

merged 1 commit into from
Jan 8, 2025

Conversation

jnsdls
Copy link
Member

@jnsdls jnsdls commented Jan 7, 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.83.0

Minor Changes

  • #5878 70b7b5c Thanks @ElasticBottle! - Add support for backend wallets.

    This is useful is you have a backend that is connected to an that you want to have programmatic access to a wallet without managing private keys.

    Here's how you'd do it:

    const wallet = inAppWallet();
    const account = await wallet.connect({
      strategy: "backend",
      client: createThirdwebClient({
        secretKey: "...",
      }),
      walletSecret: "...",
    });
    console.log("account.address", account.address);

    Note that walletSecret should be generated by you and securely stored to uniquely authenticate to the given wallet.

Patch Changes

@thirdweb-dev/wagmi-adapter@0.1.6


PR-Codex overview

This PR focuses on updating versions and enhancing functionality in the wagmi-adapter and thirdweb packages, including new features for backend wallet support and adjustments to type definitions.

Detailed summary

  • Updated version of @thirdweb-dev/wagmi-adapter from 0.1.5 to 0.1.6.
  • Added support for backend wallets in thirdweb (version updated from 5.82.0 to 5.83.0).
  • Provided example code for backend wallet connection.
  • Fixed batch fetch utility for marketplace-v3.
  • Reformatted typesVersions in thirdweb/package.json for better readability and structure.

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

@jnsdls jnsdls requested review from a team as code owners January 7, 2025 22:23
Copy link

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

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

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

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 45.64 KB (0%) 913 ms (0%) 3.3 s (+29.99% 🔺) 4.3 s
thirdweb (cjs) 115.44 KB (0%) 2.4 s (0%) 7.6 s (-4.94% 🔽) 9.9 s
thirdweb (minimal + tree-shaking) 5.58 KB (0%) 112 ms (0%) 413 ms (+9.68% 🔺) 524 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 135 ms (+25.05% 🔺) 145 ms
thirdweb/react (minimal + tree-shaking) 19.16 KB (0%) 384 ms (0%) 688 ms (-5.49% 🔽) 1.1 s

Copy link

codecov bot commented Jan 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.81%. Comparing base (70b7b5c) to head (e1ea6e2).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5909   +/-   ##
=======================================
  Coverage   54.81%   54.81%           
=======================================
  Files        1141     1141           
  Lines       60875    60875           
  Branches     5120     5120           
=======================================
  Hits        33371    33371           
  Misses      26778    26778           
  Partials      726      726           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 70b7b5c
packages 52.45% <ø> (ø)

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


- [#5878](https://github.com/thirdweb-dev/js/pull/5878) [`70b7b5c`](https://github.com/thirdweb-dev/js/commit/70b7b5c5ffc965e4e39fa1ce768a11a2cda5465a) Thanks [@ElasticBottle](https://github.com/ElasticBottle)! - Add support for backend wallets.

This is useful is you have a backend that is connected to an that you want to have programmatic access to a wallet without managing private keys.
Copy link
Contributor

Choose a reason for hiding this comment

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

The description contains a grammatical error that makes it harder to understand. Consider revising to:

"This is useful if you have a backend that is connected to a service that you want to have programmatic access to a wallet without managing private keys."

Spotted by Graphite Reviewer

Is this helpful? React 👍 or 👎 to let us know.

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