astra-sdk-web 1.1.20 → 1.1.22
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
|
@@ -1774,7 +1774,7 @@ function QRCodePage({ onClose, mobileBaseUrl = "https://kyc-sdk-stage.astraproto
|
|
|
1774
1774
|
const payload = await svc.getResult();
|
|
1775
1775
|
const first = Array.isArray(payload?.data) && payload.data.length > 0 ? payload.data[0] : null;
|
|
1776
1776
|
if (first && first.kyc_status === "verified" && first.redirectUrl) {
|
|
1777
|
-
window.location.href =
|
|
1777
|
+
window.location.href = first.redirectUrl;
|
|
1778
1778
|
return;
|
|
1779
1779
|
}
|
|
1780
1780
|
alert("Please complete your KYC first.");
|