@haven-fi/solauto-sdk 1.0.413 → 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.
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"jitoUtils.d.ts","sourceRoot":"","sources":["../../src/utils/jitoUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,SAAS,EAIV,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EACL,MAAM,EACN,kBAAkB,EAClB,GAAG,EAEJ,MAAM,0BAA0B,CAAC;AAQlC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAMlE,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,SAAS,CAAC,CAa9D;AAqND,wBAAsB,2BAA2B,CAC/C,GAAG,EAAE,GAAG,EACR,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,kBAAkB,EAAE,EACzB,MAAM,CAAC,EAAE,kBAAkB,EAC3B,kBAAkB,GAAE,kBAA2C,EAC/D,cAAc,CAAC,EAAE,MAAM,IAAI,GAC1B,OAAO,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC,
|
1
|
+
{"version":3,"file":"jitoUtils.d.ts","sourceRoot":"","sources":["../../src/utils/jitoUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,SAAS,EAIV,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EACL,MAAM,EACN,kBAAkB,EAClB,GAAG,EAEJ,MAAM,0BAA0B,CAAC;AAQlC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAMlE,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,SAAS,CAAC,CAa9D;AAqND,wBAAsB,2BAA2B,CAC/C,GAAG,EAAE,GAAG,EACR,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,kBAAkB,EAAE,EACzB,MAAM,CAAC,EAAE,kBAAkB,EAC3B,kBAAkB,GAAE,kBAA2C,EAC/D,cAAc,CAAC,EAAE,MAAM,IAAI,GAC1B,OAAO,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC,CAgG/B"}
|
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
|
-
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
@@ -275,7 +275,9 @@ export async function sendJitoBundledTransactions(
|
|
275
275
|
|
276
276
|
consoleLog("Sending Jito bundle...");
|
277
277
|
consoleLog("Transactions: ", txs.length);
|
278
|
-
|
278
|
+
consoleLog(
|
279
|
+
txs.map((tx) => tx.getInstructions().map((x) => x.programId.toString()))
|
280
|
+
);
|
279
281
|
consoleLog(
|
280
282
|
"Transaction sizes: ",
|
281
283
|
txs.map((x) => x.getTransactionSize(umi))
|