everest-npm-features 0.0.48 → 0.0.49

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 (96) hide show
  1. package/dist/{PlayArrow-Cnrxi5yr.js → PlayArrow-C3uVNo4F.js} +1 -1
  2. package/dist/{auth-C45E0xvK.js → auth-ClBgT--j.js} +1 -1
  3. package/dist/{bank-DIdz4BaB.js → bank-Dz5km1qK.js} +3 -3
  4. package/dist/components/RocketRamp/MinimalKyc/form.js +14 -13
  5. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  6. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  7. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  8. package/dist/components/RocketRamp/Player/Buy/index.js +12 -11
  9. package/dist/components/RocketRamp/Player/Dashboard/index.js +25 -24
  10. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  11. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  12. package/dist/components/RocketRamp/Player/Sell/index.js +12 -11
  13. package/dist/components/RocketRamp/Player/SignIn/index.js +20 -19
  14. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  15. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  16. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignUp/index.js +39 -38
  18. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  19. package/dist/components/RocketRamp/ResetPassword/index.js +21 -20
  20. package/dist/components/RocketRamp/Store/SignUp/index.js +48 -47
  21. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  22. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  23. package/dist/components/RocketRamp/Transactions/index.js +14 -13
  24. package/dist/components/Shared/FullKyc/edd.js +41 -41
  25. package/dist/components/Shared/FullKyc/index.js +11 -10
  26. package/dist/components/Shared/FullKyc/pep.js +1 -1
  27. package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
  28. package/dist/components/Shared/FullKyc/userInfo.js +4 -4
  29. package/dist/components/Shared/MinimalKyc/index.js +31 -30
  30. package/dist/components/Wallet/Account/createIban.d.ts +2 -0
  31. package/dist/components/Wallet/Account/createIban.js +70 -62
  32. package/dist/components/Wallet/Account/eWallet.d.ts +20 -0
  33. package/dist/components/Wallet/Account/eWallet.js +96 -0
  34. package/dist/components/Wallet/Account/iban.d.ts +2 -0
  35. package/dist/components/Wallet/Account/iban.js +38 -32
  36. package/dist/components/Wallet/Account/ibanItem.d.ts +5 -2
  37. package/dist/components/Wallet/Account/ibanItem.js +233 -76
  38. package/dist/components/Wallet/Account/index.d.ts +2 -0
  39. package/dist/components/Wallet/Account/index.js +164 -143
  40. package/dist/components/Wallet/Account/sendIban.js +3 -3
  41. package/dist/components/Wallet/Buy/confirmTransaction.js +5 -5
  42. package/dist/components/Wallet/Buy/form.js +5 -5
  43. package/dist/components/Wallet/Buy/index.js +14 -13
  44. package/dist/components/Wallet/Deposit/index.js +1 -1
  45. package/dist/components/Wallet/EnterpriseKyc/edd.js +9 -9
  46. package/dist/components/Wallet/EnterpriseKyc/index.js +23 -22
  47. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +24 -24
  48. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
  49. package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
  50. package/dist/components/Wallet/History/index.js +25 -24
  51. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +49 -48
  52. package/dist/components/Wallet/Portfolio/index.js +21 -20
  53. package/dist/components/Wallet/Profile/documents.js +34 -33
  54. package/dist/components/Wallet/Profile/index.js +20 -19
  55. package/dist/components/Wallet/Profile/storage.js +26 -26
  56. package/dist/components/Wallet/Receive/index.js +22 -21
  57. package/dist/components/Wallet/Sell/confirmTransaction.js +4 -4
  58. package/dist/components/Wallet/Sell/form.js +5 -5
  59. package/dist/components/Wallet/Sell/index.js +13 -12
  60. package/dist/components/Wallet/Send/index.js +19 -18
  61. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  62. package/dist/components/Wallet/Shared/BankSelect/index.js +36 -35
  63. package/dist/components/Wallet/Shared/CardCorp/index.d.ts +1 -1
  64. package/dist/components/Wallet/Shared/CardCorp/index.js +16 -16
  65. package/dist/components/Wallet/Shared/addBank.js +39 -38
  66. package/dist/components/Wallet/Shared/connectPlaidBank.js +19 -18
  67. package/dist/components/Wallet/Shared/manualSend.js +6 -5
  68. package/dist/components/Wallet/SignIn/index.js +24 -23
  69. package/dist/components/Wallet/SignUp/index.js +22 -21
  70. package/dist/components/Wallet/Stake/index.js +30 -29
  71. package/dist/components/Wallet/Swap/form.js +8 -7
  72. package/dist/components/Wallet/Swap/index.js +11 -10
  73. package/dist/components/Wallet/Withdraw/bankSelect.js +28 -27
  74. package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
  75. package/dist/components/Wallet/Withdraw/form.js +4 -4
  76. package/dist/components/Wallet/Withdraw/index.js +12 -11
  77. package/dist/{constants-BSdmHYnc.js → constants-t7n9qCW3.js} +245 -244
  78. package/dist/{cryptoAssets-BdNVnpA_.js → cryptoAssets-shEFU26O.js} +1 -1
  79. package/dist/hooks/useEverestDispatch.d.ts +6 -0
  80. package/dist/hooks/useEverestDispatch.js +5 -0
  81. package/dist/{index-Be3ndI6s.js → index-B6MSTmAM.js} +104 -103
  82. package/dist/{index-HZ9RrpTC.js → index-C2EjFXaz.js} +87 -86
  83. package/dist/{index-BXF4OI74.js → index-Cs7bSfT3.js} +17 -16
  84. package/dist/{index-D3OzGVxQ.js → index-DFRU-R-5.js} +38 -37
  85. package/dist/{index-CRyby3Qm.js → index-Da0r8FX2.js} +11 -10
  86. package/dist/{index-BlfzmV5M.js → index-RDV0mQbt.js} +36 -35
  87. package/dist/{index-Cvp4wWrB.js → index-j0zehpzg.js} +40 -39
  88. package/dist/{kyc-BQsiHtP6.js → kyc-D9xahfH9.js} +1 -1
  89. package/dist/main.js +7 -7
  90. package/dist/{order-BKKCskeq.js → order-jqH948WM.js} +29 -25
  91. package/dist/{react-redux-B4BZippc.js → react-redux-C7I9-1M6.js} +2 -2
  92. package/dist/{stake-WjG22nIX.js → stake-Dcq6QpaA.js} +3 -3
  93. package/dist/util/constants.d.ts +2 -0
  94. package/dist/util/constants.js +21 -19
  95. package/dist/{wallet-BXA-R-Ks.js → wallet-DpkUmmq0.js} +1 -1
  96. package/package.json +3 -2
@@ -1,18 +1,19 @@
1
1
  import { jsxs as o, Fragment as c, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as f, useRef as Y, useEffect as T } from "react";
3
- import { u as Z, a as S } from "../../../react-redux-B4BZippc.js";
4
- import { C as ee } from "../../../Close-CNwiMz_O.js";
5
- import te from "../Shared/pin.js";
3
+ import { u as S } from "../../../react-redux-C7I9-1M6.js";
4
+ import { C as Z } from "../../../Close-CNwiMz_O.js";
5
+ import ee from "../Shared/pin.js";
6
6
  import "../../../index-DlQqWbXG.js";
7
7
  import "../Shared/appButton.js";
8
- import re from "../../../hoc/withThemeProvider.js";
9
- import { displayWalletAddress as oe } from "../../../util/functions.js";
10
- import { BACK_BTN_ICON as ae, EVER_CHAIN_NETWORK as F, ETHEREUM_NETWORK as G } from "../../../util/constants.js";
8
+ import te from "../../../hoc/withThemeProvider.js";
9
+ import { displayWalletAddress as re } from "../../../util/functions.js";
10
+ import { BACK_BTN_ICON as oe, EVER_CHAIN_NETWORK as F, ETHEREUM_NETWORK as G } from "../../../util/constants.js";
11
11
  import "../Shared/Auth/otpForm.js";
12
- import { ak as se, al as ne, am as ie, an as le, ao as ce } from "../../../constants-BSdmHYnc.js";
13
- import { a as me } from "../../../index-BQNs1mvn.js";
14
- import { h as de } from "../../../wallet-BXA-R-Ks.js";
12
+ import { al as se, am as ne, an as ae, ao as ie, ap as le } from "../../../constants-t7n9qCW3.js";
13
+ import { a as ce } from "../../../index-BQNs1mvn.js";
14
+ import { h as me } from "../../../wallet-DpkUmmq0.js";
15
15
  import "../../../context/snackBarContext.js";
16
+ import de from "../../../hooks/useEverestDispatch.js";
16
17
  import { numberFormat as he, fromHuman as ue, getGweiFromWei as pe, getUnFormattedValueFromWei as fe } from "../../../util/conversions.js";
17
18
  import "../../../index-CAoLi5Qq.js";
18
19
  import { useSnackBar as ge } from "../../../hooks/useSnackBar.js";
@@ -34,18 +35,18 @@ import { B as M } from "../../../Button-Df4vgU24.js";
34
35
  import { C as H } from "../../../CircularProgress-xZA3lvba.js";
35
36
  import { D as ve, a as Te } from "../../../DialogContent-BMwlOnbW.js";
36
37
  import { I as Ne } from "../../../IconButton-DHm-hucF.js";
