everest-npm-features 0.0.59 → 0.0.61

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 (86) hide show
  1. package/dist/{PlayArrow-BlkZJiHn.js → PlayArrow-Bjz9LxhD.js} +1 -1
  2. package/dist/assets/index7.css +1 -1
  3. package/dist/assets/index8.css +1 -1
  4. package/dist/{auth-WhDJHZtr.js → auth-Cwq6nfwY.js} +1 -1
  5. package/dist/{bank-BaOrdTcI.js → bank-C4pmTe--.js} +1 -1
  6. package/dist/components/RocketRamp/MinimalKyc/form.js +4 -5
  7. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  8. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  9. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  10. package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
  11. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  12. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  13. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  14. package/dist/components/RocketRamp/Player/Sell/index.js +10 -11
  15. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  16. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  18. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  19. package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
  20. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  21. package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
  22. package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
  23. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  24. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  25. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  26. package/dist/components/Shared/FullKyc/edd.js +4 -5
  27. package/dist/components/Shared/FullKyc/index.js +9 -10
  28. package/dist/components/Shared/FullKyc/pep.js +1 -1
  29. package/dist/components/Shared/FullKyc/personalDetails.js +3 -4
  30. package/dist/components/Shared/FullKyc/userInfo.js +4 -5
  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 +3 -4
  34. package/dist/components/Wallet/Account/ibanItem.js +4 -5
  35. package/dist/components/Wallet/Account/index.js +5 -6
  36. package/dist/components/Wallet/Account/sendIban.js +2 -2
  37. package/dist/components/Wallet/Buy/confirmTransaction.js +5 -6
  38. package/dist/components/Wallet/Buy/form.js +4 -4
  39. package/dist/components/Wallet/Buy/index.js +6 -6
  40. package/dist/components/Wallet/Deposit/index.js +3 -4
  41. package/dist/components/Wallet/EnterpriseKyc/edd.js +3 -4
  42. package/dist/components/Wallet/EnterpriseKyc/index.js +16 -17
  43. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +12 -13
  44. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3 -4
  45. package/dist/components/Wallet/EnterpriseKyc/verify.js +3 -4
  46. package/dist/components/Wallet/History/index.js +2 -2
  47. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +4 -5
  48. package/dist/components/Wallet/Portfolio/index.js +6 -7
  49. package/dist/components/Wallet/Profile/documents.js +1 -1
  50. package/dist/components/Wallet/Profile/index.js +3 -4
  51. package/dist/components/Wallet/Profile/storage.js +1 -1
  52. package/dist/components/Wallet/Receive/index.js +2 -2
  53. package/dist/components/Wallet/Sell/confirmTransaction.js +4 -5
  54. package/dist/components/Wallet/Sell/form.js +4 -4
  55. package/dist/components/Wallet/Sell/index.js +6 -6
  56. package/dist/components/Wallet/Send/index.js +342 -321
  57. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  58. package/dist/components/Wallet/Shared/BankSelect/index.js +3 -3
  59. package/dist/components/Wallet/Shared/CardCorp/index.js +3 -4
  60. package/dist/components/Wallet/Shared/addBank.js +4 -5
  61. package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
  62. package/dist/components/Wallet/Shared/manualSend.js +4 -5
  63. package/dist/components/Wallet/SignIn/index.js +2 -2
  64. package/dist/components/Wallet/SignUp/index.js +2 -2
  65. package/dist/components/Wallet/Stake/index.js +5 -6
  66. package/dist/components/Wallet/Swap/form.js +6 -7
  67. package/dist/components/Wallet/Swap/index.js +5 -5
  68. package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
  69. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
  70. package/dist/components/Wallet/Withdraw/form.js +4 -4
  71. package/dist/components/Wallet/Withdraw/index.js +5 -5
  72. package/dist/{constants-DREDnCMu.js → constants-DrmtdI1J.js} +7 -7
  73. package/dist/{cryptoAssets-DbyDgq4J.js → cryptoAssets-DyGDknvq.js} +1 -1
  74. package/dist/{index-DV1dVcrY.js → index-B9oucF3r.js} +30 -31
  75. package/dist/{index-CWoxdH_Z.js → index-BHG1bT4t.js} +48 -49
  76. package/dist/{index-DYP5Ex_T.js → index-BbVpeed7.js} +8 -9
  77. package/dist/{index-DJ7xuxBy.js → index-C7Td5yoW.js} +8 -9
  78. package/dist/{index-CuPCW3XC.js → index-D2JWUPz8.js} +4 -4
  79. package/dist/{index-PoMNqntN.js → index-Dh_ahu-u.js} +4 -4
  80. package/dist/{index-BXutc9ik.js → index-eEBuSKOo.js} +19 -20
  81. package/dist/{kyc-D4s_B9Cf.js → kyc-ksV3vBP_.js} +1 -1
  82. package/dist/main.js +7 -7
  83. package/dist/{order-DGBbo_Ox.js → order-DEp_Lmar.js} +1 -1
  84. package/dist/{stake-CdMc5H7D.js → stake-Ct7-_aWW.js} +1 -1
  85. package/dist/{wallet-DvfdQOju.js → wallet-CauUBXou.js} +1 -1
  86. package/package.json +1 -1
@@ -6,8 +6,8 @@ import ye from "./components/Wallet/Shared/Input/index.js";
6
6
  import Se from "./components/Wallet/Shared/appButton.js";
7
7
  import "./index-DlQqWbXG.js";
8
8
  import "./components/Wallet/Shared/Auth/otpForm.js";
9
- import { d as T, f as _e } from "./constants-DREDnCMu.js";
10
- import { c as Pe, d as Re } from "./kyc-D4s_B9Cf.js";
9
+ import { d as T, f as _e } from "./constants-DrmtdI1J.js";
10
+ import { c as Pe, d as Re } from "./kyc-ksV3vBP_.js";
11
11
  import { useSnackBarContext as ce } from "./context/snackBarContext.js";
