@riocrypto/common-server 1.0.2216 → 1.0.2218

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.
@@ -109,7 +109,7 @@ declare class ClusterClient {
109
109
  requestedOriginAmount?: number;
110
110
  requestedDestinationAmount?: number;
111
111
  limitPrice: number;
112
- emarketsOrderType: "TOD" | "TOM" | "SPT";
112
+ emarketsOrderType?: "TOD" | "TOM" | "SPT";
113
113
  arbitrageSessionId?: string;
114
114
  }): Promise<ExternalTrade>;
115
115
  }
@@ -15,6 +15,7 @@ interface ExternalTradeAttrs {
15
15
  requestedAmountType: ExternalTradeAmountType;
16
16
  limitPrice?: number;
17
17
  actualPrice?: number;
18
+ associatedMidmarketPrice?: number;
18
19
  status: ExternalTradeStatus;
19
20
  providerOptions?: {
20
21
  emarkets?: {
@@ -40,6 +41,7 @@ interface ExternalTradeDoc extends Document {
40
41
  requestedAmountType: ExternalTradeAmountType;
41
42
  limitPrice?: number;
42
43
  actualPrice?: number;
44
+ associatedMidmarketPrice?: number;
43
45
  status: ExternalTradeStatus;
44
46
  providerOptions?: {
45
47
  emarkets?: {
@@ -52,6 +52,9 @@ const buildExternalTrade = (mongoose) => {
52
52
  requestedDestinationAmount: {
53
53
  type: Number,
54
54
  },
55
+ associatedMidmarketPrice: {
56
+ type: Number,
57
+ },
55
58
  limitPrice: {
56
59
  type: Number,
57
60
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2216",
3
+ "version": "1.0.2218",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "@google-cloud/secret-manager": "^5.3.0",
29
29
  "@google-cloud/storage": "^6.9.5",
30
30
  "@hyperdx/node-opentelemetry": "^0.7.0",
31
- "@riocrypto/common": "^1.0.1948",
31
+ "@riocrypto/common": "^1.0.1949",
32
32
  "@types/express": "^4.17.13",
33
33
  "axios": "^1.7.4",
34
34
  "crypto-js": "^4.2.0",