@riocrypto/common-server 1.0.2678 → 1.0.2679

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.
@@ -44,6 +44,7 @@ class CoincoverClient {
44
44
  [common_1.Crypto.USDC]: "usd-coin",
45
45
  [common_1.Crypto.USDCPolygon]: "usd-coin",
46
46
  [common_1.Crypto.USDCStellar]: "usd-coin",
47
+ [common_1.Crypto.USDCBase]: "usd-coin",
47
48
  [common_1.Crypto.USDCSolana]: "usd-coin",
48
49
  [common_1.Crypto.USDCPolygonBridged]: "usd-coin",
49
50
  [common_1.Crypto.TRON]: "tron",
@@ -221,6 +221,7 @@ class FireblocksClient {
221
221
  common_1.Crypto.USDC,
222
222
  common_1.Crypto.USDCPolygon,
223
223
  common_1.Crypto.USDCStellar,
224
+ common_1.Crypto.USDCBase,
224
225
  common_1.Crypto.USDCPolygonBridged,
225
226
  common_1.Crypto.USDCSolana,
226
227
  common_1.Crypto.USDTEthereum,
@@ -16,6 +16,9 @@ const getNetworkFees = (crypto, conversionRateToUSD) => {
16
16
  else if (crypto === common_1.Crypto.USDCStellar) {
17
17
  withdrawFeeInUSD = 0.01;
18
18
  }
19
+ else if (crypto === common_1.Crypto.USDCBase) {
20
+ withdrawFeeInUSD = 0.01;
21
+ }
19
22
  else if (crypto === common_1.Crypto.USDC || crypto === common_1.Crypto.USDTEthereum) {
20
23
  withdrawFeeInUSD = 5;
21
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2678",
3
+ "version": "1.0.2679",
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.3.0",
29
29
  "@google-cloud/storage": "^6.9.5",
30
30
  "@hyperdx/node-opentelemetry": "^0.7.0",
31
- "@riocrypto/common": "^1.0.2472",
31
+ "@riocrypto/common": "^1.0.2478",
32
32
  "@types/express": "^4.17.13",
33
33
  "axios": "^1.7.4",
34
34
  "crypto-js": "^4.2.0",