File tree 9 files changed +30
-32
lines changed
9 files changed +30
-32
lines changed Original file line number Diff line number Diff line change 48
48
"ethers" : " ^6.5.1"
49
49
},
50
50
"peerDependencies" : {
51
- "@wormhole-foundation/sdk-base" : " ^1.5.0 " ,
52
- "@wormhole-foundation/sdk-definitions" : " ^1.5.0 " ,
53
- "@wormhole-foundation/sdk-evm" : " ^1.5.0 " ,
54
- "@wormhole-foundation/sdk-evm-core" : " ^1.5.0 "
51
+ "@wormhole-foundation/sdk-base" : " ^1.5.1 " ,
52
+ "@wormhole-foundation/sdk-definitions" : " ^1.5.1 " ,
53
+ "@wormhole-foundation/sdk-evm" : " ^1.5.1 " ,
54
+ "@wormhole-foundation/sdk-evm-core" : " ^1.5.1 "
55
55
},
56
56
"devDependencies" : {
57
57
"@typechain/ethers-v6" : " ^0.5.1" ,
Original file line number Diff line number Diff line change 21
21
"@solana/web3.js" : " ^1.95.8" ,
22
22
"@types/jest" : " ^29.5.12" ,
23
23
"@types/node" : " ^20.12.2" ,
24
- "@wormhole-foundation/sdk" : " ^1.5.0 " ,
24
+ "@wormhole-foundation/sdk" : " ^1.5.1 " ,
25
25
"@wormhole-foundation/wormchain-sdk" : " ^0.0.1" ,
26
26
"ethers" : " ^6.5.1" ,
27
27
"ts-jest" : " ^29.1.2" ,
Original file line number Diff line number Diff line change 49
49
"test" : " jest --config ./jest.config.ts"
50
50
},
51
51
"peerDependencies" : {
52
- "@wormhole-foundation/sdk-base" : " ^1.5.0 " ,
53
- "@wormhole-foundation/sdk-definitions" : " ^1.5.0 "
52
+ "@wormhole-foundation/sdk-base" : " ^1.5.1 " ,
53
+ "@wormhole-foundation/sdk-definitions" : " ^1.5.1 "
54
54
},
55
55
"type" : " module"
56
56
}
Original file line number Diff line number Diff line change 32
32
"tsx" : " ^4.7.2"
33
33
},
34
34
"dependencies" : {
35
- "@wormhole-foundation/sdk" : " ^1.5.0 " ,
35
+ "@wormhole-foundation/sdk" : " ^1.5.1 " ,
36
36
"@wormhole-foundation/sdk-definitions-ntt" : " 0.5.0" ,
37
37
"@wormhole-foundation/sdk-evm-ntt" : " 0.5.0" ,
38
38
"@wormhole-foundation/sdk-solana-ntt" : " 0.5.0" ,
Original file line number Diff line number Diff line change 50
50
"@wormhole-foundation/sdk-evm-ntt" : " 0.5.0"
51
51
},
52
52
"peerDependencies" : {
53
- "@wormhole-foundation/sdk-connect" : " ^1.5.0 "
53
+ "@wormhole-foundation/sdk-connect" : " ^1.5.1 "
54
54
},
55
55
"type" : " module" ,
56
56
"exports" : {
Original file line number Diff line number Diff line change @@ -68,11 +68,10 @@ export class NttAutomaticRoute<N extends Network>
68
68
return NttRoute . resolveSupportedChains ( this . config , network ) ;
69
69
}
70
70
71
- // TODO: remove this, just here to compile
72
- static supportedSourceTokens (
71
+ static async supportedSourceTokens (
73
72
fromChain : ChainContext < Network >
74
73
) : Promise < TokenId [ ] > {
75
- throw new Error ( "not implemented" ) ;
74
+ return NttRoute . resolveSourceTokens ( this . config , fromChain ) ;
76
75
}
77
76
78
77
static async supportedDestinationTokens < N extends Network > (
Original file line number Diff line number Diff line change @@ -67,11 +67,10 @@ export class NttManualRoute<N extends Network>
67
67
return NttRoute . resolveSupportedChains ( this . config , network ) ;
68
68
}
69
69
70
- // TODO: remove this, just here to compile
71
- static supportedSourceTokens (
70
+ static async supportedSourceTokens (
72
71
fromChain : ChainContext < Network >
73
72
) : Promise < TokenId [ ] > {
74
- throw new Error ( "not implemented" ) ;
73
+ return NttRoute . resolveSourceTokens ( this . config , fromChain ) ;
75
74
}
76
75
77
76
static async supportedDestinationTokens < N extends Network > (
Original file line number Diff line number Diff line change 57
57
"@wormhole-foundation/sdk-definitions-ntt" : " 0.5.0"
58
58
},
59
59
"peerDependencies" : {
60
- "@wormhole-foundation/sdk-base" : " ^1.5.0 " ,
61
- "@wormhole-foundation/sdk-definitions" : " ^1.5.0 " ,
62
- "@wormhole-foundation/sdk-solana" : " ^1.5.0 " ,
63
- "@wormhole-foundation/sdk-solana-core" : " ^1.5.0 "
60
+ "@wormhole-foundation/sdk-base" : " ^1.5.1 " ,
61
+ "@wormhole-foundation/sdk-definitions" : " ^1.5.1 " ,
62
+ "@wormhole-foundation/sdk-solana" : " ^1.5.1 " ,
63
+ "@wormhole-foundation/sdk-solana-core" : " ^1.5.1 "
64
64
},
65
65
"type" : " module" ,
66
66
"exports" : {
You can’t perform that action at this time.
0 commit comments