@neofaceid/web-sdk 1.42.1 → 1.42.2
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.d.ts
CHANGED
|
@@ -1595,7 +1595,7 @@ export declare const registerPersonWithoutFace: (personData: {
|
|
|
1595
1595
|
/**
|
|
1596
1596
|
* Data de lançamento da versão atual
|
|
1597
1597
|
*/
|
|
1598
|
-
export declare const RELEASE_DATE = "2026-09-
|
|
1598
|
+
export declare const RELEASE_DATE = "2026-09-14";
|
|
1599
1599
|
|
|
1600
1600
|
declare interface RequestChallengeWithSessionParams {
|
|
1601
1601
|
applicationToken: string;
|
|
@@ -2032,7 +2032,7 @@ export declare const validateToken: (applicationToken: string) => Promise<boolea
|
|
|
2032
2032
|
* MINOR: Incrementado quando adicionamos funcionalidades mantendo compatibilidade
|
|
2033
2033
|
* PATCH: Incrementado quando corrigimos bugs mantendo compatibilidade
|
|
2034
2034
|
*/
|
|
2035
|
-
export declare const VERSION = "1.42.
|
|
2035
|
+
export declare const VERSION = "1.42.2";
|
|
2036
2036
|
|
|
2037
2037
|
/**
|
|
2038
2038
|
* Executa `fn(sessionId)`. Se o servidor devolver 410 (sessão consumida/expirada),
|
|
@@ -8867,8 +8867,8 @@ function BiometricRegistrationModal({
|
|
|
8867
8867
|
/* @__PURE__ */ jsx("canvas", { ref: canvasRef })
|
|
8868
8868
|
] });
|
|
8869
8869
|
}
|
|
8870
|
-
const VERSION = "1.42.
|
|
8871
|
-
const RELEASE_DATE = "2026-09-
|
|
8870
|
+
const VERSION = "1.42.2";
|
|
8871
|
+
const RELEASE_DATE = "2026-09-14";
|
|
8872
8872
|
const CONSENT_TRAIL_STORAGE_KEY = "neoface_consent_trail_v1";
|
|
8873
8873
|
const CONSENT_TRAIL_MAX_LIMIT = 100;
|
|
8874
8874
|
async function hashString(inputStr) {
|
|
@@ -11855,7 +11855,7 @@ async function detectFaceWithPosition(video, stream, guideModal, maxTime = FACE_
|
|
|
11855
11855
|
checkFace();
|
|
11856
11856
|
});
|
|
11857
11857
|
}
|
|
11858
|
-
async function attemptLogin(applicationToken, fastMode = false,
|
|
11858
|
+
async function attemptLogin(applicationToken, fastMode = false, onCancel) {
|
|
11859
11859
|
const guideModal = showCameraOvalGuideModal({
|
|
11860
11860
|
stream: null,
|
|
11861
11861
|
faceState: "searching",
|
|
@@ -12024,7 +12024,7 @@ async function executeBiometricLoginFlow(options) {
|
|
|
12024
12024
|
const tryLogin = async () => {
|
|
12025
12025
|
try {
|
|
12026
12026
|
attempts++;
|
|
12027
|
-
const result = await attemptLogin(applicationToken, fastMode,
|
|
12027
|
+
const result = await attemptLogin(applicationToken, fastMode, onCancel);
|
|
12028
12028
|
onSuccess(result);
|
|
12029
12029
|
} catch (error) {
|
|
12030
12030
|
lastError = error instanceof NeoFaceError ? error : new NeoFaceError(
|