@huma-finance/widgets 0.0.59-beta.463 → 0.0.59-beta.466

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.
@@ -4941,6 +4941,7 @@ function EvaluationKYC(_ref) {
4941
4941
  return diff > fifteenMinutes;
4942
4942
  }, [envelopeLastQueryTimeKey]);
4943
4943
  React.useEffect(() => {
4944
+ setKYCCopy(JiaPoolCopies.verifyIdentity);
4944
4945
  const docuSignStatus = localStorage.getItem(envelopeDocuSignStatusKey);
4945
4946
  setDocSignatureStatus(docuSignStatus);
4946
4947
  if (docuSignStatus === 'completed') {
@@ -5031,7 +5032,7 @@ function EvaluationKYC(_ref) {
5031
5032
  const issuerId = shared.CHAINS[chainId].isTestnet ? '53a66b32-583e-40e7-ba90-baf516d2cadd' : '5557baf5-d3c2-4c80-b522-c05a11c6e586';
5032
5033
  const baseUrl = shared.configUtil.getKYCProviderBaseUrl(KYCProvider, chainId);
5033
5034
  const originUrl = window.location.href.split('?')[0];
5034
- const redirectUrl = "".concat(originUrl, "?poolName=").concat(poolInfo.poolName, "&kycProvider=").concat(KYCProvider, "&kycPool=").concat(poolInfo.pool);
5035
+ const redirectUrl = "".concat(originUrl, "?poolName=").concat(poolInfo.poolName, "&chainId=").concat(poolInfo.chainId, "&poolType=").concat(poolInfo.poolType, "&kycProvider=").concat(KYCProvider, "&kycPool=").concat(poolInfo.pool);
5035
5036
  const providerAuthorizeUrl = "".concat(baseUrl, "/#/authorize?issuerId=").concat(issuerId, "&scope=details&details=verification&redirectUrl=").concat(redirectUrl);
5036
5037
  window.location.href = isNotOnboarded ? providerAuthorizeUrl : baseUrl;
5037
5038
  } else {
@@ -5480,6 +5481,7 @@ function Evaluation$1(_ref) {
5480
5481
  return diff > fifteenMinutes;
5481
5482
  }, [envelopeLastQueryTimeKey]);
5482
5483
  React.useEffect(() => {
5484
+ setKYCCopy(KYCCopies.verifyIdentity);
5483
5485
  const docuSignStatus = localStorage.getItem(envelopeDocuSignStatusKey);
5484
5486
  setDocSignatureStatus(docuSignStatus);
5485
5487
  if (docuSignStatus === 'completed') {