@lavarage/sdk 6.1.3 → 6.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.ts CHANGED
@@ -533,7 +533,7 @@ export const partialRepayV2 = async (lavarageProgram: Program<LavarageV2>, posit
533
533
  clock: SYSVAR_CLOCK_PUBKEY,
534
534
  randomAccountAsId: position.account.seed,
535
535
  fromTokenAccount: getAssociatedTokenAddressSync(pool.qtType, lavarageProgram.provider.publicKey!),
536
- toTokenAccount: getAssociatedTokenAddressSync(pool.qtType, pool.nodeWallet),
536
+ toTokenAccount: getAssociatedTokenAddressSync(pool.qtType, pool.nodeWallet, true),
537
537
  mint: pool.qtType,
538
538
  feeTokenAccount: getAssociatedTokenAddressSync(pool.qtType, new PublicKey('6JfTobDvwuwZxZP6FR5JPmjdvQ4h4MovkEVH2FPsMSrF')),
539
539
  tokenProgram: TOKEN_PROGRAM_ID,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lavarage/sdk",
3
- "version": "6.1.3",
3
+ "version": "6.1.4",
4
4
  "description": "Lavarage SDK",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",