astra-sdk-web 1.1.18 → 1.1.20
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/astra-sdk.cjs.js +2 -2
- package/dist/astra-sdk.cjs.js.map +1 -1
- package/dist/astra-sdk.es.js +2 -2
- package/dist/astra-sdk.es.js.map +1 -1
- package/dist/components.cjs.js +2 -2
- package/dist/components.cjs.js.map +1 -1
- package/dist/components.es.js +2 -2
- package/dist/components.es.js.map +1 -1
- package/package.json +1 -1
- package/src/pages/QRCodePage.tsx +2 -2
package/dist/astra-sdk.cjs.js
CHANGED
|
@@ -1984,8 +1984,8 @@ function QRCodePage({ onClose, mobileBaseUrl = "https://kyc-sdk-stage.astraproto
|
|
|
1984
1984
|
const svc = new KycApiService({ apiBaseUrl, sessionId, serverKey });
|
|
1985
1985
|
const payload = await svc.getResult();
|
|
1986
1986
|
const first = Array.isArray(payload?.data) && payload.data.length > 0 ? payload.data[0] : null;
|
|
1987
|
-
if (first && first.kyc_status === "
|
|
1988
|
-
window.location.href =
|
|
1987
|
+
if (first && first.kyc_status === "verified" && first.redirectUrl) {
|
|
1988
|
+
window.location.href = "https://astra-pro-business.astraprotocol.com/pricing-plans";
|
|
1989
1989
|
return;
|
|
1990
1990
|
}
|
|
1991
1991
|
alert("Please complete your KYC first.");
|