@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.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/index.ts +6 -1
- package/lending.ts +0 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1413,7 +1413,6 @@ function createOffer(lavarageProgram, params) {
|
|
|
1413
1413
|
...createNodeWalletInstruction,
|
|
1414
1414
|
instruction,
|
|
1415
1415
|
updateMaxExposureInstruction,
|
|
1416
|
-
transferInstruction,
|
|
1417
1416
|
params.maxBorrow ? updateMaxBorrowInstruction : void 0,
|
|
1418
1417
|
computeFeeIx
|
|
1419
1418
|
].filter(Boolean)
|
|
@@ -5681,7 +5680,12 @@ var closeTradeV2 = (lavarageProgram, position, offer, jupInstruction, quoteToken
|
|
|
5681
5680
|
}).remainingAccounts(
|
|
5682
5681
|
partnerFeeRecipient && partnerFeeMarkupAsPkey ? [
|
|
5683
5682
|
{
|
|
5684
|
-
pubkey:
|
|
5683
|
+
pubkey: (0, import_spl_token2.getAssociatedTokenAddressSync)(
|
|
5684
|
+
quoteToken,
|
|
5685
|
+
partnerFeeRecipient,
|
|
5686
|
+
false,
|
|
5687
|
+
quoteTokenProgram
|
|
5688
|
+
),
|
|
5685
5689
|
isSigner: false,
|
|
5686
5690
|
isWritable: true
|
|
5687
5691
|
},
|