@haven-fi/solauto-sdk 1.0.621 → 1.0.623

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.
@@ -219,7 +219,7 @@ class MarginfiFlProvider extends flProviderBase_1.FlProviderBase {
219
219
  return (0, umi_1.transactionBuilder)()
220
220
  .add((0, marginfi_sdk_1.lendingAccountRepay)(this.umi, {
221
221
  amount: flashLoan.baseUnitAmount,
222
- repayAll: true,
222
+ repayAll: false,
223
223
  bank: bank.publicKey,
224
224
  bankLiquidityVault: (0, umi_1.publicKey)(associatedBankAccs.liquidityVault),
225
225
  marginfiAccount: (0, umi_1.publicKey)(iMfiAccount.accountPk),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haven-fi/solauto-sdk",
3
- "version": "1.0.621",
3
+ "version": "1.0.623",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "description": "Typescript SDK for the Solauto program on the Solana blockchain",
@@ -352,7 +352,7 @@ export class MarginfiFlProvider extends FlProviderBase {
352
352
  .add(
353
353
  lendingAccountRepay(this.umi, {
354
354
  amount: flashLoan.baseUnitAmount,
355
- repayAll: true,
355
+ repayAll: false,
356
356
  bank: bank.publicKey,
357
357
  bankLiquidityVault: publicKey(associatedBankAccs.liquidityVault),
358
358
  marginfiAccount: publicKey(iMfiAccount.accountPk),