everest-npm-features 0.0.57 → 0.0.59

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 (103) hide show
  1. package/dist/{PlayArrow-jzz8Y3XD.js → PlayArrow-BlkZJiHn.js} +1 -1
  2. package/dist/{auth-jjVjqywi.js → auth-WhDJHZtr.js} +1 -1
  3. package/dist/{bank-BM66KfAv.js → bank-BaOrdTcI.js} +1 -1
  4. package/dist/components/RocketRamp/MinimalKyc/form.js +5 -4
  5. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  6. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  7. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  8. package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
  9. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  10. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  11. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  12. package/dist/components/RocketRamp/Player/Sell/index.js +11 -10
  13. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  14. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  15. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  16. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
  18. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  19. package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
  20. package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
  21. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  22. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  23. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  24. package/dist/components/Shared/FullKyc/edd.js +5 -4
  25. package/dist/components/Shared/FullKyc/index.js +4 -4
  26. package/dist/components/Shared/FullKyc/pep.js +1 -1
  27. package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
  28. package/dist/components/Shared/FullKyc/userInfo.js +3 -3
  29. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  30. package/dist/components/Shared/Sumsub/index.d.ts +5 -0
  31. package/dist/components/Shared/Sumsub/index.js +83 -0
  32. package/dist/components/Wallet/Account/createIban.js +4 -3
  33. package/dist/components/Wallet/Account/eWallet.d.ts +4 -2
  34. package/dist/components/Wallet/Account/eWallet.js +30 -28
  35. package/dist/components/Wallet/Account/iban.d.ts +4 -2
  36. package/dist/components/Wallet/Account/iban.js +30 -28
  37. package/dist/components/Wallet/Account/ibanItem.d.ts +4 -2
  38. package/dist/components/Wallet/Account/ibanItem.js +180 -175
  39. package/dist/components/Wallet/Account/index.js +191 -177
  40. package/dist/components/Wallet/Account/sendIban.js +11 -11
  41. package/dist/components/Wallet/Buy/confirmTransaction.js +6 -5
  42. package/dist/components/Wallet/Buy/form.js +4 -4
  43. package/dist/components/Wallet/Buy/index.js +6 -6
  44. package/dist/components/Wallet/Deposit/index.js +4 -3
  45. package/dist/components/Wallet/EnterpriseKyc/edd.js +4 -3
  46. package/dist/components/Wallet/EnterpriseKyc/index.js +3 -3
  47. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +13 -12
  48. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +4 -3
  49. package/dist/components/Wallet/EnterpriseKyc/verify.js +4 -3
  50. package/dist/components/Wallet/History/index.js +2 -2
  51. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.d.ts +7 -13
  52. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +216 -231
  53. package/dist/components/Wallet/Portfolio/index.js +8 -7
  54. package/dist/components/Wallet/Portfolio/tokenRow.js +1 -1
  55. package/dist/components/Wallet/Profile/documents.js +15 -15
  56. package/dist/components/Wallet/Profile/index.js +4 -3
  57. package/dist/components/Wallet/Profile/storage.js +12 -12
  58. package/dist/components/Wallet/Receive/index.js +2 -2
  59. package/dist/components/Wallet/Sell/confirmTransaction.js +5 -4
  60. package/dist/components/Wallet/Sell/form.js +4 -4
  61. package/dist/components/Wallet/Sell/index.js +6 -6
  62. package/dist/components/Wallet/Send/index.js +14 -13
  63. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  64. package/dist/components/Wallet/Shared/BankSelect/index.js +3 -3
  65. package/dist/components/Wallet/Shared/CardCorp/index.js +4 -3
  66. package/dist/components/Wallet/Shared/addBank.js +5 -4
  67. package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
  68. package/dist/components/Wallet/Shared/manualSend.js +5 -4
  69. package/dist/components/Wallet/SignIn/index.js +2 -2
  70. package/dist/components/Wallet/SignUp/index.js +2 -2
  71. package/dist/components/Wallet/Stake/gems/index.d.ts +26 -2
  72. package/dist/components/Wallet/Stake/gems/index.js +74 -85
  73. package/dist/components/Wallet/Stake/id/index.d.ts +27 -1
  74. package/dist/components/Wallet/Stake/id/index.js +68 -78
  75. package/dist/components/Wallet/Stake/index.d.ts +4 -1
  76. package/dist/components/Wallet/Stake/index.js +233 -201
  77. package/dist/components/Wallet/Swap/form.js +7 -6
  78. package/dist/components/Wallet/Swap/index.js +5 -5
  79. package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
  80. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
  81. package/dist/components/Wallet/Withdraw/form.js +4 -4
  82. package/dist/components/Wallet/Withdraw/index.js +5 -5
  83. package/dist/{constants-Dtk3Gd0Y.js → constants-DREDnCMu.js} +482 -481
  84. package/dist/{cryptoAssets-DT2afvDJ.js → cryptoAssets-DbyDgq4J.js} +1 -1
  85. package/dist/{index-BGJ8RVKA.js → index-BXutc9ik.js} +8 -7
  86. package/dist/index-CWoxdH_Z.js +543 -0
  87. package/dist/{index-CyPm8GTl.js → index-CuPCW3XC.js} +29 -29
  88. package/dist/{index-BUnkeQv6.js → index-DJ7xuxBy.js} +9 -8
  89. package/dist/{index-BEFNlxwM.js → index-DV1dVcrY.js} +31 -30
  90. package/dist/{index-B4pP4oLo.js → index-DYP5Ex_T.js} +9 -8
  91. package/dist/{index-JdlBukUO.js → index-PoMNqntN.js} +4 -4
  92. package/dist/index.esm-I_Bp2YLf.js +224 -0
  93. package/dist/kyc-D4s_B9Cf.js +33 -0
  94. package/dist/main.js +7 -7
  95. package/dist/{order-DuPcaU0K.js → order-DGBbo_Ox.js} +1 -1
  96. package/dist/{stake-WaB8Q4v-.js → stake-CdMc5H7D.js} +1 -1
  97. package/dist/{tokenRow-B-tustzZ.js → tokenRow-C-iMHhPj.js} +14 -12
  98. package/dist/util/constants.d.ts +5 -0
  99. package/dist/util/constants.js +105 -101
  100. package/dist/{wallet-BxwOFeSW.js → wallet-DvfdQOju.js} +10 -10
  101. package/package.json +4 -2
  102. package/dist/index-BU6Lajc_.js +0 -503
  103. package/dist/kyc-BOm2LCSg.js +0 -26
