@huma-finance/widgets 0.0.62-beta.620 → 0.0.62-beta.622
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/API.md +1 -0
- package/dist/cjs/index.cjs +185 -113
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +185 -113
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/src/components/Lend/solanaAddRedemption/index.tsx +12 -1
- package/src/components/Lend/solanaSupply/1-Evaluation.tsx +106 -0
- package/src/components/Lend/solanaSupply/3-ChooseAmount.tsx +4 -5
- package/src/components/Lend/solanaSupply/index.tsx +24 -12
- package/src/components/SolanaTxDoneModal.tsx +8 -4
- package/src/components/Lend/solanaSupply/2-Evaluation.tsx +0 -0
- /package/src/components/Lend/solanaSupply/{1-ChooseTranche.tsx → 2-ChooseTranche.tsx} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -284,11 +284,13 @@ interface SolanaLendSupplyProps {
|
|
|
284
284
|
* @typedef {Object} SolanaLendAddRedemptionProps
|
|
285
285
|
* @property {SolanaPoolInfo} poolInfo The metadata of the pool.
|
|
286
286
|
* @property {SolanaPoolState} poolState The current state config of the pool. * @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
287
|
+
* @property {POOL_NTrancheTypeAME} tranche The tranche type.
|
|
287
288
|
* @property {function():void|undefined} handleSuccess Optional function to notify that the lending pool supply action is successful.
|
|
288
289
|
*/
|
|
289
290
|
interface SolanaLendAddRedemptionProps {
|
|
290
291
|
poolInfo: SolanaPoolInfo;
|
|
291
292
|
poolState: SolanaPoolState;
|
|
293
|
+
tranche?: TrancheType;
|
|
292
294
|
handleClose: () => void;
|
|
293
295
|
handleSuccess?: () => void;
|
|
294
296
|
}
|