@riocrypto/common-server 1.0.2184 → 1.0.2186

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.
@@ -4,7 +4,7 @@ interface EmarketsFXTradeAttrs {
4
4
  createdAt: Date;
5
5
  status: EmarketsFXTradeStatus;
6
6
  FXTradeId?: string;
7
- arbitrageTradeId?: string;
7
+ externalTradeId?: string;
8
8
  side: Side;
9
9
  fiat: Fiat;
10
10
  amountToTrade: number;
@@ -19,7 +19,7 @@ interface EmarketsFXTradeDoc extends Document {
19
19
  side: Side;
20
20
  status: EmarketsFXTradeStatus;
21
21
  FXTradeId?: string;
22
- arbitrageTradeId?: string;
22
+ externalTradeId?: string;
23
23
  fiat: Fiat;
24
24
  amountToTrade: number;
25
25
  amountReceived?: number;
@@ -22,7 +22,7 @@ const buildEmarketsFXTrade = (mongoose) => {
22
22
  FXTradeId: {
23
23
  type: String,
24
24
  },
25
- arbitrageTradeId: {
25
+ externalTradeId: {
26
26
  type: String,
27
27
  },
28
28
  fiat: {
@@ -100,4 +100,4 @@ interface RioSettingsModel extends mongoose.Model<RioSettingsDoc> {
100
100
  build(attrs: RioSettingsAttrs): RioSettingsDoc;
101
101
  }
102
102
  declare const buildRioSettings: (mongoose: typeof mongoose) => RioSettingsModel;
103
- export { buildRioSettings, RioSettingsModel, RioSettingsAttrs };
103
+ export { buildRioSettings, RioSettingsDoc, RioSettingsAttrs };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2184",
3
+ "version": "1.0.2186",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",