@riocrypto/common 1.0.74 → 1.0.75
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.
|
@@ -5,7 +5,7 @@ const custom_error_1 = require("./custom-error");
|
|
|
5
5
|
class NotFoundError extends custom_error_1.CustomError {
|
|
6
6
|
constructor() {
|
|
7
7
|
super("Route not found");
|
|
8
|
-
this.statusCode =
|
|
8
|
+
this.statusCode = 404;
|
|
9
9
|
Object.setPrototypeOf(this, NotFoundError.prototype);
|
|
10
10
|
}
|
|
11
11
|
serializeErrors() {
|
|
@@ -8,11 +8,12 @@ var OrderStatus;
|
|
|
8
8
|
OrderStatus["Created"] = "created";
|
|
9
9
|
// When the order has been cancelled
|
|
10
10
|
OrderStatus["Cancelled"] = "cancelled";
|
|
11
|
-
// When order
|
|
12
|
-
//
|
|
11
|
+
// When the order is being processed by payment
|
|
12
|
+
// processor
|
|
13
13
|
OrderStatus["Processing"] = "processing";
|
|
14
14
|
// When order has been processed by the
|
|
15
|
-
// payment processor
|
|
15
|
+
// payment processor but not yet filled
|
|
16
|
+
// by liquidity provider
|
|
16
17
|
OrderStatus["Paid"] = "paid";
|
|
17
18
|
// When order has been processed by the payment
|
|
18
19
|
// processor and filled by the liquidity provider
|