ton-watcher
Advanced tools
Comparing version 1.3.7 to 1.3.8
@@ -28,3 +28,2 @@ "use strict"; | ||
const address = wallet.address; | ||
const httpAdapter = axios_1.default.create({ timeout: axios_1.default.defaults.timeout }); | ||
axios_request_throttle_1.default.use(axios_1.default, { requestsPerSecond: init.rps }); | ||
@@ -39,3 +38,3 @@ // const endpoint = isTestnet ? 'https://testnet.toncenter.com/api/v2/jsonRPC' : await getHttpEndpoint({ network: init.network }); | ||
isTestnet, | ||
}, httpAdapter); | ||
}); | ||
const tx_finder = new TrackTxBySeqno_1.TrackTxBySeqNo(core); | ||
@@ -42,0 +41,0 @@ const txs = new TransferQueu_1.TransferQueue(core, (msg) => { |
{ | ||
"name": "ton-watcher", | ||
"version": "1.3.7", | ||
"version": "1.3.8", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -58,3 +58,2 @@ import { getHttpV4Endpoint } from "@orbs-network/ton-access"; | ||
const address = wallet.address; | ||
const httpAdapter = axios.create({timeout: axios.defaults.timeout }) | ||
axiosThrottle.use(axios, { requestsPerSecond: init.rps }); | ||
@@ -71,3 +70,3 @@ // const endpoint = isTestnet ? 'https://testnet.toncenter.com/api/v2/jsonRPC' : await getHttpEndpoint({ network: init.network }); | ||
isTestnet, | ||
}, httpAdapter); | ||
}); | ||
@@ -74,0 +73,0 @@ const tx_finder = new TrackTxBySeqNo(core); |
Sorry, the diff of this file is not supported yet
375633
6341