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