@riocrypto/common-server 1.0.817 → 1.0.819
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/order.js
CHANGED
|
@@ -8,7 +8,7 @@ const buildOrder = (mongoose) => {
|
|
|
8
8
|
}
|
|
9
9
|
const orderSchema = new mongoose.Schema({
|
|
10
10
|
quoteId: {
|
|
11
|
-
type:
|
|
11
|
+
type: String,
|
|
12
12
|
required: true,
|
|
13
13
|
},
|
|
14
14
|
userId: {
|
|
@@ -134,7 +134,6 @@ const buildOrder = (mongoose) => {
|
|
|
134
134
|
},
|
|
135
135
|
actualConversionRateUSD: {
|
|
136
136
|
type: Number,
|
|
137
|
-
required: true,
|
|
138
137
|
},
|
|
139
138
|
notes: {
|
|
140
139
|
type: String,
|
package/build/models/quote.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ interface QuoteAttrs {
|
|
|
16
16
|
processor: Processor;
|
|
17
17
|
fees: Fees;
|
|
18
18
|
price: number;
|
|
19
|
+
createdAt: Date;
|
|
19
20
|
partnerId?: string;
|
|
20
21
|
depositAddress?: string;
|
|
21
22
|
brokerId?: string;
|
|
@@ -38,6 +39,7 @@ interface QuoteDoc extends Document {
|
|
|
38
39
|
amountCrypto: number;
|
|
39
40
|
liquidityProvider: LiquidityProvider;
|
|
40
41
|
processor: Processor;
|
|
42
|
+
createdAt: Date;
|
|
41
43
|
fees: Fees;
|
|
42
44
|
price: number;
|
|
43
45
|
partnerId?: string;
|
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.819",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@aws-sdk/client-s3": "^3.297.0",
|
|
25
25
|
"@everapi/currencyapi-js": "^1.0.6",
|
|
26
26
|
"@google-cloud/storage": "^6.9.5",
|
|
27
|
-
"@riocrypto/common": "^1.0.
|
|
27
|
+
"@riocrypto/common": "^1.0.708",
|
|
28
28
|
"@types/express": "^4.17.13",
|
|
29
29
|
"axios": "^0.27.2",
|
|
30
30
|
"ccxt": "^3.0.30",
|