@riocrypto/common 1.0.970 → 1.0.972

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,5 @@ import { AdminTaskType } from "../types/admin-task-type";
2
2
  export declare class AdminTaskTypeClass {
3
3
  private key;
4
4
  constructor(key: AdminTaskType);
5
- getTaskLabel(): "ERR" | "Confirm Bank Transfer Receipt" | "Exchange to USD" | "Fix Exchange Rate to USD" | "Register Bank Account" | "Initiate Bank Transfer" | "Review KYC";
5
+ getTaskLabel(): "ERR" | "Confirm Bank Transfer Receipt" | "Exchange to USD" | "Fix Exchange Rate to USD" | "Register Bank Account" | "Initiate Bank Transfer" | "Review KYC" | "Source Liquidity";
6
6
  }
@@ -25,6 +25,9 @@ class AdminTaskTypeClass {
25
25
  else if (this.key === admin_task_type_1.AdminTaskType.ReviewKYC) {
26
26
  return "Review KYC";
27
27
  }
28
+ else if (this.key === admin_task_type_1.AdminTaskType.SourceLiquidity) {
29
+ return "Source Liquidity";
30
+ }
28
31
  else
29
32
  return "ERR";
30
33
  }
@@ -36,6 +36,7 @@ export declare class RioAdminClient {
36
36
  createQuote(input: QuoteInput): Promise<{
37
37
  quote: Quote;
38
38
  sufficientLiquidity: boolean;
39
+ SPIDClosed: boolean;
39
40
  }>;
40
41
  updateQuote(id: string, update: any): Promise<Quote>;
41
42
  getQuote(id: string): Promise<Quote>;
@@ -19,9 +19,13 @@ const humanizeOrderStatus = (status) => {
19
19
  case order_status_1.OrderStatus.AwaitingBankPayoutDetails:
20
20
  return "Awaiting bank payout details";
21
21
  case order_status_1.OrderStatus.DepositRegistered:
22
- return "Deposit Registered";
22
+ return "Deposit registered";
23
23
  case order_status_1.OrderStatus.DepositConfirmed:
24
24
  return "Deposit confirmed";
25
+ case order_status_1.OrderStatus.SourcingLiquidity:
26
+ return "Sourcing liquidity";
27
+ case order_status_1.OrderStatus.LiquiditySourced:
28
+ return "Liquidity sourced";
25
29
  case order_status_1.OrderStatus.Paid:
26
30
  return "Paid";
27
31
  case order_status_1.OrderStatus.Filled:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.970",
3
+ "version": "1.0.972",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",