everest-npm-features 0.0.63 → 0.0.65

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 (108) hide show
  1. package/dist/{PlayArrow-71FP5PzJ.js → PlayArrow-DbQI55la.js} +5 -5
  2. package/dist/assets/styles.css +1 -1
  3. package/dist/assets/styles2.css +1 -1
  4. package/dist/{auth-BBeOw4mt.js → auth-D_DKdP4p.js} +1 -1
  5. package/dist/bank-DIuQN1YY.js +47 -0
  6. package/dist/components/RocketRamp/MinimalKyc/form.js +5 -5
  7. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  8. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  9. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  10. package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
  11. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  12. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  13. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  14. package/dist/components/RocketRamp/Player/Sell/index.js +7 -7
  15. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  16. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  18. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  19. package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
  20. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  21. package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
  22. package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
  23. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  24. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  25. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  26. package/dist/components/Shared/FullKyc/countryList.js +33 -30
  27. package/dist/components/Shared/FullKyc/edd.js +5 -5
  28. package/dist/components/Shared/FullKyc/index.js +11 -10
  29. package/dist/components/Shared/FullKyc/pep.js +77 -73
  30. package/dist/components/Shared/FullKyc/personalDetails.js +3 -3
  31. package/dist/components/Shared/FullKyc/types.d.ts +4 -4
  32. package/dist/components/Shared/FullKyc/userInfo.js +5 -5
  33. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  34. package/dist/components/Shared/Sumsub/index.d.ts +1 -1
  35. package/dist/components/Shared/Sumsub/index.js +36 -34
  36. package/dist/components/Wallet/Account/createIban.js +16 -541
  37. package/dist/components/Wallet/Account/eWallet.js +7 -7
  38. package/dist/components/Wallet/Account/iban.js +77 -56
  39. package/dist/components/Wallet/Account/ibanItem.js +21 -6
  40. package/dist/components/Wallet/Account/index.js +217 -182
  41. package/dist/components/Wallet/Account/sendIban.js +2 -2
  42. package/dist/components/Wallet/Buy/confirmTransaction.js +7 -7
  43. package/dist/components/Wallet/Buy/form.js +5 -5
  44. package/dist/components/Wallet/Buy/index.js +6 -6
  45. package/dist/components/Wallet/Deposit/index.js +3 -3
  46. package/dist/components/Wallet/EnterpriseKyc/edd.js +4 -4
  47. package/dist/components/Wallet/EnterpriseKyc/index.d.ts +1 -1
  48. package/dist/components/Wallet/EnterpriseKyc/index.js +111 -109
  49. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +5 -5
  50. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3 -3
  51. package/dist/components/Wallet/EnterpriseKyc/types.d.ts +16 -4
  52. package/dist/components/Wallet/EnterpriseKyc/verify.js +3 -3
  53. package/dist/components/Wallet/History/index.js +2 -2
  54. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +5 -5
  55. package/dist/components/Wallet/Portfolio/dropdown.js +42 -27
  56. package/dist/components/Wallet/Portfolio/index.js +7 -7
  57. package/dist/components/Wallet/Profile/documents.js +76 -69
  58. package/dist/components/Wallet/Profile/index.js +71 -50
  59. package/dist/components/Wallet/Profile/storage.js +32 -25
  60. package/dist/components/Wallet/Receive/index.js +3 -3
  61. package/dist/components/Wallet/Sell/confirmTransaction.js +6 -6
  62. package/dist/components/Wallet/Sell/form.js +5 -5
  63. package/dist/components/Wallet/Sell/index.js +6 -6
  64. package/dist/components/Wallet/Send/index.js +37 -37
  65. package/dist/components/Wallet/Shared/Auth/otpForm.js +3 -3
  66. package/dist/components/Wallet/Shared/BankSelect/index.js +4 -4
  67. package/dist/components/Wallet/Shared/CardCorp/index.js +3 -3
  68. package/dist/components/Wallet/Shared/addBank.js +5 -5
  69. package/dist/components/Wallet/Shared/connectPlaidBank.js +7 -7
  70. package/dist/components/Wallet/Shared/manualSend.js +5 -5
  71. package/dist/components/Wallet/SignIn/index.js +3 -3
  72. package/dist/components/Wallet/SignUp/index.js +3 -3
  73. package/dist/components/Wallet/Stake/gems/index.js +34 -31
  74. package/dist/components/Wallet/Stake/id/index.js +24 -16
  75. package/dist/components/Wallet/Stake/index.js +7 -7
  76. package/dist/components/Wallet/Swap/form.js +8 -8
  77. package/dist/components/Wallet/Swap/index.js +5 -5
  78. package/dist/components/Wallet/Withdraw/bankSelect.js +5 -5
  79. package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
  80. package/dist/components/Wallet/Withdraw/form.js +4 -4
  81. package/dist/components/Wallet/Withdraw/index.js +5 -5
  82. package/dist/{constants-DX0YBtP2.js → constants-B-_x7F8X.js} +221 -219
  83. package/dist/createIban-CbxsxTxl.js +580 -0
  84. package/dist/{cryptoAssets-B8rAI7pp.js → cryptoAssets-Cmdg7BR-.js} +1 -1
  85. package/dist/hooks/useDialog/index.js +11 -9
  86. package/dist/{index-DkiQ8pRO.js → index-9VVh1IhH.js} +52 -52
  87. package/dist/{index-JY6-UKlX.js → index-BeEuJLqT.js} +88 -87
  88. package/dist/{index-BQNs1mvn.js → index-CREgBh59.js} +4 -3
  89. package/dist/{index-_fiTunwZ.js → index-C_Vf8Evc.js} +4 -4
  90. package/dist/{index-bK14vCZw.js → index-Cx8dey5q.js} +6 -6
  91. package/dist/{index-B4XvACQN.js → index-DXw2h9nQ.js} +71 -70
  92. package/dist/index-DtTDOPWZ.js +562 -0
  93. package/dist/{index-DuWW5roi.js → index-DuOJBwgp.js} +66 -65
  94. package/dist/{kyc-BNMPoeHt.js → kyc-BXoUxN4z.js} +1 -1
  95. package/dist/main.js +7 -7
  96. package/dist/{order-BXeCIvqC.js → order-DAiOqPsI.js} +1 -1
  97. package/dist/{otpForm-DeeegaX2.js → otpForm-WjQmPs8D.js} +2 -2
  98. package/dist/{stake-BO2TYVJ7.js → stake-CzXNB3em.js} +1 -1
  99. package/dist/styles.module-4N8hJhXS.js +22 -0
  100. package/dist/styles.module-DYytghn2.js +28 -0
  101. package/dist/util/constants.d.ts +2 -2
  102. package/dist/util/constants.js +1 -1
  103. package/dist/{wallet-BPXOp8UG.js → wallet-Cw-0XynY.js} +1 -1
  104. package/package.json +7 -7
  105. package/dist/bank-HVb0GFsa.js +0 -37
  106. package/dist/index-CTPMPwYK.js +0 -533
  107. package/dist/styles.module-C1sNeKjL.js +0 -22
  108. package/dist/styles.module-DFoezEqS.js +0 -28
