@clonegod/ttd-base-common 1.1.4 → 1.1.5
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.
|
@@ -37,6 +37,7 @@ export declare class BaseEnvArgs extends EnvArgs {
|
|
|
37
37
|
tick_cache_neighboring_words: number;
|
|
38
38
|
tick_cache_ttl: number;
|
|
39
39
|
tick_cache_min_update_interval: number;
|
|
40
|
+
standard_wss_enabled: boolean;
|
|
40
41
|
flashblocks_enabled: boolean;
|
|
41
42
|
flashblocks_quicknode_wss: string;
|
|
42
43
|
flashblocks_dedup_ttl_ms: number;
|
|
@@ -38,6 +38,7 @@ const constants_1 = require("../common/constants");
|
|
|
38
38
|
min_quote_interval_ms: { env: 'MIN_QUOTE_INTERVAL_MS', type: 'number', default: 10000, desc: '最小询价间隔(ms)' },
|
|
39
39
|
use_pricefeed_for_orderbook: { env: 'USE_PRICEFEED_FOR_ORDERBOOK', type: 'boolean', default: false, desc: 'PriceFeed (v3 source) 报价是否推 orderbook' },
|
|
40
40
|
trade_parse_fetch_block_time: { env: 'TRADE_PARSE_FETCH_BLOCK_TIME', type: 'boolean', default: false, desc: '解析交易 receipt 时是否额外 RPC 查询 block 时间戳' },
|
|
41
|
+
standard_wss_enabled: { env: 'STANDARD_WSS_ENABLED', type: 'boolean', default: false, desc: '标准 WSS confirmed logs 订阅开关;默认关闭(newFlashblocks 已替代)' },
|
|
41
42
|
flashblocks_enabled: { env: 'FLASHBLOCKS_ENABLED', type: 'boolean', default: true, desc: 'Flashblocks pending logs 主路径开关' },
|
|
42
43
|
flashblocks_quicknode_wss: { env: 'FLASHBLOCKS_QUICKNODE_WSS', type: 'string', default: '', desc: 'QuickNode Flashblocks WSS endpoint(FLASHBLOCKS_ENABLED=true 时必填;不提供默认值,避免误用 demo endpoint)' },
|
|
43
44
|
flashblocks_dedup_ttl_ms: { env: 'FLASHBLOCKS_DEDUP_TTL_MS', type: 'number', default: 30000, desc: '事件去重 TTL:Flashblocks + 标准 WSS 同 tx 重复推送的去重窗口(ms)' },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clonegod/ttd-base-common",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
4
4
|
"description": "Base common library",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"push": "npm run build && npm publish"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@clonegod/ttd-core": "3.1.
|
|
17
|
+
"@clonegod/ttd-core": "3.1.76",
|
|
18
18
|
"axios": "1.15.0",
|
|
19
19
|
"dotenv": "^16.4.7",
|
|
20
20
|
"ethers": "^5.8.0"
|