12
12
  import xe from "./hooks/useEverestDispatch.js";
13
13
  import "./util/conversions.js";
@@ -16,17 +16,16 @@ import ve from "./components/Wallet/Shared/step.js";
16
16
  import "./react-webcam-B3cXh1XT.js";
17
17
  import "./components/Shared/transition.js";
18
18
  import "./tooltip-3UvETWtS.js";
19
- import "./components/Wallet/Shared/pin.js";
20
19
  import "./moment-h96o7c8I.js";
21
20
  import "./index.esm-BsMAMhYW.js";
22
21
  import { c as Be } from "./countries-BVn1FubK.js";
23
22
  import "./web3-u4qDZYpo.js";
24
23
  import "./index-ceeCtFuh.js";
25
- import { useDialogContext as Le } from "./context/dialogContext.js";
24
+ import { useDialogContext as be } from "./context/dialogContext.js";
26
25
  import le from "./components/Shared/FullKyc/countryList.js";
27
26
  import { B as D } from "./Box-B0YSYLco.js";
28
27
  import { T as ee } from "./Typography-pAaje37G.js";
29
- import be from "./components/Shared/FullKyc/pep.js";
28
+ import Le from "./components/Shared/FullKyc/pep.js";
30
29
  import { u as ne } from "./react-redux-C7I9-1M6.js";
31
30
  import Te from "./components/Shared/FullKyc/edd.js";
32
31
  import Fe from "./components/Shared/Sumsub/index.js";
@@ -37,7 +36,7 @@ import { M as ie } from "./MenuItem-DUdYOJr4.js";
37
36
  import { G as oe } from "./Grid-CFe3amXO.js";
