File tree 5 files changed +11
-8
lines changed
5 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,7 @@ import type { Network } from "@wormhole-foundation/sdk-connect";
2
2
import { ChainContext } from "@wormhole-foundation/sdk-connect" ;
3
3
import type { AptosChains } from "./types.js" ;
4
4
5
- export class AptosChain < N extends Network , C extends AptosChains > extends ChainContext < N , C > { }
5
+ export class AptosChain <
6
+ N extends Network = Network ,
7
+ C extends AptosChains = AptosChains ,
8
+ > extends ChainContext < N , C > { }
Original file line number Diff line number Diff line change 1
- import type { Chain , Network } from "@wormhole-foundation/sdk-connect" ;
1
+ import type { Network } from "@wormhole-foundation/sdk-connect" ;
2
2
import { ChainContext } from "@wormhole-foundation/sdk-connect" ;
3
3
import type { CosmwasmChains } from "./types.js" ;
4
4
5
5
export class CosmwasmChain <
6
6
N extends Network = Network ,
7
- C extends Chain = CosmwasmChains ,
7
+ C extends CosmwasmChains = CosmwasmChains ,
8
8
> extends ChainContext < N , C > { }
Original file line number Diff line number Diff line change 1
- import type { Chain , Network } from '@wormhole-foundation/sdk-connect' ;
1
+ import type { Network } from '@wormhole-foundation/sdk-connect' ;
2
2
import { ChainContext } from '@wormhole-foundation/sdk-connect' ;
3
3
import type { EvmChains } from './types.js' ;
4
4
@@ -7,5 +7,5 @@ import type { EvmChains } from './types.js';
7
7
*/
8
8
export class EvmChain <
9
9
N extends Network = Network ,
10
- C extends Chain = EvmChains ,
10
+ C extends EvmChains = EvmChains ,
11
11
> extends ChainContext < N , C > { }
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { SolanaAddress } from './address.js';
9
9
import type { SolanaChains } from './types.js' ;
10
10
11
11
export class SolanaChain <
12
- N extends Network ,
12
+ N extends Network = Network ,
13
13
C extends SolanaChains = SolanaChains ,
14
14
> extends ChainContext < N , C > {
15
15
override async getTokenAccount (
Original file line number Diff line number Diff line change 1
- import type { Chain , Network } from "@wormhole-foundation/sdk-connect" ;
1
+ import type { Network } from "@wormhole-foundation/sdk-connect" ;
2
2
import { ChainContext } from "@wormhole-foundation/sdk-connect" ;
3
3
import type { SuiChains } from "./types.js" ;
4
4
5
5
export class SuiChain <
6
6
N extends Network = Network ,
7
- C extends Chain = SuiChains ,
7
+ C extends SuiChains = SuiChains ,
8
8
> extends ChainContext < N , C > { }
You can’t perform that action at this time.
0 commit comments