everest-npm-features 0.0.51 → 0.0.53

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 (89) hide show
  1. package/dist/{PlayArrow-C3uVNo4F.js → PlayArrow-jzz8Y3XD.js} +1 -1
  2. package/dist/{auth-ClBgT--j.js → auth-jjVjqywi.js} +1 -1
  3. package/dist/bank-BM66KfAv.js +37 -0
  4. package/dist/components/RocketRamp/MinimalKyc/form.js +2 -2
  5. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  6. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  7. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  8. package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
  9. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  10. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  11. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  12. package/dist/components/RocketRamp/Player/Sell/index.js +5 -5
  13. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  14. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  15. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  16. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
  18. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  19. package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
  20. package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
  21. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  22. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  23. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  24. package/dist/components/Shared/FullKyc/edd.js +2 -2
  25. package/dist/components/Shared/FullKyc/index.js +3 -3
  26. package/dist/components/Shared/FullKyc/pep.js +1 -1
  27. package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
  28. package/dist/components/Shared/FullKyc/userInfo.js +3 -3
  29. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  30. package/dist/components/Wallet/Account/createIban.d.ts +1 -2
  31. package/dist/components/Wallet/Account/createIban.js +77 -125
  32. package/dist/components/Wallet/Account/eWallet.d.ts +1 -0
  33. package/dist/components/Wallet/Account/eWallet.js +55 -72
  34. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  35. package/dist/components/Wallet/Account/iban.js +48 -65
  36. package/dist/components/Wallet/Account/ibanItem.js +55 -52
  37. package/dist/components/Wallet/Account/index.js +181 -173
  38. package/dist/components/Wallet/Account/sendIban.js +2 -2
  39. package/dist/components/Wallet/Buy/confirmTransaction.js +5 -5
  40. package/dist/components/Wallet/Buy/form.js +4 -4
  41. package/dist/components/Wallet/Buy/index.js +6 -6
  42. package/dist/components/Wallet/Deposit/index.js +1 -1
  43. package/dist/components/Wallet/EnterpriseKyc/edd.js +1 -1
  44. package/dist/components/Wallet/EnterpriseKyc/index.js +3 -3
  45. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +2 -2
  46. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
  47. package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
  48. package/dist/components/Wallet/History/index.js +2 -2
  49. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +3 -3
  50. package/dist/components/Wallet/Portfolio/index.js +4 -4
  51. package/dist/components/Wallet/Profile/documents.js +1 -1
  52. package/dist/components/Wallet/Profile/index.js +1 -1
  53. package/dist/components/Wallet/Profile/storage.js +1 -1
  54. package/dist/components/Wallet/Receive/index.js +2 -2
  55. package/dist/components/Wallet/Sell/confirmTransaction.js +3 -3
  56. package/dist/components/Wallet/Sell/form.js +4 -4
  57. package/dist/components/Wallet/Sell/index.js +6 -6
  58. package/dist/components/Wallet/Send/index.js +3 -3
  59. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  60. package/dist/components/Wallet/Shared/BankSelect/index.js +3 -3
  61. package/dist/components/Wallet/Shared/CardCorp/index.js +1 -1
  62. package/dist/components/Wallet/Shared/addBank.js +2 -2
  63. package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
  64. package/dist/components/Wallet/Shared/manualSend.js +4 -4
  65. package/dist/components/Wallet/SignIn/index.js +2 -2
  66. package/dist/components/Wallet/SignUp/index.js +2 -2
  67. package/dist/components/Wallet/Stake/index.js +3 -3
  68. package/dist/components/Wallet/Swap/form.js +6 -6
  69. package/dist/components/Wallet/Swap/index.js +5 -5
  70. package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
  71. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
  72. package/dist/components/Wallet/Withdraw/form.js +4 -4
  73. package/dist/components/Wallet/Withdraw/index.js +5 -5
  74. package/dist/{constants-t7n9qCW3.js → constants-Dtk3Gd0Y.js} +123 -123
  75. package/dist/{cryptoAssets-shEFU26O.js → cryptoAssets-DT2afvDJ.js} +1 -1
  76. package/dist/{index-DFRU-R-5.js → index-B4pP4oLo.js} +7 -7
  77. package/dist/{index-B6MSTmAM.js → index-BEFNlxwM.js} +15 -15
  78. package/dist/{index-Cs7bSfT3.js → index-BGJ8RVKA.js} +5 -5
  79. package/dist/{index-BMts9nlV.js → index-BU6Lajc_.js} +3 -3
  80. package/dist/{index-C2EjFXaz.js → index-BUnkeQv6.js} +7 -7
  81. package/dist/{index-RDV0mQbt.js → index-CyPm8GTl.js} +4 -4
  82. package/dist/{index-j0zehpzg.js → index-JdlBukUO.js} +4 -4
  83. package/dist/{kyc-D9xahfH9.js → kyc-BOm2LCSg.js} +1 -1
  84. package/dist/main.js +7 -7
  85. package/dist/{order-jqH948WM.js → order-DuPcaU0K.js} +27 -31
  86. package/dist/{stake-Dcq6QpaA.js → stake-WaB8Q4v-.js} +3 -3
  87. package/dist/{wallet-DpkUmmq0.js → wallet-BxwOFeSW.js} +1 -1
  88. package/package.json +2 -2
  89. package/dist/bank-Dz5km1qK.js +0 -33
