Skip to content

Commit 465cf8c

Browse files
chore(deps): bump viem from 2.27.2 to 2.28.0 (#6882)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joaquim Verges <[email protected]>
1 parent 98cce77 commit 465cf8c

File tree

3 files changed

+1282
-233
lines changed

3 files changed

+1282
-233
lines changed

packages/thirdweb/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
"prompts": "2.4.2",
246246
"toml": "3.0.0",
247247
"uqr": "0.1.2",
248-
"viem": "2.27.2"
248+
"viem": "2.28.1"
249249
},
250250
"peerDependencies": {
251251
"@aws-sdk/client-lambda": "^3",

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

+1-6
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,6 @@ describe("walletClient.toViem", () => {
149149
walletClient.switchChain({
150150
id: FORKED_ETHEREUM_CHAIN.id,
151151
}),
152-
).rejects.toThrowErrorMatchingInlineSnapshot(`
153-
[UnknownRpcError: An unknown RPC error occurred.
154-
155-
Details: Can't switch chains because only an account was passed to 'viemAdapter.walletClient.toViem()', please pass a connected wallet instance instead.
156-
157-
`);
152+
).rejects.toThrow();
158153
});
159154
});

0 commit comments

Comments
 (0)