@huma-finance/widgets 0.0.78-beta.1042 → 0.0.78-beta.1044
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
|
@@ -184166,7 +184166,9 @@ function Done$1({
|
|
|
184166
184166
|
option: ur,
|
|
184167
184167
|
handleAction: cr
|
|
184168
184168
|
}) {
|
|
184169
|
-
useLogOnFirstMount(
|
|
184169
|
+
useLogOnFirstMount(
|
|
184170
|
+
ur.id === WithdrawOption.WITHDRAW_AND_REDEPOSIT ? "RedepositSuccess" : "WithdrawSuccess"
|
|
184171
|
+
);
|
|
184170
184172
|
const { symbol: fr } = ar, lr = formatMoneyFixed(
|
|
184171
184173
|
SolanaTokenUtils.formatUnits(or, ar.decimals),
|
|
184172
184174
|
2
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huma-finance/widgets",
|
|
3
|
-
"version": "0.0.78-beta.
|
|
3
|
+
"version": "0.0.78-beta.1044+24ff73d",
|
|
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.78-beta.
|
|
26
|
-
"@huma-finance/shared": "^0.0.78-beta.
|
|
27
|
-
"@huma-finance/web-shared": "^0.0.78-beta.
|
|
25
|
+
"@huma-finance/sdk": "^0.0.78-beta.1044+24ff73d",
|
|
26
|
+
"@huma-finance/shared": "^0.0.78-beta.1044+24ff73d",
|
|
27
|
+
"@huma-finance/web-shared": "^0.0.78-beta.1044+24ff73d",
|
|
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": "24ff73d70fb62e039002e258535f1c126869f30d"
|
|
194
194
|
}
|
|
@@ -24,7 +24,11 @@ export function Done({
|
|
|
24
24
|
option,
|
|
25
25
|
handleAction,
|
|
26
26
|
}: Props): React.ReactElement {
|
|
27
|
-
useLogOnFirstMount(
|
|
27
|
+
useLogOnFirstMount(
|
|
28
|
+
option.id === WithdrawOption.WITHDRAW_AND_REDEPOSIT
|
|
29
|
+
? 'RedepositSuccess'
|
|
30
|
+
: 'WithdrawSuccess',
|
|
31
|
+
)
|
|
28
32
|
const { symbol } = poolUnderlyingToken
|
|
29
33
|
const withdrawAmountFormatted = formatMoneyFixed(
|
|
30
34
|
SolanaTokenUtils.formatUnits(withdrawAmount, poolUnderlyingToken.decimals),
|