everest-npm-features 0.0.10 → 0.0.12

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 (67) hide show
  1. package/dist/{PlayArrow-BWNpsDIu.js → PlayArrow-CJX3F-Ao.js} +5 -5
  2. package/dist/auth-BABravkk.js +62 -0
  3. package/dist/{bank-WoJNjqIT.js → bank-CWKDf4LX.js} +1 -1
  4. package/dist/components/Account/index.js +3 -3
  5. package/dist/components/History/index.js +2 -2
  6. package/dist/components/MoveToEthereumOrEverChain/index.js +13 -12
  7. package/dist/components/Profile/documents.js +2 -2
  8. package/dist/components/Profile/index.js +3 -3
  9. package/dist/components/Receive/index.js +2 -2
  10. package/dist/components/RocketRamp/MinimalKyc/form.js +5 -4
  11. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  12. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.d.ts +1 -1
  13. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  14. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  15. package/dist/components/RocketRamp/Player/Buy/index.js +11 -10
  16. package/dist/components/RocketRamp/Player/Buy/types.d.ts +1 -0
  17. package/dist/components/RocketRamp/Player/Dashboard/index.js +19 -19
  18. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.d.ts +2 -2
  19. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  20. package/dist/components/RocketRamp/Player/Sell/form.d.ts +1 -1
  21. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  22. package/dist/components/RocketRamp/Player/Sell/index.js +11 -10
  23. package/dist/components/RocketRamp/Player/Sell/types.d.ts +3 -1
  24. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  25. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  26. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  27. package/dist/components/RocketRamp/Player/SignUp/email.js +6 -6
  28. package/dist/components/RocketRamp/Player/SignUp/index.js +67 -68
  29. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  30. package/dist/components/RocketRamp/Player/SignUp/summary.js +12 -5
  31. package/dist/components/RocketRamp/Player/SignUp/types.d.ts +1 -1
  32. package/dist/components/RocketRamp/Player/SignUp/validateEmail.d.ts +1 -1
  33. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +2 -2
  34. package/dist/components/RocketRamp/ResetPassword/index.js +32 -40
  35. package/dist/components/RocketRamp/Shared/Input/index.js +26 -22
  36. package/dist/components/RocketRamp/Store/SignUp/index.js +30 -29
  37. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +49 -48
  38. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +26 -26
  39. package/dist/components/RocketRamp/Store/SignUp/summary.js +19 -12
  40. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  41. package/dist/components/Send/index.js +5 -4
  42. package/dist/components/Shared/addBank.js +5 -4
  43. package/dist/components/Shared/connectPlaidBank.js +2 -2
  44. package/dist/components/SignIn/index.js +2 -2
  45. package/dist/components/SignUp/index.js +3 -3
  46. package/dist/components/Stake/index.js +96 -95
  47. package/dist/components/Swap/index.js +5 -4
  48. package/dist/components/WalletPortfolio/index.js +3 -3
  49. package/dist/{constants-74hrsFxy.js → constants-DyrL89Uj.js} +117 -118
  50. package/dist/context/snackBarContext.d.ts +6 -0
  51. package/dist/context/snackBarContext.js +15 -0
  52. package/dist/{documents-DFzrb5Js.js → documents-Cxc_3C4R.js} +1 -1
  53. package/dist/{fiatAssets-BySmKCPn.js → fiatAssets-DeudejAK.js} +1 -1
  54. package/dist/{index-DNVjDI72.js → index-DMkrDfGm.js} +237 -233
  55. package/dist/{index-Dxl09QM3.js → index-DvKAMsiE.js} +312 -282
  56. package/dist/main.d.ts +1 -0
  57. package/dist/main.js +33 -30
  58. package/dist/{order-BJOkWhkX.js → order-iHGog1Yb.js} +5 -5
  59. package/dist/{stake-DeB_prrU.js → stake-jk4kuemE.js} +1 -1
  60. package/dist/store.d.ts +2 -2
  61. package/dist/{user-Doi440iN.js → user-2zS0ATM8.js} +6 -6
  62. package/dist/util/functions.js +1 -1
  63. package/dist/{wallet-BeLTGObA.js → wallet-DhlPXr9I.js} +1 -1
  64. package/package.json +2 -2
  65. package/dist/auth-CD4Ih2jU.js +0 -66
  66. package/dist/components/RocketRamp/ResetPassword/form.d.ts +0 -8
  67. package/dist/components/RocketRamp/ResetPassword/form.js +0 -104
@@ -1,4 +1,4 @@
1
- import { W as t, X as a, Y as o } from "./constants-74hrsFxy.js";
1
+ import { T as t, W as a, X as o } from "./constants-DyrL89Uj.js";
2
2
  import { jsx as r } from "react/jsx-runtime";
3
3
  import { c as e } from "./createSvgIcon-DhzhBkIq.js";
