everest-npm-features 0.0.63 → 0.0.64

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.
Files changed (98) hide show
  1. package/dist/{PlayArrow-71FP5PzJ.js → PlayArrow-WUr_Eyo1.js} +5 -5
  2. package/dist/assets/styles2.css +1 -1
  3. package/dist/{auth-BBeOw4mt.js → auth-Cg-RJNB1.js} +1 -1
  4. package/dist/bank-CPJa0NOE.js +47 -0
  5. package/dist/components/RocketRamp/MinimalKyc/form.js +3 -3
  6. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  7. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  8. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  9. package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
  10. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  11. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  12. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  13. package/dist/components/RocketRamp/Player/Sell/index.js +6 -6
  14. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  15. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  16. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  18. package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
  19. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  20. package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
  21. package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
  22. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  23. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  24. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  25. package/dist/components/Shared/FullKyc/countryList.js +33 -30
  26. package/dist/components/Shared/FullKyc/edd.js +3 -3
  27. package/dist/components/Shared/FullKyc/index.js +11 -10
  28. package/dist/components/Shared/FullKyc/pep.js +68 -64
  29. package/dist/components/Shared/FullKyc/personalDetails.js +3 -3
  30. package/dist/components/Shared/FullKyc/userInfo.js +4 -4
  31. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  32. package/dist/components/Shared/Sumsub/index.js +2 -2
  33. package/dist/components/Wallet/Account/createIban.js +15 -540
  34. package/dist/components/Wallet/Account/eWallet.js +7 -7
  35. package/dist/components/Wallet/Account/iban.js +77 -56
  36. package/dist/components/Wallet/Account/ibanItem.js +3 -3
  37. package/dist/components/Wallet/Account/index.js +216 -181
  38. package/dist/components/Wallet/Account/sendIban.js +2 -2
  39. package/dist/components/Wallet/Buy/confirmTransaction.js +6 -6
  40. package/dist/components/Wallet/Buy/form.js +5 -5
  41. package/dist/components/Wallet/Buy/index.js +6 -6
  42. package/dist/components/Wallet/Deposit/index.js +2 -2
  43. package/dist/components/Wallet/EnterpriseKyc/edd.js +2 -2
  44. package/dist/components/Wallet/EnterpriseKyc/index.js +4 -4
  45. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +3 -3
  46. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +2 -2
  47. package/dist/components/Wallet/EnterpriseKyc/verify.js +2 -2
  48. package/dist/components/Wallet/History/index.js +2 -2
  49. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +11 -11
  50. package/dist/components/Wallet/Portfolio/dropdown.js +42 -27
  51. package/dist/components/Wallet/Portfolio/index.js +5 -5
  52. package/dist/components/Wallet/Profile/documents.js +37 -37
  53. package/dist/components/Wallet/Profile/index.js +5 -5
  54. package/dist/components/Wallet/Profile/storage.js +14 -14
  55. package/dist/components/Wallet/Receive/index.js +3 -3
  56. package/dist/components/Wallet/Sell/confirmTransaction.js +5 -5
  57. package/dist/components/Wallet/Sell/form.js +5 -5
  58. package/dist/components/Wallet/Sell/index.js +6 -6
  59. package/dist/components/Wallet/Send/index.js +36 -36
  60. package/dist/components/Wallet/Shared/Auth/otpForm.js +3 -3
  61. package/dist/components/Wallet/Shared/BankSelect/index.js +4 -4
  62. package/dist/components/Wallet/Shared/CardCorp/index.js +2 -2
  63. package/dist/components/Wallet/Shared/addBank.js +4 -4
  64. package/dist/components/Wallet/Shared/connectPlaidBank.js +7 -7
  65. package/dist/components/Wallet/Shared/manualSend.js +4 -4
  66. package/dist/components/Wallet/SignIn/index.js +3 -3
  67. package/dist/components/Wallet/SignUp/index.js +3 -3
  68. package/dist/components/Wallet/Stake/gems/index.js +34 -31
  69. package/dist/components/Wallet/Stake/id/index.js +12 -9
  70. package/dist/components/Wallet/Stake/index.js +6 -6
  71. package/dist/components/Wallet/Swap/form.js +7 -7
  72. package/dist/components/Wallet/Swap/index.js +5 -5
  73. package/dist/components/Wallet/Withdraw/bankSelect.js +5 -5
  74. package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
  75. package/dist/components/Wallet/Withdraw/form.js +4 -4
  76. package/dist/components/Wallet/Withdraw/index.js +5 -5
  77. package/dist/{constants-DX0YBtP2.js → constants-BRS2liAt.js} +214 -212
  78. package/dist/createIban-DKoCQ4o3.js +573 -0
  79. package/dist/{cryptoAssets-B8rAI7pp.js → cryptoAssets-BD0cJpXM.js} +1 -1
  80. package/dist/{index-JY6-UKlX.js → index-BUtxhHso.js} +87 -86
  81. package/dist/{index-B4XvACQN.js → index-C2weAjLp.js} +70 -69
  82. package/dist/{index-BQNs1mvn.js → index-CREgBh59.js} +4 -3
  83. package/dist/{index-_fiTunwZ.js → index-CZhiRUiE.js} +4 -4
  84. package/dist/{index-DuWW5roi.js → index-D7Eq-pbC.js} +65 -64
  85. package/dist/{index-DkiQ8pRO.js → index-DX8IEulu.js} +52 -52
  86. package/dist/{index-bK14vCZw.js → index-hgn4Pjw3.js} +5 -5
  87. package/dist/index-oPbOSCUk.js +545 -0
  88. package/dist/{kyc-BNMPoeHt.js → kyc-C7NviI9l.js} +1 -1
  89. package/dist/main.js +7 -7
  90. package/dist/{order-BXeCIvqC.js → order-DBuLYKfx.js} +1 -1
  91. package/dist/{otpForm-DeeegaX2.js → otpForm-DhVp5Gvi.js} +2 -2
  92. package/dist/{stake-BO2TYVJ7.js → stake-DGXpiw_Y.js} +1 -1
  93. package/dist/styles.module-C99UuHOT.js +22 -0
  94. package/dist/{wallet-BPXOp8UG.js → wallet-BLx0XKpK.js} +1 -1
  95. package/package.json +7 -7
  96. package/dist/bank-HVb0GFsa.js +0 -37
  97. package/dist/index-CTPMPwYK.js +0 -533
  98. package/dist/styles.module-C1sNeKjL.js +0 -22
