@incodetech/core 0.0.0-dev-20260414-db434be → 0.0.0-dev-20260415-432dcaa
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/{OpenViduRecordingProvider-CCUuM9nV.esm.js → OpenViduRecordingProvider-Ciy_C-1w.esm.js} +1 -1
- package/dist/{WasmUtilProvider-CYe0Xlh-.esm.js → WasmUtilProvider-RZBzkh7k.esm.js} +1 -1
- package/dist/{addressSearch-Ui2rQ1v-.esm.js → addressSearch-Cz9NYgko.esm.js} +4 -4
- package/dist/ae-signature.d.ts +24 -0
- package/dist/ae-signature.esm.js +15 -0
- package/dist/antifraud.d.ts +1 -1
- package/dist/antifraud.esm.js +4 -4
- package/dist/{antifraudStateMachine-ZNM45OSv.esm.js → antifraudStateMachine-CVr29EJh.esm.js} +3 -3
- package/dist/authentication.d.ts +11 -11
- package/dist/authentication.esm.js +22 -22
- package/dist/{authenticationManager-CwWzwxMp.esm.js → authenticationManager-BxcMxtQl.esm.js} +6 -6
- package/dist/{authenticationManager-BuWdnIab.d.ts → authenticationManager-CK4l8wr4.d.ts} +2 -2
- package/dist/{authenticationStateMachine-CAvcWS_b.esm.js → authenticationStateMachine-BWKN0R2c.esm.js} +6 -6
- package/dist/{backCameraStream-amVBjSd6.esm.js → backCameraStream-CpBKOMnS.esm.js} +3 -3
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +3 -3
- package/dist/consent.d.ts +55 -55
- package/dist/consent.esm.js +4 -4
- package/dist/{consentStateMachine-YbOlYveq.esm.js → consentStateMachine-DbBjzAXB.esm.js} +3 -3
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +4 -4
- package/dist/curp-validation.d.ts +5 -5
- package/dist/curp-validation.esm.js +4 -4
- package/dist/{curpValidationStateMachine-D3NZ1SVG.esm.js → curpValidationStateMachine-AuZoCjxU.esm.js} +3 -3
- package/dist/{deepsightLoader-BqeQIeno.esm.js → deepsightLoader-9DucrEFj.esm.js} +10 -10
- package/dist/{deepsightService-CNR9-7As.d.ts → deepsightService-C28DG6Ft.d.ts} +2 -2
- package/dist/{deepsightService-B14izXzw.esm.js → deepsightService-EaIu5DxV.esm.js} +5 -5
- package/dist/device.esm.js +3 -3
- package/dist/document-capture.d.ts +98 -106
- package/dist/document-capture.esm.js +8 -8
- package/dist/document-upload.d.ts +72 -72
- package/dist/document-upload.esm.js +7 -7
- package/dist/{documentCaptureStateMachine-CFNsZHSs.esm.js → documentCaptureStateMachine-DenkJZKV.esm.js} +14 -23
- package/dist/ekyb.d.ts +3 -3
- package/dist/ekyb.esm.js +10 -10
- package/dist/{ekybStateMachine-BJS8bjot.esm.js → ekybStateMachine-Cl7b0XCy.esm.js} +5 -5
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +6 -6
- package/dist/{ekycStateMachine-CYGpzMDd.esm.js → ekycStateMachine-aVfjxZ41.esm.js} +4 -4
- package/dist/electronicSignatureManager-BqePYetY.esm.js +432 -0
- package/dist/electronicSignatureManager-C6fUzNt6.d.ts +1153 -0
- package/dist/email.d.ts +3 -3
- package/dist/email.esm.js +6 -6
- package/dist/{emailManager-DT0plT1F.d.ts → emailManager-DAWpPgCJ.d.ts} +2 -2
- package/dist/{emailManager-BNmWTggA.esm.js → emailManager-DTYtzTYm.esm.js} +3 -3
- package/dist/{emailStateMachine-vD2VtYZM.esm.js → emailStateMachine-BHNluo0p.esm.js} +4 -4
- package/dist/{events-B3HfNWqp.esm.js → events-DmzL4OZZ.esm.js} +7 -1
- package/dist/events.d.ts +2 -0
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +15 -15
- package/dist/extensibility.esm.js +33 -33
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +4 -4
- package/dist/{faceCaptureManagerFactory-odfjA0d8.esm.js → faceCaptureManagerFactory-CJsHKhu8.esm.js} +2 -2
- package/dist/{faceCaptureManagerFactory-BBwp70tn.d.ts → faceCaptureManagerFactory-Car0SoBv.d.ts} +8 -8
- package/dist/{faceCaptureSetup-CdYYDgN6.esm.js → faceCaptureSetup-H3x5y_nm.esm.js} +4 -4
- package/dist/{faceMatchStateMachine-DptHGpKT.esm.js → faceMatchStateMachine-CmFGmxtP.esm.js} +3 -3
- package/dist/flow.d.ts +8 -8
- package/dist/flow.esm.js +9 -9
- package/dist/{flowCompletionService-BhzS182Y.esm.js → flowCompletionService-DvZhkDzr.esm.js} +2 -2
- package/dist/{flowServices-D_yVNocO.esm.js → flowServices-uftC020V.esm.js} +3 -3
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +5 -5
- package/dist/{geolocationStateMachine-DY8eWROq.esm.js → geolocationStateMachine-cw1LrE-R.esm.js} +4 -4
- package/dist/{getDeviceClass-CkdEWjAM.esm.js → getDeviceClass-DvSG23zt.esm.js} +1 -1
- package/dist/government-validation.d.ts +2 -2
- package/dist/government-validation.esm.js +5 -5
- package/dist/{governmentValidationStateMachine-DCqdkm8Z.esm.js → governmentValidationStateMachine-B5X079V6.esm.js} +4 -4
- package/dist/home.d.ts +14 -14
- package/dist/home.esm.js +3 -3
- package/dist/http.esm.js +1 -1
- package/dist/id.d.ts +10 -10
- package/dist/id.esm.js +22 -22
- package/dist/{idCaptureManager-_e78xuEM.esm.js → idCaptureManager-B0ipfrTC.esm.js} +4 -4
- package/dist/{idCaptureManager-D1MiNNuR.d.ts → idCaptureManager-C2y_hNL4.d.ts} +7 -7
- package/dist/{idCaptureStateMachine-CYPfS8iO.esm.js → idCaptureStateMachine-aKKT9PIC.esm.js} +16 -16
- package/dist/identity-reuse.d.ts +49 -49
- package/dist/identity-reuse.esm.js +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +8 -8
- package/dist/{lib-BcTqNgYu.esm.js → lib-CTYFcYOn.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +59 -59
- package/dist/mandatory-consent.esm.js +4 -4
- package/dist/{mandatoryConsentStateMachine-D0weA8Cn.esm.js → mandatoryConsentStateMachine-BqOdr8kI.esm.js} +3 -3
- package/dist/openviduLazy-CYWQSgV9.esm.js +3 -0
- package/dist/{openviduLazy-BiBkiXcn.esm.js → openviduLazy-CsZvAzAX.esm.js} +2 -2
- package/dist/{permissionServices-ElKNJ-9J.esm.js → permissionServices-CMsg2Z9E.esm.js} +2 -2
- package/dist/phone.d.ts +3 -3
- package/dist/phone.esm.js +6 -6
- package/dist/{phoneManager-BxWESUBK.d.ts → phoneManager-Bj2WG_9H.d.ts} +2 -2
- package/dist/{phoneManager-CRVt9rvr.esm.js → phoneManager-DMlXPxkM.esm.js} +3 -3
- package/dist/{phoneStateMachine-BMTT0tvu.esm.js → phoneStateMachine-DOySziDt.esm.js} +4 -4
- package/dist/qe-signature.d.ts +24 -0
- package/dist/qe-signature.esm.js +15 -0
- package/dist/{recordingService-BNOxJMAM.esm.js → recordingService-BmI8K0rU.esm.js} +13 -13
- package/dist/redirect-to-mobile.d.ts +2 -2
- package/dist/redirect-to-mobile.esm.js +5 -5
- package/dist/{redirectToMobileStateMachine-8yOC9dnH.esm.js → redirectToMobileStateMachine-Df9Wiij3.esm.js} +4 -4
- package/dist/{runChildModule-eBqC5Z25.esm.js → runChildModule-BdmUJlUx.esm.js} +1 -1
- package/dist/selfie.d.ts +11 -11
- package/dist/selfie.esm.js +22 -22
- package/dist/{selfieManager-B7XmNptL.d.ts → selfieManager-C3FdEHmA.d.ts} +2 -2
- package/dist/{selfieManager-C6pl5f2B.esm.js → selfieManager-_Vz0tGue.esm.js} +6 -6
- package/dist/{selfieStateMachine-B88Q3SFX.esm.js → selfieStateMachine-Dt_3P1iP.esm.js} +3 -3
- package/dist/{session-D2s2kUoa.esm.js → session-DCwK8lml.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +6 -6
- package/dist/{setup-DR4SBtyZ.d.ts → setup-C9KXCo_m.d.ts} +1 -1
- package/dist/{setup-nE0hEkGl.esm.js → setup-TyKY9awM.esm.js} +5 -5
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +4 -4
- package/dist/{signatureStateMachine-BOdPhzPM.esm.js → signatureStateMachine-D3QtzFAx.esm.js} +3 -3
- package/dist/{stats-D0m-GAIR.esm.js → stats-nPGKzcyf.esm.js} +1 -1
- package/dist/stats.esm.js +2 -2
- package/dist/{types-DR5Xxm-c.d.ts → types-C6RDNA3x.d.ts} +1 -1
- package/dist/{types-BoV6HZZE.d.ts → types-DoaP1d4y.d.ts} +1 -1
- package/dist/{types-vklwHgIM.d.ts → types-Dt0PX_G8.d.ts} +1 -1
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +8 -8
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +3 -3
- package/dist/workflow.d.ts +86 -86
- package/dist/workflow.esm.js +41 -41
- package/package.json +13 -1
- package/dist/openviduLazy-CrjlHYIL.esm.js +0 -3
- /package/dist/{Actor-iMyH_hBY.d.ts → Actor-3i5cyga0.d.ts} +0 -0
- /package/dist/{BaseWasmProvider-DFM6aa1Z.esm.js → BaseWasmProvider-RaPH9kjo.esm.js} +0 -0
- /package/dist/{BrowserEnvironmentProvider-4Vr7ceoW.esm.js → BrowserEnvironmentProvider-CcXAZs6A.esm.js} +0 -0
- /package/dist/{BrowserStorageProvider-Dp9k9EzW.esm.js → BrowserStorageProvider-Dhz61PBs.esm.js} +0 -0
- /package/dist/{BrowserTimerProvider-BfL0cWbj.esm.js → BrowserTimerProvider-evgXyST-.esm.js} +0 -0
- /package/dist/{ITimerCapability-_YySEUj7.esm.js → ITimerCapability-3xSd36bT.esm.js} +0 -0
- /package/dist/{Manager-BzPNdMJn.d.ts → Manager-JJUrroR5.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-Bi6DuLLP.esm.js → MotionSensorProvider-68EX-ga5.esm.js} +0 -0
- /package/dist/{StateMachine-DIeoDJ7r.d.ts → StateMachine-BgnvBNw_.d.ts} +0 -0
- /package/dist/{api-CGdjmBzR.esm.js → api-Dp5p_Y6w.esm.js} +0 -0
- /package/dist/{browserSimulation-D9FTZt0Z.esm.js → browserSimulation-CPICg9y_.esm.js} +0 -0
- /package/dist/{camera-C4T2nh2F.esm.js → camera-B8eOgxVH.esm.js} +0 -0
- /package/dist/{camera-DdgjYGQh.d.ts → camera-CXTjb-hl.d.ts} +0 -0
- /package/dist/{chunk-CT7w1OiQ.esm.js → chunk-B08Z0byF.esm.js} +0 -0
- /package/dist/{displayErrors-CGztf2Nk.d.ts → displayErrors-BmAb2BTD.d.ts} +0 -0
- /package/dist/{flowCompletionService-CNpeRlnP.d.ts → flowCompletionService-B91gpDV1.d.ts} +0 -0
- /package/dist/{getBrowser-DR_WEE3I.esm.js → getBrowser-CWOVfVnz.esm.js} +0 -0
- /package/dist/{platform-B81QvKKx.esm.js → platform-CvkRGlos.esm.js} +0 -0
- /package/dist/{types-Bo7LR34d.d.ts → types-DOxS53jV.d.ts} +0 -0
- /package/dist/{warmup-C5bT21Jo.d.ts → warmup-BOX_DSYX.d.ts} +0 -0
- /package/dist/{xstate.esm-DW_uPCba.esm.js → xstate.esm-CitJJ2CJ.esm.js} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import "./camera-
|
|
4
|
-
import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-
|
|
5
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-JJUrroR5.js";
|
|
2
|
+
import "./Actor-3i5cyga0.js";
|
|
3
|
+
import "./camera-CXTjb-hl.js";
|
|
4
|
+
import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-Dt0PX_G8.js";
|
|
5
|
+
import * as xstate483 from "xstate";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/document-upload/documentUploadStateMachine.d.ts
|
|
8
|
-
declare const documentUploadMachine:
|
|
8
|
+
declare const documentUploadMachine: xstate483.StateMachine<DocumentUploadContext, {
|
|
9
9
|
type: "START";
|
|
10
10
|
} | {
|
|
11
11
|
type: "CAPTURE";
|
|
@@ -18,121 +18,121 @@ declare const documentUploadMachine: xstate164.StateMachine<DocumentUploadContex
|
|
|
18
18
|
} | {
|
|
19
19
|
type: "CLOSE";
|
|
20
20
|
}, {
|
|
21
|
-
[x: string]:
|
|
21
|
+
[x: string]: xstate483.ActorRefFromLogic<xstate483.PromiseActorLogic<void, {
|
|
22
22
|
imageBase64: string;
|
|
23
23
|
documentType: string;
|
|
24
24
|
onProgress: (progress: number) => void;
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
initCamera: {
|
|
28
|
-
src: "initCamera";
|
|
29
|
-
logic: xstate164.PromiseActorLogic<MediaStream, void, xstate164.EventObject>;
|
|
30
|
-
id: string | undefined;
|
|
31
|
-
};
|
|
25
|
+
}, xstate483.EventObject>> | xstate483.ActorRefFromLogic<xstate483.PromiseActorLogic<MediaStream, void, xstate483.EventObject>> | undefined;
|
|
26
|
+
}, xstate483.Values<{
|
|
32
27
|
uploadDocument: {
|
|
33
28
|
src: "uploadDocument";
|
|
34
|
-
logic:
|
|
29
|
+
logic: xstate483.PromiseActorLogic<void, {
|
|
35
30
|
imageBase64: string;
|
|
36
31
|
documentType: string;
|
|
37
32
|
onProgress: (progress: number) => void;
|
|
38
|
-
},
|
|
33
|
+
}, xstate483.EventObject>;
|
|
39
34
|
id: string | undefined;
|
|
40
35
|
};
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
initCamera: {
|
|
37
|
+
src: "initCamera";
|
|
38
|
+
logic: xstate483.PromiseActorLogic<MediaStream, void, xstate483.EventObject>;
|
|
39
|
+
id: string | undefined;
|
|
45
40
|
};
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
41
|
+
}>, xstate483.Values<{
|
|
42
|
+
setError: {
|
|
43
|
+
type: "setError";
|
|
44
|
+
params: xstate483.NonReducibleUnknown;
|
|
49
45
|
};
|
|
50
46
|
clearError: {
|
|
51
47
|
type: "clearError";
|
|
52
|
-
params:
|
|
48
|
+
params: xstate483.NonReducibleUnknown;
|
|
53
49
|
};
|
|
54
|
-
|
|
55
|
-
type: "
|
|
56
|
-
params:
|
|
57
|
-
};
|
|
58
|
-
setError: {
|
|
59
|
-
type: "setError";
|
|
60
|
-
params: xstate164.NonReducibleUnknown;
|
|
50
|
+
setStream: {
|
|
51
|
+
type: "setStream";
|
|
52
|
+
params: xstate483.NonReducibleUnknown;
|
|
61
53
|
};
|
|
62
54
|
setImageAndClearError: {
|
|
63
55
|
type: "setImageAndClearError";
|
|
64
|
-
params:
|
|
56
|
+
params: xstate483.NonReducibleUnknown;
|
|
65
57
|
};
|
|
66
|
-
|
|
58
|
+
setProgress: {
|
|
59
|
+
type: "setProgress";
|
|
60
|
+
params: xstate483.NonReducibleUnknown;
|
|
61
|
+
};
|
|
62
|
+
stopStream: {
|
|
63
|
+
type: "stopStream";
|
|
64
|
+
params: xstate483.NonReducibleUnknown;
|
|
65
|
+
};
|
|
66
|
+
}>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "initCamera" | "capturing", string, DocumentUploadInput, xstate483.NonReducibleUnknown, xstate483.EventObject, xstate483.MetaObject, {
|
|
67
67
|
readonly id: "documentUpload";
|
|
68
68
|
readonly initial: "idle";
|
|
69
69
|
readonly context: ({
|
|
70
70
|
input
|
|
71
71
|
}: {
|
|
72
72
|
spawn: {
|
|
73
|
-
<TSrc extends "
|
|
74
|
-
src: "
|
|
75
|
-
logic:
|
|
73
|
+
<TSrc extends "uploadDocument" | "initCamera">(logic: TSrc, ...[options]: ({
|
|
74
|
+
src: "uploadDocument";
|
|
75
|
+
logic: xstate483.PromiseActorLogic<void, {
|
|
76
|
+
imageBase64: string;
|
|
77
|
+
documentType: string;
|
|
78
|
+
onProgress: (progress: number) => void;
|
|
79
|
+
}, xstate483.EventObject>;
|
|
76
80
|
id: string | undefined;
|
|
77
81
|
} extends infer T ? T extends {
|
|
78
|
-
src: "
|
|
79
|
-
logic:
|
|
82
|
+
src: "uploadDocument";
|
|
83
|
+
logic: xstate483.PromiseActorLogic<void, {
|
|
84
|
+
imageBase64: string;
|
|
85
|
+
documentType: string;
|
|
86
|
+
onProgress: (progress: number) => void;
|
|
87
|
+
}, xstate483.EventObject>;
|
|
80
88
|
id: string | undefined;
|
|
81
89
|
} ? T extends {
|
|
82
90
|
src: TSrc;
|
|
83
|
-
} ?
|
|
91
|
+
} ? xstate483.ConditionalRequired<[options?: ({
|
|
84
92
|
id?: T["id"] | undefined;
|
|
85
93
|
systemId?: string;
|
|
86
|
-
input?:
|
|
94
|
+
input?: xstate483.InputFrom<T["logic"]> | undefined;
|
|
87
95
|
syncSnapshot?: boolean;
|
|
88
|
-
} & { [K in
|
|
89
|
-
src: "
|
|
90
|
-
logic:
|
|
91
|
-
imageBase64: string;
|
|
92
|
-
documentType: string;
|
|
93
|
-
onProgress: (progress: number) => void;
|
|
94
|
-
}, xstate164.EventObject>;
|
|
96
|
+
} & { [K in xstate483.RequiredActorOptions<T>]: unknown }) | undefined], xstate483.IsNotNever<xstate483.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
97
|
+
src: "initCamera";
|
|
98
|
+
logic: xstate483.PromiseActorLogic<MediaStream, void, xstate483.EventObject>;
|
|
95
99
|
id: string | undefined;
|
|
96
100
|
} extends infer T_1 ? T_1 extends {
|
|
97
|
-
src: "
|
|
98
|
-
logic:
|
|
99
|
-
imageBase64: string;
|
|
100
|
-
documentType: string;
|
|
101
|
-
onProgress: (progress: number) => void;
|
|
102
|
-
}, xstate164.EventObject>;
|
|
101
|
+
src: "initCamera";
|
|
102
|
+
logic: xstate483.PromiseActorLogic<MediaStream, void, xstate483.EventObject>;
|
|
103
103
|
id: string | undefined;
|
|
104
104
|
} ? T_1 extends {
|
|
105
105
|
src: TSrc;
|
|
106
|
-
} ?
|
|
106
|
+
} ? xstate483.ConditionalRequired<[options?: ({
|
|
107
107
|
id?: T_1["id"] | undefined;
|
|
108
108
|
systemId?: string;
|
|
109
|
-
input?:
|
|
109
|
+
input?: xstate483.InputFrom<T_1["logic"]> | undefined;
|
|
110
110
|
syncSnapshot?: boolean;
|
|
111
|
-
} & { [K_1 in
|
|
112
|
-
initCamera: {
|
|
113
|
-
src: "initCamera";
|
|
114
|
-
logic: xstate164.PromiseActorLogic<MediaStream, void, xstate164.EventObject>;
|
|
115
|
-
id: string | undefined;
|
|
116
|
-
};
|
|
111
|
+
} & { [K_1 in xstate483.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate483.IsNotNever<xstate483.RequiredActorOptions<T_1>>> : never : never : never)): xstate483.ActorRefFromLogic<xstate483.GetConcreteByKey<xstate483.Values<{
|
|
117
112
|
uploadDocument: {
|
|
118
113
|
src: "uploadDocument";
|
|
119
|
-
logic:
|
|
114
|
+
logic: xstate483.PromiseActorLogic<void, {
|
|
120
115
|
imageBase64: string;
|
|
121
116
|
documentType: string;
|
|
122
117
|
onProgress: (progress: number) => void;
|
|
123
|
-
},
|
|
118
|
+
}, xstate483.EventObject>;
|
|
119
|
+
id: string | undefined;
|
|
120
|
+
};
|
|
121
|
+
initCamera: {
|
|
122
|
+
src: "initCamera";
|
|
123
|
+
logic: xstate483.PromiseActorLogic<MediaStream, void, xstate483.EventObject>;
|
|
124
124
|
id: string | undefined;
|
|
125
125
|
};
|
|
126
126
|
}>, "src", TSrc>["logic"]>;
|
|
127
|
-
<TLogic extends
|
|
127
|
+
<TLogic extends xstate483.AnyActorLogic>(src: TLogic, ...[options]: xstate483.ConditionalRequired<[options?: ({
|
|
128
128
|
id?: never;
|
|
129
129
|
systemId?: string;
|
|
130
|
-
input?:
|
|
130
|
+
input?: xstate483.InputFrom<TLogic> | undefined;
|
|
131
131
|
syncSnapshot?: boolean;
|
|
132
|
-
} & { [K in
|
|
132
|
+
} & { [K in xstate483.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate483.IsNotNever<xstate483.RequiredLogicInput<TLogic>>>): xstate483.ActorRefFromLogic<TLogic>;
|
|
133
133
|
};
|
|
134
134
|
input: DocumentUploadInput;
|
|
135
|
-
self:
|
|
135
|
+
self: xstate483.ActorRef<xstate483.MachineSnapshot<DocumentUploadContext, {
|
|
136
136
|
type: "START";
|
|
137
137
|
} | {
|
|
138
138
|
type: "CAPTURE";
|
|
@@ -144,7 +144,7 @@ declare const documentUploadMachine: xstate164.StateMachine<DocumentUploadContex
|
|
|
144
144
|
type: "RETRY";
|
|
145
145
|
} | {
|
|
146
146
|
type: "CLOSE";
|
|
147
|
-
}, Record<string,
|
|
147
|
+
}, Record<string, xstate483.AnyActorRef | undefined>, xstate483.StateValue, string, unknown, any, any>, {
|
|
148
148
|
type: "START";
|
|
149
149
|
} | {
|
|
150
150
|
type: "CAPTURE";
|
|
@@ -156,7 +156,7 @@ declare const documentUploadMachine: xstate164.StateMachine<DocumentUploadContex
|
|
|
156
156
|
type: "RETRY";
|
|
157
157
|
} | {
|
|
158
158
|
type: "CLOSE";
|
|
159
|
-
},
|
|
159
|
+
}, xstate483.AnyEventObject>;
|
|
160
160
|
}) => {
|
|
161
161
|
config: DocumentUploadConfig;
|
|
162
162
|
stream: undefined;
|
|
@@ -226,7 +226,7 @@ declare const documentUploadMachine: xstate164.StateMachine<DocumentUploadContex
|
|
|
226
226
|
} | {
|
|
227
227
|
type: "CLOSE";
|
|
228
228
|
};
|
|
229
|
-
self:
|
|
229
|
+
self: xstate483.ActorRef<xstate483.MachineSnapshot<DocumentUploadContext, {
|
|
230
230
|
type: "START";
|
|
231
231
|
} | {
|
|
232
232
|
type: "CAPTURE";
|
|
@@ -238,7 +238,7 @@ declare const documentUploadMachine: xstate164.StateMachine<DocumentUploadContex
|
|
|
238
238
|
type: "RETRY";
|
|
239
239
|
} | {
|
|
240
240
|
type: "CLOSE";
|
|
241
|
-
}, Record<string,
|
|
241
|
+
}, Record<string, xstate483.AnyActorRef>, xstate483.StateValue, string, unknown, any, any>, {
|
|
242
242
|
type: "START";
|
|
243
243
|
} | {
|
|
244
244
|
type: "CAPTURE";
|
|
@@ -250,7 +250,7 @@ declare const documentUploadMachine: xstate164.StateMachine<DocumentUploadContex
|
|
|
250
250
|
type: "RETRY";
|
|
251
251
|
} | {
|
|
252
252
|
type: "CLOSE";
|
|
253
|
-
},
|
|
253
|
+
}, xstate483.AnyEventObject>;
|
|
254
254
|
}) => {
|
|
255
255
|
imageBase64: string;
|
|
256
256
|
documentType: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints, n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-
|
|
4
|
-
import { i as stopCameraStream } from "./camera-
|
|
5
|
-
import "./platform-
|
|
6
|
-
import "./ITimerCapability-
|
|
7
|
-
import { t as getBackCameraStream } from "./backCameraStream-
|
|
1
|
+
import { t as api } from "./api-Dp5p_Y6w.esm.js";
|
|
2
|
+
import { _ as endpoints, n as eventModuleNames, o as createManagerInstrumentation } from "./events-DmzL4OZZ.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-CitJJ2CJ.esm.js";
|
|
4
|
+
import { i as stopCameraStream } from "./camera-B8eOgxVH.esm.js";
|
|
5
|
+
import "./platform-CvkRGlos.esm.js";
|
|
6
|
+
import "./ITimerCapability-3xSd36bT.esm.js";
|
|
7
|
+
import { t as getBackCameraStream } from "./backCameraStream-CpBKOMnS.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/document-upload/documentUploadServices.ts
|
|
10
10
|
async function uploadDocument({ imageBase64, documentType, onProgress, signal }) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
3
|
-
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { i as stopCameraStream } from "./camera-
|
|
5
|
-
import { t as getBackCameraStream } from "./backCameraStream-
|
|
1
|
+
import { t as api } from "./api-Dp5p_Y6w.esm.js";
|
|
2
|
+
import { _ as endpoints } from "./events-DmzL4OZZ.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-CitJJ2CJ.esm.js";
|
|
4
|
+
import { i as stopCameraStream } from "./camera-B8eOgxVH.esm.js";
|
|
5
|
+
import { t as getBackCameraStream } from "./backCameraStream-CpBKOMnS.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/document-capture/types.ts
|
|
8
8
|
const PROCESSING_TYPE_MAP = {
|
|
@@ -169,7 +169,6 @@ const documentCaptureMachine = setup({
|
|
|
169
169
|
},
|
|
170
170
|
canRetryCamera: ({ context }) => context.attemptsRemaining > 0 && context.captureMethod === "camera",
|
|
171
171
|
canRetryFile: ({ context }) => context.attemptsRemaining > 0 && context.captureMethod !== "camera",
|
|
172
|
-
canRetryNextDocumentCapture: ({ context }) => context.attemptsRemaining > 0 && context.nextPageType === "optional",
|
|
173
172
|
attemptsExhausted: ({ context }) => context.attemptsRemaining <= 0,
|
|
174
173
|
isCameraMode: ({ context }) => context.config.captureMode === "camera",
|
|
175
174
|
isCaptureMethodCamera: ({ context }) => context.captureMethod === "camera",
|
|
@@ -370,23 +369,15 @@ const documentCaptureMachine = setup({
|
|
|
370
369
|
} },
|
|
371
370
|
failure: {
|
|
372
371
|
on: {
|
|
373
|
-
RETRY: [
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
actions: ["clearError", "clearCapturedDocument"]
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
target: "tutorial",
|
|
386
|
-
guard: "canRetryFile",
|
|
387
|
-
actions: ["clearError", "clearCapturedDocument"]
|
|
388
|
-
}
|
|
389
|
-
],
|
|
372
|
+
RETRY: [{
|
|
373
|
+
target: "initCamera",
|
|
374
|
+
guard: "canRetryCamera",
|
|
375
|
+
actions: ["clearError", "clearCapturedDocument"]
|
|
376
|
+
}, {
|
|
377
|
+
target: "tutorial",
|
|
378
|
+
guard: "canRetryFile",
|
|
379
|
+
actions: ["clearError", "clearCapturedDocument"]
|
|
380
|
+
}],
|
|
390
381
|
CLOSE: { target: "closed" }
|
|
391
382
|
},
|
|
392
383
|
after: { 3e3: {
|
package/dist/ekyb.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-
|
|
1
|
+
import { t as Manager } from "./Manager-JJUrroR5.js";
|
|
2
|
+
import "./Actor-3i5cyga0.js";
|
|
3
|
+
import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-BmAb2BTD.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/ekyb/types.d.ts
|
|
6
6
|
type UboEntry = {
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import "./session-
|
|
4
|
-
import "./BrowserEnvironmentProvider-
|
|
5
|
-
import "./browserSimulation-
|
|
6
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
7
|
-
import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as computeDisplayErrors, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-
|
|
8
|
-
import "./addressSearch-
|
|
9
|
-
import "./flowServices-
|
|
10
|
-
import "./BrowserTimerProvider-
|
|
1
|
+
import "./api-Dp5p_Y6w.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DmzL4OZZ.esm.js";
|
|
3
|
+
import "./session-DCwK8lml.esm.js";
|
|
4
|
+
import "./BrowserEnvironmentProvider-CcXAZs6A.esm.js";
|
|
5
|
+
import "./browserSimulation-CPICg9y_.esm.js";
|
|
6
|
+
import { a as createActor, o as createManager } from "./xstate.esm-CitJJ2CJ.esm.js";
|
|
7
|
+
import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as computeDisplayErrors, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-Cl7b0XCy.esm.js";
|
|
8
|
+
import "./addressSearch-Cz9NYgko.esm.js";
|
|
9
|
+
import "./flowServices-uftC020V.esm.js";
|
|
10
|
+
import "./BrowserTimerProvider-evgXyST-.esm.js";
|
|
11
11
|
|
|
12
12
|
//#region src/modules/ekyb/ekybActor.ts
|
|
13
13
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
3
|
-
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-
|
|
5
|
-
import { t as getFlow } from "./flowServices-
|
|
1
|
+
import { t as api } from "./api-Dp5p_Y6w.esm.js";
|
|
2
|
+
import { _ as endpoints } from "./events-DmzL4OZZ.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-CitJJ2CJ.esm.js";
|
|
4
|
+
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-Cz9NYgko.esm.js";
|
|
5
|
+
import { t as getFlow } from "./flowServices-uftC020V.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/ekyb/ekybConstants.ts
|
|
8
8
|
const UBO_INPUT_LIMIT = 8;
|
package/dist/ekyc.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-
|
|
1
|
+
import { t as Manager } from "./Manager-JJUrroR5.js";
|
|
2
|
+
import "./Actor-3i5cyga0.js";
|
|
3
|
+
import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-BmAb2BTD.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/ekyc/types.d.ts
|
|
6
6
|
type EkycFieldSource = 'user_input' | 'document_scan' | 'poa_document' | 'phone_module_input' | 'email_module_input' | false;
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
4
|
-
import "./addressSearch-
|
|
5
|
-
import "./BrowserTimerProvider-
|
|
6
|
-
import { n as computeDisplayErrors, t as ekycMachine } from "./ekycStateMachine-
|
|
1
|
+
import "./api-Dp5p_Y6w.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DmzL4OZZ.esm.js";
|
|
3
|
+
import { a as createActor, o as createManager } from "./xstate.esm-CitJJ2CJ.esm.js";
|
|
4
|
+
import "./addressSearch-Cz9NYgko.esm.js";
|
|
5
|
+
import "./BrowserTimerProvider-evgXyST-.esm.js";
|
|
6
|
+
import { n as computeDisplayErrors, t as ekycMachine } from "./ekycStateMachine-aVfjxZ41.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/ekyc/ekycActor.ts
|
|
9
9
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
3
|
-
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-
|
|
1
|
+
import { t as api } from "./api-Dp5p_Y6w.esm.js";
|
|
2
|
+
import { _ as endpoints } from "./events-DmzL4OZZ.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-CitJJ2CJ.esm.js";
|
|
4
|
+
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-Cz9NYgko.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/ekyc/ekycConsts.ts
|
|
7
7
|
const COUNTRY_SELECTOR_DISABLED_SOURCES = ["UK_VOTER_REGISTER"];
|