@incodetech/core 2.1.0-rc.5 → 2.1.0-rc.7
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/ae-signature.d.ts +1 -1
- package/dist/authentication.esm.js +7 -7
- package/dist/{authenticationManager-BN5MY-hj.esm.js → authenticationManager-17bd_Z9U.esm.js} +2 -2
- package/dist/{authenticationStateMachine-C9Ie077T.esm.js → authenticationStateMachine-C1gzVXNa.esm.js} +2 -2
- package/dist/{backCameraStream-uixCSgiq.esm.js → backCameraStream-Cz2EvzSR.esm.js} +5 -9
- package/dist/certificate-issuance.d.ts +28 -28
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-Ccwh6xMM.d.ts → consentManager-Dm7XlFdn.d.ts} +50 -50
- package/dist/cpf-ocr.d.ts +1 -1
- package/dist/{cpfOcrManager-CXf5PhZ6.d.ts → cpfOcrManager-C-ERGj6N.d.ts} +17 -17
- package/dist/{deepsightLoader-mHrOfFNb.esm.js → deepsightLoader-DqlIUPrj.esm.js} +1 -1
- package/dist/document-capture.d.ts +170 -170
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-upload.d.ts +43 -43
- package/dist/document-upload.esm.js +1 -1
- package/dist/{documentCaptureStateMachine-4p5MuzfS.esm.js → documentCaptureStateMachine-C9Sk-unD.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybStateMachine-BVsSys9P.esm.js → ekybStateMachine-BDa_tGBH.esm.js} +1 -1
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/extensibility.d.ts +5 -5
- package/dist/extensibility.esm.js +12 -12
- package/dist/{faceCaptureManagerFactory-BjtXPUp3.esm.js → faceCaptureManagerFactory-CRWXHC8j.esm.js} +1 -1
- package/dist/{faceCaptureSetup-DMUHOk1F.esm.js → faceCaptureSetup-yl7zgxtM.esm.js} +2 -2
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +2 -2
- package/dist/{flowServices-nnIjcwZD.esm.js → flowServices-Z97pj5ep.esm.js} +1 -1
- package/dist/home.d.ts +10 -10
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-verification.d.ts +25 -25
- package/dist/id.esm.js +6 -6
- package/dist/{idCaptureManager-DgwTu2Ad.esm.js → idCaptureManager-Dj8Vw4vr.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-C_LkJ5Cv.esm.js → idCaptureStateMachine-BFiLYndJ.esm.js} +5 -5
- package/dist/{idOcrManager-4y4ch6fe.d.ts → idOcrManager-vEkl54iG.d.ts} +52 -52
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-CBcBvR0M.d.ts → identityReuseManager-DrbnHoyP.d.ts} +31 -31
- package/dist/{index-DFYycWvJ.d.ts → index-7V7_LFeQ.d.ts} +150 -150
- package/dist/index.esm.js +2 -2
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-D4EeVURE.d.ts → mandatoryConsentManager-BsMBuMFG.d.ts} +50 -50
- package/dist/{onDeviceFaceResults-BFhwH1Ba.esm.js → onDeviceFaceResults-DWNLuS4Z.esm.js} +2 -2
- package/dist/personhood.esm.js +3 -3
- package/dist/qe-signature.d.ts +1 -1
- package/dist/{recordingService-CflL9aAS.esm.js → recordingService-PNSJ4st1.esm.js} +1 -1
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieManager-vgJaCuGq.esm.js → selfieManager-DckBAZ7A.esm.js} +2 -2
- package/dist/{selfieStateMachine-BrxBZpXx.esm.js → selfieStateMachine-CbDLoh_B.esm.js} +2 -2
- package/dist/session.esm.js +1 -1
- package/dist/{sessionInitializer-IghS6XM8.esm.js → sessionInitializer-BGwtW8sP.esm.js} +1 -1
- package/dist/{setup-BvUZozWd.esm.js → setup-BvMIY6oC.esm.js} +1 -1
- package/dist/trust-graph.d.ts +2 -2
- package/dist/video-selfie.d.ts +5 -3
- package/dist/video-selfie.esm.js +79 -65
- package/dist/wasm.esm.js +2 -2
- package/dist/workflow.d.ts +156 -156
- package/dist/workflow.esm.js +11 -11
- package/package.json +3 -3
|
@@ -8,9 +8,9 @@ import "./MotionSensorProvider-BkHKMCPE.esm.js";
|
|
|
8
8
|
import "./permissionServices-D9lmzFYc.esm.js";
|
|
9
9
|
import "./camera-B0yWS33x.esm.js";
|
|
10
10
|
import "./ITimerCapability-G7lQg-be.esm.js";
|
|
11
|
-
import "./backCameraStream-
|
|
11
|
+
import "./backCameraStream-Cz2EvzSR.esm.js";
|
|
12
12
|
import "./permissionGuards-CaZl9t7f.esm.js";
|
|
13
|
-
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
13
|
+
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-C9Sk-unD.esm.js";
|
|
14
14
|
|
|
15
15
|
//#region src/modules/document-capture/documentCaptureActor.ts
|
|
16
16
|
function createDocumentCaptureActor(options) {
|
|
@@ -3,10 +3,10 @@ import { t as Manager } from "./Manager-BfBOhrjh.js";
|
|
|
3
3
|
import "./Actor-DYjXVMQm.js";
|
|
4
4
|
import "./camera-CWO06Lu5.js";
|
|
5
5
|
import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-B_YCuHZx.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as xstate768 from "xstate";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/document-upload/documentUploadStateMachine.d.ts
|
|
9
|
-
declare const documentUploadMachine:
|
|
9
|
+
declare const documentUploadMachine: xstate768.StateMachine<DocumentUploadContext, {
|
|
10
10
|
type: "START";
|
|
11
11
|
} | {
|
|
12
12
|
type: "CAPTURE";
|
|
@@ -19,52 +19,52 @@ declare const documentUploadMachine: xstate23.StateMachine<DocumentUploadContext
|
|
|
19
19
|
} | {
|
|
20
20
|
type: "CLOSE";
|
|
21
21
|
}, {
|
|
22
|
-
[x: string]:
|
|
22
|
+
[x: string]: xstate768.ActorRefFromLogic<xstate768.PromiseActorLogic<void, {
|
|
23
23
|
imageBase64: string;
|
|
24
24
|
documentType: string;
|
|
25
25
|
onProgress: (progress: number) => void;
|
|
26
|
-
},
|
|
27
|
-
},
|
|
26
|
+
}, xstate768.EventObject>> | xstate768.ActorRefFromLogic<xstate768.PromiseActorLogic<MediaStream, void, xstate768.EventObject>> | undefined;
|
|
27
|
+
}, xstate768.Values<{
|
|
28
28
|
uploadDocument: {
|
|
29
29
|
src: "uploadDocument";
|
|
30
|
-
logic:
|
|
30
|
+
logic: xstate768.PromiseActorLogic<void, {
|
|
31
31
|
imageBase64: string;
|
|
32
32
|
documentType: string;
|
|
33
33
|
onProgress: (progress: number) => void;
|
|
34
|
-
},
|
|
34
|
+
}, xstate768.EventObject>;
|
|
35
35
|
id: string | undefined;
|
|
36
36
|
};
|
|
37
37
|
initCamera: {
|
|
38
38
|
src: "initCamera";
|
|
39
|
-
logic:
|
|
39
|
+
logic: xstate768.PromiseActorLogic<MediaStream, void, xstate768.EventObject>;
|
|
40
40
|
id: string | undefined;
|
|
41
41
|
};
|
|
42
|
-
}>,
|
|
42
|
+
}>, xstate768.Values<{
|
|
43
|
+
setError: {
|
|
44
|
+
type: "setError";
|
|
45
|
+
params: xstate768.NonReducibleUnknown;
|
|
46
|
+
};
|
|
43
47
|
setStream: {
|
|
44
48
|
type: "setStream";
|
|
45
|
-
params:
|
|
49
|
+
params: xstate768.NonReducibleUnknown;
|
|
46
50
|
};
|
|
47
51
|
setImageAndClearError: {
|
|
48
52
|
type: "setImageAndClearError";
|
|
49
|
-
params:
|
|
53
|
+
params: xstate768.NonReducibleUnknown;
|
|
50
54
|
};
|
|
51
55
|
setProgress: {
|
|
52
56
|
type: "setProgress";
|
|
53
|
-
params:
|
|
54
|
-
};
|
|
55
|
-
setError: {
|
|
56
|
-
type: "setError";
|
|
57
|
-
params: xstate23.NonReducibleUnknown;
|
|
57
|
+
params: xstate768.NonReducibleUnknown;
|
|
58
58
|
};
|
|
59
59
|
clearError: {
|
|
60
60
|
type: "clearError";
|
|
61
|
-
params:
|
|
61
|
+
params: xstate768.NonReducibleUnknown;
|
|
62
62
|
};
|
|
63
63
|
stopStream: {
|
|
64
64
|
type: "stopStream";
|
|
65
|
-
params:
|
|
65
|
+
params: xstate768.NonReducibleUnknown;
|
|
66
66
|
};
|
|
67
|
-
}>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "initCamera" | "capturing", string, DocumentUploadInput,
|
|
67
|
+
}>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "initCamera" | "capturing", string, DocumentUploadInput, xstate768.NonReducibleUnknown, xstate768.EventObject, xstate768.MetaObject, {
|
|
68
68
|
readonly id: "documentUpload";
|
|
69
69
|
readonly initial: "idle";
|
|
70
70
|
readonly context: ({
|
|
@@ -73,67 +73,67 @@ declare const documentUploadMachine: xstate23.StateMachine<DocumentUploadContext
|
|
|
73
73
|
spawn: {
|
|
74
74
|
<TSrc extends "uploadDocument" | "initCamera">(logic: TSrc, ...[options]: ({
|
|
75
75
|
src: "uploadDocument";
|
|
76
|
-
logic:
|
|
76
|
+
logic: xstate768.PromiseActorLogic<void, {
|
|
77
77
|
imageBase64: string;
|
|
78
78
|
documentType: string;
|
|
79
79
|
onProgress: (progress: number) => void;
|
|
80
|
-
},
|
|
80
|
+
}, xstate768.EventObject>;
|
|
81
81
|
id: string | undefined;
|
|
82
82
|
} extends infer T ? T extends {
|
|
83
83
|
src: "uploadDocument";
|
|
84
|
-
logic:
|
|
84
|
+
logic: xstate768.PromiseActorLogic<void, {
|
|
85
85
|
imageBase64: string;
|
|
86
86
|
documentType: string;
|
|
87
87
|
onProgress: (progress: number) => void;
|
|
88
|
-
},
|
|
88
|
+
}, xstate768.EventObject>;
|
|
89
89
|
id: string | undefined;
|
|
90
90
|
} ? T extends {
|
|
91
91
|
src: TSrc;
|
|
92
|
-
} ?
|
|
92
|
+
} ? xstate768.ConditionalRequired<[options?: ({
|
|
93
93
|
id?: T["id"] | undefined;
|
|
94
94
|
systemId?: string;
|
|
95
|
-
input?:
|
|
95
|
+
input?: xstate768.InputFrom<T["logic"]> | undefined;
|
|
96
96
|
syncSnapshot?: boolean;
|
|
97
|
-
} & { [K in
|
|
97
|
+
} & { [K in xstate768.RequiredActorOptions<T>]: unknown }) | undefined], xstate768.IsNotNever<xstate768.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
98
98
|
src: "initCamera";
|
|
99
|
-
logic:
|
|
99
|
+
logic: xstate768.PromiseActorLogic<MediaStream, void, xstate768.EventObject>;
|
|
100
100
|
id: string | undefined;
|
|
101
101
|
} extends infer T_1 ? T_1 extends {
|
|
102
102
|
src: "initCamera";
|
|
103
|
-
logic:
|
|
103
|
+
logic: xstate768.PromiseActorLogic<MediaStream, void, xstate768.EventObject>;
|
|
104
104
|
id: string | undefined;
|
|
105
105
|
} ? T_1 extends {
|
|
106
106
|
src: TSrc;
|
|
107
|
-
} ?
|
|
107
|
+
} ? xstate768.ConditionalRequired<[options?: ({
|
|
108
108
|
id?: T_1["id"] | undefined;
|
|
109
109
|
systemId?: string;
|
|
110
|
-
input?:
|
|
110
|
+
input?: xstate768.InputFrom<T_1["logic"]> | undefined;
|
|
111
111
|
syncSnapshot?: boolean;
|
|
112
|
-
} & { [K_1 in
|
|
112
|
+
} & { [K_1 in xstate768.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate768.IsNotNever<xstate768.RequiredActorOptions<T_1>>> : never : never : never)): xstate768.ActorRefFromLogic<xstate768.GetConcreteByKey<xstate768.Values<{
|
|
113
113
|
uploadDocument: {
|
|
114
114
|
src: "uploadDocument";
|
|
115
|
-
logic:
|
|
115
|
+
logic: xstate768.PromiseActorLogic<void, {
|
|
116
116
|
imageBase64: string;
|
|
117
117
|
documentType: string;
|
|
118
118
|
onProgress: (progress: number) => void;
|
|
119
|
-
},
|
|
119
|
+
}, xstate768.EventObject>;
|
|
120
120
|
id: string | undefined;
|
|
121
121
|
};
|
|
122
122
|
initCamera: {
|
|
123
123
|
src: "initCamera";
|
|
124
|
-
logic:
|
|
124
|
+
logic: xstate768.PromiseActorLogic<MediaStream, void, xstate768.EventObject>;
|
|
125
125
|
id: string | undefined;
|
|
126
126
|
};
|
|
127
127
|
}>, "src", TSrc>["logic"]>;
|
|
128
|
-
<TLogic extends
|
|
128
|
+
<TLogic extends xstate768.AnyActorLogic>(src: TLogic, ...[options]: xstate768.ConditionalRequired<[options?: ({
|
|
129
129
|
id?: never;
|
|
130
130
|
systemId?: string;
|
|
131
|
-
input?:
|
|
131
|
+
input?: xstate768.InputFrom<TLogic> | undefined;
|
|
132
132
|
syncSnapshot?: boolean;
|
|
133
|
-
} & { [K in
|
|
133
|
+
} & { [K in xstate768.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate768.IsNotNever<xstate768.RequiredLogicInput<TLogic>>>): xstate768.ActorRefFromLogic<TLogic>;
|
|
134
134
|
};
|
|
135
135
|
input: DocumentUploadInput;
|
|
136
|
-
self:
|
|
136
|
+
self: xstate768.ActorRef<xstate768.MachineSnapshot<DocumentUploadContext, {
|
|
137
137
|
type: "START";
|
|
138
138
|
} | {
|
|
139
139
|
type: "CAPTURE";
|
|
@@ -145,7 +145,7 @@ declare const documentUploadMachine: xstate23.StateMachine<DocumentUploadContext
|
|
|
145
145
|
type: "RETRY";
|
|
146
146
|
} | {
|
|
147
147
|
type: "CLOSE";
|
|
148
|
-
}, Record<string,
|
|
148
|
+
}, Record<string, xstate768.AnyActorRef | undefined>, xstate768.StateValue, string, unknown, any, any>, {
|
|
149
149
|
type: "START";
|
|
150
150
|
} | {
|
|
151
151
|
type: "CAPTURE";
|
|
@@ -157,7 +157,7 @@ declare const documentUploadMachine: xstate23.StateMachine<DocumentUploadContext
|
|
|
157
157
|
type: "RETRY";
|
|
158
158
|
} | {
|
|
159
159
|
type: "CLOSE";
|
|
160
|
-
},
|
|
160
|
+
}, xstate768.AnyEventObject>;
|
|
161
161
|
}) => {
|
|
162
162
|
config: DocumentUploadConfig;
|
|
163
163
|
stream: undefined;
|
|
@@ -227,7 +227,7 @@ declare const documentUploadMachine: xstate23.StateMachine<DocumentUploadContext
|
|
|
227
227
|
} | {
|
|
228
228
|
type: "CLOSE";
|
|
229
229
|
};
|
|
230
|
-
self:
|
|
230
|
+
self: xstate768.ActorRef<xstate768.MachineSnapshot<DocumentUploadContext, {
|
|
231
231
|
type: "START";
|
|
232
232
|
} | {
|
|
233
233
|
type: "CAPTURE";
|
|
@@ -239,7 +239,7 @@ declare const documentUploadMachine: xstate23.StateMachine<DocumentUploadContext
|
|
|
239
239
|
type: "RETRY";
|
|
240
240
|
} | {
|
|
241
241
|
type: "CLOSE";
|
|
242
|
-
}, Record<string,
|
|
242
|
+
}, Record<string, xstate768.AnyActorRef>, xstate768.StateValue, string, unknown, any, any>, {
|
|
243
243
|
type: "START";
|
|
244
244
|
} | {
|
|
245
245
|
type: "CAPTURE";
|
|
@@ -251,7 +251,7 @@ declare const documentUploadMachine: xstate23.StateMachine<DocumentUploadContext
|
|
|
251
251
|
type: "RETRY";
|
|
252
252
|
} | {
|
|
253
253
|
type: "CLOSE";
|
|
254
|
-
},
|
|
254
|
+
}, xstate768.AnyEventObject>;
|
|
255
255
|
}) => {
|
|
256
256
|
imageBase64: string;
|
|
257
257
|
documentType: string;
|
|
@@ -5,7 +5,7 @@ import "./platform-0Ot-bF_a.esm.js";
|
|
|
5
5
|
import { a as fromPromise, l as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
6
6
|
import { a as stopCameraStream } from "./camera-B0yWS33x.esm.js";
|
|
7
7
|
import "./ITimerCapability-G7lQg-be.esm.js";
|
|
8
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
8
|
+
import { n as getBackCameraStream } from "./backCameraStream-Cz2EvzSR.esm.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/document-upload/documentUploadServices.ts
|
|
11
11
|
async function uploadDocument({ imageBase64, documentType, onProgress, signal }) {
|
|
@@ -3,7 +3,7 @@ import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
|
|
|
3
3
|
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
4
4
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-D9lmzFYc.esm.js";
|
|
5
5
|
import { a as stopCameraStream } from "./camera-B0yWS33x.esm.js";
|
|
6
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
6
|
+
import { n as getBackCameraStream } from "./backCameraStream-Cz2EvzSR.esm.js";
|
|
7
7
|
import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-CaZl9t7f.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/document-capture/types.ts
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -3,18 +3,18 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
3
3
|
import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
|
|
4
4
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
5
5
|
import "./stats-BVy52wLy.esm.js";
|
|
6
|
-
import "./sessionInitializer-
|
|
6
|
+
import "./sessionInitializer-BGwtW8sP.esm.js";
|
|
7
7
|
import "./browserSimulation-CWJhFPZ2.esm.js";
|
|
8
8
|
import "./platform-0Ot-bF_a.esm.js";
|
|
9
9
|
import "./getBrowser-1yNcfFZR.esm.js";
|
|
10
10
|
import "./tri-CFBjqf5E.esm.js";
|
|
11
11
|
import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
12
12
|
import "./apiError-DkOXfFBu.esm.js";
|
|
13
|
-
import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-
|
|
13
|
+
import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-BDa_tGBH.esm.js";
|
|
14
14
|
import "./addressSearch-B9iJdbn8.esm.js";
|
|
15
15
|
import "./session-BWCjVIr6.esm.js";
|
|
16
16
|
import "./videoSelfieSteps-C6E7mKFt.esm.js";
|
|
17
|
-
import "./flowServices-
|
|
17
|
+
import "./flowServices-Z97pj5ep.esm.js";
|
|
18
18
|
|
|
19
19
|
//#region src/modules/ekyb/ekybActor.ts
|
|
20
20
|
/**
|
|
@@ -2,7 +2,7 @@ import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
|
|
3
3
|
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
4
4
|
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-B9iJdbn8.esm.js";
|
|
5
|
-
import { t as getFlow } from "./flowServices-
|
|
5
|
+
import { t as getFlow } from "./flowServices-Z97pj5ep.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/ekyb/ekybConstants.ts
|
|
8
8
|
const UBO_INPUT_LIMIT = 8;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./StateMachine-20ahmASR.js";
|
|
2
2
|
import "./Manager-BfBOhrjh.js";
|
|
3
3
|
import "./Actor-DYjXVMQm.js";
|
|
4
|
-
import { a as AE_CONSENT_KEYS, c as ConsentKey, d as ElectronicSignatureVariant, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, h as getConsentKeys, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, o as AeConsentKey, p as QeConsentKey, r as createElectronicSignatureManager, s as ConsentChecks, t as ElectronicSignatureManager, u as ElectronicSignatureDocument } from "./index-
|
|
4
|
+
import { a as AE_CONSENT_KEYS, c as ConsentKey, d as ElectronicSignatureVariant, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, h as getConsentKeys, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, o as AeConsentKey, p as QeConsentKey, r as createElectronicSignatureManager, s as ConsentChecks, t as ElectronicSignatureManager, u as ElectronicSignatureDocument } from "./index-7V7_LFeQ.js";
|
|
5
5
|
export { AE_CONSENT_KEYS, AeConsentKey, ConsentChecks, ConsentKey, ElectronicSignatureConfig, ElectronicSignatureDocument, ElectronicSignatureManager, ElectronicSignatureState, ElectronicSignatureVariant, QE_CONSENT_KEYS, QeConsentKey, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -19,18 +19,18 @@ import "./StreamCanvasCapture-DHDxv6hH.js";
|
|
|
19
19
|
import "./deepsightService-CbaqT7bP.js";
|
|
20
20
|
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-CXmUuCSV.js";
|
|
21
21
|
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BnAY9lOO.js";
|
|
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-
|
|
22
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-Dm7XlFdn.js";
|
|
23
|
+
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-C-ERGj6N.js";
|
|
24
24
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-CJdVrCex.js";
|
|
25
25
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-B_4qA_CB.js";
|
|
26
26
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CTOXMlVd.js";
|
|
27
27
|
import "./otp-CETbFjXH.js";
|
|
28
28
|
import { A as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-58R91WU3.js";
|
|
29
29
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-CG1vTJiG.js";
|
|
30
|
-
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-
|
|
30
|
+
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-DrbnHoyP.js";
|
|
31
31
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-BOEgiOw_.js";
|
|
32
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
33
|
-
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-
|
|
32
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-BsMBuMFG.js";
|
|
33
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-vEkl54iG.js";
|
|
34
34
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-D7U9k-Xs.js";
|
|
35
35
|
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-B3lahU1a.js";
|
|
36
36
|
|
|
@@ -4,7 +4,7 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
4
4
|
import "./events-1wxZ97yf.esm.js";
|
|
5
5
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
6
6
|
import "./stats-BVy52wLy.esm.js";
|
|
7
|
-
import { c as IpifyProvider, l as FingerprintProvider, t as getDisableIpify, u as getDeviceFingerprintInfo } from "./sessionInitializer-
|
|
7
|
+
import { c as IpifyProvider, l as FingerprintProvider, t as getDisableIpify, u as getDeviceFingerprintInfo } from "./sessionInitializer-BGwtW8sP.esm.js";
|
|
8
8
|
import "./browserSimulation-CWJhFPZ2.esm.js";
|
|
9
9
|
import "./platform-0Ot-bF_a.esm.js";
|
|
10
10
|
import "./getBrowser-1yNcfFZR.esm.js";
|
|
@@ -14,17 +14,17 @@ import "./urlUtils-CpiYwn7w.esm.js";
|
|
|
14
14
|
import "./apiError-DkOXfFBu.esm.js";
|
|
15
15
|
import "./antifraudStateMachine-BQVw46N5.esm.js";
|
|
16
16
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-5KA84wtF.esm.js";
|
|
17
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
17
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-yl7zgxtM.esm.js";
|
|
18
18
|
import "./BrowserVisibilityObserverProvider-B04zvOXW.esm.js";
|
|
19
19
|
import "./MotionSensorProvider-BkHKMCPE.esm.js";
|
|
20
20
|
import "./permissionServices-D9lmzFYc.esm.js";
|
|
21
21
|
import "./camera-B0yWS33x.esm.js";
|
|
22
|
-
import "./faceCaptureManagerFactory-
|
|
22
|
+
import "./faceCaptureManagerFactory-CRWXHC8j.esm.js";
|
|
23
23
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CBXGCHnK.esm.js";
|
|
24
|
-
import "./onDeviceFaceResults-
|
|
24
|
+
import "./onDeviceFaceResults-DWNLuS4Z.esm.js";
|
|
25
25
|
import "./ITimerCapability-G7lQg-be.esm.js";
|
|
26
26
|
import "./canvas-DsJa51yU.esm.js";
|
|
27
|
-
import "./backCameraStream-
|
|
27
|
+
import "./backCameraStream-Cz2EvzSR.esm.js";
|
|
28
28
|
import "./video-DXf5H9rY.esm.js";
|
|
29
29
|
import "./getDeviceClass-BdgmyOOu.esm.js";
|
|
30
30
|
import "./deepsightService-DU9yBWg_.esm.js";
|
|
@@ -33,10 +33,10 @@ import "./types-Db2ooXIu.esm.js";
|
|
|
33
33
|
import "./createFaceAvatar-CpmQJA8E.esm.js";
|
|
34
34
|
import "./StreamCanvasCapture-CRk7c7u7.esm.js";
|
|
35
35
|
import "./permissionGuards-CaZl9t7f.esm.js";
|
|
36
|
-
import "./recordingService-
|
|
36
|
+
import "./recordingService-PNSJ4st1.esm.js";
|
|
37
37
|
import "./mediaRecorderOptions-DuYelylE.esm.js";
|
|
38
|
-
import "./authenticationStateMachine-
|
|
39
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
38
|
+
import "./authenticationStateMachine-C1gzVXNa.esm.js";
|
|
39
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-17bd_Z9U.esm.js";
|
|
40
40
|
import "./consentStateMachine-DnqwsZ7o.esm.js";
|
|
41
41
|
import { n as createConsentManagerFromActor } from "./consentManager-DL93cPSU.esm.js";
|
|
42
42
|
import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-BW8wlEU_.esm.js";
|
|
@@ -50,11 +50,11 @@ import "./session-BWCjVIr6.esm.js";
|
|
|
50
50
|
import "./emailStateMachine-Bk4pkysV.esm.js";
|
|
51
51
|
import "./otp-DepQPUIA.esm.js";
|
|
52
52
|
import { n as createEmailManagerFromActor } from "./emailManager-C9O7k0-m.esm.js";
|
|
53
|
-
import "./selfieStateMachine-
|
|
54
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
55
|
-
import "./idCaptureStateMachine-
|
|
53
|
+
import "./selfieStateMachine-CbDLoh_B.esm.js";
|
|
54
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-DckBAZ7A.esm.js";
|
|
55
|
+
import "./idCaptureStateMachine-BFiLYndJ.esm.js";
|
|
56
56
|
import "./idCaptureDefaults-DJmo-U3D.esm.js";
|
|
57
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
57
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-Dj8Vw4vr.esm.js";
|
|
58
58
|
import "./phoneStateMachine-MqNDf1Nh.esm.js";
|
|
59
59
|
import { n as createPhoneManagerFromActor } from "./phoneManager-DNTrIq-D.esm.js";
|
|
60
60
|
import "./identityReuseStateMachine-Do_M-z6z.esm.js";
|
package/dist/{faceCaptureManagerFactory-BjtXPUp3.esm.js → faceCaptureManagerFactory-CRWXHC8j.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as topLevelStateName, r as eventScreenNames, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
|
|
2
2
|
import { l as createManager } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
3
|
-
import { n as concealmentToAvatar } from "./faceCaptureSetup-
|
|
3
|
+
import { n as concealmentToAvatar } from "./faceCaptureSetup-yl7zgxtM.esm.js";
|
|
4
4
|
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-B04zvOXW.esm.js";
|
|
5
5
|
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-D9lmzFYc.esm.js";
|
|
6
6
|
|
|
@@ -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-nY3M5UYm.esm.js";
|
|
3
3
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-D9lmzFYc.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-DWNLuS4Z.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-Db2ooXIu.esm.js";
|
|
6
6
|
import { t as createFaceAvatar } from "./createFaceAvatar-CpmQJA8E.esm.js";
|
|
7
7
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CRk7c7u7.esm.js";
|
|
8
8
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-CaZl9t7f.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-PNSJ4st1.esm.js";
|
|
10
10
|
|
|
11
11
|
//#region src/internal/avatar/concealment.ts
|
|
12
12
|
/**
|
package/dist/fiscal-qr.esm.js
CHANGED
|
@@ -7,7 +7,7 @@ import { a as fromPromise, i as fromCallback, l as createManager, r as assign, s
|
|
|
7
7
|
import { a as stopCameraStream } from "./camera-B0yWS33x.esm.js";
|
|
8
8
|
import "./ITimerCapability-G7lQg-be.esm.js";
|
|
9
9
|
import "./canvas-DsJa51yU.esm.js";
|
|
10
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
10
|
+
import { n as getBackCameraStream } from "./backCameraStream-Cz2EvzSR.esm.js";
|
|
11
11
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CRk7c7u7.esm.js";
|
|
12
12
|
import "./http-CBbBcnBa.esm.js";
|
|
13
13
|
import { BrowserQRCodeReader } from "@zxing/browser";
|
package/dist/flow.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-Cyi3g
|
|
|
10
10
|
import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-nF7e8At0.js";
|
|
11
11
|
import { o as FlowEventSubscribable } from "./index-CVgIGwUy.js";
|
|
12
12
|
import { n as ModuleRegistry } from "./types-CRPns2d9.js";
|
|
13
|
-
import * as
|
|
13
|
+
import * as xstate41 from "xstate";
|
|
14
14
|
|
|
15
15
|
//#region src/modules/flow/flowUtils.d.ts
|
|
16
16
|
type NormalizeFlowModulesOptions = {
|
|
@@ -62,7 +62,7 @@ type GetFlow = (signal: AbortSignal, options?: GetFlowOptions) => Promise<Flow>;
|
|
|
62
62
|
declare const getFlow: GetFlow;
|
|
63
63
|
//#endregion
|
|
64
64
|
//#region src/modules/flow/noOpFlowModuleMachine.d.ts
|
|
65
|
-
declare const noOpFlowModuleMachine:
|
|
65
|
+
declare const noOpFlowModuleMachine: xstate41.StateMachine<xstate41.MachineContext, xstate41.AnyEventObject, {}, never, never, never, never, "finished", string, xstate41.NonReducibleUnknown, xstate41.NonReducibleUnknown, xstate41.EventObject, xstate41.MetaObject, {
|
|
66
66
|
readonly id: "noOpFlowModule";
|
|
67
67
|
readonly initial: "finished";
|
|
68
68
|
readonly states: {
|
package/dist/flow.esm.js
CHANGED
|
@@ -3,7 +3,7 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
3
3
|
import { g as addEvent } from "./events-1wxZ97yf.esm.js";
|
|
4
4
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
5
5
|
import "./stats-BVy52wLy.esm.js";
|
|
6
|
-
import "./sessionInitializer-
|
|
6
|
+
import "./sessionInitializer-BGwtW8sP.esm.js";
|
|
7
7
|
import "./browserSimulation-CWJhFPZ2.esm.js";
|
|
8
8
|
import "./platform-0Ot-bF_a.esm.js";
|
|
9
9
|
import "./getBrowser-1yNcfFZR.esm.js";
|
|
@@ -13,7 +13,7 @@ import "./apiError-DkOXfFBu.esm.js";
|
|
|
13
13
|
import "./types-Db2ooXIu.esm.js";
|
|
14
14
|
import "./session-BWCjVIr6.esm.js";
|
|
15
15
|
import "./videoSelfieSteps-C6E7mKFt.esm.js";
|
|
16
|
-
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
16
|
+
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-Z97pj5ep.esm.js";
|
|
17
17
|
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-BDcDfyoA.esm.js";
|
|
18
18
|
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-XHWWqs39.esm.js";
|
|
19
19
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
|
|
3
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
3
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-BGwtW8sP.esm.js";
|
|
4
4
|
import { n as toIncodeApiError } from "./apiError-DkOXfFBu.esm.js";
|
|
5
5
|
import { r as videoSelfieWasmPipelines } from "./videoSelfieSteps-C6E7mKFt.esm.js";
|
|
6
6
|
|
package/dist/home.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import "./types-CTnn7kUK.js";
|
|
|
6
6
|
import "./canvas-pLrXU1id.js";
|
|
7
7
|
import "./createFaceAvatar-DNMSIcRb.js";
|
|
8
8
|
import { t as EmptyConfig } from "./types-Cyi3gwPK.js";
|
|
9
|
-
import * as
|
|
9
|
+
import * as xstate751 from "xstate";
|
|
10
10
|
|
|
11
11
|
//#region src/modules/home/types.d.ts
|
|
12
12
|
type HomeConfig = EmptyConfig;
|
|
@@ -38,41 +38,41 @@ type HomeContext = {
|
|
|
38
38
|
type HomeInput = {
|
|
39
39
|
config: EmptyConfig;
|
|
40
40
|
};
|
|
41
|
-
declare const homeMachine:
|
|
41
|
+
declare const homeMachine: xstate751.StateMachine<HomeContext, {
|
|
42
42
|
type: "LOAD";
|
|
43
43
|
} | {
|
|
44
44
|
type: "COMPLETE";
|
|
45
45
|
} | {
|
|
46
46
|
type: "RESET";
|
|
47
|
-
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput,
|
|
47
|
+
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate751.NonReducibleUnknown, xstate751.EventObject, xstate751.MetaObject, {
|
|
48
48
|
readonly id: "home";
|
|
49
49
|
readonly initial: "idle";
|
|
50
50
|
readonly context: ({
|
|
51
51
|
input
|
|
52
52
|
}: {
|
|
53
53
|
spawn: {
|
|
54
|
-
<TSrc extends never>(logic: TSrc, ...[options]: never):
|
|
55
|
-
<TLogic extends
|
|
54
|
+
<TSrc extends never>(logic: TSrc, ...[options]: never): xstate751.ActorRefFromLogic<never>;
|
|
55
|
+
<TLogic extends xstate751.AnyActorLogic>(src: TLogic, ...[options]: xstate751.ConditionalRequired<[options?: ({
|
|
56
56
|
id?: never;
|
|
57
57
|
systemId?: string;
|
|
58
|
-
input?:
|
|
58
|
+
input?: xstate751.InputFrom<TLogic> | undefined;
|
|
59
59
|
syncSnapshot?: boolean;
|
|
60
|
-
} & { [K in
|
|
60
|
+
} & { [K in xstate751.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate751.IsNotNever<xstate751.RequiredLogicInput<TLogic>>>): xstate751.ActorRefFromLogic<TLogic>;
|
|
61
61
|
};
|
|
62
62
|
input: HomeInput;
|
|
63
|
-
self:
|
|
63
|
+
self: xstate751.ActorRef<xstate751.MachineSnapshot<HomeContext, {
|
|
64
64
|
type: "LOAD";
|
|
65
65
|
} | {
|
|
66
66
|
type: "COMPLETE";
|
|
67
67
|
} | {
|
|
68
68
|
type: "RESET";
|
|
69
|
-
}, Record<string,
|
|
69
|
+
}, Record<string, xstate751.AnyActorRef | undefined>, xstate751.StateValue, string, unknown, any, any>, {
|
|
70
70
|
type: "LOAD";
|
|
71
71
|
} | {
|
|
72
72
|
type: "COMPLETE";
|
|
73
73
|
} | {
|
|
74
74
|
type: "RESET";
|
|
75
|
-
},
|
|
75
|
+
}, xstate751.AnyEventObject>;
|
|
76
76
|
}) => {
|
|
77
77
|
config: EmptyConfig;
|
|
78
78
|
};
|
package/dist/id-ocr.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./StateMachine-20ahmASR.js";
|
|
2
2
|
import "./Manager-BfBOhrjh.js";
|
|
3
3
|
import "./Actor-DYjXVMQm.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-
|
|
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-vEkl54iG.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/id-ocr/idOcrFields.d.ts
|
|
7
7
|
declare const OCR_FIELDS: OcrFieldConfig[];
|