@riocrypto/common 1.0.2507 → 1.0.2510

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.
@@ -96,6 +96,8 @@ const humanizeOrderStatus = (status) => {
96
96
  return "Time in force ended";
97
97
  case order_status_1.OrderStatus.BankPaymentDetailsAdded:
98
98
  return "Processing";
99
+ case order_status_1.OrderStatus.Queued:
100
+ return "Queued";
99
101
  default:
100
102
  if (status.toLowerCase().includes("failed")) {
101
103
  return "Failed";
@@ -45,5 +45,6 @@ export declare enum OrderStatus {
45
45
  BridgeTransferFailed = "bridgeTransferFailed",
46
46
  DepositAmountMismatchFailed = "depositAmountMismatchFailed",
47
47
  Failed = "failedUnknown",
48
- Expired = "expired"
48
+ Expired = "expired",
49
+ Queued = "queued"
49
50
  }
@@ -84,4 +84,6 @@ var OrderStatus;
84
84
  OrderStatus["Failed"] = "failedUnknown";
85
85
  // When the order is expired
86
86
  OrderStatus["Expired"] = "expired";
87
+ // During maintance, the order is queued for processing
88
+ OrderStatus["Queued"] = "queued";
87
89
  })(OrderStatus = exports.OrderStatus || (exports.OrderStatus = {}));
@@ -79,6 +79,11 @@ export interface RioSettings {
79
79
  dates: string[];
80
80
  };
81
81
  };
82
+ isMaintenanceModeActive?: {
83
+ [key in Country]?: {
84
+ [key in Side]?: boolean;
85
+ };
86
+ };
82
87
  defaultTWAPSettings: {
83
88
  [key in Country]?: {
84
89
  [key in Fiat]?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.2507",
3
+ "version": "1.0.2510",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",