@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/index.ts
CHANGED
|
@@ -1487,7 +1487,12 @@ export const closeTradeV2 = async (
|
|
|
1487
1487
|
partnerFeeRecipient && partnerFeeMarkupAsPkey
|
|
1488
1488
|
? [
|
|
1489
1489
|
{
|
|
1490
|
-
pubkey:
|
|
1490
|
+
pubkey: getAssociatedTokenAddressSync(
|
|
1491
|
+
quoteToken,
|
|
1492
|
+
partnerFeeRecipient,
|
|
1493
|
+
false,
|
|
1494
|
+
quoteTokenProgram
|
|
1495
|
+
),
|
|
1491
1496
|
isSigner: false,
|
|
1492
1497
|
isWritable: true,
|
|
1493
1498
|
},
|
package/lending.ts
CHANGED
|
@@ -452,7 +452,6 @@ export async function createOffer(
|
|
|
452
452
|
...createNodeWalletInstruction,
|
|
453
453
|
instruction,
|
|
454
454
|
updateMaxExposureInstruction,
|
|
455
|
-
transferInstruction,
|
|
456
455
|
params.maxBorrow ? updateMaxBorrowInstruction : undefined,
|
|
457
456
|
computeFeeIx,
|
|
458
457
|
].filter(Boolean) as TransactionInstruction[],
|