@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/dist/index.js CHANGED
@@ -2850,7 +2850,7 @@ var partialRepayV2 = (lavarageProgram, position, repaymentBps) => __async(void 0
2850
2850
  clock: import_web3.SYSVAR_CLOCK_PUBKEY,
2851
2851
  randomAccountAsId: position.account.seed,
2852
2852
  fromTokenAccount: (0, import_spl_token.getAssociatedTokenAddressSync)(pool.qtType, lavarageProgram.provider.publicKey),
2853
- toTokenAccount: (0, import_spl_token.getAssociatedTokenAddressSync)(pool.qtType, pool.nodeWallet),
2853
+ toTokenAccount: (0, import_spl_token.getAssociatedTokenAddressSync)(pool.qtType, pool.nodeWallet, true),
2854
2854
  mint: pool.qtType,
2855
2855
  feeTokenAccount: (0, import_spl_token.getAssociatedTokenAddressSync)(pool.qtType, new import_web3.PublicKey("6JfTobDvwuwZxZP6FR5JPmjdvQ4h4MovkEVH2FPsMSrF")),
2856
2856
  tokenProgram: import_spl_token.TOKEN_PROGRAM_ID