@clonegod/ttd-sol-common 1.0.119 → 1.0.120

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.
@@ -581,11 +581,6 @@ class RpcClient {
581
581
  let jitoApiUrl = `${types_1.JITO_API_URLS[region]}/api/v1/bundles`;
582
582
  const bundleId = yield this.send_tx_to_all_jito_region(serializedTransaction, encoding);
583
583
  this.try_get_bundle_failed_result(txid, bundleId);
584
- (0, dist_1.log_info)(`sendJitoBundle finish`, {
585
- jitoApiUrl,
586
- txid,
587
- bundleId
588
- });
589
584
  const currentBlockHeight = yield solana_trade_runtime.connection.getBlockHeight();
590
585
  const lastValidBlockHeight = Math.min(blockhash.lastValidBlockHeight, currentBlockHeight + lastValidBlockHeightOffset);
591
586
  const timeout = 10000;
@@ -84,8 +84,8 @@ class TransactionResultChecker {
84
84
  check_tx_result_interval() {
85
85
  return __awaiter(this, void 0, void 0, function* () {
86
86
  const check_start_time = Date.now();
87
- const check_interval = parseInt(process.env.CHECK_TX_RESULT_INTERVAL_MILLS || '1000');
88
- const check_timeout = parseInt(process.env.CHECK_TX_RESULT_TIMEOUT_MILLS || '6000');
87
+ const check_interval = parseInt(process.env.CHECK_TX_RESULT_INTERVAL_MILLS || '2000');
88
+ const check_timeout = parseInt(process.env.CHECK_TX_RESULT_TIMEOUT_MILLS || '10000');
89
89
  const intervalId = setInterval(() => __awaiter(this, void 0, void 0, function* () {
90
90
  this.check_count += 1;
91
91
  (0, dist_1.log_info)(`check transaction start: seq=[${this.check_count}], txhash= ${this.txid}, trace_id=${this.trace_id}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-sol-common",
3
- "version": "1.0.119",
3
+ "version": "1.0.120",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "types/index.d.ts",