File tree Expand file tree Collapse file tree 4 files changed +46
-13
lines changed Expand file tree Collapse file tree 4 files changed +46
-13
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @cometh/connect-sdk-viem" ,
3
- "version" : " 2.0.0 " ,
3
+ "version" : " 2.0.1 " ,
4
4
"main" : " dist/index.js" ,
5
5
"types" : " dist/index.d.ts" ,
6
6
"description" : " Viem SDK Cometh Connect" ,
60
60
},
61
61
"dependencies" : {
62
62
"@babel/traverse" : " ^7.23.4" ,
63
- "@cometh/connect-sdk" : " ^1.2.13 " ,
63
+ "@cometh/connect-sdk" : " ^1.2.16 " ,
64
64
"@rainbow-me/rainbowkit" : " ^2" ,
65
65
"@types/babel__core" : " ^7.20.0" ,
66
66
"viem" : " ^2" ,
Original file line number Diff line number Diff line change @@ -9,31 +9,45 @@ import {
9
9
} from 'viem'
10
10
import { Prettify } from 'viem/_types/types/utils'
11
11
import {
12
+ arbitrum ,
13
+ arbitrumSepolia ,
12
14
avalanche ,
13
15
avalancheFuji ,
16
+ base ,
17
+ baseSepolia ,
14
18
gnosis ,
15
19
gnosisChiado ,
20
+ optimism ,
21
+ optimismSepolia ,
16
22
polygon ,
17
- polygonMumbai ,
18
- polygonZkEvm ,
19
- polygonZkEvmTestnet
23
+ polygonMumbai
20
24
} from 'viem/chains'
21
25
22
26
import { ComethAccountActions , connectWalletActions } from '../customActions'
23
- import { muster , musterTestnet , redstoneHolesky } from '../customChains'
27
+ import {
28
+ muster ,
29
+ musterTestnet ,
30
+ redstoneHolesky ,
31
+ xlNetwork
32
+ } from '../customChains'
24
33
25
34
const supportedChains = [
35
+ arbitrum ,
36
+ arbitrumSepolia ,
26
37
polygon ,
27
38
polygonMumbai ,
28
39
avalanche ,
29
40
avalancheFuji ,
30
41
gnosis ,
31
42
gnosisChiado ,
32
- polygonZkEvm ,
33
- polygonZkEvmTestnet ,
43
+ base ,
44
+ baseSepolia ,
34
45
muster ,
35
46
musterTestnet ,
36
- redstoneHolesky
47
+ redstoneHolesky ,
48
+ optimism ,
49
+ optimismSepolia ,
50
+ xlNetwork
37
51
]
38
52
39
53
export type ConnectClient <
Original file line number Diff line number Diff line change @@ -88,3 +88,22 @@ export const redstoneHolesky = defineChain({
88
88
}
89
89
}
90
90
} )
91
+
92
+ export const xlNetwork = defineChain ( {
93
+ id : 3084 ,
94
+ name : 'XL Network' ,
95
+ network : 'xlNetwork' ,
96
+ nativeCurrency : {
97
+ decimals : 18 ,
98
+ name : 'XL' ,
99
+ symbol : 'XL'
100
+ } ,
101
+ rpcUrls : {
102
+ default : {
103
+ http : [ '' ]
104
+ } ,
105
+ public : {
106
+ http : [ '' ]
107
+ }
108
+ }
109
+ } )
Original file line number Diff line number Diff line change 415
415
preact "^10.16.0"
416
416
sha.js "^2.4.11"
417
417
418
- " @cometh/connect-sdk@^1.2.13 " :
419
- version "1.2.13 "
420
- resolved "https://registry.yarnpkg.com/@cometh/connect-sdk/-/connect-sdk-1.2.13 .tgz#0dd290030ddecbc63b6a3b1d9488b625e8adc075 "
421
- integrity sha512-aAerQeMJ86sd3Q1TupegLA226AEwehXc7aewKcp2I3IUM0Go2B3YbsUj03cM++jlHV89dO0kLIvqKVNkMyrBew ==
418
+ " @cometh/connect-sdk@^1.2.16 " :
419
+ version "1.2.16 "
420
+ resolved "https://registry.yarnpkg.com/@cometh/connect-sdk/-/connect-sdk-1.2.16 .tgz#1f5d563018630a90e9be4f65aa68cf7e16c99c7d "
421
+ integrity sha512-zmvS4rHD2kFSXJl8FPNq/SxJIl25B2uYmatxUb6orzQBD/HSp3SfVesLyP1sjgTkGqvtudFHZq6vKVdHPIS1Xg ==
422
422
dependencies :
423
423
" @alembic/ui" " ^1.5.4"
424
424
" @babel/traverse" " ^7.23.4"
You can’t perform that action at this time.
0 commit comments