@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/cjs/index.cjs
CHANGED
|
@@ -5031,7 +5031,7 @@ function EvaluationKYC(_ref) {
|
|
|
5031
5031
|
const issuerId = shared.CHAINS[chainId].isTestnet ? '53a66b32-583e-40e7-ba90-baf516d2cadd' : '5557baf5-d3c2-4c80-b522-c05a11c6e586';
|
|
5032
5032
|
const baseUrl = shared.configUtil.getKYCProviderBaseUrl(KYCProvider, chainId);
|
|
5033
5033
|
const originUrl = window.location.href.split('?')[0];
|
|
5034
|
-
const redirectUrl = "".concat(originUrl, "?poolName=").concat(poolInfo.poolName, "&kycProvider=").concat(KYCProvider, "&kycPool=").concat(poolInfo.pool);
|
|
5034
|
+
const redirectUrl = "".concat(originUrl, "?poolName=").concat(poolInfo.poolName, "&chainId=").concat(poolInfo.chainId, "&poolType=").concat(poolInfo.poolType, "&kycProvider=").concat(KYCProvider, "&kycPool=").concat(poolInfo.pool);
|
|
5035
5035
|
const providerAuthorizeUrl = "".concat(baseUrl, "/#/authorize?issuerId=").concat(issuerId, "&scope=details&details=verification&redirectUrl=").concat(redirectUrl);
|
|
5036
5036
|
window.location.href = isNotOnboarded ? providerAuthorizeUrl : baseUrl;
|
|
5037
5037
|
} else {
|