Skip to content

Commit 19110f3

Browse files
committed
Merge branch 'feat/update-wallets'
* feat/update-wallets: lock temporarily remove wallet missing deps remove wallets
2 parents 56f306d + b51867a commit 19110f3

37 files changed

+24
-2062
lines changed

packages/cosmos-kit/package.json

+2-6
Original file line numberDiff line numberDiff line change
@@ -78,18 +78,14 @@
7878
"@cosmos-kit/ctrl": "^2.13.1",
7979
"@cosmos-kit/exodus": "^2.12.1",
8080
"@cosmos-kit/fin": "^2.13.2",
81-
"@cosmos-kit/frontier": "^2.12.1",
82-
"@cosmos-kit/galaxy-station": "^2.12.1",
8381
"@cosmos-kit/keplr": "^2.14.2",
8482
"@cosmos-kit/leap": "^2.14.2",
8583
"@cosmos-kit/ledger": "^2.13.1",
8684
"@cosmos-kit/okxwallet-extension": "^2.13.0",
8785
"@cosmos-kit/omni": "^2.12.1",
8886
"@cosmos-kit/owallet": "^2.14.1",
8987
"@cosmos-kit/shell": "^2.13.2",
90-
"@cosmos-kit/station": "^2.12.1",
9188
"@cosmos-kit/tailwind": "^1.7.1",
92-
"@cosmos-kit/trust": "^2.13.1",
93-
"@cosmos-kit/vectis": "^2.13.2"
89+
"@cosmos-kit/trust": "^2.13.1"
9490
}
95-
}
91+
}

packages/cosmos-kit/src/wallets.ts

+5-22
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { wallets as compassExtension } from '@cosmos-kit/compass-extension';
44
import { wallets as okxwalletExtension } from '@cosmos-kit/okxwallet-extension';
55
import { wallets as cosmostationExtension } from '@cosmos-kit/cosmostation-extension';
66
import { wallets as cosmostationMobile } from '@cosmos-kit/cosmostation-mobile';
7-
import { wallets as frontierExtension } from '@cosmos-kit/frontier-extension';
87
import { wallets as keplrExtension } from '@cosmos-kit/keplr-extension';
98
import { wallets as keplrMobile } from '@cosmos-kit/keplr-mobile';
109
import { wallets as owalletExtension } from '@cosmos-kit/owallet-extension';
@@ -15,28 +14,24 @@ import { wallets as leapMetamaskCosmosSnap } from '@cosmos-kit/leap-metamask-cos
1514
import { wallets as ledgerUSB } from '@cosmos-kit/ledger';
1615
import { wallets as omniMobile } from '@cosmos-kit/omni-mobile';
1716
import { wallets as finExtension } from '@cosmos-kit/fin-extension';
18-
import { wallets as stationExtension } from '@cosmos-kit/station-extension';
1917
import { wallets as trustExtension } from '@cosmos-kit/trust-extension';
2018
import { wallets as trustMobile } from '@cosmos-kit/trust-mobile';
2119
import { wallets as shellExtension } from '@cosmos-kit/shell-extension';
2220
import { wallets as vectisExtension } from '@cosmos-kit/vectis-extension';
2321
import { wallets as ctrlExtension } from '@cosmos-kit/ctrl-extension';
2422
import { wallets as exodusExtension } from '@cosmos-kit/exodus-extension';
2523
import { wallets as tailwindWallet } from '@cosmos-kit/tailwind';
26-
import { wallets as galaxyStationExtension } from '@cosmos-kit/galaxy-station-extension';
2724
import { wallets as cdcwalletExtension } from '@cosmos-kit/cdcwallet-extension';
2825

2926
export type WalletName =
3027
| 'keplr'
3128
| 'cosmostation'
3229
| 'ledger'
3330
| 'okxwallet'
34-
| 'station'
3531
| 'leap'
3632
| 'trust'
3733
| 'ctrl'
3834
| 'vectis'
39-
| 'frontier'
4035
| 'fin'
4136
| 'omni'
4237
| 'coin98'
@@ -45,22 +40,21 @@ export type WalletName =
4540
| 'tailwind'
4641
| 'owallet'
4742
| 'exodus'
48-
| 'galaxystation'
4943
| 'cdcwallet';
5044

