@riocrypto/common-server 1.0.1777 → 1.0.1779
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.
|
@@ -17,6 +17,7 @@ interface ChainedQuoteAttrs {
|
|
|
17
17
|
price: number;
|
|
18
18
|
createdAt: Date;
|
|
19
19
|
brokerId?: string;
|
|
20
|
+
netPrice?: number;
|
|
20
21
|
}
|
|
21
22
|
interface ChainedQuoteDoc extends Document {
|
|
22
23
|
originUserId: string;
|
|
@@ -35,6 +36,7 @@ interface ChainedQuoteDoc extends Document {
|
|
|
35
36
|
price: number;
|
|
36
37
|
createdAt: Date;
|
|
37
38
|
brokerId?: string;
|
|
39
|
+
netPrice?: number;
|
|
38
40
|
}
|
|
39
41
|
interface ChainedQuoteModel extends Model<ChainedQuoteDoc> {
|
|
40
42
|
build(attrs: ChainedQuoteAttrs): ChainedQuoteDoc;
|
package/build/models/order.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ interface OrderAttrs {
|
|
|
43
43
|
autoFXDisabled?: boolean;
|
|
44
44
|
USBankTransferMethod?: "wire" | "ach_push";
|
|
45
45
|
isAfterHours?: boolean;
|
|
46
|
+
chainedOrderId?: string;
|
|
46
47
|
}
|
|
47
48
|
interface OrderDoc extends Document {
|
|
48
49
|
quoteId: string;
|
|
@@ -87,6 +88,7 @@ interface OrderDoc extends Document {
|
|
|
87
88
|
autoFXDisabled?: boolean;
|
|
88
89
|
USBankTransferMethod?: "wire" | "ach_push";
|
|
89
90
|
isAfterHours?: boolean;
|
|
91
|
+
chainedOrderId?: string;
|
|
90
92
|
}
|
|
91
93
|
interface OrderModel extends Model<OrderDoc> {
|
|
92
94
|
build(attrs: OrderAttrs): OrderDoc;
|
package/build/models/order.js
CHANGED
package/build/models/quote.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ interface QuoteAttrs {
|
|
|
30
30
|
USBankTransferMethod?: "wire" | "ach_push";
|
|
31
31
|
isBid?: boolean;
|
|
32
32
|
isAfterHours?: boolean;
|
|
33
|
+
netPrice?: number;
|
|
33
34
|
}
|
|
34
35
|
interface QuoteDoc extends Document {
|
|
35
36
|
userId: string;
|
|
@@ -61,6 +62,7 @@ interface QuoteDoc extends Document {
|
|
|
61
62
|
USBankTransferMethod?: "wire" | "ach_push";
|
|
62
63
|
isBid?: boolean;
|
|
63
64
|
isAfterHours?: boolean;
|
|
65
|
+
netPrice?: number;
|
|
64
66
|
}
|
|
65
67
|
interface QuoteModel extends Model<QuoteDoc> {
|
|
66
68
|
build(attrs: QuoteAttrs): QuoteDoc;
|
package/build/models/quote.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.1779",
|
|
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.1574",
|
|
30
30
|
"@types/express": "^4.17.13",
|
|
31
31
|
"axios": "^1.6.0",
|
|
32
32
|
"crypto-js": "^4.2.0",
|