@riocrypto/common 1.0.1385 → 1.0.1387
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.
|
@@ -7,7 +7,7 @@ const humanizeChainedOrderStatus = (originOrderStatus, destinationOrderStatus) =
|
|
|
7
7
|
return "Send failed";
|
|
8
8
|
}
|
|
9
9
|
else if (destinationOrderStatus.toLowerCase().includes("failed")) {
|
|
10
|
-
return "
|
|
10
|
+
return "Failed";
|
|
11
11
|
}
|
|
12
12
|
else if (originOrderStatus === order_status_1.OrderStatus.Cancelled ||
|
|
13
13
|
destinationOrderStatus === order_status_1.OrderStatus.Cancelled) {
|
|
@@ -18,11 +18,11 @@ const humanizeChainedOrderStatus = (originOrderStatus, destinationOrderStatus) =
|
|
|
18
18
|
}
|
|
19
19
|
else if (originOrderStatus === order_status_1.OrderStatus.Complete &&
|
|
20
20
|
destinationOrderStatus !== order_status_1.OrderStatus.Complete) {
|
|
21
|
-
return "
|
|
21
|
+
return "Processing";
|
|
22
22
|
}
|
|
23
23
|
else if (originOrderStatus === order_status_1.OrderStatus.Complete &&
|
|
24
24
|
destinationOrderStatus === order_status_1.OrderStatus.Complete) {
|
|
25
|
-
return "
|
|
25
|
+
return "Completed";
|
|
26
26
|
}
|
|
27
27
|
else {
|
|
28
28
|
return "Processing";
|
|
@@ -7,6 +7,7 @@ export declare enum OnboardingStatus {
|
|
|
7
7
|
LegalRepresentativeFailed = "legalRepresentativeFailed",
|
|
8
8
|
BridgeTosAndKYCCompleted = "bridgeToSAndKYCCompleted",
|
|
9
9
|
BridgeKYCCompleted = "bridgeKYCCompleted",
|
|
10
|
+
Started = "started",
|
|
10
11
|
Failed = "failed",
|
|
11
12
|
Review = "review",
|
|
12
13
|
None = "none"
|
|
@@ -11,6 +11,7 @@ var OnboardingStatus;
|
|
|
11
11
|
OnboardingStatus["LegalRepresentativeFailed"] = "legalRepresentativeFailed";
|
|
12
12
|
OnboardingStatus["BridgeTosAndKYCCompleted"] = "bridgeToSAndKYCCompleted";
|
|
13
13
|
OnboardingStatus["BridgeKYCCompleted"] = "bridgeKYCCompleted";
|
|
14
|
+
OnboardingStatus["Started"] = "started";
|
|
14
15
|
OnboardingStatus["Failed"] = "failed";
|
|
15
16
|
OnboardingStatus["Review"] = "review";
|
|
16
17
|
OnboardingStatus["None"] = "none";
|