@riocrypto/common-server 1.0.1812 → 1.0.1815
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.
|
@@ -213,7 +213,7 @@ class ClusterClient {
|
|
|
213
213
|
}
|
|
214
214
|
getLiquidityAvailable() {
|
|
215
215
|
return __awaiter(this, void 0, void 0, function* () {
|
|
216
|
-
const { data } = yield this.axios.get(`${this.baseUrl}/api/
|
|
216
|
+
const { data } = yield this.axios.get(`${this.baseUrl}/api/liquidity/usd/total`, {
|
|
217
217
|
headers: {
|
|
218
218
|
"x-cluster-api-key": this.clusterApiKey,
|
|
219
219
|
},
|
package/build/models/user.d.ts
CHANGED
|
@@ -110,6 +110,9 @@ interface UserAttrs {
|
|
|
110
110
|
};
|
|
111
111
|
};
|
|
112
112
|
attioRecordId?: string;
|
|
113
|
+
cumulativeVolumesInUSD?: {
|
|
114
|
+
[country in Country]?: Number;
|
|
115
|
+
};
|
|
113
116
|
}
|
|
114
117
|
interface UserModel extends Model<UserDoc> {
|
|
115
118
|
build(attrs: UserAttrs): UserDoc;
|
|
@@ -225,6 +228,9 @@ interface UserDoc extends Document {
|
|
|
225
228
|
};
|
|
226
229
|
};
|
|
227
230
|
};
|
|
231
|
+
cumulativeVolumesInUSD?: {
|
|
232
|
+
[country in Country]?: Number;
|
|
233
|
+
};
|
|
228
234
|
}
|
|
229
235
|
declare const buildUser: (mongoose: Mongoose) => UserModel;
|
|
230
236
|
export { buildUser, UserDoc, UserAttrs };
|
package/build/models/user.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riocrypto/common-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1815",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@google-cloud/secret-manager": "^5.3.0",
|
|
27
27
|
"@google-cloud/storage": "^6.9.5",
|
|
28
28
|
"@hyperdx/node-opentelemetry": "^0.4.2",
|
|
29
|
-
"@riocrypto/common": "^1.0.
|
|
29
|
+
"@riocrypto/common": "^1.0.1620",
|
|
30
30
|
"@types/express": "^4.17.13",
|
|
31
31
|
"axios": "^1.6.0",
|
|
32
32
|
"crypto-js": "^4.2.0",
|