File tree Expand file tree Collapse file tree 3 files changed +3
-27
lines changed Expand file tree Collapse file tree 3 files changed +3
-27
lines changed Original file line number Diff line number Diff line change 70
70
"superjson" : " ^2.2.1" ,
71
71
"thirdweb" : " ^5.45.1" ,
72
72
"uuid" : " ^9.0.1" ,
73
- "viem" : " ^1.14.0" ,
74
73
"winston" : " ^3.14.1" ,
75
74
"zod" : " ^3.23.8"
76
75
},
Original file line number Diff line number Diff line change 1
- import { Address , getAddress } from "thirdweb" ;
1
+ import { Address } from "thirdweb" ;
2
+ import { checksumAddress } from "thirdweb/utils" ;
2
3
3
4
export const maybeBigInt = ( val ?: string ) => ( val ? BigInt ( val ) : undefined ) ;
4
5
@@ -22,7 +23,7 @@ export function getChecksumAddress(val: string | null): Address | undefined;
22
23
export function getChecksumAddress (
23
24
val ?: string | Address | null ,
24
25
) : Address | undefined {
25
- return val ? getAddress ( val ) : undefined ;
26
+ return val ? checksumAddress ( val ) : undefined ;
26
27
}
27
28
28
29
export function maybeDate ( val : number ) : Date ;
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
-
4868
4863
abitype@1.0.0:
4869
4864
version "1.0.0"
4870
4865
resolved "https://registry.yarnpkg.com/abitype/-/abitype-1.0.0.tgz#237176dace81d90d018bebf3a45cb42f2a2d9e97"
@@ -7954,11 +7949,6 @@ isomorphic-unfetch@3.1.0, isomorphic-unfetch@^3.1.0:
7954
7949
node-fetch "^2.6.1"
7955
7950
unfetch "^4.2.0"
7956
7951
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
-
7962
7952
isows@1.0.4:
7963
7953
version "1.0.4"
7964
7954
resolved "https://registry.yarnpkg.com/isows/-/isows-1.0.4.tgz#810cd0d90cc4995c26395d2aa4cfa4037ebdf061"
@@ -11097,20 +11087,6 @@ viem@2.19.3:
11097
11087
webauthn-p256 "0.0.5"
11098
11088
ws "8.17.1"
11099
11089
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
-
11114
11090
vite-node@2.0.3:
11115
11091
version "2.0.3"
11116
11092
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