@incodetech/core 0.0.0-dev-20260720-ca9de495 → 0.0.0-dev-20260721-eccd3f30
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/BrowserVisibilityObserverProvider-DfE4Sheq.esm.js +64 -0
- package/dist/{addressSearch-DEYnZoez.esm.js → addressSearch-CK0sUGXQ.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-CFsD4BgV.esm.js → antifraudManager-DNQ03cI-.esm.js} +3 -3
- package/dist/{antifraudStateMachine-VB-aXHct.esm.js → antifraudStateMachine-BhDtbvsr.esm.js} +2 -2
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CwGOQTp3.esm.js → authenticationManager-DDjH-50n.esm.js} +4 -4
- package/dist/{authenticationStateMachine-gh33Mocb.esm.js → authenticationStateMachine-BjSbdil1.esm.js} +4 -4
- package/dist/certificate-issuance.esm.js +3 -3
- package/dist/{certificateIssuanceStateMachine-Di_bLlkP.esm.js → certificateIssuanceStateMachine-FqsRyCQy.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-0EiBXYtL.esm.js → consentManager-BFqvQKnL.esm.js} +3 -3
- package/dist/{consentManager-2h_w6wFc.d.ts → consentManager-uhDPdU6i.d.ts} +5 -5
- package/dist/{consentStateMachine-STURxpEc.esm.js → consentStateMachine-DEX3rWmY.esm.js} +2 -2
- package/dist/cpf-ocr.d.ts +1 -1
- package/dist/cpf-ocr.esm.js +1 -1
- package/dist/{cpfOcrManager-CQkUAeWO.d.ts → cpfOcrManager-C-3PWS2h.d.ts} +1 -1
- package/dist/{cpfOcrManager-Bu32le9u.esm.js → cpfOcrManager-Crj9julI.esm.js} +3 -3
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-Dw7euiiZ.esm.js → crossDocumentDataMatchManager-BJ1sNzqp.esm.js} +3 -3
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-BGj9U3E0.esm.js → curpValidationManager-DxpyQx7s.esm.js} +3 -3
- package/dist/{curpValidationStateMachine-Dq6l4oeZ.esm.js → curpValidationStateMachine-CLaUrwr_.esm.js} +2 -2
- package/dist/custom-fields.esm.js +3 -3
- package/dist/custom-watchlist.esm.js +3 -3
- package/dist/{customWatchlistStateMachine-BuQML-pk.esm.js → customWatchlistStateMachine-DmR8nQ9D.esm.js} +2 -2
- package/dist/{deepsightLoader-CCg7okNq.esm.js → deepsightLoader-BtxdGkfR.esm.js} +1 -1
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-upload.esm.js +3 -3
- package/dist/{documentCaptureManager-DewvUtVQ.d.ts → documentCaptureManager-CBP2DkPr.d.ts} +65 -65
- package/dist/{documentCaptureManager-BI1bAj1F.esm.js → documentCaptureManager-HPQFi4FW.esm.js} +3 -3
- package/dist/{documentCaptureStateMachine-C1uifdea.esm.js → documentCaptureStateMachine-DPDPyUQd.esm.js} +2 -2
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-Fi2O2RUM.esm.js → dynamicFormsManager-Cpui-n_E.esm.js} +3 -3
- package/dist/{dynamicFormsStateMachine-DiPpuHgF.esm.js → dynamicFormsStateMachine-PBlPbUaP.esm.js} +2 -2
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-CNYD_rcL.esm.js → ekybManager-SvomKsA_.esm.js} +3 -3
- package/dist/{ekybStateMachine-wp-ecHHi.esm.js → ekybStateMachine-Dk6h4MpB.esm.js} +4 -4
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-CI7sN4Ln.esm.js → ekycManager-CSSMm3NN.esm.js} +3 -3
- package/dist/{ekycStateMachine-DFQdmBXl.esm.js → ekycStateMachine-DKSNtU9D.esm.js} +3 -3
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-DGFwHdro.esm.js → electronicSignatureManager-BGt5jlyi.esm.js} +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-Dmt1YrtS.esm.js → emailManager-B9ZtXkmO.esm.js} +3 -3
- package/dist/{emailStateMachine-DQS-QMgQ.esm.js → emailStateMachine-dPf_JV21.esm.js} +2 -2
- package/dist/{events-Dy8PyVO5.esm.js → events-Cz6MebsD.esm.js} +16 -1
- package/dist/events.d.ts +9 -1
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +6 -6
- package/dist/extensibility.esm.js +26 -26
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-Bgr6E6eS.esm.js → faceCaptureManagerFactory-BKhutsJi.esm.js} +30 -5
- package/dist/{faceCaptureSetup-z13yTUSx.esm.js → faceCaptureSetup-7D-0M-GK.esm.js} +4 -4
- package/dist/{faceMatchManager-fPX11GnX.esm.js → faceMatchManager-C27ikuay.esm.js} +3 -3
- package/dist/{faceMatchStateMachine-D_7UX1rV.esm.js → faceMatchStateMachine-DPxvXTD8.esm.js} +2 -2
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-USUE9qDr.esm.js → fieldComparisonManager-DFRmWfO2.esm.js} +3 -3
- package/dist/fiscal-qr.esm.js +3 -3
- package/dist/flow.esm.js +5 -5
- package/dist/{flowServices-Cu3jqNDh.esm.js → flowServices-Cm4p5g-V.esm.js} +2 -2
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-C8GnN4Od.esm.js → geolocationManager-Bq6mhMLb.esm.js} +3 -3
- package/dist/{geolocationStateMachine-DfVSIUvS.esm.js → geolocationStateMachine-CM43faR8.esm.js} +2 -2
- package/dist/government-validation.esm.js +3 -3
- package/dist/{governmentValidationStateMachine-loZfWcU9.esm.js → governmentValidationStateMachine-DOzBCyQG.esm.js} +2 -2
- package/dist/home.esm.js +2 -2
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.esm.js +6 -6
- package/dist/{idCaptureManager-Cqx7_G5y.esm.js → idCaptureManager-Ckd9D4Q8.esm.js} +27 -8
- package/dist/{idCaptureStateMachine-Ctq7tDpn.esm.js → idCaptureStateMachine-DOwiqNpC.esm.js} +8 -8
- package/dist/{idOcrManager-vXa7GdRh.d.ts → idOcrManager-B-JyjyPb.d.ts} +1 -1
- package/dist/{idOcrManager-gscmFPxD.esm.js → idOcrManager-CZqArdyB.esm.js} +3 -3
- package/dist/{idOcrStateMachine-jfAyK4Bb.esm.js → idOcrStateMachine-D6SZ5UEN.esm.js} +3 -3
- package/dist/{idVerificationManager-BTsyXjv6.esm.js → idVerificationManager-D-fdmeEv.esm.js} +3 -3
- package/dist/{idVerificationStateMachine-7BSciEJk.esm.js → idVerificationStateMachine-CRyto3WY.esm.js} +2 -2
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-BjMJHKLP.esm.js → identityReuseManager-B4Uc5t63.esm.js} +3 -3
- package/dist/{identityReuseManager-D6pD4hcZ.d.ts → identityReuseManager-v2TH5g7e.d.ts} +1 -1
- package/dist/{identityReuseStateMachine-B0IFF3R7.esm.js → identityReuseStateMachine-DuDSkTJQ.esm.js} +2 -2
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-B-QfsCQY.esm.js → invokeOnCaptureCallback-DClbfPxs.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-DzLHRc5u.d.ts → mandatoryConsentManager-BYyb8A34.d.ts} +5 -5
- package/dist/{mandatoryConsentManager-BOOjm7SU.esm.js → mandatoryConsentManager-D0xVg9hS.esm.js} +3 -3
- package/dist/{mandatoryConsentStateMachine-BP3npRnI.esm.js → mandatoryConsentStateMachine-OJMLYTcA.esm.js} +2 -2
- package/dist/{onDeviceFaceResults-DYyiiDct.esm.js → onDeviceFaceResults-C5TVpaYV.esm.js} +1 -1
- package/dist/personhood.esm.js +5 -5
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-C3aqq6jS.esm.js → phoneManager-CuSs7oB6.esm.js} +3 -3
- package/dist/{phoneStateMachine-CLGcLA8t.esm.js → phoneStateMachine-BcNKggqC.esm.js} +2 -2
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-DWip186Y.esm.js → recordingService-C7rP7d1i.esm.js} +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-Ct_5C_La.esm.js → redirectToMobileManager-eW8H-t2I.esm.js} +4 -4
- package/dist/{redirectToMobileStateMachine-D78eaxsp.esm.js → redirectToMobileStateMachine-DfeNOyS0.esm.js} +2 -2
- package/dist/{runChildModule-Crz1nHwJ.esm.js → runChildModule-CqKn3aLp.esm.js} +3 -3
- package/dist/selfie.esm.js +8 -8
- package/dist/{selfieManager-COH1oF0k.esm.js → selfieManager-B_OEbSBa.esm.js} +4 -4
- package/dist/{selfieStateMachine-D12LWngD.esm.js → selfieStateMachine-Dtjx0rzU.esm.js} +4 -4
- package/dist/session-CRq_s4g4.esm.js +1 -0
- package/dist/session.esm.js +2 -2
- package/dist/{sessionInitializer-DpLZ6Px5.esm.js → sessionInitializer-BWyEUl6d.esm.js} +2 -2
- package/dist/{setup-DOio3C6M.esm.js → setup-ByVn7P4r.esm.js} +2 -2
- package/dist/signature.esm.js +3 -3
- package/dist/{signatureStateMachine-zRLvEGTw.esm.js → signatureStateMachine-CL414Utx.esm.js} +2 -2
- package/dist/trust-graph.esm.js +2 -2
- package/dist/video-selfie.esm.js +4 -4
- package/dist/wasm.esm.js +1 -1
- package/dist/watchlist-for-business.esm.js +3 -3
- package/dist/watchlist.esm.js +3 -3
- package/dist/{watchlistForBusinessStateMachine-Rc6BAwlr.esm.js → watchlistForBusinessStateMachine-Bneo_qn7.esm.js} +2 -2
- package/dist/{watchlistStateMachine-64y9XBjm.esm.js → watchlistStateMachine-Dy3_dkvG.esm.js} +2 -2
- package/dist/workflow.esm.js +31 -31
- package/dist/{xstate-actors.esm-CtI5S0f4.esm.js → xstate-actors.esm-BaY-n1vb.esm.js} +1 -1
- package/dist/{xstate.esm-Cf4e0Cfd.esm.js → xstate.esm-DJRyQbtk.esm.js} +10 -3
- package/package.json +1 -1
- package/dist/BrowserVisibilityObserverProvider-sJclps4C.esm.js +0 -23
- package/dist/session-10sTI8lm.esm.js +0 -1
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
|
-
import { f as getDeviceFingerprintInfo, l as IpifyProvider, t as getDisableIpify, u as FingerprintProvider } from "./sessionInitializer-
|
|
3
|
-
import { o as createActor } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-
|
|
5
|
-
import { n as createAntifraudManagerFromActor } from "./antifraudManager-
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
2
|
+
import { f as getDeviceFingerprintInfo, l as IpifyProvider, t as getDisableIpify, u as FingerprintProvider } from "./sessionInitializer-BWyEUl6d.esm.js";
|
|
3
|
+
import { o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
4
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BaY-n1vb.esm.js";
|
|
5
|
+
import { n as createAntifraudManagerFromActor } from "./antifraudManager-DNQ03cI-.esm.js";
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-7D-0M-GK.esm.js";
|
|
7
7
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
8
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
9
|
-
import { n as createConsentManagerFromActor } from "./consentManager-
|
|
10
|
-
import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-
|
|
11
|
-
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-
|
|
12
|
-
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-
|
|
13
|
-
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-
|
|
14
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
15
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
16
|
-
import { n as createEkycManagerFromActor } from "./ekycManager-
|
|
17
|
-
import { n as createEmailManagerFromActor } from "./emailManager-
|
|
18
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
19
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
20
|
-
import { n as createPhoneManagerFromActor } from "./phoneManager-
|
|
21
|
-
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-
|
|
22
|
-
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-
|
|
23
|
-
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-
|
|
24
|
-
import { n as createIdOcrManagerFromActor } from "./idOcrManager-
|
|
25
|
-
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-
|
|
26
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
27
|
-
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-
|
|
28
|
-
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-
|
|
8
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-DDjH-50n.esm.js";
|
|
9
|
+
import { n as createConsentManagerFromActor } from "./consentManager-BFqvQKnL.esm.js";
|
|
10
|
+
import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-Crj9julI.esm.js";
|
|
11
|
+
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-BJ1sNzqp.esm.js";
|
|
12
|
+
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-DxpyQx7s.esm.js";
|
|
13
|
+
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-HPQFi4FW.esm.js";
|
|
14
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-Cpui-n_E.esm.js";
|
|
15
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-SvomKsA_.esm.js";
|
|
16
|
+
import { n as createEkycManagerFromActor } from "./ekycManager-CSSMm3NN.esm.js";
|
|
17
|
+
import { n as createEmailManagerFromActor } from "./emailManager-B9ZtXkmO.esm.js";
|
|
18
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-B_OEbSBa.esm.js";
|
|
19
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-Ckd9D4Q8.esm.js";
|
|
20
|
+
import { n as createPhoneManagerFromActor } from "./phoneManager-CuSs7oB6.esm.js";
|
|
21
|
+
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-B4Uc5t63.esm.js";
|
|
22
|
+
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-DFRmWfO2.esm.js";
|
|
23
|
+
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-D0xVg9hS.esm.js";
|
|
24
|
+
import { n as createIdOcrManagerFromActor } from "./idOcrManager-CZqArdyB.esm.js";
|
|
25
|
+
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-eW8H-t2I.esm.js";
|
|
26
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-Bq6mhMLb.esm.js";
|
|
27
|
+
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-D-fdmeEv.esm.js";
|
|
28
|
+
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-C27ikuay.esm.js";
|
|
29
29
|
//#region src/internal/fingerprint/fingerprintApi.ts
|
|
30
30
|
async function getFingerprint(disableIpify) {
|
|
31
31
|
const shouldDisableIpify = disableIpify ?? getDisableIpify();
|
package/dist/face-match.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
2
|
-
import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-
|
|
1
|
+
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-DPxvXTD8.esm.js";
|
|
2
|
+
import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-C27ikuay.esm.js";
|
|
3
3
|
export { ID_FACE_EXTRACTION_SKIPPED_CODE, createFaceMatchManager, createFaceMatchManagerFromActor, faceMatchMachine, isFaceExtractionSkippedError };
|
package/dist/{faceCaptureManagerFactory-Bgr6E6eS.esm.js → faceCaptureManagerFactory-BKhutsJi.esm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-Cz6MebsD.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { n as
|
|
3
|
+
import { n as setWasmDsFlagSync, r as splitTrackedName, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-DfE4Sheq.esm.js";
|
|
4
|
+
import { c as createManager } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
5
|
+
import { n as concealmentToAvatar } from "./faceCaptureSetup-7D-0M-GK.esm.js";
|
|
6
6
|
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CkHL1BjH.esm.js";
|
|
7
7
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
8
8
|
function getPermissionStatus(snapshot) {
|
|
@@ -208,7 +208,15 @@ function getAuthFaceScreenName(snapshot) {
|
|
|
208
208
|
default: return eventScreenNames.authFace;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
-
|
|
211
|
+
/**
|
|
212
|
+
* Full Figma "Tracked Events" name for the current snapshot — section plus
|
|
213
|
+
* sub-section (e.g. `faceCapture.capturing.moveCloser`).
|
|
214
|
+
* `getFaceCaptureScreenName` / `getFaceCaptureStateName` split this into the
|
|
215
|
+
* screen (section) and in-screen state (sub-section) via `splitTrackedName`.
|
|
216
|
+
* Auth-face variants keep their legacy single-token screen names, which have
|
|
217
|
+
* no sub-section and therefore no in-screen state.
|
|
218
|
+
*/
|
|
219
|
+
function getFaceCaptureTrackedName(snapshot, moduleName) {
|
|
212
220
|
if (moduleName === eventModuleNames.authFace || moduleName === eventModuleNames.authentication) return getAuthFaceScreenName(snapshot);
|
|
213
221
|
const { value } = snapshot;
|
|
214
222
|
if (value === void 0 || value === null) return void 0;
|
|
@@ -227,6 +235,22 @@ function getFaceCaptureScreenName(snapshot, moduleName) {
|
|
|
227
235
|
default: return `faceCapture.${topLevel}`;
|
|
228
236
|
}
|
|
229
237
|
}
|
|
238
|
+
/**
|
|
239
|
+
* The Figma screen (section) for the current snapshot — the coarse
|
|
240
|
+
* `screenOpened`/`screenClosed` value, e.g. `faceCapture.capturing`.
|
|
241
|
+
*/
|
|
242
|
+
function getFaceCaptureScreenName(snapshot, moduleName) {
|
|
243
|
+
return splitTrackedName(getFaceCaptureTrackedName(snapshot, moduleName)).screen;
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* The Figma in-screen state (sub-section) for the current snapshot — the
|
|
247
|
+
* `stateEvent` `stateName`, e.g. `faceCapture.capturing.moveCloser`.
|
|
248
|
+
* `undefined` when the current screen has no tracked sub-state (including all
|
|
249
|
+
* auth-face variants).
|
|
250
|
+
*/
|
|
251
|
+
function getFaceCaptureStateName(snapshot, moduleName) {
|
|
252
|
+
return splitTrackedName(getFaceCaptureTrackedName(snapshot, moduleName)).state;
|
|
253
|
+
}
|
|
230
254
|
function createApi({ actor, trackElementClicked, trackCaptureAttemptFinished }) {
|
|
231
255
|
const snapshot = actor.getSnapshot();
|
|
232
256
|
snapshot.context.dependencies.trackCaptureAttemptFinished = trackCaptureAttemptFinished;
|
|
@@ -406,6 +430,7 @@ function createFaceCaptureManagerFromActor(actor, moduleName, visibilityObserver
|
|
|
406
430
|
createApi,
|
|
407
431
|
instrumentation: createManagerInstrumentation(moduleName, {
|
|
408
432
|
getEventScreenName: (snapshot) => getFaceCaptureScreenName(snapshot, moduleName),
|
|
433
|
+
getEventStateName: (snapshot) => getFaceCaptureStateName(snapshot, moduleName),
|
|
409
434
|
getErrorName: getFaceCaptureErrorName,
|
|
410
435
|
getErrorPayload: getFaceCaptureErrorPayload,
|
|
411
436
|
visibilityObserver
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as getToken } from "./api-BDTZNnca.esm.js";
|
|
2
|
-
import { r as assign, t as setup } from "./xstate.esm-
|
|
3
|
-
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-
|
|
2
|
+
import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
3
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BaY-n1vb.esm.js";
|
|
4
4
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
|
|
5
|
-
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-
|
|
5
|
+
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-C5TVpaYV.esm.js";
|
|
6
6
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
7
7
|
import { t as createFaceAvatar } from "./createFaceAvatar-CwVapQiu.esm.js";
|
|
8
8
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
9
9
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-5Cu6a8iN.esm.js";
|
|
10
|
-
import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-
|
|
10
|
+
import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-C7rP7d1i.esm.js";
|
|
11
11
|
//#region src/internal/avatar/concealment.ts
|
|
12
12
|
/**
|
|
13
13
|
* Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { c as createManager, o as createActor } from "./xstate.esm-
|
|
3
|
-
import { t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
|
|
2
|
+
import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
3
|
+
import { t as faceMatchMachine } from "./faceMatchStateMachine-DPxvXTD8.esm.js";
|
|
4
4
|
//#region src/modules/face-match/faceMatchActor.ts
|
|
5
5
|
function createFaceMatchActor(options) {
|
|
6
6
|
return createActor(faceMatchMachine, { input: { config: options.config } }).start();
|
package/dist/{faceMatchStateMachine-D_7UX1rV.esm.js → faceMatchStateMachine-DPxvXTD8.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
|
-
import { r as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
3
|
+
import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
|
|
5
5
|
//#region src/modules/face-match/constants.ts
|
|
6
6
|
/**
|
|
7
7
|
* Backend error code returned by face-match endpoints (e.g. `/omni/process/face`,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-
|
|
1
|
+
import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-DFRmWfO2.esm.js";
|
|
2
2
|
export { createFieldComparisonManager, createFieldComparisonManagerFromActor, fieldComparisonMachine };
|
package/dist/{fieldComparisonManager-USUE9qDr.esm.js → fieldComparisonManager-DFRmWfO2.esm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
4
|
-
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-
|
|
5
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
4
|
+
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
5
|
+
import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
|
|
6
6
|
//#region src/modules/field-comparison/fieldComparisonServices.ts
|
|
7
7
|
/** Submit first and last name for backend field comparison. Throws on failure. */
|
|
8
8
|
async function submitFieldComparison(params, signal) {
|
package/dist/fiscal-qr.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
3
|
-
import {
|
|
3
|
+
import { h as addEvent, n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
5
|
-
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-
|
|
6
|
-
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-
|
|
5
|
+
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
6
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BaY-n1vb.esm.js";
|
|
7
7
|
import { a as stopCameraStream } from "./camera-BmFEyPP_.esm.js";
|
|
8
8
|
import { n as getBackCameraStream } from "./backCameraStream-Heg6vA1j.esm.js";
|
|
9
9
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-
|
|
3
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
4
|
-
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
1
|
+
import { h as addEvent } from "./events-Cz6MebsD.esm.js";
|
|
2
|
+
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
3
|
+
import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
|
|
4
|
+
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-Cm4p5g-V.esm.js";
|
|
5
5
|
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-D5oIlcza.esm.js";
|
|
6
|
-
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
6
|
+
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CqKn3aLp.esm.js";
|
|
7
7
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
8
8
|
const noOpFlowModuleMachine = setup({}).createMachine({
|
|
9
9
|
id: "noOpFlowModule",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { g as updateFeatureManagementUser } from "./feature-management-Dw96qEMs.esm.js";
|
|
2
2
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
4
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
4
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-BWyEUl6d.esm.js";
|
|
5
5
|
import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
|
|
6
|
-
import "./session-
|
|
6
|
+
import "./session-CRq_s4g4.esm.js";
|
|
7
7
|
import { r as videoSelfieWasmPipelines } from "./videoSelfieSteps-DHcibfYH.esm.js";
|
|
8
8
|
//#region src/modules/flow/flowUtils.ts
|
|
9
9
|
const WASM_MODULE_PIPELINES = {
|
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as createGeolocationManager } from "./geolocationManager-
|
|
2
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
1
|
+
import { t as createGeolocationManager } from "./geolocationManager-Bq6mhMLb.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-CM43faR8.esm.js";
|
|
3
3
|
export { createGeolocationManager, geolocationMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { c as createManager, o as createActor } from "./xstate.esm-
|
|
3
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
|
|
2
|
+
import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
3
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-CM43faR8.esm.js";
|
|
4
4
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
5
5
|
var BrowserGeolocationProvider = class {
|
|
6
6
|
getCurrentPosition() {
|
package/dist/{geolocationStateMachine-DfVSIUvS.esm.js → geolocationStateMachine-CM43faR8.esm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
3
|
import { r as isIOS, t as isAndroid } from "./platform-wmV7oTAJ.esm.js";
|
|
4
|
-
import { r as assign, t as setup } from "./xstate.esm-
|
|
5
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
4
|
+
import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
5
|
+
import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
|
|
6
6
|
import { n as isConnectivityError } from "./apiError-B-PkYxln.esm.js";
|
|
7
7
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
8
8
|
async function addGeolocation(params, signal) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { c as createManager, o as createActor } from "./xstate.esm-
|
|
4
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
3
|
+
import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
4
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-DOzBCyQG.esm.js";
|
|
5
5
|
//#region src/modules/government-validation/governmentValidationActor.ts
|
|
6
6
|
function createGovernmentValidationActor(options) {
|
|
7
7
|
return createActor(governmentValidationMachine, { input: { config: options.config } }).start();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
4
|
-
import { r as assign, t as setup } from "./xstate.esm-
|
|
5
|
-
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-
|
|
4
|
+
import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
5
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BaY-n1vb.esm.js";
|
|
6
6
|
import { n as isOtpComplete, t as computeOtpValidationErrors } from "./otp-D2k3PeSL.esm.js";
|
|
7
7
|
//#region src/modules/government-validation/governmentValidationServices.ts
|
|
8
8
|
async function processGovernmentValidation(signal) {
|
package/dist/home.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { c as createManager, o as createActor, t as setup } from "./xstate.esm-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
|
|
2
|
+
import { c as createManager, o as createActor, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
3
3
|
//#region src/modules/home/homeStateMachine.ts
|
|
4
4
|
const homeMachine = setup({ types: {
|
|
5
5
|
context: {},
|
package/dist/id-ocr.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as IdOcrActor, c as IdOcrConfig, d as UpdateOcrDataParams, f as ValidationRule, i as createIdOcrManagerFromActor, l as OcrData, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager, u as OcrFieldConfig } from "./idOcrManager-
|
|
1
|
+
import { a as IdOcrActor, c as IdOcrConfig, d as UpdateOcrDataParams, f as ValidationRule, i as createIdOcrManagerFromActor, l as OcrData, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager, u as OcrFieldConfig } from "./idOcrManager-B-JyjyPb.js";
|
|
2
2
|
//#region src/modules/id-ocr/idOcrFields.d.ts
|
|
3
3
|
declare const OCR_FIELDS: OcrFieldConfig[];
|
|
4
4
|
declare const getOcrFields: (config: Pick<IdOcrConfig, "flowId">) => OcrFieldConfig[];
|
package/dist/id-ocr.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
2
|
-
import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-
|
|
1
|
+
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-D6SZ5UEN.esm.js";
|
|
2
|
+
import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-CZqArdyB.esm.js";
|
|
3
3
|
export { CPFFlowIds, MIN_AGE, OCR_FIELDS, createIdOcrManager, createIdOcrManagerFromActor, getOcrFields, idOcrStateMachine };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
2
|
-
import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-
|
|
1
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-CRyto3WY.esm.js";
|
|
2
|
+
import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-D-fdmeEv.esm.js";
|
|
3
3
|
export { createIdVerificationManager, createIdVerificationManagerFromActor, idVerificationMachine };
|
package/dist/id.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as eventModuleNames } from "./events-
|
|
2
|
-
import { o as createActor, r as assign } from "./xstate.esm-
|
|
3
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
1
|
+
import { n as eventModuleNames } from "./events-Cz6MebsD.esm.js";
|
|
2
|
+
import { o as createActor, r as assign } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
3
|
+
import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
|
|
4
4
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
5
|
-
import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as barcodeToBase64, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, r as addBarcode, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-
|
|
6
|
-
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
7
|
-
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-
|
|
5
|
+
import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as barcodeToBase64, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, r as addBarcode, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-DOwiqNpC.esm.js";
|
|
6
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-Ckd9D4Q8.esm.js";
|
|
7
|
+
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DClbfPxs.esm.js";
|
|
8
8
|
//#region src/modules/id/idCaptureOnlyStateMachine.ts
|
|
9
9
|
function buildSubImage(canvas) {
|
|
10
10
|
if (!canvas) return void 0;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { n as setWasmDsFlagSync, r as splitTrackedName, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-DfE4Sheq.esm.js";
|
|
4
|
+
import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
5
5
|
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CkHL1BjH.esm.js";
|
|
6
6
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
7
|
-
import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
7
|
+
import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-DOwiqNpC.esm.js";
|
|
8
8
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
9
9
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
10
10
|
function isHoldingState(value) {
|
|
@@ -610,7 +610,13 @@ function getPermissionScreen(value) {
|
|
|
610
610
|
default: return "idCapture.permissions.default";
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
|
-
|
|
613
|
+
/**
|
|
614
|
+
* Full Figma "Tracked Events" name for the current snapshot — the section
|
|
615
|
+
* plus its sub-section, joined (e.g. `idCapture.frontCapture.livecue-glare`).
|
|
616
|
+
* `getIdCaptureScreenName` / `getIdCaptureStateName` split this into the screen
|
|
617
|
+
* (section) and in-screen state (sub-section) via `splitTrackedName`.
|
|
618
|
+
*/
|
|
619
|
+
function getIdCaptureTrackedName(snapshot) {
|
|
614
620
|
const { value, context } = snapshot;
|
|
615
621
|
if (value === void 0 || value === null) return void 0;
|
|
616
622
|
const topLevel = topLevelStateName(value);
|
|
@@ -647,8 +653,20 @@ function getIdCaptureScreenName(snapshot) {
|
|
|
647
653
|
default: return `idCapture.${topLevel}`;
|
|
648
654
|
}
|
|
649
655
|
}
|
|
650
|
-
|
|
651
|
-
|
|
656
|
+
/**
|
|
657
|
+
* The Figma screen (section) for the current snapshot — the coarse
|
|
658
|
+
* `screenOpened`/`screenClosed` value, e.g. `idCapture.frontCapture`.
|
|
659
|
+
*/
|
|
660
|
+
function getIdCaptureScreenName(snapshot) {
|
|
661
|
+
return splitTrackedName(getIdCaptureTrackedName(snapshot)).screen;
|
|
662
|
+
}
|
|
663
|
+
/**
|
|
664
|
+
* The Figma in-screen state (sub-section) for the current snapshot — the
|
|
665
|
+
* `stateEvent` `stateName`, e.g. `idCapture.frontCapture.livecue-glare`.
|
|
666
|
+
* `undefined` when the current screen has no tracked sub-state.
|
|
667
|
+
*/
|
|
668
|
+
function getIdCaptureStateName(snapshot) {
|
|
669
|
+
return splitTrackedName(getIdCaptureTrackedName(snapshot)).state;
|
|
652
670
|
}
|
|
653
671
|
/**
|
|
654
672
|
* Figma-aligned, machine-stable reason token per upload error code. Mirrors the
|
|
@@ -745,7 +763,8 @@ function createIdCaptureManagerFromActor(actor, visibilityObserver = new Browser
|
|
|
745
763
|
mapState,
|
|
746
764
|
createApi,
|
|
747
765
|
instrumentation: createManagerInstrumentation(eventModuleNames.idCapture, {
|
|
748
|
-
getEventScreenName:
|
|
766
|
+
getEventScreenName: getIdCaptureScreenName,
|
|
767
|
+
getEventStateName: getIdCaptureStateName,
|
|
749
768
|
getErrorName: getIdCaptureErrorName,
|
|
750
769
|
getErrorPayload: getIdCaptureErrorPayload,
|
|
751
770
|
visibilityObserver
|
package/dist/{idCaptureStateMachine-Ctq7tDpn.esm.js → idCaptureStateMachine-DOwiqNpC.esm.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { r as getToken, t as api } from "./api-BDTZNnca.esm.js";
|
|
3
|
-
import {
|
|
3
|
+
import { S as revokeObjectURL } from "./events-Cz6MebsD.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
5
5
|
import { t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
|
|
6
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
6
|
+
import { t as getDisableIpify } from "./sessionInitializer-BWyEUl6d.esm.js";
|
|
7
7
|
import { n as isDesktop } from "./platform-wmV7oTAJ.esm.js";
|
|
8
|
-
import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-
|
|
9
|
-
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-
|
|
8
|
+
import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
9
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BaY-n1vb.esm.js";
|
|
10
10
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
|
|
11
|
-
import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-
|
|
11
|
+
import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-C5TVpaYV.esm.js";
|
|
12
12
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
13
13
|
import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
|
|
14
14
|
import { n as getBackCameraStream } from "./backCameraStream-Heg6vA1j.esm.js";
|
|
@@ -16,8 +16,8 @@ import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
|
16
16
|
import { t as getDeviceClass } from "./getDeviceClass-CkgnSJel.esm.js";
|
|
17
17
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
18
18
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-5Cu6a8iN.esm.js";
|
|
19
|
-
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-
|
|
20
|
-
import "./session-
|
|
19
|
+
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-C7rP7d1i.esm.js";
|
|
20
|
+
import "./session-CRq_s4g4.esm.js";
|
|
21
21
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS$1, r as IdCaptureProvider } from "./idCaptureDefaults-DCrjeNl5.esm.js";
|
|
22
22
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
23
23
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -1626,7 +1626,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
|
|
|
1626
1626
|
});
|
|
1627
1627
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
1628
1628
|
if (!input.dependencies) return;
|
|
1629
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1629
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-BtxdGkfR.esm.js");
|
|
1630
1630
|
return loadDeepsightSession({
|
|
1631
1631
|
ds: input.ds,
|
|
1632
1632
|
storage: input.dependencies.storage,
|
|
@@ -271,7 +271,7 @@ declare const idOcrStateMachine: StateMachine<IdOcrContext, {
|
|
|
271
271
|
type: "shouldProceedWithoutSubmitToSecondId";
|
|
272
272
|
params: unknown;
|
|
273
273
|
};
|
|
274
|
-
}>, never, "error" | "idle" | "success" | "finished" | "
|
|
274
|
+
}>, never, "error" | "idle" | "success" | "finished" | "submitting" | "loading" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
275
275
|
readonly id: "idOcr";
|
|
276
276
|
readonly initial: "idle";
|
|
277
277
|
readonly context: ({ input }: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { c as createManager, o as createActor } from "./xstate.esm-
|
|
3
|
-
import { t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
|
|
2
|
+
import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
3
|
+
import { t as idOcrStateMachine } from "./idOcrStateMachine-D6SZ5UEN.esm.js";
|
|
4
4
|
//#region src/modules/id-ocr/idOcrActor.ts
|
|
5
5
|
function createIdOcrActor(options) {
|
|
6
6
|
return createActor(idOcrStateMachine, { input: { config: options.config } }).start();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
|
-
import {
|
|
2
|
+
import { x as getTimestamp } from "./events-Cz6MebsD.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
4
|
-
import { r as assign, t as setup } from "./xstate.esm-
|
|
5
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
4
|
+
import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
5
|
+
import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
|
|
6
6
|
import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
|
|
7
7
|
//#region ../infra/src/providers/browser/DateFormattingProvider.ts
|
|
8
8
|
var DateFormattingProvider = class {
|
package/dist/{idVerificationManager-BTsyXjv6.esm.js → idVerificationManager-D-fdmeEv.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { c as createManager, o as createActor } from "./xstate.esm-
|
|
3
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
|
|
2
|
+
import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
3
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-CRyto3WY.esm.js";
|
|
4
4
|
//#region src/modules/id-verification/idVerificationActor.ts
|
|
5
5
|
function createIdVerificationActor(options) {
|
|
6
6
|
return createActor(idVerificationMachine, { input: { config: options.config } }).start();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
|
-
import { t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
3
|
+
import { t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
|
|
5
5
|
//#region src/modules/id-verification/idVerificationServices.ts
|
|
6
6
|
/**
|
|
7
7
|
* Submits the captured ID for backend verification. Wraps `POST /omni/process/id`
|
package/dist/identity-reuse.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-
|
|
1
|
+
import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-v2TH5g7e.js";
|
|
2
2
|
export { type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-
|
|
2
|
-
import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-
|
|
1
|
+
import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-DuDSkTJQ.esm.js";
|
|
2
|
+
import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-B4Uc5t63.esm.js";
|
|
3
3
|
export { SCAN_NEW_DOCUMENT, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { c as createManager, o as createActor } from "./xstate.esm-
|
|
3
|
-
import { n as identityReuseMachine } from "./identityReuseStateMachine-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
|
|
2
|
+
import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
3
|
+
import { n as identityReuseMachine } from "./identityReuseStateMachine-DuDSkTJQ.esm.js";
|
|
4
4
|
//#region src/modules/identity-reuse/identityReuseActor.ts
|
|
5
5
|
/**
|
|
6
6
|
* Creates and starts an IdentityReuse actor.
|
|
@@ -125,7 +125,7 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
|
|
|
125
125
|
type: "hasSelection";
|
|
126
126
|
params: unknown;
|
|
127
127
|
};
|
|
128
|
-
}>, never, "error" | "idle" | "finished" | "
|
|
128
|
+
}>, never, "error" | "idle" | "finished" | "submitting" | "loading" | "documentsFound", string, IdentityReuseInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
129
129
|
readonly id: "identityReuse";
|
|
130
130
|
readonly initial: "idle";
|
|
131
131
|
readonly context: ({ input }: {
|
package/dist/{identityReuseStateMachine-B0IFF3R7.esm.js → identityReuseStateMachine-DuDSkTJQ.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
|
-
import { r as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
3
|
+
import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
|
|
5
5
|
//#region src/modules/identity-reuse/identityReuseServices.ts
|
|
6
6
|
function lowerFirstLetter(value) {
|
|
7
7
|
if (!value) return value;
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reset, o as setup, r as isConfigured } from "./setup-
|
|
1
|
+
import { i as reset, o as setup, r as isConfigured } from "./setup-ByVn7P4r.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
1
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-BYyb8A34.js";
|
|
2
2
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
2
|
-
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-
|
|
1
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-OJMLYTcA.esm.js";
|
|
2
|
+
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-D0xVg9hS.esm.js";
|
|
3
3
|
export { createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|