@clonegod/ttd-base-common 1.0.16 → 1.0.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.
|
@@ -30,10 +30,10 @@ class BloxrouteBase {
|
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
this.wsClient.onOpen(() => {
|
|
33
|
-
|
|
33
|
+
(0, dist_1.log_info)('BloXroute Base ws connected:', this.ws_endpoint);
|
|
34
34
|
});
|
|
35
35
|
this.wsClient.onMessage((message) => {
|
|
36
|
-
|
|
36
|
+
(0, dist_1.log_info)('BloXroute Base ws message', (0, dist_1.to_json_str)(message));
|
|
37
37
|
});
|
|
38
38
|
this.wsClient.connect();
|
|
39
39
|
}
|
|
@@ -119,7 +119,7 @@ class BaseTransactionSender {
|
|
|
119
119
|
})
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
|
-
name: 'BloXroute
|
|
122
|
+
name: 'BloXroute RPC|WS',
|
|
123
123
|
enable: process.env.SEND_TX_BLOXROUTE_RPC === 'true',
|
|
124
124
|
send: () => __awaiter(this, void 0, void 0, function* () {
|
|
125
125
|
return yield this.bloxroute.sendTransaction(signedMainTx);
|
package/package.json
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
2
|
+
"name": "@clonegod/ttd-base-common",
|
|
3
|
+
"version": "1.0.17",
|
|
4
|
+
"description": "Base common library",
|
|
5
|
+
"license": "UNLICENSED",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"clean": "rm -rf dist node_modules",
|
|
13
|
+
"build": "yarn tsc --outDir ./dist",
|
|
14
|
+
"push": "npm run build && npm publish"
|
|
15
|
+
},
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@clonegod/ttd-core": "2.0.85",
|
|
18
|
+
"axios": "^1.12.0",
|
|
19
|
+
"dotenv": "^16.4.7",
|
|
20
|
+
"ethers": "^5.8.0"
|
|
21
|
+
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"@types/node": "^22.14.0",
|
|
24
|
+
"typescript": "^5.8.2"
|
|
25
|
+
},
|
|
26
|
+
"overrides": {},
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
}
|
|
30
30
|
}
|