Version Packages
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-dev/[email protected]
Major Changes
-
#3037
f006429Thanks @joaquim-verges! - initial release
[email protected]
Minor Changes
-
#3001
726618bThanks @gregfromstl! - Adds basic EIP-5792 support for wallets with functionsgetCapabilities,sendCalls,showCallsStatus,getCallsStatus.Example Usage
getCapabilitiesReturns the capabilities of the wallet according to EIP-5792.
import { getCapabilities } from "thirdweb/wallets/eip5792"; const capabilities = await getCapabilities({ wallet });sendCallsSends the given calls to the wallet for execution, and attempts to fallback to normal execution if the wallet does not support EIP-5792.
import { sendCalls } from "thirdweb/wallets/eip5792"; const transfer1 = transfer({ contract: USDC_CONTRACT, amount: 5000, to: "0x33d9B8BEfE81027E2C859EDc84F5636cbb202Ed6", }); const transfer2 = transfer({ contract: USDT_CONTRACT, amount: 1000, to: "0x33d9B8BEfE81027E2C859EDc84F5636cbb202Ed6", }); const bundleId = await sendCalls({ wallet, client, calls: [transfer1, transfer2], });showCallsStatusRequests the wallet to show the status of a given bundle ID.
import { showCallsStatus } from "thirdweb/wallets/eip5792"; await showCallsStatus({ wallet, bundleId });getCallsStatusReturns the status of the given bundle ID and the transaction receipts if completed.
import { getCallsStatus } from "thirdweb/wallets/eip5792"; const status = await getCallsStatus({ wallet, bundleId });
Patch Changes
-
#3048
cfe60d2Thanks @kien-ngo! - Improve error message forresolveAbiFromBytecode -
#3040
ce45475Thanks @gregfromstl! - Fixes caching issue when usingdefineChain -
#3037
f006429Thanks @joaquim-verges! - Updates for react native compatibility
@thirdweb-dev/[email protected]
Patch Changes
- Updated dependencies []:
- @thirdweb-dev/[email protected]
@thirdweb-dev/[email protected]
Patch Changes
-
#3033
46492bbThanks @github-actions! - Synced Chains Package
@thirdweb-dev/[email protected]
Patch Changes
- Updated dependencies [
c417bda,46492bb]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
@thirdweb-dev/[email protected]
Patch Changes
- Updated dependencies [
c417bda,46492bb]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
@thirdweb-dev/[email protected]
Patch Changes
- Updated dependencies [
c417bda,46492bb]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
@thirdweb-dev/[email protected]
Patch Changes
-
#3054
c417bdaThanks @gregfromstl! - Fixes gas estimates on marketplace writes -
Updated dependencies [
cfe60d2,ce45475,726618b,f006429,46492bb]:- [email protected]
- @thirdweb-dev/[email protected]
@thirdweb-dev/[email protected]
Patch Changes
- Updated dependencies [
c417bda,46492bb]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
@thirdweb-dev/[email protected]
Patch Changes
- Updated dependencies [
c417bda,46492bb]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
@thirdweb-dev/[email protected]
Patch Changes
-
#3042
f5e7272Thanks @arcoraven! - Add sdkOS to usage schema.
PR-Codex overview
This PR updates package versions for @thirdweb-dev/auth, @thirdweb-dev/chains, @thirdweb-dev/wallets, @thirdweb-dev/service-utils, @thirdweb-dev/sdk, @thirdweb-dev/react, @thirdweb-dev/react-core, @thirdweb-dev/unity-js-bridge, and @thirdweb-dev/cli. It also includes improvements for thirdweb package.
Detailed summary
- Updated package versions for multiple packages
- Added functionality for EIP-5792 support in wallets
- Improved error messages and caching in thirdweb package
The following files were skipped due to too many changes:
packages/thirdweb/CHANGELOG.md
✨ Ask PR-Codex anything about this PR by commenting with
/codex {your question}
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 64.09%. Comparing base (
ff0c9c7) to head (f792f53).
:exclamation: Current head f792f53 differs from pull request most recent head b63f1cb
Please upload reports for the commit b63f1cb to get more accurate results.
Additional details and impacted files
@@ Coverage Diff @@
## main #3044 +/- ##
==========================================
+ Coverage 64.08% 64.09% +0.01%
==========================================
Files 775 775
Lines 55109 55112 +3
Branches 3169 3169
==========================================
+ Hits 35316 35324 +8
+ Misses 19124 19120 -4
+ Partials 669 668 -1
| Flag | Coverage Δ | *Carryforward flag | |
|---|---|---|---|
| legacy_packages | 65.65% <ø> (+0.03%) |
:arrow_up: | Carriedforward from ad88ece |
| packages | 63.70% <ø> (+<0.01%) |
:arrow_up: |
*This pull request uses carry forward flags. Click here to find out more.
CodSpeed Performance Report
Merging #3044 will not alter performance
Comparing changeset-release/main (ce264f8) with main (ff0c9c7)
Summary
✅ 9 untouched benchmarks
size-limit report 📦
| Path | Size | Loading time (3g) | Running time (snapdragon) | Total time |
|---|---|---|---|---|
| thirdweb (esm) | 39.22 KB (0%) | 785 ms (0%) | 388 ms (+70.3% 🔺) | 1.2 s |
| thirdweb (cjs) | 88.71 KB (0%) | 1.8 s (0%) | 737 ms (+30.59% 🔺) | 2.6 s |
| thirdweb (minimal + tree-shaking) | 4.75 KB (0%) | 96 ms (0%) | 153 ms (+594.99% 🔺) | 248 ms |
| thirdweb/chains (tree-shaking) | 423 B (0%) | 10 ms (0%) | 80 ms (+1596.57% 🔺) | 90 ms |
| thirdweb/react (minimal + tree-shaking) | 15.09 KB (0%) | 302 ms (0%) | 152 ms (+289.4% 🔺) | 454 ms |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
| Package | New capabilities | Transitives | Size | Publisher |
|---|---|---|---|---|
| npm/@thirdweb-dev/[email protected] | None | 0 |
0 B | |
| npm/@thirdweb-dev/[email protected] | None | 0 |
0 B | |
| npm/@thirdweb-dev/[email protected] | None | 0 |
0 B | |
| npm/@thirdweb-dev/[email protected] | None | 0 |
0 B | |
| npm/@thirdweb-dev/[email protected] | None | 0 |
0 B | |
| npm/[email protected] | None | 0 |
0 B |
🚮 Removed packages: npm/@thirdweb-dev/[email protected], npm/@thirdweb-dev/[email protected], npm/@thirdweb-dev/[email protected], npm/@thirdweb-dev/[email protected], npm/@thirdweb-dev/[email protected], npm/[email protected]