@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.
package/dist/index.js CHANGED
@@ -4902,6 +4902,7 @@ function EvaluationKYC(_ref) {
4902
4902
  return diff > fifteenMinutes;
4903
4903
  }, [envelopeLastQueryTimeKey]);
4904
4904
  useEffect(() => {
4905
+ setKYCCopy(JiaPoolCopies.verifyIdentity);
4905
4906
  const docuSignStatus = localStorage.getItem(envelopeDocuSignStatusKey);
4906
4907
  setDocSignatureStatus(docuSignStatus);
4907
4908
  if (docuSignStatus === 'completed') {
@@ -4992,7 +4993,7 @@ function EvaluationKYC(_ref) {
4992
4993
  const issuerId = CHAINS[chainId].isTestnet ? '53a66b32-583e-40e7-ba90-baf516d2cadd' : '5557baf5-d3c2-4c80-b522-c05a11c6e586';
4993
4994
  const baseUrl = configUtil.getKYCProviderBaseUrl(KYCProvider, chainId);
4994
4995
  const originUrl = window.location.href.split('?')[0];
4995
- const redirectUrl = "".concat(originUrl, "?poolName=").concat(poolInfo.poolName, "&kycProvider=").concat(KYCProvider, "&kycPool=").concat(poolInfo.pool);
4996
+ const redirectUrl = "".concat(originUrl, "?poolName=").concat(poolInfo.poolName, "&chainId=").concat(poolInfo.chainId, "&poolType=").concat(poolInfo.poolType, "&kycProvider=").concat(KYCProvider, "&kycPool=").concat(poolInfo.pool);
4996
4997
  const providerAuthorizeUrl = "".concat(baseUrl, "/#/authorize?issuerId=").concat(issuerId, "&scope=details&details=verification&redirectUrl=").concat(redirectUrl);
4997
4998
  window.location.href = isNotOnboarded ? providerAuthorizeUrl : baseUrl;
4998
4999
  } else {
@@ -5441,6 +5442,7 @@ function Evaluation$1(_ref) {
5441
5442
  return diff > fifteenMinutes;
5442
5443
  }, [envelopeLastQueryTimeKey]);
5443
5444
  useEffect(() => {
5445
+ setKYCCopy(KYCCopies.verifyIdentity);
5444
5446
  const docuSignStatus = localStorage.getItem(envelopeDocuSignStatusKey);
5445
5447
  setDocSignatureStatus(docuSignStatus);
5446
5448
  if (docuSignStatus === 'completed') {