@huma-finance/widgets 0.0.69-beta.849 → 0.0.69-beta.852

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.
@@ -6210,6 +6210,7 @@ function PersonaEvaluation(_ref) {
6210
6210
  campaign,
6211
6211
  networkType,
6212
6212
  chainType,
6213
+ documentHash,
6213
6214
  handleClose
6214
6215
  } = _ref;
6215
6216
  const theme = material.useTheme();
@@ -6239,7 +6240,7 @@ function PersonaEvaluation(_ref) {
6239
6240
  try {
6240
6241
  isActionOngoingRef.current = true;
6241
6242
  setLoadingType('verificationStatus');
6242
- const verificationStatus = await shared.IdentityServiceV2.getVerificationStatusV2(networkType, isDev);
6243
+ const verificationStatus = await shared.IdentityServiceV2.getVerificationStatusV2(networkType, documentHash, isDev);
6243
6244
  setVerificationStatus(verificationStatus);
6244
6245
  setInquiryId(verificationStatus.personaInquiryId);
6245
6246
  switch (verificationStatus.status) {
@@ -6324,7 +6325,7 @@ function PersonaEvaluation(_ref) {
6324
6325
  } finally {
6325
6326
  isActionOngoingRef.current = false;
6326
6327
  }
6327
- }, [KYCCopies, dispatch, isDev, networkType, setAuthError]);
6328
+ }, [KYCCopies, dispatch, isDev, networkType, documentHash, setAuthError]);
6328
6329
  React.useEffect(() => {
6329
6330
  checkVerificationStatus();
6330
6331
  }, [checkVerificationStatus]);
@@ -6478,6 +6479,7 @@ function Evaluation$3(_ref) {
6478
6479
  poolInfo,
6479
6480
  networkType,
6480
6481
  campaign,
6482
+ documentHash,
6481
6483
  handleClose
6482
6484
  } = _ref;
6483
6485
  if ((_poolInfo$KYC = poolInfo.KYC) !== null && _poolInfo$KYC !== void 0 && _poolInfo$KYC.Persona) {
@@ -6490,7 +6492,8 @@ function Evaluation$3(_ref) {
6490
6492
  handleClose: handleClose,
6491
6493
  networkType: networkType,
6492
6494
  chainType: shared.CHAIN_TYPE.SOLANA,
6493
- campaign: campaign
6495
+ campaign: campaign,
6496
+ documentHash: documentHash
6494
6497
  });
6495
6498
  }
6496
6499
  return null;
@@ -6910,6 +6913,7 @@ function SolanaLendSupply(_ref) {
6910
6913
  let {
6911
6914
  poolInfo,
6912
6915
  poolState,
6916
+ documentHash,
6913
6917
  handleClose,
6914
6918
  handleSuccess
6915
6919
  } = _ref;
@@ -6970,6 +6974,7 @@ function SolanaLendSupply(_ref) {
6970
6974
  children: [step === WIDGET_STEP.Evaluation && jsxRuntime.jsx(Evaluation$3, {
6971
6975
  poolInfo: poolInfo,
6972
6976
  campaign: poolState.campaign,
6977
+ documentHash: documentHash,
6973
6978
  networkType: shared.getSolanaNetworkType(poolInfo.chainId),
6974
6979
  handleClose: handleClose
6975
6980
  }), step === WIDGET_STEP.ApproveLender && jsxRuntime.jsx(ApproveLender$1, {
@@ -8571,8 +8576,9 @@ function Evaluation$1(_ref) {
8571
8576
  var _poolInfo$KYC, _poolInfo$KYC2;
8572
8577
  let {
8573
8578
  poolInfo,
8574
- campaign,
8575
8579
  networkType,
8580
+ campaign,
8581
+ documentHash,
8576
8582
  handleClose
8577
8583
  } = _ref;
8578
8584
  if ((_poolInfo$KYC = poolInfo.KYC) !== null && _poolInfo$KYC !== void 0 && _poolInfo$KYC.Securitize) {
@@ -8587,7 +8593,8 @@ function Evaluation$1(_ref) {
8587
8593
  handleClose: handleClose,
8588
8594
  campaign: campaign,
8589
8595
  networkType: networkType,
8590
- chainType: shared.CHAIN_TYPE.EVM
8596
+ chainType: shared.CHAIN_TYPE.EVM,
8597
+ documentHash: documentHash
8591
8598
  });
8592
8599
  }
8593
8600
  return null;
@@ -8851,6 +8858,7 @@ function LendSupplyV2(_ref) {
8851
8858
  let {
8852
8859
  poolName: poolNameStr,
8853
8860
  campaign,
8861
+ documentHash,
8854
8862
  handleClose,
8855
8863
  handleSuccess
8856
8864
  } = _ref;
@@ -8930,7 +8938,8 @@ function LendSupplyV2(_ref) {
8930
8938
  poolInfo: poolInfo,
8931
8939
  handleClose: handleClose,
8932
8940
  campaign: campaign,
8933
- networkType: shared.getEvmNetworkType(poolInfo.chainId)
8941
+ networkType: shared.getEvmNetworkType(poolInfo.chainId),
8942
+ documentHash: documentHash
8934
8943
  }), step === WIDGET_STEP.ApproveLender && jsxRuntime.jsx(ApproveLender, {
8935
8944
  poolInfo: poolInfo,
8936
8945
  isUniTranche: isUniTranche,