@riocrypto/common-server 1.0.2175 → 1.0.2177
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.
|
@@ -529,7 +529,9 @@ const buildClusterClient = () => __awaiter(void 0, void 0, void 0, function* ()
|
|
|
529
529
|
? "https://app.dev.rio.trade"
|
|
530
530
|
: process.env.RIO_ENV === common_1.RioEnv.Production
|
|
531
531
|
? "https://app.rio.trade"
|
|
532
|
-
:
|
|
532
|
+
: process.env.RIO_ENV === common_1.RioEnv.Test
|
|
533
|
+
? "https://app.test.rio.trade"
|
|
534
|
+
: "https://app.sandbox.rio.trade";
|
|
533
535
|
return new ClusterClient(baseUrl, CLUSTER_API_KEY);
|
|
534
536
|
});
|
|
535
537
|
exports.buildClusterClient = buildClusterClient;
|
|
@@ -27,6 +27,14 @@ interface MarketDataAttrs {
|
|
|
27
27
|
frozen?: boolean;
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
|
+
externalTradingProviderPrices: {
|
|
31
|
+
[key: string]: {
|
|
32
|
+
[key: string]: {
|
|
33
|
+
value: number;
|
|
34
|
+
lastUpdated: Date;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
30
38
|
buyOrderLiquidityUSD: {
|
|
31
39
|
value: number;
|
|
32
40
|
lastUpdated: Date;
|
|
@@ -104,6 +112,14 @@ interface MarketDataDoc extends Document {
|
|
|
104
112
|
};
|
|
105
113
|
};
|
|
106
114
|
};
|
|
115
|
+
externalTradingProviderPrices: {
|
|
116
|
+
[key: string]: {
|
|
117
|
+
[key: string]: {
|
|
118
|
+
value: number;
|
|
119
|
+
lastUpdated: Date;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
107
123
|
}
|
|
108
124
|
declare const buildMarketData: (mongoose: Mongoose) => MarketDataModel;
|
|
109
125
|
export { buildMarketData, MarketDataDoc, MarketDataAttrs };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riocrypto/common-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2177",
|
|
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.
|
|
31
|
+
"@riocrypto/common": "^1.0.1918",
|
|
32
32
|
"@types/express": "^4.17.13",
|
|
33
33
|
"axios": "^1.7.4",
|
|
34
34
|
"crypto-js": "^4.2.0",
|