everest-npm-features 0.0.20 → 0.0.22

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 (81) hide show
  1. package/dist/{auth-CjrjTwt5.js → auth-CR0412E5.js} +1 -1
  2. package/dist/{bank-D3I5wL2-.js → bank-iFS1RXp-.js} +1 -1
  3. package/dist/components/RocketRamp/MinimalKyc/form.js +2 -2
  4. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  5. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  6. package/dist/components/RocketRamp/Player/Buy/form.js +3 -3
  7. package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
  8. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  9. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  10. package/dist/components/RocketRamp/Player/Sell/form.js +3 -3
  11. package/dist/components/RocketRamp/Player/Sell/index.js +5 -5
  12. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  13. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  14. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  15. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  16. package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  18. package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
  19. package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
  20. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  21. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  22. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  23. package/dist/components/Shared/FullKyc/index.js +3 -3
  24. package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
  25. package/dist/components/Shared/FullKyc/userInfo.js +3 -3
  26. package/dist/components/Shared/MinimalKyc/index.d.ts +2 -2
  27. package/dist/components/Shared/MinimalKyc/index.js +63 -55
  28. package/dist/components/Wallet/Account/iban.js +4 -4
  29. package/dist/components/Wallet/Account/index.js +4 -4
  30. package/dist/components/Wallet/Account/sendIban.js +2 -2
  31. package/dist/components/Wallet/Buy/confirmTransaction.js +3 -3
  32. package/dist/components/Wallet/Buy/form.js +3 -3
  33. package/dist/components/Wallet/Buy/index.js +6 -6
  34. package/dist/components/Wallet/Deposit/index.d.ts +4 -1
  35. package/dist/components/Wallet/Deposit/index.js +20 -19
  36. package/dist/components/Wallet/EnterpriseKyc/edd.js +1 -1
  37. package/dist/components/Wallet/EnterpriseKyc/index.js +3 -3
  38. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +26 -35
  39. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +2 -2
  40. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
  41. package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
  42. package/dist/components/Wallet/History/index.js +2 -2
  43. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +2 -2
  44. package/dist/components/Wallet/Portfolio/index.js +3 -3
  45. package/dist/components/Wallet/Profile/documents.js +2 -2
  46. package/dist/components/Wallet/Profile/index.d.ts +1 -0
  47. package/dist/components/Wallet/Profile/index.js +93 -78
  48. package/dist/components/Wallet/Receive/index.js +2 -2
  49. package/dist/components/Wallet/Sell/confirmTransaction.js +3 -3
  50. package/dist/components/Wallet/Sell/form.js +3 -3
  51. package/dist/components/Wallet/Sell/index.js +6 -6
  52. package/dist/components/Wallet/Send/index.js +2 -2
  53. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  54. package/dist/components/Wallet/Shared/addBank.js +2 -2
  55. package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
  56. package/dist/components/Wallet/SignIn/index.js +2 -2
  57. package/dist/components/Wallet/SignUp/index.js +2 -2
  58. package/dist/components/Wallet/Stake/index.js +3 -3
  59. package/dist/components/Wallet/Swap/index.js +228 -213
  60. package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
  61. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
  62. package/dist/components/Wallet/Withdraw/form.js +3 -3
  63. package/dist/components/Wallet/Withdraw/index.js +5 -5
  64. package/dist/{constants-CdVZO8DH.js → constants-BJByDTQY.js} +132 -131
  65. package/dist/{cryptoAssets-awZZ9HTs.js → cryptoAssets-BcVSdM1C.js} +1 -1
  66. package/dist/{documents-DvNPkuYe.js → documents-HjBKq9qA.js} +1 -1
  67. package/dist/{fiatAssets-yeCL6wA9.js → fiatAssets-C_F8qNzr.js} +1 -1
  68. package/dist/{iban-4bMHHpJO.js → iban-Dh7qBGGc.js} +3 -3
  69. package/dist/{index-86Hyynn-.js → index-B2OIoTNN.js} +98 -95
  70. package/dist/{index-CFWL7CoB.js → index-BEH1PkNC.js} +203 -200
  71. package/dist/{index-CTglGXWu.js → index-BFIhKqqi.js} +307 -294
  72. package/dist/{index-Dx7-MJk2.js → index-CQe8cwpc.js} +2 -2
  73. package/dist/{index-98VYd3cT.js → index-DSZxScyY.js} +188 -185
  74. package/dist/{index-SbY3kKNL.js → index-DkMQ44xy.js} +117 -111
  75. package/dist/{kyc-Dur3dRxq.js → kyc-DJpiKj5d.js} +1 -1
  76. package/dist/main.js +6 -6
  77. package/dist/order-DhUA-ZNX.js +43 -0
  78. package/dist/{stake-DaOB24Ou.js → stake-DWRuAE1u.js} +1 -1
  79. package/dist/{wallet-D76D_QSY.js → wallet-z7NHqtCj.js} +1 -1
  80. package/package.json +2 -2
  81. package/dist/order-DNSedxgT.js +0 -41
