@clonegod/ttd-core 3.1.112 → 3.1.113

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.
@@ -908,7 +908,7 @@ class ArbCache {
908
908
  console.log(`=================================================================================`);
909
909
  console.log(`| TRADE GROUP RUNTIME |`);
910
910
  console.log(`=================================================================================`);
911
- console.dir(_trade_runtime, { depth: 4 });
911
+ console.dir(_trade_runtime, { depth: process.env.LOG_DEPTH ? Number(process.env.LOG_DEPTH) : null });
912
912
  (0, index_1.log_trace)(`create_trade_runtime, end`);
913
913
  return trade_runtime;
914
914
  });
@@ -149,6 +149,9 @@ class AbstractTransactionResultCheck {
149
149
  execution: trade_extra_info,
150
150
  c_id
151
151
  };
152
+ const analyzeExtra = swap_result.analyze_extra;
153
+ if (analyzeExtra && typeof analyzeExtra === 'object')
154
+ Object.assign(trade_result, analyzeExtra);
152
155
  (0, analyze_1.report_data_to_analyze)('TradeResultType', trade_result);
153
156
  return trade_result;
154
157
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-core",
3
- "version": "3.1.112",
3
+ "version": "3.1.113",
4
4
  "description": "Common types and utilities for trading systems - use `npm run push` to publish",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",