@riocrypto/common-server 1.0.995 → 1.0.997

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.
@@ -34,6 +34,7 @@ interface OrderAttrs {
34
34
  markup?: number;
35
35
  expiredQuotes?: string[];
36
36
  externalAccountId?: string;
37
+ imported?: boolean;
37
38
  }
38
39
  interface OrderDoc extends Document {
39
40
  quoteId: string;
@@ -69,6 +70,7 @@ interface OrderDoc extends Document {
69
70
  markup?: number;
70
71
  expiredQuotes?: string[];
71
72
  externalAccountId?: string;
73
+ imported?: boolean;
72
74
  }
73
75
  interface OrderModel extends Model<OrderDoc> {
74
76
  build(attrs: OrderAttrs): OrderDoc;
@@ -152,6 +152,9 @@ const buildOrder = (mongoose) => {
152
152
  required: false,
153
153
  },
154
154
  ],
155
+ imported: {
156
+ type: Boolean,
157
+ },
155
158
  }, {
156
159
  toJSON: {
157
160
  transform(doc, ret) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.995",
3
+ "version": "1.0.997",
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.857",
27
+ "@riocrypto/common": "^1.0.859",
28
28
  "@types/express": "^4.17.13",
29
29
  "axios": "^0.27.2",
30
30
  "ccxt": "^3.0.30",