@@ -1,7 +1,7 @@
1
- import { jsx as e, Fragment as E, jsxs as r } from "react/jsx-runtime";
2
- import { useState as l, useMemo as M, useEffect as R } from "react";
3
- import "../../../constants-t7n9qCW3.js";
4
- import { v as ie } from "../../../order-jqH948WM.js";
1
+ import { jsx as e, Fragment as R, jsxs as r } from "react/jsx-runtime";
2
+ import { useState as s, useMemo as E, useEffect as M } from "react";
3
+ import "../../../constants-Dtk3Gd0Y.js";
4
+ import { v as ie } from "../../../order-DuPcaU0K.js";
5
5
  import g from "../Shared/appButton.js";
6
6
  import { C as le } from "../../../ContentCopy-coPwrEuz.js";
7
7
  import { C as O } from "../../../Close-CNwiMz_O.js";
@@ -25,22 +25,22 @@ import "../../../index-ceeCtFuh.js";
25
25
  import ce from "../Shared/CardCorp/index.js";
26
26
  import "../../../context/dialogContext.js";
27
27
  import ue from "./sendIban.js";
28
- import { G as s } from "../../../Grid-CFe3amXO.js";
28
+ import { G as a } from "../../../Grid-CFe3amXO.js";
29
29
  import { D as V, a as G } from "../../../DialogContent-BMwlOnbW.js";
30
30
  import { D as H } from "../../../DialogTitle-CfS0bb2K.js";
31
31
  import { T as v } from "../../../Typography-pAaje37G.js";
32
32
  import { I as F } from "../../../IconButton-DHm-hucF.js";
33
33
  import { B as D } from "../../../Box-B0YSYLco.js";
34
34
  import { C as de } from "../../../CircularProgress-xZA3lvba.js";