@@ -1,23 +1,23 @@
1
1
  import { jsxs as t, Fragment as v, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as c, useEffect as f } from "react";
3
- import Ae from "./hoc/withThemeProvider.js";
4
- import Re from "./components/RocketRamp/Shared/backBtn.js";
5
- import { getCurrencySymbol as de, getOrionBalance as Se } from "./util/functions.js";
6
- import { PAYMENT_BANK as ae, SEPA_ICON as Me, VISA_ICON as ze, ID_TOKEN_SYMBOL as Oe, FIAT_WITHDRAW as Pe, FIAT_TO_EVER_ID as we, FIAT_TO_TOKEN as We, ESTIMATE_TOOLTIP_TEXT as Be, TOKEN_TO_FIAT as Le } from "./util/constants.js";
3
+ import Re from "./hoc/withThemeProvider.js";
4
+ import Se from "./components/RocketRamp/Shared/backBtn.js";
5
+ import { getCurrencySymbol as ue, getOrionBalance as Me } from "./util/functions.js";
6
+ import { PAYMENT_BANK as ie, SEPA_ICON as ze, VISA_ICON as Oe, ID_TOKEN_SYMBOL as Pe, FIAT_WITHDRAW as we, FIAT_TO_EVER_ID as We, FIAT_TO_TOKEN as Be, ESTIMATE_TOOLTIP_TEXT as Le, TOKEN_TO_FIAT as Xe } from "./util/constants.js";
7
7
  import U from "./components/RocketRamp/Shared/Button/index.js";
8
- import { aa as Xe } from "./constants-CdVZO8DH.js";
9
- import { b as ue, c as De, i as Ye, a as qe, f as Ke } from "./order-DNSedxgT.js";
8
+ import { aa as j } from "./constants-BJByDTQY.js";
9
+ import { c as pe, d as De, i as Ye, b as qe, a as Ke } from "./order-DhUA-ZNX.js";
10
10
  import { a as $e, u as W } from "./react-redux-C7I9-1M6.js";
11
11
  import "./components/Wallet/Shared/appButton.js";
12
12
  import "./components/Wallet/Shared/Auth/otpForm.js";
13
- import { f as Ge } from "./fiatAssets-yeCL6wA9.js";
14
- import { f as Ue } from "./cryptoAssets-awZZ9HTs.js";
13
+ import { f as Ge } from "./fiatAssets-C_F8qNzr.js";
14
+ import { f as Ue } from "./cryptoAssets-BcVSdM1C.js";
15
15
  import "./context/snackBarContext.js";
16
16
  import "./util/conversions.js";
17
17
  import "./index-CAoLi5Qq.js";
18
18
  import { useSnackBar as je } from "./hooks/useSnackBar.js";
19
19
  import "./react-webcam-B3cXh1XT.js";
20
- import ie from "./components/Shared/transition.js";
20
+ import oe from "./components/Shared/transition.js";
21
21
  import "./components/Wallet/Shared/pin.js";
22
22
  import "./moment-h96o7c8I.js";
23
23
  import { M as Ve } from "./tooltip-CwdohO6q.js";
@@ -29,7 +29,7 @@ import He from "./components/RocketRamp/MinimalKyc/form.js";
29
29
  import { P as Je } from "./PlayArrow-1Y66tCVx.js";
30
30
  import { I as Qe } from "./Info-83BXSu73.js";
31
31
  import { G as Ze } from "./generic-token-B_ptO5yb.js";
32
- import oe from "./components/RocketRamp/Shared/Input/index.js";
32
+ import se from "./components/RocketRamp/Shared/Input/index.js";
33
33
  import { G as n } from "./Grid2-DX2sucnU.js";
34
34
  import { B as C } from "./Box-Be0E_-eR.js";
35
35
  import { T as a } from "./Typography-Ds4fpvK8.js";
@@ -37,11 +37,11 @@ import { C as I } from "./CircularProgress-fePUtoaj.js";
37
37
  import { I as et } from "./TextField-Cm9apaOp.js";
38
38
  import { F as tt } from "./FormControl-Cc-02KHW.js";
39
39
  import { S as rt } from "./Select-DpKw-a6h.js";
40
- import { M as se } from "./MenuItem-BkJ_C9Xs.js";
40
+ import { M as ce } from "./MenuItem-BkJ_C9Xs.js";
41
41
  import { L as nt } from "./ListItemIcon-DIz-ZmJ0.js";
