@clonegod/ttd-sol-common 1.0.185 → 1.0.187

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.
@@ -89,12 +89,14 @@ class TransactionResultChecker {
89
89
  const check_start_time = Date.now();
90
90
  const check_interval = parseInt(process.env.CHECK_TX_RESULT_INTERVAL_MILLS || '2000');
91
91
  const check_timeout = parseInt(process.env.CHECK_TX_RESULT_TIMEOUT_MILLS || '10000');
92
+ (0, dist_1.log_info)(`check transaction start: check_interval=${check_interval}, check_timeout=${check_timeout}`);
92
93
  if (check_interval >= check_timeout) {
94
+ (0, dist_1.log_warn)(`check_interval=${check_interval} >= check_timeout=${check_timeout}, check_tx_result_interval failed!`);
93
95
  return;
94
96
  }
95
97
  const intervalId = setInterval(() => __awaiter(this, void 0, void 0, function* () {
96
98
  this.check_count += 1;
97
- (0, dist_1.log_info)(`check transaction start: seq=[${this.check_count}], txhash= ${this.txid}, trace_id=${this.trace_id}`);
99
+ (0, dist_1.log_info)(`check transaction: seq=[${this.check_count}], txhash= ${this.txid}, trace_id=${this.trace_id}`);
98
100
  try {
99
101
  if (Date.now() - check_start_time < check_timeout) {
100
102
  let tx_result = yield this.connection.getParsedTransaction(this.txid, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-sol-common",
3
- "version": "1.0.185",
3
+ "version": "1.0.187",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "types/index.d.ts",
@@ -13,7 +13,7 @@
13
13
  "push": "npm run build && npm publish"
14
14
  },
15
15
  "dependencies": {
16
- "@clonegod/ttd-common": "1.1.43",
16
+ "@clonegod/ttd-common": "1.1.46",
17
17
  "@metaplex-foundation/mpl-token-metadata": "^2.5.2",
18
18
  "@solana/web3.js": "1.91.6",
19
19
  "rpc-websockets": "7.10.0",