@@ -1,18 +1,18 @@
1
1
  import { jsx as e, jsxs as r, Fragment as l } from "react/jsx-runtime";
2
- import { useRef as W, useState as w, useEffect as A } from "react";
3
- import { I as N } from "../../../Info-BVeUSPyk.js";
4
- import { DIALOG_SUCCESS_ICON as P, FEATURE_EWALLET as p } from "../../../util/constants.js";
5
- import { M as T } from "../../../tooltip-3UvETWtS.js";
6
- import D from "../Shared/noData.js";
7
- import b from "./createIban.js";
8
- import { AuthInnerContainer as v } from "../Shared/Container/index.js";
9
- import B from "./ibanItem.js";
2
+ import { useRef as w, useState as A, useEffect as N } from "react";
3
+ import { I as P } from "../../../Info-BVeUSPyk.js";
4
+ import { DIALOG_SUCCESS_ICON as T, FEATURE_EWALLET as p } from "../../../util/constants.js";
5
+ import { M as D } from "../../../tooltip-3UvETWtS.js";
6
+ import b from "../Shared/noData.js";
7
+ import v from "./createIban.js";
8
+ import { AuthInnerContainer as B } from "../Shared/Container/index.js";
9
+ import L from "./ibanItem.js";
10
10
  import { B as t } from "../../../Box-B0YSYLco.js";
11
11
  import { G as a } from "../../../Grid-CFe3amXO.js";
12
12
  import { T as h } from "../../../Typography-pAaje37G.js";