5145
export type WalletList<
5246
E extends MainWalletBase | null,
5347
M extends MainWalletBase | null
5448
> = (E extends MainWalletBase
5549
? M extends MainWalletBase
56-
? [E, M]
57-
: [E]
50+
? [E, M]
51+
: [E]
5852
: M extends MainWalletBase
5953
? [M]
6054
: []) & {
61-
mobile: M | null;
62-
extension: E | null;
63-
};
55+
mobile: M | null;
56+
extension: E | null;
57+
};
6458

6559
export function createWalletList<
6660
ExtensionWallet extends MainWalletBase | null,
@@ -90,12 +84,10 @@ export const leap = createWalletList(
9084
leapMobile[0],
9185
leapMetamaskCosmosSnap[0]
9286
);
93-
export const station = createWalletList(stationExtension[0], null);
9487
export const okxwallet = createWalletList(okxwalletExtension[0], null);
9588
export const trust = createWalletList(trustExtension[0], trustMobile[0]);
9689
export const ctrl = createWalletList(ctrlExtension[0], null);
9790
export const vectis = createWalletList(vectisExtension[0], null);
98-
export const frontier = createWalletList(frontierExtension[0], null);
9991
export const fin = createWalletList(finExtension[0], null);
10092
export const omni = createWalletList(null, omniMobile[0]);
10193
export const shell = createWalletList(shellExtension[0], null);
@@ -104,7 +96,6 @@ export const compass = createWalletList(compassExtension[0], null);
10496
export const exodus = createWalletList(exodusExtension[0], null);
10597
export const tailwind = createWalletList(tailwindWallet[0], null);
10698
export const owallet = createWalletList(owalletExtension[0], owalletMobile[0]);
107-
export const galaxystation = createWalletList(galaxyStationExtension[0], null);
10899
export const cdcwallet = createWalletList(cdcwalletExtension[0], null);
109100

110101
export type SubWalletList = MainWalletBase[] & {
@@ -117,20 +108,17 @@ export type AllWalletList = SubWalletList & {
117108
cosmostation: typeof cosmostation;
118109
ledger: typeof ledger;
119110
okxwallet: typeof okxwallet;
120-
station: typeof station;
121111
leap: typeof leap;
122112
trust: typeof trust;
123113
ctrl: typeof ctrl;
124114
vectis: typeof vectis;
125-
frontier: typeof frontier;
126115
fin: typeof fin;
127116
omni: typeof omni;
128117
coin98: typeof coin98;
129118
compass: typeof compass;
130119
exodus: typeof exodus;
131120
tailwind: typeof tailwind;
132121
owallet: typeof owallet;
133-
galaxystation: typeof galaxystation;
134122
cdcwallet: typeof cdcwallet;
135123
for: (...names: WalletName[]) => SubWalletList;
136124
not: (...names: WalletName[]) => SubWalletList;
@@ -165,15 +153,13 @@ export function createAllWalletList(ws: MainWalletBase[]) {
165153
wallets.trust = trust;
166154
wallets.ctrl = ctrl;
167155
wallets.vectis = vectis;
168-
wallets.frontier = frontier;
169156
wallets.fin = fin;
170157
wallets.omni = omni;
171158
wallets.coin98 = coin98;
172159
wallets.compass = compass;
173160
wallets.exodus = exodus;
174161
wallets.tailwind = tailwind;
175162
wallets.owallet = owallet;
176-
wallets.galaxystation = galaxystation;
177163
wallets.cdcwallet = cdcwallet;
178164

179165
defineGetters(wallets);
@@ -211,19 +197,16 @@ export const wallets = createAllWalletList([
211197
...leap,
212198
...ledger,
213199
...okxwallet,
214-
...station,
215200
...trust,
216201
...cosmostation,
217202
...ctrl,
218203
...vectis,
219-
...frontier,
220204
...fin,
221205
...omni,
222206
...coin98,
223207
...compass,
224208
...exodus,
225209
...tailwind,
226210
...owallet,
227-
...galaxystation,
228211
...cdcwallet,
229212
]);

wallets/galaxy-station-extension/.editorconfig

-12
This file was deleted.

wallets/galaxy-station-extension/.eslintignore

-7
This file was deleted.

wallets/galaxy-station-extension/.eslintrc.json

-82
This file was deleted.

wallets/galaxy-station-extension/.gitignore

-48
This file was deleted.

wallets/galaxy-station-extension/.npmignore

-32
This file was deleted.

wallets/galaxy-station-extension/.npmrc

-1
This file was deleted.

wallets/galaxy-station-extension/.prettierrc.json

-7
This file was deleted.

0 commit comments

Comments
 (0)