4
4
  const y = (s) => ({
@@ -7,15 +7,15 @@ const y = (s) => ({
7
7
  }), A = (s) => ({
8
8
  type: a,
9
9
  payload: s
10
- }), E = (s) => ({
10
+ }), T = (s) => ({
11
11
  type: o,
12
12
  payload: s
13
- }), R = e(/* @__PURE__ */ r("path", {
13
+ }), E = e(/* @__PURE__ */ r("path", {
14
14
  d: "M8 5v14l11-7z"
15
15
  }), "PlayArrow");
16
16
  export {
17
- E as F,
18
- R as P,
17
+ T as F,
18
+ E as P,
19
19
  A as a,
20
20
  y as c
21
21
  };
@@ -0,0 +1,62 @@
1
+ import { L as a, V as s, d as E, e as t, f as R, R as _, A as o, P as y, g as S, h as T, i as p, j as l, k as i, l as r, m as I } from "./constants-DyrL89Uj.js";
2
+ const d = (e) => ({
3
+ type: R,
4
+ payload: e
5
+ }), n = (e) => ({
6
+ type: _,
7
+ payload: e
8
+ }), c = () => ({
9
+ type: o
10
+ }), u = (e) => ({
11
+ type: y,
12
+ payload: e
13
+ }), L = () => ({
14
+ type: S
15
+ }), U = (e) => ({
16
+ type: a,
17
+ payload: e
18
+ }), g = (e) => ({
19
+ type: s,
20
+ payload: e
21
+ }), B = (e) => ({
22
+ type: E,
23
+ payload: e
24
+ }), q = (e) => ({
25
+ type: T,
26
+ payload: e
27
+ }), Q = (e) => ({
28
+ type: p,
29
+ payload: e
30
+ }), G = (e) => ({
31
+ type: l,
32
+ payload: e
33
+ }), P = (e) => ({
34
+ type: t,
35
+ payload: e
36
+ }), Y = (e) => ({
37
+ type: i,
38
+ payload: e
39
+ }), m = (e) => ({
40
+ type: r,
41
+ payload: e
42
+ }), O = (e) => ({
43
+ type: I,
44
+ payload: { type: e }
45
+ });
46
+ export {
47
+ c as a,
48
+ Y as b,
49
+ m as c,
50
+ O as d,
51
+ g as e,
52
+ B as f,
53
+ P as g,
54
+ n as h,
55
+ d as i,
56
+ u as j,
57
+ U as l,
58
+ Q as r,
59
+ L as s,
60
+ q as u,
61
+ G as v
62
+ };
@@ -1,4 +1,4 @@
1
- import { J as e, K as s, M as t, N as E, Q as p } from "./constants-74hrsFxy.js";
1
+ import { I as e, J as s, K as t, M as E, N as p } from "./constants-DyrL89Uj.js";
2
2
  const R = () => ({
3
3
  type: E
4
4
  }), _ = (a) => ({
@@ -1,10 +1,10 @@
1
1
  import { jsxs as a, jsx as e, Fragment as V } from "react/jsx-runtime";
2
2
  import { useState as p, useEffect as h } from "react";
3
3
  import { u as X, a as z } from "../../react-redux-B4BZippc.js";
4
- import "../../constants-74hrsFxy.js";
4
+ import "../../constants-DyrL89Uj.js";
5
5
  import { a as Y, c as Z, d as ee } from "../../index-TElEjliR.js";
6
- import { u as te, a as ne, b as ae, c as se, d as oe, e as re } from "../../wallet-BeLTGObA.js";
7
- import { u as ie, d as le } from "../../bank-WoJNjqIT.js";
6
+ import { u as te, a as ne, b as ae, c as se, d as oe, e as re } from "../../wallet-DhlPXr9I.js";
7
+ import { u as ie, d as le } from "../../bank-CWKDf4LX.js";
8
8
  import { useSnackBar as ce } from "../../hooks/useSnackBar.js";
9
9
  import { LINKED_WALLET_TOOLTIP as de, CONNECTED_WALLET_TOOLTIP as me, WALLET_ICON as he, DELETE_ICON as ue } from "../../util/constants.js";
10
10
  import pe from "../../hoc/withThemeProvider.js";
@@ -3,8 +3,8 @@ import * as J from "react";
3
3
  import { useState as ot, useEffect as st } from "react";
4
4
  import nt from "../../hoc/withThemeProvider.js";
5
5
  import { u as rt, a as it } from "../../react-redux-B4BZippc.js";
6
- import "../../constants-74hrsFxy.js";
7
- import { o as lt } from "../../order-BJOkWhkX.js";
6
+ import "../../constants-DyrL89Uj.js";
7
+ import { o as lt } from "../../order-iHGog1Yb.js";
8
8
  import pt from "../Shared/HistoryItem/index.js";
9
9
  import { B } from "../../Box-Bt8cGqC7.js";
10
10
  import { g as K, a as z, P as a, f as R } from "../../createTheme-BYjetuXd.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, Fragment as c, jsx as e } from "react/jsx-runtime";
2
- import { useState as f, useRef as X, useEffect as T } from "react";
3
- import { u as Y, a as S } from "../../react-redux-B4BZippc.js";
2
+ import { useState as f, useRef as J, useEffect as T } from "react";
3
+ import { u as X, a as S } from "../../react-redux-B4BZippc.js";
4
4
  import { C as ee } from "../../Close-BMBeNE5d.js";
5
5
  import te from "../Shared/pin.js";
6
6
  import { BACK_BTN_ICON as re, EVER_CHAIN_NETWORK as F, ETHEREUM_NETWORK as G } from "../../util/constants.js";
@@ -8,9 +8,9 @@ import "@incodetech/welcome";
8
8
  import "../../axios-BEX6n2A7.js";
9
9
  import { useSnackBar as oe } from "../../hooks/useSnackBar.js";
10
10
  import "../SignUp/pin.js";
11
- import { Z as se, _ as ne, $ as ae, a0 as ie, a1 as le } from "../../constants-74hrsFxy.js";
11
+ import { Y as se, Z as ne, _ as ae, $ as ie, a0 as le } from "../../constants-DyrL89Uj.js";
12
12
  import { u as ce } from "../../index-TElEjliR.js";
13
- import { g as me } from "../../wallet-BeLTGObA.js";
13
+ import { g as me } from "../../wallet-DhlPXr9I.js";
14
14
  import '../../assets/main.css';import '../../assets/index7.css';/* empty css */
15
15
  import de from "../../hoc/withThemeProvider.js";
16
16
  import { numberFormat as ue, fromHuman as he, getGweiFromWei as pe, getUnFormattedValueFromWei as fe } from "../../util/conversions.js";
@@ -24,6 +24,7 @@ import "../../index.esm-BsMAMhYW.js";
24
24
  import "../../web3-u4qDZYpo.js";
25
25
  import "../../index-B8QKlEgj.js";
26
26
  import { decimalNumbersWithCommaOrDot as Ee } from "../../util/regex.js";
27
+ import "../../context/snackBarContext.js";
27
28
  import "../../index-ceeCtFuh.js";
28
29
  import { B as N } from "../../Box-Bt8cGqC7.js";
29
30
  import { T as g } from "../../Typography-Du8mj1kr.js";
@@ -61,9 +62,9 @@ const be = (r) => ({
61
62
  depositAddress: A
62
63
  }) => {
63
64
  var q, k;
64
- const { showAlertMessage: E, snackBar: U } = oe(), m = Y(), u = S((t) => t.bridge), s = u.gasFee, x = u.loader, h = u.error, R = u.withdrawStatus, B = S((t) => t.user.wallets);
65
+ const { showAlertMessage: E, snackBar: U } = oe(), m = X(), u = S((t) => t.bridge), s = u.gasFee, x = u.loader, h = u.error, R = u.withdrawStatus, B = S((t) => t.user.wallets);
65
66
  B.loader;
66
- const W = B.data, _ = a === F ? G : F, i = S(ce).everWalletAddress, [I, V] = f(""), L = ue(I), [O, w] = f("default"), [K, Q] = f(!1), [d, D] = f(""), [$, C] = f(!1), y = X(""), v = he(d, r === "ID" ? 18 : 6);
67
+ const W = B.data, _ = a === F ? G : F, i = S(ce).everWalletAddress, [I, V] = f(""), L = ue(I), [O, w] = f("default"), [K, Q] = f(!1), [d, D] = f(""), [$, C] = f(!1), y = J(""), v = he(d, r === "ID" ? 18 : 6);
67
68
  T(() => (m(me()), () => {
68
69
  m(Se());
69
70
  }), []), T(() => {
@@ -99,7 +100,7 @@ const be = (r) => ({
99
100
  message: "Insufficient balance to move to everChain"
100
101
  }), !1;
101
102
  w("pin");
102
- }, Z = () => {
103
+ }, Y = () => {
103
104
  if (a === G) {
104
105
  const t = {
105
106
  walletAddress: i,
@@ -120,7 +121,7 @@ const be = (r) => ({
120
121
  };
121
122
  m(ye(t));
122
123
  }
123
- }, J = () => {
124
+ }, Z = () => {
124
125
  m(a === G ? be({
125
126
  walletAddress: i,
126
127
  amount: v,
@@ -177,7 +178,7 @@ const be = (r) => ({
177
178
  error: K,
178
179
  onCancel: () => w("default"),
179
180
  onSubmit: (t) => {
180
- y.current = t, J(), w("default");
181
+ y.current = t, Z(), w("default");
181
182
  }
182
183
  }
183
184
  )
@@ -321,7 +322,7 @@ const be = (r) => ({
321
322
  M,
322
323
  {
323
324
  sx: { mt: 4 },
324
- onClick: Z,
325
+ onClick: Y,
325
326
  className: "wallet-btn",
326
327
  variant: "contained",
327
328
  disabled: x,
@@ -339,7 +340,7 @@ const be = (r) => ({
339
340
  }
340
341
  )
341
342
  ] });
342
- }, Et = de(Me);
343
+ }, xt = de(Me);
343
344
  export {
344
- Et as default
345
+ xt as default
345
346
  };
@@ -7,11 +7,11 @@ import "../../Cancel-5JDQ2Kc0.js";
7
7
  import "../Shared/inputField.js";
8
8
  import "../Shared/step.js";
9
9
  import "../../react-webcam-B3cXh1XT.js";
10
- import { D as B } from "../../documents-DFzrb5Js.js";
10
+ import { D as B } from "../../documents-Cxc_3C4R.js";
11
11
  import "../Shared/transition.js";
12
12
  import "../../util/functions.js";
13
13
  import "../../react-redux-B4BZippc.js";
14
- import "../../constants-74hrsFxy.js";
14
+ import "../../constants-DyrL89Uj.js";
15
15
  import "../../index-TElEjliR.js";
16
16
  import "../../util/constants.js";
17
17
  import "../../hooks/useDialog/index.js";
@@ -2,11 +2,11 @@ import { jsx as e, jsxs as i, Fragment as V } from "react/jsx-runtime";
2
2
  import * as A from "react";
3
3
  import { useState as F, useEffect as D } from "react";
4
4
  import { u as H, a as T } from "../../react-redux-B4BZippc.js";
5
- import "../../constants-74hrsFxy.js";
5
+ import "../../constants-DyrL89Uj.js";
6
6
  import { u as U } from "../../index-TElEjliR.js";
7
- import { a as O, b as E, c as z, d as j } from "../../user-Doi440iN.js";
7
+ import { a as O, b as E, c as z, d as j } from "../../user-2zS0ATM8.js";
8
8
  import { useSnackBar as q } from "../../hooks/useSnackBar.js";
9
- import { s as l, D as W } from "../../documents-DFzrb5Js.js";
9
+ import { s as l, D as W } from "../../documents-Cxc_3C4R.js";
10
10
  import f from "../Shared/inputField.js";
11
11
  import { WIDGET_URL as X } from "../../util/constants.js";
12
12
  import Y from "../../hoc/withThemeProvider.js";
@@ -2,9 +2,9 @@ import { jsxs as n, Fragment as d, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as y, useEffect as p } from "react";
3
3
  import { u as S, a as u } from "../../react-redux-B4BZippc.js";
4
4
  import { Q as W } from "../../index-CAoLi5Qq.js";
5
- import "../../constants-74hrsFxy.js";
5
+ import "../../constants-DyrL89Uj.js";
6
6
  import { u as _, c as z } from "../../index-TElEjliR.js";
7
- import { u as A } from "../../wallet-BeLTGObA.js";
7
+ import { u as A } from "../../wallet-DhlPXr9I.js";
8
8
  import { C as B } from "../../ContentCopy-C-P8eJzn.js";
9
9
  import { useSnackBar as N } from "../../hooks/useSnackBar.js";
10
10
  import w from "../../hoc/withThemeProvider.js";
@@ -8,8 +8,8 @@ import "@incodetech/welcome";
8
8
  import "../../../axios-BEX6n2A7.js";
9
9
  import { useSnackBar as Q } from "../../../hooks/useSnackBar.js";
10
10
  import "../../SignUp/pin.js";
11
- import "../../../constants-74hrsFxy.js";
12
- import { r as U, u as V } from "../../../user-Doi440iN.js";
11
+ import "../../../constants-DyrL89Uj.js";
12
+ import { r as U, u as V } from "../../../user-2zS0ATM8.js";
13
13
  import '../../../assets/main.css';/* empty css */
14
14
  import "../../../util/conversions.js";
15
15
  import "../../../index-CAoLi5Qq.js";
@@ -21,6 +21,7 @@ import "../../../index.esm-BsMAMhYW.js";
21
21
  import { c as X } from "../../../countries-BVn1FubK.js";
22
22
  import "../../../web3-u4qDZYpo.js";
23
23
  import "../../../index-B8QKlEgj.js";
24
+ import "../../../context/snackBarContext.js";
24
25
  import $ from "../Shared/Button/index.js";
25
26
  import o from "../Shared/Input/index.js";
26
27
  import "../../../index-ceeCtFuh.js";
@@ -30,7 +31,7 @@ import { F as ee } from "../../../FormControl-C_Aq5EJK.js";
30
31
  import { S as te } from "../../../Select-PHF4wwtI.js";
31
32
  import { M as F } from "../../../MenuItem-B5Ey6jYk.js";
32
33
  import { C as re } from "../../../CircularProgress-B06C3TSm.js";
33
- const Ke = ({ onComplete: z }) => {
34
+ const Ye = ({ onComplete: z }) => {
34
35
  const h = H(), n = R(
35
36
  (e) => e.user.profile
36
37
  );
@@ -229,5 +230,5 @@ const Ke = ({ onComplete: z }) => {
229
230
  ] });
230
231
  };
231
232
  export {
232
- Ke as default
233
+ Ye as default
233
234
  };
@@ -1,14 +1,14 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { C as b } from "../../../../index-DNVjDI72.js";
3
+ import { C as b } from "../../../../index-DMkrDfGm.js";
4
4
  import "../../../../index-ceeCtFuh.js";
5
5
  import "../../Shared/backBtn.js";
6
6
  import "../../../../util/functions.js";
7
7
  import "../../../../util/constants.js";
8
8
  import "../../Shared/Input/index.js";
9
9
  import "../../Shared/Button/index.js";
10
- import "../../../../constants-74hrsFxy.js";
11
- import "../../../../order-BJOkWhkX.js";
10
+ import "../../../../constants-DyrL89Uj.js";
11
+ import "../../../../order-iHGog1Yb.js";
12
12
  import "../../../../Typography-Du8mj1kr.js";
13
13
  import "../../../../Box-Bt8cGqC7.js";
14
14
  import "../../../../CircularProgress-B06C3TSm.js";
@@ -1,3 +1,3 @@
1
1
  import { BuyConfirmTransactionProps } from './types';
2
- declare const BuyConfirmTransaction: ({ setScreen, partnerKey, orderData, dispatch, walletAddress, }: BuyConfirmTransactionProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const BuyConfirmTransaction: ({ setScreen, partnerKey, orderData, dispatch, walletAddress, store, }: BuyConfirmTransactionProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default BuyConfirmTransaction;
@@ -3,10 +3,10 @@ import "react";
3
3
  import "../../Shared/backBtn.js";
4
4
  import "../../../../util/functions.js";
5
5
  import "../../../../util/constants.js";
6
- import { a as b } from "../../../../index-DNVjDI72.js";
6
+ import { a as b } from "../../../../index-DMkrDfGm.js";
7
7
  import "../../Shared/Button/index.js";
8
- import "../../../../constants-74hrsFxy.js";
9
- import "../../../../order-BJOkWhkX.js";
8
+ import "../../../../constants-DyrL89Uj.js";
9
+ import "../../../../order-iHGog1Yb.js";
10
10
  import "../../../../Typography-Du8mj1kr.js";
11
11
  import "../../../../Box-Bt8cGqC7.js";
12
12
  import "../../../../Grid2-IYppkw5f.js";
@@ -1,16 +1,16 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import "../../../../PlayArrow-BWNpsDIu.js";
3
+ import "../../../../PlayArrow-CJX3F-Ao.js";
4
4
  import "../../../../Info-DTcjrneu.js";
5
5
  import "../../../../generic-token-B_ptO5yb.js";
6
6
  import "../../Shared/Input/index.js";
7
7
  import "../../../../util/constants.js";
8
- import "../../../../constants-74hrsFxy.js";
9
- import "../../../../order-BJOkWhkX.js";
8
+ import "../../../../constants-DyrL89Uj.js";
9
+ import "../../../../order-iHGog1Yb.js";
10
10
  import "../../../Shared/tooltip.js";
11
11
  import "../../../../util/functions.js";
12
12
  import "../../Shared/Button/index.js";
13
- import { B as w } from "../../../../index-DNVjDI72.js";
13
+ import { B as w } from "../../../../index-DMkrDfGm.js";
14
14
  import "../../../../Grid2-IYppkw5f.js";
15
15
  import "../../../../Box-Bt8cGqC7.js";
16
16
  import "../../../../Typography-Du8mj1kr.js";
@@ -1,16 +1,16 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../../../hoc/withThemeProvider.js";
4
- import { b as L, F as T, M as c, P as g, i as h } from "../../../../index-DNVjDI72.js";
4
+ import { b as T, F as c, M as g, P as h, i as j } from "../../../../index-DMkrDfGm.js";
5
5
  import "../../../../util/constants.js";
6
6
  import "@incodetech/welcome";
7
7
  import "../../../../axios-BEX6n2A7.js";
8
8
  import "../../../../hooks/useSnackBar.js";
9
9
  import "../../../SignUp/pin.js";
10
- import "../../../../constants-74hrsFxy.js";
11
- import "../../../../fiatAssets-BySmKCPn.js";
12
- import "../../../../PlayArrow-BWNpsDIu.js";
13
- import "../../../../order-BJOkWhkX.js";
10
+ import "../../../../constants-DyrL89Uj.js";
11
+ import "../../../../fiatAssets-DeudejAK.js";
12
+ import "../../../../PlayArrow-CJX3F-Ao.js";
13
+ import "../../../../order-iHGog1Yb.js";
14
14
  import "../../../../react-redux-B4BZippc.js";
15
15
  import '../../../../assets/main.css';/* empty css */
16
16
  import "../../../../util/conversions.js";
@@ -24,12 +24,13 @@ import "../../../Shared/tooltip.js";
24
24
  import "../../../../index.esm-BsMAMhYW.js";
25
25
  import "../../../../web3-u4qDZYpo.js";
26
26
  import "../../../../index-B8QKlEgj.js";
27
+ import "../../../../context/snackBarContext.js";
27
28
  import "../../MinimalKyc/form.js";
28
29
  import "../../../../Box-Bt8cGqC7.js";
29
30
  export {
30
- L as CONFIRM_SCREEN,
31
- T as FORM_SCREEN,
32
- c as MINIMAL_KYC_SCREEN,
33
- g as PAYMENT_SCREEN,
34
- h as default
31
+ T as CONFIRM_SCREEN,
32
+ c as FORM_SCREEN,
33
+ g as MINIMAL_KYC_SCREEN,
34
+ h as PAYMENT_SCREEN,
35
+ j as default
35
36
  };
@@ -24,6 +24,7 @@ export interface BuyFormProps extends BaseBuySubComponentProps {
24
24
  export interface BuyConfirmTransactionProps extends BaseBuySubComponentProps {
25
25
  partnerKey: string;
26
26
  walletAddress: string;
27
+ store: RocketRampAppState["app"]["store"];
27
28
  }
28
29
  export interface CardPaymentProps extends BaseBuySubComponentProps {
29
30
  checkoutKey: string;
@@ -3,25 +3,25 @@ import S from "../../../../hoc/withThemeProvider.js";
3
3
  import C from "./balance.js";
4
4
  import w from "./transaction.js";
5
5
  import { u as x, a as c } from "../../../../react-redux-B4BZippc.js";
6
- import "../../../../constants-74hrsFxy.js";
7
- import { o as b } from "../../../../order-BJOkWhkX.js";
8
- import { useState as B, useEffect as r } from "react";
6
+ import "../../../../constants-DyrL89Uj.js";
7
+ import { o as b } from "../../../../order-iHGog1Yb.js";
8
+ import { useState as B, useEffect as a } from "react";
9
9
  import { getOrionBalance as D } from "../../../../util/functions.js";
10
10
  import { useRrDialog as L } from "../../../../hooks/useRrDialog/index.js";
11
11
  import { c as P } from "../../../../createSvgIcon-DhzhBkIq.js";
12
12
  import { C as v } from "../../../../Cancel-5JDQ2Kc0.js";
13
13
  const T = P(/* @__PURE__ */ e("path", {
14
14
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"
15
- }), "CheckCircle"), k = ({ navigate: s }) => {
16
- const { openDialog: m, ConfirmDialog: l } = L(), p = x(), i = c((o) => o.order), n = c(
15
+ }), "CheckCircle"), k = ({ navigate: r }) => {
16
+ const { openDialog: m, ConfirmDialog: l } = L(), p = x(), s = c((o) => o.order), i = c(
17
17
  (o) => o.user.profile
18
- ), u = i.list, f = i.loader, [d, h] = B(0);
19
- return r(() => {
18
+ ), u = s.list, f = s.loader, [d, h] = B(0);
19
+ return a(() => {
20
20
  p(b(1));
21
- }, []), r(() => {
22
- const t = new URLSearchParams(window.location.search).get("payment");
23
- if (console.log(t), t) {
24
- let a = {
21
+ }, []), a(() => {
22
+ const n = new URLSearchParams(window.location.search).get("payment");
23
+ if (n) {
24
+ let t = {
25
25
  icon: /* @__PURE__ */ e(v, { sx: { fontSize: 80 }, color: "primary" }),
26
26
  title: "Transaction Failed",
27
27
  message: "Your payment has been failed. Please try again or contact support.",
@@ -30,16 +30,16 @@ const T = P(/* @__PURE__ */ e("path", {
30
30
  height: "400px",
31
31
  width: "65%"
32
32
  };
33
- t === "success" && (a = {
34
- ...a,
33
+ n === "success" && (t = {
34
+ ...t,
35
35
  icon: /* @__PURE__ */ e(T, { sx: { fontSize: 80 }, color: "primary" }),
36
36
  title: "Transaction Success",
37
37
  message: "We have received your payment. Your transaction is in process and will be completed in few minutes."
38
- }), m(a);
38
+ }), m(t);
39
39
  }
40
- }, []), r(() => {
41
- h(D(n.tokens.list));
42
- }, [n.tokens]), /* @__PURE__ */ g(y, { children: [
40
+ }, []), a(() => {
41
+ h(D(i.tokens.list));
42
+ }, [i.tokens]), /* @__PURE__ */ g(y, { children: [
43
43
  /* @__PURE__ */ e(l, {}),
44
44
  /* @__PURE__ */ e(
45
45
  C,
@@ -48,7 +48,7 @@ const T = P(/* @__PURE__ */ e("path", {
48
48
  isBuyAvailable: !0,
49
49
  isRedeemAvailable: !0,
50
50
  isLoading: !1,
51
- navigate: s
51
+ navigate: r
52
52
  }
53
53
  ),
54
54
  /* @__PURE__ */ e(
@@ -56,7 +56,7 @@ const T = P(/* @__PURE__ */ e("path", {
56
56
  {
57
57
  isLoading: f,
58
58
  transactions: u,
59
- navigate: s
59
+ navigate: r
60
60
  }
61
61
  )
62
62
  ] });
@@ -1,3 +1,3 @@
1
- import { BuyConfirmTransactionProps } from './types';
2
- declare const BuyConfirmTransaction: ({ setScreen, partnerKey, orderData, dispatch, walletAddress, navigate, }: BuyConfirmTransactionProps) => import("react/jsx-runtime").JSX.Element;
1
+ import { SellConfirmTransactionProps } from './types';
2
+ declare const BuyConfirmTransaction: ({ setScreen, partnerKey, orderData, dispatch, walletAddress, navigate, store, }: SellConfirmTransactionProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default BuyConfirmTransaction;
@@ -3,10 +3,10 @@ import "react";
3
3
  import "../../Shared/backBtn.js";
4
4
  import "../../../../util/functions.js";
5
5
  import "../../../../util/constants.js";
6
- import { B as h } from "../../../../index-Dxl09QM3.js";
6
+ import { B as h } from "../../../../index-DvKAMsiE.js";
7
7
  import "../../Shared/Button/index.js";
8
- import "../../../../constants-74hrsFxy.js";
9
- import "../../../../order-BJOkWhkX.js";
8
+ import "../../../../constants-DyrL89Uj.js";
9
+ import "../../../../order-iHGog1Yb.js";
10
10
  import "../../../Shared/transition.js";
11
11
  import "../../../../Close-BMBeNE5d.js";
12
12
  import "../../../../Typography-Du8mj1kr.js";
@@ -1,3 +1,3 @@
1
1
  import { SellFormProps } from './types';
2
- declare const SellForm: ({ setScreen, orderData, dispatch, fiatAssets, cryptoAssets, getCryptoAssets, showAlertMessage, partnerKey, balance, }: SellFormProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const SellForm: ({ setScreen, orderData, dispatch, fiatAssets, cryptoAssets, getCryptoAssets, showAlertMessage, partnerKey, balance, store, }: SellFormProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default SellForm;
@@ -1,16 +1,16 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import "../../../../PlayArrow-BWNpsDIu.js";
3
+ import "../../../../PlayArrow-CJX3F-Ao.js";
4
4
  import "../../../../Info-DTcjrneu.js";
5
5
  import "../../../../generic-token-B_ptO5yb.js";
6
6
  import "../../Shared/Input/index.js";
7
7
  import "../../../../util/constants.js";
8
- import "../../../../constants-74hrsFxy.js";
9
- import "../../../../order-BJOkWhkX.js";
8
+ import "../../../../constants-DyrL89Uj.js";
9
+ import "../../../../order-iHGog1Yb.js";
10
10
  import "../../../Shared/tooltip.js";
11
11
  import "../../../../util/functions.js";
12
12
  import "../../Shared/Button/index.js";
13
- import { S as w } from "../../../../index-Dxl09QM3.js";
13
+ import { S as w } from "../../../../index-DvKAMsiE.js";
14
14
  import "../../../../Grid2-IYppkw5f.js";
15
15
  import "../../../../Box-Bt8cGqC7.js";
16
16
  import "../../../../Typography-Du8mj1kr.js";
@@ -1,16 +1,16 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../../../hoc/withThemeProvider.js";
4
- import { C as b, F as c, M as g, P as h, i as j } from "../../../../index-Dxl09QM3.js";
4
+ import { C as c, F as g, M as h, P as j, i as k } from "../../../../index-DvKAMsiE.js";
5
5
  import "../../../../util/constants.js";
6
6
  import "@incodetech/welcome";
7
7
  import "../../../../axios-BEX6n2A7.js";
8
8
  import "../../../../hooks/useSnackBar.js";
9
9
  import "../../../SignUp/pin.js";
10
- import "../../../../constants-74hrsFxy.js";
11
- import "../../../../fiatAssets-BySmKCPn.js";
12
- import "../../../../PlayArrow-BWNpsDIu.js";
13
- import "../../../../order-BJOkWhkX.js";
10
+ import "../../../../constants-DyrL89Uj.js";
11
+ import "../../../../fiatAssets-DeudejAK.js";
12
+ import "../../../../PlayArrow-CJX3F-Ao.js";
13
+ import "../../../../order-iHGog1Yb.js";
14
14
  import "../../../../react-redux-B4BZippc.js";
15
15
  import '../../../../assets/main.css';/* empty css */
16
16
  import "../../../../util/conversions.js";
@@ -24,13 +24,14 @@ import "../../../Shared/tooltip.js";
24
24
  import "../../../../index.esm-BsMAMhYW.js";
25
25
  import "../../../../web3-u4qDZYpo.js";
26
26
  import "../../../../index-B8QKlEgj.js";
27
+ import "../../../../context/snackBarContext.js";
27
28
  import "../../../../index-ceeCtFuh.js";
28
29
  import "../../MinimalKyc/form.js";
29
30
  import "../../../../Box-Bt8cGqC7.js";
30
31
  export {
31
- b as CONFIRM_SCREEN,
32
- c as FORM_SCREEN,
33
- g as MINIMAL_KYC_SCREEN,
34
- h as PAYMENT_SCREEN,
35
- j as default
32
+ c as CONFIRM_SCREEN,
33
+ g as FORM_SCREEN,
34
+ h as MINIMAL_KYC_SCREEN,
35
+ j as PAYMENT_SCREEN,
36
+ k as default
36
37
  };
@@ -18,11 +18,13 @@ export interface SellFormProps extends BaseSellSubComponentProps {
18
18
  getCryptoAssets: (id: number) => void;
19
19
  partnerKey: string;
20
20
  balance: number;
21
+ store: RocketRampAppState["app"]["store"];
21
22
  }
22
- export interface BuyConfirmTransactionProps extends BaseSellSubComponentProps {
23
+ export interface SellConfirmTransactionProps extends BaseSellSubComponentProps {
23
24
  partnerKey: string;
24
25
  walletAddress: string;
25
26
  navigate: any;
27
+ store: RocketRampAppState["app"]["store"];
26
28
  }
27
29
  export interface CardPaymentProps extends BaseSellSubComponentProps {
28
30
  checkoutKey: string;
@@ -6,8 +6,8 @@ import L from "../../../../hoc/withThemeProvider.js";
6
6
  import { L as T } from "../../../../rr-primary-logo-CqI24c8v.js";
7
7
  import y from "./loginForm.js";
8
8
  import D from "./otpForm.js";
9
- import "../../../../constants-74hrsFxy.js";
10
- import { a as R } from "../../../../auth-CD4Ih2jU.js";
9
+ import "../../../../constants-DyrL89Uj.js";
10
+ import { a as R } from "../../../../auth-BABravkk.js";
11
11
  import { C } from "../../../../Container-Htc6vdB5.js";
12
12
  import { T as E } from "../../../../Typography-Du8mj1kr.js";
13
13
  import { B as l } from "../../../../Box-Bt8cGqC7.js";
@@ -1,7 +1,7 @@
1
1
  import { jsxs as t, Fragment as g, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as h, useEffect as v } from "react";
3
- import "../../../../constants-74hrsFxy.js";
4
- import { l as x } from "../../../../auth-CD4Ih2jU.js";
3
+ import "../../../../constants-DyrL89Uj.js";
4
+ import { l as x } from "../../../../auth-BABravkk.js";
5
5
  import l from "../../Shared/Button/index.js";
6
6
  import y from "../../Shared/Input/index.js";
7
7
  import { isValidEmail as m } from "../../../../util/functions.js";
@@ -2,8 +2,8 @@ import { jsxs as n, Fragment as k, jsx as t } from "react/jsx-runtime";
2
2
  import h from "../../Shared/Button/index.js";
3
3
  import I from "../../Shared/Input/index.js";
4
4
  import { useState as m, useEffect as f } from "react";
5
- import "../../../../constants-74hrsFxy.js";
6
- import { l as O, d as P } from "../../../../auth-CD4Ih2jU.js";
5
+ import "../../../../constants-DyrL89Uj.js";
6
+ import { l as O, e as P } from "../../../../auth-BABravkk.js";
7
7
  import { RESEND_EMAIL_TIMER as g } from "../../../../util/constants.js";
8
8
  import { S as o } from "../../../../Stack-Ce-OQAtj.js";
9
9
  import { T as a } from "../../../../Typography-Du8mj1kr.js";