@riocrypto/common-server 1.0.2310 → 1.0.2312

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;
@@ -48,7 +48,7 @@ interface OrderAttrs {
48
48
  payoutBankAccountId?: string;
49
49
  bulkCryptoPaymentId?: string;
50
50
  bulkBankPaymentId?: string;
51
- rioPayoutFireblocksVaultId?: string;
51
+ rioPayoutFireblocksVaultId: string;
52
52
  binancePayment?: {
53
53
  binanceTransactionId: string;
54
54
  amount: number;
@@ -167,7 +167,7 @@ interface OrderDoc extends Document {
167
167
  netPrice: number;
168
168
  requestedNetPrice?: number;
169
169
  payoutAddressId?: string;
170
- rioPayoutFireblocksVaultId?: string;
170
+ rioPayoutFireblocksVaultId: string;
171
171
  payoutBankAccountId?: string;
172
172
  bulkCryptoPaymentId?: string;
173
173
  bulkBankPaymentId?: string;
@@ -303,6 +303,9 @@ const buildOrder = (mongoose) => {
303
303
  type: Object,
304
304
  },
305
305
  ],
306
+ rioPayoutFireblocksVaultId: {
307
+ type: String,
308
+ },
306
309
  payoutsSent: [
307
310
  {
308
311
  type: Object,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2310",
3
+ "version": "1.0.2312",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",