@riocrypto/common-server 1.0.1785 → 1.0.1786

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.
@@ -45,6 +45,7 @@ interface OrderAttrs {
45
45
  isAfterHours?: boolean;
46
46
  chainedOrderId?: string;
47
47
  netPrice: number;
48
+ requestedNetPrice?: number;
48
49
  }
49
50
  interface OrderDoc extends Document {
50
51
  quoteId: string;
@@ -91,6 +92,7 @@ interface OrderDoc extends Document {
91
92
  isAfterHours?: boolean;
92
93
  chainedOrderId?: string;
93
94
  netPrice: number;
95
+ requestedNetPrice?: number;
94
96
  }
95
97
  interface OrderModel extends Model<OrderDoc> {
96
98
  build(attrs: OrderAttrs): OrderDoc;
@@ -200,6 +200,9 @@ const buildOrder = (mongoose) => {
200
200
  netPrice: {
201
201
  type: Number,
202
202
  },
203
+ requestedNetPrice: {
204
+ type: Number,
205
+ },
203
206
  }, {
204
207
  toJSON: {
205
208
  transform(doc, ret) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1785",
3
+ "version": "1.0.1786",
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.1588",
29
+ "@riocrypto/common": "^1.0.1589",
30
30
  "@types/express": "^4.17.13",
31
31
  "axios": "^1.6.0",
32
32
  "crypto-js": "^4.2.0",