@clonegod/ttd-core 2.1.14 → 2.1.16

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.
@@ -44,6 +44,7 @@ const cache_pool_config = (chain_id, valid_tokens_map, sol_pools_cache) => __awa
44
44
  tokenB: null,
45
45
  vaultA: pool.vaultA,
46
46
  vaultB: pool.vaultB,
47
+ subscribe_vault_change: pool.subscribe_vault_change,
47
48
  router_id: null,
48
49
  fee_rate: pool.fee_rate_bps,
49
50
  quote_token: pool.quote_token,
@@ -15,6 +15,7 @@ export interface FormattedPoolInfo {
15
15
  vol_24h: number;
16
16
  vaultA: string;
17
17
  vaultB: string;
18
+ subscribe_vault_change?: boolean;
18
19
  authority: string;
19
20
  lookupTableAccount?: string;
20
21
  is_trade_native_token?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-core",
3
- "version": "2.1.14",
3
+ "version": "2.1.16",
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
@@ -86,6 +86,7 @@ export interface StandardPoolInfoType {
86
86
  tokenB: StandardTokenInfoType
87
87
  vaultA?: string
88
88
  vaultB?: string
89
+ subscribe_vault_change?: boolean // SOLANA DEX 协议:是否订阅 vaultA, vaultB 的变化
89
90
  router_id: string
90
91
  fee_rate: number
91
92
  quote_token: string