35
- const d = ({
35
+ const m = ({
36
36
  label: k,
37
37
  value: o,
38
38
  showCopyBtn: T
39
39
  }) => {
40
40
  const { showAlertMessage: I } = q();
41
- return /* @__PURE__ */ r(E, { children: [
42
- /* @__PURE__ */ e(s, { size: 5, className: "d-flex items-center", children: /* @__PURE__ */ e("strong", { children: k }) }),
43
- /* @__PURE__ */ r(s, { size: 7, className: "fw500 text-left d-flex items-center", children: [
41
+ return /* @__PURE__ */ r(R, { children: [
42
+ /* @__PURE__ */ e(a, { size: 5, className: "d-flex items-center", children: /* @__PURE__ */ e("strong", { children: k }) }),
43
+ /* @__PURE__ */ r(a, { size: 7, className: "fw500 text-left d-flex items-center", children: [
44
44
  o,
45
45
  T && /* @__PURE__ */ e(F, { onClick: () => {
46
46
  navigator.clipboard.writeText(o), I({
@@ -55,36 +55,36 @@ const d = ({
55
55
  data: o,
56
56
  appKey: T,
57
57
  appKeyEur: I,
58
- paymentWidgetSrcUrl: a,
58
+ paymentWidgetSrcUrl: c,
59
59
  dispatch: U,
60
60
  iban: J,
61
61
  from: K
62
62
  }) => {
63
63
  var L;
64
- const [Q, N] = l(!1), [X, S] = l(!1), [m, _] = l(!1), [W, w] = l(""), [x, p] = l(null), [P, f] = l(null), [c, i] = l(!1), { showAlertMessage: h } = q(), C = K === se, y = j(
64
+ const [Q, N] = s(!1), [X, S] = s(!1), [p, _] = s(!1), [W, w] = s(""), [x, f] = s(null), [P, h] = s(null), [u, i] = s(!1), { showAlertMessage: C } = q(), l = K === se, b = j(
65
65
  (t) => t.order
66
- ), A = y.v4Payment ?? null, b = y.v4PaymentLoader ?? !1, Y = j((t) => t.session.uuid), Z = () => {
67
- w(""), p(null), f(null), i(!1), _(!0);
66
+ ), A = b.v4Payment ?? null, y = b.v4PaymentLoader ?? !1, Y = j((t) => t.session.uuid), Z = () => {
67
+ w(""), f(null), h(null), i(!1), _(!0);
68
68
  }, z = () => {
69
- _(!1), w(""), p(null), f(null), i(!1);
69
+ _(!1), w(""), f(null), h(null), i(!1);
70
70
  }, ee = () => {
71
71
  const t = Number(W);
72
72
  if (!W || Number.isNaN(t) || t <= 0) {
73
- h({
73
+ C({
74
74
  message: "Please enter a valid amount greater than zero.",
75
75
  type: "error"
76
76
  });
77
77
  return;
78
78
  }
79
79
  if (!T) {
80
- h({
80
+ C({
81
81
  message: "Unable to identify application key.",
82
82
  type: "error"
83
83
  });
84
84
  return;
85
85
  }
86
86
  if (!I) {
87
- h({
87
+ C({
88
88
  message: "Unable to identify application EUR key.",
89
89
  type: "error"
90
90
  });
@@ -101,43 +101,43 @@ const d = ({
101
101
  })
102
102
  ), i(!0);
103
103
  }, re = () => {
104
- if (C) {
104
+ if (l) {
105
105
  Z();
106
106
  return;
107
107
  }
108
108
  N(!0);
109
- }, n = M(() => A ?? null, [A]), u = M(() => {
109
+ }, n = E(() => A ?? null, [A]), d = E(() => {
110
110
  var t;
111
111
  return n ? (n == null ? void 0 : n.checkout_id) ?? ((t = n == null ? void 0 : n.order) == null ? void 0 : t.provider_token) ?? (n == null ? void 0 : n.provider_token) ?? null : null;
112
- }, [n]), B = ((L = n == null ? void 0 : n.order) == null ? void 0 : L.order_id) ?? null, oe = M(() => a ? a.endsWith("/") ? a : `${a}/` : "", [a]), ne = M(() => P ? `/?paymentId=${encodeURIComponent(P)}` : "/", [P]);
113
- return R(() => {
114
- c && u && (p(u), f(B ?? null), i(!1));
115
- }, [c, u, B]), R(() => {
116
- c && m && (!u || x || (p(u), f(B ?? null), i(!1)));
112
+ }, [n]), B = ((L = n == null ? void 0 : n.order) == null ? void 0 : L.order_id) ?? null, oe = E(() => c ? c.endsWith("/") ? c : `${c}/` : "", [c]), ne = E(() => P ? `/?paymentId=${encodeURIComponent(P)}` : "/", [P]);
113
+ return M(() => {
114
+ u && d && (f(d), h(B ?? null), i(!1));
115
+ }, [u, d, B]), M(() => {
116
+ u && p && (!d || x || (f(d), h(B ?? null), i(!1)));
117
117
  }, [
118
- c,
119
- m,
120
118
  u,
119
+ p,
120
+ d,
121
121
  x,
122
122
  B
123
- ]), R(() => {
124
- C && (m || (w(""), p(null), f(null)));
125
- }, [C, m]), R(() => {
126
- if (c && !b) {
123
+ ]), M(() => {
124
+ l && (p || (w(""), f(null), h(null)));
125
+ }, [l, p]), M(() => {
126
+ if (u && !y) {
127
127
  if (A) {
128
128
  i(!1);
129
129
  return;
130
130
  }
131
- y.error && (h({
132
- message: y.error,
131
+ b.error && (C({
132
+ message: b.error,
133
133
  type: "error"
134
134
  }), i(!1));
135
135
  }
136
- }, [c, b, A, y.error, h]), /* @__PURE__ */ e(E, { children: o.accountNumber ? /* @__PURE__ */ r(E, { children: [
137
- /* @__PURE__ */ e(k, { type: "iban", data: o, children: /* @__PURE__ */ r(s, { my: 1, spacing: 2, container: !0, children: [
138
- /* @__PURE__ */ e(s, { size: { md: 6 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: re, children: C ? "Topup" : "Deposit" }) }),
139
- /* @__PURE__ */ e(s, { size: { md: 3 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: () => S(!0), children: "Send" }) }),
140
- /* @__PURE__ */ e(s, { size: { md: 3 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: () => N(!0), children: "Receive" }) })
136
+ }, [u, y, A, b.error, C]), /* @__PURE__ */ e(R, { children: o.accountNumber ? /* @__PURE__ */ r(R, { children: [
137
+ /* @__PURE__ */ e(k, { type: "iban", data: o, children: /* @__PURE__ */ r(a, { my: 1, spacing: 2, container: !0, children: [
138
+ /* @__PURE__ */ e(a, { size: { md: 6 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: re, children: l ? "Topup" : "Deposit" }) }),
139
+ /* @__PURE__ */ e(a, { size: { md: 3 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: () => S(!0), children: "Send" }) }),
140
+ /* @__PURE__ */ e(a, { size: { md: 3 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: () => N(!0), children: "Receive" }) })
141
141
  ] }) }),
142
142
  /* @__PURE__ */ r(
143
143
  V,
@@ -162,24 +162,24 @@ const d = ({
162
162
  ] }),
163
163
  /* @__PURE__ */ r(G, { dividers: !0, children: [
164
164
  /* @__PURE__ */ e(v, { variant: "h5", align: "center", children: /* @__PURE__ */ e("strong", { children: "Account Details" }) }),
165
- /* @__PURE__ */ r(s, { container: !0, spacing: 2, sx: { padding: "5% 15%" }, children: [
165
+ /* @__PURE__ */ r(a, { container: !0, spacing: 2, sx: { padding: "5% 15%" }, children: [
166
166
  /* @__PURE__ */ e(
167
- d,
167
+ m,
168
168
  {
169
169
  label: "Account Title",
170
170
  value: `${o.ownerFirstName} ${o.ownerLastName}`
171
171
  }
172
172
  ),
173
173
  /* @__PURE__ */ e(
174
- d,
174
+ m,
175
175
  {
176
176
  label: "Bank Account Currency",
177
177
  value: o.currency || ""
178
178
  }
179
179
  ),
180
- /* @__PURE__ */ e(d, { label: "Bank Name", value: o.bankName || "" }),
180
+ /* @__PURE__ */ e(m, { label: "Bank Name", value: o.bankName || "" }),
181
181
  /* @__PURE__ */ e(
182
- d,
182
+ m,
183
183
  {
184
184
  label: "Bank Address",
185
185
  value: o.bankBranchAddress || "",
@@ -187,7 +187,7 @@ const d = ({
187
187
  }
188
188
  ),
189
189
  /* @__PURE__ */ e(
190
- d,
190
+ m,
191
191
  {
192
192
  label: "Virtual IBAN",
193
193
  value: o.accountNumber || "",
@@ -195,7 +195,7 @@ const d = ({
195
195
  }
196
196
  ),
197
197
  /* @__PURE__ */ e(
198
- d,
198
+ m,
199
199
  {
200
200
  label: "BIC/Swift Code",
201
201
  value: o.bicCode || "",
@@ -207,10 +207,10 @@ const d = ({
207
207
  ]
208
208
  }
209
209
  ),
210
- C && /* @__PURE__ */ r(
210
+ l && /* @__PURE__ */ r(
211
211
  V,
212
212
  {
213
- open: m,
213
+ open: p,
214
214
  fullWidth: !0,
215
215
  maxWidth: "sm",
216
216
  onClose: z,
@@ -238,7 +238,7 @@ const d = ({
238
238
  onResultUrl: ne
239
239
  }
240
240
  )
241
- ] }) : /* @__PURE__ */ r(E, { children: [
241
+ ] }) : /* @__PURE__ */ r(R, { children: [
242
242
  /* @__PURE__ */ e(v, { variant: "body1", children: "Enter the amount you would like to add to this E-Wallet." }),
243
243
  /* @__PURE__ */ e(
244
244
  ae,
@@ -256,7 +256,7 @@ const d = ({
256
256
  {
257
257
  variantType: "secondary",
258
258
  onClick: z,
259
- disabled: b,
259
+ disabled: y,
260
260
  children: "Cancel"
261
261
  }
262
262
  ),
@@ -264,9 +264,9 @@ const d = ({
264
264
  g,
265
265
  {
266
266
  onClick: ee,
267
- disabled: b,
267
+ disabled: y,
268
268
  children: /* @__PURE__ */ r("strong", { children: [
269
- b ? /* @__PURE__ */ e(
269
+ y ? /* @__PURE__ */ e(
270
270
  de,
271
271
  {
272
272
  size: 18,
@@ -307,9 +307,12 @@ const d = ({
307
307
  },
308
308
  children: [
309
309
  /* @__PURE__ */ r("p", { children: [
310
- "We have received your payment and ",
311
310
  o.currency,
312
- " Virtual IBAN creation is in progress. Please wait while we generate your Virtual IBAN."
311
+ " ",
312
+ l ? "E-Wallet" : "Virtual IBAN",
313
+ " creation is in progress. Please wait while we generate your ",
314
+ l ? "E-Wallet" : "Virtual IBAN",
315
+ "."
313
316
  ] }),
314
317
  /* @__PURE__ */ e("p", { children: "This may take a few moments. Thank you for your patience!" })
315
318
  ]