everest-npm-features 0.0.51 → 0.0.53
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-C3uVNo4F.js → PlayArrow-jzz8Y3XD.js} +1 -1
- package/dist/{auth-ClBgT--j.js → auth-jjVjqywi.js} +1 -1
- package/dist/bank-BM66KfAv.js +37 -0
- package/dist/components/RocketRamp/MinimalKyc/form.js +2 -2
- 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 +5 -5
- 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 +2 -2
- package/dist/components/Shared/FullKyc/index.js +3 -3
- 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/Wallet/Account/createIban.d.ts +1 -2
- package/dist/components/Wallet/Account/createIban.js +77 -125
- package/dist/components/Wallet/Account/eWallet.d.ts +1 -0
- package/dist/components/Wallet/Account/eWallet.js +55 -72
- package/dist/components/Wallet/Account/iban.d.ts +1 -0
- package/dist/components/Wallet/Account/iban.js +48 -65
- package/dist/components/Wallet/Account/ibanItem.js +55 -52
- package/dist/components/Wallet/Account/index.js +181 -173
- package/dist/components/Wallet/Account/sendIban.js +2 -2
- package/dist/components/Wallet/Buy/confirmTransaction.js +5 -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 +1 -1
- package/dist/components/Wallet/EnterpriseKyc/edd.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/index.js +3 -3
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +2 -2
- 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 +2 -2
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +3 -3
- package/dist/components/Wallet/Portfolio/index.js +4 -4
- package/dist/components/Wallet/Profile/documents.js +1 -1
- package/dist/components/Wallet/Profile/index.js +1 -1
- package/dist/components/Wallet/Profile/storage.js +1 -1
- package/dist/components/Wallet/Receive/index.js +2 -2
- package/dist/components/Wallet/Sell/confirmTransaction.js +3 -3
- 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 +3 -3
- 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 +1 -1
- package/dist/components/Wallet/Shared/addBank.js +2 -2
- package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
- package/dist/components/Wallet/Shared/manualSend.js +4 -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 +3 -3
- package/dist/components/Wallet/Swap/form.js +6 -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-t7n9qCW3.js → constants-Dtk3Gd0Y.js} +123 -123
- package/dist/{cryptoAssets-shEFU26O.js → cryptoAssets-DT2afvDJ.js} +1 -1
- package/dist/{index-DFRU-R-5.js → index-B4pP4oLo.js} +7 -7
- package/dist/{index-B6MSTmAM.js → index-BEFNlxwM.js} +15 -15
- package/dist/{index-Cs7bSfT3.js → index-BGJ8RVKA.js} +5 -5
- package/dist/{index-BMts9nlV.js → index-BU6Lajc_.js} +3 -3
- package/dist/{index-C2EjFXaz.js → index-BUnkeQv6.js} +7 -7
- package/dist/{index-RDV0mQbt.js → index-CyPm8GTl.js} +4 -4
- package/dist/{index-j0zehpzg.js → index-JdlBukUO.js} +4 -4
- package/dist/{kyc-D9xahfH9.js → kyc-BOm2LCSg.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/{order-jqH948WM.js → order-DuPcaU0K.js} +27 -31
- package/dist/{stake-Dcq6QpaA.js → stake-WaB8Q4v-.js} +3 -3
- package/dist/{wallet-DpkUmmq0.js → wallet-BxwOFeSW.js} +1 -1
- package/package.json +2 -2
- package/dist/bank-Dz5km1qK.js +0 -33
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as e, Fragment as
|
|
2
|
-
import { useState as
|
|
3
|
-
import "../../../constants-
|
|
4
|
-
import { v as ie } from "../../../order-
|
|
1
|
+
import { jsx as e, Fragment as R, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
import { useState as s, useMemo as E, useEffect as M } from "react";
|
|
3
|
+
import "../../../constants-Dtk3Gd0Y.js";
|
|
4
|
+
import { v as ie } from "../../../order-DuPcaU0K.js";
|
|
5
5
|
import g from "../Shared/appButton.js";
|
|
6
6
|
import { C as le } from "../../../ContentCopy-coPwrEuz.js";
|
|
7
7
|
import { C as O } from "../../../Close-CNwiMz_O.js";
|
|
@@ -25,22 +25,22 @@ import "../../../index-ceeCtFuh.js";
|
|
|
25
25
|
import ce from "../Shared/CardCorp/index.js";
|
|
26
26
|
import "../../../context/dialogContext.js";
|
|
27
27
|
import ue from "./sendIban.js";
|
|
28
|
-
import { G as
|
|
28
|
+
import { G as a } from "../../../Grid-CFe3amXO.js";
|
|
29
29
|
import { D as V, a as G } from "../../../DialogContent-BMwlOnbW.js";
|
|
30
30
|
import { D as H } from "../../../DialogTitle-CfS0bb2K.js";
|
|
31
31
|
import { T as v } from "../../../Typography-pAaje37G.js";
|
|
32
32
|
import { I as F } from "../../../IconButton-DHm-hucF.js";
|
|
33
33
|
import { B as D } from "../../../Box-B0YSYLco.js";
|
|
34
34
|
import { C as de } from "../../../CircularProgress-xZA3lvba.js";
|
|
35
|
-
const
|
|
35
|
+
const m = ({
|
|
36
36
|
label: k,
|
|
37
37
|
value: o,
|
|
38
38
|
showCopyBtn: T
|
|
39
39
|
}) => {
|
|
40
40
|
const { showAlertMessage: I } = q();
|
|
41
|
-
return /* @__PURE__ */ r(
|
|
42
|
-
/* @__PURE__ */ e(
|
|
43
|
-
/* @__PURE__ */ r(
|
|
41
|
+
return /* @__PURE__ */ r(R, { children: [
|
|
42
|
+
/* @__PURE__ */ e(a, { size: 5, className: "d-flex items-center", children: /* @__PURE__ */ e("strong", { children: k }) }),
|
|
43
|
+
/* @__PURE__ */ r(a, { size: 7, className: "fw500 text-left d-flex items-center", children: [
|
|
44
44
|
o,
|
|
45
45
|
T && /* @__PURE__ */ e(F, { onClick: () => {
|
|
46
46
|
navigator.clipboard.writeText(o), I({
|
|
@@ -55,36 +55,36 @@ const d = ({
|
|
|
55
55
|
data: o,
|
|
56
56
|
appKey: T,
|
|
57
57
|
appKeyEur: I,
|
|
58
|
-
paymentWidgetSrcUrl:
|
|
58
|
+
paymentWidgetSrcUrl: c,
|
|
59
59
|
dispatch: U,
|
|
60
60
|
iban: J,
|
|
61
61
|
from: K
|
|
62
62
|
}) => {
|
|
63
63
|
var L;
|
|
64
|
-
const [Q, N] =
|
|
64
|
+
const [Q, N] = s(!1), [X, S] = s(!1), [p, _] = s(!1), [W, w] = s(""), [x, f] = s(null), [P, h] = s(null), [u, i] = s(!1), { showAlertMessage: C } = q(), l = K === se, b = j(
|
|
65
65
|
(t) => t.order
|
|
66
|
-
), A =
|
|
67
|
-
w(""),
|
|
66
|
+
), A = b.v4Payment ?? null, y = b.v4PaymentLoader ?? !1, Y = j((t) => t.session.uuid), Z = () => {
|
|
67
|
+
w(""), f(null), h(null), i(!1), _(!0);
|
|
68
68
|
}, z = () => {
|
|
69
|
-
_(!1), w(""),
|
|
69
|
+
_(!1), w(""), f(null), h(null), i(!1);
|
|
70
70
|
}, ee = () => {
|
|
71
71
|
const t = Number(W);
|
|
72
72
|
if (!W || Number.isNaN(t) || t <= 0) {
|
|
73
|
-
|
|
73
|
+
C({
|
|
74
74
|
message: "Please enter a valid amount greater than zero.",
|
|
75
75
|
type: "error"
|
|
76
76
|
});
|
|
77
77
|
return;
|
|
78
78
|
}
|
|
79
79
|
if (!T) {
|
|
80
|
-
|
|
80
|
+
C({
|
|
81
81
|
message: "Unable to identify application key.",
|
|
82
82
|
type: "error"
|
|
83
83
|
});
|
|
84
84
|
return;
|
|
85
85
|
}
|
|
86
86
|
if (!I) {
|
|
87
|
-
|
|
87
|
+
C({
|
|
88
88
|
message: "Unable to identify application EUR key.",
|
|
89
89
|
type: "error"
|
|
90
90
|
});
|
|
@@ -101,43 +101,43 @@ const d = ({
|
|
|
101
101
|
})
|
|
102
102
|
), i(!0);
|
|
103
103
|
}, re = () => {
|
|
104
|
-
if (
|
|
104
|
+
if (l) {
|
|
105
105
|
Z();
|
|
106
106
|
return;
|
|
107
107
|
}
|
|
108
108
|
N(!0);
|
|
109
|
-
}, n =
|
|
109
|
+
}, n = E(() => A ?? null, [A]), d = E(() => {
|
|
110
110
|
var t;
|
|
111
111
|
return n ? (n == null ? void 0 : n.checkout_id) ?? ((t = n == null ? void 0 : n.order) == null ? void 0 : t.provider_token) ?? (n == null ? void 0 : n.provider_token) ?? null : null;
|
|
112
|
-
}, [n]), B = ((L = n == null ? void 0 : n.order) == null ? void 0 : L.order_id) ?? null, oe =
|
|
113
|
-
return
|
|
114
|
-
|
|
115
|
-
}, [
|
|
116
|
-
|
|
112
|
+
}, [n]), B = ((L = n == null ? void 0 : n.order) == null ? void 0 : L.order_id) ?? null, oe = E(() => c ? c.endsWith("/") ? c : `${c}/` : "", [c]), ne = E(() => P ? `/?paymentId=${encodeURIComponent(P)}` : "/", [P]);
|
|
113
|
+
return M(() => {
|
|
114
|
+
u && d && (f(d), h(B ?? null), i(!1));
|
|
115
|
+
}, [u, d, B]), M(() => {
|
|
116
|
+
u && p && (!d || x || (f(d), h(B ?? null), i(!1)));
|
|
117
117
|
}, [
|
|
118
|
-
c,
|
|
119
|
-
m,
|
|
120
118
|
u,
|
|
119
|
+
p,
|
|
120
|
+
d,
|
|
121
121
|
x,
|
|
122
122
|
B
|
|
123
|
-
]),
|
|
124
|
-
|
|
125
|
-
}, [
|
|
126
|
-
if (
|
|
123
|
+
]), M(() => {
|
|
124
|
+
l && (p || (w(""), f(null), h(null)));
|
|
125
|
+
}, [l, p]), M(() => {
|
|
126
|
+
if (u && !y) {
|
|
127
127
|
if (A) {
|
|
128
128
|
i(!1);
|
|
129
129
|
return;
|
|
130
130
|
}
|
|
131
|
-
|
|
132
|
-
message:
|
|
131
|
+
b.error && (C({
|
|
132
|
+
message: b.error,
|
|
133
133
|
type: "error"
|
|
134
134
|
}), i(!1));
|
|
135
135
|
}
|
|
136
|
-
}, [
|
|
137
|
-
/* @__PURE__ */ e(k, { type: "iban", data: o, children: /* @__PURE__ */ r(
|
|
138
|
-
/* @__PURE__ */ e(
|
|
139
|
-
/* @__PURE__ */ e(
|
|
140
|
-
/* @__PURE__ */ e(
|
|
136
|
+
}, [u, y, A, b.error, C]), /* @__PURE__ */ e(R, { children: o.accountNumber ? /* @__PURE__ */ r(R, { children: [
|
|
137
|
+
/* @__PURE__ */ e(k, { type: "iban", data: o, children: /* @__PURE__ */ r(a, { my: 1, spacing: 2, container: !0, children: [
|
|
138
|
+
/* @__PURE__ */ e(a, { size: { md: 6 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: re, children: l ? "Topup" : "Deposit" }) }),
|
|
139
|
+
/* @__PURE__ */ e(a, { size: { md: 3 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: () => S(!0), children: "Send" }) }),
|
|
140
|
+
/* @__PURE__ */ e(a, { size: { md: 3 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: () => N(!0), children: "Receive" }) })
|
|
141
141
|
] }) }),
|
|
142
142
|
/* @__PURE__ */ r(
|
|
143
143
|
V,
|
|
@@ -162,24 +162,24 @@ const d = ({
|
|
|
162
162
|
] }),
|
|
163
163
|
/* @__PURE__ */ r(G, { dividers: !0, children: [
|
|
164
164
|
/* @__PURE__ */ e(v, { variant: "h5", align: "center", children: /* @__PURE__ */ e("strong", { children: "Account Details" }) }),
|
|
165
|
-
/* @__PURE__ */ r(
|
|
165
|
+
/* @__PURE__ */ r(a, { container: !0, spacing: 2, sx: { padding: "5% 15%" }, children: [
|
|
166
166
|
/* @__PURE__ */ e(
|
|
167
|
-
|
|
167
|
+
m,
|
|
168
168
|
{
|
|
169
169
|
label: "Account Title",
|
|
170
170
|
value: `${o.ownerFirstName} ${o.ownerLastName}`
|
|
171
171
|
}
|
|
172
172
|
),
|
|
173
173
|
/* @__PURE__ */ e(
|
|
174
|
-
|
|
174
|
+
m,
|
|
175
175
|
{
|
|
176
176
|
label: "Bank Account Currency",
|
|
177
177
|
value: o.currency || ""
|
|
178
178
|
}
|
|
179
179
|
),
|
|
180
|
-
/* @__PURE__ */ e(
|
|
180
|
+
/* @__PURE__ */ e(m, { label: "Bank Name", value: o.bankName || "" }),
|
|
181
181
|
/* @__PURE__ */ e(
|
|
182
|
-
|
|
182
|
+
m,
|
|
183
183
|
{
|
|
184
184
|
label: "Bank Address",
|
|
185
185
|
value: o.bankBranchAddress || "",
|
|
@@ -187,7 +187,7 @@ const d = ({
|
|
|
187
187
|
}
|
|
188
188
|
),
|
|
189
189
|
/* @__PURE__ */ e(
|
|
190
|
-
|
|
190
|
+
m,
|
|
191
191
|
{
|
|
192
192
|
label: "Virtual IBAN",
|
|
193
193
|
value: o.accountNumber || "",
|
|
@@ -195,7 +195,7 @@ const d = ({
|
|
|
195
195
|
}
|
|
196
196
|
),
|
|
197
197
|
/* @__PURE__ */ e(
|
|
198
|
-
|
|
198
|
+
m,
|
|
199
199
|
{
|
|
200
200
|
label: "BIC/Swift Code",
|
|
201
201
|
value: o.bicCode || "",
|
|
@@ -207,10 +207,10 @@ const d = ({
|
|
|
207
207
|
]
|
|
208
208
|
}
|
|
209
209
|
),
|
|
210
|
-
|
|
210
|
+
l && /* @__PURE__ */ r(
|
|
211
211
|
V,
|
|
212
212
|
{
|
|
213
|
-
open:
|
|
213
|
+
open: p,
|
|
214
214
|
fullWidth: !0,
|
|
215
215
|
maxWidth: "sm",
|
|
216
216
|
onClose: z,
|
|
@@ -238,7 +238,7 @@ const d = ({
|
|
|
238
238
|
onResultUrl: ne
|
|
239
239
|
}
|
|
240
240
|
)
|
|
241
|
-
] }) : /* @__PURE__ */ r(
|
|
241
|
+
] }) : /* @__PURE__ */ r(R, { children: [
|
|
242
242
|
/* @__PURE__ */ e(v, { variant: "body1", children: "Enter the amount you would like to add to this E-Wallet." }),
|
|
243
243
|
/* @__PURE__ */ e(
|
|
244
244
|
ae,
|
|
@@ -256,7 +256,7 @@ const d = ({
|
|
|
256
256
|
{
|
|
257
257
|
variantType: "secondary",
|
|
258
258
|
onClick: z,
|
|
259
|
-
disabled:
|
|
259
|
+
disabled: y,
|
|
260
260
|
children: "Cancel"
|
|
261
261
|
}
|
|
262
262
|
),
|
|
@@ -264,9 +264,9 @@ const d = ({
|
|
|
264
264
|
g,
|
|
265
265
|
{
|
|
266
266
|
onClick: ee,
|
|
267
|
-
disabled:
|
|
267
|
+
disabled: y,
|
|
268
268
|
children: /* @__PURE__ */ r("strong", { children: [
|
|
269
|
-
|
|
269
|
+
y ? /* @__PURE__ */ e(
|
|
270
270
|
de,
|
|
271
271
|
{
|
|
272
272
|
size: 18,
|
|
@@ -307,9 +307,12 @@ const d = ({
|
|
|
307
307
|
},
|
|
308
308
|
children: [
|
|
309
309
|
/* @__PURE__ */ r("p", { children: [
|
|
310
|
-
"We have received your payment and ",
|
|
311
310
|
o.currency,
|
|
312
|
-
"
|
|
311
|
+
" ",
|
|
312
|
+
l ? "E-Wallet" : "Virtual IBAN",
|
|
313
|
+
" creation is in progress. Please wait while we generate your ",
|
|
314
|
+
l ? "E-Wallet" : "Virtual IBAN",
|
|
315
|
+
"."
|
|
313
316
|
] }),
|
|
314
317
|
/* @__PURE__ */ e("p", { children: "This may take a few moments. Thank you for your patience!" })
|
|
315
318
|
]
|