@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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huma-finance/widgets",
|
|
3
|
-
"version": "0.0.59-beta.
|
|
3
|
+
"version": "0.0.59-beta.466+e243edb",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"@ethersproject/experimental": "^5.7.0",
|
|
31
31
|
"@ethersproject/providers": "^5.6.0",
|
|
32
32
|
"@ethersproject/units": "^5.6.0",
|
|
33
|
-
"@huma-finance/sdk": "^0.0.59-beta.
|
|
34
|
-
"@huma-finance/shared": "^0.0.
|
|
33
|
+
"@huma-finance/sdk": "^0.0.59-beta.466+e243edb",
|
|
34
|
+
"@huma-finance/shared": "^0.0.58",
|
|
35
35
|
"@mui/icons-material": "^5.3.0",
|
|
36
36
|
"@mui/material": "^5.0.6",
|
|
37
37
|
"@mui/styles": "^5.0.2",
|
|
@@ -193,5 +193,5 @@
|
|
|
193
193
|
"optionalDependencies": {
|
|
194
194
|
"encoding": "^0.1.13"
|
|
195
195
|
},
|
|
196
|
-
"gitHead": "
|
|
196
|
+
"gitHead": "e243edb4e9224147e32890c79658d0390df72b6c"
|
|
197
197
|
}
|
|
@@ -148,6 +148,7 @@ export function EvaluationKYC({
|
|
|
148
148
|
}, [envelopeLastQueryTimeKey])
|
|
149
149
|
|
|
150
150
|
useEffect(() => {
|
|
151
|
+
setKYCCopy(JiaPoolCopies.verifyIdentity)
|
|
151
152
|
const docuSignStatus = localStorage.getItem(envelopeDocuSignStatusKey)
|
|
152
153
|
setDocSignatureStatus(docuSignStatus as DocSignatureStatus['status'])
|
|
153
154
|
if (docuSignStatus === 'completed') {
|
|
@@ -281,7 +282,7 @@ export function EvaluationKYC({
|
|
|
281
282
|
: '5557baf5-d3c2-4c80-b522-c05a11c6e586'
|
|
282
283
|
const baseUrl = configUtil.getKYCProviderBaseUrl(KYCProvider, chainId!)
|
|
283
284
|
const originUrl = window.location.href.split('?')[0]
|
|
284
|
-
const redirectUrl = `${originUrl}?poolName=${poolInfo.poolName}&kycProvider=${KYCProvider}&kycPool=${poolInfo.pool}`
|
|
285
|
+
const redirectUrl = `${originUrl}?poolName=${poolInfo.poolName}&chainId=${poolInfo.chainId}&poolType=${poolInfo.poolType}&kycProvider=${KYCProvider}&kycPool=${poolInfo.pool}`
|
|
285
286
|
const providerAuthorizeUrl = `${baseUrl}/#/authorize?issuerId=${issuerId}&scope=details&details=verification&redirectUrl=${redirectUrl}`
|
|
286
287
|
window.location.href = isNotOnboarded ? providerAuthorizeUrl : baseUrl
|
|
287
288
|
} else {
|
|
@@ -112,6 +112,7 @@ export function Evaluation({
|
|
|
112
112
|
}, [envelopeLastQueryTimeKey])
|
|
113
113
|
|
|
114
114
|
useEffect(() => {
|
|
115
|
+
setKYCCopy(KYCCopies.verifyIdentity)
|
|
115
116
|
const docuSignStatus = localStorage.getItem(envelopeDocuSignStatusKey)
|
|
116
117
|
setDocSignatureStatus(docuSignStatus as DocSignatureStatus['status'])
|
|
117
118
|
if (docuSignStatus === 'completed') {
|