Skip to content

Compatibility issues - ^1.3.1-beta.57 #15

@gladwinput

Description

@gladwinput

src/RaydiumSwap.ts:109:7 - error TS2353: Object literal may only specify known properties, and 'makeTxVersion' does not exist in type 'LiquiditySwapInstructionSimpleParams'.

109 makeTxVersion: useVersionedTransaction ? 0 : 1,
~~~~~~~~~~~~~

src/RaydiumSwap.ts:249:52 - error TS2345: Argument of type 'PublicKey' is not assignable to parameter of type 'number'.

249 const currencyIn = new Token(TOKEN_PROGRAM_ID, currencyInMint, currencyInDecimals)
~~~~~~~~~~~~~~

src/RaydiumSwap.ts:251:53 - error TS2345: Argument of type 'PublicKey' is not assignable to parameter of type 'number'.

251 const currencyOut = new Token(TOKEN_PROGRAM_ID, currencyOutMint, currencyOutDecimals)
~~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions