everest-npm-features 0.0.34 → 0.0.36

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-CcX9hutu.js → PlayArrow-KBDRjTbR.js} +1 -1
  2. package/dist/assets/documents.css +1 -1
  3. package/dist/{auth-BzJj8HQz.js → auth-BQ4bZOAL.js} +3 -3
  4. package/dist/{bank-CCdUsDB2.js → bank-Bz7oos87.js} +6 -6
  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/edd.d.ts +1 -1
  26. package/dist/components/Shared/FullKyc/edd.js +65 -60
  27. package/dist/components/Shared/FullKyc/index.js +3 -3
  28. package/dist/components/Shared/FullKyc/pep.js +1 -1
  29. package/dist/components/Shared/FullKyc/personalDetails.js +3 -3
  30. package/dist/components/Shared/FullKyc/types.d.ts +1 -0
  31. package/dist/components/Shared/FullKyc/userInfo.js +4 -4
  32. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  33. package/dist/components/Wallet/Account/createIban.js +37 -33
  34. package/dist/components/Wallet/Account/iban.js +18 -18
  35. package/dist/components/Wallet/Account/index.js +3 -3
  36. package/dist/components/Wallet/Account/sendIban.js +7 -7
  37. package/dist/components/Wallet/Buy/confirmTransaction.js +3 -3
  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 +2 -2
  41. package/dist/components/Wallet/EnterpriseKyc/edd.js +2 -2
  42. package/dist/components/Wallet/EnterpriseKyc/index.js +115 -103
  43. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +3 -3
  44. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +2 -2
  45. package/dist/components/Wallet/EnterpriseKyc/verify.js +2 -2
  46. package/dist/components/Wallet/History/index.js +2 -2
  47. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +12 -12
  48. package/dist/components/Wallet/Portfolio/index.js +4 -4
  49. package/dist/components/Wallet/Profile/documents.js +2 -2
  50. package/dist/components/Wallet/Profile/index.js +114 -104
  51. package/dist/components/Wallet/Receive/index.js +2 -2
  52. package/dist/components/Wallet/Sell/confirmTransaction.js +4 -4
  53. package/dist/components/Wallet/Sell/form.js +4 -4
  54. package/dist/components/Wallet/Sell/index.js +6 -6
  55. package/dist/components/Wallet/Send/index.js +25 -25
  56. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  57. package/dist/components/Wallet/Shared/addBank.js +3 -3
  58. package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
  59. package/dist/components/Wallet/Shared/manualSend.js +4 -4
  60. package/dist/components/Wallet/SignIn/index.js +2 -2
  61. package/dist/components/Wallet/SignUp/index.js +2 -2
  62. package/dist/components/Wallet/Stake/index.js +4 -4
  63. package/dist/components/Wallet/Swap/form.js +5 -5
  64. package/dist/components/Wallet/Swap/index.js +5 -5
  65. package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
  66. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
  67. package/dist/components/Wallet/Withdraw/form.js +4 -4
  68. package/dist/components/Wallet/Withdraw/index.js +5 -5
  69. package/dist/{constants-B1fWUUck.js → constants-rDP6jwIs.js} +147 -143
  70. package/dist/{cryptoAssets-BU3EHVIY.js → cryptoAssets-BXjfidU4.js} +1 -1
  71. package/dist/{documents-PylmjRbk.js → documents-CF1bpppV.js} +134 -133
  72. package/dist/{index-DjWC9DGk.js → index-0PiVFV1G.js} +6 -6
  73. package/dist/{index-DUCRi3yf.js → index-B9MyZ0sJ.js} +14 -14
  74. package/dist/{index-BW-RJYiq.js → index-Btrmgb1g.js} +30 -29
  75. package/dist/{index-CQ-u6bTN.js → index-CdfFs6U2.js} +16 -16
  76. package/dist/{index-Dka1TfUt.js → index-JY7R8k4h.js} +4 -4
  77. package/dist/{index-OSl1NZiT.js → index-PitHP3ul.js} +5 -5
  78. package/dist/{index-BJsAyUhP.js → index-aLtOG-sf.js} +18 -18
  79. package/dist/{kyc-CSbzb5MW.js → kyc-ChoR-OWg.js} +1 -1
  80. package/dist/main.js +7 -7
  81. package/dist/{order-BtLfPFH9.js → order-CTEvMHv4.js} +3 -3
  82. package/dist/{stake-C7IQSI0J.js → stake-nzM9DW-r.js} +1 -1
  83. package/dist/util/constants.d.ts +2 -1
  84. package/dist/util/constants.js +32 -31
  85. package/dist/{wallet-Bq1E67kO.js → wallet-DZ3-OqYH.js} +8 -8
  86. package/package.json +2 -2
@@ -5,22 +5,22 @@ import Se from "./components/RocketRamp/Shared/backBtn.js";
5
5
  import { getCurrencySymbol as ue, getOrionBalance as Me } from "./util/functions.js";
6
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 { am as j } from "./constants-B1fWUUck.js";
9
- import { e as pe, f as De, k as Ye, d as qe, g as Ke } from "./order-BtLfPFH9.js";
8
+ import { aq as j } from "./constants-rDP6jwIs.js";
9
+ import { e as pe, f as De, k as qe, d as Ye, g as Ke } from "./order-CTEvMHv4.js";
10
10
  import "./components/Wallet/Shared/appButton.js";
11
11
  import { u as $e, a as W } from "./react-redux-B4BZippc.js";
12
12
  import "./components/Wallet/Shared/Auth/otpForm.js";
13
- import { P as Ge, f as Ue } from "./PlayArrow-CcX9hutu.js";
14
- import { f as je } from "./cryptoAssets-BU3EHVIY.js";
13
+ import { P as Ge, f as Ue } from "./PlayArrow-KBDRjTbR.js";
14
+ import { f as je } from "./cryptoAssets-BXjfidU4.js";
15
15
  import "./context/snackBarContext.js";
16
16
  import "./util/conversions.js";
17
17
  import "./index-CAoLi5Qq.js";
18
18
  import { useSnackBar as Ve } from "./hooks/useSnackBar.js";
19
19
  import "./react-webcam-B3cXh1XT.js";
20
20
  import oe from "./components/Shared/transition.js";
21
+ import { M as He } from "./tooltip-3UvETWtS.js";
21
22
  import "./components/Wallet/Shared/pin.js";
22
23
  import "./moment-h96o7c8I.js";
23
- import { M as He } from "./tooltip-3UvETWtS.js";
24
24
  import "./index.esm-BsMAMhYW.js";
25
25
  import "./web3-u4qDZYpo.js";
26
26
  import "./index-B8QKlEgj.js";
@@ -89,9 +89,9 @@ import './assets/index7.css';const E = {
89
89
  storeId: p.info.id
90
90
  })
91
91
  ), _(!0);
92
- }, z = ({ label: Y, value: q }) => /* @__PURE__ */ t(v, { children: [
93
- /* @__PURE__ */ e(n, { size: 4, children: /* @__PURE__ */ e("strong", { children: Y }) }),
94
- /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 8, children: q })
92
+ }, z = ({ label: q, value: Y }) => /* @__PURE__ */ t(v, { children: [
93
+ /* @__PURE__ */ e(n, { size: 4, children: /* @__PURE__ */ e("strong", { children: q }) }),
94
+ /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 8, children: Y })
95
95
  ] });
96
96
  return /* @__PURE__ */ t(v, { children: [
97
97
  /* @__PURE__ */ e(Se, { onClickHandler: () => T(he) }),
@@ -285,11 +285,11 @@ import './assets/index7.css';const E = {
285
285
  const h = "USD", l = ue(h), b = k.fiats;
286
286
  k.loader;
287
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;
288
- let Y = 0, q = 0;
288
+ let q = 0, Y = 0;
289
289
  const Z = s.fee_breakdown;
290
290
  for (let r = 0; r < Z.length; r++) {
291
291
  const o = Z[r];
292
- o.name === "ev_fee" ? Y = Number(o.value) : o.name === "network_fee" && (q = Number(o.value));
292
+ o.name === "ev_fee" ? q = Number(o.value) : o.name === "network_fee" && (Y = Number(o.value));
293
293
  }
294
294
  const [g, H] = c({
295
295
  symbol: ""
@@ -297,7 +297,7 @@ import './assets/index7.css';const E = {
297
297
  s.crypto_amount || Q.toString()
298
298
  );
299
299
  f(() => {
300
- d(Ye());
300
+ d(qe());
301
301
  }, []), f(() => {
302
302
  if (s.crypto_currency) {
303
303
  const r = F.find(
@@ -327,7 +327,7 @@ import './assets/index7.css';const E = {
327
327
  }
328
328
  }, [h, b]), f(() => {
329
329
  if (g && g.id && w && X && K) {
330
- d(qe(j)), O(!1), P("");
330
+ d(Ye(j)), O(!1), P("");
331
331
  const r = setTimeout(() => {
332
332
  Ie();
333
333
  }, 1e3);
@@ -557,7 +557,7 @@ import './assets/index7.css';const E = {
557
557
  size: 15,
558
558
  color: "primary"
559
559
  }
560
- ) : Y.toFixed(2)
560
+ ) : q.toFixed(2)
561
561
  ] }) }),
562
562
  /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(a, { variant: "caption", children: "Network Fee" }) }),
563
563
  /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
@@ -569,7 +569,7 @@ import './assets/index7.css';const E = {
569
569
  size: 15,
570
570
  color: "primary"
571
571
  }
572
- ) : q.toFixed(2)
572
+ ) : Y.toFixed(2)
573
573
  ] }) })
574
574
  ] }),
575
575
  /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(a, { variant: "caption", children: "Total Fees" }) }),
@@ -7,17 +7,17 @@ import ce from "./components/Wallet/Shared/Input/index.js";
7
7
  import de from "./components/Wallet/Shared/appButton.js";
8
8
  import { u as ue, a as J } from "./react-redux-B4BZippc.js";
9
9
  import "./components/Wallet/Shared/Auth/otpForm.js";
10
- import { a as v, c as be } from "./constants-B1fWUUck.js";
11
- import { b as ve, c as xe } from "./kyc-CSbzb5MW.js";
10
+ import { d as v, f as be } from "./constants-rDP6jwIs.js";
11
+ import { b as ve, c as xe } from "./kyc-ChoR-OWg.js";
12
12
  import { useSnackBarContext as pe } from "./context/snackBarContext.js";
