@clonegod/ttd-core 3.1.61 → 3.1.66

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.
@@ -11,7 +11,7 @@ function toOrderbookEntry(q) {
11
11
  tiers: q.tiers.map(t => ({ pct: t.pct, price: t.price, amount: t.amount, usdValue: t.amount_in_usd })),
12
12
  };
13
13
  }
14
- const PCT_LEVEL_DEFAULT = [0.05, 0.1, 0.15, 0.2, 0.3];
14
+ const PCT_LEVEL_DEFAULT = [0.05, 0.1, 0.2, 0.3, 0.5];
15
15
  const PCT_LEVEL_CAP = 1.0;
16
16
  exports.DEFAULT_TIER_PCT = 0.2;
17
17
  let _pctLevelsCache;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-core",
3
- "version": "3.1.61",
3
+ "version": "3.1.66",
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",
package/types/index.d.ts CHANGED
@@ -1033,6 +1033,7 @@ export interface AnalyzePoolEventType {
1033
1033
  txid: string
1034
1034
  block_number: number
1035
1035
  tx_index: number
1036
+ log_index?: number
1036
1037
  event_type: 'SWAP' | 'MINT' | 'BURN' | 'MODIFY_LIQUIDITY'
1037
1038
  timestamp: number
1038
1039
  swap?: {