@@ -4,7 +4,6 @@ import { wallets as compassExtension } from '@cosmos-kit/compass-extension';
4
4
import { wallets as okxwalletExtension } from '@cosmos-kit/okxwallet-extension' ;
5
5
import { wallets as cosmostationExtension } from '@cosmos-kit/cosmostation-extension' ;
6
6
import { wallets as cosmostationMobile } from '@cosmos-kit/cosmostation-mobile' ;
7
- import { wallets as frontierExtension } from '@cosmos-kit/frontier-extension' ;
8
7
import { wallets as keplrExtension } from '@cosmos-kit/keplr-extension' ;
9
8
import { wallets as keplrMobile } from '@cosmos-kit/keplr-mobile' ;
10
9
import { wallets as owalletExtension } from '@cosmos-kit/owallet-extension' ;
@@ -15,28 +14,24 @@ import { wallets as leapMetamaskCosmosSnap } from '@cosmos-kit/leap-metamask-cos
15
14
import { wallets as ledgerUSB } from '@cosmos-kit/ledger' ;
16
15
import { wallets as omniMobile } from '@cosmos-kit/omni-mobile' ;
17
16
import { wallets as finExtension } from '@cosmos-kit/fin-extension' ;
18
- import { wallets as stationExtension } from '@cosmos-kit/station-extension' ;
19
17
import { wallets as trustExtension } from '@cosmos-kit/trust-extension' ;
20
18
import { wallets as trustMobile } from '@cosmos-kit/trust-mobile' ;
21
19
import { wallets as shellExtension } from '@cosmos-kit/shell-extension' ;
22
20
import { wallets as vectisExtension } from '@cosmos-kit/vectis-extension' ;
23
21
import { wallets as ctrlExtension } from '@cosmos-kit/ctrl-extension' ;
24
22
import { wallets as exodusExtension } from '@cosmos-kit/exodus-extension' ;
25
23
import { wallets as tailwindWallet } from '@cosmos-kit/tailwind' ;
26
- import { wallets as galaxyStationExtension } from '@cosmos-kit/galaxy-station-extension' ;
27
24
import { wallets as cdcwalletExtension } from '@cosmos-kit/cdcwallet-extension' ;
28
25
29
26
export type WalletName =
30
27
| 'keplr'
31
28
| 'cosmostation'
32
29
| 'ledger'
33
30
| 'okxwallet'
34
- | 'station'
35
31
| 'leap'
36
32
| 'trust'
37
33
| 'ctrl'
38
34
| 'vectis'
39
- | 'frontier'
40
35
| 'fin'
41
36
| 'omni'
42
37
| 'coin98'
@@ -45,22 +40,21 @@ export type WalletName =
45
40
| 'tailwind'
46
41
| 'owallet'
47
42
| 'exodus'
48
- | 'galaxystation'
49
43
| 'cdcwallet' ;
50
44
51
45
export type WalletList <
52
46
E extends MainWalletBase | null ,
53
47
M extends MainWalletBase | null
54
48
> = ( E extends MainWalletBase
55
49
? M extends MainWalletBase
56
- ? [ E , M ]
57
- : [ E ]
50
+ ? [ E , M ]
51
+ : [ E ]
58
52
: M extends MainWalletBase
59
53
? [ M ]
60
54
: [ ] ) & {
61
- mobile : M | null ;
62
- extension : E | null ;
63
- } ;
55
+ mobile : M | null ;
56
+ extension : E | null ;
57
+ } ;
64
58
65
59
export function createWalletList <
66
60
ExtensionWallet extends MainWalletBase | null ,
@@ -90,12 +84,10 @@ export const leap = createWalletList(
90
84
leapMobile [ 0 ] ,
91
85
leapMetamaskCosmosSnap [ 0 ]
92
86
) ;
93
- export const station = createWalletList ( stationExtension [ 0 ] , null ) ;
94
87
export const okxwallet = createWalletList ( okxwalletExtension [ 0 ] , null ) ;
95
88
export const trust = createWalletList ( trustExtension [ 0 ] , trustMobile [ 0 ] ) ;
96
89
export const ctrl = createWalletList ( ctrlExtension [ 0 ] , null ) ;
97
90
export const vectis = createWalletList ( vectisExtension [ 0 ] , null ) ;
98
- export const frontier = createWalletList ( frontierExtension [ 0 ] , null ) ;
99
91
export const fin = createWalletList ( finExtension [ 0 ] , null ) ;
100
92
export const omni = createWalletList ( null , omniMobile [ 0 ] ) ;
101
93
export const shell = createWalletList ( shellExtension [ 0 ] , null ) ;
@@ -104,7 +96,6 @@ export const compass = createWalletList(compassExtension[0], null);
104
96
export const exodus = createWalletList ( exodusExtension [ 0 ] , null ) ;
105
97
export const tailwind = createWalletList ( tailwindWallet [ 0 ] , null ) ;
106
98
export const owallet = createWalletList ( owalletExtension [ 0 ] , owalletMobile [ 0 ] ) ;
107
- export const galaxystation = createWalletList ( galaxyStationExtension [ 0 ] , null ) ;
108
99
export const cdcwallet = createWalletList ( cdcwalletExtension [ 0 ] , null ) ;
109
100
110
101
export type SubWalletList = MainWalletBase [ ] & {
@@ -117,20 +108,17 @@ export type AllWalletList = SubWalletList & {
117
108
cosmostation : typeof cosmostation ;
118
109
ledger : typeof ledger ;
119
110
okxwallet : typeof okxwallet ;
120
- station : typeof station ;
121
111
leap : typeof leap ;
122
112
trust : typeof trust ;
123
113
ctrl : typeof ctrl ;
124
114
vectis : typeof vectis ;
125
- frontier : typeof frontier ;
126
115
fin : typeof fin ;
127
116
omni : typeof omni ;
128
117
coin98 : typeof coin98 ;
129
118
compass : typeof compass ;
130
119
exodus : typeof exodus ;
131
120
tailwind : typeof tailwind ;
132
121
owallet : typeof owallet ;
133
- galaxystation : typeof galaxystation ;
134
122
cdcwallet : typeof cdcwallet ;
135
123
for : ( ...names : WalletName [ ] ) => SubWalletList ;
136
124
not : ( ...names : WalletName [ ] ) => SubWalletList ;
@@ -165,15 +153,13 @@ export function createAllWalletList(ws: MainWalletBase[]) {
165
153
wallets . trust = trust ;
166
154
wallets . ctrl = ctrl ;
167
155
wallets . vectis = vectis ;
168
- wallets . frontier = frontier ;
169
156
wallets . fin = fin ;
170
157
wallets . omni = omni ;
171
158
wallets . coin98 = coin98 ;
172
159
wallets . compass = compass ;
173
160
wallets . exodus = exodus ;
174
161
wallets . tailwind = tailwind ;
175
162
wallets . owallet = owallet ;
176
- wallets . galaxystation = galaxystation ;
177
163
wallets . cdcwallet = cdcwallet ;
178
164
179
165
defineGetters ( wallets ) ;
@@ -211,19 +197,16 @@ export const wallets = createAllWalletList([
211
197
...leap ,
212
198
...ledger ,
213
199
...okxwallet ,
214
- ...station ,
215
200
...trust ,
216
201
...cosmostation ,
217
202
...ctrl ,
218
203
...vectis ,
219
- ...frontier ,
220
204
...fin ,
221
205
...omni ,
222
206
...coin98 ,
223
207
...compass ,
224
208
...exodus ,
225
209
...tailwind ,
226
210
...owallet ,
227
- ...galaxystation ,
228
211
...cdcwallet ,
229
212
] ) ;
0 commit comments