@riocrypto/common-server 1.0.1855 → 1.0.1856
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.
- package/build/models/user.d.ts +28 -0
- package/build/models/user.js +26 -0
- package/package.json +2 -2
package/build/models/user.d.ts
CHANGED
|
@@ -48,6 +48,20 @@ interface UserAttrs {
|
|
|
48
48
|
sell?: PlatformFeeRange[];
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
|
+
accumulatedVolumeInUSD?: {
|
|
52
|
+
MX?: {
|
|
53
|
+
buy?: number;
|
|
54
|
+
sell?: number;
|
|
55
|
+
};
|
|
56
|
+
PE?: {
|
|
57
|
+
buy?: number;
|
|
58
|
+
sell?: number;
|
|
59
|
+
};
|
|
60
|
+
US?: {
|
|
61
|
+
buy?: number;
|
|
62
|
+
sell?: number;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
51
65
|
authorizedPhoneNumbers?: string[];
|
|
52
66
|
onboarding?: {
|
|
53
67
|
[country in CountryOfOrigin]?: {
|
|
@@ -164,6 +178,20 @@ interface UserDoc extends Document {
|
|
|
164
178
|
sell?: PlatformFeeRange[];
|
|
165
179
|
};
|
|
166
180
|
};
|
|
181
|
+
accumulatedVolumeInUSD?: {
|
|
182
|
+
MX?: {
|
|
183
|
+
buy?: number;
|
|
184
|
+
sell?: number;
|
|
185
|
+
};
|
|
186
|
+
PE?: {
|
|
187
|
+
buy?: number;
|
|
188
|
+
sell?: number;
|
|
189
|
+
};
|
|
190
|
+
US?: {
|
|
191
|
+
buy?: number;
|
|
192
|
+
sell?: number;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
167
195
|
authorizedPhoneNumbers?: string[];
|
|
168
196
|
onboarding?: {
|
|
169
197
|
[country in CountryOfOrigin]?: {
|
package/build/models/user.js
CHANGED
|
@@ -312,6 +312,32 @@ const buildUser = (mongoose) => {
|
|
|
312
312
|
type: Date,
|
|
313
313
|
},
|
|
314
314
|
},
|
|
315
|
+
accumulatedVolumeInUSD: {
|
|
316
|
+
MX: {
|
|
317
|
+
buy: {
|
|
318
|
+
type: Number,
|
|
319
|
+
},
|
|
320
|
+
sell: {
|
|
321
|
+
type: Number,
|
|
322
|
+
},
|
|
323
|
+
},
|
|
324
|
+
PE: {
|
|
325
|
+
buy: {
|
|
326
|
+
type: Number,
|
|
327
|
+
},
|
|
328
|
+
sell: {
|
|
329
|
+
type: Number,
|
|
330
|
+
},
|
|
331
|
+
},
|
|
332
|
+
US: {
|
|
333
|
+
buy: {
|
|
334
|
+
type: Number,
|
|
335
|
+
},
|
|
336
|
+
sell: {
|
|
337
|
+
type: Number,
|
|
338
|
+
},
|
|
339
|
+
},
|
|
340
|
+
},
|
|
315
341
|
}, {
|
|
316
342
|
toJSON: {
|
|
317
343
|
transform(doc, ret) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riocrypto/common-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1856",
|
|
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.1663",
|
|
30
30
|
"@types/express": "^4.17.13",
|
|
31
31
|
"axios": "^1.6.0",
|
|
32
32
|
"crypto-js": "^4.2.0",
|