@riocrypto/common 1.0.650 → 1.0.652
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.
|
@@ -288,7 +288,7 @@ class RioAdminClient {
|
|
|
288
288
|
}
|
|
289
289
|
getAggregateVolume() {
|
|
290
290
|
return __awaiter(this, void 0, void 0, function* () {
|
|
291
|
-
const response = yield this.axios.get(`/api/orders/volume
|
|
291
|
+
const response = yield this.axios.get(`/api/orders/volume`);
|
|
292
292
|
return response.data;
|
|
293
293
|
});
|
|
294
294
|
}
|
|
@@ -10,6 +10,7 @@ export declare enum OrderStatus {
|
|
|
10
10
|
Complete = "complete",
|
|
11
11
|
PaymentFailed = "failedPayment",
|
|
12
12
|
AwaitingPayment = "awaitingPayment",
|
|
13
|
+
AwaitingPayout = "awaitingPayout",
|
|
13
14
|
FillFailed = "failedFill",
|
|
14
15
|
TransferFailed = "failedTransfer",
|
|
15
16
|
QuoteFailed = "failedQuote",
|
|
@@ -31,6 +31,8 @@ var OrderStatus;
|
|
|
31
31
|
OrderStatus["PaymentFailed"] = "failedPayment";
|
|
32
32
|
// When waiting for asynchronous payment
|
|
33
33
|
OrderStatus["AwaitingPayment"] = "awaitingPayment";
|
|
34
|
+
// When waiting for asynchronous payout
|
|
35
|
+
OrderStatus["AwaitingPayout"] = "awaitingPayout";
|
|
34
36
|
// When the liquidity provider fails to fill the order
|
|
35
37
|
OrderStatus["FillFailed"] = "failedFill";
|
|
36
38
|
// When the transfer to the user fails
|