everest-npm-features 0.0.50 → 0.0.52

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.
@@ -3,18 +3,33 @@ import "react";
3
3
  import "../../Wallet/Shared/Container/index.js";
4
4
  import "../Incode/index.js";
5
5
  import "../../../hoc/withThemeProvider.js";
6
- import { E as C, I as D, c as I, b as O, a as P, F as e } from "../../../index-Da0r8FX2.js";
6
+ import { E as x, I as T, c as U, b as g, a as h, F as j } from "../../../index-Dwid4PLx.js";
7
7
  import "./pep.js";
8
8
  import "../../../constants-t7n9qCW3.js";
9
9
  import "../../../kyc-D9xahfH9.js";
10
10
  import "../../../react-redux-C7I9-1M6.js";
11
11
  import "./edd.js";
12
12
  import "../../../hooks/useEverestDispatch.js";
13
+ import "../../../index-DlQqWbXG.js";
14
+ import "../../Wallet/Shared/appButton.js";
15
+ import "../../Wallet/Shared/Auth/otpForm.js";
16
+ import "../../../context/snackBarContext.js";
17
+ import "../../../util/conversions.js";
18
+ import "../../../index-CAoLi5Qq.js";
19
+ import "../../../react-webcam-B3cXh1XT.js";
20
+ import "../transition.js";
21
+ import "../../../tooltip-3UvETWtS.js";
22
+ import "../../Wallet/Shared/pin.js";
23
+ import "../../../moment-h96o7c8I.js";
24
+ import "../../../index.esm-BsMAMhYW.js";
25
+ import "../../../web3-u4qDZYpo.js";
26
+ import "../../../index-ceeCtFuh.js";
27
+ import "../../../context/dialogContext.js";
13
28
  export {
14
- C as EDD_SCREEN,
15
- D as INCODE_SCREEN,
16
- I as PEP_SCREEN,
17
- O as PERSONAL_DETAILS_SCREEN,
18
- P as USER_INFO_SCREEN,
19
- e as default
29
+ x as EDD_SCREEN,
30
+ T as INCODE_SCREEN,
31
+ U as PEP_SCREEN,
32
+ g as PERSONAL_DETAILS_SCREEN,
33
+ h as USER_INFO_SCREEN,
34
+ j as default
20
35
  };
@@ -18,7 +18,7 @@ import "../../../moment-h96o7c8I.js";
18
18
  import "../../../index.esm-BsMAMhYW.js";
19
19
  import "../../../web3-u4qDZYpo.js";
20
20
  import "../../../index-ceeCtFuh.js";
21
- import { P as z } from "../../../index-Da0r8FX2.js";
21
+ import { P as z } from "../../../index-Dwid4PLx.js";
22
22
  import "../../../context/dialogContext.js";
23
23
  import "./countryList.js";
24
24
  import "../../../Box-B0YSYLco.js";
@@ -21,7 +21,7 @@ import "../../../index.esm-BsMAMhYW.js";
21
21
  import "../../../countries-BVn1FubK.js";
22
22
  import "../../../web3-u4qDZYpo.js";
23
23
  import "../../../index-ceeCtFuh.js";
24
- import { U as H } from "../../../index-Da0r8FX2.js";
24
+ import { U as H } from "../../../index-Dwid4PLx.js";
25
25
  import "../../../context/dialogContext.js";
26
26
  import "./countryList.js";
27
27
  import "../../../Box-B0YSYLco.js";
