@lavarage/sdk 7.5.12 → 7.5.13
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 +1 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -5
- package/dist/index.mjs.map +1 -1
- package/index.ts +0 -4
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -569,7 +569,6 @@ export const borrowV1 = async (
|
|
|
569
569
|
|
|
570
570
|
const allInstructions = [
|
|
571
571
|
fromTokenAccount.instruction!,
|
|
572
|
-
toTokenAccount.instruction!,
|
|
573
572
|
partnerFeeRecipientCreateIx,
|
|
574
573
|
tradingOpenBorrowInstruction!,
|
|
575
574
|
openAddCollateralInstruction!,
|
|
@@ -1189,7 +1188,6 @@ export const openTradeV1 = async (
|
|
|
1189
1188
|
|
|
1190
1189
|
const allInstructions = [
|
|
1191
1190
|
fromTokenAccount.instruction!,
|
|
1192
|
-
toTokenAccount.instruction!,
|
|
1193
1191
|
partnerFeeRecipientCreateIx,
|
|
1194
1192
|
tradingOpenBorrowInstruction!,
|
|
1195
1193
|
...jupiterIxs,
|
|
@@ -2451,7 +2449,6 @@ export const closeTradeV1 = async (
|
|
|
2451
2449
|
const setUpInstructions = [
|
|
2452
2450
|
partnerFeeRecipientCreateIx,
|
|
2453
2451
|
jupInstruction.instructions && platformFeeRecipientAccount?.instruction ? platformFeeRecipientAccount.instruction : null,
|
|
2454
|
-
createAssociatedTokenAccountInstruction
|
|
2455
2452
|
].filter((i) => !!i);
|
|
2456
2453
|
|
|
2457
2454
|
const allInstructions = [
|
|
@@ -2488,7 +2485,6 @@ export const closeTradeV1 = async (
|
|
|
2488
2485
|
const allInstructions = [
|
|
2489
2486
|
partnerFeeRecipientCreateIx,
|
|
2490
2487
|
jupInstruction.instructions && platformFeeRecipientAccount?.instruction ? platformFeeRecipientAccount.instruction : null,
|
|
2491
|
-
createAssociatedTokenAccountInstruction,
|
|
2492
2488
|
jupInstruction.instructions?.tokenLedgerInstruction
|
|
2493
2489
|
? deserializeInstruction(
|
|
2494
2490
|
jupInstruction.instructions.tokenLedgerInstruction
|