@@ -1,78 +1,99 @@
1
- import { jsx as e, jsxs as o, Fragment as l } from "react/jsx-runtime";
2
- import { useEffect as C } from "react";
3
- import { Box as t, Grid as n, Typography as S, IconButton as N, CircularProgress as B } from "@mui/material";
4
- import { I as w } from "../../../Info-DOoRR7sR.js";
5
- import { DIALOG_SUCCESS_ICON as T, FEATURE_VIRTUAL_IBAN as p } from "../../../util/constants.js";
6
- import { M as D } from "../../../tooltip-BW0UyWw7.js";
7
- import E from "../Shared/noData.js";
8
- import P from "./createIban.js";
9
- import { AuthInnerContainer as v } from "../Shared/Container/index.js";
10
- import z from "./ibanItem.js";
11
- const M = ({
12
- dispatch: h,
13
- openDialog: a,
14
- appKey: u,
15
- appKeyEur: d,
16
- paymentWidgetSrcUrl: f,
17
- iban: r,
18
- navigate: i,
19
- AccountItem: I,
20
- createIbanRequest: y,
21
- tokenData: x,
22
- brandId: A
1
+ import { jsx as r, jsxs as m, Fragment as d } from "react/jsx-runtime";
2
+ import { useRef as f, useEffect as y } from "react";
3
+ import { Box as l, Grid as p, Typography as b, IconButton as P, CircularProgress as w } from "@mui/material";
4
+ import { I as D } from "../../../Info-DOoRR7sR.js";
5
+ import { DIALOG_SUCCESS_ICON as E, FEATURE_VIRTUAL_IBAN as x } from "../../../util/constants.js";
6
+ import "../../../constants-BRS2liAt.js";
7
+ import { c as A } from "../../../bank-CPJa0NOE.js";
8
+ import { M as q } from "../../../tooltip-BW0UyWw7.js";
9
+ import z from "../Shared/noData.js";
10
+ import { C as L } from "../../../createIban-DKoCQ4o3.js";
11
+ import { AuthInnerContainer as U } from "../Shared/Container/index.js";
12
+ import V from "./ibanItem.js";
13
+ const Q = ({
14
+ dispatch: o,
15
+ openDialog: I,
16
+ appKey: g,
17
+ appKeyEur: C,
18
+ paymentWidgetSrcUrl: v,
19
+ iban: a,
20
+ navigate: h,
21
+ AccountItem: N,
22
+ createIbanRequest: S,
23
+ tokenData: T,
24
+ brandId: B
23
25
  }) => {
24
- const c = r.data, g = r.loader;
25
- return C(() => {
26
- new URLSearchParams(window.location.search).get("paymentStatus") === "success" && a({
26
+ const u = a.data, i = a.loader, t = f(null), e = f(null), n = f(0);
27
+ return y(() => {
28
+ new URLSearchParams(window.location.search).get("paymentStatus") === "success" && I({
27
29
  title: "Payment Success",
28
30
  message: "We have received your payment and will generate your Virtual IBAN after the payment has processed",
29
- icon: T,
31
+ icon: E,
30
32
  width: "575px",
31
33
  confirmButtonText: "Continue"
32
34
  });
33
- }, []), /* @__PURE__ */ e(v, { children: /* @__PURE__ */ o(t, { p: 3, children: [
34
- /* @__PURE__ */ o(n, { spacing: 2, container: !0, alignItems: "center", children: [
35
- /* @__PURE__ */ o(n, { size: 8, children: [
36
- /* @__PURE__ */ e(S, { color: "primary", variant: "h6", component: "span", children: /* @__PURE__ */ e("strong", { children: "Everest Accounts (Virtual IBAN)" }) }),
37
- /* @__PURE__ */ e(
38
- D,
35
+ }, []), y(() => {
36
+ if (!u.some((R) => !R.accountNumber)) {
37
+ t.current && (clearTimeout(t.current), t.current = null), e.current && (clearInterval(e.current), e.current = null), n.current = 0;
38
+ return;
39
+ }
40
+ if (i || n.current >= 5 || t.current || e.current)
41
+ return;
42
+ const c = 5e3;
43
+ return t.current = setTimeout(() => {
44
+ t.current = null, n.current < 5 && (o(A()), n.current++), e.current = setInterval(() => {
45
+ if (n.current >= 5) {
46
+ e.current && (clearInterval(e.current), e.current = null);
47
+ return;
48
+ }
49
+ o(A()), n.current++;
50
+ }, c);
51
+ }, c), () => {
52
+ t.current && (clearTimeout(t.current), t.current = null), e.current && (clearInterval(e.current), e.current = null);
53
+ };
54
+ }, [u, i, o]), /* @__PURE__ */ r(U, { children: /* @__PURE__ */ m(l, { p: 3, children: [
55
+ /* @__PURE__ */ m(p, { spacing: 2, container: !0, alignItems: "center", children: [
56
+ /* @__PURE__ */ m(p, { size: 8, children: [
57
+ /* @__PURE__ */ r(b, { color: "primary", variant: "h6", component: "span", children: /* @__PURE__ */ r("strong", { children: "Everest Accounts (Virtual IBAN)" }) }),
58
+ /* @__PURE__ */ r(
59
+ q,
39
60
  {
40
- title: /* @__PURE__ */ e(t, { sx: { whiteSpace: "pre-line" }, children: "Create a Virtual IBAN of selected currency. This requires KYC" }),
61
+ title: /* @__PURE__ */ r(l, { sx: { whiteSpace: "pre-line" }, children: "Create a Virtual IBAN of selected currency. This requires KYC" }),
41
62
  placement: "bottom",
42
- children: /* @__PURE__ */ e(N, { className: "info-fee-icon", children: /* @__PURE__ */ e(w, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
63
+ children: /* @__PURE__ */ r(P, { className: "info-fee-icon", children: /* @__PURE__ */ r(D, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
43
64
  }
44
65
  )
45
66
  ] }),
46
- /* @__PURE__ */ e(n, { size: 4, children: /* @__PURE__ */ e(t, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e(
47
- P,
67
+ /* @__PURE__ */ r(p, { size: 4, children: /* @__PURE__ */ r(l, { sx: { textAlign: "right" }, children: /* @__PURE__ */ r(
68
+ L,
48
69
  {
49
- openDialog: a,
50
- createIbanRequest: y,
51
- iban: r,
52
- navigate: i,
53
- from: p,
54
- brandId: A
70
+ openDialog: I,
71
+ createIbanRequest: S,
72
+ iban: a,
73
+ navigate: h,
74
+ from: x,
75
+ brandId: B
55
76
  }
56
77
  ) }) })
57
78
  ] }),
58
- g ? /* @__PURE__ */ e(t, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(B, { color: "primary", size: 50 }) }) : /* @__PURE__ */ e(l, { children: c.length > 0 ? /* @__PURE__ */ e(l, { children: c.map((s, m) => /* @__PURE__ */ e(
59
- z,
79
+ i ? /* @__PURE__ */ r(l, { mt: 4, className: "flex-center", children: /* @__PURE__ */ r(w, { color: "primary", size: 50 }) }) : /* @__PURE__ */ r(d, { children: u.length > 0 ? /* @__PURE__ */ r(d, { children: u.map((s, c) => /* @__PURE__ */ r(
80
+ V,
60
81
  {
61
82
  data: s,
62
- AccountItem: I,
63
- dispatch: h,
64
- appKey: u,
65
- appKeyEur: d,
66
- paymentWidgetSrcUrl: f,
67
- iban: r,
68
- navigate: i,
69
- from: p,
70
- tokenData: x
83
+ AccountItem: N,
84
+ dispatch: o,
85
+ appKey: g,
86
+ appKeyEur: C,
87
+ paymentWidgetSrcUrl: v,
88
+ iban: a,
89
+ navigate: h,
90
+ from: x,
91
+ tokenData: T
71
92
  },
72
- m
73
- )) }) : /* @__PURE__ */ e(E, { text: "You currently have no IBAN Accounts" }) })
93
+ c
94
+ )) }) : /* @__PURE__ */ r(z, { text: "You currently have no IBAN Accounts" }) })
74
95
  ] }) });
75
96
  };
76
97
  export {
77
- M as default
98
+ Q as default
78
99
  };
@@ -1,8 +1,8 @@
1
1
  import { jsx as e, Fragment as I, jsxs as n } from "react/jsx-runtime";
2
2
  import { useState as u, useMemo as f, useEffect as k } from "react";
3
3
  import { Grid as N, Dialog as Y, DialogTitle as q, Typography as a, IconButton as z, DialogContent as J, Box as M, CircularProgress as K } from "@mui/material";
4
- import "../../../constants-DX0YBtP2.js";
5
- import { v as ye } from "../../../order-BXeCIvqC.js";
4
+ import "../../../constants-BRS2liAt.js";
5
+ import { v as ye } from "../../../order-DBuLYKfx.js";
6
6
  import U from "../Shared/appButton.js";
7
7
  import { C as be } from "../../../ContentCopy-D0C0zbQj.js";
8
8
  import { C as Q } from "../../../Close-DSxLLo08.js";
@@ -11,7 +11,7 @@ import "../../../index-DlQqWbXG.js";
11
11
  import "../../../hoc/withThemeProvider.js";
12
12
  import { u as Z } from "../../../react-redux-C7I9-1M6.js";
13
13
  import { GBP_ISO3 as D, FEATURE_EWALLET as ge, EURO_ISO3 as Ce, SYNTHETIC_EUR as ve, SYNTHETIC_GBP as Ie } from "../../../util/constants.js";
14
- import "../../../otpForm-DeeegaX2.js";
14
+ import "../../../otpForm-DhVp5Gvi.js";
15
15
  import { useSnackBarContext as ee } from "../../../context/snackBarContext.js";
16
16
  import "../../../util/conversions.js";
17
17
  import "../../../index-CAoLi5Qq.js";