37
- import { G as s } from "../../../Grid-CFe3amXO.js";
38
+ import { G as n } from "../../../Grid-CFe3amXO.js";
38
39
  import '../../../assets/index6.css';const be = (r) => ({
39
40
  type: ne,
40
41
  payload: r
41
42
  }), Re = (r) => ({
42
- type: ie,
43
+ type: ae,
43
44
  payload: r
44
45
  }), Ce = (r) => ({
45
- type: le,
46
+ type: ie,
46
47
  payload: r
47
48
  }), ye = (r) => ({
48
- type: ce,
49
+ type: le,
49
50
  payload: r
50
51
  }), Se = () => ({
51
52
  type: se
@@ -56,19 +57,19 @@ import '../../../assets/index6.css';const be = (r) => ({
56
57
  "close-btn": "_close-btn_nw82g_41"
57
58
  }, Me = ({
58
59
  token: r,
59
- network: n,
60
+ network: a,
60
61
  tokenAddress: P,
61
62
  depositAddress: A
62
63
  }) => {
63
- var k, q;
64
- const { showAlertMessage: E, snackBar: U } = ge(), m = Z(), h = S((t) => t.bridge), a = h.gasFee, x = h.loader, u = h.error, R = h.withdrawStatus, B = S((t) => t.user.wallets);
64
+ var q, k;
65
+ const { showAlertMessage: E, snackBar: U } = ge(), m = de(), h = S((t) => t.bridge), s = h.gasFee, x = h.loader, u = h.error, R = h.withdrawStatus, B = S((t) => t.user.wallets);
65
66
  B.loader;
66
- const W = B.data, w = n === F ? G : F, i = S(me).everWalletAddress, [I, V] = f(""), L = he(I), [O, _] = f("default"), [K, Q] = f(!1), [d, D] = f(""), [$, C] = f(!1), y = Y(""), v = ue(d, r === "ID" ? 18 : 6);
67
- T(() => (m(de()), () => {
67
+ const W = B.data, w = a === F ? G : F, i = S(ce).everWalletAddress, [I, V] = f(""), L = he(I), [O, _] = f("default"), [K, Q] = f(!1), [d, D] = f(""), [$, C] = f(!1), y = Y(""), v = ue(d, r === "ID" ? 18 : 6);
68
+ T(() => (m(me()), () => {
68
69
  m(Se());
69
70
  }), []), T(() => {
70
- h.showFeePopUp && a.GasLimit > 0 && C(!0);
71
- }, [a]), T(() => {
71
+ h.showFeePopUp && s.GasLimit > 0 && C(!0);
72
+ }, [s]), T(() => {
72
73
  u && (E({ message: u }), (u === "invalid PIN" || u === "Pin must be 4-digit numeric value") && (Q(!0), _("pin"), C(!1)));
73
74
  }, [u]), T(() => {
74
75
  const t = W.find(
@@ -88,7 +89,7 @@ import '../../../assets/index6.css';const be = (r) => ({
88
89
  }, z = () => {
89
90
  if (!d)
90
91
  return E({
91
- message: `Please provide the amount you want to move to ${n}`
92
+ message: `Please provide the amount you want to move to ${a}`
92
93
  }), !1;
93
94
  if (!Ee.test(d))
94
95
  return E({
@@ -100,12 +101,12 @@ import '../../../assets/index6.css';const be = (r) => ({
100
101
  }), !1;
101
102
  _("pin");
102
103
  }, J = () => {
103
- if (n === G) {
104
+ if (a === G) {
104
105
  const t = {
105
106
  walletAddress: i,
106
107
  amount: v,
107
108
  token: r,
108
- gas: a,
109
+ gas: s,
109
110
  pin: y.current
110
111
  };
111
112
  m(Re(t));
@@ -115,13 +116,13 @@ import '../../../assets/index6.css';const be = (r) => ({
115
116
  fromAddress: i,
116
117
  toAddress: A,
117
118
  tokenAddress: P,
118
- gas: a,
119
+ gas: s,
119
120
  pin: y.current
120
121
  };
121
122
  m(ye(t));
122
123
  }
123
124
  }, X = () => {
124
- m(n === G ? be({
125
+ m(a === G ? be({
125
126
  walletAddress: i,
126
127
  amount: v,
127
128
  token: r
@@ -144,7 +145,7 @@ import '../../../assets/index6.css';const be = (r) => ({
144
145
  left: "-18px"
145
146
  },
146
147
  className: "cursor-pointer",
147
- src: ae,
148
+ src: oe,
148
149
  onClick: () => alert("backFunc"),
149
150
  alt: "back"
150
151
  }
@@ -159,7 +160,7 @@ import '../../../assets/index6.css';const be = (r) => ({
159
160
  "Move ",
160
161
  r,
161
162
  " to ",
162
- n
163
+ a
163
164
  ] })
164
165
  }
165
166
  ),
@@ -172,7 +173,7 @@ import '../../../assets/index6.css';const be = (r) => ({
172
173
  mountOnEnter: !0,
173
174
  unmountOnExit: !0,
174
175
  children: /* @__PURE__ */ e(
175
- te,
176
+ ee,
176
177
  {
177
178
  error: K,
178
179
  onCancel: () => _("default"),
@@ -194,7 +195,7 @@ import '../../../assets/index6.css';const be = (r) => ({
194
195
  /* @__PURE__ */ e(we, { sx: { mt: 6 }, fullWidth: !0, children: /* @__PURE__ */ e(
195
196
  _e,
196
197
  {
197
- label: `Amount to Move to ${n}`,
198
+ label: `Amount to Move to ${a}`,
198
199
  value: d,
199
200
  fullWidth: !0,
200
201
  required: !0,
@@ -249,13 +250,13 @@ import '../../../assets/index6.css';const be = (r) => ({
249
250
  "aria-label": "close",
250
251
  onClick: () => C(!1),
251
252
  className: b["close-btn"],
252
- children: /* @__PURE__ */ e(ee, {})
253
+ children: /* @__PURE__ */ e(Z, {})
253
254
  }
254
255
  ),
255
256
  /* @__PURE__ */ o(Te, { sx: { py: 6 }, children: [
256
257
  /* @__PURE__ */ e(g, { className: "text-center", variant: "h5", children: /* @__PURE__ */ o("strong", { children: [
257
258
  "Move to ",
258
- n,
259
+ a,
259
260
  " Confirmation"
260
261
  ] }) }),
261
262
  R ? /* @__PURE__ */ o(c, { children: [
@@ -271,14 +272,14 @@ import '../../../assets/index6.css';const be = (r) => ({
271
272
  w,
272
273
  " ",
273
274
  "to ",
274
- n,
275
+ a,
275
276
  "Network."
276
277
  ] }) : /* @__PURE__ */ o(c, { children: [
277
278
  r,
278
279
  " withdraw from ",
279
280
  w,
280
281
  " to ",
281
- n,
282
+ a,
282
283
  " network is currently ongoing. Please check balance after 2 minutes."
283
284
  ] })
284
285
  }
@@ -294,25 +295,25 @@ import '../../../assets/index6.css';const be = (r) => ({
294
295
  children: /* @__PURE__ */ e("strong", { children: "Go Back" })
295
296
  }
296
297
  ) })
297
- ] }) : /* @__PURE__ */ o(s, { mt: 4, container: !0, spacing: 2, sx: { padding: "0% 15%" }, children: [
298
- /* @__PURE__ */ e(s, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Token Name" }) }),
299
- /* @__PURE__ */ e(s, { className: "fw500 text-right", size: 6, children: r }),
300
- /* @__PURE__ */ e(s, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Amount" }) }),
301
- /* @__PURE__ */ e(s, { className: "fw500 text-right", size: 6, children: d }),
302
- /* @__PURE__ */ e(s, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Wallet Address" }) }),
303
- /* @__PURE__ */ e(s, { className: "fw500 text-right", size: 6, children: oe(i) }),
304
- /* @__PURE__ */ e(s, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Price" }) }),
305
- /* @__PURE__ */ o(s, { className: "fw500 text-right", size: 6, children: [
298
+ ] }) : /* @__PURE__ */ o(n, { mt: 4, container: !0, spacing: 2, sx: { padding: "0% 15%" }, children: [
299
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Token Name" }) }),
300
+ /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: r }),
301
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Amount" }) }),
302
+ /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: d }),
303
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Wallet Address" }) }),
304
+ /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: re(i) }),
305
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Price" }) }),
306
+ /* @__PURE__ */ o(n, { className: "fw500 text-right", size: 6, children: [
306
307
  pe(
307
- a != null && a.BaseGasPriceCap ? (k = a == null ? void 0 : a.BaseGasPriceCap) == null ? void 0 : k.toString() : ""
308
+ s != null && s.BaseGasPriceCap ? (q = s == null ? void 0 : s.BaseGasPriceCap) == null ? void 0 : q.toString() : ""
308
309
  ),
309
310
  " ",
310
311
  "Gwei"
311
312
  ] }),
312
- /* @__PURE__ */ e(s, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
313
- /* @__PURE__ */ o(s, { className: "fw500 text-right", size: 6, children: [
313
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
314
+ /* @__PURE__ */ o(n, { className: "fw500 text-right", size: 6, children: [
314
315
  fe(
315
- a != null && a.TotalMaxEthSpent ? (q = a == null ? void 0 : a.TotalMaxEthSpent) == null ? void 0 : q.toString() : ""
316
+ s != null && s.TotalMaxEthSpent ? (k = s == null ? void 0 : s.TotalMaxEthSpent) == null ? void 0 : k.toString() : ""
316
317
  ),
317
318
  " ",
318
319
  "ETH"
@@ -339,7 +340,7 @@ import '../../../assets/index6.css';const be = (r) => ({
339
340
  }
340
341
  )
341
342
  ] });
342
- }, Et = re(Me);
343
+ }, xt = te(Me);
343
344
  export {
344
- Et as default
345
+ xt as default
345
346
  };