@incodetech/core 0.0.0-dev-20260706-82e1bca3 → 0.0.0-dev-20260706-d1ae387d
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/{3dAvatarProvider-BkvqkuDS.esm.js → 3dAvatarProvider-ChciZmjE.esm.js} +1 -1
- package/dist/{Face2DProvider-D1IoZOtw.esm.js → Face2DProvider-BeLlYBbB.esm.js} +1 -1
- package/dist/{FaceDetectionProvider-C3hk0vhL.d.ts → FaceDetectionProvider-B78455D4.d.ts} +2 -2
- package/dist/{IWasmUtilCapability-DyiEO2jA.d.ts → IWasmUtilCapability-d2XvzaCk.d.ts} +2 -2
- package/dist/{OpenViduRecordingProvider-1QSFdZVL.esm.js → OpenViduRecordingProvider-B_0GKkzc.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-DXti432h.d.ts → StreamCanvasCapture-DS1TOoiH.d.ts} +2 -2
- package/dist/{ae-signature-ZN0GtLh7.esm.js → ae-signature-DlElqFrZ.esm.js} +1 -1
- package/dist/ae-signature.d.ts +4 -4
- package/dist/ae-signature.esm.js +5 -5
- package/dist/antifraud.d.ts +4 -4
- package/dist/{antifraudManager-b2LJI3nr.d.ts → antifraudManager-DpIvbrZP.d.ts} +2 -2
- package/dist/authentication.d.ts +19 -19
- package/dist/authentication.esm.js +7 -7
- package/dist/{authenticationManager-CR6JGCPM.d.ts → authenticationManager-CdPbNS2H.d.ts} +3 -3
- package/dist/{authenticationManager-sPcCh1HP.esm.js → authenticationManager-Dtl1vcET.esm.js} +2 -2
- package/dist/{authenticationStateMachine-AihNFtXT.esm.js → authenticationStateMachine-D-hOlg8p.esm.js} +2 -2
- package/dist/avatar.d.ts +2 -2
- package/dist/avatar.esm.js +1 -1
- package/dist/camera.d.ts +1 -1
- package/dist/certificate-issuance.d.ts +31 -31
- package/dist/certificate-issuance.esm.js +3 -3
- package/dist/{certificateIssuanceStateMachine-BGtRVDgj.esm.js → certificateIssuanceStateMachine-C07m7qtP.esm.js} +1 -1
- package/dist/consent.d.ts +4 -4
- package/dist/{consentManager-C5ghsYWh.d.ts → consentManager-Dds8RQWF.d.ts} +52 -52
- package/dist/cpf-ocr.d.ts +4 -4
- package/dist/{cpfOcrManager-Cx2sr4VI.d.ts → cpfOcrManager-CzufsvW2.d.ts} +19 -19
- package/dist/{createFaceAvatar-DFvWGUts.d.ts → createFaceAvatar-B8pFpy6o.d.ts} +1 -1
- package/dist/{createFaceAvatar-CuWRhoKp.esm.js → createFaceAvatar-BOHDKQRq.esm.js} +3 -3
- package/dist/cross-document-data-match.d.ts +2 -2
- package/dist/curp-validation.d.ts +10 -10
- package/dist/{curpValidationManager-GcNPOE9-.d.ts → curpValidationManager-Co6LZAHT.d.ts} +3 -3
- package/dist/custom-fields.d.ts +3 -3
- package/dist/custom-watchlist.d.ts +2 -2
- package/dist/document-capture.d.ts +178 -178
- package/dist/document-upload.d.ts +51 -51
- package/dist/dynamic-forms.d.ts +4 -192
- package/dist/dynamic-forms.esm.js +4 -157
- package/dist/dynamicFormsManager-BOefZbyF.esm.js +168 -0
- package/dist/dynamicFormsManager-CUYLOj9g.d.ts +239 -0
- package/dist/ekyb.d.ts +9 -9
- package/dist/ekyb.esm.js +8 -8
- package/dist/{ekybStateMachine-Dv67iprq.esm.js → ekybStateMachine-CjD1psxU.esm.js} +2 -2
- package/dist/ekyc.d.ts +4 -4
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycStateMachine-Bytm3LyZ.esm.js → ekycStateMachine-DkLVTOyA.esm.js} +1 -1
- package/dist/electronic-signature.d.ts +4 -4
- package/dist/electronic-signature.esm.js +4 -4
- package/dist/{electronicSignatureManager-DjnL48UC.esm.js → electronicSignatureManager-DjzUzqZj.esm.js} +39 -80
- package/dist/email.d.ts +5 -5
- package/dist/email.esm.js +3 -3
- package/dist/{emailManager-CH6GlUSk.esm.js → emailManager-B_XzEsXH.esm.js} +2 -2
- package/dist/{emailManager-t3yQLU9f.d.ts → emailManager-fHASH6uo.d.ts} +3 -3
- package/dist/{emailStateMachine-CajoaJk-.esm.js → emailStateMachine-fqJ42b19.esm.js} +1 -1
- package/dist/extensibility.d.ts +36 -35
- package/dist/extensibility.esm.js +37 -34
- package/dist/{externalFetch-D_eLLNOS.esm.js → externalFetch-CyhBfD-n.esm.js} +1 -1
- package/dist/face-match.d.ts +2 -2
- package/dist/face-match.esm.js +1 -1
- package/dist/{faceCaptureManagerFactory-zneUQO62.esm.js → faceCaptureManagerFactory-2brKTzMb.esm.js} +1 -1
- package/dist/{faceCaptureManagerFactory-BbfxSiGY.d.ts → faceCaptureManagerFactory-CGKbf7zt.d.ts} +13 -13
- package/dist/{faceCaptureSetup-CrIhuxN5.esm.js → faceCaptureSetup-CDUVU1nl.esm.js} +3 -3
- package/dist/field-comparison.d.ts +4 -4
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-BDffIuJm.d.ts → fieldComparisonManager-DdLqDeB2.d.ts} +2 -2
- package/dist/fiscal-qr.d.ts +5 -5
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/flow-events.d.ts +8 -8
- package/dist/flow.d.ts +14 -14
- package/dist/flow.esm.js +8 -8
- package/dist/{flowCompletionService-DwNoUhk5.esm.js → flowCompletionService-qEqh_g14.esm.js} +1 -1
- package/dist/{flowServices-BIg0Te2j.esm.js → flowServices-AVfei6-M.esm.js} +3 -3
- package/dist/geolocation.d.ts +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-B3iKaTkZ.esm.js → geolocationManager-BP2Do9O-.esm.js} +1 -1
- package/dist/{geolocationManager-Ba5fKdE5.d.ts → geolocationManager-Cs50eRlC.d.ts} +2 -2
- package/dist/government-validation.d.ts +4 -4
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationStateMachine-CdU4oRYS.esm.js → governmentValidationStateMachine-CwoPPO8b.esm.js} +1 -1
- package/dist/home.d.ts +18 -18
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +4 -4
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-verification.d.ts +28 -28
- package/dist/id-verification.esm.js +1 -1
- package/dist/id.d.ts +16 -16
- package/dist/id.esm.js +10 -10
- package/dist/{idCaptureManager-DEULKa4Q.d.ts → idCaptureManager-BVdvfJys.d.ts} +12 -12
- package/dist/{idCaptureManager-loWYQ7CC.esm.js → idCaptureManager-Dad0pSLA.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-BlZRUD0U.esm.js → idCaptureStateMachine-IfMfTdFf.esm.js} +6 -6
- package/dist/{idOcrManager-aZOEIls3.d.ts → idOcrManager-B6L5Zqc8.d.ts} +54 -54
- package/dist/{idOcrManager-D_RlFzxU.esm.js → idOcrManager-BkRDrpZu.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +4 -4
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-BeyKVX1g.esm.js → identityReuseManager-Bu62LToE.esm.js} +1 -1
- package/dist/{identityReuseManager-qmHJrZrU.d.ts → identityReuseManager-av0nA0Gt.d.ts} +36 -36
- package/dist/{index-Ui-vn538.d.ts → index-BfoHJoHP.d.ts} +15 -145
- package/dist/{index-Dnkvn5_X.d.ts → index-DtUlD-bz.d.ts} +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +3 -3
- package/dist/mandatory-consent.d.ts +10 -10
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-3Pzrnpdb.d.ts → mandatoryConsentManager-C7QorKTH.d.ts} +50 -50
- package/dist/{mandatoryConsentManager-CNbs9cub.esm.js → mandatoryConsentManager-CQ3jirlZ.esm.js} +1 -1
- package/dist/{onDeviceFaceResults-BiFX_-W5.esm.js → onDeviceFaceResults-DVBggeq8.esm.js} +2 -2
- package/dist/{openviduLazy-CR7uayMc.esm.js → openviduLazy-BTOIauGP.esm.js} +1 -1
- package/dist/openviduLazy-Dov8oKfL.esm.js +3 -0
- package/dist/personhood.d.ts +16 -16
- package/dist/personhood.esm.js +1 -1
- package/dist/phone.d.ts +5 -5
- package/dist/phone.esm.js +3 -3
- package/dist/{phoneManager-DSyl8tGa.d.ts → phoneManager-BOTcjXgs.d.ts} +3 -3
- package/dist/{phoneManager-CiiQOE21.esm.js → phoneManager-BWlxqbyD.esm.js} +2 -2
- package/dist/{phoneStateMachine-sn2Nt44W.esm.js → phoneStateMachine-B_V9nODs.esm.js} +1 -1
- package/dist/{qe-signature-QPte2SBH.esm.js → qe-signature-BhFnI9pT.esm.js} +1 -1
- package/dist/qe-signature.d.ts +4 -4
- package/dist/qe-signature.esm.js +5 -5
- package/dist/{recordingService-CkE5o82_.esm.js → recordingService-m_1xCthr.esm.js} +3 -3
- package/dist/redirect-to-mobile.d.ts +4 -4
- package/dist/redirect-to-mobile.esm.js +3 -3
- package/dist/{redirectToMobileManager-Be0DwbuH.esm.js → redirectToMobileManager-BaAo9rgi.esm.js} +1 -1
- package/dist/{redirectToMobileManager-Bjs3pRzS.d.ts → redirectToMobileManager-Br0KZK1G.d.ts} +2 -2
- package/dist/{redirectToMobileStateMachine-DaZBdvQA.esm.js → redirectToMobileStateMachine-DoAnf2ql.esm.js} +1 -1
- package/dist/selfie.d.ts +19 -19
- package/dist/selfie.esm.js +8 -8
- package/dist/{selfieManager-Bp7WFLAV.esm.js → selfieManager-D_ZFERsE.esm.js} +2 -2
- package/dist/{selfieManager-LHJ4vEQd.d.ts → selfieManager-R0Jw5sjb.d.ts} +3 -3
- package/dist/{selfieStateMachine-D5pSBFyn.esm.js → selfieStateMachine-CIgeeiN9.esm.js} +2 -2
- package/dist/{session-D4m9r-7U.esm.js → session-9jIfKFCc.esm.js} +1 -1
- package/dist/session.d.ts +7 -7
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-CiMM_8LA.esm.js → sessionInitializer-C8vfx5CX.esm.js} +2 -2
- package/dist/{setup-ChZ--9XV.d.ts → setup-CpRnXxn8.d.ts} +2 -2
- package/dist/{setup-CF8nlE7-.esm.js → setup-xymTt8DA.esm.js} +2 -2
- package/dist/signature.d.ts +3 -3
- package/dist/signature.esm.js +1 -1
- package/dist/{tri-YFsu_BBU.esm.js → tri-BG1iJsr4.esm.js} +1 -1
- package/dist/tri.d.ts +1 -1
- package/dist/{tri.esm-B4UfsMVy.esm.js → tri.esm-DUC01NgO.esm.js} +1 -1
- package/dist/tri.esm.js +1 -1
- package/dist/trust-graph.d.ts +4 -4
- package/dist/{types-DW5cPsw1.d.ts → types-BklZ_Wne.d.ts} +1 -1
- package/dist/{types-bWGcbd3_.d.ts → types-BsYXnC5s.d.ts} +2 -2
- package/dist/{types-m3_HUzgU.d.ts → types-CxW2e0Ar.d.ts} +3 -3
- package/dist/{types-H9ompebR.d.ts → types-DgGlgyZT.d.ts} +1 -1
- package/dist/video-selfie.d.ts +14 -14
- package/dist/video-selfie.esm.js +6 -6
- package/dist/wasm.d.ts +3 -3
- package/dist/wasm.esm.js +3 -3
- package/dist/watchlist-for-business.d.ts +2 -2
- package/dist/watchlist-for-business.esm.js +1 -1
- package/dist/watchlist.d.ts +2 -2
- package/dist/watchlist.esm.js +1 -1
- package/dist/workflow.d.ts +113 -113
- package/dist/workflow.esm.js +39 -39
- package/package.json +1 -1
- package/dist/openviduLazy-Fbht0txL.esm.js +0 -3
- /package/dist/{Actor-BYmFPUr7.d.ts → Actor-CGEelYtQ.d.ts} +0 -0
- /package/dist/{IVisibilityObserverCapability-DaXAeadS.d.ts → IVisibilityObserverCapability-BbWjgpiF.d.ts} +0 -0
- /package/dist/{Manager-Cmz78C-6.d.ts → Manager-CJ3G2zqi.d.ts} +0 -0
- /package/dist/{PrivacyLensProvider-DSYMiRJn.esm.js → PrivacyLensProvider-hDzaDzZ6.esm.js} +0 -0
- /package/dist/{StateMachine-CNPJD4wG.d.ts → StateMachine-C_AY4cs7.d.ts} +0 -0
- /package/dist/{addressSearch-C6cEsEqK.esm.js → addressSearch-DJyNTg5S.esm.js} +0 -0
- /package/dist/{apiError-C7SFQTB2.esm.js → apiError-DNS2OCEX.esm.js} +0 -0
- /package/dist/{browser-DlFgHpoC-ClIpZI26.esm.js → browser-DlFgHpoC-qLKs75Qp.esm.js} +0 -0
- /package/dist/{camera-DLCbUdzy.d.ts → camera-CNVUo-bC.d.ts} +0 -0
- /package/dist/{canvas-lNFq1bim.d.ts → canvas-CJUmoXSD.d.ts} +0 -0
- /package/dist/{deepsightLoader-oH-UOgvy.esm.js → deepsightLoader-DHSVD776.esm.js} +0 -0
- /package/dist/{deepsightService-DhJ1iwXr.d.ts → deepsightService-CMB9XjES.d.ts} +0 -0
- /package/dist/{faceMatchStateMachine-BOi4dYbB.esm.js → faceMatchStateMachine-DUeUjEPx.esm.js} +0 -0
- /package/dist/{fieldComparisonManager-Bf42dczM.esm.js → fieldComparisonManager-B9W0a9A5.esm.js} +0 -0
- /package/dist/{flowCompletionService-BOSTlAWo.d.ts → flowCompletionService-BIqSTZcd.d.ts} +0 -0
- /package/dist/{geolocationStateMachine-BKbXdD87.esm.js → geolocationStateMachine-BYfOOOG0.esm.js} +0 -0
- /package/dist/{http-Dg_LUZCK.esm.js → http-BkiUT7EB.esm.js} +0 -0
- /package/dist/{idCaptureDefaults-GTCesE6K.esm.js → idCaptureDefaults-DNJON8Xo.esm.js} +0 -0
- /package/dist/{idOcrStateMachine-DLz_gexF.esm.js → idOcrStateMachine-DRZc4FBl.esm.js} +0 -0
- /package/dist/{idVerificationStateMachine-QEZjjPPv.esm.js → idVerificationStateMachine-oqiERKpg.esm.js} +0 -0
- /package/dist/{identityReuseStateMachine-BYYzDw-l.esm.js → identityReuseStateMachine-BmONeF6B.esm.js} +0 -0
- /package/dist/{index-DE1C1s0Y.d.ts → index-XTtxaahe.d.ts} +0 -0
- /package/dist/{invokeOnCaptureCallback-Byx0Y09k.esm.js → invokeOnCaptureCallback-v_PV_IJz.esm.js} +0 -0
- /package/dist/{lib-C7yt36-i.esm.js → lib-B050WTth.esm.js} +0 -0
- /package/dist/{mandatoryConsentStateMachine-DgAXyMs4.esm.js → mandatoryConsentStateMachine-DkJJLHqC.esm.js} +0 -0
- /package/dist/{mediapipeShared-DGYt_amp.esm.js → mediapipeShared-CRAKVElv.esm.js} +0 -0
- /package/dist/{otp-nhnnp9FM.esm.js → otp-Bfnzf7I3.esm.js} +0 -0
- /package/dist/{otp-B1YeyRXu.d.ts → otp-M4iy57XY.d.ts} +0 -0
- /package/dist/{runChildModule-3qH_hqiv.esm.js → runChildModule-0nQfjVVo.esm.js} +0 -0
- /package/dist/{signatureStateMachine-CY41dCkX.esm.js → signatureStateMachine-DtoiPzys.esm.js} +0 -0
- /package/dist/{types-cqeeFcNT.d.ts → types-D_IceWxT.d.ts} +0 -0
- /package/dist/{types-CrjOPSFE.d.ts → types-Duy2rDxF.d.ts} +0 -0
- /package/dist/{urlUtils-CwKgB7_U.esm.js → urlUtils-BZqFU9rR.esm.js} +0 -0
- /package/dist/{videoSelfieSteps-DAky5sq5.esm.js → videoSelfieSteps-7M5vxKn-.esm.js} +0 -0
- /package/dist/{warmup-C4rQk0OB.d.ts → warmup-BJZPQIiX.d.ts} +0 -0
- /package/dist/{watchlistForBusinessStateMachine-KYgSsRXK.esm.js → watchlistForBusinessStateMachine-DvEunDxs.esm.js} +0 -0
- /package/dist/{watchlistStateMachine-DsWQwmlW.esm.js → watchlistStateMachine-AHXVf-TB.esm.js} +0 -0
|
@@ -3,8 +3,8 @@ import { n as createManagerInstrumentation, t as topLevelStateName } from "./eve
|
|
|
3
3
|
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
5
5
|
import { a as fromPromise, l as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { t as externalFetch } from "./externalFetch-CyhBfD-n.esm.js";
|
|
7
|
+
import { n as toIncodeApiError } from "./apiError-DNS2OCEX.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/electronic-signature/electronicSignatureServices.ts
|
|
10
10
|
async function fetchUnsignedDocuments(signal) {
|
|
@@ -89,26 +89,6 @@ function areAllConsented(checks) {
|
|
|
89
89
|
|
|
90
90
|
//#endregion
|
|
91
91
|
//#region src/modules/electronic-signature/electronicSignatureStateMachine.ts
|
|
92
|
-
/**
|
|
93
|
-
* The `/process/sign` (and `/process/signQes`) endpoint can fail in many ways,
|
|
94
|
-
* but only three of them are recoverable by retrying with the same payload:
|
|
95
|
-
* - HTTP 500 (transient backend failure)
|
|
96
|
-
* - HTTP 409 (signing conflict — typically resolves on retry)
|
|
97
|
-
* - HTTP 400 with a body message containing "Signature failed"
|
|
98
|
-
* (recoverable signing-pipeline error; other 400s mean the request itself
|
|
99
|
-
* is bad and a retry will fail identically).
|
|
100
|
-
*
|
|
101
|
-
* All other failures (auth, validation, network, etc.) are surfaced as a
|
|
102
|
-
* terminal `failed` state so the host receives `onError` immediately instead
|
|
103
|
-
* of being offered a Try Again that cannot succeed.
|
|
104
|
-
*/
|
|
105
|
-
function isRetryableSignError(error) {
|
|
106
|
-
if (!(error instanceof IncodeApiError)) return false;
|
|
107
|
-
if (error.httpStatus === 500) return true;
|
|
108
|
-
if (error.httpStatus === 409) return true;
|
|
109
|
-
if (error.httpStatus === 400 && error.message.includes("Signature failed")) return true;
|
|
110
|
-
return false;
|
|
111
|
-
}
|
|
112
92
|
const electronicSignatureMachine = setup({
|
|
113
93
|
types: {
|
|
114
94
|
context: {},
|
|
@@ -154,7 +134,6 @@ const electronicSignatureMachine = setup({
|
|
|
154
134
|
},
|
|
155
135
|
guards: {
|
|
156
136
|
errorFromUpload: ({ context }) => context.errorSource === "upload",
|
|
157
|
-
errorFromSigning: ({ context }) => context.errorSource === "signing",
|
|
158
137
|
shouldUpload: ({ context }) => context.config.uploadDocument === true,
|
|
159
138
|
hasUploadUrl: ({ context }) => context.preSignedUrl !== null,
|
|
160
139
|
allConsented: ({ context }) => areAllConsented(context.consentChecks),
|
|
@@ -169,8 +148,7 @@ const electronicSignatureMachine = setup({
|
|
|
169
148
|
allSignedAndDownload: ({ context, event }) => {
|
|
170
149
|
const { output } = event;
|
|
171
150
|
return output.every((d) => d.signed && !!d.signedDocumentUrl) && context.config.downloadDocument === true;
|
|
172
|
-
}
|
|
173
|
-
isRetryableSignError: ({ event }) => isRetryableSignError(event.error)
|
|
151
|
+
}
|
|
174
152
|
}
|
|
175
153
|
}).createMachine({
|
|
176
154
|
id: "electronicSignature",
|
|
@@ -298,67 +276,49 @@ const electronicSignatureMachine = setup({
|
|
|
298
276
|
actions: "setSignedDocuments"
|
|
299
277
|
},
|
|
300
278
|
{
|
|
301
|
-
target: "
|
|
279
|
+
target: "signError",
|
|
302
280
|
actions: assign({
|
|
303
281
|
errorMessage: () => "aes.signingFailed",
|
|
304
282
|
errorSource: () => "signing"
|
|
305
283
|
})
|
|
306
284
|
}
|
|
307
285
|
],
|
|
308
|
-
onError:
|
|
309
|
-
target: "
|
|
310
|
-
guard: "isRetryableSignError",
|
|
311
|
-
actions: assign(({ event }) => ({
|
|
312
|
-
errorMessage: String(event.error ?? "aes.error"),
|
|
313
|
-
errorSource: "signing"
|
|
314
|
-
}))
|
|
315
|
-
}, {
|
|
316
|
-
target: "failed",
|
|
286
|
+
onError: {
|
|
287
|
+
target: "signError",
|
|
317
288
|
actions: assign(({ event }) => ({
|
|
318
289
|
errorMessage: String(event.error ?? "aes.error"),
|
|
319
290
|
errorSource: "signing"
|
|
320
291
|
}))
|
|
321
|
-
}
|
|
292
|
+
}
|
|
322
293
|
} },
|
|
323
294
|
success: { after: { 3e3: "finished" } },
|
|
324
295
|
successDownload: { on: {
|
|
325
296
|
FINISH: { target: "finished" },
|
|
326
297
|
CLOSE: { target: "closed" }
|
|
327
298
|
} },
|
|
299
|
+
signError: { after: { 3e3: "finished" } },
|
|
328
300
|
error: { on: {
|
|
329
|
-
RETRY: [
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
{
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
errorSource: () => null
|
|
347
|
-
})
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
target: "fetchingDocs",
|
|
351
|
-
actions: assign({
|
|
352
|
-
errorMessage: () => "",
|
|
353
|
-
errorSource: () => null
|
|
354
|
-
})
|
|
355
|
-
}
|
|
356
|
-
],
|
|
301
|
+
RETRY: [{
|
|
302
|
+
target: "uploading",
|
|
303
|
+
guard: "errorFromUpload",
|
|
304
|
+
actions: assign({
|
|
305
|
+
errorMessage: () => "",
|
|
306
|
+
errorSource: () => null,
|
|
307
|
+
fileName: () => null,
|
|
308
|
+
fileSize: () => null,
|
|
309
|
+
fileUrl: () => null
|
|
310
|
+
})
|
|
311
|
+
}, {
|
|
312
|
+
target: "fetchingDocs",
|
|
313
|
+
actions: assign({
|
|
314
|
+
errorMessage: () => "",
|
|
315
|
+
errorSource: () => null
|
|
316
|
+
})
|
|
317
|
+
}],
|
|
357
318
|
CLOSE: { target: "closed" }
|
|
358
319
|
} },
|
|
359
320
|
finished: { type: "final" },
|
|
360
|
-
closed: { type: "final" }
|
|
361
|
-
failed: { type: "final" }
|
|
321
|
+
closed: { type: "final" }
|
|
362
322
|
}
|
|
363
323
|
});
|
|
364
324
|
|
|
@@ -394,11 +354,10 @@ function createElectronicSignatureActor(options) {
|
|
|
394
354
|
* - `AdSign.AcceptSign.viewdoc` — UI sub-state of `signing` while
|
|
395
355
|
* `context.viewingDocumentUrl` is set.
|
|
396
356
|
*
|
|
397
|
-
* `
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
*
|
|
401
|
-
* handled by `moduleClosed`).
|
|
357
|
+
* `signError` is mapped to `AdSign.AcceptSign.error` — the SDK shows the
|
|
358
|
+
* error screen for 3s then auto-finishes. `error` covers upload/fetch-docs
|
|
359
|
+
* failures (Try Again). `closed` is intentionally unmapped (terminal
|
|
360
|
+
* user-dismissed state — handled by `moduleClosed`).
|
|
402
361
|
*/
|
|
403
362
|
function getAdSignatureScreenName(snapshot) {
|
|
404
363
|
const stateName = topLevelStateName(snapshot.value);
|
|
@@ -415,8 +374,8 @@ function getAdSignatureScreenName(snapshot) {
|
|
|
415
374
|
case "success":
|
|
416
375
|
case "successDownload":
|
|
417
376
|
case "finished": return "AdSign.success";
|
|
418
|
-
case "error":
|
|
419
|
-
case "
|
|
377
|
+
case "error": return "AdSign.AcceptSign.error";
|
|
378
|
+
case "signError": return "AdSign.AcceptSign.error";
|
|
420
379
|
default: return;
|
|
421
380
|
}
|
|
422
381
|
}
|
|
@@ -439,9 +398,9 @@ function getAdSignatureScreenName(snapshot) {
|
|
|
439
398
|
* - `QSign.AcceptSign.{selectedCheckox,loadingsign,viewdoc}` — same UI
|
|
440
399
|
* sub-states as AES (consent checked / signing in flight / viewing doc).
|
|
441
400
|
*
|
|
442
|
-
* `
|
|
443
|
-
* (
|
|
444
|
-
*
|
|
401
|
+
* `signError` is mapped to `QSign.AcceptSign.error` for the same reason as
|
|
402
|
+
* AES (error screen shown for 3s then auto-finish). `closed` is intentionally
|
|
403
|
+
* unmapped.
|
|
445
404
|
*/
|
|
446
405
|
function getQSignatureScreenName(snapshot) {
|
|
447
406
|
const stateName = topLevelStateName(snapshot.value);
|
|
@@ -458,8 +417,8 @@ function getQSignatureScreenName(snapshot) {
|
|
|
458
417
|
case "success":
|
|
459
418
|
case "successDownload":
|
|
460
419
|
case "finished": return "QSign.success";
|
|
461
|
-
case "error":
|
|
462
|
-
case "
|
|
420
|
+
case "error": return "QSign.AcceptSign.error";
|
|
421
|
+
case "signError": return "QSign.AcceptSign.error";
|
|
463
422
|
default: return;
|
|
464
423
|
}
|
|
465
424
|
}
|
|
@@ -493,8 +452,8 @@ function mapState(snapshot) {
|
|
|
493
452
|
status: "error",
|
|
494
453
|
errorMessage: context.errorMessage
|
|
495
454
|
};
|
|
496
|
-
if (snapshot.matches("
|
|
497
|
-
status: "
|
|
455
|
+
if (snapshot.matches("signError")) return {
|
|
456
|
+
status: "signError",
|
|
498
457
|
errorMessage: context.errorMessage
|
|
499
458
|
};
|
|
500
459
|
if (snapshot.matches("finished")) return { status: "finished" };
|
package/dist/email.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import { n as EmailState, o as emailMachine, r as createEmailManager, s as EmailConfig, t as EmailManager } from "./emailManager-
|
|
5
|
-
import "./otp-
|
|
1
|
+
import "./StateMachine-C_AY4cs7.js";
|
|
2
|
+
import "./Manager-CJ3G2zqi.js";
|
|
3
|
+
import "./Actor-CGEelYtQ.js";
|
|
4
|
+
import { n as EmailState, o as emailMachine, r as createEmailManager, s as EmailConfig, t as EmailManager } from "./emailManager-fHASH6uo.js";
|
|
5
|
+
import "./otp-M4iy57XY.js";
|
|
6
6
|
export { type EmailConfig, type EmailManager, type EmailState, createEmailManager, emailMachine };
|
package/dist/email.esm.js
CHANGED
|
@@ -4,8 +4,8 @@ import "./events-CqGY1yMq.esm.js";
|
|
|
4
4
|
import "./types-ElOJAGaM.esm.js";
|
|
5
5
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
6
6
|
import "./xstate.esm-Bomq1a0z.esm.js";
|
|
7
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
8
|
-
import "./otp-
|
|
9
|
-
import { t as createEmailManager } from "./emailManager-
|
|
7
|
+
import { t as emailMachine } from "./emailStateMachine-fqJ42b19.esm.js";
|
|
8
|
+
import "./otp-Bfnzf7I3.esm.js";
|
|
9
|
+
import { t as createEmailManager } from "./emailManager-B_XzEsXH.esm.js";
|
|
10
10
|
|
|
11
11
|
export { createEmailManager, emailMachine };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as createManagerInstrumentation } from "./events-CqGY1yMq.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
3
3
|
import { l as createManager, s as createActor } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
4
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
5
|
-
import { t as OTP_CODE_LENGTH } from "./otp-
|
|
4
|
+
import { t as emailMachine } from "./emailStateMachine-fqJ42b19.esm.js";
|
|
5
|
+
import { t as OTP_CODE_LENGTH } from "./otp-Bfnzf7I3.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/email/emailActor.ts
|
|
8
8
|
function createEmailActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
3
|
-
import { t as OtpValidationErrors } from "./otp-
|
|
1
|
+
import { t as Manager } from "./Manager-CJ3G2zqi.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-CGEelYtQ.js";
|
|
3
|
+
import { t as OtpValidationErrors } from "./otp-M4iy57XY.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/email/types.d.ts
|
|
6
6
|
|
|
@@ -2,7 +2,7 @@ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CHloo0eQ.esm.j
|
|
|
2
2
|
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
4
4
|
import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
5
|
-
import { n as computeOtpValidationErrors, r as isOtpComplete } from "./otp-
|
|
5
|
+
import { n as computeOtpValidationErrors, r as isOtpComplete } from "./otp-Bfnzf7I3.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/email/emailServices.ts
|
|
8
8
|
function getEmailServerFailureReason(error, invalidStatus) {
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -1,37 +1,38 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import { i as fromPromise, r as fromCallback } from "./StateMachine-
|
|
3
|
-
import "./Manager-
|
|
4
|
-
import { n as createActor } from "./Actor-
|
|
5
|
-
import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-
|
|
6
|
-
import "./IVisibilityObserverCapability-
|
|
7
|
-
import { _ as SendFaceImageResponse, d as FaceCaptureContext, f as FaceCaptureEvent, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
8
|
-
import "./camera-
|
|
9
|
-
import "./types-
|
|
10
|
-
import "./types-
|
|
11
|
-
import "./canvas-
|
|
12
|
-
import "./createFaceAvatar-
|
|
13
|
-
import "./types-
|
|
14
|
-
import { i as IStorageCapability, n as VirtualCameraCheckOutput, r as WasmUtilConfig, t as IWasmUtilCapability } from "./IWasmUtilCapability-
|
|
15
|
-
import "./types-
|
|
16
|
-
import "./types-
|
|
17
|
-
import { n as BaseWasmProvider } from "./FaceDetectionProvider-
|
|
18
|
-
import "./StreamCanvasCapture-
|
|
19
|
-
import "./deepsightService-
|
|
20
|
-
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-
|
|
21
|
-
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-
|
|
22
|
-
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-
|
|
23
|
-
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-
|
|
24
|
-
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-
|
|
25
|
-
import { a as
|
|
26
|
-
import "./
|
|
27
|
-
import
|
|
28
|
-
import {
|
|
29
|
-
import { a as
|
|
30
|
-
import { a as
|
|
31
|
-
import { a as
|
|
32
|
-
import { a as
|
|
33
|
-
import { a as
|
|
34
|
-
import { a as
|
|
1
|
+
import "./warmup-BJZPQIiX.js";
|
|
2
|
+
import { i as fromPromise, r as fromCallback } from "./StateMachine-C_AY4cs7.js";
|
|
3
|
+
import "./Manager-CJ3G2zqi.js";
|
|
4
|
+
import { n as createActor } from "./Actor-CGEelYtQ.js";
|
|
5
|
+
import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-DpIvbrZP.js";
|
|
6
|
+
import "./IVisibilityObserverCapability-BbWjgpiF.js";
|
|
7
|
+
import { _ as SendFaceImageResponse, d as FaceCaptureContext, f as FaceCaptureEvent, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager } from "./faceCaptureManagerFactory-CGKbf7zt.js";
|
|
8
|
+
import "./camera-CNVUo-bC.js";
|
|
9
|
+
import "./types-DgGlgyZT.js";
|
|
10
|
+
import "./types-D_IceWxT.js";
|
|
11
|
+
import "./canvas-CJUmoXSD.js";
|
|
12
|
+
import "./createFaceAvatar-B8pFpy6o.js";
|
|
13
|
+
import "./types-BsYXnC5s.js";
|
|
14
|
+
import { i as IStorageCapability, n as VirtualCameraCheckOutput, r as WasmUtilConfig, t as IWasmUtilCapability } from "./IWasmUtilCapability-d2XvzaCk.js";
|
|
15
|
+
import "./types-Duy2rDxF.js";
|
|
16
|
+
import "./types-CxW2e0Ar.js";
|
|
17
|
+
import { n as BaseWasmProvider } from "./FaceDetectionProvider-B78455D4.js";
|
|
18
|
+
import "./StreamCanvasCapture-DS1TOoiH.js";
|
|
19
|
+
import "./deepsightService-CMB9XjES.js";
|
|
20
|
+
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-R0Jw5sjb.js";
|
|
21
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CdPbNS2H.js";
|
|
22
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-Dds8RQWF.js";
|
|
23
|
+
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-CzufsvW2.js";
|
|
24
|
+
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-Co6LZAHT.js";
|
|
25
|
+
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-CUYLOj9g.js";
|
|
26
|
+
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-fHASH6uo.js";
|
|
27
|
+
import "./otp-M4iy57XY.js";
|
|
28
|
+
import { A as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-BVdvfJys.js";
|
|
29
|
+
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BOTcjXgs.js";
|
|
30
|
+
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-av0nA0Gt.js";
|
|
31
|
+
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-DdLqDeB2.js";
|
|
32
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-C7QorKTH.js";
|
|
33
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-B6L5Zqc8.js";
|
|
34
|
+
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-Br0KZK1G.js";
|
|
35
|
+
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-Cs50eRlC.js";
|
|
35
36
|
|
|
36
37
|
//#region src/modules/authentication/authenticationUploadService.d.ts
|
|
37
38
|
type AuthenticationUploadResponse = {
|
|
@@ -153,4 +154,4 @@ declare function getDeviceFingerprintInfo(): Promise<DeviceFingerprintInfo>;
|
|
|
153
154
|
//#region src/internal/fingerprint/fingerprintApi.d.ts
|
|
154
155
|
declare function getFingerprint(disableIpify?: boolean): Promise<FingerprintResult>;
|
|
155
156
|
//#endregion
|
|
156
|
-
export { type AntifraudActor, type AntifraudManager, type AntifraudState, type AuthenticationManager, type AuthenticationState, type AuthenticationUploadResponse, BrowserStorageProvider, type CaptureIdResponse, type ConsentActor, type ConsentManager, type ConsentState, type CpfOcrActor, type CpfOcrManager, type CpfOcrState, type CurpValidationActor, type CurpValidationManager, type CurpValidationState, type DeviceFingerprintInfo, type EmailActor, type EmailManager, type EmailState, type FaceCaptureContext, type FaceCaptureEvent, type FaceCaptureInput, type FaceCaptureManager, type FaceCaptureManagerState, type FieldComparisonActor, type FieldComparisonManager, type FieldComparisonState, type FingerprintResult, type GeolocationActor, type GeolocationManager, type GeolocationState, type IdCaptureManager, type IdCaptureState, type IdOcrActor, type IdOcrManager, type IdOcrState, type IdentityReuseActor, type IdentityReuseManager, type IdentityReuseState, type MandatoryConsentActor, type MandatoryConsentManager, type MandatoryConsentState, type PhoneActor, type PhoneManager, type PhoneState, type ProcessFaceResponse, type RedirectToMobileActor, type RedirectToMobileManager, type RedirectToMobileState, type SelfieManager, type SelfieState, type SendFaceImageResponse, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCpfOcrManagerFromActor, createCurpValidationManagerFromActor, createEmailManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
|
157
|
+
export { type AntifraudActor, type AntifraudManager, type AntifraudState, type AuthenticationManager, type AuthenticationState, type AuthenticationUploadResponse, BrowserStorageProvider, type CaptureIdResponse, type ConsentActor, type ConsentManager, type ConsentState, type CpfOcrActor, type CpfOcrManager, type CpfOcrState, type CurpValidationActor, type CurpValidationManager, type CurpValidationState, type DeviceFingerprintInfo, type DynamicFormsActor, type DynamicFormsManager, type DynamicFormsState, type EmailActor, type EmailManager, type EmailState, type FaceCaptureContext, type FaceCaptureEvent, type FaceCaptureInput, type FaceCaptureManager, type FaceCaptureManagerState, type FieldComparisonActor, type FieldComparisonManager, type FieldComparisonState, type FingerprintResult, type GeolocationActor, type GeolocationManager, type GeolocationState, type IdCaptureManager, type IdCaptureState, type IdOcrActor, type IdOcrManager, type IdOcrState, type IdentityReuseActor, type IdentityReuseManager, type IdentityReuseState, type MandatoryConsentActor, type MandatoryConsentManager, type MandatoryConsentState, type PhoneActor, type PhoneManager, type PhoneState, type ProcessFaceResponse, type RedirectToMobileActor, type RedirectToMobileManager, type RedirectToMobileState, type SelfieManager, type SelfieState, type SendFaceImageResponse, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCpfOcrManagerFromActor, createCurpValidationManagerFromActor, createDynamicFormsManagerFromActor, createEmailManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
|
@@ -6,25 +6,25 @@ import "./types-ElOJAGaM.esm.js";
|
|
|
6
6
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
7
7
|
import "./stats-CYcScXcO.esm.js";
|
|
8
8
|
import "./browserSimulation-TsSoavQv.esm.js";
|
|
9
|
-
import { o as FingerprintProvider, t as getDisableIpify } from "./sessionInitializer-
|
|
9
|
+
import { o as FingerprintProvider, t as getDisableIpify } from "./sessionInitializer-C8vfx5CX.esm.js";
|
|
10
10
|
import { t as getDeviceFingerprintInfo } from "./getDeviceData-TrKM8NPh.esm.js";
|
|
11
11
|
import "./thumbmarkAdapter-fHBUDlAP.esm.js";
|
|
12
12
|
import { t as IpifyProvider } from "./IpifyProvider-BRW14_uo.esm.js";
|
|
13
13
|
import "./platform-uIVQUnJP.esm.js";
|
|
14
|
-
import "./tri-
|
|
14
|
+
import "./tri-BG1iJsr4.esm.js";
|
|
15
15
|
import { a as fromPromise, i as fromCallback, s as createActor } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
16
|
-
import "./
|
|
17
|
-
import "./
|
|
16
|
+
import "./urlUtils-BZqFU9rR.esm.js";
|
|
17
|
+
import "./apiError-DNS2OCEX.esm.js";
|
|
18
18
|
import "./antifraudStateMachine-C0NGnP9W.esm.js";
|
|
19
19
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-BKdQoMFf.esm.js";
|
|
20
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
20
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-CDUVU1nl.esm.js";
|
|
21
21
|
import "./BrowserVisibilityObserverProvider-rim9Jrz-.esm.js";
|
|
22
22
|
import "./MotionSensorProvider-DCbId4De.esm.js";
|
|
23
23
|
import "./permissionServices-BJhGL13R.esm.js";
|
|
24
24
|
import "./camera-DUkgmYMo.esm.js";
|
|
25
|
-
import "./faceCaptureManagerFactory-
|
|
25
|
+
import "./faceCaptureManagerFactory-2brKTzMb.esm.js";
|
|
26
26
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CrrN540a.esm.js";
|
|
27
|
-
import "./onDeviceFaceResults-
|
|
27
|
+
import "./onDeviceFaceResults-DVBggeq8.esm.js";
|
|
28
28
|
import "./ITimerCapability-pltuG1E8.esm.js";
|
|
29
29
|
import "./canvas-_I95hkPg.esm.js";
|
|
30
30
|
import "./backCameraStream-ZyqrFyjO.esm.js";
|
|
@@ -33,41 +33,44 @@ import "./getDeviceClass-DavNdcxh.esm.js";
|
|
|
33
33
|
import "./deepsightService-CDahSjGP.esm.js";
|
|
34
34
|
import "./getDeviceClass-DGGzzfqm.esm.js";
|
|
35
35
|
import "./types-CMcxlSmH.esm.js";
|
|
36
|
-
import "./createFaceAvatar-
|
|
36
|
+
import "./createFaceAvatar-BOHDKQRq.esm.js";
|
|
37
37
|
import "./StreamCanvasCapture-Bz17q4FP.esm.js";
|
|
38
38
|
import "./permissionGuards-BR2oN573.esm.js";
|
|
39
|
-
import "./recordingService-
|
|
39
|
+
import "./recordingService-m_1xCthr.esm.js";
|
|
40
40
|
import "./mediaRecorderOptions-C3NAkVgK.esm.js";
|
|
41
|
-
import "./authenticationStateMachine-
|
|
42
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
41
|
+
import "./authenticationStateMachine-D-hOlg8p.esm.js";
|
|
42
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-Dtl1vcET.esm.js";
|
|
43
43
|
import "./consentStateMachine-DO2JqoZW.esm.js";
|
|
44
44
|
import { n as createConsentManagerFromActor } from "./consentManager-BtnPZUW4.esm.js";
|
|
45
45
|
import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-C4rLgKsu.esm.js";
|
|
46
46
|
import "./cpf-BKaho0j_.esm.js";
|
|
47
47
|
import "./curpValidationStateMachine-DXTPK6vI.esm.js";
|
|
48
48
|
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-BafobPXC.esm.js";
|
|
49
|
-
import "./
|
|
50
|
-
import "./
|
|
51
|
-
import "./
|
|
52
|
-
import
|
|
53
|
-
import "./
|
|
54
|
-
import
|
|
55
|
-
import "./
|
|
56
|
-
import "./
|
|
57
|
-
import {
|
|
58
|
-
import "./
|
|
59
|
-
import
|
|
60
|
-
import "./
|
|
61
|
-
import
|
|
62
|
-
import { n as
|
|
63
|
-
import "./
|
|
64
|
-
import { n as
|
|
65
|
-
import "./
|
|
66
|
-
import
|
|
67
|
-
import "./
|
|
68
|
-
import
|
|
69
|
-
import { n as
|
|
70
|
-
import "./
|
|
49
|
+
import "./dateUtils-7-tQYRNN.esm.js";
|
|
50
|
+
import "./dynamicFormsStateMachine-BXHcaocI.esm.js";
|
|
51
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-BOefZbyF.esm.js";
|
|
52
|
+
import "./session-9jIfKFCc.esm.js";
|
|
53
|
+
import "./emailStateMachine-fqJ42b19.esm.js";
|
|
54
|
+
import "./otp-Bfnzf7I3.esm.js";
|
|
55
|
+
import { n as createEmailManagerFromActor } from "./emailManager-B_XzEsXH.esm.js";
|
|
56
|
+
import "./selfieStateMachine-CIgeeiN9.esm.js";
|
|
57
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-D_ZFERsE.esm.js";
|
|
58
|
+
import "./idCaptureStateMachine-IfMfTdFf.esm.js";
|
|
59
|
+
import "./idCaptureDefaults-DNJON8Xo.esm.js";
|
|
60
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-Dad0pSLA.esm.js";
|
|
61
|
+
import "./phoneStateMachine-B_V9nODs.esm.js";
|
|
62
|
+
import { n as createPhoneManagerFromActor } from "./phoneManager-BWlxqbyD.esm.js";
|
|
63
|
+
import "./identityReuseStateMachine-BmONeF6B.esm.js";
|
|
64
|
+
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-Bu62LToE.esm.js";
|
|
65
|
+
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-B9W0a9A5.esm.js";
|
|
66
|
+
import "./mandatoryConsentStateMachine-DkJJLHqC.esm.js";
|
|
67
|
+
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-CQ3jirlZ.esm.js";
|
|
68
|
+
import "./idOcrStateMachine-DRZc4FBl.esm.js";
|
|
69
|
+
import { n as createIdOcrManagerFromActor } from "./idOcrManager-BkRDrpZu.esm.js";
|
|
70
|
+
import "./redirectToMobileStateMachine-DoAnf2ql.esm.js";
|
|
71
|
+
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-BaAo9rgi.esm.js";
|
|
72
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-BP2Do9O-.esm.js";
|
|
73
|
+
import "./geolocationStateMachine-BYfOOOG0.esm.js";
|
|
71
74
|
|
|
72
75
|
//#region src/internal/fingerprint/fingerprintApi.ts
|
|
73
76
|
async function getFingerprint(disableIpify) {
|
|
@@ -76,4 +79,4 @@ async function getFingerprint(disableIpify) {
|
|
|
76
79
|
}
|
|
77
80
|
|
|
78
81
|
//#endregion
|
|
79
|
-
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCpfOcrManagerFromActor, createCurpValidationManagerFromActor, createEmailManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
|
82
|
+
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCpfOcrManagerFromActor, createCurpValidationManagerFromActor, createDynamicFormsManagerFromActor, createEmailManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
package/dist/face-match.d.ts
CHANGED
package/dist/face-match.esm.js
CHANGED
|
@@ -3,7 +3,7 @@ import { n as createManagerInstrumentation } from "./events-CqGY1yMq.esm.js";
|
|
|
3
3
|
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
4
4
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
5
5
|
import { l as createManager, s as createActor } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
6
|
-
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
6
|
+
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-DUeUjEPx.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/face-match/faceMatchActor.ts
|
|
9
9
|
function createFaceMatchActor(options) {
|
package/dist/{faceCaptureManagerFactory-zneUQO62.esm.js → faceCaptureManagerFactory-2brKTzMb.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as createManagerInstrumentation, t as topLevelStateName } from "./events-CqGY1yMq.esm.js";
|
|
2
2
|
import { n as eventModuleNames, r as eventScreenNames } from "./types-ElOJAGaM.esm.js";
|
|
3
3
|
import { l as createManager } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
4
|
-
import { n as concealmentToAvatar } from "./faceCaptureSetup-
|
|
4
|
+
import { n as concealmentToAvatar } from "./faceCaptureSetup-CDUVU1nl.esm.js";
|
|
5
5
|
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-rim9Jrz-.esm.js";
|
|
6
6
|
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-BJhGL13R.esm.js";
|
|
7
7
|
|
package/dist/{faceCaptureManagerFactory-BbfxSiGY.d.ts → faceCaptureManagerFactory-CGKbf7zt.d.ts}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
4
|
-
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-
|
|
5
|
-
import { t as CameraStream } from "./camera-
|
|
6
|
-
import { t as IncodeCanvas } from "./canvas-
|
|
7
|
-
import { s as FaceFeed, t as AvatarId, u as FaceCoordinates } from "./createFaceAvatar-
|
|
8
|
-
import { i as FlowModuleConfig } from "./types-
|
|
9
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
10
|
-
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-
|
|
11
|
-
import { t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
12
|
-
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
13
|
-
import { t as DeepsightService } from "./deepsightService-
|
|
1
|
+
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-C_AY4cs7.js";
|
|
2
|
+
import { t as Manager } from "./Manager-CJ3G2zqi.js";
|
|
3
|
+
import { t as ActorRefFrom } from "./Actor-CGEelYtQ.js";
|
|
4
|
+
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-BbWjgpiF.js";
|
|
5
|
+
import { t as CameraStream } from "./camera-CNVUo-bC.js";
|
|
6
|
+
import { t as IncodeCanvas } from "./canvas-CJUmoXSD.js";
|
|
7
|
+
import { s as FaceFeed, t as AvatarId, u as FaceCoordinates } from "./createFaceAvatar-B8pFpy6o.js";
|
|
8
|
+
import { i as FlowModuleConfig } from "./types-BsYXnC5s.js";
|
|
9
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-Duy2rDxF.js";
|
|
10
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-CxW2e0Ar.js";
|
|
11
|
+
import { t as FaceDetectionProvider } from "./FaceDetectionProvider-B78455D4.js";
|
|
12
|
+
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-DS1TOoiH.js";
|
|
13
|
+
import { t as DeepsightService } from "./deepsightService-CMB9XjES.js";
|
|
14
14
|
|
|
15
15
|
//#region src/modules/authentication/authenticationStateMachine.d.ts
|
|
16
16
|
declare const _authenticationMachine: AnyStateMachine;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as getToken } from "./api-DsbUi7TO.esm.js";
|
|
2
2
|
import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
3
3
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-BJhGL13R.esm.js";
|
|
4
|
-
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-
|
|
4
|
+
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-DVBggeq8.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-CMcxlSmH.esm.js";
|
|
6
|
-
import { t as createFaceAvatar } from "./createFaceAvatar-
|
|
6
|
+
import { t as createFaceAvatar } from "./createFaceAvatar-BOHDKQRq.esm.js";
|
|
7
7
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-Bz17q4FP.esm.js";
|
|
8
8
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-BR2oN573.esm.js";
|
|
9
|
-
import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-
|
|
9
|
+
import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-m_1xCthr.esm.js";
|
|
10
10
|
|
|
11
11
|
//#region src/internal/avatar/concealment.ts
|
|
12
12
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
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-
|
|
1
|
+
import "./StateMachine-C_AY4cs7.js";
|
|
2
|
+
import "./Manager-CJ3G2zqi.js";
|
|
3
|
+
import "./Actor-CGEelYtQ.js";
|
|
4
|
+
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-DdLqDeB2.js";
|
|
5
5
|
export { type FieldComparisonActor, type FieldComparisonConfig, type FieldComparisonFields, type FieldComparisonManager, type FieldComparisonState, createFieldComparisonManager, createFieldComparisonManagerFromActor, fieldComparisonMachine };
|
|
@@ -3,6 +3,6 @@ import "./events-CqGY1yMq.esm.js";
|
|
|
3
3
|
import "./types-ElOJAGaM.esm.js";
|
|
4
4
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
5
5
|
import "./xstate.esm-Bomq1a0z.esm.js";
|
|
6
|
-
import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-
|
|
6
|
+
import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-B9W0a9A5.esm.js";
|
|
7
7
|
|
|
8
8
|
export { createFieldComparisonManager, createFieldComparisonManagerFromActor, fieldComparisonMachine };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
1
|
+
import { t as Manager } from "./Manager-CJ3G2zqi.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-CGEelYtQ.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/field-comparison/types.d.ts
|
|
5
5
|
|
package/dist/fiscal-qr.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./camera-
|
|
4
|
-
import "./canvas-
|
|
5
|
-
import "./StreamCanvasCapture-
|
|
1
|
+
import "./StateMachine-C_AY4cs7.js";
|
|
2
|
+
import { t as Manager } from "./Manager-CJ3G2zqi.js";
|
|
3
|
+
import "./camera-CNVUo-bC.js";
|
|
4
|
+
import "./canvas-CJUmoXSD.js";
|
|
5
|
+
import "./StreamCanvasCapture-DS1TOoiH.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/fiscal-qr/types.d.ts
|
|
8
8
|
/**
|
package/dist/fiscal-qr.esm.js
CHANGED
|
@@ -10,7 +10,7 @@ import "./ITimerCapability-pltuG1E8.esm.js";
|
|
|
10
10
|
import "./canvas-_I95hkPg.esm.js";
|
|
11
11
|
import { n as getBackCameraStream } from "./backCameraStream-ZyqrFyjO.esm.js";
|
|
12
12
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-Bz17q4FP.esm.js";
|
|
13
|
-
import "./http-
|
|
13
|
+
import "./http-BkiUT7EB.esm.js";
|
|
14
14
|
import { BrowserQRCodeReader } from "@zxing/browser";
|
|
15
15
|
|
|
16
16
|
//#region src/modules/fiscal-qr/fiscalQrConstants.ts
|