@huma-finance/widgets 0.0.59-beta.482 → 0.0.59-beta.487
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 +0 -1
- package/dist/cjs/index.cjs +120 -407
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +123 -409
- package/dist/index.js.map +1 -1
- package/package.json +4 -6
- package/src/components/Activity.tsx +1 -1
- package/src/components/ApproveAllowanceModal.tsx +1 -1
- package/src/components/ApproveAllowanceModalV2.tsx +1 -1
- package/src/components/ChooseAmountModal.tsx +5 -6
- package/src/components/ConfirmTransferModal.tsx +2 -3
- package/src/components/CreditLine/borrow/1-Evaluation.tsx +3 -3
- package/src/components/ErrorModal.tsx +2 -2
- package/src/components/Factoring/FactoredList.tsx +2 -2
- package/src/components/Factoring/UpcomingList.tsx +2 -2
- package/src/components/HumaSnackBar.tsx +2 -2
- package/src/components/HumaTable.tsx +3 -3
- package/src/components/InputAmountModal.tsx +4 -4
- package/src/components/Lend/addRedemptionV2/1-ChooseTranche.tsx +2 -2
- package/src/components/Lend/supply/1-Evaluation/EvaluationEA.tsx +1 -1
- package/src/components/Lend/supply/1-Evaluation/EvaluationKYC.tsx +1 -1
- package/src/components/Lend/supplyV2/1-ChooseTranche.tsx +2 -2
- package/src/components/Lend/supplyV2/2-Evaluation.tsx +329 -20
- package/src/components/Lend/supplyV2/3-ChooseAmount.tsx +9 -3
- package/src/components/Lend/supplyV2/index.tsx +4 -37
- package/src/components/Lend/withdrawV2/1-ConfirmTransfer.tsx +2 -2
- package/src/components/Notifi/NotifiSubscriptionModal.tsx +1 -1
- package/src/components/ReceivableBackedCreditLine/payment/1-ChoosePaymentType.tsx +2 -2
- package/src/components/SignIn.tsx +1 -1
- package/src/components/SuperfluidFactoring/index.tsx +2 -2
- package/src/components/TxDoneModal.tsx +1 -1
- package/src/components/WrapperModal.tsx +2 -2
- package/src/components/humaModal/HumaModal.tsx +0 -1
- package/src/index.tsx +0 -2
- package/src/store/widgets.reducers.ts +1 -0
- package/src/theme/components.ts +1 -1
- package/dist/assets/output-f6156dde.css +0 -45
- package/dist/cjs/assets/output-f6156dde.css +0 -45
- package/src/components/Lend/supplyV2/components/PersonaEvaluation.tsx +0 -361
- package/src/components/Lend/supplyV2/components/SecuritizeEvaluation.tsx +0 -345
- package/src/index.css +0 -61
package/dist/index.d.ts
CHANGED
|
@@ -184,13 +184,11 @@ interface LendSupplyProps {
|
|
|
184
184
|
* Lend pool supply props
|
|
185
185
|
* @typedef {Object} LendSupplyPropsV2
|
|
186
186
|
* @property {POOL_NAME} poolName The name of the pool.
|
|
187
|
-
* @property {boolean} shouldApproveAll To check if should approve both tranches.
|
|
188
187
|
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
189
188
|
* @property {function((number|undefined)):void|undefined} handleSuccess Optional function to notify that the lending pool supply action is successful.
|
|
190
189
|
*/
|
|
191
190
|
interface LendSupplyPropsV2 {
|
|
192
191
|
poolName: keyof typeof POOL_NAME;
|
|
193
|
-
shouldApproveAll?: boolean;
|
|
194
192
|
handleClose: () => void;
|
|
195
193
|
handleSuccess?: (blockNumber?: number) => void;
|
|
196
194
|
}
|