@lavarage/sdk 7.2.1 → 7.2.3

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.mjs CHANGED
@@ -1382,7 +1382,6 @@ function createOffer(lavarageProgram, params) {
1382
1382
  ...createNodeWalletInstruction,
1383
1383
  instruction,
1384
1384
  updateMaxExposureInstruction,
1385
- transferInstruction,
1386
1385
  params.maxBorrow ? updateMaxBorrowInstruction : void 0,
1387
1386
  computeFeeIx
1388
1387
  ].filter(Boolean)
@@ -5650,7 +5649,12 @@ var closeTradeV2 = (lavarageProgram, position, offer, jupInstruction, quoteToken
5650
5649
  }).remainingAccounts(
5651
5650
  partnerFeeRecipient && partnerFeeMarkupAsPkey ? [
5652
5651
  {
5653
- pubkey: partnerFeeRecipient,
5652
+ pubkey: getAssociatedTokenAddressSync2(
5653
+ quoteToken,
5654
+ partnerFeeRecipient,
5655
+ false,
5656
+ quoteTokenProgram
5657
+ ),
5654
5658
  isSigner: false,
5655
5659
  isWritable: true
5656
5660
  },