@opexa/portal-components 0.0.1059 → 0.0.1061

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.
@@ -151,13 +151,15 @@ export function Withdrawal() {
151
151
  if (parseDecimal(wallet?.balance, 0) < 1) {
152
152
  return _jsx(InsufficientBalance, {});
153
153
  }
154
- if (memberVerification?.status === 'PENDING') {
154
+ if (restrictWithdrawalsToVerifiedMembers &&
155
+ memberVerification?.status === 'PENDING') {
155
156
  return _jsx(_AccountVerificationPending, {});
156
157
  }
157
158
  if (restrictWithdrawalsToVerifiedMembers &&
158
159
  (!memberVerification ||
159
160
  (memberVerification.status !== 'APPROVED' &&
160
- memberVerification.status !== 'VERIFIED'))) {
161
+ memberVerification.status !== 'VERIFIED' &&
162
+ memberVerification.status !== 'PENDING'))) {
161
163
  return _jsx(AccountVerificationRequired, {});
162
164
  }
163
165
  if (enabledPaymentMethods.length <= 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.0.1059",
3
+ "version": "0.0.1061",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",