astra-sdk-web 1.1.22 → 1.1.23

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.
@@ -1779,8 +1779,8 @@ function QRCodePage({ onClose, mobileBaseUrl = "https://kyc-sdk-stage.astraproto
1779
1779
  const svc = new KycApiService({ apiBaseUrl, sessionId, serverKey });
1780
1780
  const payload = await svc.getResult();
1781
1781
  const first = Array.isArray(payload?.data) && payload.data.length > 0 ? payload.data[0] : null;
1782
- if (first && first.kyc_status === "verified" && first.redirectUrl) {
1783
- window.location.href = first.redirectUrl;
1782
+ if (first && first.kyc_status === "verified" && first.redirect_url) {
1783
+ window.location.href = first.redirect_url;
1784
1784
  return;
1785
1785
  }
1786
1786
  alert("Please complete your KYC first.");