@riocrypto/common-server 1.0.1980 → 1.0.1982
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/
|
|
292
|
+
yield this.axios.post(`${this.baseUrl}/api/fx/trades/register`, {
|
|
293
293
|
provider: "BBVA",
|
|
294
294
|
orderId,
|
|
295
295
|
price,
|
package/build/models/order.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Country, Fees, Fiat, LiquidityProvider, OrderStatus, PaymentMethod, PayoutMethod, Processor, Side, Crypto, Partner,
|
|
1
|
+
import { Country, Fees, Fiat, LiquidityProvider, OrderStatus, PaymentMethod, PayoutMethod, Processor, Side, Crypto, Partner, OrderSubstatus, OrderAttribute } from "@riocrypto/common";
|
|
2
2
|
import { Mongoose, Model, Document } from "mongoose";
|
|
3
3
|
interface OrderAttrs {
|
|
4
4
|
quoteId: string;
|
|
@@ -39,7 +39,6 @@ interface OrderAttrs {
|
|
|
39
39
|
partner?: Partner;
|
|
40
40
|
imported?: boolean;
|
|
41
41
|
managedWallet?: boolean;
|
|
42
|
-
exchangeRateOrders?: ExchangeRateOrder[];
|
|
43
42
|
USBankTransferMethod?: "wire" | "ach_push";
|
|
44
43
|
isAfterHours?: boolean;
|
|
45
44
|
isSurgePricing?: boolean;
|
|
@@ -114,7 +113,6 @@ interface OrderDoc extends Document {
|
|
|
114
113
|
partner?: Partner;
|
|
115
114
|
imported?: boolean;
|
|
116
115
|
managedWallet?: boolean;
|
|
117
|
-
exchangeRateOrders?: ExchangeRateOrder[];
|
|
118
116
|
USBankTransferMethod?: "wire" | "ach_push";
|
|
119
117
|
isAfterHours?: boolean;
|
|
120
118
|
chainedOrderId?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riocrypto/common-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1982",
|
|
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.
|
|
31
|
+
"@riocrypto/common": "^1.0.1748",
|
|
32
32
|
"@types/express": "^4.17.13",
|
|
33
33
|
"axios": "^1.7.4",
|
|
34
34
|
"crypto-js": "^4.2.0",
|