38
37
  const ze = ({
39
38
  inputComponent: g,
40
- buttonComponent: j,
39
+ buttonComponent: k,
41
40
  setUserInfo: q,
42
41
  userInfo: l,
43
42
  docData: o,
@@ -46,8 +45,8 @@ const ze = ({
46
45
  kycFlow: E
47
46
  }) => {
48
47
  const d = xe();
49
- Le();
50
- const { showAlertMessage: c } = ce(), s = g ?? ye, U = j ?? Se, [a, f] = n(l.gender || ""), [u, F] = n(!1), [I, y] = n(l.email || ""), [te, re] = n(!1), [Y, Z] = n(""), [p, $] = n(l.address || ""), [r, K] = n(l.city || ""), [S, X] = n(l.state || ""), [N, W] = n(l.zipCode || ""), [O, e] = n(
48
+ be();
49
+ const { showAlertMessage: c } = ce(), s = g ?? ye, U = k ?? Se, [a, p] = n(l.gender || ""), [u, F] = n(!1), [I, y] = n(l.email || ""), [te, re] = n(!1), [Y, Z] = n(""), [m, $] = n(l.address || ""), [r, K] = n(l.city || ""), [S, X] = n(l.state || ""), [N, W] = n(l.zipCode || ""), [O, e] = n(
51
50
  l.country || null
52
51
  ), [A, _] = n(!1);
53
52
  z(() => {
@@ -55,17 +54,17 @@ const ze = ({
55
54
  }, [C]), z(() => {
56
55
  var i;
57
56
  if (o != null && o.issuingCountry) {
58
- o.gender && (f(o.gender), F(!0));
57
+ o.gender && (p(o.gender), F(!0));
59
58
  const x = Be.find(
60
- (m) => m.alpha3 === o.issuingCountry
59
+ (f) => f.alpha3 === o.issuingCountry
61
60
  );
62
61
  q({ ...l, country: x, nationality: x });
63
- const R = new Date(o.birthDate), B = R.getTimezoneOffset() * 6e4, L = new Date(
62
+ const R = new Date(o.birthDate), B = R.getTimezoneOffset() * 6e4, b = new Date(
64
63
  R.getTime() + B
65
64
  );
66
- if (Z(L.toLocaleDateString("en-US")), (i = o.checkedAddressBean) != null && i.street) {
67
- const m = o.checkedAddressBean;
68
- _(!0), $(m.street), K(m.city), X(m.state), W(m.postalCode);
65
+ if (Z(b.toLocaleDateString("en-US")), (i = o.checkedAddressBean) != null && i.street) {
66
+ const f = o.checkedAddressBean;
67
+ _(!0), $(f.street), K(f.city), X(f.state), W(f.postalCode);
69
68
  }
70
69
  } else
71
70
  P();
@@ -96,7 +95,7 @@ const ze = ({
96
95
  {
97
96
  value: a,
98
97
  label: "Gender",
99
- onChange: (i) => f(i.target.value),
98
+ onChange: (i) => p(i.target.value),
100
99
  disabled: !!(u && a),
101
100
  required: !0,
102
101
  children: [
@@ -124,9 +123,9 @@ const ze = ({
124
123
  {
125
124
  sx: { mt: 3 },
126
125
  label: "Home Address",
127
- value: p,
126
+ value: m,
128
127
  onChange: (i) => $(i.target.value),
129
- disabled: !!(A && p),
128
+ disabled: !!(A && m),
130
129
  required: !0
131
130
  }
132
131
  ),
@@ -183,7 +182,7 @@ const ze = ({
183
182
  if (!a)
184
183
  return c({ message: "Please provide gender" });
185
184
  }
186
- if (!p)
185
+ if (!m)
187
186
  return c({ message: "Please provide address" });
188
187
  if (!r) return c({ message: "Please provide city" });
189
188
  if (!S) return c({ message: "Please provide state" });
@@ -197,7 +196,7 @@ const ze = ({
197
196
  ...l,
198
197
  gender: a,
199
198
  email: I,
200
- address: p,
199
+ address: m,
201
200
  city: r,
202
201
  state: S,
203
202
  zipCode: N,
@@ -206,7 +205,7 @@ const ze = ({
206
205
  E !== T ? de : pe
207
206
  );
208
207
  },
209
- disabled: E !== T && !I || E !== T && !a || !p || !O,
208
+ disabled: E !== T && !I || E !== T && !a || !m || !O,
210
209
  fullWidth: !0,
211
210
  children: /* @__PURE__ */ t("strong", { children: "Next" })
212
211
  }
@@ -214,7 +213,7 @@ const ze = ({
214
213
  ] });
215
214
  }, qe = ({
216
215
  userInfo: g,
217
- setUserInfo: j,
216
+ setUserInfo: k,
218
217
  setScreen: q,
219
218
  inputComponent: l,
220
219
  buttonComponent: o
@@ -223,7 +222,7 @@ const ze = ({
223
222
  g.placeOfBirth || null
224
223
  ), [s, U] = n(
225
224
  g.nationality || null
226
- ), [a, f] = n(g.occupation || ""), [u, F] = n(g.employer || "");
225
+ ), [a, p] = n(g.occupation || ""), [u, F] = n(g.employer || "");
227
226
  return /* @__PURE__ */ v(ae, { children: [
228
227
  /* @__PURE__ */ t(D, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ t(ve, { totalSteps: 4, currentStep: 3 }) }),
229
228
  /* @__PURE__ */ v(D, { pl: 2, mt: 4, children: [
@@ -251,7 +250,7 @@ const ze = ({
251
250
  sx: { mt: 3 },
252
251
  label: "Occupation",
253
252
  value: a,
254
- onChange: (y) => f(y.target.value)
253
+ onChange: (y) => p(y.target.value)
255
254
  }
256
255
  ),
257
256
  /* @__PURE__ */ t(
@@ -282,7 +281,7 @@ const ze = ({
282
281
  h({ message: "Please provide city" });
283
282
  return;
284
283
  }
285
- j({
284
+ k({
286
285
  ...g,
287
286
  placeOfBirth: d,
288
287
  nationality: s,
@@ -314,7 +313,7 @@ const ze = ({
314
313
  }
315
314
  }, we = ({
316
315
  configurationId: g,
317
- incodeApiKey: j,
316
+ incodeApiKey: k,
318
317
  incodeApiUrl: q,
319
318
  incodeOnBoardingUrl: l,
320
319
  withContainer: o = !1,
@@ -323,11 +322,11 @@ const ze = ({
323
322
  isModalView: E = !1,
324
323
  kycFlow: d
325
324
  }) => {
326
- const c = Ne(!0), { showAlertMessage: s } = ce(), U = xe(), a = ne((e) => e.user), f = ne((e) => e.user.kyc);
325
+ const c = Ne(!0), { showAlertMessage: s } = ce(), U = xe(), a = ne((e) => e.user), p = ne((e) => e.user.kyc);
327
326
  ne((e) => e.session.uuid);
328
327
  const u = a.kyc, F = u.processComplete, I = {}, [y, te] = n(I);
329
328
  n({ token: "" });
330
- const [re, Y] = n(""), [Z, p] = n(
329
+ const [re, Y] = n(""), [Z, m] = n(
331
330
  d === T ? Q : se
332
331
  );
333
332
  z(() => {
@@ -349,7 +348,7 @@ const ze = ({
349
348
  default:
350
349
  e = se;
351
350
  }
352
- p(e);
351
+ m(e);
353
352
  }, [C]), z(() => {
354
353
  h && F && (s({ message: "KYC has been done successfully.", type: "success" }), h());
355
354
  }, [h, F]);
@@ -387,9 +386,9 @@ const ze = ({
387
386
  !0
388
387
  );
389
388
  }, W = (e, A, _, P, M, i, x, R = !1) => {
390
- var B, L, m;
389
+ var B, b, f;
391
390
  if (d !== _e && !R) {
392
- p(Ue);
391
+ m(Ue);
393
392
  return;
394
393
  }
395
394
  if (!u.loader) {
@@ -415,8 +414,8 @@ const ze = ({
415
414
  kycFlow: d,
416
415
  email: r.email,
417
416
  gender: r.gender,
418
- birthPlace: (L = r.placeOfBirth) == null ? void 0 : L.alpha3,
419
- nationality: (m = r.nationality) == null ? void 0 : m.alpha3,
417
+ birthPlace: (b = r.placeOfBirth) == null ? void 0 : b.alpha3,
418
+ nationality: (f = r.nationality) == null ? void 0 : f.alpha3,
420
419
  occupation: r.occupation,
421
420
  employer: r.employer,
422
421
  residentialAddress: V,
@@ -427,9 +426,9 @@ const ze = ({
427
426
  }
428
427
  };
429
428
  if (x) {
430
- const G = Object.entries(x).filter(([k, b]) => b.file && b.file.length > 0).map(([k, b]) => ({
431
- file: b.file[0],
432
- type: k
429
+ const G = Object.entries(x).filter(([j, L]) => L.file && L.file.length > 0).map(([j, L]) => ({
430
+ file: L.file[0],
431
+ type: j
433
432
  }));
434
433
  G.length > 0 && (w.eddDocuments = G);
435
434
  }
@@ -437,8 +436,8 @@ const ze = ({
437
436
  }
438
437
  };
439
438
  z(() => {
440
- var _, P, M, i, x, R, B, L, m, V, H, J, w, G, k, b, me, fe, ue, he, Ee, ge, Ce;
441
- const e = f == null ? void 0 : f.sumsubDocumentData;
439
+ var _, P, M, i, x, R, B, b, f, V, H, J, w, G, j, L, me, fe, ue, he, Ee, ge, Ce;
440
+ const e = p == null ? void 0 : p.sumsubDocumentData;
442
441
  if (!e) return;
443
442
  const A = {
444
443
  name: {
@@ -449,13 +448,13 @@ const ze = ({
449
448
  },
450
449
  address: ((B = (R = e == null ? void 0 : e.documentData) == null ? void 0 : R.address) == null ? void 0 : B.street) ?? "",
451
450
  checkedAddressBean: {
452
- street: ((m = (L = e == null ? void 0 : e.documentData) == null ? void 0 : L.address) == null ? void 0 : m.street) ?? "",
451
+ street: ((f = (b = e == null ? void 0 : e.documentData) == null ? void 0 : b.address) == null ? void 0 : f.street) ?? "",
453
452
  city: ((H = (V = e == null ? void 0 : e.documentData) == null ? void 0 : V.address) == null ? void 0 : H.city) ?? "",
454
453
  state: ((w = (J = e == null ? void 0 : e.documentData) == null ? void 0 : J.address) == null ? void 0 : w.state) ?? "",
455
- postalCode: ((k = (G = e == null ? void 0 : e.documentData) == null ? void 0 : G.address) == null ? void 0 : k.postcode) ?? "",
454
+ postalCode: ((j = (G = e == null ? void 0 : e.documentData) == null ? void 0 : G.address) == null ? void 0 : j.postcode) ?? "",
456
455
  zipColonyOptions: []
457
456
  },
458
- typeOfId: ((b = e == null ? void 0 : e.document) == null ? void 0 : b.docType) ?? "",
457
+ typeOfId: ((L = e == null ? void 0 : e.document) == null ? void 0 : L.docType) ?? "",
459
458
  documentFrontSubtype: "",
460
459
  documentBackSubtype: "",
461
460
  issueFront: 0,
@@ -484,15 +483,15 @@ const ze = ({
484
483
  personalNumberConfidence: 0
485
484
  }
486
485
  };
487
- te(A), p(Q);
488
- }, [f]);
486
+ te(A), m(Q);
487
+ }, [p == null ? void 0 : p.sumsubDocumentData]);
489
488
  const O = {
490
489
  INCODE_SCREEN: /* @__PURE__ */ t(Fe, { onApplicantIdLoaded: Y }),
491
490
  USER_INFO_SCREEN: /* @__PURE__ */ t(
492
491
  ze,
493
492
  {
494
493
  docData: y,
495
- setScreen: p,
494
+ setScreen: m,
496
495
  setUserInfo: K,
497
496
  userInfo: r,
498
497
  userEmail: a.profile.email,
@@ -502,15 +501,15 @@ const ze = ({
502
501
  PERSONAL_DETAILS_SCREEN: /* @__PURE__ */ t(
503
502
  qe,
504
503
  {
505
- setScreen: p,
504
+ setScreen: m,
506
505
  setUserInfo: K,
507
506
  userInfo: r
508
507
  }
509
508
  ),
510
509
  PEP_SCREEN: /* @__PURE__ */ t(
511
- be,
510
+ Le,
512
511
  {
513
- setScreen: p,
512
+ setScreen: m,
514
513
  setUserInfo: K,
515
514
  userInfo: r,
516
515
  processKyc: W,
@@ -521,7 +520,7 @@ const ze = ({
521
520
  EDD_SCREEN: /* @__PURE__ */ t(
522
521
  Te,
523
522
  {
524
- kycStoreData: f,
523
+ kycStoreData: p,
525
524
  eddData: S,
526
525
  setEddData: X,
527
526
  processKyc: N,
@@ -530,10 +529,10 @@ const ze = ({
530
529
  )
531
530
  }[Z];
532
531
  return o ? /* @__PURE__ */ t(Oe, { addPadding: !1, children: O }) : O;
533
- }, At = Ae(we);
532
+ }, Ot = Ae(we);
534
533
  export {
535
534
  Ue as E,
536
- At as F,
535
+ Ot as F,
537
536
  se as I,
538
537
  qe as P,
539
538
  ze as U,
@@ -2,16 +2,16 @@ import { jsxs as a, Fragment as _, jsx as e } from "react/jsx-runtime";
2
2
  import { useRef as ye, useMemo as Ve, useState as p, useEffect as h } from "react";
3
3
  import Je from "./hoc/withThemeProvider.js";
4
4
  import { u as C } from "./react-redux-C7I9-1M6.js";
5
- import { P as Qe } from "./PlayArrow-BlkZJiHn.js";
5
+ import { P as Qe } from "./PlayArrow-Bjz9LxhD.js";
6
6
  import { I as Ze } from "./Info-BVeUSPyk.js";
7
7
  import { G as et } from "./generic-token-B_ptO5yb.js";
8
8
  import { getCentralLedgetNetwork as V, getNetworkBackGround as be, getCurrencySymbol as tt } from "./util/functions.js";
9
9
  import Ne from "./components/Wallet/Shared/TokenModal/index.js";
10
10
  import { formatNumberWithoutRounding as ve } from "./util/conversions.js";
11
- import { af as A } from "./constants-DREDnCMu.js";
11
+ import { af as A } from "./constants-DrmtdI1J.js";
12
12
  import { c as ot, d as rt } from "./index-BQNs1mvn.js";
13
- import { f as nt, a as at, b as st } from "./cryptoAssets-DbyDgq4J.js";
14
- import { b as Z, c as _e, d as it, e as lt, f as ct, g as mt } from "./order-DGBbo_Ox.js";
13
+ import { f as nt, a as at, b as st } from "./cryptoAssets-DyGDknvq.js";
14
+ import { b as Z, c as _e, d as it, e as lt, f as ct, g as mt } from "./order-DEp_Lmar.js";
15
15
  import { DIALOG_SUCCESS_ICON as dt, TOKEN_TO_TOKEN as ee, ARROW_ICON as ut, ESTIMATE_TOOLTIP_TEXT as pt } from "./util/constants.js";
16
16
  import { M as ft } from "./tooltip-3UvETWtS.js";
17
17
  import "./index-DlQqWbXG.js";
@@ -22,18 +22,17 @@ import Fe from "./hooks/useEverestDispatch.js";
22
22
  import "./index-CAoLi5Qq.js";
23
23
  import "./react-webcam-B3cXh1XT.js";
24
24
  import "./components/Shared/transition.js";
25
- import "./components/Wallet/Shared/pin.js";
26
25
  import "./moment-h96o7c8I.js";
27
26
  import "./index.esm-BsMAMhYW.js";
28
27
  import "./web3-u4qDZYpo.js";
29
28
  import { s as i } from "./styles.module-DMd29SPQ.js";
30
29
  import Ce from "./components/Wallet/Shared/Order/selectCustomIcon.js";
31
30
  import "./index-ceeCtFuh.js";
32
- import { u as xt, a as gt } from "./wallet-DvfdQOju.js";
31
+ import { u as xt, a as gt } from "./wallet-CauUBXou.js";
33
32
  import { AuthContainer as yt } from "./components/Wallet/Shared/Container/index.js";
34
33
  import bt from "./components/Shared/MinimalKyc/index.js";
35
34
  import Nt from "./components/Wallet/Shared/Input/index.js";
36
- import { M as vt } from "./index-BXutc9ik.js";
35
+ import { M as vt } from "./index-eEBuSKOo.js";
37
36
  import "./index.esm-I_Bp2YLf.js";
38
37
  import { useDialogContext as _t } from "./context/dialogContext.js";
39
38
  import { B as R } from "./Box-B0YSYLco.js";
@@ -615,11 +614,11 @@ const Ct = ({
615
614
  }
616
615
  )
617
616
  }[z] });
618
- }, So = Je(wt);
617
+ }, Co = Je(wt);
619
618
  export {
620
619
  Ee as F,
621
620
  St as M,
622
621
  Ct as S,
623
622
  kt as a,
624
- So as i
623
+ Co as i
625
624
  };
@@ -1,19 +1,19 @@
1
1
  import { jsxs as a, Fragment as w, jsx as e } from "react/jsx-runtime";
2
2
  import { useMemo as Ze, useState as d, useEffect as h, useCallback as et } from "react";
3
3
  import tt from "./hoc/withThemeProvider.js";
4
- import { P as rt, f as nt } from "./PlayArrow-BlkZJiHn.js";
4
+ import { P as rt, f as nt } from "./PlayArrow-Bjz9LxhD.js";
5
5
  import { I as ot } from "./Info-BVeUSPyk.js";
6
6
  import { G as Ie } from "./generic-token-B_ptO5yb.js";
7
7
  import { PAYMENT_PROVIDER_PAYSAFE as it, ID_TOKEN_SYMBOL as Oe, FIAT_TO_EVER_ID as fe, FIAT_TO_TOKEN as he, ESTIMATE_TOOLTIP_TEXT as at, DIALOG_SUCCESS_ICON as st, PAYMENT_PROVIDER_PLAID as lt, PAYMENT_PROVIDER_CARDCORP as ct, PAYMENT_BANK as ze, SEPA_ICON as mt, VISA_ICON as dt } from "./util/constants.js";
8
- import { as as B } from "./constants-DREDnCMu.js";
8
+ import { as as B } from "./constants-DrmtdI1J.js";
9
9
  import { c as pt, d as ut, u as ft } from "./index-BQNs1mvn.js";
10
- import { d as ht, e as $e, b as ye, f as yt, g as ke, h as _t } from "./order-DGBbo_Ox.js";
10
+ import { d as ht, e as $e, b as ye, f as yt, g as ke, h as _t } from "./order-DEp_Lmar.js";
11
11
  import { M as xt } from "./tooltip-3UvETWtS.js";
12
12
  import { getCurrencySymbol as Ye, getNetworkBackGround as gt } from "./util/functions.js";
13
13
  import xe from "./components/Wallet/Shared/appButton.js";
14
14
  import Ct from "./components/Wallet/Shared/backBtn.js";
15
15
  import { s as m } from "./styles.module-DMd29SPQ.js";
16
- import { p as Nt, f as vt } from "./bank-BaOrdTcI.js";
16
+ import { p as Nt, f as vt } from "./bank-C4pmTe--.js";
17
17
  import { u as bt } from "./index.esm-BsMAMhYW.js";
18
18
  import { u as W } from "./react-redux-C7I9-1M6.js";
19
19
  import "./index-DlQqWbXG.js";
@@ -23,7 +23,6 @@ import "./util/conversions.js";
23
23
  import "./index-CAoLi5Qq.js";
24
24
  import "./react-webcam-B3cXh1XT.js";
25
25
  import "./components/Shared/transition.js";
26
- import "./components/Wallet/Shared/pin.js";
27
26
  import "./moment-h96o7c8I.js";
28
27
  import "./web3-u4qDZYpo.js";
29
28
  import "./index.esm-I_Bp2YLf.js";
@@ -33,8 +32,8 @@ import { T as s } from "./Typography-pAaje37G.js";
33
32
  import { B as S } from "./Box-B0YSYLco.js";
34
33
  import { G as i } from "./Grid-CFe3amXO.js";
35
34
  import { C as P } from "./CircularProgress-xZA3lvba.js";
36
- import { f as At } from "./cryptoAssets-DbyDgq4J.js";
37
- import { u as Ft, a as Pt } from "./wallet-DvfdQOju.js";
35
+ import { f as At } from "./cryptoAssets-DyGDknvq.js";
36
+ import { u as Ft, a as Pt } from "./wallet-CauUBXou.js";
38
37
  import { AuthContainer as St } from "./components/Wallet/Shared/Container/index.js";
39
38
  import Mt from "./components/Wallet/Shared/CardPayment/index.js";
40
39
  import It from "./components/Shared/MinimalKyc/index.js";
@@ -781,7 +780,7 @@ const Tt = ({
781
780
  }
782
781
  )
783
782
  }[j] });
784
- }, Ur = tt(qt);
783
+ }, qr = tt(qt);
785
784
  export {
786
785
  Tt as B,
787
786
  me as C,
@@ -790,5 +789,5 @@ export {
790
789
  $t as P,
791
790
  Lt as a,
792
791
  Yt as b,
793
- Ur as i
792
+ qr as i
794
793
  };
@@ -1,13 +1,13 @@
1
1
  import { jsxs as a, Fragment as F, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as c, useEffect as g } from "react";
3
3
  import Oe from "./hoc/withThemeProvider.js";
4
- import { P as we, f as Be } from "./PlayArrow-BlkZJiHn.js";
4
+ import { P as we, f as Be } from "./PlayArrow-Bjz9LxhD.js";
5
5
  import { I as Le } from "./Info-BVeUSPyk.js";
6
6
  import { G as Ve } from "./generic-token-B_ptO5yb.js";
7
7
  import ne from "./components/RocketRamp/Shared/Input/index.js";
8
8
  import { ID_TOKEN_SYMBOL as pe, FIAT_TO_EVER_ID as ae, FIAT_TO_TOKEN as ie, ESTIMATE_TOOLTIP_TEXT as Ye, VISA_PAYMENT as We, VISA_PAYMENT_ACTIVE as Ke, SEPA_PAYMENT as qe, SEPA_PAYMENT_ACTIVE as $e, PAYMENT_BANK as he, SEPA_ICON as De, VISA_ICON as be, PAYMENT_PROVIDER_CHECKOUT as fe } from "./util/constants.js";
9
- import { aL as Ue, as as te } from "./constants-DREDnCMu.js";
10
- import { d as Ge, e as Ce, f as je, h as He, g as ye } from "./order-DGBbo_Ox.js";
9
+ import { aL as Ue, as as te } from "./constants-DrmtdI1J.js";
10
+ import { d as Ge, e as Ce, f as je, h as He, g as ye } from "./order-DEp_Lmar.js";
11
11
  import { M as Xe } from "./tooltip-3UvETWtS.js";
12
12
  import { getCurrencySymbol as Ne, removeExtraSpace as Qe, getOrionBalance as Je } from "./util/functions.js";
13
13
  import oe from "./components/RocketRamp/Shared/Button/index.js";
@@ -19,7 +19,7 @@ import { C as I } from "./CircularProgress-xZA3lvba.js";
19
19
  import { E as Ze } from "./ErrorOutline-CPQcnl2b.js";
20
20
  import { s as xe, p as et, h as tt, v as rt } from "./index-ceeCtFuh.js";
21
21
  import { u as q } from "./react-redux-C7I9-1M6.js";
22
- import { f as nt } from "./cryptoAssets-DbyDgq4J.js";
22
+ import { f as nt } from "./cryptoAssets-DyGDknvq.js";
23
23
  import at from "./components/RocketRamp/MinimalKyc/form.js";
24
24
  import { useSnackBarContext as it } from "./context/snackBarContext.js";
25
25
  import ot from "./hooks/useEverestDispatch.js";
@@ -5,12 +5,12 @@ import Ae from "./components/Wallet/Shared/backBtn.js";
5
5
  import { DIALOG_SUCCESS_ICON as Ee, PAYMENT_BANK as J, SEPA_ICON as ke, VISA_ICON as Se, PAYMENT_PROVIDER_PAYSAFE as Re, FIAT_WITHDRAW as ee, EURO_ISO3 as ze, US_DOLLAR_ISO3 as ce, SYNTHETIC_EUR as Ie, SYNTHETIC_USD as Te } from "./util/constants.js";
6
6
  import { s as u } from "./styles.module-DMd29SPQ.js";
7
7
  import ie from "./components/Wallet/Shared/appButton.js";
8
- import { ai as G } from "./constants-DREDnCMu.js";
8
+ import { ai as G } from "./constants-DrmtdI1J.js";
9
9
  import { u as Be } from "./index-BQNs1mvn.js";
10
- import { b as te, e as pe, f as We, d as we, g as Oe } from "./order-DGBbo_Ox.js";
10
+ import { b as te, e as pe, f as We, d as we, g as Oe } from "./order-DEp_Lmar.js";
11
11
  import { u as j } from "./react-redux-C7I9-1M6.js";
12
- import { P as Pe, f as Me } from "./PlayArrow-BlkZJiHn.js";
13
- import { d as Le, u as Ye } from "./wallet-DvfdQOju.js";
12
+ import { P as Pe, f as Me } from "./PlayArrow-Bjz9LxhD.js";
13
+ import { d as Le, u as Ye } from "./wallet-CauUBXou.js";
14
14
  import { useSnackBarContext as qe } from "./context/snackBarContext.js";
15
15
  import { AuthContainer as Ke } from "./components/Wallet/Shared/Container/index.js";
16
16
  import $e from "./components/Shared/MinimalKyc/index.js";
@@ -1,13 +1,13 @@
1
1
  import { jsxs as n, Fragment as E, jsx as e } from "react/jsx-runtime";
2
2
  import { useMemo as et, useState as h, useEffect as x, useRef as tt } from "react";
3
3
  import rt from "./hoc/withThemeProvider.js";
4
- import { P as nt, f as ot } from "./PlayArrow-BlkZJiHn.js";
4
+ import { P as nt, f as ot } from "./PlayArrow-Bjz9LxhD.js";
5
5
  import { I as it } from "./Info-BVeUSPyk.js";
6
6
  import { G as me } from "./generic-token-B_ptO5yb.js";
7
7
  import { TOKEN_TO_FIAT as de, ESTIMATE_TOOLTIP_TEXT as st, SELL_WITHDRAW_ICON as at, DIALOG_SUCCESS_ICON as Re, DIALOG_ERROR_ICON as lt } from "./util/constants.js";
8
- import { aE as R, af as ct } from "./constants-DREDnCMu.js";
8
+ import { aK as R, af as ct } from "./constants-DrmtdI1J.js";
9
9
  import { c as ze, d as mt } from "./index-BQNs1mvn.js";
10
- import { d as dt, e as We, b as X, c as Ee, f as ut, i as pt, g as ht } from "./order-DGBbo_Ox.js";
10
+ import { d as dt, e as We, b as X, c as Ee, f as ut, i as pt, g as ht } from "./order-DEp_Lmar.js";
11
11
  import { M as ft } from "./tooltip-3UvETWtS.js";
12
12
  import { getCurrencySymbol as Me, getNetworkBackGround as xt, displayWalletAddress as yt } from "./util/functions.js";
13
13
  import gt from "./components/Wallet/Shared/backBtn.js";
@@ -21,7 +21,6 @@ import { formatNumberWithoutRounding as bt } from "./util/conversions.js";
21
21
  import { Q as _t } from "./index-CAoLi5Qq.js";
22
22
  import "./react-webcam-B3cXh1XT.js";
23
23
  import "./components/Shared/transition.js";
24
- import "./components/Wallet/Shared/pin.js";
25
24
  import "./moment-h96o7c8I.js";
26
25
  import "./index.esm-BsMAMhYW.js";
27
26
  import "./web3-u4qDZYpo.js";
@@ -32,8 +31,8 @@ import { T as i } from "./Typography-pAaje37G.js";
32
31
  import { B as T } from "./Box-B0YSYLco.js";
33
32
  import { G as r } from "./Grid-CFe3amXO.js";
34
33
  import { C as I } from "./CircularProgress-xZA3lvba.js";
35
- import { f as Ct } from "./cryptoAssets-DbyDgq4J.js";
36
- import { u as Nt, a as vt } from "./wallet-DvfdQOju.js";
34
+ import { f as Ct } from "./cryptoAssets-DyGDknvq.js";
35
+ import { u as Nt, a as vt } from "./wallet-CauUBXou.js";
37
36
  import { AuthContainer as kt } from "./components/Wallet/Shared/Container/index.js";
38
37
  import St from "./components/Shared/MinimalKyc/index.js";
39
38
  import Oe from "./components/Wallet/Shared/Input/index.js";
@@ -65,7 +64,7 @@ const Ft = ({
65
64
  navigate: g
66
65
  }) => {
67
66
  var ke, Se, we;
68
- const { openDialog: v, ConfirmDialog: A } = At(), O = L((t) => t.app.features).withdraw, D = L(ze), G = L(mt), { data: F, loader: H } = D, { data: w, loader: m } = G, K = et(() => [
67
+ const { openDialog: v, ConfirmDialog: A } = At(), O = L((t) => t.app.features).withdraw, D = L(ze), G = L(mt), { data: F, loader: K } = D, { data: w, loader: m } = G, H = et(() => [
69
68
  ...F,
70
69
  ...w.filter(
71
70
  (t) => !F.some(
@@ -81,7 +80,7 @@ const Ft = ({
81
80
  }
82
81
  const [a, be] = h({
83
82
  symbol: ""
84
- }), [ne, oe] = h(!1), [P, qe] = h(2), [Ye, De] = h([]), [_e, Ge] = h(!1), [j, He] = h(50), [ie, Ke] = h(3e3), [Ce, se] = h(""), [U, ae] = h(C.crypto_amount || "0.05"), [je, Ne] = h(!1), ee = Number((ke = C == null ? void 0 : C.input_token) == null ? void 0 : ke.fiat_amount), q = $.find((t) => t.id === P), M = Me(q == null ? void 0 : q.symbol);
83
+ }), [ne, oe] = h(!1), [P, qe] = h(2), [Ye, De] = h([]), [_e, Ge] = h(!1), [j, Ke] = h(50), [ie, He] = h(3e3), [Ce, se] = h(""), [U, ae] = h(C.crypto_amount || "0.05"), [je, Ne] = h(!1), ee = Number((ke = C == null ? void 0 : C.input_token) == null ? void 0 : ke.fiat_amount), q = $.find((t) => t.id === P), M = Me(q == null ? void 0 : q.symbol);
85
84
  x(() => {
86
85
  const t = [];
87
86
  for (let s = 0; s < $.length; s++) {
@@ -131,7 +130,7 @@ const Ft = ({
131
130
  for (let s = 0; s < t; s++) {
132
131
  const N = d.types[s];
133
132
  if (N.type === de) {
134
- He(parseFloat(N.min_deposit_amount)), Ke(parseFloat(N.max_deposit_amount));
133
+ Ke(parseFloat(N.min_deposit_amount)), He(parseFloat(N.max_deposit_amount));
135
134
  break;
136
135
  }
137
136
  }
@@ -471,14 +470,14 @@ const Ft = ({
471
470
  ] }) })
472
471
  ] })
473
472
  ] }) }),
474
- /* @__PURE__ */ e(T, { sx: { alignItems: "left", width: "100%" }, children: H || m ? /* @__PURE__ */ e(T, { mt: 2, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(I, {}) }) : /* @__PURE__ */ e(E, { children: /* @__PURE__ */ n(V, { variant: "filled", fullWidth: !0, children: [
473
+ /* @__PURE__ */ e(T, { sx: { alignItems: "left", width: "100%" }, children: K || m ? /* @__PURE__ */ e(T, { mt: 2, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(I, {}) }) : /* @__PURE__ */ e(E, { children: /* @__PURE__ */ n(V, { variant: "filled", fullWidth: !0, children: [
475
474
  !p && /* @__PURE__ */ e(Fe, { children: "Select wallet address" }),
476
475
  /* @__PURE__ */ e(
477
476
  ce,
478
477
  {
479
478
  value: p,
480
479
  onChange: (t) => o && o(t.target.value),
481
- children: K.map((t, s) => /* @__PURE__ */ e(re, { value: t.address, children: t.name + "(" + t.address + ")" }, s))
480
+ children: H.map((t, s) => /* @__PURE__ */ e(re, { value: t.address, children: t.name + "(" + t.address + ")" }, s))
482
481
  }
483
482
  )
484
483
  ] }) }) }),
@@ -541,7 +540,7 @@ const Ft = ({
541
540
  o.fiat_amount;
542
541
  const O = Me(o.fiat_currency), [D, G] = h(!1);
543
542
  x(() => {
544
- g && D && (z.data.some((K) => K.address === f) ? p({
543
+ g && D && (z.data.some((H) => H.address === f) ? p({
545
544
  icon: Re,
546
545
  title: "Sell Success",
547
546
  message: "Your transaction was successful for more details on the transaction please track your order.",
@@ -581,7 +580,7 @@ const Ft = ({
581
580
  R
582
581
  )
583
582
  );
584
- }, H = () => {
583
+ }, K = () => {
585
584
  u(
586
585
  ut({
587
586
  apiKey: d,
@@ -657,7 +656,7 @@ const Ft = ({
657
656
  /* @__PURE__ */ e(T, { mt: 4, children: /* @__PURE__ */ e(
658
657
  J,
659
658
  {
660
- onClick: H,
659
+ onClick: K,
661
660
  disabled: b,
662
661
  fullWidth: !0,
663
662
  children: /* @__PURE__ */ e("strong", { children: b ? /* @__PURE__ */ n(E, { children: [
@@ -677,10 +676,10 @@ const Ft = ({
677
676
  var B;
678
677
  const S = Be(), y = L(
679
678
  (_) => _.cryptoAssets
680
- ), { showAlertMessage: z } = pe(), { openDialog: p } = Le(), o = d.create.order_id, g = d.depositAddress, v = d.depositComplete, A = d.error, [b, O] = h(!1), [D, G] = h(!1), [F, H] = h("");
679
+ ), { showAlertMessage: z } = pe(), { openDialog: p } = Le(), o = d.create.order_id, g = d.depositAddress, v = d.depositComplete, A = d.error, [b, O] = h(!1), [D, G] = h(!1), [F, K] = h("");
681
680
  let w = "Swap", m = d.estimate[ct];
682
681
  k === R && (w = "Sell", m = d.estimate[R]);
683
- let K = (B = y.tokens.find(
682
+ let H = (B = y.tokens.find(
684
683
  (_) => _.symbol === m.input_token.symbol
685
684
  )) == null ? void 0 : B.icon_uri;
686
685
  x(() => {
@@ -758,7 +757,7 @@ const Ft = ({
758
757
  {
759
758
  style: { marginRight: "10px" },
760
759
  width: 32,
761
- src: K,
760
+ src: H,
762
761
  onError: ({ currentTarget: _ }) => {
763
762
  _.onerror = null, _.src = me;
764
763
  },
@@ -826,7 +825,7 @@ const Ft = ({
826
825
  Oe,
827
826
  {
828
827
  value: F,
829
- onChange: (_) => H(_.target.value),
828
+ onChange: (_) => K(_.target.value),
830
829
  type: "text",
831
830
  required: !0,
832
831
  fullWidth: !0
@@ -906,7 +905,7 @@ const Ft = ({
906
905
  }
907
906
  )
908
907
  }[z] });
909
- }, Mr = rt(Mt);
908
+ }, Wr = rt(Mt);
910
909
  export {
911
910
  Pe as C,
912
911
  Y as F,
@@ -915,5 +914,5 @@ export {
915
914
  It as a,
916
915
  zt as b,
917
916
  Wt as c,
918
- Mr as i
917
+ Wr as i
919
918
  };
@@ -1,4 +1,4 @@
1
- import { a5 as s, a6 as e, a7 as t, a8 as E, a9 as _, aa as o, ab as c, ac as S } from "./constants-DREDnCMu.js";
1
+ import { a5 as s, a6 as e, a7 as t, a8 as E, a9 as _, aa as o, ab as c, ac as S } from "./constants-DrmtdI1J.js";
2
2
  const p = (a) => ({
3
3
  type: _,
4
4
  payload: a
package/dist/main.js CHANGED
@@ -11,13 +11,13 @@ import { default as g } from "./components/Wallet/Account/index.js";
11
11
  import { default as P } from "./components/Wallet/Stake/index.js";
12
12
  import { default as w } from "./components/Wallet/MoveToEthereumOrEverChain/index.js";
13
13
  import { default as C } from "./components/Wallet/SwapAndUniSwap/index.js";
14
- import { i as M } from "./index-DJ7xuxBy.js";
15
- import { i as E } from "./index-BXutc9ik.js";
16
- import { i as b } from "./index-PoMNqntN.js";
17
- import { i as F } from "./index-DYP5Ex_T.js";
14
+ import { i as M } from "./index-C7Td5yoW.js";
15
+ import { i as E } from "./index-eEBuSKOo.js";
16
+ import { i as b } from "./index-Dh_ahu-u.js";
17
+ import { i as F } from "./index-BbVpeed7.js";
18
18
  import { default as I } from "./components/Wallet/EnterpriseKyc/index.js";
19
19
  import { default as W } from "./components/Wallet/Deposit/index.js";
20
- import { F as j } from "./index-CWoxdH_Z.js";
20
+ import { F as j } from "./index-BHG1bT4t.js";
21
21
  import { useSnackBar as z } from "./hooks/useSnackBar.js";
22
22
  import { SnackBarContext as J, useSnackBarContext as L } from "./context/snackBarContext.js";
23
23
  import { useDialog as Q } from "./hooks/useDialog/index.js";
@@ -26,8 +26,8 @@ import { default as _ } from "./components/RocketRamp/Player/SignIn/index.js";
26
26
  import { default as oo } from "./components/RocketRamp/Player/SignUp/index.js";
27
27
  import { default as ao } from "./components/RocketRamp/Player/Dashboard/index.js";
28
28
  import { default as to } from "./components/RocketRamp/Transactions/index.js";
29
- import { i as po } from "./index-CuPCW3XC.js";
30
- import { i as so } from "./index-DV1dVcrY.js";
29
+ import { i as po } from "./index-D2JWUPz8.js";
30
+ import { i as so } from "./index-B9oucF3r.js";
31
31
  import { default as xo } from "./components/RocketRamp/MinimalKyc/index.js";
32
32
  import { default as io } from "./components/RocketRamp/Store/SignUp/index.js";
33
33
  import { default as Ro } from "./components/RocketRamp/Store/Dashboard/index.js";