@clonegod/ttd-core 2.0.91 → 2.0.93

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.
@@ -24,7 +24,6 @@ class WebSocketClient {
24
24
  this.isReconnecting = false;
25
25
  this.url = url;
26
26
  this.options = Object.assign({ reconnectInterval: 3000, rejectUnauthorized: false, keepAlive: false, keepAliveInterval: 30000 }, options);
27
- (0, dist_1.log_info)(`WebSocketClient constructor, url: ${this.url}`, this.options);
28
27
  }
29
28
  connect() {
30
29
  (0, dist_1.log_info)(`Connecting to ${this.url}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-core",
3
- "version": "2.0.91",
3
+ "version": "2.0.93",
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": "types/index.d.ts",
package/types/index.d.ts CHANGED
@@ -357,7 +357,8 @@ export interface OrderMessageType {
357
357
  aToB: boolean // 交易方向,相对USDT/SOL/TRX等标准代币而言,买/卖
358
358
  amount: string // 交易的币的数量
359
359
  order_send_time: number // cex 发送下单消息的时间
360
- price?:string // cex 提供的下单参考价格
360
+ price?:string // cex 提供的下单参考价格
361
+ is_dex_maker: boolean // 新模式:DEX 主动下单,CEX侧 对冲
361
362
 
362
363
  // 兼容运营操作
363
364
  order_source?: string // 下单来源 - admin