@huma-finance/widgets 0.0.62-beta.632 → 0.0.62-beta.634
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 +94 -128
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +96 -130
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/src/components/Lend/{supplyV2/components → components}/PersonaEvaluation.tsx +19 -13
- package/src/components/Lend/{supplyV2/components → components}/SecuritizeEvaluation.tsx +7 -8
- package/src/components/Lend/solanaSupply/1-Evaluation.tsx +28 -91
- package/src/components/Lend/solanaSupply/index.tsx +8 -8
- package/src/components/Lend/supplyV2/2-Evaluation.tsx +4 -3
package/dist/index.d.ts
CHANGED
|
@@ -270,12 +270,14 @@ type ReceivableBackedCreditLinePaymentPropsV2 = {
|
|
|
270
270
|
* @typedef {Object} SolanaLendSupplyProps
|
|
271
271
|
* @property {SolanaPoolInfo} poolInfo The metadata of the pool.
|
|
272
272
|
* @property {SolanaPoolState} poolState The current state config of the pool.
|
|
273
|
+
* @property {boolean} pointsTestnetExperience If the user is in the testnet experience.
|
|
273
274
|
* @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.
|
|
274
275
|
* @property {function():void|undefined} handleSuccess Optional function to notify that the lending pool supply action is successful.
|
|
275
276
|
*/
|
|
276
277
|
interface SolanaLendSupplyProps {
|
|
277
278
|
poolInfo: SolanaPoolInfo;
|
|
278
279
|
poolState: SolanaPoolState;
|
|
280
|
+
pointsTestnetExperience: boolean;
|
|
279
281
|
handleClose: () => void;
|
|
280
282
|
handleSuccess?: () => void;
|
|
281
283
|
}
|