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.
- package/dist/{PlayArrow-Cnrxi5yr.js → PlayArrow-C3uVNo4F.js} +1 -1
- package/dist/{auth-C45E0xvK.js → auth-ClBgT--j.js} +1 -1
- package/dist/{bank-DIdz4BaB.js → bank-Dz5km1qK.js} +3 -3
- package/dist/components/RocketRamp/MinimalKyc/form.js +14 -13
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
- package/dist/components/RocketRamp/Player/Buy/index.js +12 -11
- package/dist/components/RocketRamp/Player/Dashboard/index.js +25 -24
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
- package/dist/components/RocketRamp/Player/Sell/index.js +12 -11
- package/dist/components/RocketRamp/Player/SignIn/index.js +20 -19
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/index.js +39 -38
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/ResetPassword/index.js +21 -20
- package/dist/components/RocketRamp/Store/SignUp/index.js +48 -47
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
- package/dist/components/RocketRamp/Transactions/index.js +14 -13
- package/dist/components/Shared/FullKyc/edd.js +41 -41
- package/dist/components/Shared/FullKyc/index.js +11 -10
- package/dist/components/Shared/FullKyc/pep.js +1 -1
- package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
- package/dist/components/Shared/FullKyc/userInfo.js +4 -4
- package/dist/components/Shared/MinimalKyc/index.js +31 -30
- package/dist/components/Wallet/Account/createIban.d.ts +2 -0
- package/dist/components/Wallet/Account/createIban.js +70 -62
- package/dist/components/Wallet/Account/eWallet.d.ts +20 -0
- package/dist/components/Wallet/Account/eWallet.js +96 -0
- package/dist/components/Wallet/Account/iban.d.ts +2 -0
- package/dist/components/Wallet/Account/iban.js +38 -32
- package/dist/components/Wallet/Account/ibanItem.d.ts +5 -2
- package/dist/components/Wallet/Account/ibanItem.js +233 -76
- package/dist/components/Wallet/Account/index.d.ts +2 -0
- package/dist/components/Wallet/Account/index.js +164 -143
- package/dist/components/Wallet/Account/sendIban.js +3 -3
- package/dist/components/Wallet/Buy/confirmTransaction.js +5 -5
- package/dist/components/Wallet/Buy/form.js +5 -5
- package/dist/components/Wallet/Buy/index.js +14 -13
- package/dist/components/Wallet/Deposit/index.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/edd.js +9 -9
- package/dist/components/Wallet/EnterpriseKyc/index.js +23 -22
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +24 -24
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
- package/dist/components/Wallet/History/index.js +25 -24
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +49 -48
- package/dist/components/Wallet/Portfolio/index.js +21 -20
- package/dist/components/Wallet/Profile/documents.js +34 -33
- package/dist/components/Wallet/Profile/index.js +20 -19
- package/dist/components/Wallet/Profile/storage.js +26 -26
- package/dist/components/Wallet/Receive/index.js +22 -21
- package/dist/components/Wallet/Sell/confirmTransaction.js +4 -4
- package/dist/components/Wallet/Sell/form.js +5 -5
- package/dist/components/Wallet/Sell/index.js +13 -12
- package/dist/components/Wallet/Send/index.js +19 -18
- package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
- package/dist/components/Wallet/Shared/BankSelect/index.js +36 -35
- package/dist/components/Wallet/Shared/CardCorp/index.d.ts +1 -1
- package/dist/components/Wallet/Shared/CardCorp/index.js +16 -16
- package/dist/components/Wallet/Shared/addBank.js +39 -38
- package/dist/components/Wallet/Shared/connectPlaidBank.js +19 -18
- package/dist/components/Wallet/Shared/manualSend.js +6 -5
- package/dist/components/Wallet/SignIn/index.js +24 -23
- package/dist/components/Wallet/SignUp/index.js +22 -21
- package/dist/components/Wallet/Stake/index.js +30 -29
- package/dist/components/Wallet/Swap/form.js +8 -7
- package/dist/components/Wallet/Swap/index.js +11 -10
- package/dist/components/Wallet/Withdraw/bankSelect.js +28 -27
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
- package/dist/components/Wallet/Withdraw/form.js +4 -4
- package/dist/components/Wallet/Withdraw/index.js +12 -11
- package/dist/{constants-BSdmHYnc.js → constants-t7n9qCW3.js} +245 -244
- package/dist/{cryptoAssets-BdNVnpA_.js → cryptoAssets-shEFU26O.js} +1 -1
- package/dist/hooks/useEverestDispatch.d.ts +6 -0
- package/dist/hooks/useEverestDispatch.js +5 -0
- package/dist/{index-Be3ndI6s.js → index-B6MSTmAM.js} +104 -103
- package/dist/{index-HZ9RrpTC.js → index-C2EjFXaz.js} +87 -86
- package/dist/{index-BXF4OI74.js → index-Cs7bSfT3.js} +17 -16
- package/dist/{index-D3OzGVxQ.js → index-DFRU-R-5.js} +38 -37
- package/dist/{index-CRyby3Qm.js → index-Da0r8FX2.js} +11 -10
- package/dist/{index-BlfzmV5M.js → index-RDV0mQbt.js} +36 -35
- package/dist/{index-Cvp4wWrB.js → index-j0zehpzg.js} +40 -39
- package/dist/{kyc-BQsiHtP6.js → kyc-D9xahfH9.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/{order-BKKCskeq.js → order-jqH948WM.js} +29 -25
- package/dist/{react-redux-B4BZippc.js → react-redux-C7I9-1M6.js} +2 -2
- package/dist/{stake-WjG22nIX.js → stake-Dcq6QpaA.js} +3 -3
- package/dist/util/constants.d.ts +2 -0
- package/dist/util/constants.js +21 -19
- package/dist/{wallet-BXA-R-Ks.js → wallet-DpkUmmq0.js} +1 -1
- 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
|
|
4
|
-
import { C as
|
|
5
|
-
import
|
|
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
|
|
9
|
-
import { displayWalletAddress as
|
|
10
|
-
import { BACK_BTN_ICON as
|
|
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 {
|
|
13
|
-
import { a as
|
|
14
|
-
import { h as
|
|
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
|
|
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:
|
|
43
|
+
type: ae,
|
|
43
44
|
payload: r
|
|
44
45
|
}), Ce = (r) => ({
|
|
45
|
-
type:
|
|
46
|
+
type: ie,
|
|
46
47
|
payload: r
|
|
47
48
|
}), ye = (r) => ({
|
|
48
|
-
type:
|
|
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:
|
|
60
|
+
network: a,
|
|
60
61
|
tokenAddress: P,
|
|
61
62
|
depositAddress: A
|
|
62
63
|
}) => {
|
|
63
|
-
var
|
|
64
|
-
const { showAlertMessage: E, snackBar: U } = ge(), m =
|
|
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 =
|
|
67
|
-
T(() => (m(
|
|
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 &&
|
|
71
|
-
}, [
|
|
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 ${
|
|
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 (
|
|
104
|
+
if (a === G) {
|
|
104
105
|
const t = {
|
|
105
106
|
walletAddress: i,
|
|
106
107
|
amount: v,
|
|
107
108
|
token: r,
|
|
108
|
-
gas:
|
|
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:
|
|
119
|
+
gas: s,
|
|
119
120
|
pin: y.current
|
|
120
121
|
};
|
|
121
122
|
m(ye(t));
|
|
122
123
|
}
|
|
123
124
|
}, X = () => {
|
|
124
|
-
m(
|
|
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:
|
|
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
|
-
|
|
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
|
-
|
|
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 ${
|
|
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(
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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(
|
|
298
|
-
/* @__PURE__ */ e(
|
|
299
|
-
/* @__PURE__ */ e(
|
|
300
|
-
/* @__PURE__ */ e(
|
|
301
|
-
/* @__PURE__ */ e(
|
|
302
|
-
/* @__PURE__ */ e(
|
|
303
|
-
/* @__PURE__ */ e(
|
|
304
|
-
/* @__PURE__ */ e(
|
|
305
|
-
/* @__PURE__ */ o(
|
|
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
|
-
|
|
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(
|
|
313
|
-
/* @__PURE__ */ o(
|
|
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
|
-
|
|
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
|
-
},
|
|
343
|
+
}, xt = te(Me);
|
|
343
344
|
export {
|
|
344
|
-
|
|
345
|
+
xt as default
|
|
345
346
|
};
|