everest-npm-features 0.0.58 → 0.0.60
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-BRz9FV4L.js → PlayArrow-BlkZJiHn.js} +1 -1
- package/dist/{auth-CD7qxhDF.js → auth-WhDJHZtr.js} +1 -1
- package/dist/{bank-C2LtDonX.js → bank-BaOrdTcI.js} +1 -1
- package/dist/components/RocketRamp/MinimalKyc/form.js +5 -4
- 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 +5 -5
- package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
- 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 +11 -10
- package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
- 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 +2 -2
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
- 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 +2 -2
- package/dist/components/Shared/FullKyc/edd.js +5 -4
- package/dist/components/Shared/FullKyc/index.js +4 -4
- 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 +3 -3
- package/dist/components/Shared/MinimalKyc/index.js +2 -2
- package/dist/components/Shared/Sumsub/index.d.ts +5 -0
- package/dist/components/Shared/Sumsub/index.js +83 -0
- package/dist/components/Wallet/Account/createIban.js +4 -3
- package/dist/components/Wallet/Account/ibanItem.js +5 -4
- package/dist/components/Wallet/Account/index.js +6 -5
- package/dist/components/Wallet/Account/sendIban.js +11 -11
- package/dist/components/Wallet/Buy/confirmTransaction.js +6 -5
- package/dist/components/Wallet/Buy/form.js +4 -4
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +4 -3
- package/dist/components/Wallet/EnterpriseKyc/edd.js +4 -3
- package/dist/components/Wallet/EnterpriseKyc/index.js +3 -3
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +13 -12
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +4 -3
- package/dist/components/Wallet/EnterpriseKyc/verify.js +4 -3
- package/dist/components/Wallet/History/index.js +2 -2
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +12 -11
- package/dist/components/Wallet/Portfolio/index.js +7 -6
- package/dist/components/Wallet/Profile/documents.js +15 -15
- package/dist/components/Wallet/Profile/index.js +4 -3
- package/dist/components/Wallet/Profile/storage.js +12 -12
- package/dist/components/Wallet/Receive/index.js +2 -2
- package/dist/components/Wallet/Sell/confirmTransaction.js +5 -4
- package/dist/components/Wallet/Sell/form.js +4 -4
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +14 -13
- package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
- package/dist/components/Wallet/Shared/BankSelect/index.js +3 -3
- package/dist/components/Wallet/Shared/CardCorp/index.js +4 -3
- package/dist/components/Wallet/Shared/addBank.js +5 -4
- package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
- package/dist/components/Wallet/Shared/manualSend.js +5 -4
- package/dist/components/Wallet/SignIn/index.js +2 -2
- package/dist/components/Wallet/SignUp/index.js +2 -2
- package/dist/components/Wallet/Stake/index.js +6 -5
- package/dist/components/Wallet/Swap/form.js +7 -6
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
- package/dist/components/Wallet/Withdraw/form.js +4 -4
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-Styrbvke.js → constants-DREDnCMu.js} +482 -481
- package/dist/{cryptoAssets-CFtzXGbk.js → cryptoAssets-DbyDgq4J.js} +1 -1
- package/dist/index-B3HnUBnB.js +543 -0
- package/dist/{index-DAla2tRU.js → index-BXutc9ik.js} +8 -7
- package/dist/{index-Du_jGnyO.js → index-CuPCW3XC.js} +29 -29
- package/dist/{index-DM6mBQ7L.js → index-DJ7xuxBy.js} +9 -8
- package/dist/{index-AVcxYfIV.js → index-DV1dVcrY.js} +31 -30
- package/dist/{index-Da-BlrMH.js → index-DYP5Ex_T.js} +9 -8
- package/dist/{index-CKjKCXeQ.js → index-PoMNqntN.js} +4 -4
- package/dist/index.esm-I_Bp2YLf.js +224 -0
- package/dist/kyc-D4s_B9Cf.js +33 -0
- package/dist/main.js +7 -7
- package/dist/{order-uVUTqaQ2.js → order-DGBbo_Ox.js} +1 -1
- package/dist/{stake-Dgx86wzO.js → stake-CdMc5H7D.js} +1 -1
- package/dist/util/constants.d.ts +4 -0
- package/dist/util/constants.js +104 -101
- package/dist/{wallet-BkdExH6h.js → wallet-DvfdQOju.js} +1 -1
- package/package.json +4 -2
- package/dist/index-g4Gy1BHB.js +0 -503
- package/dist/kyc-Ee4qAZby.js +0 -26
|
@@ -1,15 +1,15 @@
|
|
|
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-
|
|
4
|
+
import { P as we, f as Be } from "./PlayArrow-BlkZJiHn.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
|
-
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
|
|
9
|
-
import {
|
|
10
|
-
import { d as Ge, e as Ce, f as je, h as He, g as ye } from "./order-
|
|
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";
|
|
11
11
|
import { M as Xe } from "./tooltip-3UvETWtS.js";
|
|
12
|
-
import { getCurrencySymbol as Ne, removeExtraSpace as
|
|
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";
|
|
14
14
|
import Ee from "./components/RocketRamp/Shared/backBtn.js";
|
|
15
15
|
import { T as s } from "./Typography-pAaje37G.js";
|
|
@@ -18,8 +18,8 @@ import { G as o } from "./Grid-CFe3amXO.js";
|
|
|
18
18
|
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
|
-
import { u as
|
|
22
|
-
import { f as nt } from "./cryptoAssets-
|
|
21
|
+
import { u as q } from "./react-redux-C7I9-1M6.js";
|
|
22
|
+
import { f as nt } from "./cryptoAssets-DbyDgq4J.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";
|
|
@@ -57,7 +57,7 @@ import './assets/index9.css';const dt = (C) => ({
|
|
|
57
57
|
}
|
|
58
58
|
const [x, V] = c({
|
|
59
59
|
symbol: ""
|
|
60
|
-
}), [G, R] = c(!1), [T,
|
|
60
|
+
}), [G, R] = c(!1), [T, Q] = c(0), [n, S] = c(0), [w, Y] = c([]), [J, ve] = c(!1), [le, ke] = c(50), [me, Ae] = c(3e3), [re, Ie] = c(50), [de, Te] = c(3e3), [Fe, W] = c(""), [K, ue] = c(
|
|
61
61
|
A.fiat_amount || re.toString()
|
|
62
62
|
);
|
|
63
63
|
g(() => {
|
|
@@ -83,22 +83,22 @@ import './assets/index9.css';const dt = (C) => ({
|
|
|
83
83
|
const ee = l[B];
|
|
84
84
|
ee.active && (t.push(ee), l[B].id === T && (Z = !0));
|
|
85
85
|
}
|
|
86
|
-
Z ||
|
|
86
|
+
Z || Q(t[0].id);
|
|
87
87
|
}
|
|
88
88
|
Y(t);
|
|
89
89
|
}
|
|
90
90
|
}, [b, m]), g(() => {
|
|
91
|
-
if (x && x.id &&
|
|
91
|
+
if (x && x.id && K && T && n) {
|
|
92
92
|
v(Ge(te)), R(!1), W("");
|
|
93
93
|
const t = setTimeout(() => {
|
|
94
94
|
Pe();
|
|
95
95
|
}, 1e3);
|
|
96
96
|
return () => clearTimeout(t);
|
|
97
97
|
}
|
|
98
|
-
}, [x,
|
|
98
|
+
}, [x, K, T, k, n]);
|
|
99
99
|
const Pe = () => {
|
|
100
100
|
var B;
|
|
101
|
-
const t = parseFloat(
|
|
101
|
+
const t = parseFloat(K);
|
|
102
102
|
if (x.symbol === pe) {
|
|
103
103
|
if (le > t)
|
|
104
104
|
return W(
|
|
@@ -129,7 +129,7 @@ import './assets/index9.css';const dt = (C) => ({
|
|
|
129
129
|
{
|
|
130
130
|
apiKey: E,
|
|
131
131
|
transaction_type: x.symbol === pe ? ae : ie,
|
|
132
|
-
coin_amount:
|
|
132
|
+
coin_amount: K,
|
|
133
133
|
exchange: x.exchange,
|
|
134
134
|
payment_type: Z,
|
|
135
135
|
fiat_ccy: b,
|
|
@@ -142,13 +142,13 @@ import './assets/index9.css';const dt = (C) => ({
|
|
|
142
142
|
);
|
|
143
143
|
}, Me = ({ value: t, label: i }) => {
|
|
144
144
|
let l;
|
|
145
|
-
if (i === "credit_debit_card" ? (l = We, T === t && (l =
|
|
145
|
+
if (i === "credit_debit_card" ? (l = We, T === t && (l = Ke)) : (l = qe, T === t && (l = $e)), i)
|
|
146
146
|
return /* @__PURE__ */ e(
|
|
147
147
|
y,
|
|
148
148
|
{
|
|
149
149
|
mt: 0.5,
|
|
150
150
|
sx: { cursor: "pointer" },
|
|
151
|
-
onClick: () =>
|
|
151
|
+
onClick: () => Q(t * 1),
|
|
152
152
|
children: /* @__PURE__ */ e("img", { src: l, alt: "payment", width: "90%" })
|
|
153
153
|
}
|
|
154
154
|
);
|
|
@@ -179,7 +179,7 @@ import './assets/index9.css';const dt = (C) => ({
|
|
|
179
179
|
return r({ message: "Please select token" }), !1;
|
|
180
180
|
if (!T)
|
|
181
181
|
return r({ message: "Please select payment method" }), !1;
|
|
182
|
-
if (!
|
|
182
|
+
if (!K)
|
|
183
183
|
return r({ message: "Please enter amount" }), !1;
|
|
184
184
|
if (!O)
|
|
185
185
|
return r({
|
|
@@ -233,7 +233,7 @@ import './assets/index9.css';const dt = (C) => ({
|
|
|
233
233
|
ne,
|
|
234
234
|
{
|
|
235
235
|
label: "You Pay",
|
|
236
|
-
value:
|
|
236
|
+
value: K,
|
|
237
237
|
onChange: Re,
|
|
238
238
|
type: "text",
|
|
239
239
|
labelFontWeight: 600,
|
|
@@ -318,7 +318,7 @@ import './assets/index9.css';const dt = (C) => ({
|
|
|
318
318
|
we,
|
|
319
319
|
{
|
|
320
320
|
sx: {
|
|
321
|
-
transform: `rotate(${
|
|
321
|
+
transform: `rotate(${J ? "90" : "0"}deg)`,
|
|
322
322
|
fontSize: "15px"
|
|
323
323
|
}
|
|
324
324
|
}
|
|
@@ -326,7 +326,7 @@ import './assets/index9.css';const dt = (C) => ({
|
|
|
326
326
|
]
|
|
327
327
|
}
|
|
328
328
|
) }),
|
|
329
|
-
|
|
329
|
+
J && /* @__PURE__ */ a(F, { children: [
|
|
330
330
|
/* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: "Everest Fee" }) }),
|
|
331
331
|
/* @__PURE__ */ e(o, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ a(s, { variant: "caption", children: [
|
|
332
332
|
f,
|
|
@@ -546,8 +546,8 @@ import './assets/index9.css';const dt = (C) => ({
|
|
|
546
546
|
if (n !== "" && !Y.test(n))
|
|
547
547
|
return !1;
|
|
548
548
|
S(n);
|
|
549
|
-
const
|
|
550
|
-
w(!
|
|
549
|
+
const J = typeof n == "string" ? Qe(n) : n;
|
|
550
|
+
w(!J);
|
|
551
551
|
}, T = (n) => {
|
|
552
552
|
if (n && n.element)
|
|
553
553
|
switch (n.element) {
|
|
@@ -564,7 +564,7 @@ import './assets/index9.css';const dt = (C) => ({
|
|
|
564
564
|
console.log("NOOP");
|
|
565
565
|
break;
|
|
566
566
|
}
|
|
567
|
-
},
|
|
567
|
+
}, Q = (n) => {
|
|
568
568
|
if (n === "") {
|
|
569
569
|
v({ message: "Error processing card" }), O(!1), _(se);
|
|
570
570
|
return;
|
|
@@ -652,7 +652,7 @@ import './assets/index9.css';const dt = (C) => ({
|
|
|
652
652
|
O(!0);
|
|
653
653
|
},
|
|
654
654
|
cardTokenized: (n) => {
|
|
655
|
-
|
|
655
|
+
Q(n.token);
|
|
656
656
|
},
|
|
657
657
|
cardTokenizationFailed: (n) => {
|
|
658
658
|
alert("card tokenization failed"), console.log(n);
|
|
@@ -724,17 +724,17 @@ import './assets/index9.css';const dt = (C) => ({
|
|
|
724
724
|
rrBaseUrl: _,
|
|
725
725
|
checkoutSdkKey: v
|
|
726
726
|
}) => {
|
|
727
|
-
const u = ot(), p =
|
|
727
|
+
const u = ot(), p = q((d) => d.order), P = q(
|
|
728
728
|
(d) => d.user.profile
|
|
729
|
-
), r = p.error, E =
|
|
729
|
+
), r = p.error, E = q(
|
|
730
730
|
(d) => d.user.profile.everWalletAddress
|
|
731
|
-
), M =
|
|
731
|
+
), M = q(
|
|
732
732
|
(d) => d.fiatAssets
|
|
733
|
-
), h =
|
|
733
|
+
), h = q(
|
|
734
734
|
(d) => d.cryptoAssets
|
|
735
|
-
), b =
|
|
735
|
+
), b = q((d) => d.app), [f, m] = c(se), [z, k] = c(0), { showAlertMessage: N } = it();
|
|
736
736
|
return g(() => {
|
|
737
|
-
k(
|
|
737
|
+
k(Je(P.tokens.list));
|
|
738
738
|
}, [P.tokens]), g(() => {
|
|
739
739
|
r && N({ message: r });
|
|
740
740
|
}, [r]), g(() => {
|
|
@@ -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-
|
|
4
|
+
import { P as rt, f as nt } from "./PlayArrow-BlkZJiHn.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 {
|
|
8
|
+
import { as as B } from "./constants-DREDnCMu.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-
|
|
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";
|
|
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-
|
|
16
|
+
import { p as Nt, f as vt } from "./bank-BaOrdTcI.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";
|
|
@@ -26,14 +26,15 @@ import "./components/Shared/transition.js";
|
|
|
26
26
|
import "./components/Wallet/Shared/pin.js";
|
|
27
27
|
import "./moment-h96o7c8I.js";
|
|
28
28
|
import "./web3-u4qDZYpo.js";
|
|
29
|
+
import "./index.esm-I_Bp2YLf.js";
|
|
29
30
|
import { useDialogContext as Rt } from "./context/dialogContext.js";
|
|
30
31
|
import "./index-ceeCtFuh.js";
|
|
31
32
|
import { T as s } from "./Typography-pAaje37G.js";
|
|
32
33
|
import { B as S } from "./Box-B0YSYLco.js";
|
|
33
34
|
import { G as i } from "./Grid-CFe3amXO.js";
|
|
34
35
|
import { C as P } from "./CircularProgress-xZA3lvba.js";
|
|
35
|
-
import { f as At } from "./cryptoAssets-
|
|
36
|
-
import { u as Ft, a as Pt } from "./wallet-
|
|
36
|
+
import { f as At } from "./cryptoAssets-DbyDgq4J.js";
|
|
37
|
+
import { u as Ft, a as Pt } from "./wallet-DvfdQOju.js";
|
|
37
38
|
import { AuthContainer as St } from "./components/Wallet/Shared/Container/index.js";
|
|
38
39
|
import Mt from "./components/Wallet/Shared/CardPayment/index.js";
|
|
39
40
|
import It from "./components/Shared/MinimalKyc/index.js";
|
|
@@ -780,7 +781,7 @@ const Tt = ({
|
|
|
780
781
|
}
|
|
781
782
|
)
|
|
782
783
|
}[j] });
|
|
783
|
-
},
|
|
784
|
+
}, Ur = tt(qt);
|
|
784
785
|
export {
|
|
785
786
|
Tt as B,
|
|
786
787
|
me as C,
|
|
@@ -789,5 +790,5 @@ export {
|
|
|
789
790
|
$t as P,
|
|
790
791
|
Lt as a,
|
|
791
792
|
Yt as b,
|
|
792
|
-
|
|
793
|
+
Ur as i
|
|
793
794
|
};
|
|
@@ -5,14 +5,14 @@ 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 oe, 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 j from "./components/RocketRamp/Shared/Button/index.js";
|
|
8
|
-
import {
|
|
9
|
-
import { e as pe, f as De, j as Ye, d as qe, g as Ke } from "./order-
|
|
8
|
+
import { aE as U } from "./constants-DREDnCMu.js";
|
|
9
|
+
import { e as pe, f as De, j as Ye, d as qe, g as Ke } from "./order-DGBbo_Ox.js";
|
|
10
10
|
import "./index-DlQqWbXG.js";
|
|
11
11
|
import "./components/Wallet/Shared/appButton.js";
|
|
12
12
|
import { u as W } from "./react-redux-C7I9-1M6.js";
|
|
13
13
|
import "./components/Wallet/Shared/Auth/otpForm.js";
|
|
14
|
-
import { P as $e, f as Ge } from "./PlayArrow-
|
|
15
|
-
import { f as je } from "./cryptoAssets-
|
|
14
|
+
import { P as $e, f as Ge } from "./PlayArrow-BlkZJiHn.js";
|
|
15
|
+
import { f as je } from "./cryptoAssets-DbyDgq4J.js";
|
|
16
16
|
import "./context/snackBarContext.js";
|
|
17
17
|
import Ue from "./hooks/useEverestDispatch.js";
|
|
18
18
|
import "./util/conversions.js";
|
|
@@ -26,6 +26,7 @@ import "./moment-h96o7c8I.js";
|
|
|
26
26
|
import "./index.esm-BsMAMhYW.js";
|
|
27
27
|
import "./web3-u4qDZYpo.js";
|
|
28
28
|
import "./index-ceeCtFuh.js";
|
|
29
|
+
import "./index.esm-I_Bp2YLf.js";
|
|
29
30
|
import "./context/dialogContext.js";
|
|
30
31
|
import Je from "./components/RocketRamp/MinimalKyc/form.js";
|
|
31
32
|
import { I as Qe } from "./Info-BVeUSPyk.js";
|
|
@@ -34,7 +35,7 @@ import se from "./components/RocketRamp/Shared/Input/index.js";
|
|
|
34
35
|
import { G as n } from "./Grid-CFe3amXO.js";
|
|
35
36
|
import { B as C } from "./Box-B0YSYLco.js";
|
|
36
37
|
import { T as i } from "./Typography-pAaje37G.js";
|
|
37
|
-
import { C as
|
|
38
|
+
import { C as E } from "./CircularProgress-xZA3lvba.js";
|
|
38
39
|
import { I as et } from "./TextField-DPpRUQe3.js";
|
|
39
40
|
import { F as tt } from "./FormControl-RtZDQMdA.js";
|
|
40
41
|
import { S as rt } from "./Select-CB5yWmyn.js";
|
|
@@ -43,7 +44,7 @@ import { L as nt } from "./ListItemIcon-CUcyTEEm.js";
|
|
|
43
44
|
import { I as V } from "./IconButton-DHm-hucF.js";
|
|
44
45
|
import { C as le } from "./Close-CNwiMz_O.js";
|
|
45
46
|
import { D as me, a as de } from "./DialogContent-BMwlOnbW.js";
|
|
46
|
-
import './assets/index7.css';const
|
|
47
|
+
import './assets/index7.css';const I = {
|
|
47
48
|
"confirm-payment": "_confirm-payment_1oe7d_1",
|
|
48
49
|
"confirm-transaction-network": "_confirm-transaction-network_1oe7d_33",
|
|
49
50
|
"buy-info": "_buy-info_1oe7d_57",
|
|
@@ -97,7 +98,7 @@ import './assets/index7.css';const E = {
|
|
|
97
98
|
return /* @__PURE__ */ t(v, { children: [
|
|
98
99
|
/* @__PURE__ */ e(Se, { onClickHandler: () => T(he) }),
|
|
99
100
|
/* @__PURE__ */ e(i, { mt: 2, variant: "sm", fontWeight: 600, children: "Token Send From" }),
|
|
100
|
-
/* @__PURE__ */ t(C, { mt: 2, className:
|
|
101
|
+
/* @__PURE__ */ t(C, { mt: 2, className: I["confirm-payment"], children: [
|
|
101
102
|
/* @__PURE__ */ e(
|
|
102
103
|
"img",
|
|
103
104
|
{
|
|
@@ -113,7 +114,7 @@ import './assets/index7.css';const E = {
|
|
|
113
114
|
C,
|
|
114
115
|
{
|
|
115
116
|
mt: 2,
|
|
116
|
-
className:
|
|
117
|
+
className: I["confirm-payment"],
|
|
117
118
|
sx: { width: "100% !important" },
|
|
118
119
|
children: /* @__PURE__ */ e(i, { variant: "caption", component: "p", children: /* @__PURE__ */ e("strong", { children: u }) })
|
|
119
120
|
}
|
|
@@ -131,7 +132,7 @@ import './assets/index7.css';const E = {
|
|
|
131
132
|
/* @__PURE__ */ e(n, { className: "flex-right", size: { xs: 6 }, children: /* @__PURE__ */ e(
|
|
132
133
|
"span",
|
|
133
134
|
{
|
|
134
|
-
className:
|
|
135
|
+
className: I["confirm-transaction-network"],
|
|
135
136
|
style: {
|
|
136
137
|
backgroundColor: o.network === "Ethereum" ? "#A1A9DC" : "#5D8CCC"
|
|
137
138
|
},
|
|
@@ -169,7 +170,7 @@ import './assets/index7.css';const E = {
|
|
|
169
170
|
disabled: x,
|
|
170
171
|
fullWidth: !0,
|
|
171
172
|
children: /* @__PURE__ */ e("strong", { children: x ? /* @__PURE__ */ t(v, { children: [
|
|
172
|
-
/* @__PURE__ */ e(
|
|
173
|
+
/* @__PURE__ */ e(E, { size: 15, color: "inherit" }),
|
|
173
174
|
" Processing..."
|
|
174
175
|
] }) : "Sell" })
|
|
175
176
|
}
|
|
@@ -190,7 +191,7 @@ import './assets/index7.css';const E = {
|
|
|
190
191
|
{
|
|
191
192
|
"aria-label": "close",
|
|
192
193
|
onClick: () => N(!1),
|
|
193
|
-
className:
|
|
194
|
+
className: I["close-btn"],
|
|
194
195
|
children: /* @__PURE__ */ e(le, {})
|
|
195
196
|
}
|
|
196
197
|
),
|
|
@@ -221,7 +222,7 @@ import './assets/index7.css';const E = {
|
|
|
221
222
|
sx: { mt: 2 },
|
|
222
223
|
fullWidth: !0,
|
|
223
224
|
children: /* @__PURE__ */ e("strong", { children: x ? /* @__PURE__ */ t(v, { children: [
|
|
224
|
-
/* @__PURE__ */ e(
|
|
225
|
+
/* @__PURE__ */ e(E, { size: 15, color: "inherit" }),
|
|
225
226
|
" Processing..."
|
|
226
227
|
] }) : "Submit" })
|
|
227
228
|
}
|
|
@@ -247,7 +248,7 @@ import './assets/index7.css';const E = {
|
|
|
247
248
|
{
|
|
248
249
|
"aria-label": "close",
|
|
249
250
|
onClick: () => L(!1),
|
|
250
|
-
className:
|
|
251
|
+
className: I["close-btn"],
|
|
251
252
|
children: /* @__PURE__ */ e(le, {})
|
|
252
253
|
}
|
|
253
254
|
),
|
|
@@ -330,12 +331,12 @@ import './assets/index7.css';const E = {
|
|
|
330
331
|
if (g && g.id && w && X && K) {
|
|
331
332
|
d(qe(U)), O(!1), P("");
|
|
332
333
|
const r = setTimeout(() => {
|
|
333
|
-
|
|
334
|
+
Ee();
|
|
334
335
|
}, 1e3);
|
|
335
336
|
return () => clearTimeout(r);
|
|
336
337
|
}
|
|
337
338
|
}, [g, w, X, F, K]);
|
|
338
|
-
const
|
|
339
|
+
const Ee = () => {
|
|
339
340
|
var R;
|
|
340
341
|
const r = parseFloat(w);
|
|
341
342
|
if (g.symbol === Pe) {
|
|
@@ -395,7 +396,7 @@ import './assets/index7.css';const E = {
|
|
|
395
396
|
}
|
|
396
397
|
}
|
|
397
398
|
}, [y.types]);
|
|
398
|
-
const
|
|
399
|
+
const Ie = (r) => {
|
|
399
400
|
const a = r.target.value;
|
|
400
401
|
a ? /^([0-9]+)$/.test(a) && ie(a) : ie("");
|
|
401
402
|
}, Te = (r) => {
|
|
@@ -420,7 +421,7 @@ import './assets/index7.css';const E = {
|
|
|
420
421
|
};
|
|
421
422
|
return /* @__PURE__ */ t(v, { children: [
|
|
422
423
|
/* @__PURE__ */ t(n, { mt: 0.5, spacing: 1, container: !0, children: [
|
|
423
|
-
/* @__PURE__ */ e(n, { size: { xs: 3.5 }, children: /* @__PURE__ */ t(C, { className:
|
|
424
|
+
/* @__PURE__ */ e(n, { size: { xs: 3.5 }, children: /* @__PURE__ */ t(C, { className: I["buy-info"], children: [
|
|
424
425
|
/* @__PURE__ */ e(i, { variant: "2xl", children: /* @__PURE__ */ e("strong", { children: "Redeem Request" }) }),
|
|
425
426
|
/* @__PURE__ */ t(i, { variant: "md", children: [
|
|
426
427
|
"1 credit = ",
|
|
@@ -431,14 +432,14 @@ import './assets/index7.css';const E = {
|
|
|
431
432
|
/* @__PURE__ */ e(n, { size: { xs: 6 }, children: /* @__PURE__ */ t(
|
|
432
433
|
C,
|
|
433
434
|
{
|
|
434
|
-
className:
|
|
435
|
+
className: I["buy-info"],
|
|
435
436
|
sx: {
|
|
436
437
|
padding: "0px 50px !important",
|
|
437
438
|
alignItems: "center"
|
|
438
439
|
},
|
|
439
440
|
children: [
|
|
440
441
|
/* @__PURE__ */ e(i, { variant: "md", children: "MAX amount you can request:" }),
|
|
441
|
-
/* @__PURE__ */ e(i, { variant: "md", children: x.balanceLoader ? /* @__PURE__ */ e(
|
|
442
|
+
/* @__PURE__ */ e(i, { variant: "md", children: x.balanceLoader ? /* @__PURE__ */ e(E, { sx: { ml: 1 }, size: 15, color: "primary" }) : /* @__PURE__ */ t(v, { children: [
|
|
442
443
|
x.balance.usd,
|
|
443
444
|
" credits"
|
|
444
445
|
] }) })
|
|
@@ -448,7 +449,7 @@ import './assets/index7.css';const E = {
|
|
|
448
449
|
/* @__PURE__ */ e(n, { size: { xs: 2.5 }, children: /* @__PURE__ */ t(
|
|
449
450
|
C,
|
|
450
451
|
{
|
|
451
|
-
className:
|
|
452
|
+
className: I["buy-info"],
|
|
452
453
|
sx: {
|
|
453
454
|
background: "black !important",
|
|
454
455
|
color: "white !important"
|
|
@@ -466,7 +467,7 @@ import './assets/index7.css';const E = {
|
|
|
466
467
|
{
|
|
467
468
|
label: "You Sell",
|
|
468
469
|
value: w,
|
|
469
|
-
onChange:
|
|
470
|
+
onChange: Ie,
|
|
470
471
|
type: "text",
|
|
471
472
|
labelFontWeight: 600,
|
|
472
473
|
error: J,
|
|
@@ -475,7 +476,7 @@ import './assets/index7.css';const E = {
|
|
|
475
476
|
fullWidth: !0
|
|
476
477
|
}
|
|
477
478
|
) }),
|
|
478
|
-
/* @__PURE__ */ e(n, { size: { xs: 5 }, className: "content-center", children: B ? /* @__PURE__ */ e(
|
|
479
|
+
/* @__PURE__ */ e(n, { size: { xs: 5 }, className: "content-center", children: B ? /* @__PURE__ */ e(E, { sx: { ml: 1 }, size: 30 }) : /* @__PURE__ */ t(v, { children: [
|
|
479
480
|
/* @__PURE__ */ e(et, { children: " " }),
|
|
480
481
|
/* @__PURE__ */ e(tt, { variant: "outlined", fullWidth: !0, children: /* @__PURE__ */ t(
|
|
481
482
|
rt,
|
|
@@ -552,7 +553,7 @@ import './assets/index7.css';const E = {
|
|
|
552
553
|
/* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
|
|
553
554
|
l,
|
|
554
555
|
N ? /* @__PURE__ */ e(
|
|
555
|
-
|
|
556
|
+
E,
|
|
556
557
|
{
|
|
557
558
|
sx: { ml: 1 },
|
|
558
559
|
size: 15,
|
|
@@ -564,7 +565,7 @@ import './assets/index7.css';const E = {
|
|
|
564
565
|
/* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
|
|
565
566
|
l,
|
|
566
567
|
N ? /* @__PURE__ */ e(
|
|
567
|
-
|
|
568
|
+
E,
|
|
568
569
|
{
|
|
569
570
|
sx: { ml: 1 },
|
|
570
571
|
size: 15,
|
|
@@ -576,7 +577,7 @@ import './assets/index7.css';const E = {
|
|
|
576
577
|
/* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Fees" }) }),
|
|
577
578
|
/* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
|
|
578
579
|
l,
|
|
579
|
-
N ? /* @__PURE__ */ e(
|
|
580
|
+
N ? /* @__PURE__ */ e(E, { sx: { ml: 1 }, size: 15, color: "primary" }) : Number(z).toFixed(2)
|
|
580
581
|
] }) }),
|
|
581
582
|
g && /* @__PURE__ */ t(v, { children: [
|
|
582
583
|
/* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
|
|
@@ -602,7 +603,7 @@ import './assets/index7.css';const E = {
|
|
|
602
603
|
/* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
|
|
603
604
|
l,
|
|
604
605
|
N ? /* @__PURE__ */ e(
|
|
605
|
-
|
|
606
|
+
E,
|
|
606
607
|
{
|
|
607
608
|
sx: { ml: 1 },
|
|
608
609
|
size: 15,
|
|
@@ -622,7 +623,7 @@ import './assets/index7.css';const E = {
|
|
|
622
623
|
}
|
|
623
624
|
) })
|
|
624
625
|
] });
|
|
625
|
-
}, he = "FORM_SCREEN", fe = "CONFIRM_SCREEN",
|
|
626
|
+
}, he = "FORM_SCREEN", fe = "CONFIRM_SCREEN", er = "PAYMENT_SCREEN", at = "MINIMAL_KYC_SCREEN", st = ({ partnerKey: T, navigate: y }) => {
|
|
626
627
|
const d = Ue(), k = W((s) => s.app), u = W((s) => s.order), S = W(
|
|
627
628
|
(s) => s.user.profile
|
|
628
629
|
), p = u.error, o = W(
|
|
@@ -694,13 +695,13 @@ import './assets/index7.css';const E = {
|
|
|
694
695
|
}
|
|
695
696
|
)
|
|
696
697
|
] });
|
|
697
|
-
},
|
|
698
|
+
}, tr = Re(st);
|
|
698
699
|
export {
|
|
699
700
|
it as B,
|
|
700
701
|
fe as C,
|
|
701
702
|
he as F,
|
|
702
703
|
at as M,
|
|
703
|
-
|
|
704
|
+
er as P,
|
|
704
705
|
ot as S,
|
|
705
|
-
|
|
706
|
+
tr as i
|
|
706
707
|
};
|
|
@@ -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-
|
|
5
|
+
import { P as Qe } from "./PlayArrow-BlkZJiHn.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 {
|
|
11
|
+
import { af as A } from "./constants-DREDnCMu.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-
|
|
14
|
-
import { b as Z, c as _e, d as it, e as lt, f as ct, g as mt } from "./order-
|
|
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";
|
|
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";
|
|
@@ -29,11 +29,12 @@ import "./web3-u4qDZYpo.js";
|
|
|
29
29
|
import { s as i } from "./styles.module-DMd29SPQ.js";
|
|
30
30
|
import Ce from "./components/Wallet/Shared/Order/selectCustomIcon.js";
|
|
31
31
|
import "./index-ceeCtFuh.js";
|
|
32
|
-
import { u as xt, a as gt } from "./wallet-
|
|
32
|
+
import { u as xt, a as gt } from "./wallet-DvfdQOju.js";
|
|
33
33
|
import { AuthContainer as yt } from "./components/Wallet/Shared/Container/index.js";
|
|
34
34
|
import bt from "./components/Shared/MinimalKyc/index.js";
|
|
35
35
|
import Nt from "./components/Wallet/Shared/Input/index.js";
|
|
36
|
-
import { M as vt } from "./index-
|
|
36
|
+
import { M as vt } from "./index-BXutc9ik.js";
|
|
37
|
+
import "./index.esm-I_Bp2YLf.js";
|
|
37
38
|
import { useDialogContext as _t } from "./context/dialogContext.js";
|
|
38
39
|
import { B as R } from "./Box-B0YSYLco.js";
|
|
39
40
|
import { G as s } from "./Grid-CFe3amXO.js";
|
|
@@ -614,11 +615,11 @@ const Ct = ({
|
|
|
614
615
|
}
|
|
615
616
|
)
|
|
616
617
|
}[z] });
|
|
617
|
-
},
|
|
618
|
+
}, So = Je(wt);
|
|
618
619
|
export {
|
|
619
620
|
Ee as F,
|
|
620
621
|
St as M,
|
|
621
622
|
Ct as S,
|
|
622
623
|
kt as a,
|
|
623
|
-
|
|
624
|
+
So as i
|
|
624
625
|
};
|
|
@@ -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 {
|
|
8
|
+
import { ai as G } from "./constants-DREDnCMu.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-
|
|
10
|
+
import { b as te, e as pe, f as We, d as we, g as Oe } from "./order-DGBbo_Ox.js";
|
|
11
11
|
import { u as j } from "./react-redux-C7I9-1M6.js";
|
|
12
|
-
import { P as Pe, f as Me } from "./PlayArrow-
|
|
13
|
-
import { d as Le, u as Ye } from "./wallet-
|
|
12
|
+
import { P as Pe, f as Me } from "./PlayArrow-BlkZJiHn.js";
|
|
13
|
+
import { d as Le, u as Ye } from "./wallet-DvfdQOju.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";
|