@clonegod/ttd-sui-common 1.0.40 → 1.0.41

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.
@@ -53,7 +53,7 @@ class AbstractSuiDexTradePlus extends dist_1.AbastrcatTrade {
53
53
  });
54
54
  }
55
55
  initSuiClient() {
56
- const sui_rpc_url = process.env.SUI_RPC_URL || process.env.RPC_URL || 'https://fullnode.mainnet.sui.io:443';
56
+ const sui_rpc_url = process.env.RPC_ENDPOINT || 'https://fullnode.mainnet.sui.io:443';
57
57
  this.sui_client = new client_1.SuiClient({ url: sui_rpc_url });
58
58
  (0, dist_1.log_info)(`init sui client, rpc_url: ${sui_rpc_url}`);
59
59
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-sui-common",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "Sui common library",
5
5
  "license": "UNLICENSED",
6
6
  "main": "dist/index.js",