@riocrypto/common-server 1.0.937 → 1.0.939

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.
@@ -16,7 +16,9 @@ const ccxt_client_1 = require("../clients/ccxt-client");
16
16
  const getNetworkFees = (crypto, conversionRateToUSD) => __awaiter(void 0, void 0, void 0, function* () {
17
17
  const address = crypto === common_1.Crypto.USDCSolana
18
18
  ? "HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH"
19
- : "0x66ECBd38905CC32249ddd6f4f0B4A3DdDDCbd608";
19
+ : crypto === common_1.Crypto.USDTTron
20
+ ? "TDnvjqzjzBhjQp1b7SSQukAm71WusJeiej"
21
+ : "0x66ECBd38905CC32249ddd6f4f0B4A3DdDDCbd608";
20
22
  const fireblocksClient = yield (0, fireblocks_client_1.buildFireblocksClient)();
21
23
  const withdrawFee = yield fireblocksClient.estimateWithdrawFee(crypto, address, 100);
22
24
  if (!withdrawFee) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.937",
3
+ "version": "1.0.939",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "@aws-sdk/client-s3": "^3.297.0",
25
25
  "@everapi/currencyapi-js": "^1.0.6",
26
26
  "@google-cloud/storage": "^6.9.5",
27
- "@riocrypto/common": "^1.0.807",
27
+ "@riocrypto/common": "^1.0.809",
28
28
  "@types/express": "^4.17.13",
29
29
  "axios": "^0.27.2",
30
30
  "ccxt": "^3.0.30",