@riocrypto/common-server 1.0.2311 → 1.0.2313

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.
@@ -15,6 +15,7 @@ const sanitizeOrderDoc = (doc) => {
15
15
  delete obj.autoFXDisabled;
16
16
  delete obj.discount;
17
17
  delete obj.markup;
18
+ delete obj.rioPayoutFireblocksVaultId;
18
19
  return obj;
19
20
  };
20
21
  exports.sanitizeOrderDoc = sanitizeOrderDoc;
@@ -62,6 +62,12 @@ interface UserAttrs {
62
62
  sell?: number;
63
63
  };
64
64
  };
65
+ customPayoutFireblocksVault?: {
66
+ [crypto in Crypto]?: {
67
+ fireblocksVaultId: string;
68
+ overrideOvernightAndWeekendVault: boolean;
69
+ };
70
+ };
65
71
  authorizedPhoneNumbers?: string[];
66
72
  onboarding?: {
67
73
  [country in CountryOfOrigin]?: {
@@ -322,6 +322,9 @@ const buildUser = (mongoose) => {
322
322
  type: Date,
323
323
  },
324
324
  },
325
+ customPayoutFireblocksVault: {
326
+ type: Object,
327
+ },
325
328
  accumulatedVolumeInUSD: {
326
329
  MX: {
327
330
  buy: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2311",
3
+ "version": "1.0.2313",
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.2027",
31
+ "@riocrypto/common": "^1.0.2028",
32
32
  "@types/express": "^4.17.13",
33
33
  "axios": "^1.7.4",
34
34
  "crypto-js": "^4.2.0",