Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit ca6d579

Browse files
authored
token-swap js: Fix arg list in ts / flow (#1633)
1 parent 99aaab0 commit ca6d579

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

token-swap/js/module.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ declare module '@solana/spl-token-swap' {
2222
export class TokenSwap {
2323
constructor(
2424
connection: Connection,
25+
tokenSwap: PublicKey,
2526
swapProgramId: PublicKey,
2627
tokenProgramId: PublicKey,
27-
tokenSwap: PublicKey,
2828
poolToken: PublicKey,
2929
feeAccount: PublicKey,
3030
authority: PublicKey,

token-swap/js/module.flow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ declare module '@solana/spl-token-swap' {
1919
declare export class TokenSwap {
2020
constructor(
2121
connection: Connection,
22+
tokenSwap: PublicKey,
2223
swapProgramId: PublicKey,
2324
tokenProgramId: PublicKey,
24-
tokenSwap: PublicKey,
2525
poolToken: PublicKey,
2626
feeAccount: PublicKey,
2727
authority: PublicKey,

0 commit comments

Comments
 (0)