@clonegod/ttd-core 2.1.15 → 2.1.17

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.
package/dist/index.d.ts CHANGED
@@ -64,6 +64,8 @@ export declare enum DEX_ID {
64
64
  MOMENTUM_CLMM = "MOMENTUM-CLMM",
65
65
  CETUS_CLMM = "CETUS-CLMM",
66
66
  BLUEFIN_CLMM = "BLUEFIN-CLMM",
67
+ MAGMA_CLMM = "MAGMA-CLMM",
68
+ MAGMA_ALMM = "MAGMA-ALMM",
67
69
  LFJ_V1 = "LFJ-V1",
68
70
  LFJ_V2 = "LFJ-V2",
69
71
  BLACKHOLE_V2 = "BLACKHOLE-V2",
package/dist/index.js CHANGED
@@ -148,6 +148,8 @@ var DEX_ID;
148
148
  DEX_ID["MOMENTUM_CLMM"] = "MOMENTUM-CLMM";
149
149
  DEX_ID["CETUS_CLMM"] = "CETUS-CLMM";
150
150
  DEX_ID["BLUEFIN_CLMM"] = "BLUEFIN-CLMM";
151
+ DEX_ID["MAGMA_CLMM"] = "MAGMA-CLMM";
152
+ DEX_ID["MAGMA_ALMM"] = "MAGMA-ALMM";
151
153
  DEX_ID["LFJ_V1"] = "LFJ-V1";
152
154
  DEX_ID["LFJ_V2"] = "LFJ-V2";
153
155
  DEX_ID["BLACKHOLE_V2"] = "BLACKHOLE-V2";
@@ -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.15",
3
+ "version": "2.1.17",
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",