@riocrypto/common-server 1.0.1981 → 1.0.1983

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.
@@ -289,7 +289,7 @@ class ClusterClient {
289
289
  }
290
290
  registerFXTrade(orderId, amount, price) {
291
291
  return __awaiter(this, void 0, void 0, function* () {
292
- yield this.axios.post(`${this.baseUrl}/api/fx/orders`, {
292
+ yield this.axios.post(`${this.baseUrl}/api/fx/trades/register`, {
293
293
  provider: "BBVA",
294
294
  orderId,
295
295
  price,
@@ -34,6 +34,7 @@ interface RioSettingsAttrs {
34
34
  fxProviders: {
35
35
  [key in FXProvider]: {
36
36
  enabled: boolean;
37
+ defaultOrderType?: "TOD" | "SPT" | "TOM";
37
38
  };
38
39
  };
39
40
  fxExecutionThreshold: number;
@@ -72,6 +73,7 @@ interface RioSettingsDoc extends mongoose.Document {
72
73
  fxProviders: {
73
74
  [key in FXProvider]: {
74
75
  enabled: boolean;
76
+ defaultOrderType?: "TOD" | "SPT" | "TOM";
75
77
  };
76
78
  };
77
79
  fxExecutionThreshold: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1981",
3
+ "version": "1.0.1983",
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.1747",
31
+ "@riocrypto/common": "^1.0.1749",
32
32
  "@types/express": "^4.17.13",
33
33
  "axios": "^1.7.4",
34
34
  "crypto-js": "^4.2.0",