@clonegod/ttd-core 2.0.2 → 2.0.4

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 @@ const index_1 = require("../index");
11
11
  const get_fixed_symbol_address = () => {
12
12
  let chain_id = process.env.CHAIN_ID;
13
13
  if (!chain_id) {
14
- throw new Error(`process.env.CHAIN_ID is null or empty`);
14
+ return [];
15
15
  }
16
16
  let filepath = process.env.BSC_FIXED_SYMBOL_ADDRESS_FILE || path_1.default.join(os_1.default.homedir(), 'data', 'onchain_data', chain_id.toLowerCase(), 'fixed_symbol_address.json');
17
17
  console.log(`get_fixed_symbol_address: ${filepath}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-core",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "Common types and utilities for trading systems",
5
5
  "main": "dist/index.js",
6
6
  "types": "types/index.d.ts",
@@ -32,10 +32,7 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/bn.js": "~5.1.5",
35
- "chai": "^5.0.0",
36
- "mocha": "^10.2.0",
37
35
  "rimraf": "^5.0.5",
38
- "ts-mocha": "^10.0.0",
39
36
  "ts-node": "^10.9.2",
40
37
  "typescript": "^5.3.3",
41
38
  "@types/node": "^22.7.9"