astra-sdk-web 1.1.19 → 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 +1 -1
- package/dist/astra-sdk.cjs.js.map +1 -1
- package/dist/astra-sdk.es.js +1 -1
- package/dist/astra-sdk.es.js.map +1 -1
- package/dist/components.cjs.js +1 -1
- package/dist/components.cjs.js.map +1 -1
- package/dist/components.es.js +1 -1
- package/dist/components.es.js.map +1 -1
- package/package.json +1 -1
- package/src/pages/QRCodePage.tsx +1 -1
package/dist/components.es.js
CHANGED
|
@@ -1773,7 +1773,7 @@ function QRCodePage({ onClose, mobileBaseUrl = "https://kyc-sdk-stage.astraproto
|
|
|
1773
1773
|
const svc = new KycApiService({ apiBaseUrl, sessionId, serverKey });
|
|
1774
1774
|
const payload = await svc.getResult();
|
|
1775
1775
|
const first = Array.isArray(payload?.data) && payload.data.length > 0 ? payload.data[0] : null;
|
|
1776
|
-
if (first && first.kyc_status === "
|
|
1776
|
+
if (first && first.kyc_status === "verified" && first.redirectUrl) {
|
|
1777
1777
|
window.location.href = "https://astra-pro-business.astraprotocol.com/pricing-plans";
|
|
1778
1778
|
return;
|
|
1779
1779
|
}
|