Skip to content

Commit eed6646

Browse files
committed
bump sdk to 1.5.1 (right version), fix tests
1 parent 742057f commit eed6646

File tree

9 files changed

+30
-32
lines changed

9 files changed

+30
-32
lines changed

evm/ts/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@
4848
"ethers": "^6.5.1"
4949
},
5050
"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"
5555
},
5656
"devDependencies": {
5757
"@typechain/ethers-v6": "^0.5.1",

package-lock.json

+13-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@solana/web3.js": "^1.95.8",
2222
"@types/jest": "^29.5.12",
2323
"@types/node": "^20.12.2",
24-
"@wormhole-foundation/sdk": "^1.5.0",
24+
"@wormhole-foundation/sdk": "^1.5.1",
2525
"@wormhole-foundation/wormchain-sdk": "^0.0.1",
2626
"ethers": "^6.5.1",
2727
"ts-jest": "^29.1.2",

sdk/definitions/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
"test": "jest --config ./jest.config.ts"
5050
},
5151
"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"
5454
},
5555
"type": "module"
5656
}

sdk/examples/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"tsx": "^4.7.2"
3333
},
3434
"dependencies": {
35-
"@wormhole-foundation/sdk": "^1.5.0",
35+
"@wormhole-foundation/sdk": "^1.5.1",
3636
"@wormhole-foundation/sdk-definitions-ntt": "0.5.0",
3737
"@wormhole-foundation/sdk-evm-ntt": "0.5.0",
3838
"@wormhole-foundation/sdk-solana-ntt": "0.5.0",

sdk/route/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"@wormhole-foundation/sdk-evm-ntt": "0.5.0"
5151
},
5252
"peerDependencies": {
53-
"@wormhole-foundation/sdk-connect": "^1.5.0"
53+
"@wormhole-foundation/sdk-connect": "^1.5.1"
5454
},
5555
"type": "module",
5656
"exports": {

sdk/route/src/automatic.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,10 @@ export class NttAutomaticRoute<N extends Network>
6868
return NttRoute.resolveSupportedChains(this.config, network);
6969
}
7070

71-
// TODO: remove this, just here to compile
72-
static supportedSourceTokens(
71+
static async supportedSourceTokens(
7372
fromChain: ChainContext<Network>
7473
): Promise<TokenId[]> {
75-
throw new Error("not implemented");
74+
return NttRoute.resolveSourceTokens(this.config, fromChain);
7675
}
7776

7877
static async supportedDestinationTokens<N extends Network>(

sdk/route/src/manual.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,10 @@ export class NttManualRoute<N extends Network>
6767
return NttRoute.resolveSupportedChains(this.config, network);
6868
}
6969

70-
// TODO: remove this, just here to compile
71-
static supportedSourceTokens(
70+
static async supportedSourceTokens(
7271
fromChain: ChainContext<Network>
7372
): Promise<TokenId[]> {
74-
throw new Error("not implemented");
73+
return NttRoute.resolveSourceTokens(this.config, fromChain);
7574
}
7675

7776
static async supportedDestinationTokens<N extends Network>(

solana/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@
5757
"@wormhole-foundation/sdk-definitions-ntt": "0.5.0"
5858
},
5959
"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"
6464
},
6565
"type": "module",
6666
"exports": {

0 commit comments

Comments
 (0)