@riocrypto/common-server 1.0.1778 → 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.
@@ -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;
@@ -178,6 +178,9 @@ const buildOrder = (mongoose) => {
178
178
  isAfterHours: {
179
179
  type: Boolean,
180
180
  },
181
+ chainedOrderId: {
182
+ type: String,
183
+ },
181
184
  exchangeRateOrders: [
182
185
  {
183
186
  amount: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1778",
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.1573",
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",