@riocrypto/common-server 1.0.2859 → 1.0.2861

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.
@@ -49,6 +49,7 @@ class CoincoverClient {
49
49
  [common_1.Crypto.USDCBase]: "usd-coin",
50
50
  [common_1.Crypto.USDCSolana]: "usd-coin",
51
51
  [common_1.Crypto.USDCPolygonBridged]: "usd-coin",
52
+ [common_1.Crypto.USDCTempoBridged]: "usd-coin",
52
53
  [common_1.Crypto.EURCEthereum]: "euro-coin",
53
54
  [common_1.Crypto.EURCSolana]: "euro-coin",
54
55
  [common_1.Crypto.EURCBase]: "euro-coin",
@@ -237,6 +237,7 @@ class FireblocksClient {
237
237
  common_1.Crypto.USDCStellar,
238
238
  common_1.Crypto.USDCBase,
239
239
  common_1.Crypto.USDCPolygonBridged,
240
+ common_1.Crypto.USDCTempoBridged,
240
241
  common_1.Crypto.USDCSolana,
241
242
  common_1.Crypto.USDTEthereum,
242
243
  common_1.Crypto.USDTPolygon,
@@ -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.USDCTempoBridged) {
20
+ withdrawFeeInUSD = 0.01;
21
+ }
19
22
  else if (crypto === common_1.Crypto.USDCBase || crypto === common_1.Crypto.EURCBase) {
20
23
  withdrawFeeInUSD = 0.01;
21
24
  }
@@ -37,6 +37,18 @@ interface ExternalTradeAttrs {
37
37
  stopPx?: number;
38
38
  takeQuoteTradeKey?: string;
39
39
  };
40
+ circle?: {
41
+ bidPx?: number;
42
+ offerPx?: number;
43
+ quoteExpiry?: string;
44
+ streamExpiresAt?: string;
45
+ quoteId?: string;
46
+ circleTradeId?: string;
47
+ circleTradeStatus?: string;
48
+ settlementId?: string;
49
+ rate?: number;
50
+ takeQuoteTradeKey?: string;
51
+ };
40
52
  };
41
53
  externalTradingAlgorithmId?: string;
42
54
  arbitrageSessionId?: string;
@@ -80,6 +92,18 @@ interface ExternalTradeDoc extends Document {
80
92
  stopPx?: number;
81
93
  takeQuoteTradeKey?: string;
82
94
  };
95
+ circle?: {
96
+ bidPx?: number;
97
+ offerPx?: number;
98
+ quoteExpiry?: string;
99
+ streamExpiresAt?: string;
100
+ quoteId?: string;
101
+ circleTradeId?: string;
102
+ circleTradeStatus?: string;
103
+ settlementId?: string;
104
+ rate?: number;
105
+ takeQuoteTradeKey?: string;
106
+ };
83
107
  };
84
108
  externalTradingAlgorithmId?: string;
85
109
  arbitrageSessionId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2859",
3
+ "version": "1.0.2861",
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.2658",
31
+ "@riocrypto/common": "1.0.2667",
32
32
  "@slack/web-api": "^7.15.0",
33
33
  "@types/express": "^4.17.25",
34
34
  "axios": "1.16.0",