@riocrypto/common-server 1.0.1155 → 1.0.1156

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.
@@ -2,6 +2,7 @@ import { Country, Fees, Fiat, Crypto, OrderStatus, Processor } from "@riocrypto/
2
2
  import { Mongoose, Model, Document } from "mongoose";
3
3
  interface ChainedOrderAttrs {
4
4
  userId: string;
5
+ chainedQuoteId: string;
5
6
  crypto: Crypto;
6
7
  originFiat: Fiat;
7
8
  destinationFiat: Fiat;
@@ -22,6 +23,7 @@ interface ChainedOrderAttrs {
22
23
  }
23
24
  interface ChainedOrderDoc extends Document {
24
25
  userId: string;
26
+ chainedQuoteId: string;
25
27
  crypto: Crypto;
26
28
  originFiat: Fiat;
27
29
  destinationFiat: Fiat;
@@ -11,6 +11,10 @@ const buildChainedOrder = (mongoose) => {
11
11
  type: String,
12
12
  required: true,
13
13
  },
14
+ chainedQuoteId: {
15
+ type: String,
16
+ required: true,
17
+ },
14
18
  crypto: {
15
19
  type: String,
16
20
  required: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1155",
3
+ "version": "1.0.1156",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "@aws-sdk/client-s3": "^3.297.0",
27
27
  "@everapi/currencyapi-js": "^1.0.6",
28
28
  "@google-cloud/storage": "^6.9.5",
29
- "@riocrypto/common": "^1.0.1008",
29
+ "@riocrypto/common": "^1.0.1009",
30
30
  "@types/express": "^4.17.13",
31
31
  "axios": "^0.27.2",
32
32
  "ccxt": "^3.0.30",