@@ -272,7 +272,7 @@ const q = [
272
272
  i === p && (t.current = "EUR", h("EUR")), r({
273
273
  title: "Payment",
274
274
  message: /* @__PURE__ */ o(B, { children: [
275
- /* @__PURE__ */ a(f, { children: i === p ? "You will be charged $2 per annum for creating an E-Wallet. Please proceed to payment." : "You will be charged $12 per annum for creating a Virtual IBAN. Please select the currency for the Virtual IBAN and proceed." }),
275
+ /* @__PURE__ */ a(f, { children: i === p ? "You will be charged $2 per annum for creating an E-Wallet. Please proceed to payment." : "You will be charged $0.10 per annum for creating a Virtual IBAN. Please select the currency for the Virtual IBAN and proceed." }),
276
276
  i !== p && /* @__PURE__ */ o(
277
277
  Z,
278
278
  {
@@ -57,7 +57,7 @@ const ee = ({
57
57
  const n = {
58
58
  payment: {
59
59
  token: t,
60
- amount: 12,
60
+ amount: 0.1,
61
61
  currency: "USD",
62
62
  app_key: u,
63
63
  success_url: `${m}/accounts?payment=success`,
@@ -1,21 +1,21 @@
1
- import { jsxs as l, Fragment as V, jsx as o } from "react/jsx-runtime";
2
- import H from "../../../hoc/withThemeProvider.js";
1
+ import { jsxs as l, Fragment as H, jsx as o } from "react/jsx-runtime";
2
+ import z from "../../../hoc/withThemeProvider.js";
3
3
  import { useState as m, useEffect as _ } from "react";
4
- import z from "../../Shared/transition.js";
5
- import { C as j } from "../../../Close-CNwiMz_O.js";
6
- import X from "./kycType.js";
7
- import { BACK_ARROW as q, INDIVIDUAL_KYC_TYPE as Z, KYC_BETWEEN_TRANSATION as g, ORGANIZATION_KYC_TYPE as J, KYC_UNDER_TRANSATION as Q } from "../../../util/constants.js";
8
- import $ from "./individualKyc.js";
9
- import ee from "../../Shared/MinimalKyc/index.js";
10
- import te from "./kybIntro.js";
11
- import oe from "./kybTerms.js";
12
- import re from "./orgInfo.js";
13
- import se from "./orgDetails.js";
14
- import ie from "./verify.js";
15
- import ae from "./success.js";
16
- import { K as ne, a as F, b as y, c as ce, d as me, e as pe, f as le } from "../../../constants-t7n9qCW3.js";
4
+ import j from "../../Shared/transition.js";
5
+ import { C as X } from "../../../Close-CNwiMz_O.js";
6
+ import q from "./kycType.js";
7
+ import { BACK_ARROW as Z, INDIVIDUAL_KYC_TYPE as J, KYC_BETWEEN_TRANSATION as w, ORGANIZATION_KYC_TYPE as Q, KYC_UNDER_TRANSATION as $ } from "../../../util/constants.js";
8
+ import ee from "./individualKyc.js";
9
+ import te from "../../Shared/MinimalKyc/index.js";
10
+ import oe from "./kybIntro.js";
11
+ import re from "./kybTerms.js";
12
+ import se from "./orgInfo.js";
13
+ import ie from "./orgDetails.js";
14
+ import ae from "./verify.js";
15
+ import ne from "./success.js";
16
+ import { K as ce, a as F, b as y, c as h, d as me, e as pe, f as le } from "../../../constants-t7n9qCW3.js";
17
17
  import { r as u, k as fe } from "../../../kyc-D9xahfH9.js";
18
- import { u as h } from "../../../react-redux-C7I9-1M6.js";
18
+ import { u as b } from "../../../react-redux-C7I9-1M6.js";
19
19
  import Te from "../../Shared/loader.js";
20
20
  import "../../../index-DlQqWbXG.js";
21
21
  import _e from "../Shared/appButton.js";
@@ -31,17 +31,17 @@ import "../../../moment-h96o7c8I.js";
31
31
  import "../../../index.esm-BsMAMhYW.js";
32
32
  import "../../../web3-u4qDZYpo.js";
33
33
  import "../../../index-ceeCtFuh.js";
34
- import { F as b } from "../../../index-Da0r8FX2.js";
34
+ import { F as K } from "../../../index-Dwid4PLx.js";
35
35
  import "../../../context/dialogContext.js";
36
- import { u as de } from "../../../useTheme-BQJ5lp0i.js";
37
- import { D as De, a as Oe } from "../../../DialogContent-BMwlOnbW.js";
36
+ import { u as De } from "../../../useTheme-BQJ5lp0i.js";
37
+ import { D as de, a as Oe } from "../../../DialogContent-BMwlOnbW.js";
38
38
  import { D as Ee } from "../../../DialogTitle-CfS0bb2K.js";
39
39
  import { B as Ne } from "../../../Box-B0YSYLco.js";
40
- import { I as K } from "../../../IconButton-DHm-hucF.js";
40
+ import { I as g } from "../../../IconButton-DHm-hucF.js";
41
41
  import { T as Ae } from "../../../Typography-pAaje37G.js";
42
42
  const C = {
43
- type: Z,
44
- transactAmount: g,
43
+ type: J,
44
+ transactAmount: w,
45
45
  orgName: "",
46
46
  orgOtherName: "",
47
47
  street: "",
@@ -105,7 +105,7 @@ const C = {
105
105
  file: [],
106
106
  preview: []
107
107
  }
108
- }, Ie = {
108
+ }, Se = {
109
109
  ID_CARD: {
110
110
  text: "",
111
111
  file: [],
@@ -126,27 +126,27 @@ const C = {
126
126
  file: [],
127
127
  preview: []
128
128
  }
129
- }, Se = ({
130
- configurationId: d,
131
- incodeApiKey: D,
129
+ }, Ie = ({
130
+ configurationId: D,
131
+ incodeApiKey: d,
132
132
  incodeApiUrl: O,
133
133
  incodeOnBoardingUrl: E
134
134
  }) => {
135
- const N = de(), p = Ce(), { showAlertMessage: w } = ue(), s = h((t) => t.user.kyc);
136
- h(
135
+ const N = De(), p = Ce(), { showAlertMessage: U } = ue(), s = b((t) => t.user.kyc);
136
+ b(
137
137
  (t) => t.user.profile
138
138
  );
139
- const f = s.error, A = s.processComplete, [U, T] = m(!1), [a, r] = m(1), [e, c] = m(C);
140
- m(Ie);
141
- const [I, k] = m(!1);
139
+ const f = s.error, A = s.processComplete, [k, T] = m(!1), [a, r] = m(1), [e, c] = m(C);
140
+ m(Se);
141
+ const [S, M] = m(!1);
142
142
  _(() => {
143
- f && w({ message: f });
143
+ f && U({ message: f });
144
144
  }, [f]), _(() => {
145
145
  A && r(10);
146
146
  }, [A]), _(() => () => {
147
147
  p(u());
148
148
  }, []);
149
- const M = () => {
149
+ const L = () => {
150
150
  let t;
151
151
  switch (a) {
152
152
  case 4:
@@ -156,26 +156,26 @@ const C = {
156
156
  t = 1;
157
157
  break;
158
158
  case 11:
159
- t = 11, k((i) => !i);
159
+ t = 11, M((i) => !i);
160
160
  break;
161
161
  default:
162
162
  t = a - 1;
163
163
  }
164
164
  r(t);
165
- }, L = (t) => {
166
- c({ ...e, type: t }), r(t === J ? 5 : (i) => i + 1);
167
165
  }, Y = (t) => {
168
- c({ ...e, transactAmount: t }), r(t === Q ? 3 : t === g ? 11 : 4);
169
- }, S = () => {
170
- r((t) => t + 1);
166
+ c({ ...e, type: t }), r(t === Q ? 5 : (i) => i + 1);
171
167
  }, v = (t) => {
172
- c({ ...e, ...t }), r((i) => i + 1);
168
+ c({ ...e, transactAmount: t }), r(t === $ ? 3 : t === w ? 11 : 4);
169
+ }, I = () => {
170
+ r((t) => t + 1);
173
171
  }, P = (t) => {
174
172
  c({ ...e, ...t }), r((i) => i + 1);
175
- }, W = () => {
176
- const t = Object.entries(e).flatMap(([B, R]) => R.file ? R.file.map((G) => ({
177
- type: B,
178
- file: G
173
+ }, W = (t) => {
174
+ c({ ...e, ...t }), r((i) => i + 1);
175
+ }, B = () => {
176
+ const t = Object.entries(e).flatMap(([G, R]) => R.file ? R.file.map((V) => ({
177
+ type: G,
178
+ file: V
179
179
  })) : []), i = {
180
180
  orgName: e.orgName,
181
181
  otherOrgName: e.orgOtherName,
@@ -228,8 +228,8 @@ const C = {
228
228
  default:
229
229
  n = "KYC Onboarding";
230
230
  }
231
- return /* @__PURE__ */ l(V, { children: [
232
- s.status !== "" && s.status !== ne && // ((userProfile.memberType === MEMBER_TYPE_INDIVIDUAL &&
231
+ return /* @__PURE__ */ l(H, { children: [
232
+ s.status !== "" && s.status !== ce && // ((userProfile.memberType === MEMBER_TYPE_INDIVIDUAL &&
233
233
  // kycStoreData.status !== KYC_STATUS_FULL_EDD) ||
234
234
  // (userProfile.memberType === MEMBER_TYPE_ORGANIZATIONAL &&
235
235
  // kycStoreData.status !== KYC_STATUS_FULL_KYC)) && (
@@ -243,13 +243,13 @@ const C = {
243
243
  borderColor: "#DC143C !important",
244
244
  color: "#FFFFFF !important"
245
245
  } : void 0,
246
- children: s.status === F ? "KYC Pending" : s.status === y ? "KYC Failed" : "Start KYC"
246
+ children: s.status === F ? "KYC Pending" : s.status === y ? "KYC Failed" : s.status === h ? "Start EDD" : "Start KYC"
247
247
  }
248
248
  ),
249
249
  /* @__PURE__ */ l(
250
- De,
250
+ de,
251
251
  {
252
- open: U,
252
+ open: k,
253
253
  fullWidth: !0,
254
254
  slotProps: {
255
255
  paper: {
@@ -258,7 +258,7 @@ const C = {
258
258
  }
259
259
  }
260
260
  },
261
- TransitionComponent: z,
261
+ TransitionComponent: j,
262
262
  children: [
263
263
  /* @__PURE__ */ o(
264
264
  Ee,
@@ -269,15 +269,15 @@ const C = {
269
269
  height: "68px"
270
270
  },
271
271
  children: /* @__PURE__ */ l(Ne, { display: "flex", alignItems: "center", children: [
272
- a !== 1 && a !== 10 && /* @__PURE__ */ o(K, { onClick: M, size: "small", children: /* @__PURE__ */ o("img", { src: q, alt: "back" }) }),
272
+ a !== 1 && a !== 10 && /* @__PURE__ */ o(g, { onClick: L, size: "small", children: /* @__PURE__ */ o("img", { src: Z, alt: "back" }) }),
273
273
  /* @__PURE__ */ o(Ae, { variant: "subtitle1", fontWeight: 600, ml: 1, children: n }),
274
274
  /* @__PURE__ */ o(
275
- K,
275
+ g,
276
276
  {
277
277
  "aria-label": "close",
278
278
  onClick: x,
279
279
  className: "menu-buttons",
280
- children: /* @__PURE__ */ o(j, {})
280
+ children: /* @__PURE__ */ o(X, {})
281
281
  }
282
282
  )
283
283
  ] })
@@ -286,51 +286,51 @@ const C = {
286
286
  /* @__PURE__ */ l(Oe, { sx: { padding: "50px", height: "620px" }, dividers: !0, children: [
287
287
  s.uploadLoader && /* @__PURE__ */ o(Te, {}),
288
288
  {
289
- 1: /* @__PURE__ */ o(X, { kycData: e, onNext: L }),
290
- 2: /* @__PURE__ */ o($, { kycData: e, onNext: Y }),
291
- 3: /* @__PURE__ */ o(ee, { onComplete: () => r(10) }),
289
+ 1: /* @__PURE__ */ o(q, { kycData: e, onNext: Y }),
290
+ 2: /* @__PURE__ */ o(ee, { kycData: e, onNext: v }),
291
+ 3: /* @__PURE__ */ o(te, { onComplete: () => r(10) }),
292
292
  4: /* @__PURE__ */ o(
293
- b,
293
+ K,
294
294
  {
295
295
  theme: N,
296
- configurationId: d,
297
- incodeApiKey: D,
296
+ configurationId: D,
297
+ incodeApiKey: d,
298
298
  incodeApiUrl: O,
299
299
  incodeOnBoardingUrl: E,
300
- updateScreen: I,
300
+ updateScreen: S,
301
301
  isModalView: !0,
302
- kycFlow: s.status === ce ? me : pe
302
+ kycFlow: s.status === h ? me : pe
303
303
  }
304
304
  ),
305
- 5: /* @__PURE__ */ o(te, { onNext: S }),
306
- 6: /* @__PURE__ */ o(oe, { onNext: S }),
307
- 7: /* @__PURE__ */ o(re, { kycData: e, onNext: v }),
305
+ 5: /* @__PURE__ */ o(oe, { onNext: I }),
306
+ 6: /* @__PURE__ */ o(re, { onNext: I }),
307
+ 7: /* @__PURE__ */ o(se, { kycData: e, onNext: P }),
308
308
  8: /* @__PURE__ */ o(
309
- se,
309
+ ie,
310
310
  {
311
311
  kycStoreData: s,
312
312
  kycData: e,
313
- onNext: P
313
+ onNext: W
314
314
  }
315
315
  ),
316
316
  9: /* @__PURE__ */ o(
317
- ie,
317
+ ae,
318
318
  {
319
319
  kycData: e,
320
- onNext: W,
320
+ onNext: B,
321
321
  onEdit: () => r(7)
322
322
  }
323
323
  ),
324
- 10: /* @__PURE__ */ o(ae, { onNext: x }),
324
+ 10: /* @__PURE__ */ o(ne, { onNext: x }),
325
325
  11: /* @__PURE__ */ o(
326
- b,
326
+ K,
327
327
  {
328
328
  theme: N,
329
- configurationId: d,
330
- incodeApiKey: D,
329
+ configurationId: D,
330
+ incodeApiKey: d,
331
331
  incodeApiUrl: O,
332
332
  incodeOnBoardingUrl: E,
333
- updateScreen: I,
333
+ updateScreen: S,
334
334
  isModalView: !0,
335
335
  kycFlow: le
336
336
  }
@@ -341,8 +341,8 @@ const C = {
341
341
  }
342
342
  )
343
343
  ] });
344
- }, ft = H(Se);
344
+ }, ft = z(Ie);
345
345
  export {
346
- Se as EnterpriseKyc,
346
+ Ie as EnterpriseKyc,
347
347
  ft as default
348
348
  };