42
- import { I as j } from "./IconButton-8B2ygvr4.js";
43
- import { C as ce } from "./Close-D20PIPiF.js";
44
- import { D as le, a as me } from "./DialogContent-D8jGp88c.js";
42
+ import { I as V } from "./IconButton-8B2ygvr4.js";
43
+ import { C as le } from "./Close-D20PIPiF.js";
44
+ import { D as me, a as de } from "./DialogContent-D8jGp88c.js";
45
45
  import './assets/index7.css';const E = {
46
46
  "confirm-payment": "_confirm-payment_1oe7d_1",
47
47
  "confirm-transaction-network": "_confirm-transaction-network_1oe7d_33",
@@ -56,7 +56,7 @@ import './assets/index7.css';const E = {
56
56
  navigate: S,
57
57
  store: p
58
58
  }) => {
59
- const i = d.estimate, A = d.create.order_id, x = d.loader, h = d.card, l = i.crypto_amount, b = de(i.fiat_currency), [F, _] = c(!1), [B, N] = c(!1), [s, L] = c(!1);
59
+ const i = d.estimate, A = d.create.order_id, x = d.loader, h = d.card, l = i.crypto_amount, b = ue(i.fiat_currency), [F, _] = c(!1), [B, N] = c(!1), [s, L] = c(!1);
60
60
  f(() => {
61
61
  A && F && (N(!1), L(!0));
62
62
  }, [A]), f(() => {
@@ -64,17 +64,20 @@ import './assets/index7.css';const E = {
64
64
  }, []);
65
65
  const M = () => {
66
66
  k(
67
- ue({
68
- apiKey: y,
69
- transaction_type: i.transaction_type,
70
- coin_amount: i.fiat_amount,
71
- exchange: i.exchange,
72
- payment_type: i.payment_type,
73
- fiat_ccy: i.fiat_currency,
74
- crypto_ccy: i.crypto_currency,
75
- network: i.network,
76
- payment_provider: i.payment_provider
77
- })
67
+ pe(
68
+ {
69
+ apiKey: y,
70
+ transaction_type: i.transaction_type,
71
+ coin_amount: i.fiat_amount,
72
+ exchange: i.exchange,
73
+ payment_type: i.payment_type,
74
+ fiat_ccy: i.fiat_currency,
75
+ crypto_ccy: i.crypto_currency,
76
+ network: i.network,
77
+ payment_provider: i.payment_provider
78
+ },
79
+ j
80
+ )
78
81
  );
79
82
  }, D = () => {
80
83
  k(
@@ -91,18 +94,18 @@ import './assets/index7.css';const E = {
91
94
  /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 8, children: q })
92
95
  ] });
