Skip to content

Commit 56301bc

Browse files
[thirdweb] deps: Upgrade viem to 2.23.5 (#6336)
<!-- ## 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/helpers@0.5.15`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 36b4ea5 commit 56301bc

File tree

4 files changed

+194
-139
lines changed

4 files changed

+194
-139
lines changed

packages/thirdweb/.size-limit.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{
99
"name": "thirdweb (cjs)",
1010
"path": "./dist/cjs/exports/thirdweb.js",
11-
"limit": "130 kB"
11+
"limit": "131 kB"
1212
},
1313
{
1414
"name": "thirdweb (minimal + tree-shaking)",

packages/thirdweb/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
"mipd": "0.0.7",
191191
"ox": "0.6.9",
192192
"uqr": "0.1.2",
193-
"viem": "2.22.17"
193+
"viem": "2.23.5"
194194
},
195195
"peerDependencies": {
196196
"@aws-sdk/client-lambda": "^3",

packages/thirdweb/src/adapters/viem-legacy.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ describe("walletClient.toViem", () => {
153153
[UnknownRpcError: An unknown RPC error occurred.
154154
155155
Details: Can't switch chains because only an account was passed to 'viemAdapter.walletClient.toViem()', please pass a connected wallet instance instead.
156-
Version: viem@2.22.17]
156+
Version: viem@2.23.5]
157157
`);
158158
});
159159
});

0 commit comments

Comments
 (0)