@huma-finance/widgets 0.0.59-beta.463 → 0.0.59-beta.465
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
|
@@ -4992,7 +4992,7 @@ function EvaluationKYC(_ref) {
|
|
|
4992
4992
|
const issuerId = CHAINS[chainId].isTestnet ? '53a66b32-583e-40e7-ba90-baf516d2cadd' : '5557baf5-d3c2-4c80-b522-c05a11c6e586';
|
|
4993
4993
|
const baseUrl = configUtil.getKYCProviderBaseUrl(KYCProvider, chainId);
|
|
4994
4994
|
const originUrl = window.location.href.split('?')[0];
|
|
4995
|
-
const redirectUrl = "".concat(originUrl, "?poolName=").concat(poolInfo.poolName, "&kycProvider=").concat(KYCProvider, "&kycPool=").concat(poolInfo.pool);
|
|
4995
|
+
const redirectUrl = "".concat(originUrl, "?poolName=").concat(poolInfo.poolName, "&chainId=").concat(poolInfo.chainId, "&poolType=").concat(poolInfo.poolType, "&kycProvider=").concat(KYCProvider, "&kycPool=").concat(poolInfo.pool);
|
|
4996
4996
|
const providerAuthorizeUrl = "".concat(baseUrl, "/#/authorize?issuerId=").concat(issuerId, "&scope=details&details=verification&redirectUrl=").concat(redirectUrl);
|
|
4997
4997
|
window.location.href = isNotOnboarded ? providerAuthorizeUrl : baseUrl;
|
|
4998
4998
|
} else {
|