@huma-finance/widgets 0.0.62-beta.700 → 0.0.62-beta.703
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/cjs/index.cjs +11 -5
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +11 -5
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/src/components/Lend/components/PersonaEvaluation.tsx +4 -3
- package/src/components/Lend/solanaSupply/5-Success.tsx +8 -3
- package/src/components/Lend/solanaSupply/6-PointsEarned.tsx +250 -0
- package/src/components/Lend/solanaSupply/index.tsx +7 -3
- package/src/components/Lend/supplyV2/2-Evaluation.tsx +7 -2
- package/src/components/Lend/supplyV2/index.tsx +3 -3
- package/src/components/SolanaTxDoneModal.tsx +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -5854,10 +5854,14 @@ function PersonaEvaluation(_ref) {
|
|
|
5854
5854
|
case shared.IdentityVerificationStatusV2.DECLINED:
|
|
5855
5855
|
case shared.IdentityVerificationStatusV2.NEEDS_REVIEW:
|
|
5856
5856
|
case shared.IdentityVerificationStatusV2.APPROVED:
|
|
5857
|
-
handleClose(
|
|
5857
|
+
handleClose({
|
|
5858
|
+
identityStatus: verificationStatus.status
|
|
5859
|
+
});
|
|
5858
5860
|
break;
|
|
5859
5861
|
case shared.IdentityVerificationStatusV2.BYPASSED:
|
|
5860
|
-
handleClose(
|
|
5862
|
+
handleClose({
|
|
5863
|
+
identityStatus: shared.IdentityVerificationStatusV2.APPROVED
|
|
5864
|
+
});
|
|
5861
5865
|
break;
|
|
5862
5866
|
}
|
|
5863
5867
|
}
|
|
@@ -8865,10 +8869,10 @@ function SolanaTxDoneModal(_ref) {
|
|
|
8865
8869
|
let {
|
|
8866
8870
|
content,
|
|
8867
8871
|
subContent,
|
|
8868
|
-
handleAction,
|
|
8869
8872
|
solanaSignature,
|
|
8870
8873
|
chainId,
|
|
8871
|
-
buttonText
|
|
8874
|
+
buttonText,
|
|
8875
|
+
handleAction
|
|
8872
8876
|
} = _ref;
|
|
8873
8877
|
const theme = material.useTheme();
|
|
8874
8878
|
const dispatch = useAppDispatch();
|
|
@@ -8951,7 +8955,9 @@ function Success(_ref) {
|
|
|
8951
8955
|
if (campaign) {
|
|
8952
8956
|
dispatch(setStep(WIDGET_STEP.PointsEarned));
|
|
8953
8957
|
} else {
|
|
8954
|
-
handleAction(
|
|
8958
|
+
handleAction({
|
|
8959
|
+
isSuccess: true
|
|
8960
|
+
});
|
|
8955
8961
|
}
|
|
8956
8962
|
}, [campaign, dispatch, handleAction]);
|
|
8957
8963
|
return jsxRuntime.jsx(SolanaTxDoneModal, {
|