93
96
  return /* @__PURE__ */ t(v, { children: [
94
- /* @__PURE__ */ e(Re, { onClickHandler: () => T(pe) }),
97
+ /* @__PURE__ */ e(Se, { onClickHandler: () => T(he) }),
95
98
  /* @__PURE__ */ e(a, { mt: 2, variant: "sm", fontWeight: 600, children: "Token Send From" }),
96
99
  /* @__PURE__ */ t(C, { mt: 2, className: E["confirm-payment"], children: [
97
100
  /* @__PURE__ */ e(
98
101
  "img",
99
102
  {
100
- src: i.payment_type === ae ? Me : ze,
103
+ src: i.payment_type === ie ? ze : Oe,
101
104
  width: 100,
102
105
  alt: "payment"
103
106
  }
104
107
  ),
105
- /* @__PURE__ */ e(a, { variant: "caption", component: "span", children: /* @__PURE__ */ e("strong", { children: i.payment_type === ae ? "Bank Account" : "Debit Card" }) })
108
+ /* @__PURE__ */ e(a, { variant: "caption", component: "span", children: /* @__PURE__ */ e("strong", { children: i.payment_type === ie ? "Bank Account" : "Debit Card" }) })
106
109
  ] }),
107
110
  /* @__PURE__ */ e(a, { mt: 4, variant: "sm", fontWeight: 600, children: "To Wallet Address" }),
108
111
  /* @__PURE__ */ e(
@@ -171,7 +174,7 @@ import './assets/index7.css';const E = {
171
174
  }
172
175
  ) }),
173
176
  /* @__PURE__ */ t(
174
- le,
177
+ me,
175
178
  {
176
179
  PaperProps: {
177
180
  sx: { maxWidth: "inherit", width: "60%" }
@@ -179,18 +182,18 @@ import './assets/index7.css';const E = {
179
182
  open: B,
180
183
  fullWidth: !0,
181
184
  onClose: () => N(!1),
182
- TransitionComponent: ie,
185
+ TransitionComponent: oe,
183
186
  children: [
184
187
  /* @__PURE__ */ e(
185
- j,
188
+ V,
186
189
  {
187
190
  "aria-label": "close",
188
191
  onClick: () => N(!1),
189
192
  className: E["close-btn"],
190
- children: /* @__PURE__ */ e(ce, {})
193
+ children: /* @__PURE__ */ e(le, {})
191
194
  }
192
195
  ),
193
- /* @__PURE__ */ t(me, { sx: { mt: 1 }, children: [
196
+ /* @__PURE__ */ t(de, { sx: { mt: 1 }, children: [
194
197
  /* @__PURE__ */ e(a, { className: "text-center", variant: "h4", children: /* @__PURE__ */ e("strong", { children: "Payout Details" }) }),
195
198
  /* @__PURE__ */ e(a, { sx: { mt: 2 }, className: "text-center", variant: "body1", children: "You will receieve funds in the following card:" }),
196
199
  /* @__PURE__ */ t(n, { container: !0, spacing: 1, sx: { padding: "0% 15%" }, children: [
@@ -228,7 +231,7 @@ import './assets/index7.css';const E = {
228
231
  }
229
232
  ),
230
233
  /* @__PURE__ */ t(
231
- le,
234
+ me,
232
235
  {
233
236
  PaperProps: {
234
237
  sx: { maxWidth: "inherit", width: "60%" }
@@ -236,18 +239,18 @@ import './assets/index7.css';const E = {
236
239
  open: s,
237
240
  fullWidth: !0,
238
241
  onClose: () => L(!1),
239
- TransitionComponent: ie,
242
+ TransitionComponent: oe,
240
243
  children: [
241
244
  /* @__PURE__ */ e(
242
- j,
245
+ V,
243
246
  {
244
247
  "aria-label": "close",
245
248
  onClick: () => L(!1),
246
249
  className: E["close-btn"],
247
- children: /* @__PURE__ */ e(ce, {})
250
+ children: /* @__PURE__ */ e(le, {})
248
251
  }
249
252
  ),
250
- /* @__PURE__ */ t(me, { sx: { mt: 1 }, children: [
253
+ /* @__PURE__ */ t(de, { sx: { mt: 1 }, children: [
251
254
  /* @__PURE__ */ e(a, { className: "text-center", variant: "h4", children: /* @__PURE__ */ e("strong", { children: "Order Complete" }) }),
252
255
  /* @__PURE__ */ e(a, { sx: { mt: 2 }, className: "text-center", variant: "body1", children: "Your order has been successfully completed. You can track your order either from dashboard or transaction history page." }),
253
256
  /* @__PURE__ */ t(n, { container: !0, spacing: 1, sx: { padding: "0% 15%" }, children: [
@@ -279,19 +282,19 @@ import './assets/index7.css';const E = {
279
282
  balance: A,
280
283
  store: x
281
284
  }) => {
282
- const h = "USD", l = de(h), b = k.fiats;
285
+ const h = "USD", l = ue(h), b = k.fiats;
283
286
  k.loader;
284
287
  const F = u.featureTokens.list, _ = u.featureTokens.default, B = u.loader, N = y.loader, s = y.estimate, L = y.card, M = s.fiat_out_amount, D = s.conversion_price, z = s.total_fee;
285
288
  let Y = 0, q = 0;
286
- const Q = s.fee_breakdown;
287
- for (let r = 0; r < Q.length; r++) {
288
- const o = Q[r];
289
+ const Z = s.fee_breakdown;
290
+ for (let r = 0; r < Z.length; r++) {
291
+ const o = Z[r];
289
292
  o.name === "ev_fee" ? Y = Number(o.value) : o.name === "network_fee" && (q = Number(o.value));
290
293
  }
291
- const [g, V] = c({
294
+ const [g, H] = c({
292
295
  symbol: ""
293
- }), [H, O] = c(!1), [X, fe] = c(0), [K, ye] = c(0), [xe, _e] = c([]), [Z, ge] = c(!1), [ee, be] = c(50), [te, Ne] = c(3e3), [J, ve] = c(50), [re, Ce] = c(3e3), [ke, P] = c(""), [w, ne] = c(
294
- s.crypto_amount || J.toString()
296
+ }), [J, O] = c(!1), [X, ye] = c(0), [K, xe] = c(0), [_e, ge] = c([]), [ee, be] = c(!1), [te, Ne] = c(50), [re, ve] = c(3e3), [Q, Ce] = c(50), [ne, ke] = c(3e3), [Fe, P] = c(""), [w, ae] = c(
297
+ s.crypto_amount || Q.toString()
295
298
  );
296
299
  f(() => {
297
300
  d(Ye());
@@ -300,9 +303,9 @@ import './assets/index7.css';const E = {
300
303
  const r = F.find(
301
304
  (o) => o.symbol === s.crypto_currency
302
305
  );
303
- V(r);
306
+ H(r);
304
307
  } else
305
- _ && _.id && V(_);
308
+ _ && _.id && H(_);
306
309
  }, [_, s.crypto_currency]), f(() => {
307
310
  K && S(694);
308
311
  }, [K]), f(() => {
@@ -312,45 +315,45 @@ import './assets/index7.css';const E = {
312
315
  for (let o = 0; o < b.length; o++) {
313
316
  if (b[o].symbol === h) {
314
317
  const m = b[o].payment_options;
315
- ye(b[o].id);
318
+ xe(b[o].id);
316
319
  let $ = !1;
317
320
  for (let R = 0; R < m.length; R++) {
318
321
  const G = m[R];
319
322
  G.active && (r.push(G), m[R].id === X && ($ = !0));
320
323
  }
321
- $ || fe(r[0].id);
324
+ $ || ye(r[0].id);
322
325
  }
323
- _e(r);
326
+ ge(r);
324
327
  }
325
328
  }, [h, b]), f(() => {
326
329
  if (g && g.id && w && X && K) {
327
- d(qe()), O(!1), P("");
330
+ d(qe(j)), O(!1), P("");
328
331
  const r = setTimeout(() => {
329
- Fe();
332
+ Ie();
330
333
  }, 1e3);
331
334
  return () => clearTimeout(r);
332
335
  }
333
336
  }, [g, w, X, F, K]);
334
- const Fe = () => {
337
+ const Ie = () => {
335
338
  var R;
336
339
  const r = parseFloat(w);
337
- if (g.symbol === Oe) {
338
- if (ee > r)
340
+ if (g.symbol === Pe) {
341
+ if (te > r)
339
342
  return P(
340
- `Minimum value should be greater than ${l + ee}`
343
+ `Minimum value should be greater than ${l + te}`
341
344
  ), O(!0), !1;
342
- if (te * 1 < r)
345
+ if (re * 1 < r)
343
346
  return P(
344
- `Maximum value should be less than ${l + te}`
347
+ `Maximum value should be less than ${l + re}`
345
348
  ), O(!0), !1;
346
349
  } else {
347
- if (J * 1 > r)
350
+ if (Q * 1 > r)
348
351
  return P(
349
- `Minimum value should be greater than ${l + J}`
352
+ `Minimum value should be greater than ${l + Q}`
350
353
  ), O(!0), !1;
351
- if (re * 1 < r)
354
+ if (ne * 1 < r)
352
355
  return P(
353
- `Maximum value should be less than ${l + re}`
356
+ `Maximum value should be less than ${l + ne}`
354
357
  ), O(!0), !1;
355
358
  }
356
359
  const o = parseFloat(x.balance.usd);
@@ -358,19 +361,22 @@ import './assets/index7.css';const E = {
358
361
  return P(
359
362
  `Store doesn't have enough balance. Currently only ${x.balance.usd} credits can be purchased`
360
363
  ), O(!0), !1;
361
- const m = xe.find((G) => G.id === X), $ = m.payment_type;
364
+ const m = _e.find((G) => G.id === X), $ = m.payment_type;
362
365
  d(
363
- ue({
364
- apiKey: i,
365
- transaction_type: Pe,
366
- coin_amount: w,
367
- exchange: g.exchange,
368
- payment_type: $,
369
- fiat_ccy: h,
370
- crypto_ccy: g.symbol,
371
- network: (R = g.network) == null ? void 0 : R.name,
372
- payment_provider: m.payment_provider
373
- })
366
+ pe(
367
+ {
368
+ apiKey: i,
369
+ transaction_type: we,
370
+ coin_amount: w,
371
+ exchange: g.exchange,
372
+ payment_type: $,
373
+ fiat_ccy: h,
374
+ crypto_ccy: g.symbol,
375
+ network: (R = g.network) == null ? void 0 : R.name,
376
+ payment_provider: m.payment_provider
377
+ },
378
+ j
379
+ )
374
380
  );
375
381
  };
376
382
  f(() => {
@@ -378,23 +384,23 @@ import './assets/index7.css';const E = {
378
384
  if (r > 0)
379
385
  for (let o = 0; o < r; o++) {
380
386
  const m = y.types[o];
381
- if (m.type === we) {
382
- be(parseFloat(m.min_deposit_amount)), Ne(parseFloat(m.max_deposit_amount));
387
+ if (m.type === We) {
388
+ Ne(parseFloat(m.min_deposit_amount)), ve(parseFloat(m.max_deposit_amount));
383
389
  break;
384
390
  }
385
- if (m.type === We) {
386
- ve(parseFloat(m.min_deposit_amount)), Ce(parseFloat(m.max_deposit_amount));
391
+ if (m.type === Be) {
392
+ Ce(parseFloat(m.min_deposit_amount)), ke(parseFloat(m.max_deposit_amount));
387
393
  break;
388
394
  }
389
395
  }
390
396
  }, [y.types]);
391
- const Ie = (r) => {
397
+ const Ee = (r) => {
392
398
  const o = r.target.value;
393
- o ? /^([0-9]+)$/.test(o) && ne(o) : ne("");
394
- }, Ee = (r) => {
399
+ o ? /^([0-9]+)$/.test(o) && ae(o) : ae("");
400
+ }, Te = (r) => {
395
401
  const o = F.find((m) => m.symbol === r);
396
- V(o);
397
- }, Te = () => {
402
+ H(o);
403
+ }, Ae = () => {
398
404
  if (!g.id)
399
405
  return p({ message: "Please select token" }), !1;
400
406
  if (!X)
@@ -409,7 +415,7 @@ import './assets/index7.css';const E = {
409
415
  return p({
410
416
  message: "Please make a purchase with debit card 1st and then make sell to recieve funds on the same debit card"
411
417
  }), !1;
412
- T(he);
418
+ T(fe);
413
419
  };
414
420
  return /* @__PURE__ */ t(v, { children: [
415
421
  /* @__PURE__ */ t(n, { mt: 0.5, spacing: 1, container: !0, children: [
@@ -455,15 +461,15 @@ import './assets/index7.css';const E = {
455
461
  ] }),
456
462
  /* @__PURE__ */ t(n, { mt: 2, spacing: 2, container: !0, children: [
457
463
  /* @__PURE__ */ e(n, { size: { xs: 6 }, children: /* @__PURE__ */ e(
458
- oe,
464
+ se,
459
465
  {
460
466
  label: "You Sell",
461
467
  value: w,
462
- onChange: Ie,
468
+ onChange: Ee,
463
469
  type: "text",
464
470
  labelFontWeight: 600,
465
- error: H,
466
- errorText: ke,
471
+ error: J,
472
+ errorText: Fe,
467
473
  required: !0,
468
474
  fullWidth: !0
469
475
  }
@@ -482,10 +488,10 @@ import './assets/index7.css';const E = {
482
488
  }
483
489
  },
484
490
  value: g.symbol,
485
- onChange: (r) => Ee(r.target.value),
491
+ onChange: (r) => Te(r.target.value),
486
492
  children: [
487
- /* @__PURE__ */ e(se, { value: "", children: "Please select" }),
488
- F.map((r) => /* @__PURE__ */ t(se, { value: r.symbol, children: [
493
+ /* @__PURE__ */ e(ce, { value: "", children: "Please select" }),
494
+ F.map((r) => /* @__PURE__ */ t(ce, { value: r.symbol, children: [
489
495
  /* @__PURE__ */ e(nt, { className: "dropdown-list-item", children: /* @__PURE__ */ e(
490
496
  "img",
491
497
  {
@@ -506,13 +512,13 @@ import './assets/index7.css';const E = {
506
512
  ] }) })
507
513
  ] }),
508
514
  /* @__PURE__ */ e(n, { mt: 3, spacing: 2, container: !0, children: /* @__PURE__ */ e(n, { size: { xs: 6 }, children: /* @__PURE__ */ e(
509
- oe,
515
+ se,
510
516
  {
511
517
  label: "You Receive",
512
518
  labelFontWeight: 600,
513
519
  value: M && parseFloat((+M * 1).toFixed(5)),
514
520
  type: "text",
515
- error: H,
521
+ error: J,
516
522
  readOnly: !0,
517
523
  required: !0,
518
524
  fullWidth: !0
@@ -520,10 +526,10 @@ import './assets/index7.css';const E = {
520
526
  ) }) }),
521
527
  /* @__PURE__ */ e(C, { mt: 3, sx: { color: "#1A202C" }, children: /* @__PURE__ */ t(n, { container: !0, children: [
522
528
  /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 12 }, children: /* @__PURE__ */ t(
523
- j,
529
+ V,
524
530
  {
525
531
  sx: { padding: "0" },
526
- onClick: () => ge((r) => !r),
532
+ onClick: () => be((r) => !r),
527
533
  disableFocusRipple: !0,
528
534
  disableRipple: !0,
529
535
  children: [
@@ -532,7 +538,7 @@ import './assets/index7.css';const E = {
532
538
  Je,
533
539
  {
534
540
  sx: {
535
- transform: `rotate(${Z ? "90" : "0"}deg)`,
541
+ transform: `rotate(${ee ? "90" : "0"}deg)`,
536
542
  fontSize: "15px"
537
543
  }
538
544
  }
@@ -540,7 +546,7 @@ import './assets/index7.css';const E = {
540
546
  ]
541
547
  }
542
548
  ) }),
543
- Z && /* @__PURE__ */ t(v, { children: [
549
+ ee && /* @__PURE__ */ t(v, { children: [
544
550
  /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(a, { variant: "caption", children: "Everest Fee" }) }),
545
551
  /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
546
552
  l,
@@ -579,9 +585,9 @@ import './assets/index7.css';const E = {
579
585
  /* @__PURE__ */ e(
580
586
  Ve,
581
587
  {
582
- title: Be,
588
+ title: Le,
583
589
  placement: "right",
584
- children: /* @__PURE__ */ e(j, { className: "info-fee-icon", children: /* @__PURE__ */ e(
590
+ children: /* @__PURE__ */ e(V, { className: "info-fee-icon", children: /* @__PURE__ */ e(
585
591
  Qe,
586
592
  {
587
593
  sx: {
@@ -608,14 +614,14 @@ import './assets/index7.css';const E = {
608
614
  /* @__PURE__ */ e(C, { mt: 4, children: /* @__PURE__ */ e(
609
615
  U,
610
616
  {
611
- onClick: Te,
612
- disabled: H || !M,
617
+ onClick: Ae,
618
+ disabled: J || !M,
613
619
  fullWidth: !0,
614
620
  children: /* @__PURE__ */ e("strong", { children: "Next" })
615
621
  }
616
622
  ) })
617
623
  ] });
618
- }, pe = "FORM_SCREEN", he = "CONFIRM_SCREEN", Qt = "PAYMENT_SCREEN", ot = "MINIMAL_KYC_SCREEN", st = ({ partnerKey: T, navigate: y }) => {
624
+ }, he = "FORM_SCREEN", fe = "CONFIRM_SCREEN", Qt = "PAYMENT_SCREEN", ot = "MINIMAL_KYC_SCREEN", st = ({ partnerKey: T, navigate: y }) => {
619
625
  const d = $e(), k = W((s) => s.app), u = W((s) => s.order), S = W(
620
626
  (s) => s.user.profile
621
627
  ), p = u.error, i = W(
@@ -624,15 +630,15 @@ import './assets/index7.css';const E = {
624
630
  (s) => s.fiatAssets
625
631
  ), x = W(
626
632
  (s) => s.cryptoAssets
627
- ), [h, l] = c(pe), [b, F] = c(0), { showAlertMessage: _, snackBar: B } = je();
633
+ ), [h, l] = c(he), [b, F] = c(0), { showAlertMessage: _, snackBar: B } = je();
628
634
  return f(() => {
629
- F(Se(S.tokens.list));
635
+ F(Me(S.tokens.list));
630
636
  }, [S.tokens]), f(() => {
631
637
  p && _({ message: p });
632
638
  }, [p]), f(() => {
633
639
  u.initMinimalKyc && (_({ message: p, type: "info" }), l(ot));
634
640
  }, [u.initMinimalKyc]), f(() => {
635
- d(Ge()), d(Ke(Le));
641
+ d(Ge()), d(Ke(Xe));
636
642
  }, []), /* @__PURE__ */ t(v, { children: [
637
643
  B,
638
644
  /* @__PURE__ */ e(
@@ -655,7 +661,7 @@ import './assets/index7.css';const E = {
655
661
  orderData: u,
656
662
  dispatch: d,
657
663
  getCryptoAssets: (s) => {
658
- d(Ue({ type: Xe, id: s, partnerKey: T }));
664
+ d(Ue({ type: j, id: s, partnerKey: T }));
659
665
  },
660
666
  partnerKey: T,
661
667
  balance: b,
@@ -679,7 +685,7 @@ import './assets/index7.css';const E = {
679
685
  He,
680
686
  {
681
687
  onComplete: () => {
682
- l(he);
688
+ l(fe);
683
689
  }
684
690
  }
685
691
  )
@@ -687,11 +693,11 @@ import './assets/index7.css';const E = {
687
693
  }
688
694
  )
689
695
  ] });
690
- }, Zt = Ae(st);
696
+ }, Zt = Re(st);
691
697
  export {
692
698
  at as B,
693
- he as C,
694
- pe as F,
699
+ fe as C,
700
+ he as F,
695
701
  ot as M,
696
702
  Qt as P,
697
703
  it as S,
@@ -1,4 +1,4 @@
1
- import { X as s, Y as t, Z as e, _ as o, $ as _, a0 as y } from "./constants-CdVZO8DH.js";
1
+ import { X as s, Y as t, Z as e, _ as o, $ as _, a0 as y } from "./constants-BJByDTQY.js";
2
2
  const p = (a) => ({
3
3
  type: e,
4
4
  payload: a
package/dist/main.js CHANGED
@@ -9,21 +9,21 @@ import { default as c } from "./components/Wallet/Account/index.js";
9
9
  import { default as k } from "./components/Wallet/Stake/index.js";
10
10
  import { default as g } from "./components/Wallet/MoveToEthereumOrEverChain/index.js";
11
11
  import { default as w } from "./components/Wallet/SwapAndUniSwap/index.js";
12
- import { i as P } from "./index-98VYd3cT.js";
13
- import { i as v } from "./index-CTglGXWu.js";
14
- import { i as D } from "./index-CFWL7CoB.js";
12
+ import { i as P } from "./index-DSZxScyY.js";
13
+ import { i as v } from "./index-BFIhKqqi.js";
14
+ import { i as D } from "./index-BEH1PkNC.js";
15
15
  import { default as K } from "./components/Wallet/Swap/index.js";
16
16
  import { default as A } from "./components/Wallet/EnterpriseKyc/index.js";
17
17
  import { default as I } from "./components/Wallet/Deposit/index.js";
18
- import { F as T } from "./index-Dx7-MJk2.js";
18
+ import { F as T } from "./index-CQe8cwpc.js";
19
19
  import { useSnackBar as H } from "./hooks/useSnackBar.js";
20
20
  import { SnackBarContext as j, useSnackBarContext as q } from "./context/snackBarContext.js";
21
21
  import { default as G } from "./components/RocketRamp/Player/SignIn/index.js";
22
22
  import { default as L } from "./components/RocketRamp/Player/SignUp/index.js";
23
23
  import { default as Q } from "./components/RocketRamp/Player/Dashboard/index.js";
24
24
  import { default as X } from "./components/RocketRamp/Transactions/index.js";
25
- import { i as Z } from "./index-86Hyynn-.js";
26
- import { i as $ } from "./index-SbY3kKNL.js";
25
+ import { i as Z } from "./index-B2OIoTNN.js";
26
+ import { i as $ } from "./index-DkMQ44xy.js";
27
27
  import { default as oe } from "./components/RocketRamp/MinimalKyc/index.js";
28
28
  import { default as re } from "./components/RocketRamp/Store/SignUp/index.js";
29
29
  import { default as fe } from "./components/RocketRamp/Store/Dashboard/index.js";
@@ -0,0 +1,43 @@
1
+ import { O as t, u as s, v as E, w as R, x as o, y as r, z as y, B as T, C as _, D as p } from "./constants-BJByDTQY.js";
2
+ const n = (e) => ({
3
+ type: _,
4
+ payload: e
5
+ }), S = (e, a) => ({
6
+ type: t,
7
+ payload: e,
8
+ meta: { orderType: a }
9
+ }), c = (e) => ({
10
+ type: s,
11
+ meta: { orderType: e }
12
+ }), D = () => ({
13
+ type: E
14
+ }), O = (e) => ({
15
+ type: o,
16
+ payload: e
17
+ }), u = (e) => ({
18
+ type: r,
19
+ payload: e
20
+ }), C = (e) => ({
21
+ type: y,
22
+ payload: e
23
+ }), m = (e) => ({
24
+ type: T,
25
+ payload: e
26
+ }), A = (e) => ({
27
+ type: p,
28
+ payload: e
29
+ }), U = () => ({
30
+ type: R
31
+ });
32
+ export {
33
+ A as a,
34
+ c as b,
35
+ S as c,
36
+ u as d,
37
+ n as e,
38
+ C as f,
39
+ m as g,
40
+ O as h,
41
+ U as i,
42
+ D as o
43
+ };
@@ -1,4 +1,4 @@
1
- import { S as t, r as a, s as e, t as S } from "./constants-CdVZO8DH.js";
1
+ import { S as t, r as a, s as e, t as S } from "./constants-BJByDTQY.js";
2
2
  const T = () => ({
3
3
  type: t
4
4
  }), o = (s) => ({
@@ -1,4 +1,4 @@
1
- import { U as a, j as e, k as t, l as E, m as A, n as T, o as l, p as o, q as S } from "./constants-CdVZO8DH.js";
1
+ import { U as a, j as e, k as t, l as E, m as A, n as T, o as l, p as o, q as S } from "./constants-BJByDTQY.js";
2
2
  const c = () => ({
3
3
  type: a
4
4
  }), L = () => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "everest-npm-features",
3
- "version": "0.0.20",
3
+ "version": "0.0.22",
4
4
  "description": "Everest frontend features library.",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
@@ -32,7 +32,7 @@
32
32
  "@mui/icons-material": "^6.0.2",
33
33
  "@mui/material": "^6.0.2",
34
34
  "@walletconnect/ethereum-provider": "^2.17.1",
35
- "everest-npm-api": "^0.0.15",
35
+ "everest-npm-api": "^0.0.17",
36
36
  "frames-react": "^1.2.2",
37
37
  "moment": "^2.30.1",
38
38
  "mui-one-time-password-input": "^5.0.0",