@haven-fi/solauto-sdk 1.0.414 → 1.0.415
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/utils/jitoUtils.js
CHANGED
@@ -182,7 +182,7 @@ async function sendJitoBundledTransactions(umi, connection, signer, txs, txType,
|
|
182
182
|
}
|
183
183
|
(0, generalUtils_1.consoleLog)("Sending Jito bundle...");
|
184
184
|
(0, generalUtils_1.consoleLog)("Transactions: ", txs.length);
|
185
|
-
(0, generalUtils_1.consoleLog)(txs.
|
185
|
+
(0, generalUtils_1.consoleLog)(txs.map((tx) => tx.getInstructions().map((x) => x.programId.toString())));
|
186
186
|
(0, generalUtils_1.consoleLog)("Transaction sizes: ", txs.map((x) => x.getTransactionSize(umi)));
|
187
187
|
txs[0] = txs[0].prepend(await getTipInstruction(signer, 150000));
|
188
188
|
const feeEstimates = priorityFeeSetting !== types_1.PriorityFeeSetting.None
|
package/package.json
CHANGED
package/src/utils/jitoUtils.ts
CHANGED
@@ -276,7 +276,7 @@ export async function sendJitoBundledTransactions(
|
|
276
276
|
consoleLog("Sending Jito bundle...");
|
277
277
|
consoleLog("Transactions: ", txs.length);
|
278
278
|
consoleLog(
|
279
|
-
txs.
|
279
|
+
txs.map((tx) => tx.getInstructions().map((x) => x.programId.toString()))
|
280
280
|
);
|
281
281
|
consoleLog(
|
282
282
|
"Transaction sizes: ",
|