@riocrypto/common 1.0.993 → 1.0.995

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.
@@ -2,5 +2,6 @@ export interface BitsoFXOrder {
2
2
  id: string;
3
3
  createdAt: Date;
4
4
  orderId: string;
5
+ status: "pending" | "completed" | "cancelled";
5
6
  bitsoOrderId: string;
6
7
  }
@@ -22,7 +22,7 @@ export declare enum OrderStatus {
22
22
  ProcessorRoutingFailed = "failedProcessorRouting",
23
23
  LiquidityRoutingFailed = "failedLiquidityRouting",
24
24
  FeesFailed = "failedFees",
25
- InsufficientLiquidityError = "insufficientLiquidityError",
25
+ InsufficientLiquidityFailed = "insufficientLiquidityFailed",
26
26
  DepositAddressFailed = "depositAddressFailed",
27
27
  AddressCheckFailed = "addressCheckFailed",
28
28
  BridgeOrderCreationFailed = "bridgeOrderCreationFailed",
@@ -51,7 +51,7 @@ var OrderStatus;
51
51
  OrderStatus["LiquidityRoutingFailed"] = "failedLiquidityRouting";
52
52
  // When failed to get fees
53
53
  OrderStatus["FeesFailed"] = "failedFees";
54
- OrderStatus["InsufficientLiquidityError"] = "insufficientLiquidityError";
54
+ OrderStatus["InsufficientLiquidityFailed"] = "insufficientLiquidityFailed";
55
55
  // When failed to get deposit address
56
56
  OrderStatus["DepositAddressFailed"] = "depositAddressFailed";
57
57
  // When the address check fails
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.993",
3
+ "version": "1.0.995",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",