@@ -6,12 +6,12 @@ import ze from "./components/Wallet/Shared/backBtn.js";
6
6
  import { DIALOG_SUCCESS_ICON as Ie, PAYMENT_BANK as Z, SEPA_ICON as Te, VISA_ICON as We, PAYMENT_PROVIDER_PAYSAFE as we, FIAT_WITHDRAW as ee, EURO_ISO3 as Be, US_DOLLAR_ISO3 as me, SYNTHETIC_EUR as Oe, SYNTHETIC_USD as Pe } from "./util/constants.js";
7
7
  import { s as u } from "./styles.module-DMd29SPQ.js";
8
8
  import ie from "./components/Wallet/Shared/appButton.js";
9
- import { ao as G } from "./constants-DX0YBtP2.js";
10
- import { u as Me } from "./index-BQNs1mvn.js";
11
- import { b as te, e as pe, f as Le, d as Ye, g as qe } from "./order-BXeCIvqC.js";
9
+ import { aq as G } from "./constants-B-_x7F8X.js";
10
+ import { u as Me } from "./index-CREgBh59.js";
11
+ import { b as te, e as pe, f as Le, d as Ye, g as qe } from "./order-DAiOqPsI.js";
12
12
  import { u as j } from "./react-redux-C7I9-1M6.js";
13
- import { P as Ke, f as $e } from "./PlayArrow-71FP5PzJ.js";
14
- import { d as Ue, u as He } from "./wallet-BPXOp8UG.js";
13
+ import { P as Ke, f as $e } from "./PlayArrow-DbQI55la.js";
14
+ import { d as Ue, u as He } from "./wallet-Cw-0XynY.js";
15
15
  import { useSnackBarContext as je } from "./context/snackBarContext.js";
16
16
  import { AuthContainer as Ge } from "./components/Wallet/Shared/Container/index.js";
17
17
  import Ve from "./components/Shared/MinimalKyc/index.js";
