File tree 6 files changed +68
-64
lines changed
6 files changed +68
-64
lines changed Original file line number Diff line number Diff line change 31
31
},
32
32
"dependencies" : {
33
33
"@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 " ,
37
37
"ethers-v5" : " npm:ethers@^5.7.2"
38
38
},
39
39
"devDependencies" : {
Original file line number Diff line number Diff line change 37
37
"@solana/web3.js" : " ^1.95.3" ,
38
38
"@types/node-fetch" : " ^2.6.11" ,
39
39
"@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 " ,
45
45
"anchor-0.29.0" : " npm:@coral-xyz/anchor@^0.29.0" ,
46
46
"bn.js" : " ^5.2.1" ,
47
47
"dotenv" : " ^16.4.1" ,
Original file line number Diff line number Diff line change 16
16
"@solana/spl-token" : " ^0.4.6" ,
17
17
"@wormhole-foundation/example-liquidity-layer-evm" : " 0.0.1" ,
18
18
"@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 "
22
22
}
23
23
}
Original file line number Diff line number Diff line change 19
19
"clean" : " rm -rf node_modules && rm -rf dist"
20
20
},
21
21
"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 "
24
24
},
25
25
"devDependencies" : {
26
26
"@types/chai" : " ^4.3.4" ,
Original file line number Diff line number Diff line change 1
1
import {
2
2
Layout ,
3
3
LayoutToType ,
4
- NamedLayoutItem ,
5
4
RoArray ,
6
5
column ,
7
6
constMap ,
@@ -60,14 +59,13 @@ const switchCase = <P extends PayloadName>(p: P) =>
60
59
61
60
// prettier-ignore
62
61
export const payloadLayoutSwitch = {
63
- name : "data" ,
64
62
binary : "switch" ,
65
63
idSize : 1 ,
66
64
layouts : [
67
- switchCase ( "Fill" ) ,
65
+ switchCase ( "Fill" ) ,
68
66
switchCase ( "SlowOrderResponse" )
69
67
] ,
70
- } as const satisfies NamedLayoutItem ;
68
+ } as const satisfies Layout ;
71
69
72
70
export type Fill = PayloadType < "Fill" > ;
73
71
export type SlowOrderResponse = PayloadType < "SlowOrderResponse" > ;
You can’t perform that action at this time.
0 commit comments