@clonegod/ttd-sol-common 1.0.83 → 1.0.84

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.
@@ -577,9 +577,10 @@ class RpcClient {
577
577
  if (solana_trade_runtime.jito_plugin_url) {
578
578
  jitoApiUrl = solana_trade_runtime.jito_plugin_url;
579
579
  }
580
- this.sendJitoTransaction(serializedTransaction, `${types_1.JITO_API_URLS['Default']}/api/v1/transactions`);
580
+ this.sendJitoTransaction(serializedTransaction, `${types_1.JITO_API_URLS['Default']}/api/v1/transactions?bundleOnly=true`);
581
581
  const bundleId = yield this.sendJitoBundle([serializedTransaction], jitoApiUrl);
582
- (0, dist_1.log_info)(`sendJitoBundle`, {
582
+ (0, dist_1.log_info)(`sendJitoBundle finish`, {
583
+ jitoApiUrl,
583
584
  txid,
584
585
  bundleId
585
586
  });
@@ -700,13 +701,13 @@ class RpcClient {
700
701
  let txid = (0, get_signature_1.getSignature)(transaction);
701
702
  setTimeout(() => __awaiter(this, void 0, void 0, function* () {
702
703
  const serializedTransaction = bs58_1.default.encode(transaction.serialize());
703
- let jitoApiUrl = `${types_1.JITO_API_URLS[region]}/api/v1/transactions`;
704
+ let jitoApiUrl = `${types_1.JITO_API_URLS[region]}/api/v1/transactions?bundleOnly=true`;
704
705
  if (solana_trade_runtime.jito_plugin_url) {
705
706
  jitoApiUrl = solana_trade_runtime.jito_plugin_url;
706
707
  }
707
708
  (0, dist_1.log_info)('sendSmartTransactionWithTipMixed, start');
708
709
  this.sendTransaction(transaction);
709
- this.sendJitoTransaction(serializedTransaction, `${types_1.JITO_API_URLS['Default']}/api/v1/transactions`);
710
+ this.sendJitoTransaction(serializedTransaction, `${types_1.JITO_API_URLS['Default']}/api/v1/transactions?bundleOnly=true`);
710
711
  const bundleId = yield this.sendJitoTransaction(serializedTransaction, jitoApiUrl);
711
712
  (0, dist_1.log_info)(`sendJitoTransaction`, {
712
713
  txid,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-sol-common",
3
- "version": "1.0.83",
3
+ "version": "1.0.84",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "types/index.d.ts",