raydium-sdk-swap-example-typescript icon indicating copy to clipboard operation
raydium-sdk-swap-example-typescript copied to clipboard

Compatibility issues - ^1.3.1-beta.57

Open gladwinput opened this issue 1 year ago • 3 comments

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) ~~~~~~~~~~~~~~~

gladwinput avatar Jul 11 '24 21:07 gladwinput

Hi there! Thanks for opening this issue. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible.

github-actions[bot] avatar Aug 03 '24 12:08 github-actions[bot]

@Akshat111111 can you please assign me this task

Maheshwari-Love avatar Aug 03 '24 12:08 Maheshwari-Love

use web scrapping

Akshat111111 avatar Aug 04 '24 06:08 Akshat111111