Skip to content

Commit 4ae5284

Browse files
committed
Bump sdk-ts version
1 parent 3ddcbdd commit 4ae5284

File tree

6 files changed

+68
-64
lines changed

6 files changed

+68
-64
lines changed

evm/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
},
3232
"dependencies": {
3333
"@wormhole-foundation/example-liquidity-layer-definitions": "0.0.1",
34-
"@wormhole-foundation/sdk-base": "^0.10.9",
35-
"@wormhole-foundation/sdk-definitions": "^0.10.9",
36-
"@wormhole-foundation/sdk-evm": "^0.10.9",
34+
"@wormhole-foundation/sdk-base": "^1.4.4",
35+
"@wormhole-foundation/sdk-definitions": "^1.4.4",
36+
"@wormhole-foundation/sdk-evm": "^1.4.4",
3737
"ethers-v5": "npm:ethers@^5.7.2"
3838
},
3939
"devDependencies": {

package-lock.json

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

solana/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737
"@solana/web3.js": "^1.95.3",
3838
"@types/node-fetch": "^2.6.11",
3939
"@wormhole-foundation/example-liquidity-layer-definitions": "0.0.1",
40-
"@wormhole-foundation/sdk-base": "^0.10.9",
41-
"@wormhole-foundation/sdk-definitions": "^0.10.9",
42-
"@wormhole-foundation/sdk-evm": "^0.10.9",
43-
"@wormhole-foundation/sdk-solana": "^0.10.9",
44-
"@wormhole-foundation/sdk-solana-core": "^0.10.9",
40+
"@wormhole-foundation/sdk-base": "^1.4.4",
41+
"@wormhole-foundation/sdk-definitions": "^1.4.4",
42+
"@wormhole-foundation/sdk-evm": "^1.4.4",
43+
"@wormhole-foundation/sdk-solana": "^1.4.4",
44+
"@wormhole-foundation/sdk-solana-core": "^1.4.4",
4545
"anchor-0.29.0": "npm:@coral-xyz/anchor@^0.29.0",
4646
"bn.js": "^5.2.1",
4747
"dotenv": "^16.4.1",

solver/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"@solana/spl-token": "^0.4.6",
1717
"@wormhole-foundation/example-liquidity-layer-evm": "0.0.1",
1818
"@wormhole-foundation/example-liquidity-layer-solana": "0.0.1",
19-
"@wormhole-foundation/sdk-base": "^0.10.9",
20-
"@wormhole-foundation/sdk-definitions": "^0.10.9",
21-
"@wormhole-foundation/sdk-solana": "^0.10.9"
19+
"@wormhole-foundation/sdk-base": "^1.4.4",
20+
"@wormhole-foundation/sdk-definitions": "^1.4.4",
21+
"@wormhole-foundation/sdk-solana": "^1.4.4"
2222
}
2323
}

universal/ts/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"clean": "rm -rf node_modules && rm -rf dist"
2020
},
2121
"dependencies": {
22-
"@wormhole-foundation/sdk-base": "^0.10.9",
23-
"@wormhole-foundation/sdk-definitions": "^0.10.9"
22+
"@wormhole-foundation/sdk-base": "^1.4.4",
23+
"@wormhole-foundation/sdk-definitions": "^1.4.4"
2424
},
2525
"devDependencies": {
2626
"@types/chai": "^4.3.4",

universal/ts/src/payloads.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import {
22
Layout,
33
LayoutToType,
4-
NamedLayoutItem,
54
RoArray,
65
column,
76
constMap,
@@ -60,14 +59,13 @@ const switchCase = <P extends PayloadName>(p: P) =>
6059

6160
// prettier-ignore
6261
export const payloadLayoutSwitch = {
63-
name: "data",
6462
binary: "switch",
6563
idSize: 1,
6664
layouts: [
67-
switchCase("Fill"),
65+
switchCase("Fill"),
6866
switchCase("SlowOrderResponse")
6967
],
70-
} as const satisfies NamedLayoutItem;
68+
} as const satisfies Layout;
7169

7270
export type Fill = PayloadType<"Fill">;
7371
export type SlowOrderResponse = PayloadType<"SlowOrderResponse">;

0 commit comments

Comments
 (0)