@opexa/portal-components 0.0.1129 → 0.0.1130

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.
@@ -15,10 +15,14 @@ export function KycOpenOnHomeMount(props) {
15
15
  const isUnverified = account?.verification === null ||
16
16
  account?.verification?.status === 'UNVERIFIED' ||
17
17
  account?.verification?.status === 'CREATED';
18
+ //fallback values when verification object is not present
19
+ account?.verificationStatus === 'UNVERIFIED';
18
20
  const isKycCompleted = account?.verified ||
19
21
  verification?.sumsubVerified ||
20
22
  account?.verification?.status === 'APPROVED' ||
21
- account?.verification?.status === 'VERIFIED'; //add default value on null return
23
+ account?.verification?.status === 'VERIFIED' ||
24
+ //fallback values when verification object is not present
25
+ account?.verificationStatus === 'VERIFIED';
22
26
  useEffect(() => {
23
27
  // If bypass is enabled, do nothing.
24
28
  if (props.bypassKycCheck) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.0.1129",
3
+ "version": "0.0.1130",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",