@clonegod/ttd-bsc-send-tx 2.0.6 → 2.0.7
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/ws_client.js +1 -1
- package/package.json +2 -2
package/dist/ws_client.js
CHANGED
|
@@ -8,7 +8,7 @@ class BscSendTxProxy {
|
|
|
8
8
|
constructor() {
|
|
9
9
|
this.connected = false;
|
|
10
10
|
this.pendingQueue = [];
|
|
11
|
-
const host = appconfig_1.envArgs.send_tx_ws_host;
|
|
11
|
+
const host = appconfig_1.envArgs.send_tx_ws_host || '127.0.0.1';
|
|
12
12
|
this.wsUrl = `ws://${host}:${ttd_core_1.SERVICE_PORT.SEND_TX_WS}/bsc/send_tx`;
|
|
13
13
|
this.clientName = process.env.APP_NAME
|
|
14
14
|
|| process.env.name
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clonegod/ttd-bsc-send-tx",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"description": "BSC 交易发送模块(HTTP直发 + WS bundle 转发)",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"push": "npm run build && npm publish"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@clonegod/ttd-core": "3.1.
|
|
15
|
+
"@clonegod/ttd-core": "3.1.54",
|
|
16
16
|
"axios": "1.15.0",
|
|
17
17
|
"dotenv": "^16.4.7",
|
|
18
18
|
"ethers": "^5.8.0",
|