@huma-finance/widgets 0.0.51-beta.385 → 0.0.51-beta.387
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huma-finance/widgets",
|
|
3
|
-
"version": "0.0.51-beta.
|
|
3
|
+
"version": "0.0.51-beta.387+54d1176",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"@ethersproject/experimental": "^5.7.0",
|
|
31
31
|
"@ethersproject/providers": "^5.6.0",
|
|
32
32
|
"@ethersproject/units": "^5.6.0",
|
|
33
|
-
"@huma-finance/sdk": "^0.0.51-beta.
|
|
34
|
-
"@huma-finance/shared": "^0.0.51-beta.
|
|
33
|
+
"@huma-finance/sdk": "^0.0.51-beta.387+54d1176",
|
|
34
|
+
"@huma-finance/shared": "^0.0.51-beta.387+54d1176",
|
|
35
35
|
"@mui/icons-material": "^5.3.0",
|
|
36
36
|
"@mui/material": "^5.0.6",
|
|
37
37
|
"@mui/styles": "^5.0.2",
|
|
@@ -193,5 +193,5 @@
|
|
|
193
193
|
"optionalDependencies": {
|
|
194
194
|
"encoding": "^0.1.13"
|
|
195
195
|
},
|
|
196
|
-
"gitHead": "
|
|
196
|
+
"gitHead": "54d11768cfe919b7011e3b8302cad8f8a006ad12"
|
|
197
197
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UnderlyingTokenInfo
|
|
1
|
+
import { UnderlyingTokenInfo } from '@huma-finance/shared'
|
|
2
2
|
import { ethers } from 'ethers'
|
|
3
3
|
import React from 'react'
|
|
4
4
|
|
|
@@ -22,9 +22,7 @@ export function Done({
|
|
|
22
22
|
)
|
|
23
23
|
|
|
24
24
|
const content = [
|
|
25
|
-
`
|
|
26
|
-
shares,
|
|
27
|
-
)} shares has been successfully processed.`,
|
|
25
|
+
`You successfully canceled ${shares} shares redemption request.`,
|
|
28
26
|
]
|
|
29
27
|
|
|
30
28
|
return <TxDoneModal handleAction={handleAction} content={content} />
|
|
@@ -92,12 +92,10 @@ export function LendSupplyV2({
|
|
|
92
92
|
|
|
93
93
|
if (poolInfo.supplyLink) {
|
|
94
94
|
openInNewTab(poolInfo.supplyLink)
|
|
95
|
-
handleClose()
|
|
96
95
|
}
|
|
97
96
|
}
|
|
98
97
|
}, [
|
|
99
98
|
dispatch,
|
|
100
|
-
handleClose,
|
|
101
99
|
lenderApproveStatusFetched,
|
|
102
100
|
lenderApprovedJunior,
|
|
103
101
|
lenderApprovedSenior,
|