@riocrypto/common-server 1.0.2828 → 1.0.2829

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.
@@ -245,7 +245,7 @@ class BinanceClient {
245
245
  return { coin: "USDT", network: "MATIC" };
246
246
  case common_1.Crypto.USDTTron:
247
247
  return { coin: "USDT", network: "TRX" };
248
- case common_1.Crypto.USDTBNB:
248
+ case common_1.Crypto.USDTBSC:
249
249
  return { coin: "USDT", network: "BSC" };
250
250
  case common_1.Crypto.ETH:
251
251
  return { coin: "ETH", network: "ETH" };
@@ -42,7 +42,7 @@ class CoincoverClient {
42
42
  [common_1.Crypto.USDTEthereum]: "tether",
43
43
  [common_1.Crypto.USDTPolygon]: "tether",
44
44
  [common_1.Crypto.USDTTron]: "tether",
45
- [common_1.Crypto.USDTBNB]: "tether",
45
+ [common_1.Crypto.USDTBSC]: "tether",
46
46
  [common_1.Crypto.USDC]: "usd-coin",
47
47
  [common_1.Crypto.USDCPolygon]: "usd-coin",
48
48
  [common_1.Crypto.USDCStellar]: "usd-coin",
@@ -241,7 +241,7 @@ class FireblocksClient {
241
241
  common_1.Crypto.USDTEthereum,
242
242
  common_1.Crypto.USDTPolygon,
243
243
  common_1.Crypto.USDTTron,
244
- common_1.Crypto.USDTBNB,
244
+ common_1.Crypto.USDTBSC,
245
245
  ].includes(asset.id)) {
246
246
  balance += Number(asset.available || 0);
247
247
  }
@@ -273,7 +273,7 @@ class FireblocksClient {
273
273
  "USD",
274
274
  common_1.Crypto.USDTPolygon,
275
275
  common_1.Crypto.USDTTron,
276
- common_1.Crypto.USDTBNB,
276
+ common_1.Crypto.USDTBSC,
277
277
  ].includes(asset.id)) {
278
278
  balance += Number(asset.available);
279
279
  }
@@ -320,7 +320,7 @@ class FireblocksClient {
320
320
  "USDT",
321
321
  common_1.Crypto.USDTPolygon,
322
322
  common_1.Crypto.USDTTron,
323
- common_1.Crypto.USDTBNB,
323
+ common_1.Crypto.USDTBSC,
324
324
  ];
325
325
  if (filterList.includes(asset.id)) {
326
326
  balance += Number(asset.available);
@@ -22,7 +22,7 @@ const getNetworkFees = (crypto, conversionRateToUSD) => {
22
22
  else if (crypto === common_1.Crypto.USDC || crypto === common_1.Crypto.USDTEthereum || crypto === common_1.Crypto.EURCEthereum) {
23
23
  withdrawFeeInUSD = 5;
24
24
  }
25
- else if (crypto === common_1.Crypto.USDTBNB) {
25
+ else if (crypto === common_1.Crypto.USDTBSC) {
26
26
  withdrawFeeInUSD = 0.01;
27
27
  }
28
28
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2828",
3
+ "version": "1.0.2829",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "@google-cloud/secret-manager": "^5.6.0",
29
29
  "@google-cloud/storage": "^7.19.0",
30
30
  "@hyperdx/node-opentelemetry": "^0.10.3",
31
- "@riocrypto/common": "1.0.2624",
31
+ "@riocrypto/common": "1.0.2626",
32
32
  "@slack/web-api": "^7.15.0",
33
33
  "@types/express": "^4.17.25",
34
34
  "axios": "1.16.0",