@incodetech/core 0.0.0-dev-20260703-4e6bf586 → 0.0.0-dev-20260706-cca97758
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-hbFTJkGk.esm.js → ae-signature-ZN0GtLh7.esm.js} +1 -1
- package/dist/ae-signature.d.ts +4 -4
- package/dist/ae-signature.esm.js +2 -2
- 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/consent.d.ts +4 -4
- package/dist/{consentManager-Cq_zuGyV.d.ts → consentManager-BcHWeam7.d.ts} +49 -49
- package/dist/cpf-ocr.d.ts +4 -4
- package/dist/{cpfOcrManager-CqofcqUr.d.ts → cpfOcrManager-CynK2vvm.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 +224 -224
- package/dist/document-upload.d.ts +48 -48
- 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 +7 -7
- package/dist/{ekybStateMachine-ByOUNlk3.esm.js → ekybStateMachine-DJKY0CZn.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 +1 -1
- package/dist/{electronicSignatureManager-BNglIp7-.esm.js → electronicSignatureManager-DjnL48UC.esm.js} +6 -3
- 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 +35 -32
- 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 +7 -7
- package/dist/{flowServices-zQ4hdUWb.esm.js → flowServices-M9ULy96c.esm.js} +2 -2
- 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 +9 -9
- package/dist/{idCaptureManager-DEULKa4Q.d.ts → idCaptureManager-BVdvfJys.d.ts} +12 -12
- package/dist/{idCaptureManager-BaBfY7-F.esm.js → idCaptureManager-DMnlylYQ.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-C4JdDQMz.esm.js → idCaptureStateMachine-DlB7dwkg.esm.js} +6 -6
- package/dist/{idOcrManager-D_RlFzxU.esm.js → idOcrManager-BkRDrpZu.esm.js} +1 -1
- package/dist/{idOcrManager-B8wGPtYt.d.ts → idOcrManager-NmrgQdxe.d.ts} +54 -54
- 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-e3Q0Ojz-.d.ts → identityReuseManager-Ce17YMPa.d.ts} +36 -36
- package/dist/{index-DTYZyqY4.d.ts → index-Dbd5_sW5.d.ts} +180 -170
- 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-CTCWHacw.d.ts → mandatoryConsentManager-C9MdHNQd.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-DrNTWaUP.esm.js → qe-signature-C803M4C9.esm.js} +1 -1
- package/dist/qe-signature.d.ts +4 -4
- package/dist/qe-signature.esm.js +2 -2
- 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 +2 -2
- package/dist/{redirectToMobileManager-Bjs3pRzS.d.ts → redirectToMobileManager-Br0KZK1G.d.ts} +2 -2
- package/dist/{redirectToMobileManager-Be0DwbuH.esm.js → redirectToMobileManager-CvK_w3-m.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.d.ts +7 -7
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-BkDTbgP1.esm.js → sessionInitializer-BBt3XFBy.esm.js} +2 -2
- package/dist/{setup-ChZ--9XV.d.ts → setup-CpRnXxn8.d.ts} +2 -2
- package/dist/{setup--56mH1Is.esm.js → setup-DoVeswjJ.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 +167 -167
- package/dist/workflow.esm.js +35 -35
- 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/{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/{flowCompletionService-DwNoUhk5.esm.js → flowCompletionService-Chuqn3xr.esm.js} +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/{redirectToMobileStateMachine-DaZBdvQA.esm.js → redirectToMobileStateMachine-CFWkwibC.esm.js} +0 -0
- /package/dist/{runChildModule-3qH_hqiv.esm.js → runChildModule-0nQfjVVo.esm.js} +0 -0
- /package/dist/{session-D4m9r-7U.esm.js → session-D7K0IePH.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/{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
package/dist/id-ocr.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import { c as IdOcrConfig, d as UpdateOcrDataParams, f as ValidationRule, l as OcrData, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager, u as OcrFieldConfig } from "./idOcrManager-
|
|
1
|
+
import "./StateMachine-C_AY4cs7.js";
|
|
2
|
+
import "./Manager-CJ3G2zqi.js";
|
|
3
|
+
import "./Actor-CGEelYtQ.js";
|
|
4
|
+
import { c as IdOcrConfig, d as UpdateOcrDataParams, f as ValidationRule, l as OcrData, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager, u as OcrFieldConfig } from "./idOcrManager-NmrgQdxe.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/id-ocr/idOcrFields.d.ts
|
|
7
7
|
declare const OCR_FIELDS: OcrFieldConfig[];
|
package/dist/id-ocr.esm.js
CHANGED
|
@@ -4,7 +4,7 @@ import "./types-ElOJAGaM.esm.js";
|
|
|
4
4
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
5
5
|
import "./xstate.esm-Bomq1a0z.esm.js";
|
|
6
6
|
import "./cpf-BKaho0j_.esm.js";
|
|
7
|
-
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
8
|
-
import { t as createIdOcrManager } from "./idOcrManager-
|
|
7
|
+
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-DRZc4FBl.esm.js";
|
|
8
|
+
import { t as createIdOcrManager } from "./idOcrManager-BkRDrpZu.esm.js";
|
|
9
9
|
|
|
10
10
|
export { CPFFlowIds, MIN_AGE, OCR_FIELDS, createIdOcrManager, getOcrFields, idOcrStateMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import * as
|
|
1
|
+
import "./StateMachine-C_AY4cs7.js";
|
|
2
|
+
import { t as Manager } from "./Manager-CJ3G2zqi.js";
|
|
3
|
+
import "./Actor-CGEelYtQ.js";
|
|
4
|
+
import * as xstate758 from "xstate";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/id-verification/types.d.ts
|
|
7
7
|
type IdVerificationConfig = {
|
|
@@ -33,26 +33,26 @@ type IdVerificationContext = {
|
|
|
33
33
|
type IdVerificationInput = {
|
|
34
34
|
config: IdVerificationConfig;
|
|
35
35
|
};
|
|
36
|
-
declare const idVerificationMachine:
|
|
36
|
+
declare const idVerificationMachine: xstate758.StateMachine<IdVerificationContext, {
|
|
37
37
|
type: "LOAD";
|
|
38
38
|
} | {
|
|
39
39
|
type: "CONTINUE";
|
|
40
40
|
}, {
|
|
41
|
-
[x: string]:
|
|
41
|
+
[x: string]: xstate758.ActorRefFromLogic<xstate758.PromiseActorLogic<ProcessIdResponse, {
|
|
42
42
|
isSecondId: boolean;
|
|
43
43
|
queueName: string;
|
|
44
|
-
},
|
|
44
|
+
}, xstate758.EventObject>> | undefined;
|
|
45
45
|
}, {
|
|
46
46
|
src: "processId";
|
|
47
|
-
logic:
|
|
47
|
+
logic: xstate758.PromiseActorLogic<ProcessIdResponse, {
|
|
48
48
|
isSecondId: boolean;
|
|
49
49
|
queueName: string;
|
|
50
|
-
},
|
|
50
|
+
}, xstate758.EventObject>;
|
|
51
51
|
id: string | undefined;
|
|
52
52
|
}, never, {
|
|
53
53
|
type: "isDocumentExpired";
|
|
54
54
|
params: unknown;
|
|
55
|
-
}, never, "idle" | "processing" | "finished" | "expired", string, IdVerificationInput,
|
|
55
|
+
}, never, "idle" | "processing" | "finished" | "expired", string, IdVerificationInput, xstate758.NonReducibleUnknown, xstate758.EventObject, xstate758.MetaObject, {
|
|
56
56
|
readonly id: "idVerification";
|
|
57
57
|
readonly initial: "idle";
|
|
58
58
|
readonly context: ({
|
|
@@ -61,50 +61,50 @@ declare const idVerificationMachine: xstate695.StateMachine<IdVerificationContex
|
|
|
61
61
|
spawn: {
|
|
62
62
|
<TSrc extends "processId">(logic: TSrc, ...[options]: {
|
|
63
63
|
src: "processId";
|
|
64
|
-
logic:
|
|
64
|
+
logic: xstate758.PromiseActorLogic<ProcessIdResponse, {
|
|
65
65
|
isSecondId: boolean;
|
|
66
66
|
queueName: string;
|
|
67
|
-
},
|
|
67
|
+
}, xstate758.EventObject>;
|
|
68
68
|
id: string | undefined;
|
|
69
69
|
} extends infer T ? T extends {
|
|
70
70
|
src: "processId";
|
|
71
|
-
logic:
|
|
71
|
+
logic: xstate758.PromiseActorLogic<ProcessIdResponse, {
|
|
72
72
|
isSecondId: boolean;
|
|
73
73
|
queueName: string;
|
|
74
|
-
},
|
|
74
|
+
}, xstate758.EventObject>;
|
|
75
75
|
id: string | undefined;
|
|
76
76
|
} ? T extends {
|
|
77
77
|
src: TSrc;
|
|
78
|
-
} ?
|
|
78
|
+
} ? xstate758.ConditionalRequired<[options?: ({
|
|
79
79
|
id?: T["id"] | undefined;
|
|
80
80
|
systemId?: string;
|
|
81
|
-
input?:
|
|
81
|
+
input?: xstate758.InputFrom<T["logic"]> | undefined;
|
|
82
82
|
syncSnapshot?: boolean;
|
|
83
|
-
} & { [K in
|
|
83
|
+
} & { [K in xstate758.RequiredActorOptions<T>]: unknown }) | undefined], xstate758.IsNotNever<xstate758.RequiredActorOptions<T>>> : never : never : never): xstate758.ActorRefFromLogic<xstate758.GetConcreteByKey<{
|
|
84
84
|
src: "processId";
|
|
85
|
-
logic:
|
|
85
|
+
logic: xstate758.PromiseActorLogic<ProcessIdResponse, {
|
|
86
86
|
isSecondId: boolean;
|
|
87
87
|
queueName: string;
|
|
88
|
-
},
|
|
88
|
+
}, xstate758.EventObject>;
|
|
89
89
|
id: string | undefined;
|
|
90
90
|
}, "src", TSrc>["logic"]>;
|
|
91
|
-
<TLogic extends
|
|
91
|
+
<TLogic extends xstate758.AnyActorLogic>(src: TLogic, ...[options]: xstate758.ConditionalRequired<[options?: ({
|
|
92
92
|
id?: never;
|
|
93
93
|
systemId?: string;
|
|
94
|
-
input?:
|
|
94
|
+
input?: xstate758.InputFrom<TLogic> | undefined;
|
|
95
95
|
syncSnapshot?: boolean;
|
|
96
|
-
} & { [K in
|
|
96
|
+
} & { [K in xstate758.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate758.IsNotNever<xstate758.RequiredLogicInput<TLogic>>>): xstate758.ActorRefFromLogic<TLogic>;
|
|
97
97
|
};
|
|
98
98
|
input: IdVerificationInput;
|
|
99
|
-
self:
|
|
99
|
+
self: xstate758.ActorRef<xstate758.MachineSnapshot<IdVerificationContext, {
|
|
100
100
|
type: "LOAD";
|
|
101
101
|
} | {
|
|
102
102
|
type: "CONTINUE";
|
|
103
|
-
}, Record<string,
|
|
103
|
+
}, Record<string, xstate758.AnyActorRef | undefined>, xstate758.StateValue, string, unknown, any, any>, {
|
|
104
104
|
type: "LOAD";
|
|
105
105
|
} | {
|
|
106
106
|
type: "CONTINUE";
|
|
107
|
-
},
|
|
107
|
+
}, xstate758.AnyEventObject>;
|
|
108
108
|
}) => {
|
|
109
109
|
config: IdVerificationConfig;
|
|
110
110
|
isSecondId: boolean;
|
|
@@ -128,15 +128,15 @@ declare const idVerificationMachine: xstate695.StateMachine<IdVerificationContex
|
|
|
128
128
|
} | {
|
|
129
129
|
type: "CONTINUE";
|
|
130
130
|
};
|
|
131
|
-
self:
|
|
131
|
+
self: xstate758.ActorRef<xstate758.MachineSnapshot<IdVerificationContext, {
|
|
132
132
|
type: "LOAD";
|
|
133
133
|
} | {
|
|
134
134
|
type: "CONTINUE";
|
|
135
|
-
}, Record<string,
|
|
135
|
+
}, Record<string, xstate758.AnyActorRef>, xstate758.StateValue, string, unknown, any, any>, {
|
|
136
136
|
type: "LOAD";
|
|
137
137
|
} | {
|
|
138
138
|
type: "CONTINUE";
|
|
139
|
-
},
|
|
139
|
+
}, xstate758.AnyEventObject>;
|
|
140
140
|
}) => {
|
|
141
141
|
isSecondId: boolean;
|
|
142
142
|
queueName: string;
|
|
@@ -3,7 +3,7 @@ import { n as createManagerInstrumentation } from "./events-CqGY1yMq.esm.js";
|
|
|
3
3
|
import "./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 { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
6
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-oqiERKpg.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/id-verification/idVerificationActor.ts
|
|
9
9
|
function createIdVerificationActor(options) {
|
package/dist/id.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import "./StateMachine-
|
|
3
|
-
import "./Manager-
|
|
4
|
-
import "./Actor-
|
|
5
|
-
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-
|
|
6
|
-
import { t as CameraStream } from "./camera-
|
|
7
|
-
import "./types-
|
|
8
|
-
import "./types-
|
|
9
|
-
import "./canvas-
|
|
10
|
-
import "./createFaceAvatar-
|
|
11
|
-
import "./types-
|
|
12
|
-
import "./IWasmUtilCapability-
|
|
13
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
14
|
-
import "./StreamCanvasCapture-
|
|
15
|
-
import "./deepsightService-
|
|
16
|
-
import { $ as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, A as CaptureIdResponse, B as IdCaptureGeometry, C as IdCaptureOnlyMachine, D as createIdCaptureActor, E as IdCaptureActor, F as ID_ERROR_CODES, G as IdCapturedImageData, H as IdCaptureMode, I as IdCaptureConfig, J as IdErrorCode, K as IdDocumentType, L as IdCaptureContext, M as CapturedImage, N as DetectionArea, O as IdCaptureMachine, P as DetectionStatus, Q as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, R as IdCaptureDependencies, S as createIdCaptureOnlyActor, T as CreateIdCaptureActorOptions, U as IdCaptureOnlyConfig, V as IdCaptureInput, W as IdCaptureThresholds, X as RecordingSession, Y as IdFlowStep, Z as UploadIdResponse, _ as uploadIdImage, a as IdCaptureInitResult, at as IdCaptureSettings, b as CreateIdCaptureOnlyActorOptions, c as UploadIdImageParams, d as initializeIdCapture, et as MANUAL_UPLOAD_MAX_RETRIES, f as preloadIdRecordingProvider, g as stopStream, h as stopRecording, it as DetectionOrientation, j as CaptureOnlyResponse, k as idCaptureMachine, l as UploadManualIdFileParams, m as startRecordingSession, n as IdCaptureManager, nt as ManualUploadSide, o as InitializeIdCaptureParams, p as processId, q as IdError, r as IdCaptureState, rt as ManualUploadTab, s as StartRecordingParams, t as createIdCaptureManager, tt as ManualUploadContext, u as ValidationError, v as uploadManualIdFile, w as idCaptureOnlyMachine, x as IdCaptureOnlyActor, y as validateUploadResponse, z as IdCaptureEvent } from "./idCaptureManager-
|
|
1
|
+
import "./warmup-BJZPQIiX.js";
|
|
2
|
+
import "./StateMachine-C_AY4cs7.js";
|
|
3
|
+
import "./Manager-CJ3G2zqi.js";
|
|
4
|
+
import "./Actor-CGEelYtQ.js";
|
|
5
|
+
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-BbWjgpiF.js";
|
|
6
|
+
import { t as CameraStream } from "./camera-CNVUo-bC.js";
|
|
7
|
+
import "./types-DgGlgyZT.js";
|
|
8
|
+
import "./types-D_IceWxT.js";
|
|
9
|
+
import "./canvas-CJUmoXSD.js";
|
|
10
|
+
import "./createFaceAvatar-B8pFpy6o.js";
|
|
11
|
+
import "./types-BsYXnC5s.js";
|
|
12
|
+
import "./IWasmUtilCapability-d2XvzaCk.js";
|
|
13
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-Duy2rDxF.js";
|
|
14
|
+
import "./StreamCanvasCapture-DS1TOoiH.js";
|
|
15
|
+
import "./deepsightService-CMB9XjES.js";
|
|
16
|
+
import { $ as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, A as CaptureIdResponse, B as IdCaptureGeometry, C as IdCaptureOnlyMachine, D as createIdCaptureActor, E as IdCaptureActor, F as ID_ERROR_CODES, G as IdCapturedImageData, H as IdCaptureMode, I as IdCaptureConfig, J as IdErrorCode, K as IdDocumentType, L as IdCaptureContext, M as CapturedImage, N as DetectionArea, O as IdCaptureMachine, P as DetectionStatus, Q as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, R as IdCaptureDependencies, S as createIdCaptureOnlyActor, T as CreateIdCaptureActorOptions, U as IdCaptureOnlyConfig, V as IdCaptureInput, W as IdCaptureThresholds, X as RecordingSession, Y as IdFlowStep, Z as UploadIdResponse, _ as uploadIdImage, a as IdCaptureInitResult, at as IdCaptureSettings, b as CreateIdCaptureOnlyActorOptions, c as UploadIdImageParams, d as initializeIdCapture, et as MANUAL_UPLOAD_MAX_RETRIES, f as preloadIdRecordingProvider, g as stopStream, h as stopRecording, it as DetectionOrientation, j as CaptureOnlyResponse, k as idCaptureMachine, l as UploadManualIdFileParams, m as startRecordingSession, n as IdCaptureManager, nt as ManualUploadSide, o as InitializeIdCaptureParams, p as processId, q as IdError, r as IdCaptureState, rt as ManualUploadTab, s as StartRecordingParams, t as createIdCaptureManager, tt as ManualUploadContext, u as ValidationError, v as uploadManualIdFile, w as idCaptureOnlyMachine, x as IdCaptureOnlyActor, y as validateUploadResponse, z as IdCaptureEvent } from "./idCaptureManager-BVdvfJys.js";
|
|
17
17
|
|
|
18
18
|
//#region src/modules/id/idCaptureOnlyManager.d.ts
|
|
19
19
|
type IdCaptureOnlyManager = IdCaptureManager;
|
package/dist/id.esm.js
CHANGED
|
@@ -6,12 +6,12 @@ import { n as eventModuleNames } from "./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 "./sessionInitializer-
|
|
9
|
+
import "./sessionInitializer-BBt3XFBy.esm.js";
|
|
10
10
|
import "./getDeviceData-TrKM8NPh.esm.js";
|
|
11
11
|
import "./thumbmarkAdapter-fHBUDlAP.esm.js";
|
|
12
12
|
import "./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, r as assign, s as createActor } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
16
16
|
import "./apiError-C7SFQTB2.esm.js";
|
|
17
17
|
import "./BrowserVisibilityObserverProvider-rim9Jrz-.esm.js";
|
|
@@ -19,7 +19,7 @@ import "./MotionSensorProvider-DCbId4De.esm.js";
|
|
|
19
19
|
import "./permissionServices-BJhGL13R.esm.js";
|
|
20
20
|
import "./camera-DUkgmYMo.esm.js";
|
|
21
21
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CrrN540a.esm.js";
|
|
22
|
-
import "./onDeviceFaceResults-
|
|
22
|
+
import "./onDeviceFaceResults-DVBggeq8.esm.js";
|
|
23
23
|
import "./ITimerCapability-pltuG1E8.esm.js";
|
|
24
24
|
import "./canvas-_I95hkPg.esm.js";
|
|
25
25
|
import "./backCameraStream-ZyqrFyjO.esm.js";
|
|
@@ -30,13 +30,13 @@ import "./getDeviceClass-DGGzzfqm.esm.js";
|
|
|
30
30
|
import "./types-CMcxlSmH.esm.js";
|
|
31
31
|
import "./StreamCanvasCapture-Bz17q4FP.esm.js";
|
|
32
32
|
import "./permissionGuards-BR2oN573.esm.js";
|
|
33
|
-
import "./recordingService-
|
|
33
|
+
import "./recordingService-m_1xCthr.esm.js";
|
|
34
34
|
import "./mediaRecorderOptions-C3NAkVgK.esm.js";
|
|
35
|
-
import "./session-
|
|
36
|
-
import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-
|
|
37
|
-
import "./idCaptureDefaults-
|
|
38
|
-
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
39
|
-
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-
|
|
35
|
+
import "./session-D7K0IePH.esm.js";
|
|
36
|
+
import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-DlB7dwkg.esm.js";
|
|
37
|
+
import "./idCaptureDefaults-DNJON8Xo.esm.js";
|
|
38
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-DMnlylYQ.esm.js";
|
|
39
|
+
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-v_PV_IJz.esm.js";
|
|
40
40
|
|
|
41
41
|
//#region src/modules/id/idCaptureOnlyStateMachine.ts
|
|
42
42
|
function buildSubImage(canvas) {
|
|
@@ -1,15 +1,15 @@
|
|
|
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 { _ as MLProviderConfig, g as IMLProviderCapability } from "./createFaceAvatar-
|
|
8
|
-
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-
|
|
9
|
-
import { a as IRecordingCapability, i as IStorageCapability, o as RecordingConnection } from "./IWasmUtilCapability-
|
|
10
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
11
|
-
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
12
|
-
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 { _ as MLProviderConfig, g as IMLProviderCapability } from "./createFaceAvatar-B8pFpy6o.js";
|
|
8
|
+
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-BsYXnC5s.js";
|
|
9
|
+
import { a as IRecordingCapability, i as IStorageCapability, o as RecordingConnection } from "./IWasmUtilCapability-d2XvzaCk.js";
|
|
10
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-Duy2rDxF.js";
|
|
11
|
+
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-DS1TOoiH.js";
|
|
12
|
+
import { t as DeepsightService } from "./deepsightService-CMB9XjES.js";
|
|
13
13
|
|
|
14
14
|
//#region ../infra/src/capabilities/IIdCaptureCapability.d.ts
|
|
15
15
|
/**
|
|
@@ -4,7 +4,7 @@ import { l as createManager, s as createActor } from "./xstate.esm-Bomq1a0z.esm.
|
|
|
4
4
|
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-rim9Jrz-.esm.js";
|
|
5
5
|
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-BJhGL13R.esm.js";
|
|
6
6
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CrrN540a.esm.js";
|
|
7
|
-
import { i as mapIdManualUploadScreenName, n as getManualUploadTabs, r as MAX_EXPIRED_FIRST_SIDE_ATTEMPTS, t as idCaptureMachine, v as mapDigitalIdScreenName } from "./idCaptureStateMachine-
|
|
7
|
+
import { i as mapIdManualUploadScreenName, n as getManualUploadTabs, r as MAX_EXPIRED_FIRST_SIDE_ATTEMPTS, t as idCaptureMachine, v as mapDigitalIdScreenName } from "./idCaptureStateMachine-DlB7dwkg.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/internal/idCapture/idCaptureManagerFactory.ts
|
|
10
10
|
function getPermissionStatus(snapshot) {
|
package/dist/{idCaptureStateMachine-C4JdDQMz.esm.js → idCaptureStateMachine-DlB7dwkg.esm.js}
RENAMED
|
@@ -3,19 +3,19 @@ import { r as getToken, t as api } from "./api-DsbUi7TO.esm.js";
|
|
|
3
3
|
import { v as revokeObjectURL } from "./events-CqGY1yMq.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
5
5
|
import { t as addDeviceStats } from "./stats-CYcScXcO.esm.js";
|
|
6
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
6
|
+
import { t as getDisableIpify } from "./sessionInitializer-BBt3XFBy.esm.js";
|
|
7
7
|
import { n as isDesktop } from "./platform-uIVQUnJP.esm.js";
|
|
8
8
|
import { a as fromPromise, c as not, i as fromCallback, n as sendTo, o as and, r as assign, t as setup } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
9
9
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-BJhGL13R.esm.js";
|
|
10
|
-
import { _ as stopRecording$1, g as startRecording, h as createRecordingSession, y as StreamCanvasProcessingSession } from "./onDeviceFaceResults-
|
|
10
|
+
import { _ as stopRecording$1, g as startRecording, h as createRecordingSession, y as StreamCanvasProcessingSession } from "./onDeviceFaceResults-DVBggeq8.esm.js";
|
|
11
11
|
import { t as IncodeCanvas } from "./canvas-_I95hkPg.esm.js";
|
|
12
12
|
import { n as getBackCameraStream } from "./backCameraStream-ZyqrFyjO.esm.js";
|
|
13
13
|
import { n as getWindowDimensions } from "./getDeviceClass-DavNdcxh.esm.js";
|
|
14
14
|
import { t as getDeviceClass } from "./getDeviceClass-DGGzzfqm.esm.js";
|
|
15
15
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-Bz17q4FP.esm.js";
|
|
16
16
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-BR2oN573.esm.js";
|
|
17
|
-
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-
|
|
18
|
-
import { i as IdCaptureProvider, n as DEFAULT_ID_CAPTURE_MODEL_VERSION, r as DEFAULT_ID_CAPTURE_THRESHOLDS } from "./idCaptureDefaults-
|
|
17
|
+
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-m_1xCthr.esm.js";
|
|
18
|
+
import { i as IdCaptureProvider, n as DEFAULT_ID_CAPTURE_MODEL_VERSION, r as DEFAULT_ID_CAPTURE_THRESHOLDS } from "./idCaptureDefaults-DNJON8Xo.esm.js";
|
|
19
19
|
|
|
20
20
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
21
21
|
const TERMINAL_FAIL_REASONS = new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -680,7 +680,7 @@ function preloadIdRecordingProvider(config) {
|
|
|
680
680
|
preloadOpenViduProvider();
|
|
681
681
|
}
|
|
682
682
|
async function createOpenViduRecordingProvider() {
|
|
683
|
-
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-
|
|
683
|
+
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-B_0GKkzc.esm.js");
|
|
684
684
|
return new OpenViduRecordingProvider();
|
|
685
685
|
}
|
|
686
686
|
async function startRecordingSession(params) {
|
|
@@ -1660,7 +1660,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
|
|
|
1660
1660
|
});
|
|
1661
1661
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
1662
1662
|
if (!input.dependencies) return;
|
|
1663
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1663
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-DHSVD776.esm.js");
|
|
1664
1664
|
return loadDeepsightSession({
|
|
1665
1665
|
ds: input.ds,
|
|
1666
1666
|
storage: input.dependencies.storage,
|
|
@@ -1,7 +1,7 @@
|
|
|
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 idOcrStateMachine } from "./idOcrStateMachine-
|
|
4
|
+
import { t as idOcrStateMachine } from "./idOcrStateMachine-DRZc4FBl.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/id-ocr/idOcrActor.ts
|
|
7
7
|
function createIdOcrActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-CJ3G2zqi.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-CGEelYtQ.js";
|
|
3
|
+
import * as xstate797 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/id-ocr/types.d.ts
|
|
6
6
|
type IdOcrConfig = {
|
|
@@ -177,7 +177,7 @@ type IdOcrContext = {
|
|
|
177
177
|
type IdOcrInput = {
|
|
178
178
|
config: IdOcrConfig;
|
|
179
179
|
};
|
|
180
|
-
declare const idOcrStateMachine:
|
|
180
|
+
declare const idOcrStateMachine: xstate797.StateMachine<IdOcrContext, {
|
|
181
181
|
type: "LOAD";
|
|
182
182
|
} | {
|
|
183
183
|
type: "DATA_CHANGED";
|
|
@@ -191,66 +191,66 @@ declare const idOcrStateMachine: xstate802.StateMachine<IdOcrContext, {
|
|
|
191
191
|
} | {
|
|
192
192
|
type: "RETRY";
|
|
193
193
|
}, {
|
|
194
|
-
[x: string]:
|
|
194
|
+
[x: string]: xstate797.ActorRefFromLogic<xstate797.PromiseActorLogic<OcrData, {
|
|
195
195
|
isSecondId: boolean;
|
|
196
|
-
},
|
|
196
|
+
}, xstate797.EventObject>> | xstate797.ActorRefFromLogic<xstate797.PromiseActorLogic<UpdateOcrResponse, {
|
|
197
197
|
params: UpdateOcrDataParams;
|
|
198
198
|
isSecondId: boolean;
|
|
199
|
-
},
|
|
200
|
-
},
|
|
199
|
+
}, xstate797.EventObject>> | undefined;
|
|
200
|
+
}, xstate797.Values<{
|
|
201
201
|
getOcrData: {
|
|
202
202
|
src: "getOcrData";
|
|
203
|
-
logic:
|
|
203
|
+
logic: xstate797.PromiseActorLogic<OcrData, {
|
|
204
204
|
isSecondId: boolean;
|
|
205
|
-
},
|
|
205
|
+
}, xstate797.EventObject>;
|
|
206
206
|
id: string | undefined;
|
|
207
207
|
};
|
|
208
208
|
updateOcrData: {
|
|
209
209
|
src: "updateOcrData";
|
|
210
|
-
logic:
|
|
210
|
+
logic: xstate797.PromiseActorLogic<UpdateOcrResponse, {
|
|
211
211
|
params: UpdateOcrDataParams;
|
|
212
212
|
isSecondId: boolean;
|
|
213
|
-
},
|
|
213
|
+
}, xstate797.EventObject>;
|
|
214
214
|
id: string | undefined;
|
|
215
215
|
};
|
|
216
|
-
}>,
|
|
216
|
+
}>, xstate797.Values<{
|
|
217
217
|
setError: {
|
|
218
218
|
type: "setError";
|
|
219
|
-
params:
|
|
219
|
+
params: xstate797.NonReducibleUnknown;
|
|
220
220
|
};
|
|
221
221
|
setInitialData: {
|
|
222
222
|
type: "setInitialData";
|
|
223
|
-
params:
|
|
223
|
+
params: xstate797.NonReducibleUnknown;
|
|
224
224
|
};
|
|
225
225
|
updateField: {
|
|
226
226
|
type: "updateField";
|
|
227
|
-
params:
|
|
227
|
+
params: xstate797.NonReducibleUnknown;
|
|
228
228
|
};
|
|
229
229
|
clearFieldValidationError: {
|
|
230
230
|
type: "clearFieldValidationError";
|
|
231
|
-
params:
|
|
231
|
+
params: xstate797.NonReducibleUnknown;
|
|
232
232
|
};
|
|
233
233
|
setOcrValidationErrors: {
|
|
234
234
|
type: "setOcrValidationErrors";
|
|
235
|
-
params:
|
|
235
|
+
params: xstate797.NonReducibleUnknown;
|
|
236
236
|
};
|
|
237
237
|
validateFormField: {
|
|
238
238
|
type: "validateFormField";
|
|
239
|
-
params:
|
|
239
|
+
params: xstate797.NonReducibleUnknown;
|
|
240
240
|
};
|
|
241
241
|
beginSecondIdOcrPhase: {
|
|
242
242
|
type: "beginSecondIdOcrPhase";
|
|
243
|
-
params:
|
|
243
|
+
params: xstate797.NonReducibleUnknown;
|
|
244
244
|
};
|
|
245
245
|
resetForRetry: {
|
|
246
246
|
type: "resetForRetry";
|
|
247
|
-
params:
|
|
247
|
+
params: xstate797.NonReducibleUnknown;
|
|
248
248
|
};
|
|
249
249
|
computeValidationResult: {
|
|
250
250
|
type: "computeValidationResult";
|
|
251
|
-
params:
|
|
251
|
+
params: xstate797.NonReducibleUnknown;
|
|
252
252
|
};
|
|
253
|
-
}>,
|
|
253
|
+
}>, xstate797.Values<{
|
|
254
254
|
isOcrEditable: {
|
|
255
255
|
type: "isOcrEditable";
|
|
256
256
|
params: unknown;
|
|
@@ -271,7 +271,7 @@ declare const idOcrStateMachine: xstate802.StateMachine<IdOcrContext, {
|
|
|
271
271
|
type: "shouldProceedWithoutSubmitToSecondId";
|
|
272
272
|
params: unknown;
|
|
273
273
|
};
|
|
274
|
-
}>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput,
|
|
274
|
+
}>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, xstate797.NonReducibleUnknown, xstate797.EventObject, xstate797.MetaObject, {
|
|
275
275
|
readonly id: "idOcr";
|
|
276
276
|
readonly initial: "idle";
|
|
277
277
|
readonly context: ({
|
|
@@ -280,70 +280,70 @@ declare const idOcrStateMachine: xstate802.StateMachine<IdOcrContext, {
|
|
|
280
280
|
spawn: {
|
|
281
281
|
<TSrc extends "getOcrData" | "updateOcrData">(logic: TSrc, ...[options]: ({
|
|
282
282
|
src: "getOcrData";
|
|
283
|
-
logic:
|
|
283
|
+
logic: xstate797.PromiseActorLogic<OcrData, {
|
|
284
284
|
isSecondId: boolean;
|
|
285
|
-
},
|
|
285
|
+
}, xstate797.EventObject>;
|
|
286
286
|
id: string | undefined;
|
|
287
287
|
} extends infer T ? T extends {
|
|
288
288
|
src: "getOcrData";
|
|
289
|
-
logic:
|
|
289
|
+
logic: xstate797.PromiseActorLogic<OcrData, {
|
|
290
290
|
isSecondId: boolean;
|
|
291
|
-
},
|
|
291
|
+
}, xstate797.EventObject>;
|
|
292
292
|
id: string | undefined;
|
|
293
293
|
} ? T extends {
|
|
294
294
|
src: TSrc;
|
|
295
|
-
} ?
|
|
295
|
+
} ? xstate797.ConditionalRequired<[options?: ({
|
|
296
296
|
id?: T["id"] | undefined;
|
|
297
297
|
systemId?: string;
|
|
298
|
-
input?:
|
|
298
|
+
input?: xstate797.InputFrom<T["logic"]> | undefined;
|
|
299
299
|
syncSnapshot?: boolean;
|
|
300
|
-
} & { [K in
|
|
300
|
+
} & { [K in xstate797.RequiredActorOptions<T>]: unknown }) | undefined], xstate797.IsNotNever<xstate797.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
301
301
|
src: "updateOcrData";
|
|
302
|
-
logic:
|
|
302
|
+
logic: xstate797.PromiseActorLogic<UpdateOcrResponse, {
|
|
303
303
|
params: UpdateOcrDataParams;
|
|
304
304
|
isSecondId: boolean;
|
|
305
|
-
},
|
|
305
|
+
}, xstate797.EventObject>;
|
|
306
306
|
id: string | undefined;
|
|
307
307
|
} extends infer T_1 ? T_1 extends {
|
|
308
308
|
src: "updateOcrData";
|
|
309
|
-
logic:
|
|
309
|
+
logic: xstate797.PromiseActorLogic<UpdateOcrResponse, {
|
|
310
310
|
params: UpdateOcrDataParams;
|
|
311
311
|
isSecondId: boolean;
|
|
312
|
-
},
|
|
312
|
+
}, xstate797.EventObject>;
|
|
313
313
|
id: string | undefined;
|
|
314
314
|
} ? T_1 extends {
|
|
315
315
|
src: TSrc;
|
|
316
|
-
} ?
|
|
316
|
+
} ? xstate797.ConditionalRequired<[options?: ({
|
|
317
317
|
id?: T_1["id"] | undefined;
|
|
318
318
|
systemId?: string;
|
|
319
|
-
input?:
|
|
319
|
+
input?: xstate797.InputFrom<T_1["logic"]> | undefined;
|
|
320
320
|
syncSnapshot?: boolean;
|
|
321
|
-
} & { [K_1 in
|
|
321
|
+
} & { [K_1 in xstate797.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate797.IsNotNever<xstate797.RequiredActorOptions<T_1>>> : never : never : never)): xstate797.ActorRefFromLogic<xstate797.GetConcreteByKey<xstate797.Values<{
|
|
322
322
|
getOcrData: {
|
|
323
323
|
src: "getOcrData";
|
|
324
|
-
logic:
|
|
324
|
+
logic: xstate797.PromiseActorLogic<OcrData, {
|
|
325
325
|
isSecondId: boolean;
|
|
326
|
-
},
|
|
326
|
+
}, xstate797.EventObject>;
|
|
327
327
|
id: string | undefined;
|
|
328
328
|
};
|
|
329
329
|
updateOcrData: {
|
|
330
330
|
src: "updateOcrData";
|
|
331
|
-
logic:
|
|
331
|
+
logic: xstate797.PromiseActorLogic<UpdateOcrResponse, {
|
|
332
332
|
params: UpdateOcrDataParams;
|
|
333
333
|
isSecondId: boolean;
|
|
334
|
-
},
|
|
334
|
+
}, xstate797.EventObject>;
|
|
335
335
|
id: string | undefined;
|
|
336
336
|
};
|
|
337
337
|
}>, "src", TSrc>["logic"]>;
|
|
338
|
-
<TLogic extends
|
|
338
|
+
<TLogic extends xstate797.AnyActorLogic>(src: TLogic, ...[options]: xstate797.ConditionalRequired<[options?: ({
|
|
339
339
|
id?: never;
|
|
340
340
|
systemId?: string;
|
|
341
|
-
input?:
|
|
341
|
+
input?: xstate797.InputFrom<TLogic> | undefined;
|
|
342
342
|
syncSnapshot?: boolean;
|
|
343
|
-
} & { [K in
|
|
343
|
+
} & { [K in xstate797.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate797.IsNotNever<xstate797.RequiredLogicInput<TLogic>>>): xstate797.ActorRefFromLogic<TLogic>;
|
|
344
344
|
};
|
|
345
345
|
input: IdOcrInput;
|
|
346
|
-
self:
|
|
346
|
+
self: xstate797.ActorRef<xstate797.MachineSnapshot<IdOcrContext, {
|
|
347
347
|
type: "LOAD";
|
|
348
348
|
} | {
|
|
349
349
|
type: "DATA_CHANGED";
|
|
@@ -356,7 +356,7 @@ declare const idOcrStateMachine: xstate802.StateMachine<IdOcrContext, {
|
|
|
356
356
|
type: "CONTINUE";
|
|
357
357
|
} | {
|
|
358
358
|
type: "RETRY";
|
|
359
|
-
}, Record<string,
|
|
359
|
+
}, Record<string, xstate797.AnyActorRef | undefined>, xstate797.StateValue, string, unknown, any, any>, {
|
|
360
360
|
type: "LOAD";
|
|
361
361
|
} | {
|
|
362
362
|
type: "DATA_CHANGED";
|
|
@@ -369,7 +369,7 @@ declare const idOcrStateMachine: xstate802.StateMachine<IdOcrContext, {
|
|
|
369
369
|
type: "CONTINUE";
|
|
370
370
|
} | {
|
|
371
371
|
type: "RETRY";
|
|
372
|
-
},
|
|
372
|
+
}, xstate797.AnyEventObject>;
|
|
373
373
|
}) => {
|
|
374
374
|
config: IdOcrConfig;
|
|
375
375
|
formData: UpdateOcrDataParams;
|
|
@@ -405,7 +405,7 @@ declare const idOcrStateMachine: xstate802.StateMachine<IdOcrContext, {
|
|
|
405
405
|
} | {
|
|
406
406
|
type: "RETRY";
|
|
407
407
|
};
|
|
408
|
-
self:
|
|
408
|
+
self: xstate797.ActorRef<xstate797.MachineSnapshot<IdOcrContext, {
|
|
409
409
|
type: "LOAD";
|
|
410
410
|
} | {
|
|
411
411
|
type: "DATA_CHANGED";
|
|
@@ -418,7 +418,7 @@ declare const idOcrStateMachine: xstate802.StateMachine<IdOcrContext, {
|
|
|
418
418
|
type: "CONTINUE";
|
|
419
419
|
} | {
|
|
420
420
|
type: "RETRY";
|
|
421
|
-
}, Record<string,
|
|
421
|
+
}, Record<string, xstate797.AnyActorRef>, xstate797.StateValue, string, unknown, any, any>, {
|
|
422
422
|
type: "LOAD";
|
|
423
423
|
} | {
|
|
424
424
|
type: "DATA_CHANGED";
|
|
@@ -431,7 +431,7 @@ declare const idOcrStateMachine: xstate802.StateMachine<IdOcrContext, {
|
|
|
431
431
|
type: "CONTINUE";
|
|
432
432
|
} | {
|
|
433
433
|
type: "RETRY";
|
|
434
|
-
},
|
|
434
|
+
}, xstate797.AnyEventObject>;
|
|
435
435
|
}) => {
|
|
436
436
|
isSecondId: boolean;
|
|
437
437
|
};
|
|
@@ -510,7 +510,7 @@ declare const idOcrStateMachine: xstate802.StateMachine<IdOcrContext, {
|
|
|
510
510
|
} | {
|
|
511
511
|
type: "RETRY";
|
|
512
512
|
};
|
|
513
|
-
self:
|
|
513
|
+
self: xstate797.ActorRef<xstate797.MachineSnapshot<IdOcrContext, {
|
|
514
514
|
type: "LOAD";
|
|
515
515
|
} | {
|
|
516
516
|
type: "DATA_CHANGED";
|
|
@@ -523,7 +523,7 @@ declare const idOcrStateMachine: xstate802.StateMachine<IdOcrContext, {
|
|
|
523
523
|
type: "CONTINUE";
|
|
524
524
|
} | {
|
|
525
525
|
type: "RETRY";
|
|
526
|
-
}, Record<string,
|
|
526
|
+
}, Record<string, xstate797.AnyActorRef>, xstate797.StateValue, string, unknown, any, any>, {
|
|
527
527
|
type: "LOAD";
|
|
528
528
|
} | {
|
|
529
529
|
type: "DATA_CHANGED";
|
|
@@ -536,7 +536,7 @@ declare const idOcrStateMachine: xstate802.StateMachine<IdOcrContext, {
|
|
|
536
536
|
type: "CONTINUE";
|
|
537
537
|
} | {
|
|
538
538
|
type: "RETRY";
|
|
539
|
-
},
|
|
539
|
+
}, xstate797.AnyEventObject>;
|
|
540
540
|
}) => {
|
|
541
541
|
params: UpdateOcrDataParams;
|
|
542
542
|
isSecondId: boolean;
|
package/dist/identity-reuse.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-
|
|
1
|
+
import "./StateMachine-C_AY4cs7.js";
|
|
2
|
+
import "./Manager-CJ3G2zqi.js";
|
|
3
|
+
import "./Actor-CGEelYtQ.js";
|
|
4
|
+
import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-Ce17YMPa.js";
|
|
5
5
|
export { type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|