File tree Expand file tree Collapse file tree 3 files changed +29
-4
lines changed Expand file tree Collapse file tree 3 files changed +29
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export function normalizeAddress(val: Address): Address;
7
7
export function normalizeAddress ( val ?: Address ) : Address | undefined ;
8
8
export function normalizeAddress ( val : string ) : Address ;
9
9
export function normalizeAddress ( val ?: string ) : Address | undefined ;
10
- export function normalizeAddress ( val : string | null ) : undefined ;
10
+ export function normalizeAddress ( val : string | null ) : Address | undefined ;
11
11
export function normalizeAddress (
12
12
val ?: string | Address | null ,
13
13
) : Address | undefined {
@@ -18,7 +18,7 @@ export function getChecksumAddress(val: Address): Address;
18
18
export function getChecksumAddress ( val ?: Address ) : Address | undefined ;
19
19
export function getChecksumAddress ( val : string ) : Address ;
20
20
export function getChecksumAddress ( val ?: string ) : Address | undefined ;
21
- export function getChecksumAddress ( val : string | null ) : undefined ;
21
+ export function getChecksumAddress ( val : string | null ) : Address | undefined ;
22
22
export function getChecksumAddress (
23
23
val ?: string | Address | null ,
24
24
) : Address | undefined {
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import superjson from "superjson";
4
4
import { Hex , toSerializableTransaction } from "thirdweb" ;
5
5
import { stringify } from "thirdweb/utils" ;
6
6
import { bundleUserOp } from "thirdweb/wallets/smart" ;
7
- import type { TransactionSerializable } from "viem" ;
8
7
import { getContractAddress } from "viem" ;
9
8
import { TransactionDB } from "../../db/transactions/db" ;
10
9
import {
@@ -136,7 +135,9 @@ const _sendTransaction = async (
136
135
// Populate the transaction to resolve gas values.
137
136
// This call throws if the execution would be reverted.
138
137
// The nonce is _not_ set yet.
139
- let populatedTransaction : TransactionSerializable ;
138
+ let populatedTransaction : Awaited <
139
+ ReturnType < typeof toSerializableTransaction >
140
+ > ;
140
141
try {
141
142
populatedTransaction = await toSerializableTransaction ( {
142
143
from : getChecksumAddress ( from ) ,
Original file line number Diff line number Diff line change 4860
4860
"@walletconnect/window-getters" "^1.0.1"
4861
4861
tslib "1.14.1"
4862
4862
4863
+ abitype@0.9.8:
4864
+ version "0.9.8"
4865
+ resolved "https://registry.yarnpkg.com/abitype/-/abitype-0.9.8.tgz#1f120b6b717459deafd213dfbf3a3dd1bf10ae8c"
4866
+ integrity sha512-puLifILdm+8sjyss4S+fsUN09obiT1g2YW6CtcQF+QDzxR0euzgEB29MZujC6zMk2a6SVmtttq1fc6+YFA7WYQ==
4867
+
4863
4868
abitype@1.0.0:
4864
4869
version "1.0.0"
4865
4870
resolved "https://registry.yarnpkg.com/abitype/-/abitype-1.0.0.tgz#237176dace81d90d018bebf3a45cb42f2a2d9e97"
@@ -7949,6 +7954,11 @@ isomorphic-unfetch@3.1.0, isomorphic-unfetch@^3.1.0:
7949
7954
node-fetch "^2.6.1"
7950
7955
unfetch "^4.2.0"
7951
7956
7957
+ isows@1.0.3:
7958
+ version "1.0.3"
7959
+ resolved "https://registry.yarnpkg.com/isows/-/isows-1.0.3.tgz#93c1cf0575daf56e7120bab5c8c448b0809d0d74"
7960
+ integrity sha512-2cKei4vlmg2cxEjm3wVSqn8pcoRF/LX/wpifuuNquFO4SQmPwarClT+SUCA2lt+l581tTeZIPIZuIDo2jWN1fg==
7961
+
7952
7962
isows@1.0.4:
7953
7963
version "1.0.4"
7954
7964
resolved "https://registry.yarnpkg.com/isows/-/isows-1.0.4.tgz#810cd0d90cc4995c26395d2aa4cfa4037ebdf061"
@@ -11087,6 +11097,20 @@ viem@2.19.3:
11087
11097
webauthn-p256 "0.0.5"
11088
11098
ws "8.17.1"
11089
11099
11100
+ viem@^1.14.0:
11101
+ version "1.21.4"
11102
+ resolved "https://registry.yarnpkg.com/viem/-/viem-1.21.4.tgz#883760e9222540a5a7e0339809202b45fe6a842d"
11103
+ integrity sha512-BNVYdSaUjeS2zKQgPs+49e5JKocfo60Ib2yiXOWBT6LuVxY1I/6fFX3waEtpXvL1Xn4qu+BVitVtMh9lyThyhQ==
11104
+ dependencies:
11105
+ "@adraffy/ens-normalize" "1.10.0"
11106
+ "@noble/curves" "1.2.0"
11107
+ "@noble/hashes" "1.3.2"
11108
+ "@scure/bip32" "1.3.2"
11109
+ "@scure/bip39" "1.2.1"
11110
+ abitype "0.9.8"
11111
+ isows "1.0.3"
11112
+ ws "8.13.0"
11113
+
11090
11114
vite-node@2.0.3:
11091
11115
version "2.0.3"
11092
11116
resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-2.0.3.tgz#449b1524178304ba764bd33062bd31a09c5e673f"
You can’t perform that action at this time.
0 commit comments