@opexa/portal-components 0.0.517 → 0.0.518

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.
@@ -14,7 +14,9 @@ export function KycOpenOnHomeMount() {
14
14
  const isPending = account?.verificationStatus === 'PENDING';
15
15
  const hasntSubmittedCompliantDocs = account?.verified ||
16
16
  verification?.sumsubVerified ||
17
- verification?.status === 'PENDING'
17
+ verification?.status === 'APPROVED' ||
18
+ verification?.status === 'PENDING' ||
19
+ verification?.status === 'VERIFIED'
18
20
  ? false
19
21
  : !account?.realName ||
20
22
  !account?.birthDay ||
@@ -22,7 +24,9 @@ export function KycOpenOnHomeMount() {
22
24
  !verification?.idFrontImage;
23
25
  const hasntCompletedKYC = account?.verified ||
24
26
  verification?.sumsubVerified ||
25
- verification?.status === 'PENDING'
27
+ verification?.status === 'APPROVED' ||
28
+ verification?.status === 'PENDING' ||
29
+ verification?.status === 'VERIFIED'
26
30
  ? false
27
31
  : !!verification?.nationality ||
28
32
  !!verification?.natureOfWork ||
@@ -53,7 +57,7 @@ export function KycOpenOnHomeMount() {
53
57
  accountLoading,
54
58
  hasntCompletedKYC,
55
59
  isVerificationLocked,
56
- isPending
60
+ isPending,
57
61
  ]);
58
62
  return null;
59
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.0.517",
3
+ "version": "0.0.518",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",