13
- import { I as L } from "../../../IconButton-DHm-hucF.js";
14
- import { C as z } from "../../../CircularProgress-xZA3lvba.js";
15
- const J = ({
13
+ import { I as z } from "../../../IconButton-DHm-hucF.js";
14
+ import { C as _ } from "../../../CircularProgress-xZA3lvba.js";
15
+ const Q = ({
16
16
  dispatch: u,
17
17
  openDialog: i,
18
18
  appKey: d,
@@ -21,53 +21,54 @@ const J = ({
21
21
  iban: o,
22
22
  navigate: c,
23
23
  AccountItem: x,
24
- createIbanRequest: C
24
+ createIbanRequest: C,
25
+ tokenData: I
25
26
  }) => {
26
- const s = o.data, I = o.loader, g = W(""), [_, E] = w("");
27
- return A(() => {
27
+ const s = o.data, g = o.loader, E = w(""), [q, S] = A("");
28
+ return N(() => {
28
29
  new URLSearchParams(window.location.search).get("paymentStatus") === "success" && i({
29
30
  title: "Payment Success",
30
31
  message: "We have received your payment and will generate your Virtual IBAN after the payment has processed",
31
- icon: P,
32
+ icon: T,
32
33
  width: "575px",
33
34
  confirmButtonText: "Continue"
34
35
  });
35
- }, []), /* @__PURE__ */ e(v, { children: /* @__PURE__ */ r(t, { p: 3, children: [
36
+ }, []), /* @__PURE__ */ e(B, { children: /* @__PURE__ */ r(t, { p: 3, children: [
36
37
  /* @__PURE__ */ r(a, { spacing: 2, container: !0, alignItems: "center", children: [
37
38
  /* @__PURE__ */ r(a, { size: 8, children: [
38
39
  /* @__PURE__ */ e(h, { color: "primary", variant: "h6", component: "span", children: /* @__PURE__ */ e("strong", { children: "E-Wallet" }) }),
39
40
  /* @__PURE__ */ e(
40
- T,
41
+ D,
41
42
  {
42
43
  title: /* @__PURE__ */ e(t, { sx: { whiteSpace: "pre-line" }, children: "Create an E-Wallet. This requires KYC" }),
43
44
  placement: "bottom",
44
- children: /* @__PURE__ */ e(L, { className: "info-fee-icon", children: /* @__PURE__ */ e(N, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
45
+ children: /* @__PURE__ */ e(z, { className: "info-fee-icon", children: /* @__PURE__ */ e(P, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
45
46
  }
46
47
  )
47
48
  ] }),
48
49
  /* @__PURE__ */ e(a, { size: 4, children: /* @__PURE__ */ e(t, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e(
49
- b,
50
+ v,
50
51
  {
51
52
  openDialog: i,
52
53
  createIbanRequest: C,
53
54
  iban: o,
54
55
  navigate: c,
55
- currency: g,
56
- setIbanCurrency: E,
56
+ currency: E,
57
+ setIbanCurrency: S,
57
58
  from: p
58
59
  }
59
60
  ) }) })
60
61
  ] }),
61
- I ? /* @__PURE__ */ e(t, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(z, { color: "primary", size: 50 }) }) : /* @__PURE__ */ r(l, { children: [
62
+ g ? /* @__PURE__ */ e(t, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(_, { color: "primary", size: 50 }) }) : /* @__PURE__ */ r(l, { children: [
62
63
  s.length > 0 ? /* @__PURE__ */ e(l, { children: s.map((n, m) => {
63
- const S = {
64
+ const W = {
64
65
  ...n,
65
66
  accountName: `E-Wallet - ${n.currency ?? ""}`
66
67
  };
67
68
  return /* @__PURE__ */ e(
68
- B,
69
+ L,
69
70
  {
70
- data: S,
71
+ data: W,
71
72
  AccountItem: x,
72
73
  dispatch: u,
73
74
  appKey: d,
@@ -75,11 +76,12 @@ const J = ({
75
76
  paymentWidgetSrcUrl: y,
76
77
  iban: o,
77
78
  navigate: c,
78
- from: p
79
+ from: p,
80
+ tokenData: I
79
81
  },
80
82
  m
81
83
  );
82
- }) }) : /* @__PURE__ */ e(D, { text: "You currently have no E-Wallets" }),
84
+ }) }) : /* @__PURE__ */ e(b, { text: "You currently have no E-Wallets" }),
83
85
  /* @__PURE__ */ e(t, { mt: 3, textAlign: "center", children: /* @__PURE__ */ r(h, { variant: "caption", color: "secondary", children: [
84
86
  "Powered by",
85
87
  " ",
@@ -98,5 +100,5 @@ const J = ({
98
100
  ] }) });
99
101
  };
100
102
  export {
101
- J as default
103
+ Q as default
102
104
  };
@@ -1,5 +1,5 @@
1
1
  import { default as React, Dispatch } from 'react';
2
- import { Bank, BankActionTypes, BankState, OrderActionTypes, Wallet } from 'everest-npm-api';
2
+ import { Bank, BankActionTypes, BankState, OrderActionTypes, Wallet, WalletAppState } from 'everest-npm-api';
3
3
  import { DialogOptions } from '../../../hooks/useDialog/types';
4
4
  interface IbanProps {
5
5
  dispatch: Dispatch<BankActionTypes | OrderActionTypes>;
@@ -11,11 +11,13 @@ interface IbanProps {
11
11
  paymentWidgetSrcUrl: string;
12
12
  iban: BankState["iban"];
13
13
  navigate: (path: string) => void;
14
- AccountItem: ({ data, type, }: {
14
+ AccountItem: ({ data, type, rightAdornment, }: {
15
15
  data: Wallet | Bank;
16
16
  type: string;
17
+ rightAdornment?: React.ReactNode;
17
18
  }) => JSX.Element;
18
19
  createIbanRequest: (currency: string) => void;
20
+ tokenData: WalletAppState["user"]["profile"]["tokens"];
19
21
  }
20
22
  declare const IbanComp: React.FC<IbanProps>;
21
23
  export default IbanComp;
@@ -1,18 +1,18 @@
1
1
  import { jsx as r, jsxs as o, Fragment as l } from "react/jsx-runtime";
2
- import { useRef as S, useState as g, useEffect as B } from "react";
3
- import { I as N } from "../../../Info-BVeUSPyk.js";
4
- import { DIALOG_SUCCESS_ICON as T, FEATURE_VIRTUAL_IBAN as p } from "../../../util/constants.js";
5
- import { M as w } from "../../../tooltip-3UvETWtS.js";
6
- import b from "../Shared/noData.js";
7
- import D from "./createIban.js";
8
- import { AuthInnerContainer as E } from "../Shared/Container/index.js";
9
- import P from "./ibanItem.js";
2
+ import { useRef as g, useState as B, useEffect as N } from "react";
3
+ import { I as T } from "../../../Info-BVeUSPyk.js";
4
+ import { DIALOG_SUCCESS_ICON as w, FEATURE_VIRTUAL_IBAN as p } from "../../../util/constants.js";
5
+ import { M as b } from "../../../tooltip-3UvETWtS.js";
6
+ import D from "../Shared/noData.js";
7
+ import E from "./createIban.js";
8
+ import { AuthInnerContainer as P } from "../Shared/Container/index.js";
9
+ import v from "./ibanItem.js";
10
10
  import { B as t } from "../../../Box-B0YSYLco.js";
11
11
  import { G as n } from "../../../Grid-CFe3amXO.js";
12
- import { T as v } from "../../../Typography-pAaje37G.js";
13
- import { I as z } from "../../../IconButton-DHm-hucF.js";
14
- import { C as L } from "../../../CircularProgress-xZA3lvba.js";
15
- const J = ({
12
+ import { T as z } from "../../../Typography-pAaje37G.js";
13
+ import { I as L } from "../../../IconButton-DHm-hucF.js";
14
+ import { C as R } from "../../../CircularProgress-xZA3lvba.js";
15
+ const Q = ({
16
16
  dispatch: u,
17
17
  openDialog: a,
18
18
  appKey: f,
@@ -21,45 +21,46 @@ const J = ({
21
21
  iban: e,
22
22
  navigate: i,
23
23
  AccountItem: I,
24
- createIbanRequest: y
24
+ createIbanRequest: y,
25
+ tokenData: x
25
26
  }) => {
26
- const c = e.data, x = e.loader, C = S(""), [R, A] = g("");
27
- return B(() => {
27
+ const c = e.data, C = e.loader, A = g(""), [U, S] = B("");
28
+ return N(() => {
28
29
  new URLSearchParams(window.location.search).get("paymentStatus") === "success" && a({
29
30
  title: "Payment Success",
30
31
  message: "We have received your payment and will generate your Virtual IBAN after the payment has processed",
31
- icon: T,
32
+ icon: w,
32
33
  width: "575px",
33
34
  confirmButtonText: "Continue"
34
35
  });
35
- }, []), /* @__PURE__ */ r(E, { children: /* @__PURE__ */ o(t, { p: 3, children: [
36
+ }, []), /* @__PURE__ */ r(P, { children: /* @__PURE__ */ o(t, { p: 3, children: [
36
37
  /* @__PURE__ */ o(n, { spacing: 2, container: !0, alignItems: "center", children: [
37
38
  /* @__PURE__ */ o(n, { size: 8, children: [
38
- /* @__PURE__ */ r(v, { color: "primary", variant: "h6", component: "span", children: /* @__PURE__ */ r("strong", { children: "Everest Accounts (Virtual IBAN)" }) }),
39
+ /* @__PURE__ */ r(z, { color: "primary", variant: "h6", component: "span", children: /* @__PURE__ */ r("strong", { children: "Everest Accounts (Virtual IBAN)" }) }),
39
40
  /* @__PURE__ */ r(
40
- w,
41
+ b,
41
42
  {
42
43
  title: /* @__PURE__ */ r(t, { sx: { whiteSpace: "pre-line" }, children: "Create a Virtual IBAN of selected currency. This requires KYC" }),
43
44
  placement: "bottom",
44
- children: /* @__PURE__ */ r(z, { className: "info-fee-icon", children: /* @__PURE__ */ r(N, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
45
+ children: /* @__PURE__ */ r(L, { className: "info-fee-icon", children: /* @__PURE__ */ r(T, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
45
46
  }
46
47
  )
47
48
  ] }),
48
49
  /* @__PURE__ */ r(n, { size: 4, children: /* @__PURE__ */ r(t, { sx: { textAlign: "right" }, children: /* @__PURE__ */ r(
49
- D,
50
+ E,
50
51
  {
51
52
  openDialog: a,
52
53
  createIbanRequest: y,
53
54
  iban: e,
54
55
  navigate: i,
55
- currency: C,
56
- setIbanCurrency: A,
56
+ currency: A,
57
+ setIbanCurrency: S,
57
58
  from: p
58
59
  }
59
60
  ) }) })
60
61
  ] }),
61
- x ? /* @__PURE__ */ r(t, { mt: 4, className: "flex-center", children: /* @__PURE__ */ r(L, { color: "primary", size: 50 }) }) : /* @__PURE__ */ r(l, { children: c.length > 0 ? /* @__PURE__ */ r(l, { children: c.map((s, m) => /* @__PURE__ */ r(
62
- P,
62
+ C ? /* @__PURE__ */ r(t, { mt: 4, className: "flex-center", children: /* @__PURE__ */ r(R, { color: "primary", size: 50 }) }) : /* @__PURE__ */ r(l, { children: c.length > 0 ? /* @__PURE__ */ r(l, { children: c.map((s, m) => /* @__PURE__ */ r(
63
+ v,
63
64
  {
64
65
  data: s,
65
66
  AccountItem: I,
@@ -69,12 +70,13 @@ const J = ({
69
70
  paymentWidgetSrcUrl: d,
70
71
  iban: e,
71
72
  navigate: i,
72
- from: p
73
+ from: p,
74
+ tokenData: x
73
75
  },
74
76
  m
75
- )) }) : /* @__PURE__ */ r(b, { text: "You currently have no IBAN Accounts" }) })
77
+ )) }) : /* @__PURE__ */ r(D, { text: "You currently have no IBAN Accounts" }) })
76
78
  ] }) });
77
79
  };
78
80
  export {
79
- J as default
81
+ Q as default
80
82
  };
@@ -1,5 +1,5 @@
1
1
  import { Dispatch } from 'react';
2
- import { Bank, BankActionTypes, BankState, Iban, Wallet, OrderActionTypes } from 'everest-npm-api';
2
+ import { Bank, BankActionTypes, BankState, Iban, Wallet, OrderActionTypes, WalletAppState } from 'everest-npm-api';
3
3
  interface IbanItemProps {
4
4
  iban: BankState["iban"];
5
5
  data: Iban;
@@ -8,12 +8,14 @@ interface IbanItemProps {
8
8
  appKeyEur: string;
9
9
  paymentWidgetSrcUrl: string;
10
10
  navigate: (path: string) => void;
11
- AccountItem: ({ data, type, children, }: {
11
+ AccountItem: ({ data, type, children, rightAdornment, }: {
12
12
  data: Wallet | Bank;
13
13
  type: string;
14
14
  children?: React.ReactNode;
15
+ rightAdornment?: React.ReactNode;
15
16
  }) => JSX.Element;
16
17
  from?: string;
18
+ tokenData: WalletAppState["user"]["profile"]["tokens"];
17
19
  }
18
20
  declare const IbanItem: React.FC<IbanItemProps>;
19
21
  export default IbanItem;