@riocrypto/common-server 1.0.1663 → 1.0.1664
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.
|
@@ -11,6 +11,8 @@ interface MultipartLiquidityOrderAttrs {
|
|
|
11
11
|
coinbaseOrderId?: string;
|
|
12
12
|
brexTransferId?: string;
|
|
13
13
|
amountUSDToLeaveAtCoinbase?: number;
|
|
14
|
+
coinbaseWithrawalFireblocksTransferId?: string;
|
|
15
|
+
binanceWithrawalFireblocksTransferId?: string;
|
|
14
16
|
}
|
|
15
17
|
interface MultipartLiquidityOrderDoc extends mongoose.Document {
|
|
16
18
|
createdAt: Date;
|
|
@@ -23,6 +25,8 @@ interface MultipartLiquidityOrderDoc extends mongoose.Document {
|
|
|
23
25
|
coinbaseOrderId?: string;
|
|
24
26
|
brexTransferId?: string;
|
|
25
27
|
amountUSDToLeaveAtCoinbase?: number;
|
|
28
|
+
coinbaseWithrawalFireblocksTransferId?: string;
|
|
29
|
+
binanceWithrawalFireblocksTransferId?: string;
|
|
26
30
|
}
|
|
27
31
|
interface MultipartLiquidityOrderModel extends mongoose.Model<MultipartLiquidityOrderDoc> {
|
|
28
32
|
build(attrs: MultipartLiquidityOrderAttrs): MultipartLiquidityOrderDoc;
|
|
@@ -42,6 +42,12 @@ const buildMultipartLiquidityOrder = (mongoose) => {
|
|
|
42
42
|
amountUSDToLeaveAtCoinbase: {
|
|
43
43
|
type: Number,
|
|
44
44
|
},
|
|
45
|
+
coinbaseWithrawalFireblocksTransferId: {
|
|
46
|
+
type: String,
|
|
47
|
+
},
|
|
48
|
+
binanceWithrawalFireblocksTransferId: {
|
|
49
|
+
type: String,
|
|
50
|
+
},
|
|
45
51
|
}, {
|
|
46
52
|
toJSON: {
|
|
47
53
|
transform(doc, ret) {
|