Skip to content

Commit

Permalink
[thirdweb] deps: Upgrade viem to 2.23.5 (#6336)
Browse files Browse the repository at this point in the history
<!--

## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer

Anything important to call out? Be sure to also clarify these in your comments.

## How to test

Unit tests, playground, etc.

-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates several dependencies, particularly the `viem` package, and makes adjustments to the `package.json` and lock files to reflect these changes. It also increases the size limit in the `.size-limit.json` file.

### Detailed summary
- Updated `viem` version from `2.22.17` to `2.23.5` in `package.json` and `pnpm-lock.yaml`.
- Increased size limit in `packages/thirdweb/.size-limit.json` from `130 kB` to `131 kB`.
- Adjusted various dependencies in `pnpm-lock.yaml` to include `@swc/[email protected]`.

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

<!-- end pr-codex -->
  • Loading branch information
joaquim-verges committed Feb 28, 2025
1 parent 36b4ea5 commit 56301bc
Show file tree
Hide file tree
Showing 4 changed files with 194 additions and 139 deletions.
2 changes: 1 addition & 1 deletion packages/thirdweb/.size-limit.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{
"name": "thirdweb (cjs)",
"path": "./dist/cjs/exports/thirdweb.js",
"limit": "130 kB"
"limit": "131 kB"
},
{
"name": "thirdweb (minimal + tree-shaking)",
Expand Down
2 changes: 1 addition & 1 deletion packages/thirdweb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
"mipd": "0.0.7",
"ox": "0.6.9",
"uqr": "0.1.2",
"viem": "2.22.17"
"viem": "2.23.5"
},
"peerDependencies": {
"@aws-sdk/client-lambda": "^3",
Expand Down
2 changes: 1 addition & 1 deletion packages/thirdweb/src/adapters/viem-legacy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ describe("walletClient.toViem", () => {
[UnknownRpcError: An unknown RPC error occurred.
Details: Can't switch chains because only an account was passed to 'viemAdapter.walletClient.toViem()', please pass a connected wallet instance instead.
Version: viem@2.22.17]
Version: viem@2.23.5]
`);
});
});
Loading

0 comments on commit 56301bc

Please sign in to comment.