@incodetech/core 0.0.0-dev-20260617-fa604a34 → 0.0.0-dev-20260618-d9dafee1
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/{Manager-Dsj-sPxS.d.ts → Manager-B2OEDYqf.d.ts} +4 -1
- package/dist/{StreamCanvasCapture-CDN2Apbm.d.ts → StreamCanvasCapture-uQFmjDCE.d.ts} +1 -1
- package/dist/{addressSearch-Byq4gwCN.esm.js → addressSearch-BV0_T7NT.esm.js} +1 -1
- package/dist/{ae-signature-C8mNUYSC.esm.js → ae-signature-DtMxM9hp.esm.js} +1 -1
- package/dist/ae-signature.d.ts +2 -2
- package/dist/ae-signature.esm.js +4 -4
- package/dist/antifraud.d.ts +2 -2
- package/dist/antifraud.esm.js +4 -4
- package/dist/{antifraudManager-DbrsuESv.d.ts → antifraudManager-B7WQTIdu.d.ts} +1 -1
- package/dist/{antifraudManager-By70WUpS.esm.js → antifraudManager-e8wx0Nao.esm.js} +3 -3
- package/dist/{antifraudStateMachine-DPs0Knyq.esm.js → antifraudStateMachine-TpOb33Fe.esm.js} +1 -1
- package/dist/authentication.d.ts +10 -11
- package/dist/authentication.esm.js +6 -6
- package/dist/{authenticationManager-DVgli_vD.esm.js → authenticationManager-BG6QpPct.esm.js} +4 -4
- package/dist/{authenticationManager-DnOZ0hIZ.d.ts → authenticationManager-DJzD_n6Z.d.ts} +2 -2
- package/dist/{authenticationStateMachine-PtGChFaq.esm.js → authenticationStateMachine-BESir35o.esm.js} +2 -2
- package/dist/camera.d.ts +1 -1
- package/dist/certificate-issuance.d.ts +29 -29
- package/dist/certificate-issuance.esm.js +3 -3
- package/dist/{certificateIssuanceStateMachine-bhWVYKYV.esm.js → certificateIssuanceStateMachine-DZng9Ecy.esm.js} +1 -1
- package/dist/consent.d.ts +2 -2
- package/dist/consent.esm.js +4 -4
- package/dist/{consentManager-ChvHt6T_.esm.js → consentManager-iFzpsbOt.esm.js} +3 -3
- package/dist/{consentManager-cE63xwe9.d.ts → consentManager-w-Pzea9a.d.ts} +51 -51
- package/dist/{consentStateMachine-CWypW8J8.esm.js → consentStateMachine-BzCJuC_B.esm.js} +1 -1
- package/dist/cpf-ocr.d.ts +2 -2
- package/dist/cpf-ocr.esm.js +3 -3
- package/dist/{cpfOcrManager-B52QLxQV.esm.js → cpfOcrManager-Dv38oWFh.esm.js} +2 -2
- package/dist/{cpfOcrManager-CSHxQ2mP.d.ts → cpfOcrManager-VlvIgvq3.d.ts} +18 -18
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +2 -2
- package/dist/curp-validation.d.ts +6 -6
- package/dist/curp-validation.esm.js +4 -4
- package/dist/{curpValidationManager-De6xoNE4.esm.js → curpValidationManager-CuhOOoJt.esm.js} +3 -3
- package/dist/{curpValidationManager-Cmv2orSI.d.ts → curpValidationManager-DTyay4MR.d.ts} +2 -2
- package/dist/{curpValidationStateMachine-Cx2u6xYU.esm.js → curpValidationStateMachine-DDbow5vN.esm.js} +1 -1
- package/dist/custom-fields.d.ts +1 -1
- package/dist/custom-fields.esm.js +2 -2
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +3 -3
- package/dist/{customWatchlistStateMachine-EkXjc819.esm.js → customWatchlistStateMachine-B9CiUBXQ.esm.js} +1 -1
- package/dist/document-capture.d.ts +173 -173
- package/dist/document-capture.esm.js +3 -3
- package/dist/document-upload.d.ts +43 -43
- package/dist/document-upload.esm.js +2 -2
- package/dist/{documentCaptureStateMachine-BBEoBbLb.esm.js → documentCaptureStateMachine-Q9bBy9DC.esm.js} +1 -1
- package/dist/dynamic-forms.d.ts +1 -1
- package/dist/dynamic-forms.esm.js +3 -3
- package/dist/{dynamicFormsStateMachine-p7MuNqYk.esm.js → dynamicFormsStateMachine-CGYQ4AuA.esm.js} +1 -1
- package/dist/ekyb.d.ts +5 -5
- package/dist/ekyb.esm.js +6 -6
- package/dist/{ekybStateMachine-DbF6m-o5.esm.js → ekybStateMachine-aIAMdazc.esm.js} +3 -3
- package/dist/ekyc.d.ts +2 -2
- package/dist/ekyc.esm.js +4 -4
- package/dist/{ekycStateMachine-BqzVRrZz.esm.js → ekycStateMachine-k_LoP04D.esm.js} +2 -2
- package/dist/electronic-signature.d.ts +2 -2
- package/dist/electronic-signature.esm.js +3 -3
- package/dist/{electronicSignatureManager-Db9SeoGj.esm.js → electronicSignatureManager-DxmlKk00.esm.js} +2 -2
- package/dist/email.d.ts +3 -3
- package/dist/email.esm.js +4 -4
- package/dist/{emailManager-DbZkzbPP.d.ts → emailManager-C6D2u4mQ.d.ts} +2 -2
- package/dist/{emailManager-DfgCL3O0.esm.js → emailManager-kjLOoN7a.esm.js} +3 -3
- package/dist/{emailStateMachine-DWzBDO0i.esm.js → emailStateMachine-DfPAsxyZ.esm.js} +1 -1
- package/dist/{events-CmarQoum.esm.js → events-BduWcqZW.esm.js} +4 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +23 -24
- package/dist/extensibility.esm.js +29 -29
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +3 -3
- package/dist/{faceCaptureManagerFactory-ByC4Qa8y.esm.js → faceCaptureManagerFactory-Deh9tYoN.esm.js} +77 -3
- package/dist/{faceCaptureManagerFactory-B2Vhybvk.d.ts → faceCaptureManagerFactory-Dk07aXxd.d.ts} +6 -7
- package/dist/{faceCaptureSetup-D3yv2HY3.esm.js → faceCaptureSetup-DOp6N3Ay.esm.js} +1 -1
- package/dist/{faceMatchStateMachine-BzP_cdwX.esm.js → faceMatchStateMachine-BCD9yFJ0.esm.js} +1 -1
- package/dist/field-comparison.d.ts +2 -2
- package/dist/field-comparison.esm.js +3 -3
- package/dist/{fieldComparisonManager-m1j9K66T.esm.js → fieldComparisonManager-BIDAZhu2.esm.js} +2 -2
- package/dist/{fieldComparisonManager-6YiDreZW.d.ts → fieldComparisonManager-BXc6-DJv.d.ts} +1 -1
- package/dist/fiscal-qr.d.ts +3 -3
- package/dist/fiscal-qr.esm.js +2 -2
- package/dist/flow-events.d.ts +6 -6
- package/dist/flow.d.ts +10 -11
- package/dist/flow.esm.js +5 -5
- package/dist/{flowServices-C7HcBaa_.esm.js → flowServices-C9uTMUi8.esm.js} +1 -1
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +3 -3
- package/dist/{geolocationStateMachine-BRas1Frw.esm.js → geolocationStateMachine-DJ_yBwCh.esm.js} +1 -1
- package/dist/government-validation.d.ts +2 -2
- package/dist/government-validation.esm.js +3 -3
- package/dist/{governmentValidationStateMachine-CC_MEsWI.esm.js → governmentValidationStateMachine-lursh2_g.esm.js} +1 -1
- package/dist/home.d.ts +15 -15
- package/dist/home.esm.js +2 -2
- package/dist/id-ocr.d.ts +53 -53
- package/dist/id-ocr.esm.js +3 -3
- package/dist/id-verification.d.ts +26 -26
- package/dist/id-verification.esm.js +3 -3
- package/dist/id.d.ts +9 -10
- package/dist/id.esm.js +6 -6
- package/dist/{idCaptureManager-CV3Tioi4.d.ts → idCaptureManager-B7x78-3Q.d.ts} +6 -7
- package/dist/{idCaptureManager-DC2MKXTp.esm.js → idCaptureManager-DuOiBzKA.esm.js} +74 -4
- package/dist/{idCaptureStateMachine-DCPJsUoA.esm.js → idCaptureStateMachine-D6nAb9_Q.esm.js} +3 -3
- package/dist/{idOcrStateMachine-DBR2PV3V.esm.js → idOcrStateMachine-B87ZFbXw.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-9pEdKmP9.esm.js → idVerificationStateMachine-Cy8Xvej2.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +2 -2
- package/dist/identity-reuse.esm.js +4 -4
- package/dist/{identityReuseManager-CqBkUE4l.esm.js → identityReuseManager-D65fB0Iq.esm.js} +3 -3
- package/dist/{identityReuseManager--nye4ua6.d.ts → identityReuseManager-Dp3giL8s.d.ts} +32 -32
- package/dist/{identityReuseStateMachine-Mhf3pwuo.esm.js → identityReuseStateMachine-ChepCGW0.esm.js} +1 -1
- package/dist/{index-_hmx1U1v.d.ts → index-3aS-pBij.d.ts} +169 -169
- package/dist/{index-DCwyzc5q.d.ts → index-cIuvyWMa.d.ts} +2 -2
- package/dist/index.esm.js +3 -3
- package/dist/{invokeOnCaptureCallback-BlFdnfoh.esm.js → invokeOnCaptureCallback-B152xbgv.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +6 -6
- package/dist/mandatory-consent.esm.js +4 -4
- package/dist/{mandatoryConsentManager-Qub7zBH8.esm.js → mandatoryConsentManager-B60hUyNX.esm.js} +3 -3
- package/dist/{mandatoryConsentManager-D-RFkbxT.d.ts → mandatoryConsentManager-DIE3Mi0A.d.ts} +52 -52
- package/dist/{mandatoryConsentStateMachine-OCd0A55c.esm.js → mandatoryConsentStateMachine-DFSHgVwh.esm.js} +1 -1
- package/dist/phone.d.ts +3 -3
- package/dist/phone.esm.js +4 -4
- package/dist/{phoneManager-ApM3CWwR.esm.js → phoneManager-Bv6zNVMy.esm.js} +3 -3
- package/dist/{phoneManager-h6NgdQCA.d.ts → phoneManager-TSq1Ief6.d.ts} +2 -2
- package/dist/{phoneStateMachine-Nn0ifgsM.esm.js → phoneStateMachine-DA9XcHqe.esm.js} +1 -1
- package/dist/{qe-signature-D6-Qpyfo.esm.js → qe-signature-Cr3h13pK.esm.js} +1 -1
- package/dist/qe-signature.d.ts +2 -2
- package/dist/qe-signature.esm.js +4 -4
- package/dist/redirect-to-mobile.d.ts +2 -2
- package/dist/redirect-to-mobile.esm.js +4 -4
- package/dist/{redirectToMobileManager-Bw0Dew2v.esm.js → redirectToMobileManager-1eG2CuwM.esm.js} +3 -3
- package/dist/{redirectToMobileManager-DYv4-nNn.d.ts → redirectToMobileManager-yOHAmwg-.d.ts} +1 -1
- package/dist/{redirectToMobileStateMachine-60oeuo-V.esm.js → redirectToMobileStateMachine-BjcIvJuk.esm.js} +1 -1
- package/dist/{runChildModule-BGecSlg0.esm.js → runChildModule-YdxACVvJ.esm.js} +2 -2
- package/dist/selfie.d.ts +10 -11
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieManager-DgUgks9i.esm.js → selfieManager-1C0NFNWn.esm.js} +4 -4
- package/dist/{selfieManager-BjwgTTSs.d.ts → selfieManager-DKRhOzTT.d.ts} +2 -2
- package/dist/{selfieStateMachine-YDCX3Ew4.esm.js → selfieStateMachine-BJkorR40.esm.js} +2 -2
- package/dist/session.d.ts +5 -5
- package/dist/session.esm.js +2 -2
- package/dist/{sessionInitializer-BdIIOUQ4.esm.js → sessionInitializer-CIkApP22.esm.js} +2 -2
- package/dist/{setup-D8uQKgEi.esm.js → setup-zGuTg-AF.esm.js} +2 -2
- package/dist/signature.d.ts +1 -1
- package/dist/signature.esm.js +3 -3
- package/dist/{signatureStateMachine-BTkVm04g.esm.js → signatureStateMachine-oNUxM1jx.esm.js} +1 -1
- package/dist/trust-graph.d.ts +1 -1
- package/dist/trust-graph.esm.js +2 -2
- package/dist/{types-Dv-9WPJX.d.ts → types-D8y52YD5.d.ts} +2 -2
- package/dist/{types-Z9wv19v2.d.ts → types-DR2YKE_o.d.ts} +1 -1
- package/dist/{types-Cjx73NNd.d.ts → types-DpTWgfKY.d.ts} +1 -1
- package/dist/wasm.esm.js +3 -3
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +3 -3
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +3 -3
- package/dist/{watchlistForBusinessStateMachine-fEpRdtnj.esm.js → watchlistForBusinessStateMachine-CKK3f8Ds.esm.js} +1 -1
- package/dist/{watchlistStateMachine-C92XRtlP.esm.js → watchlistStateMachine-DQuauaAh.esm.js} +1 -1
- package/dist/workflow.d.ts +148 -149
- package/dist/workflow.esm.js +35 -35
- package/dist/{xstate.esm-CbU9dpcC.esm.js → xstate.esm-BwZUki12.esm.js} +4 -4
- package/package.json +1 -1
- package/dist/StateMachine-BIfEYukU.d.ts +0 -2
- /package/dist/{camera-biGPWlmx.d.ts → camera-D0c7ez3w.d.ts} +0 -0
- /package/dist/{deepsightService-DpHuyW3G.d.ts → deepsightService-C7MMvEiJ.d.ts} +0 -0
- /package/dist/{flowCompletionService-BAFssHBk.d.ts → flowCompletionService-DSPt5J5M.d.ts} +0 -0
- /package/dist/{otp-BwLdGT6f.d.ts → otp-BHJnjEEc.d.ts} +0 -0
- /package/dist/{types-DYZja-k9.d.ts → types-C1ixFPzO.d.ts} +0 -0
- /package/dist/{types-D3dxOdyZ.d.ts → types-F0IXbaCB.d.ts} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-CAZ4AD98.esm.js";
|
|
2
2
|
import "./BrowserTimerProvider-BVgutW_b.esm.js";
|
|
3
3
|
import "./api-DUZwyz0o.esm.js";
|
|
4
|
-
import "./events-
|
|
4
|
+
import "./events-BduWcqZW.esm.js";
|
|
5
5
|
import "./endpoints-B2t80MAM.esm.js";
|
|
6
6
|
import "./stats-32mOt6D8.esm.js";
|
|
7
7
|
import { t as IpifyProvider } from "./IpifyProvider-oZf7Ke1O.esm.js";
|
|
8
8
|
import "./browserSimulation-CGjpdNA1.esm.js";
|
|
9
|
-
import { o as FingerprintProvider, s as getDeviceFingerprintInfo, t as getDisableIpify } from "./sessionInitializer-
|
|
9
|
+
import { o as FingerprintProvider, s as getDeviceFingerprintInfo, t as getDisableIpify } from "./sessionInitializer-CIkApP22.esm.js";
|
|
10
10
|
import "./platform-BfoqeM61.esm.js";
|
|
11
11
|
import "./getBrowser-Dv8LZyHE.esm.js";
|
|
12
|
-
import { a as fromPromise, i as fromCallback, s as createActor } from "./xstate.esm-
|
|
12
|
+
import { a as fromPromise, i as fromCallback, s as createActor } from "./xstate.esm-BwZUki12.esm.js";
|
|
13
13
|
import "./apiError-D-GTvFrH.esm.js";
|
|
14
14
|
import "./urlUtils-8RNHyW3x.esm.js";
|
|
15
|
-
import "./antifraudStateMachine-
|
|
16
|
-
import { n as createAntifraudManagerFromActor } from "./antifraudManager-
|
|
15
|
+
import "./antifraudStateMachine-TpOb33Fe.esm.js";
|
|
16
|
+
import { n as createAntifraudManagerFromActor } from "./antifraudManager-e8wx0Nao.esm.js";
|
|
17
17
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CGCKial0.esm.js";
|
|
18
18
|
import "./MotionSensorProvider-C9fPAJdS.esm.js";
|
|
19
19
|
import "./permissionServices-BApXq7a0.esm.js";
|
|
20
20
|
import "./camera-x4LjGTjZ.esm.js";
|
|
21
|
-
import "./faceCaptureManagerFactory-
|
|
21
|
+
import "./faceCaptureManagerFactory-Deh9tYoN.esm.js";
|
|
22
22
|
import "./recordingService-D6wX1gjP.esm.js";
|
|
23
23
|
import "./ITimerCapability-BvH0pDwp.esm.js";
|
|
24
24
|
import "./canvas-7uX2izHb.esm.js";
|
|
@@ -29,32 +29,32 @@ import "./getDeviceClass-rXKlXywy.esm.js";
|
|
|
29
29
|
import "./types-BdVOWGGW.esm.js";
|
|
30
30
|
import "./StreamCanvasCapture-Dr5n_iK1.esm.js";
|
|
31
31
|
import "./permissionGuards-MDEdZAXO.esm.js";
|
|
32
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
33
|
-
import "./authenticationStateMachine-
|
|
34
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
35
|
-
import "./consentStateMachine-
|
|
36
|
-
import { n as createConsentManagerFromActor } from "./consentManager-
|
|
37
|
-
import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-
|
|
32
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-DOp6N3Ay.esm.js";
|
|
33
|
+
import "./authenticationStateMachine-BESir35o.esm.js";
|
|
34
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BG6QpPct.esm.js";
|
|
35
|
+
import "./consentStateMachine-BzCJuC_B.esm.js";
|
|
36
|
+
import { n as createConsentManagerFromActor } from "./consentManager-iFzpsbOt.esm.js";
|
|
37
|
+
import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-Dv38oWFh.esm.js";
|
|
38
38
|
import "./cpf-xBg-DFNn.esm.js";
|
|
39
|
-
import "./curpValidationStateMachine-
|
|
40
|
-
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-
|
|
39
|
+
import "./curpValidationStateMachine-DDbow5vN.esm.js";
|
|
40
|
+
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-CuhOOoJt.esm.js";
|
|
41
41
|
import "./session-Da435G0o.esm.js";
|
|
42
|
-
import "./emailStateMachine-
|
|
42
|
+
import "./emailStateMachine-DfPAsxyZ.esm.js";
|
|
43
43
|
import "./otp-D87RTwrx.esm.js";
|
|
44
|
-
import { n as createEmailManagerFromActor } from "./emailManager-
|
|
45
|
-
import "./selfieStateMachine-
|
|
46
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
47
|
-
import "./idCaptureStateMachine-
|
|
48
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
49
|
-
import "./phoneStateMachine-
|
|
50
|
-
import { n as createPhoneManagerFromActor } from "./phoneManager-
|
|
51
|
-
import "./identityReuseStateMachine-
|
|
52
|
-
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-
|
|
53
|
-
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-
|
|
54
|
-
import "./mandatoryConsentStateMachine-
|
|
55
|
-
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-
|
|
56
|
-
import "./redirectToMobileStateMachine-
|
|
57
|
-
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-
|
|
44
|
+
import { n as createEmailManagerFromActor } from "./emailManager-kjLOoN7a.esm.js";
|
|
45
|
+
import "./selfieStateMachine-BJkorR40.esm.js";
|
|
46
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-1C0NFNWn.esm.js";
|
|
47
|
+
import "./idCaptureStateMachine-D6nAb9_Q.esm.js";
|
|
48
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-DuOiBzKA.esm.js";
|
|
49
|
+
import "./phoneStateMachine-DA9XcHqe.esm.js";
|
|
50
|
+
import { n as createPhoneManagerFromActor } from "./phoneManager-Bv6zNVMy.esm.js";
|
|
51
|
+
import "./identityReuseStateMachine-ChepCGW0.esm.js";
|
|
52
|
+
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-D65fB0Iq.esm.js";
|
|
53
|
+
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-BIDAZhu2.esm.js";
|
|
54
|
+
import "./mandatoryConsentStateMachine-DFSHgVwh.esm.js";
|
|
55
|
+
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-B60hUyNX.esm.js";
|
|
56
|
+
import "./redirectToMobileStateMachine-BjcIvJuk.esm.js";
|
|
57
|
+
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-1eG2CuwM.esm.js";
|
|
58
58
|
|
|
59
59
|
//#region src/internal/fingerprint/fingerprintApi.ts
|
|
60
60
|
async function getFingerprint(disableIpify) {
|
package/dist/face-match.d.ts
CHANGED
package/dist/face-match.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./api-DUZwyz0o.esm.js";
|
|
2
|
-
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-BduWcqZW.esm.js";
|
|
3
3
|
import "./endpoints-B2t80MAM.esm.js";
|
|
4
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
5
|
-
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
4
|
+
import { c as createManager, s as createActor } from "./xstate.esm-BwZUki12.esm.js";
|
|
5
|
+
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-BCD9yFJ0.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/face-match/faceMatchActor.ts
|
|
8
8
|
function createFaceMatchActor(options) {
|
package/dist/{faceCaptureManagerFactory-ByC4Qa8y.esm.js → faceCaptureManagerFactory-Deh9tYoN.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as topLevelStateName, r as eventScreenNames, s as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { c as createManager } from "./xstate.esm-
|
|
1
|
+
import { n as eventModuleNames, o as topLevelStateName, r as eventScreenNames, s as createManagerInstrumentation } from "./events-BduWcqZW.esm.js";
|
|
2
|
+
import { c as createManager } from "./xstate.esm-BwZUki12.esm.js";
|
|
3
3
|
import { n as setWasmDsFlagSync } from "./BrowserStorageProvider-CGCKial0.esm.js";
|
|
4
4
|
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-BApXq7a0.esm.js";
|
|
5
5
|
|
|
@@ -281,10 +281,83 @@ function createApi({ actor, trackElementClicked, trackCaptureAttemptFinished })
|
|
|
281
281
|
}
|
|
282
282
|
};
|
|
283
283
|
}
|
|
284
|
+
/**
|
|
285
|
+
* Figma-aligned, machine-stable reason token per face error code. Mirrors the
|
|
286
|
+
* leaf used by `getResultErrorScreen` (e.g. `LENSES_DETECTED` → `lensesDetected`)
|
|
287
|
+
* so the `errorTriggered` payload, error name and screen name stay in sync with
|
|
288
|
+
* the Face Capture Figma `resultError.*` frames.
|
|
289
|
+
*/
|
|
290
|
+
function getFaceErrorReason(errorCode) {
|
|
291
|
+
switch (errorCode) {
|
|
292
|
+
case "LENSES_ERROR":
|
|
293
|
+
case "LENSES_DETECTED": return "lensesDetected";
|
|
294
|
+
case "BRIGHTNESS_ERROR": return "tooBright";
|
|
295
|
+
case "MASK_ERROR":
|
|
296
|
+
case "FACE_MASK_DETECTED": return "faceMaskDetected";
|
|
297
|
+
case "FACE_TOO_DARK":
|
|
298
|
+
case "TOO_DARK_ERROR": return "tooDark";
|
|
299
|
+
case "CLOSED_EYES_ERROR":
|
|
300
|
+
case "CLOSED_EYES_DETECTED": return "eyesClosed";
|
|
301
|
+
case "HEAD_COVER_ERROR":
|
|
302
|
+
case "HEAD_COVER_DETECTED": return "headCovered";
|
|
303
|
+
case "FACE_OCCLUDED": return "faceOcclusion";
|
|
304
|
+
case "TOO_BLURRY_ERROR":
|
|
305
|
+
case "FACE_TOO_BLURRY":
|
|
306
|
+
case "BAD_PHOTO_QUALITY":
|
|
307
|
+
case "SELFIE_IMAGE_LOW_QUALITY": return "lowQuality";
|
|
308
|
+
case "SERVER_ERROR":
|
|
309
|
+
case "PROCESSING_ERROR":
|
|
310
|
+
case "BAD_REQUEST": return "processingFailed";
|
|
311
|
+
case "FACE_NOT_FOUND":
|
|
312
|
+
case "MULTIPLE_FACES":
|
|
313
|
+
case "FACE_CROPPING_FAILED":
|
|
314
|
+
case "FACE_TOO_SMALL":
|
|
315
|
+
case "LIVENESS_ERROR":
|
|
316
|
+
default: return "faceNotAligned";
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* Reports whether the given `capture` substate is active in a raw XState value
|
|
321
|
+
* without needing a live snapshot (so it works on the plain objects used in
|
|
322
|
+
* tests). Robust to parallel states (checks membership rather than the first
|
|
323
|
+
* key).
|
|
324
|
+
*/
|
|
325
|
+
function isFaceCaptureSubstateActive(value, name) {
|
|
326
|
+
if (typeof value !== "object" || value === null) return false;
|
|
327
|
+
const capture = value.capture;
|
|
328
|
+
if (typeof capture === "string") return capture === name;
|
|
329
|
+
if (typeof capture === "object" && capture !== null) return name in capture;
|
|
330
|
+
return false;
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* Figma-aligned error name for every Face Capture error state. Returned without
|
|
334
|
+
* the module prefix — the instrumentation adapter prepends the module token to
|
|
335
|
+
* produce e.g. `faceCapture.error.lensesDetected`. Returning `undefined` means
|
|
336
|
+
* "not an error state", which suppresses `errorTriggered`.
|
|
337
|
+
*
|
|
338
|
+
* Covers: recoverable result errors (`capture.uploadError`), the bad-network
|
|
339
|
+
* screen (`detecting` + `detectionStatus === 'offline'`), and the fatal
|
|
340
|
+
* top-level `error` state.
|
|
341
|
+
*/
|
|
342
|
+
function getFaceCaptureErrorName(snapshot) {
|
|
343
|
+
const topLevel = topLevelStateName(snapshot.value);
|
|
344
|
+
if (topLevel === void 0) return void 0;
|
|
345
|
+
if (topLevel === "error") return "error.unknown";
|
|
346
|
+
if (topLevel === "capture") {
|
|
347
|
+
if (isFaceCaptureSubstateActive(snapshot.value, "uploadError")) return `error.${getFaceErrorReason(snapshot.context.uploadError)}`;
|
|
348
|
+
if (isFaceCaptureSubstateActive(snapshot.value, "detecting") && snapshot.context.detectionStatus === "offline") return "error.noConnection";
|
|
349
|
+
}
|
|
350
|
+
}
|
|
284
351
|
function getFaceCaptureErrorPayload(snapshot) {
|
|
352
|
+
const topLevel = topLevelStateName(snapshot.value);
|
|
353
|
+
if (topLevel === "error") return { reason: "fatal" };
|
|
354
|
+
if (topLevel === "capture" && isFaceCaptureSubstateActive(snapshot.value, "detecting") && snapshot.context.detectionStatus === "offline") return { reason: "noConnection" };
|
|
285
355
|
const errorCode = snapshot.context.uploadError;
|
|
286
356
|
if (typeof errorCode !== "string" || errorCode.length === 0) return;
|
|
287
|
-
return {
|
|
357
|
+
return {
|
|
358
|
+
errorCode,
|
|
359
|
+
reason: getFaceErrorReason(errorCode)
|
|
360
|
+
};
|
|
288
361
|
}
|
|
289
362
|
function createFaceCaptureManagerFromActor(actor, moduleName) {
|
|
290
363
|
return createManager({
|
|
@@ -293,6 +366,7 @@ function createFaceCaptureManagerFromActor(actor, moduleName) {
|
|
|
293
366
|
createApi,
|
|
294
367
|
instrumentation: createManagerInstrumentation(moduleName, {
|
|
295
368
|
getEventScreenName: (snapshot) => getFaceCaptureScreenName(snapshot, moduleName),
|
|
369
|
+
getErrorName: getFaceCaptureErrorName,
|
|
296
370
|
getErrorPayload: getFaceCaptureErrorPayload
|
|
297
371
|
})
|
|
298
372
|
});
|
package/dist/{faceCaptureManagerFactory-B2Vhybvk.d.ts → faceCaptureManagerFactory-Dk07aXxd.d.ts}
RENAMED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { n as WasmPipeline } from "./warmup--6HA3yUR.js";
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
2
|
+
import { n as AnyStateMachine, r as StateMachine, t as Manager } from "./Manager-B2OEDYqf.js";
|
|
3
3
|
import { t as ActorRefFrom } from "./Actor-fIPLXfoi.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { n as
|
|
9
|
-
import { n as IncodeCanvas, t as StreamCanvasCapture } from "./StreamCanvasCapture-CDN2Apbm.js";
|
|
4
|
+
import { t as CameraStream } from "./camera-D0c7ez3w.js";
|
|
5
|
+
import { i as FlowModuleConfig, n as Flow } from "./types-D8y52YD5.js";
|
|
6
|
+
import { a as IMLProviderCapability, c as IRecordingCapability, n as IWasmUtilCapability, o as MLProviderConfig, s as IStorageCapability, t as DeepsightService } from "./deepsightService-C7MMvEiJ.js";
|
|
7
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-F0IXbaCB.js";
|
|
8
|
+
import { n as IncodeCanvas, t as StreamCanvasCapture } from "./StreamCanvasCapture-uQFmjDCE.js";
|
|
10
9
|
|
|
11
10
|
//#region src/modules/authentication/authenticationStateMachine.d.ts
|
|
12
11
|
declare const _authenticationMachine: AnyStateMachine;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as getToken } from "./api-DUZwyz0o.esm.js";
|
|
2
|
-
import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-
|
|
2
|
+
import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-BwZUki12.esm.js";
|
|
3
3
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-BApXq7a0.esm.js";
|
|
4
4
|
import { d as sendLabelInspectionEvent, f as startDetection, l as initializeCamera, n as preloadOpenViduProvider, p as stopStream, r as flagFaceManualReview, t as createRecordingService, u as initializeDeepsightSession } from "./recordingService-D6wX1gjP.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-BdVOWGGW.esm.js";
|
package/dist/{faceMatchStateMachine-BzP_cdwX.esm.js → faceMatchStateMachine-BCD9yFJ0.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-DUZwyz0o.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-B2t80MAM.esm.js";
|
|
3
|
-
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-
|
|
3
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-BwZUki12.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/face-match/constants.ts
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./Manager-
|
|
1
|
+
import "./Manager-B2OEDYqf.js";
|
|
2
2
|
import "./Actor-fIPLXfoi.js";
|
|
3
|
-
import { a as FieldComparisonActor, c as FieldComparisonFields, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, o as fieldComparisonMachine, r as createFieldComparisonManager, s as FieldComparisonConfig, t as FieldComparisonManager } from "./fieldComparisonManager-
|
|
3
|
+
import { a as FieldComparisonActor, c as FieldComparisonFields, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, o as fieldComparisonMachine, r as createFieldComparisonManager, s as FieldComparisonConfig, t as FieldComparisonManager } from "./fieldComparisonManager-BXc6-DJv.js";
|
|
4
4
|
export { type FieldComparisonActor, type FieldComparisonConfig, type FieldComparisonFields, type FieldComparisonManager, type FieldComparisonState, createFieldComparisonManager, createFieldComparisonManagerFromActor, fieldComparisonMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./api-DUZwyz0o.esm.js";
|
|
2
|
-
import "./events-
|
|
2
|
+
import "./events-BduWcqZW.esm.js";
|
|
3
3
|
import "./endpoints-B2t80MAM.esm.js";
|
|
4
|
-
import "./xstate.esm-
|
|
5
|
-
import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-
|
|
4
|
+
import "./xstate.esm-BwZUki12.esm.js";
|
|
5
|
+
import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-BIDAZhu2.esm.js";
|
|
6
6
|
|
|
7
7
|
export { createFieldComparisonManager, createFieldComparisonManagerFromActor, fieldComparisonMachine };
|
package/dist/{fieldComparisonManager-m1j9K66T.esm.js → fieldComparisonManager-BIDAZhu2.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-DUZwyz0o.esm.js";
|
|
2
|
-
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-BduWcqZW.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-B2t80MAM.esm.js";
|
|
4
|
-
import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-
|
|
4
|
+
import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-BwZUki12.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/field-comparison/fieldComparisonServices.ts
|
|
7
7
|
/** Submit first and last name for backend field comparison. Throws on failure. */
|
package/dist/fiscal-qr.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./camera-
|
|
3
|
-
import "./StreamCanvasCapture-
|
|
1
|
+
import { t as Manager } from "./Manager-B2OEDYqf.js";
|
|
2
|
+
import "./camera-D0c7ez3w.js";
|
|
3
|
+
import "./StreamCanvasCapture-uQFmjDCE.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/fiscal-qr/types.d.ts
|
|
6
6
|
/**
|
package/dist/fiscal-qr.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BVgutW_b.esm.js";
|
|
2
2
|
import { t as api } from "./api-DUZwyz0o.esm.js";
|
|
3
|
-
import { g as addEvent, n as eventModuleNames, s as createManagerInstrumentation } from "./events-
|
|
3
|
+
import { g as addEvent, n as eventModuleNames, s as createManagerInstrumentation } from "./events-BduWcqZW.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-B2t80MAM.esm.js";
|
|
5
5
|
import "./platform-BfoqeM61.esm.js";
|
|
6
|
-
import { a as fromPromise, c as createManager, i as fromCallback, r as assign, s as createActor, t as setup } from "./xstate.esm-
|
|
6
|
+
import { a as fromPromise, c as createManager, i as fromCallback, r as assign, s as createActor, t as setup } from "./xstate.esm-BwZUki12.esm.js";
|
|
7
7
|
import { i as stopCameraStream } from "./camera-x4LjGTjZ.esm.js";
|
|
8
8
|
import "./ITimerCapability-BvH0pDwp.esm.js";
|
|
9
9
|
import "./canvas-7uX2izHb.esm.js";
|
package/dist/flow-events.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./camera-
|
|
2
|
-
import "./types-
|
|
3
|
-
import "./types-
|
|
4
|
-
import "./types-
|
|
5
|
-
import "./flowCompletionService-
|
|
6
|
-
import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-
|
|
1
|
+
import "./camera-D0c7ez3w.js";
|
|
2
|
+
import "./types-DR2YKE_o.js";
|
|
3
|
+
import "./types-C1ixFPzO.js";
|
|
4
|
+
import "./types-D8y52YD5.js";
|
|
5
|
+
import "./flowCompletionService-DSPt5J5M.js";
|
|
6
|
+
import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-cIuvyWMa.js";
|
|
7
7
|
export { FlowClosedEvent, FlowCompletedEvent, FlowErrorEvent, FlowEvent, FlowEventListener, FlowEventSubscribable, FlowModuleCompletedEvent, FlowModuleStartedEvent, FlowReadyEvent, FlowStartedEvent };
|
package/dist/flow.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { n as WasmPipeline } from "./warmup--6HA3yUR.js";
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import
|
|
4
|
-
import "./
|
|
5
|
-
import "./types-
|
|
6
|
-
import "./types-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import * as xstate1285 from "xstate";
|
|
2
|
+
import { n as AnyStateMachine, t as Manager } from "./Manager-B2OEDYqf.js";
|
|
3
|
+
import "./camera-D0c7ez3w.js";
|
|
4
|
+
import "./types-DR2YKE_o.js";
|
|
5
|
+
import "./types-C1ixFPzO.js";
|
|
6
|
+
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-D8y52YD5.js";
|
|
7
|
+
import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-DSPt5J5M.js";
|
|
8
|
+
import { o as FlowEventSubscribable } from "./index-cIuvyWMa.js";
|
|
9
|
+
import { n as ModuleRegistry } from "./types-DpTWgfKY.js";
|
|
10
|
+
import * as xstate506 from "xstate";
|
|
12
11
|
|
|
13
12
|
//#region src/modules/flow/flowUtils.d.ts
|
|
14
13
|
type NormalizeFlowModulesOptions = {
|
|
@@ -60,7 +59,7 @@ type GetFlow = (signal: AbortSignal, options?: GetFlowOptions) => Promise<Flow>;
|
|
|
60
59
|
declare const getFlow: GetFlow;
|
|
61
60
|
//#endregion
|
|
62
61
|
//#region src/modules/flow/noOpFlowModuleMachine.d.ts
|
|
63
|
-
declare const noOpFlowModuleMachine:
|
|
62
|
+
declare const noOpFlowModuleMachine: xstate506.StateMachine<xstate506.MachineContext, xstate506.AnyEventObject, {}, never, never, never, never, "finished", string, xstate506.NonReducibleUnknown, xstate506.NonReducibleUnknown, xstate506.EventObject, xstate506.MetaObject, {
|
|
64
63
|
readonly id: "noOpFlowModule";
|
|
65
64
|
readonly initial: "finished";
|
|
66
65
|
readonly states: {
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import "./api-DUZwyz0o.esm.js";
|
|
2
|
-
import { g as addEvent } from "./events-
|
|
2
|
+
import { g as addEvent } from "./events-BduWcqZW.esm.js";
|
|
3
3
|
import "./endpoints-B2t80MAM.esm.js";
|
|
4
4
|
import "./stats-32mOt6D8.esm.js";
|
|
5
5
|
import "./IpifyProvider-oZf7Ke1O.esm.js";
|
|
6
6
|
import "./browserSimulation-CGjpdNA1.esm.js";
|
|
7
|
-
import "./sessionInitializer-
|
|
7
|
+
import "./sessionInitializer-CIkApP22.esm.js";
|
|
8
8
|
import "./platform-BfoqeM61.esm.js";
|
|
9
9
|
import "./getBrowser-Dv8LZyHE.esm.js";
|
|
10
|
-
import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-
|
|
10
|
+
import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-BwZUki12.esm.js";
|
|
11
11
|
import "./apiError-D-GTvFrH.esm.js";
|
|
12
12
|
import "./types-BdVOWGGW.esm.js";
|
|
13
13
|
import "./session-Da435G0o.esm.js";
|
|
14
|
-
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
15
|
-
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
14
|
+
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-C9uTMUi8.esm.js";
|
|
15
|
+
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-YdxACVvJ.esm.js";
|
|
16
16
|
import { t as getFinishStatus } from "./flowCompletionService-Y1UICFg1.esm.js";
|
|
17
17
|
|
|
18
18
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-DUZwyz0o.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-B2t80MAM.esm.js";
|
|
3
|
-
import { n as getSessionFingerprintResult, r as initializeSession } from "./sessionInitializer-
|
|
3
|
+
import { n as getSessionFingerprintResult, r as initializeSession } from "./sessionInitializer-CIkApP22.esm.js";
|
|
4
4
|
import { n as toIncodeApiError } from "./apiError-D-GTvFrH.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/flow/flowUtils.ts
|
package/dist/geolocation.d.ts
CHANGED
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./api-DUZwyz0o.esm.js";
|
|
2
|
-
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-BduWcqZW.esm.js";
|
|
3
3
|
import "./endpoints-B2t80MAM.esm.js";
|
|
4
4
|
import "./platform-BfoqeM61.esm.js";
|
|
5
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
6
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
5
|
+
import { c as createManager, s as createActor } from "./xstate.esm-BwZUki12.esm.js";
|
|
6
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-DJ_yBwCh.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
9
9
|
var BrowserGeolocationProvider = class {
|
package/dist/{geolocationStateMachine-BRas1Frw.esm.js → geolocationStateMachine-DJ_yBwCh.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-DUZwyz0o.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-B2t80MAM.esm.js";
|
|
3
3
|
import { r as isIOS, t as isAndroid } from "./platform-BfoqeM61.esm.js";
|
|
4
|
-
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-
|
|
4
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-BwZUki12.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
7
7
|
async function addGeolocation(params, signal) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
1
|
+
import { t as Manager } from "./Manager-B2OEDYqf.js";
|
|
2
2
|
import "./Actor-fIPLXfoi.js";
|
|
3
|
-
import { t as OtpValidationErrors } from "./otp-
|
|
3
|
+
import { t as OtpValidationErrors } from "./otp-BHJnjEEc.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/government-validation/types.d.ts
|
|
6
6
|
type GovernmentValidationConfig = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./BrowserTimerProvider-BVgutW_b.esm.js";
|
|
2
2
|
import "./api-DUZwyz0o.esm.js";
|
|
3
|
-
import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-
|
|
3
|
+
import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-BduWcqZW.esm.js";
|
|
4
4
|
import "./endpoints-B2t80MAM.esm.js";
|
|
5
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
5
|
+
import { c as createManager, s as createActor } from "./xstate.esm-BwZUki12.esm.js";
|
|
6
6
|
import { t as OTP_CODE_LENGTH } from "./otp-D87RTwrx.esm.js";
|
|
7
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
7
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-lursh2_g.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/government-validation/governmentValidationActor.ts
|
|
10
10
|
function createGovernmentValidationActor(options) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BVgutW_b.esm.js";
|
|
2
2
|
import { t as api } from "./api-DUZwyz0o.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-B2t80MAM.esm.js";
|
|
4
|
-
import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-
|
|
4
|
+
import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-BwZUki12.esm.js";
|
|
5
5
|
import { n as computeOtpValidationErrors, r as isOtpComplete } from "./otp-D87RTwrx.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/government-validation/governmentValidationServices.ts
|
package/dist/home.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./camera-
|
|
3
|
-
import "./types-
|
|
4
|
-
import "./types-
|
|
5
|
-
import { t as EmptyConfig } from "./types-
|
|
6
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-B2OEDYqf.js";
|
|
2
|
+
import "./camera-D0c7ez3w.js";
|
|
3
|
+
import "./types-DR2YKE_o.js";
|
|
4
|
+
import "./types-C1ixFPzO.js";
|
|
5
|
+
import { t as EmptyConfig } from "./types-D8y52YD5.js";
|
|
6
|
+
import * as xstate938 from "xstate";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/home/types.d.ts
|
|
9
9
|
type HomeConfig = EmptyConfig;
|
|
@@ -35,41 +35,41 @@ type HomeContext = {
|
|
|
35
35
|
type HomeInput = {
|
|
36
36
|
config: EmptyConfig;
|
|
37
37
|
};
|
|
38
|
-
declare const homeMachine:
|
|
38
|
+
declare const homeMachine: xstate938.StateMachine<HomeContext, {
|
|
39
39
|
type: "LOAD";
|
|
40
40
|
} | {
|
|
41
41
|
type: "COMPLETE";
|
|
42
42
|
} | {
|
|
43
43
|
type: "RESET";
|
|
44
|
-
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput,
|
|
44
|
+
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate938.NonReducibleUnknown, xstate938.EventObject, xstate938.MetaObject, {
|
|
45
45
|
readonly id: "home";
|
|
46
46
|
readonly initial: "idle";
|
|
47
47
|
readonly context: ({
|
|
48
48
|
input
|
|
49
49
|
}: {
|
|
50
50
|
spawn: {
|
|
51
|
-
<TSrc extends never>(logic: TSrc, ...[options]: never):
|
|
52
|
-
<TLogic extends
|
|
51
|
+
<TSrc extends never>(logic: TSrc, ...[options]: never): xstate938.ActorRefFromLogic<never>;
|
|
52
|
+
<TLogic extends xstate938.AnyActorLogic>(src: TLogic, ...[options]: xstate938.ConditionalRequired<[options?: ({
|
|
53
53
|
id?: never;
|
|
54
54
|
systemId?: string;
|
|
55
|
-
input?:
|
|
55
|
+
input?: xstate938.InputFrom<TLogic> | undefined;
|
|
56
56
|
syncSnapshot?: boolean;
|
|
57
|
-
} & { [K in
|
|
57
|
+
} & { [K in xstate938.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate938.IsNotNever<xstate938.RequiredLogicInput<TLogic>>>): xstate938.ActorRefFromLogic<TLogic>;
|
|
58
58
|
};
|
|
59
59
|
input: HomeInput;
|
|
60
|
-
self:
|
|
60
|
+
self: xstate938.ActorRef<xstate938.MachineSnapshot<HomeContext, {
|
|
61
61
|
type: "LOAD";
|
|
62
62
|
} | {
|
|
63
63
|
type: "COMPLETE";
|
|
64
64
|
} | {
|
|
65
65
|
type: "RESET";
|
|
66
|
-
}, Record<string,
|
|
66
|
+
}, Record<string, xstate938.AnyActorRef | undefined>, xstate938.StateValue, string, unknown, any, any>, {
|
|
67
67
|
type: "LOAD";
|
|
68
68
|
} | {
|
|
69
69
|
type: "COMPLETE";
|
|
70
70
|
} | {
|
|
71
71
|
type: "RESET";
|
|
72
|
-
},
|
|
72
|
+
}, xstate938.AnyEventObject>;
|
|
73
73
|
}) => {
|
|
74
74
|
config: EmptyConfig;
|
|
75
75
|
};
|
package/dist/home.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./api-DUZwyz0o.esm.js";
|
|
2
|
-
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { c as createManager, s as createActor, t as setup } from "./xstate.esm-
|
|
2
|
+
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-BduWcqZW.esm.js";
|
|
3
|
+
import { c as createManager, s as createActor, t as setup } from "./xstate.esm-BwZUki12.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/home/homeStateMachine.ts
|
|
6
6
|
const homeMachine = setup({ types: {
|