vesant-sdk 1.7.0-dev.972b614 → 1.7.0-dev.9b89b96
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/index.js +9 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -5
- package/dist/index.mjs.map +1 -1
- package/dist/kyc/core.js +9 -5
- package/dist/kyc/core.js.map +1 -1
- package/dist/kyc/core.mjs +9 -5
- package/dist/kyc/core.mjs.map +1 -1
- package/dist/kyc/index.d.mts +8 -4
- package/dist/kyc/index.d.ts +8 -4
- package/dist/kyc/index.js +9 -5
- package/dist/kyc/index.js.map +1 -1
- package/dist/kyc/index.mjs +9 -5
- package/dist/kyc/index.mjs.map +1 -1
- package/dist/react.js +2 -2
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +2 -2
- package/dist/react.mjs.map +1 -1
- package/package.json +1 -1
package/dist/react.mjs
CHANGED
|
@@ -946,7 +946,7 @@ function FaceCaptureModal({
|
|
|
946
946
|
if (stopped || cancelledRef.current) return;
|
|
947
947
|
try {
|
|
948
948
|
if (mobileSeen) {
|
|
949
|
-
const result = await client.getEventBasedFaceVerificationSessionStatus(session.
|
|
949
|
+
const result = await client.getEventBasedFaceVerificationSessionStatus(session.token);
|
|
950
950
|
if (result.status === "accepted") {
|
|
951
951
|
setStage({ kind: "accepted", result });
|
|
952
952
|
stopped = true;
|
|
@@ -1034,7 +1034,7 @@ function FaceCaptureModal({
|
|
|
1034
1034
|
while (Date.now() < deadline) {
|
|
1035
1035
|
if (settled || cancelledRef.current) return null;
|
|
1036
1036
|
try {
|
|
1037
|
-
const r = await client.getEventBasedFaceVerificationSessionStatus(
|
|
1037
|
+
const r = await client.getEventBasedFaceVerificationSessionStatus(session.token);
|
|
1038
1038
|
if (isFreshPollResult(r)) return r;
|
|
1039
1039
|
} catch {
|
|
1040
1040
|
}
|