@riocrypto/common-server 1.0.2261 → 1.0.2262

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.
@@ -20,8 +20,14 @@ interface ArbitrageSessionAttrs {
20
20
  status: ArbitrageProviderStatus;
21
21
  amountWithdrawn: number;
22
22
  avgPrice?: number;
23
- externalTradeIds: string[];
24
- runningExternalTradeIds: string[];
23
+ externalTradeIds: {
24
+ id: string;
25
+ retryCount?: number;
26
+ }[];
27
+ runningExternalTradeIds: {
28
+ id: string;
29
+ retryCount?: number;
30
+ }[];
25
31
  externalTradingAlgorithmId?: string;
26
32
  providerOptions?: {
27
33
  emarkets?: {
@@ -97,8 +103,14 @@ interface ArbitrageSessionDoc extends Document {
97
103
  amountRemaining: number;
98
104
  amountWithdrawn: number;
99
105
  avgPrice?: number;
100
- externalTradeIds: string[];
101
- runningExternalTradeIds: string[];
106
+ externalTradeIds: {
107
+ id: string;
108
+ retryCount?: number;
109
+ }[];
110
+ runningExternalTradeIds: {
111
+ id: string;
112
+ retryCount?: number;
113
+ }[];
102
114
  externalTradingAlgorithmId?: string;
103
115
  providerOptions?: {
104
116
  emarkets?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2261",
3
+ "version": "1.0.2262",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",