@@ -30,7 +30,7 @@ const it = ({
30
30
  dispatch: h,
31
31
  navigate: p
32
32
  }) => {
33
- const { openDialog: B, ConfirmDialog: N } = nt(), $ = j(Me).banks, o = c.estimate[G], S = c.create.order_id, s = c.create.bank_id, O = c.loader, P = o.fiat_amount, [U, A] = f(!1), [C, R] = f({});
33
+ const { openDialog: B, ConfirmDialog: N } = nt(), $ = j(Me).banks, a = c.estimate[G], S = c.create.order_id, s = c.create.bank_id, O = c.loader, P = a.fiat_amount, [U, A] = f(!1), [C, R] = f({});
34
34
  y(() => {
35
35
  if (s) {
36
36
  const M = $.find((L) => L.id === s);
@@ -59,11 +59,11 @@ const it = ({
59
59
  pe(
60
60
  {
61
61
  apiKey: b,
62
- transaction_type: o.transaction_type,
63
- coin_amount: o.fiat_amount,
64
- payment_type: o.payment_type,
65
- fiat_ccy: o.fiat_currency,
66
- payment_provider: o.payment_provider
62
+ transaction_type: a.transaction_type,
63
+ coin_amount: a.fiat_amount,
64
+ payment_type: a.payment_type,
65
+ fiat_ccy: a.fiat_currency,
66
+ payment_provider: a.payment_provider
67
67
  },
68
68
  G
69
69
  )
@@ -72,7 +72,7 @@ const it = ({
72
72
  h(
73
73
  Le({
74
74
  apiKey: b,
75
- quoteId: o.quote_id,
75
+ quoteId: a.quote_id,
76
76
  bankId: c.create.bank_id
77
77
  })
78
78
  ), A(!0);
@@ -91,14 +91,14 @@ const it = ({
91
91
  /* @__PURE__ */ e(
92
92
  "img",
93
93
  {
94
- src: o.payment_type === Z ? Te : We,
94
+ src: a.payment_type === Z ? Te : We,
95
95
  width: 100,
96
96
  alt: "payment"
97
97
  }
98
98
  ),
99
- /* @__PURE__ */ e(i, { variant: "caption", component: "span", children: /* @__PURE__ */ e("strong", { children: o.payment_type === Z ? "Bank Account" : "Debit Card" }) })
99
+ /* @__PURE__ */ e(i, { variant: "caption", component: "span", children: /* @__PURE__ */ e("strong", { children: a.payment_type === Z ? "Bank Account" : "Debit Card" }) })
100
100
  ] }),
101
- o.payment_type === Z && /* @__PURE__ */ r(K, { children: [
101
+ a.payment_type === Z && /* @__PURE__ */ r(K, { children: [
102
102
  /* @__PURE__ */ e(i, { mt: 3, variant: "caption", component: "p", children: /* @__PURE__ */ e("b", { children: "Bank Details" }) }),
103
103
  /* @__PURE__ */ e(w, { sx: { color: "#A6A6A6" }, children: /* @__PURE__ */ r(n, { container: !0, children: [
104
104
  /* @__PURE__ */ e(n, { className: "text-left", size: 6, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Account Name" }) }),
@@ -117,19 +117,19 @@ const it = ({
117
117
  /* @__PURE__ */ e(n, { className: "text-right", size: 6, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
118
118
  (+P * 1).toFixed(2),
119
119
  " ",
120
- o.fiat_currency
120
+ a.fiat_currency
121
121
  ] }) }),
122
122
  /* @__PURE__ */ e(n, { className: "text-left", size: 6, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Amount received" }) }),
123
123
  /* @__PURE__ */ e(n, { className: "text-right", size: 6, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
124
- (+o.fiat_out_amount * 1).toFixed(2),
124
+ (+a.fiat_out_amount * 1).toFixed(2),
125
125
  " ",
126
- o.fiat_currency
126
+ a.fiat_currency
127
127
  ] }) }),
128
128
  /* @__PURE__ */ e(n, { className: "text-left", size: 6, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Fees" }) }),
129
129
  /* @__PURE__ */ e(n, { className: "text-right", size: 6, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
130
- (+o.total_fee * 1).toFixed(2),
130
+ (+a.total_fee * 1).toFixed(2),
131
131
  " ",
132
- o.fiat_currency
132
+ a.fiat_currency
133
133
  ] }) })
134
134
  ] }) }),
135
135
  /* @__PURE__ */ e(w, { mt: 4, children: /* @__PURE__ */ e(
@@ -145,7 +145,7 @@ const it = ({
145
145
  }
146
146
  ) })
147
147
  ] });
148
- }, ot = ({
148
+ }, at = ({
149
149
  setScreen: k,
150
150
  orderData: b,
151
151
  dispatch: c,
@@ -155,7 +155,7 @@ const it = ({
155
155
  usdBalance: N,
156
156
  eurBalance: v,
157
157
  balanceLoader: $,
158
- paymentId: o,
158
+ paymentId: a,
159
159
  setPaymentId: S,
160
160
  currencyId: s,
161
161
  setCurrencyId: O,
@@ -167,16 +167,16 @@ const it = ({
167
167
  let L = 0, E = 0;
168
168
  const d = _.fee_breakdown;
169
169
  for (let t = 0; t < d.length; t++) {
170
- const a = d[t];
171
- a.name === "ev_fee" ? L = Number(a.value) : a.name === "network_fee" && (E = Number(a.value));
170
+ const o = d[t];
171
+ o.name === "ev_fee" ? L = Number(o.value) : o.name === "network_fee" && (E = Number(o.value));
172
172
  }
173
- const [g, fe] = f(!1), [Y, he] = f([]), [oe, _e] = f(!1), [X, xe] = f(50), [st, ye] = f(3e3), [ae, Ne] = f(""), [H, D] = f(
173
+ const [g, fe] = f(!1), [Y, he] = f([]), [ae, _e] = f(!1), [X, xe] = f(50), [st, ye] = f(3e3), [oe, Ne] = f(""), [H, D] = f(
174
174
  _.fiat_amount || X.toString()
175
- ), l = A.find((t) => t.id === s), z = Je(l == null ? void 0 : l.symbol), q = P.find((t) => t.id === o);
175
+ ), l = A.find((t) => t.id === s), z = Je(l == null ? void 0 : l.symbol), q = P.find((t) => t.id === a);
176
176
  y(() => {
177
177
  const t = [];
178
- for (let a = 0; a < A.length; a++) {
179
- const m = {}, F = A[a];
178
+ for (let o = 0; o < A.length; o++) {
179
+ const m = {}, F = A[o];
180
180
  m.id = F.id, m.name = F.name, m.icon_uri = F.icon_uri, m.symbol = F.symbol, m.payment_options = [];
181
181
  const I = F.payment_options;
182
182
  for (let T = 0; T < I.length; T++) {
@@ -190,27 +190,27 @@ const it = ({
190
190
  if (!s || Y.length === 0)
191
191
  return;
192
192
  const t = [];
193
- for (let a = 0; a < Y.length; a++) {
194
- if (Y[a].id === s) {
195
- const m = Y[a].payment_options;
193
+ for (let o = 0; o < Y.length; o++) {
194
+ if (Y[o].id === s) {
195
+ const m = Y[o].payment_options;
196
196
  let F = !1;
197
197
  for (let I = 0; I < m.length; I++) {
198
198
  const T = m[I];
199
- T.active && T.payout_allowed && (t.push(T), m[I].id === o && (F = !0));
199
+ T.active && T.payout_allowed && (t.push(T), m[I].id === a && (F = !0));
200
200
  }
201
201
  F || S(t[0].id);
202
202
  }
203
203
  U(t);
204
204
  }
205
205
  }, [s, Y]), y(() => {
206
- if (H && o && s) {
206
+ if (H && a && s) {
207
207
  c(Ye(G)), fe(!1), Ne("");
208
208
  const t = setTimeout(() => {
209
209
  be();
210
210
  }, 1e3);
211
211
  return () => clearTimeout(t);
212
212
  }
213
- }, [H, o, s]);
213
+ }, [H, a, s]);
214
214
  const be = () => {
215
215
  const t = q.payment_type;
216
216
  c(
@@ -230,8 +230,8 @@ const it = ({
230
230
  y(() => {
231
231
  const t = b.types.length;
232
232
  if (t > 0)
233
- for (let a = 0; a < t; a++) {
234
- const m = b.types[a];
233
+ for (let o = 0; o < t; o++) {
234
+ const m = b.types[o];
235
235
  if (m.type === ee) {
236
236
  xe(parseFloat(m.min_deposit_amount)), ye(parseFloat(m.max_deposit_amount));
237
237
  break;
@@ -239,10 +239,10 @@ const it = ({
239
239
  }
240
240
  }, [b.types]);
241
241
  const ge = (t) => {
242
- const a = t.target.value;
243
- a ? /^([0-9]+)$/.test(a) && D(a) : D("");
242
+ const o = t.target.value;
243
+ o ? /^([0-9]+)$/.test(o) && D(o) : D("");
244
244
  }, ve = () => {
245
- if (!o)
245
+ if (!a)
246
246
  return p({ message: "Please select payment method" }), !1;
247
247
  if (!H)
248
248
  return p({ message: "Please enter amount" }), !1;
@@ -363,8 +363,8 @@ const it = ({
363
363
  "img",
364
364
  {
365
365
  src: t.icon_uri,
366
- onError: ({ currentTarget: a }) => {
367
- a.onerror = null, a.src = De;
366
+ onError: ({ currentTarget: o }) => {
367
+ o.onerror = null, o.src = De;
368
368
  },
369
369
  alt: "tokenImg",
370
370
  width: "40",
@@ -377,7 +377,7 @@ const it = ({
377
377
  )
378
378
  }
379
379
  ) }),
380
- ae && /* @__PURE__ */ e(i, { variant: "caption", sx: { color: "red" }, children: /* @__PURE__ */ e("strong", { children: ae }) })
380
+ oe && /* @__PURE__ */ e(i, { variant: "caption", sx: { color: "red" }, children: /* @__PURE__ */ e("strong", { children: oe }) })
381
381
  ] }),
382
382
  /* @__PURE__ */ r(w, { className: "text-left", mt: 3, children: [
383
383
  /* @__PURE__ */ e(i, { variant: "sm", fontWeight: 600, children: "Select Payment Method" }),
@@ -386,7 +386,7 @@ const it = ({
386
386
  {
387
387
  label: t.payment_type,
388
388
  value: t.id,
389
- paymentId: o,
389
+ paymentId: a,
390
390
  setPaymentId: S
391
391
  }
392
392
  ) }, t.id)) })
@@ -441,7 +441,7 @@ const it = ({
441
441
  Ke,
442
442
  {
443
443
  sx: {
444
- transform: `rotate(${oe ? "90" : "0"}deg)`,
444
+ transform: `rotate(${ae ? "90" : "0"}deg)`,
445
445
  fontSize: "15px"
446
446
  }
447
447
  }
@@ -449,7 +449,7 @@ const it = ({
449
449
  ]
450
450
  }
451
451
  ) }),
452
- oe && /* @__PURE__ */ r(K, { children: [
452
+ ae && /* @__PURE__ */ r(K, { children: [
453
453
  /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Everest Fee" }) }),
454
454
  /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
455
455
  z,
@@ -491,10 +491,10 @@ const it = ({
491
491
  }
492
492
  ) })
493
493
  ] });
494
- }, ne = "FORM_SCREEN", ue = "BANK_SCREEN", de = "CONFIRM_SCREEN", at = "MINIMAL_KYC_SCREEN", rt = ({ partnerKey: k, navigate: b }) => {
494
+ }, ne = "FORM_SCREEN", ue = "BANK_SCREEN", de = "CONFIRM_SCREEN", ot = "MINIMAL_KYC_SCREEN", rt = ({ partnerKey: k, navigate: b }) => {
495
495
  const c = tt(), h = j((d) => d.order), p = h.error, B = j(
496
496
  (d) => d.user.profile
497
- ), N = B.tokens, v = B.everWalletAddress, $ = j((d) => d.fiatAssets), o = j(
497
+ ), N = B.tokens, v = B.everWalletAddress, $ = j((d) => d.fiatAssets), a = j(
498
498
  (d) => d.cryptoAssets
499
499
  ), [S, s] = f(ne), [O, P] = f(0), [U, A] = f(2), [C, R] = f([]), [_, x] = f(0), [M, L] = f(0), { showAlertMessage: E } = je();
500
500
  return y(() => {
@@ -512,14 +512,14 @@ const it = ({
512
512
  }, [N.list]), y(() => {
513
513
  p && E({ message: p });
514
514
  }, [p]), y(() => {
515
- h.initMinimalKyc && (E({ message: p, type: "info" }), s(at));
515
+ h.initMinimalKyc && (E({ message: p, type: "info" }), s(ot));
516
516
  }, [h.initMinimalKyc]), y(() => (c($e()), c(qe(ee)), c(He()), () => {
517
517
  c(te());
518
518
  }), []), /* @__PURE__ */ e(Ge, { addPadding: !0, children: {
519
519
  FORM_SCREEN: /* @__PURE__ */ e(
520
- ot,
520
+ at,
521
521
  {
522
- cryptoAssets: o,
522
+ cryptoAssets: a,
523
523
  showAlertMessage: E,
524
524
  setScreen: s,
525
525
  fiatAssets: $,
@@ -575,8 +575,8 @@ export {
575
575
  it as B,
576
576
  de as C,
577
577
  ne as F,
578
- at as M,
579
- ot as W,
578
+ ot as M,
579
+ at as W,
580
580
  ue as a,
581
581
  Wt as i
582
582
  };