@huma-finance/widgets 0.0.77-beta.1010 → 0.0.77-beta.1014
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/index.js
CHANGED
|
@@ -72000,7 +72000,7 @@ const STELLAR_CHAINS_INFO = {
|
|
|
72000
72000
|
},
|
|
72001
72001
|
[StellarChainEnum.StellarMainnet]: {
|
|
72002
72002
|
rpc: "https://mainnet.sorobanrpc.com",
|
|
72003
|
-
humaConfig: "
|
|
72003
|
+
humaConfig: "CAXZGMU3EHOHGXGXDJWVPG5PIVC2DCZQ2JO2YI3RGSM4OQK7ZIQ46FV5",
|
|
72004
72004
|
networkPassphrase: "Public Global Stellar Network ; September 2015"
|
|
72005
72005
|
}
|
|
72006
72006
|
};
|
|
@@ -182864,15 +182864,17 @@ function ConfirmTransfer$2({
|
|
|
182864
182864
|
subTitle: "Withdraw all the available amount",
|
|
182865
182865
|
children: [
|
|
182866
182866
|
/* @__PURE__ */ jsxs(Box, { css: pr.itemWrapper, children: [
|
|
182867
|
-
/* @__PURE__ */ jsxs(
|
|
182868
|
-
/* @__PURE__ */
|
|
182869
|
-
|
|
182870
|
-
|
|
182871
|
-
|
|
182872
|
-
|
|
182873
|
-
|
|
182867
|
+
ur !== 0 && /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
182868
|
+
/* @__PURE__ */ jsxs(Box, { css: pr.item, children: [
|
|
182869
|
+
/* @__PURE__ */ jsx(Box, { children: "Price Per Share" }),
|
|
182870
|
+
/* @__PURE__ */ jsxs(Box, { css: pr.itemValue, children: [
|
|
182871
|
+
ur.toFixed(1),
|
|
182872
|
+
" ",
|
|
182873
|
+
lr
|
|
182874
|
+
] })
|
|
182875
|
+
] }),
|
|
182876
|
+
/* @__PURE__ */ jsx(Divider, { css: pr.divider, orientation: "horizontal" })
|
|
182874
182877
|
] }),
|
|
182875
|
-
/* @__PURE__ */ jsx(Divider, { css: pr.divider, orientation: "horizontal" }),
|
|
182876
182878
|
/* @__PURE__ */ jsxs(Box, { css: pr.item, children: [
|
|
182877
182879
|
/* @__PURE__ */ jsx(Box, { fontWeight: 700, children: "Available to withdraw" }),
|
|
182878
182880
|
/* @__PURE__ */ jsxs(Box, { css: pr.itemValue, children: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huma-finance/widgets",
|
|
3
|
-
"version": "0.0.77-beta.
|
|
3
|
+
"version": "0.0.77-beta.1014+9834207",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"@ethersproject/contracts": "^5.7.0",
|
|
23
23
|
"@ethersproject/experimental": "^5.7.0",
|
|
24
24
|
"@ethersproject/units": "^5.6.0",
|
|
25
|
-
"@huma-finance/sdk": "^0.0.77-beta.
|
|
26
|
-
"@huma-finance/shared": "^0.0.77-beta.
|
|
27
|
-
"@huma-finance/web-shared": "^0.0.77-beta.
|
|
25
|
+
"@huma-finance/sdk": "^0.0.77-beta.1014+9834207",
|
|
26
|
+
"@huma-finance/shared": "^0.0.77-beta.1014+9834207",
|
|
27
|
+
"@huma-finance/web-shared": "^0.0.77-beta.1014+9834207",
|
|
28
28
|
"@mui/x-date-pickers": "^5.0.7",
|
|
29
29
|
"@notifi-network/notifi-frontend-client": "^1.1.2",
|
|
30
30
|
"@notifi-network/notifi-react": "^1.1.2",
|
|
@@ -190,5 +190,5 @@
|
|
|
190
190
|
"optionalDependencies": {
|
|
191
191
|
"encoding": "^0.1.13"
|
|
192
192
|
},
|
|
193
|
-
"gitHead": "
|
|
193
|
+
"gitHead": "98342078e96e05f0ec039448cedca485002a741a"
|
|
194
194
|
}
|
|
@@ -59,13 +59,17 @@ export function ConfirmTransfer({
|
|
|
59
59
|
subTitle='Withdraw all the available amount'
|
|
60
60
|
>
|
|
61
61
|
<Box css={styles.itemWrapper}>
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
62
|
+
{sharePrice !== 0 && (
|
|
63
|
+
<>
|
|
64
|
+
<Box css={styles.item}>
|
|
65
|
+
<Box>Price Per Share</Box>
|
|
66
|
+
<Box css={styles.itemValue}>
|
|
67
|
+
{sharePrice.toFixed(1)} {symbol}
|
|
68
|
+
</Box>
|
|
69
|
+
</Box>
|
|
70
|
+
<Divider css={styles.divider} orientation='horizontal' />
|
|
71
|
+
</>
|
|
72
|
+
)}
|
|
69
73
|
<Box css={styles.item}>
|
|
70
74
|
<Box fontWeight={700}>Available to withdraw</Box>
|
|
71
75
|
<Box css={styles.itemValue}>
|