13
13
  import "./util/conversions.js";
14
14
  import "./index-CAoLi5Qq.js";
15
15
  import me from "./components/Wallet/Shared/step.js";
16
16
  import "./react-webcam-B3cXh1XT.js";
17
17
  import "./components/Shared/transition.js";
18
+ import "./tooltip-3UvETWtS.js";
18
19
  import "./components/Wallet/Shared/pin.js";
19
20
  import "./moment-h96o7c8I.js";
20
- import "./tooltip-3UvETWtS.js";
21
21
  import "./index.esm-BsMAMhYW.js";
22
22
  import { c as De } from "./countries-BVn1FubK.js";
23
23
  import "./web3-u4qDZYpo.js";
@@ -35,18 +35,18 @@ import { S as Ae } from "./Select-CB5yWmyn.js";
35
35
  import { M as Q } from "./MenuItem-DUdYOJr4.js";
36
36
  import { G as V } from "./Grid-CFe3amXO.js";
37
37
  const Be = ({
38
- inputComponent: m,
38
+ inputComponent: f,
39
39
  buttonComponent: R,
40
40
  setUserInfo: x,
41
41
  userInfo: n,
42
42
  docData: i,
43
- setScreen: f,
43
+ setScreen: h,
44
44
  userEmail: g,
45
45
  kycFlow: p
46
46
  }) => {
47
47
  const a = ue();
48
48
  _e();
49
- const { showAlertMessage: u } = pe(), l = m ?? ce, D = R ?? de, [c, _] = r(n.gender || ""), [h, N] = r(!1), [P, C] = r(n.email || ""), [Y, Z] = r(!1), [z, A] = r(""), [d, I] = r(n.address || ""), [t, O] = r(n.city || ""), [S, M] = r(n.state || ""), [b, B] = r(n.zipCode || ""), [L, q] = r(
49
+ const { showAlertMessage: u } = pe(), l = f ?? ce, D = R ?? de, [c, _] = r(n.gender || ""), [m, N] = r(!1), [P, C] = r(n.email || ""), [Y, Z] = r(!1), [z, A] = r(""), [d, I] = r(n.address || ""), [t, O] = r(n.city || ""), [S, M] = r(n.state || ""), [b, B] = r(n.zipCode || ""), [L, q] = r(
50
50
  n.country || null
51
51
  ), [s, X] = r(!1);
52
52
  K(() => {
@@ -96,7 +96,7 @@ const Be = ({
96
96
  value: c,
97
97
  label: "Gender",
98
98
  onChange: (o) => _(o.target.value),
99
- disabled: !!(h && c),
99
+ disabled: !!(m && c),
100
100
  required: !0,
101
101
  children: [
102
102
  /* @__PURE__ */ e(Q, { value: "M", children: "Male" }, "M"),
@@ -199,7 +199,7 @@ const Be = ({
199
199
  state: S,
200
200
  zipCode: b,
201
201
  country: L
202
- }), f(
202
+ }), h(
203
203
  p !== v ? se : oe
204
204
  );
205
205
  },
@@ -210,17 +210,17 @@ const Be = ({
210
210
  )
211
211
  ] });
212
212
  }, Le = ({
213
- userInfo: m,
213
+ userInfo: f,
214
214
  setUserInfo: R,
215
215
  setScreen: x,
216
216
  inputComponent: n,
217
217
  buttonComponent: i
218
218
  }) => {
219
- const { showAlertMessage: f } = pe(), g = n ?? ce, p = i ?? de, [a, u] = r(
220
- m.placeOfBirth || null
219
+ const { showAlertMessage: h } = pe(), g = n ?? ce, p = i ?? de, [a, u] = r(
220
+ f.placeOfBirth || null
221
221
  ), [l, D] = r(
222
- m.nationality || null
223
- ), [c, _] = r(m.occupation || ""), [h, N] = r(m.employer || "");
222
+ f.nationality || null
223
+ ), [c, _] = r(f.occupation || ""), [m, N] = r(f.employer || "");
224
224
  return /* @__PURE__ */ y(te, { children: [
225
225
  /* @__PURE__ */ e(w, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ e(me, { totalSteps: 4, currentStep: 3 }) }),
226
226
  /* @__PURE__ */ y(w, { pl: 2, mt: 4, children: [
@@ -256,7 +256,7 @@ const Be = ({
256
256
  {
257
257
  sx: { mt: 3 },
258
258
  label: "Employer",
259
- value: h,
259
+ value: m,
260
260
  onChange: (C) => N(C.target.value)
261
261
  }
262
262
  )
@@ -268,26 +268,26 @@ const Be = ({
268
268
  variant: "contained",
269
269
  onClick: () => {
270
270
  if (!a) {
271
- f({ message: "Please select place of birth" });
271
+ h({ message: "Please select place of birth" });
272
272
  return;
273
273
  }
274
274
  if (!l) {
275
- f({ message: "Please provide address" });
275
+ h({ message: "Please provide address" });
276
276
  return;
277
277
  }
278
278
  if (!c) {
279
- f({ message: "Please provide city" });
279
+ h({ message: "Please provide city" });
280
280
  return;
281
281
  }
282
282
  R({
283
- ...m,
283
+ ...f,
284
284
  placeOfBirth: a,
285
285
  nationality: l,
286
286
  occupation: c,
287
- employer: h
287
+ employer: m
288
288
  }), x(oe);
289
289
  },
290
- disabled: !a || !l || !c || !h,
290
+ disabled: !a || !l || !c || !m,
291
291
  fullWidth: !0,
292
292
  children: /* @__PURE__ */ e("strong", { children: "Next" })
293
293
  }
@@ -310,17 +310,17 @@ const Be = ({
310
310
  preview: []
311
311
  }
312
312
  }, Ke = ({
313
- configurationId: m,
313
+ configurationId: f,
314
314
  incodeApiKey: R,
315
315
  incodeApiUrl: x,
316
316
  incodeOnBoardingUrl: n,
317
317
  withContainer: i = !1,
318
- successHandler: f,
318
+ successHandler: h,
319
319
  updateScreen: g,
320
320
  isModalView: p = !1,
321
321
  kycFlow: a
322
322
  }) => {
323
- const u = ge(!0), l = ue(), D = J((s) => s.user), c = J((s) => s.user.kyc), _ = J((s) => s.session.uuid), h = D.kyc, N = h.processComplete, P = {}, [C, Y] = r(P), [Z, z] = r({ token: "" }), [A, d] = r(
323
+ const u = ge(!0), l = ue(), D = J((s) => s.user), c = J((s) => s.user.kyc), _ = J((s) => s.session.uuid), m = D.kyc, N = m.processComplete, P = {}, [C, Y] = r(P), [Z, z] = r({ token: "" }), [A, d] = r(
324
324
  a === v ? k : ee
325
325
  );
326
326
  console.log("Screen", A), K(() => {
@@ -344,8 +344,8 @@ const Be = ({
344
344
  }
345
345
  d(s);
346
346
  }, [g]), K(() => {
347
- f && N && f();
348
- }, [f, N]), console.log("kycFlow", a);
347
+ h && N && h();
348
+ }, [h, N]), console.log("kycFlow", a);
349
349
  const I = {
350
350
  gender: "",
351
351
  email: "",
@@ -385,7 +385,7 @@ const Be = ({
385
385
  d(Te);
386
386
  return;
387
387
  }
388
- if (!h.loader) {
388
+ if (!m.loader) {
389
389
  const fe = {
390
390
  street: t.address,
391
391
  city: t.city,
@@ -436,7 +436,7 @@ const Be = ({
436
436
  successHandler: () => {
437
437
  d(k);
438
438
  },
439
- configurationId: m,
439
+ configurationId: f,
440
440
  apiKey: R,
441
441
  apiUrl: x,
442
442
  onBoardingUrl: n,
@@ -471,7 +471,7 @@ const Be = ({
471
471
  setUserInfo: O,
472
472
  userInfo: t,
473
473
  processKyc: B,
474
- processLoader: h.loader,
474
+ processLoader: m.loader,
475
475
  kycFlow: a
476
476
  }
477
477
  ),
@@ -481,7 +481,8 @@ const Be = ({
481
481
  kycStoreData: c,
482
482
  eddData: S,
483
483
  setEddData: M,
484
- processKyc: b
484
+ processKyc: b,
485
+ processLoader: m.loader
485
486
  }
486
487
  )
487
488
  }[A];
@@ -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-CcX9hutu.js";
4
+ import { P as nt, f as ot } from "./PlayArrow-KBDRjTbR.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 { am as R, a9 as ct } from "./constants-B1fWUUck.js";
8
+ import { aq as R, ac as ct } from "./constants-rDP6jwIs.js";
9
9
  import { c as ze, d as mt } from "./index-FwnHkXdK.js";
10
- import { d as dt, e as We, b as X, c as Ee, f as ut, j as pt, g as ht } from "./order-BtLfPFH9.js";
10
+ import { d as dt, e as We, b as X, c as Ee, f as ut, j as pt, g as ht } from "./order-CTEvMHv4.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";
@@ -31,8 +31,8 @@ import { T as i } from "./Typography-pAaje37G.js";
31
31
  import { B as T } from "./Box-B0YSYLco.js";
32
32
  import { G as r } from "./Grid-CFe3amXO.js";
33
33
  import { C as I } from "./CircularProgress-xZA3lvba.js";
34
- import { f as Ct } from "./cryptoAssets-BU3EHVIY.js";
35
- import { u as Nt, a as vt } from "./wallet-Bq1E67kO.js";
34
+ import { f as Ct } from "./cryptoAssets-BXjfidU4.js";
35
+ import { u as Nt, a as vt } from "./wallet-DZ3-OqYH.js";
36
36
  import { AuthContainer as kt } from "./components/Wallet/Shared/Container/index.js";
37
37
  import St from "./components/Shared/MinimalKyc/index.js";
38
38
  import Be from "./components/Wallet/Shared/Input/index.js";
@@ -70,7 +70,7 @@ const Ft = ({
70
70
  (s) => s.address.toLowerCase() === t.address.toLowerCase()
71
71
  )
72
72
  )
73
- ], [F, w]), $ = u.fiats, he = u.loader, B = f.featureTokens.sell.list, _ = f.featureTokens.sell.default, fe = f.loader, Z = d.loader, C = d.estimate[R], W = C.fiat_out_amount, $e = C.conversion_price, Ue = C.total_fee;
73
+ ], [F, w]), $ = u.fiats, he = u.loader, B = f.featureTokens.sell.list, _ = f.featureTokens.sell.default, fe = f.loader, Z = d.loader, C = d.estimate[R], W = C.fiat_out_amount, $e = C.conversion_price, qe = C.total_fee;
74
74
  let xe = 0, ye = 0;
75
75
  const ge = C.fee_breakdown;
76
76
  for (let t = 0; t < ge.length; t++) {
@@ -79,7 +79,7 @@ const Ft = ({
79
79
  }
80
80
  const [a, be] = h({
81
81
  symbol: ""
82
- }), [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);
82
+ }), [ne, oe] = h(!1), [P, Ue] = h(2), [Ye, De] = h([]), [_e, Ge] = h(!1), [j, He] = h(50), [ie, Ke] = h(3e3), [Ce, se] = h(""), [q, 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), U = $.find((t) => t.id === P), M = Me(U == null ? void 0 : U.symbol);
83
83
  x(() => {
84
84
  const t = [];
85
85
  for (let s = 0; s < $.length; s++) {
@@ -98,14 +98,14 @@ const Ft = ({
98
98
  }, [W]), x(() => {
99
99
  P && S && S(P);
100
100
  }, [P, p]), x(() => {
101
- if (a && a.id && U && P) {
101
+ if (a && a.id && q && P) {
102
102
  c(dt(R)), oe(!1), se("");
103
103
  const t = setTimeout(() => {
104
104
  Qe();
105
105
  }, 1e3);
106
106
  return () => clearTimeout(t);
107
107
  }
108
- }, [a, U, B, P]);
108
+ }, [a, q, B, P]);
109
109
  const Qe = () => {
110
110
  var t;
111
111
  c(
@@ -113,9 +113,9 @@ const Ft = ({
113
113
  {
114
114
  apiKey: z,
115
115
  transaction_type: de,
116
- coin_amount: U,
116
+ coin_amount: q,
117
117
  exchange: a.exchange,
118
- fiat_ccy: q == null ? void 0 : q.symbol,
118
+ fiat_ccy: U == null ? void 0 : U.symbol,
119
119
  crypto_ccy: a.symbol,
120
120
  network: (t = a.network) == null ? void 0 : t.name
121
121
  },
@@ -143,7 +143,7 @@ const Ft = ({
143
143
  }, Xe = () => {
144
144
  if (!a.id)
145
145
  return y({ message: "Please select token" }), !1;
146
- if (!U)
146
+ if (!q)
147
147
  return y({ message: "Please enter amount" }), !1;
148
148
  if (!W)
149
149
  return y({
@@ -157,7 +157,7 @@ const Ft = ({
157
157
  return y({
158
158
  message: "The input amount of this transaction is above our maximum, please try a lower transaction amount"
159
159
  }), !1;
160
- if (a.fmt_balance && +U > parseFloat(a.fmt_balance))
160
+ if (a.fmt_balance && +q > parseFloat(a.fmt_balance))
161
161
  return y({
162
162
  message: "Insufficient Funds. Please provide amount less or equal to available balance"
163
163
  }), !1;
@@ -212,7 +212,7 @@ const Ft = ({
212
212
  /* @__PURE__ */ e(
213
213
  te,
214
214
  {
215
- value: U,
215
+ value: q,
216
216
  onChange: Ve,
217
217
  type: "text",
218
218
  placeholder: `${j > 0 ? M + j + " minimum value" : ""}`,
@@ -360,7 +360,7 @@ const Ft = ({
360
360
  value: P,
361
361
  variant: "filled",
362
362
  displayEmpty: !0,
363
- onChange: (t) => qe(t.target.value),
363
+ onChange: (t) => Ue(t.target.value),
364
364
  error: ne,
365
365
  children: Ye.map((t) => /* @__PURE__ */ n(re, { value: t.id, children: [
366
366
  /* @__PURE__ */ e(Ie, { className: l["dropdown-list-item"], children: /* @__PURE__ */ e(
@@ -433,7 +433,7 @@ const Ft = ({
433
433
  /* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Fees" }) }),
434
434
  /* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ n(i, { variant: "caption", children: [
435
435
  M,
436
- Z ? /* @__PURE__ */ e(I, { sx: { ml: 1 }, size: 15, color: "primary" }) : Number(Ue).toFixed(2)
436
+ Z ? /* @__PURE__ */ e(I, { sx: { ml: 1 }, size: 15, color: "primary" }) : Number(qe).toFixed(2)
437
437
  ] }) }),
438
438
  a && /* @__PURE__ */ n(E, { children: [
439
439
  /* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ n(i, { variant: "caption", children: [
@@ -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-CcX9hutu.js";
4
+ import { P as we, f as Be } from "./PlayArrow-KBDRjTbR.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 { az as Ue, ak as te } from "./constants-B1fWUUck.js";
10
- import { d as Ge, e as Ce, f as je, h as He, g as ye } from "./order-BtLfPFH9.js";
9
+ import { aD as Ue, ao as te } from "./constants-rDP6jwIs.js";
10
+ import { d as Ge, e as Ce, f as je, h as He, g as ye } from "./order-CTEvMHv4.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 nt, a as q } from "./react-redux-B4BZippc.js";
22
- import { f as at } from "./cryptoAssets-BU3EHVIY.js";
22
+ import { f as at } from "./cryptoAssets-BXjfidU4.js";
23
23
  import it from "./components/RocketRamp/MinimalKyc/form.js";
24
24
  import { useSnackBarContext as ot } from "./context/snackBarContext.js";
25
25
  import { I as st } from "./TextField-DPpRUQe3.js";
@@ -5,18 +5,18 @@ import de from "./components/Wallet/Shared/backBtn.js";
5
5
  import { DIALOG_SUCCESS_ICON as Se, PAYMENT_BANK as J, SEPA_ICON as Re, VISA_ICON as Te, RADIO_BUTTON_SELECTED as ze, RADIO_BUTTON as Ie, PAYMENT_PROVIDER_PAYSAFE as Be, FIAT_WITHDRAW as ee, EURO_ISO3 as Oe, US_DOLLAR_ISO3 as ce, SYNTHETIC_EUR as We, SYNTHETIC_USD as we } from "./util/constants.js";
6
6
  import { s as d } from "./styles.module-CHEBh2ID.js";
7
7
  import ne from "./components/Wallet/Shared/appButton.js";
8
- import { al as G } from "./constants-B1fWUUck.js";
8
+ import { ap as G } from "./constants-rDP6jwIs.js";
9
9
  import { a as pe } from "./index-FwnHkXdK.js";
10
- import { b as te, e as ue, f as Pe, i as Me, d as Le, g as Ye } from "./order-BtLfPFH9.js";
10
+ import { b as te, e as ue, f as Pe, i as Me, d as Le, g as Ye } from "./order-CTEvMHv4.js";
11
11
  import { a as $, u as fe } from "./react-redux-B4BZippc.js";
12
- import { P as qe, f as Ue } from "./PlayArrow-CcX9hutu.js";
13
- import { h as Ke, u as $e } from "./wallet-Bq1E67kO.js";
12
+ import { P as qe, f as Ue } from "./PlayArrow-KBDRjTbR.js";
13
+ import { h as Ke, u as $e } from "./wallet-DZ3-OqYH.js";
14
14
  import { useSnackBarContext as He } from "./context/snackBarContext.js";
15
15
  import { AuthContainer as je } from "./components/Wallet/Shared/Container/index.js";
16
16
  import Ge from "./components/Shared/MinimalKyc/index.js";
17
17
  import De from "./components/Wallet/Shared/Input/index.js";
18
18
  import Ve from "./components/Wallet/Shared/addBank.js";
19
- import { d as Xe } from "./bank-CCdUsDB2.js";
19
+ import { d as Xe } from "./bank-Bz7oos87.js";
20
20
  import Je from "./components/Wallet/Shared/connectPlaidBank.js";
21
21
  import { B as C } from "./Box-B0YSYLco.js";
22
22
  import { C as F } from "./CircularProgress-xZA3lvba.js";
@@ -1,15 +1,15 @@
1
1
  import { jsxs as a, Fragment as S, jsx as e } from "react/jsx-runtime";
2
2
  import { useMemo as Qe, useState as d, useEffect as g } from "react";
3
3
  import Ze from "./hoc/withThemeProvider.js";
4
- import { P as et, f as tt } from "./PlayArrow-CcX9hutu.js";
4
+ import { P as et, f as tt } from "./PlayArrow-KBDRjTbR.js";
5
5
  import { I as rt } from "./Info-BVeUSPyk.js";
6
6
  import { G as Me } from "./generic-token-B_ptO5yb.js";
7
7
  import { PAYMENT_PROVIDER_PAYSAFE as nt, ID_TOKEN_SYMBOL as Re, FIAT_TO_EVER_ID as le, FIAT_TO_TOKEN as ce, ESTIMATE_TOOLTIP_TEXT as it, PAYMENT_BANK as Se, SEPA_ICON as at, VISA_ICON as st } from "./util/constants.js";
8
- import { ak as P } from "./constants-B1fWUUck.js";
8
+ import { ao as P } from "./constants-rDP6jwIs.js";
9
9
  import { c as ot, d as lt } from "./index-FwnHkXdK.js";
10
- import { d as ct, e as ke, f as mt, g as Pe, b as dt, h as pt } from "./order-BtLfPFH9.js";
10
+ import { d as ct, e as Be, f as mt, g as Pe, b as dt, h as pt } from "./order-CTEvMHv4.js";
11
11
  import { M as ut } from "./tooltip-3UvETWtS.js";
12
- import { getCurrencySymbol as Be, getNetworkBackGround as ft } from "./util/functions.js";
12
+ import { getCurrencySymbol as ke, getNetworkBackGround as ft } from "./util/functions.js";
13
13
  import de from "./components/Wallet/Shared/appButton.js";
14
14
  import ht from "./components/Wallet/Shared/backBtn.js";
15
15
  import { s as c } from "./styles.module-CHEBh2ID.js";
@@ -18,8 +18,8 @@ import { B as F } from "./Box-B0YSYLco.js";
18
18
  import { G as i } from "./Grid-CFe3amXO.js";
19
19
  import { C as E } from "./CircularProgress-xZA3lvba.js";
20
20
  import { a as T, u as yt } from "./react-redux-B4BZippc.js";
21
- import { f as xt } from "./cryptoAssets-BU3EHVIY.js";
22
- import { u as _t, a as gt } from "./wallet-Bq1E67kO.js";
21
+ import { f as xt } from "./cryptoAssets-BXjfidU4.js";
22
+ import { u as _t, a as gt } from "./wallet-DZ3-OqYH.js";
23
23
  import { useSnackBarContext as Nt } from "./context/snackBarContext.js";
24
24
  import { AuthContainer as bt } from "./components/Wallet/Shared/Container/index.js";
25
25
  import vt from "./components/Wallet/Shared/CardPayment/index.js";
@@ -70,9 +70,9 @@ const Mt = ({
70
70
  (n) => n.address.toLowerCase() === t.address.toLowerCase()
71
71
  )
72
72
  )
73
- ], [Y, H]), [se, U] = d(!1), [W, qe] = d([]), [ye, Ke] = d(!1), [xe, Ue] = d(50), [_e, De] = d(3e3), [D, je] = d(50), [ge, Ge] = d(3e3), [Ne, j] = d(""), [k, be] = d(
73
+ ], [Y, H]), [se, U] = d(!1), [W, qe] = d([]), [ye, Ke] = d(!1), [xe, Ue] = d(50), [_e, De] = d(3e3), [D, je] = d(50), [ge, Ge] = d(3e3), [Ne, j] = d(""), [B, be] = d(
74
74
  x.fiat_amount || D.toString()
75
- ), [Ve, ve] = d(!1), B = K.find((t) => t.id === h), v = Be(B == null ? void 0 : B.symbol);
75
+ ), [Ve, ve] = d(!1), k = K.find((t) => t.id === h), v = ke(k == null ? void 0 : k.symbol);
76
76
  g(() => {
77
77
  const t = [];
78
78
  for (let n = 0; n < K.length; n++) {
@@ -107,17 +107,17 @@ const Mt = ({
107
107
  }, [O]), g(() => {
108
108
  h && r && r(h);
109
109
  }, [h, b]), g(() => {
110
- if (s && s.id && k && p && h) {
110
+ if (s && s.id && B && p && h) {
111
111
  M(ct(P)), U(!1), j("");
112
112
  const t = setTimeout(() => {
113
113
  He();
114
114
  }, 1e3);
115
115
  return () => clearTimeout(t);
116
116
  }
117
- }, [s, k, p, R, h]);
117
+ }, [s, B, p, R, h]);
118
118
  const He = () => {
119
119
  var _;
120
- const t = parseFloat(k);
120
+ const t = parseFloat(B);
121
121
  if (s.symbol === Re) {
122
122
  if (xe > t)
123
123
  return j(
@@ -139,14 +139,14 @@ const Mt = ({
139
139
  }
140
140
  const n = V.find((C) => C.id === p), l = n.payment_type;
141
141
  M(
142
- ke(
142
+ Be(
143
143
  {
144
144
  apiKey: $,
145
145
  transaction_type: s.symbol === Re ? le : ce,
146
- coin_amount: k,
146
+ coin_amount: B,
147
147
  exchange: s.exchange,
148
148
  payment_type: l,
149
- fiat_ccy: B == null ? void 0 : B.symbol,
149
+ fiat_ccy: k == null ? void 0 : k.symbol,
150
150
  crypto_ccy: s.symbol,
151
151
  network: (_ = s.network) == null ? void 0 : _.name,
152
152
  payment_provider: n.payment_provider
@@ -181,7 +181,7 @@ const Mt = ({
181
181
  return f({ message: "Please select token" }), !1;
182
182
  if (!p)
183
183
  return f({ message: "Please select payment method" }), !1;
184
- if (!k)
184
+ if (!B)
185
185
  return f({ message: "Please enter amount" }), !1;
186
186
  if (!b)
187
187
  return f({ message: "Please select wallet address" }), !1;
@@ -204,7 +204,7 @@ const Mt = ({
204
204
  /* @__PURE__ */ e(
205
205
  ee,
206
206
  {
207
- value: k,
207
+ value: B,
208
208
  onChange: Xe,
209
209
  type: "text",
210
210
  placeholder: `${D > 0 ? "$" + D + " minimum value" : ""}`,
@@ -511,7 +511,7 @@ const Mt = ({
511
511
  dispatch: N,
512
512
  walletAddress: m
513
513
  }) => {
514
- const r = M.estimate[P], f = M.create.order_id, $ = M.loader, b = r.fiat_amount, z = Be(r.fiat_currency), [s, I] = d(!1);
514
+ const r = M.estimate[P], f = M.create.order_id, $ = M.loader, b = r.fiat_amount, z = ke(r.fiat_currency), [s, I] = d(!1);
515
515
  g(() => {
516
516
  f && s && A(St);
517
517
  }, [f]), g(() => {
@@ -519,7 +519,7 @@ const Mt = ({
519
519
  }, []);
520
520
  const p = () => {
521
521
  N(
522
- ke(
522
+ Be(
523
523
  {
524
524
  apiKey: y,
525
525
  transaction_type: r.transaction_type,
@@ -1,4 +1,4 @@
1
- import { a1 as s, a2 as t, a3 as e, a4 as o, a5 as y, a6 as E } from "./constants-B1fWUUck.js";
1
+ import { a4 as s, a5 as t, a6 as e, a7 as o, a8 as y, a9 as E } from "./constants-rDP6jwIs.js";
2
2
  const p = (a) => ({
3
3
  type: e,
4
4
  payload: a
package/dist/main.js CHANGED
@@ -10,13 +10,13 @@ import { default as k } from "./components/Wallet/Account/index.js";
10
10
  import { default as y } from "./components/Wallet/Stake/index.js";
11
11
  import { default as h } from "./components/Wallet/MoveToEthereumOrEverChain/index.js";
12
12
  import { default as B } from "./components/Wallet/SwapAndUniSwap/index.js";
13
- import { i as P } from "./index-BJsAyUhP.js";
14
- import { i as v } from "./index-CQ-u6bTN.js";
15
- import { i as K } from "./index-OSl1NZiT.js";
16
- import { i as A } from "./index-DjWC9DGk.js";
13
+ import { i as P } from "./index-aLtOG-sf.js";
14
+ import { i as v } from "./index-CdfFs6U2.js";
15
+ import { i as K } from "./index-PitHP3ul.js";
16
+ import { i as A } from "./index-0PiVFV1G.js";
17
17
  import { default as H } from "./components/Wallet/EnterpriseKyc/index.js";
18
18
  import { default as M } from "./components/Wallet/Deposit/index.js";
19
- import { F as W } from "./index-BW-RJYiq.js";
19
+ import { F as W } from "./index-Btrmgb1g.js";
20
20
  import { useSnackBar as j } from "./hooks/useSnackBar.js";
21
21
  import { SnackBarContext as z, useSnackBarContext as G } from "./context/snackBarContext.js";
22
22
  import { useDialog as L } from "./hooks/useDialog/index.js";
@@ -25,8 +25,8 @@ import { default as Y } from "./components/RocketRamp/Player/SignIn/index.js";
25
25
  import { default as _ } from "./components/RocketRamp/Player/SignUp/index.js";
26
26
  import { default as oo } from "./components/RocketRamp/Player/Dashboard/index.js";
27
27
  import { default as ao } from "./components/RocketRamp/Transactions/index.js";
28
- import { i as to } from "./index-Dka1TfUt.js";
29
- import { i as po } from "./index-DUCRi3yf.js";
28
+ import { i as to } from "./index-JY7R8k4h.js";
29
+ import { i as po } from "./index-B9MyZ0sJ.js";
30
30
  import { default as so } from "./components/RocketRamp/MinimalKyc/index.js";
31
31
  import { default as xo } from "./components/RocketRamp/Store/SignUp/index.js";
32
32
  import { default as io } from "./components/RocketRamp/Store/Dashboard/index.js";
@@ -1,6 +1,6 @@
1
- import { O as s, x as t, y as E, z as R, B as o, C as r, D as _, E as p, G as d, H as y, I as T, J as D } from "./constants-B1fWUUck.js";
1
+ import { O as s, B as t, C as E, D as R, E as o, G as r, H as _, I as p, J as d, M as T, N as y, P as D } from "./constants-rDP6jwIs.js";
2
2
  const n = (e) => ({
3
- type: T,
3
+ type: y,
4
4
  payload: e
5
5
  }), O = (e, a) => ({
6
6
  type: s,
@@ -32,7 +32,7 @@ const n = (e) => ({
32
32
  type: o,
33
33
  payload: e
34
34
  }), Q = (e) => ({
35
- type: y,
35
+ type: T,
36
36
  payload: e
37
37
  });
38
38
  export {
@@ -1,4 +1,4 @@
1
- import { S as t, u as a, v as e, w as S } from "./constants-B1fWUUck.js";
1
+ import { S as t, x as a, y as e, z as S } from "./constants-rDP6jwIs.js";
2
2
  const T = () => ({
3
3
  type: t
4
4
  }), o = (s) => ({
@@ -92,5 +92,6 @@ export declare const ORGANIZATION_KYC_TYPE = "Organization";
92
92
  export declare const KYC_OVER_TRANSATION = "Over $10,000";
93
93
  export declare const KYC_BETWEEN_TRANSATION = "Over $1,000 & Under $10,000";
94
94
  export declare const KYC_UNDER_TRANSATION = "Under $1,000";
95
- export declare const KYC_STATUS_IN_PROGRESS = "IN_PROGRESS";
96
95
  export declare const CARD_PAYMENT_DECLINE = "Declined";
96
+ export declare const KYC_APROVED_TOOLTIP = "You are allowed to transact up to $10,000";
97
+ export declare const KYC_ELITE_TOOLTIP = "You are allowed to transact more than $10,000";