@incodetech/core 0.0.0-dev-20260703-4e6bf586 → 0.0.0-dev-20260706-82e1bca3
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-hbFTJkGk.esm.js → ae-signature-ZN0GtLh7.esm.js} +1 -1
- package/dist/ae-signature.d.ts +1 -1
- package/dist/ae-signature.esm.js +2 -2
- package/dist/certificate-issuance.d.ts +28 -28
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-Cq_zuGyV.d.ts → consentManager-C5ghsYWh.d.ts} +52 -52
- package/dist/cpf-ocr.d.ts +1 -1
- package/dist/{cpfOcrManager-CqofcqUr.d.ts → cpfOcrManager-Cx2sr4VI.d.ts} +20 -20
- package/dist/document-capture.d.ts +231 -231
- package/dist/document-upload.d.ts +49 -49
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybStateMachine-ByOUNlk3.esm.js → ekybStateMachine-Dv67iprq.esm.js} +1 -1
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-BNglIp7-.esm.js → electronicSignatureManager-DjnL48UC.esm.js} +6 -3
- package/dist/extensibility.d.ts +5 -5
- package/dist/extensibility.esm.js +3 -3
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +2 -2
- package/dist/{flowServices-zQ4hdUWb.esm.js → flowServices-BIg0Te2j.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 +3 -3
- package/dist/{idCaptureManager-BaBfY7-F.esm.js → idCaptureManager-loWYQ7CC.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-C4JdDQMz.esm.js → idCaptureStateMachine-BlZRUD0U.esm.js} +1 -1
- package/dist/{idOcrManager-B8wGPtYt.d.ts → idOcrManager-aZOEIls3.d.ts} +52 -52
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-e3Q0Ojz-.d.ts → identityReuseManager-qmHJrZrU.d.ts} +35 -35
- package/dist/{index-DTYZyqY4.d.ts → index-Ui-vn538.d.ts} +179 -169
- package/dist/index.esm.js +2 -2
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-CTCWHacw.d.ts → mandatoryConsentManager-3Pzrnpdb.d.ts} +50 -50
- package/dist/{qe-signature-DrNTWaUP.esm.js → qe-signature-QPte2SBH.esm.js} +1 -1
- package/dist/qe-signature.d.ts +1 -1
- package/dist/qe-signature.esm.js +2 -2
- package/dist/session.esm.js +1 -1
- package/dist/{sessionInitializer-BkDTbgP1.esm.js → sessionInitializer-CiMM_8LA.esm.js} +1 -1
- package/dist/{setup--56mH1Is.esm.js → setup-CF8nlE7-.esm.js} +1 -1
- package/dist/trust-graph.d.ts +2 -2
- package/dist/video-selfie.d.ts +2 -2
- package/dist/video-selfie.esm.js +2 -2
- package/dist/wasm.esm.js +2 -2
- package/dist/workflow.d.ts +156 -156
- package/dist/workflow.esm.js +7 -7
- package/package.json +1 -1
|
@@ -3,10 +3,10 @@ import { t as Manager } from "./Manager-Cmz78C-6.js";
|
|
|
3
3
|
import "./Actor-BYmFPUr7.js";
|
|
4
4
|
import "./camera-DLCbUdzy.js";
|
|
5
5
|
import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-H9ompebR.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as xstate735 from "xstate";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/document-upload/documentUploadStateMachine.d.ts
|
|
9
|
-
declare const documentUploadMachine:
|
|
9
|
+
declare const documentUploadMachine: xstate735.StateMachine<DocumentUploadContext, {
|
|
10
10
|
type: "START";
|
|
11
11
|
} | {
|
|
12
12
|
type: "CAPTURE";
|
|
@@ -19,52 +19,52 @@ declare const documentUploadMachine: xstate250.StateMachine<DocumentUploadContex
|
|
|
19
19
|
} | {
|
|
20
20
|
type: "CLOSE";
|
|
21
21
|
}, {
|
|
22
|
-
[x: string]:
|
|
22
|
+
[x: string]: xstate735.ActorRefFromLogic<xstate735.PromiseActorLogic<void, {
|
|
23
23
|
imageBase64: string;
|
|
24
24
|
documentType: string;
|
|
25
25
|
onProgress: (progress: number) => void;
|
|
26
|
-
},
|
|
27
|
-
},
|
|
26
|
+
}, xstate735.EventObject>> | xstate735.ActorRefFromLogic<xstate735.PromiseActorLogic<MediaStream, void, xstate735.EventObject>> | undefined;
|
|
27
|
+
}, xstate735.Values<{
|
|
28
28
|
uploadDocument: {
|
|
29
29
|
src: "uploadDocument";
|
|
30
|
-
logic:
|
|
30
|
+
logic: xstate735.PromiseActorLogic<void, {
|
|
31
31
|
imageBase64: string;
|
|
32
32
|
documentType: string;
|
|
33
33
|
onProgress: (progress: number) => void;
|
|
34
|
-
},
|
|
34
|
+
}, xstate735.EventObject>;
|
|
35
35
|
id: string | undefined;
|
|
36
36
|
};
|
|
37
37
|
initCamera: {
|
|
38
38
|
src: "initCamera";
|
|
39
|
-
logic:
|
|
39
|
+
logic: xstate735.PromiseActorLogic<MediaStream, void, xstate735.EventObject>;
|
|
40
40
|
id: string | undefined;
|
|
41
41
|
};
|
|
42
|
-
}>,
|
|
43
|
-
|
|
44
|
-
type: "
|
|
45
|
-
params:
|
|
46
|
-
};
|
|
47
|
-
setProgress: {
|
|
48
|
-
type: "setProgress";
|
|
49
|
-
params: xstate250.NonReducibleUnknown;
|
|
42
|
+
}>, xstate735.Values<{
|
|
43
|
+
setError: {
|
|
44
|
+
type: "setError";
|
|
45
|
+
params: xstate735.NonReducibleUnknown;
|
|
50
46
|
};
|
|
51
47
|
clearError: {
|
|
52
48
|
type: "clearError";
|
|
53
|
-
params:
|
|
49
|
+
params: xstate735.NonReducibleUnknown;
|
|
54
50
|
};
|
|
55
|
-
|
|
56
|
-
type: "
|
|
57
|
-
params:
|
|
51
|
+
setStream: {
|
|
52
|
+
type: "setStream";
|
|
53
|
+
params: xstate735.NonReducibleUnknown;
|
|
58
54
|
};
|
|
59
55
|
setImageAndClearError: {
|
|
60
56
|
type: "setImageAndClearError";
|
|
61
|
-
params:
|
|
57
|
+
params: xstate735.NonReducibleUnknown;
|
|
62
58
|
};
|
|
63
|
-
|
|
64
|
-
type: "
|
|
65
|
-
params:
|
|
59
|
+
setProgress: {
|
|
60
|
+
type: "setProgress";
|
|
61
|
+
params: xstate735.NonReducibleUnknown;
|
|
62
|
+
};
|
|
63
|
+
stopStream: {
|
|
64
|
+
type: "stopStream";
|
|
65
|
+
params: xstate735.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, xstate735.NonReducibleUnknown, xstate735.EventObject, xstate735.MetaObject, {
|
|
68
68
|
readonly id: "documentUpload";
|
|
69
69
|
readonly initial: "idle";
|
|
70
70
|
readonly context: ({
|
|
@@ -73,67 +73,67 @@ declare const documentUploadMachine: xstate250.StateMachine<DocumentUploadContex
|
|
|
73
73
|
spawn: {
|
|
74
74
|
<TSrc extends "uploadDocument" | "initCamera">(logic: TSrc, ...[options]: ({
|
|
75
75
|
src: "uploadDocument";
|
|
76
|
-
logic:
|
|
76
|
+
logic: xstate735.PromiseActorLogic<void, {
|
|
77
77
|
imageBase64: string;
|
|
78
78
|
documentType: string;
|
|
79
79
|
onProgress: (progress: number) => void;
|
|
80
|
-
},
|
|
80
|
+
}, xstate735.EventObject>;
|
|
81
81
|
id: string | undefined;
|
|
82
82
|
} extends infer T ? T extends {
|
|
83
83
|
src: "uploadDocument";
|
|
84
|
-
logic:
|
|
84
|
+
logic: xstate735.PromiseActorLogic<void, {
|
|
85
85
|
imageBase64: string;
|
|
86
86
|
documentType: string;
|
|
87
87
|
onProgress: (progress: number) => void;
|
|
88
|
-
},
|
|
88
|
+
}, xstate735.EventObject>;
|
|
89
89
|
id: string | undefined;
|
|
90
90
|
} ? T extends {
|
|
91
91
|
src: TSrc;
|
|
92
|
-
} ?
|
|
92
|
+
} ? xstate735.ConditionalRequired<[options?: ({
|
|
93
93
|
id?: T["id"] | undefined;
|
|
94
94
|
systemId?: string;
|
|
95
|
-
input?:
|
|
95
|
+
input?: xstate735.InputFrom<T["logic"]> | undefined;
|
|
96
96
|
syncSnapshot?: boolean;
|
|
97
|
-
} & { [K in
|
|
97
|
+
} & { [K in xstate735.RequiredActorOptions<T>]: unknown }) | undefined], xstate735.IsNotNever<xstate735.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
98
98
|
src: "initCamera";
|
|
99
|
-
logic:
|
|
99
|
+
logic: xstate735.PromiseActorLogic<MediaStream, void, xstate735.EventObject>;
|
|
100
100
|
id: string | undefined;
|
|
101
101
|
} extends infer T_1 ? T_1 extends {
|
|
102
102
|
src: "initCamera";
|
|
103
|
-
logic:
|
|
103
|
+
logic: xstate735.PromiseActorLogic<MediaStream, void, xstate735.EventObject>;
|
|
104
104
|
id: string | undefined;
|
|
105
105
|
} ? T_1 extends {
|
|
106
106
|
src: TSrc;
|
|
107
|
-
} ?
|
|
107
|
+
} ? xstate735.ConditionalRequired<[options?: ({
|
|
108
108
|
id?: T_1["id"] | undefined;
|
|
109
109
|
systemId?: string;
|
|
110
|
-
input?:
|
|
110
|
+
input?: xstate735.InputFrom<T_1["logic"]> | undefined;
|
|
111
111
|
syncSnapshot?: boolean;
|
|
112
|
-
} & { [K_1 in
|
|
112
|
+
} & { [K_1 in xstate735.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate735.IsNotNever<xstate735.RequiredActorOptions<T_1>>> : never : never : never)): xstate735.ActorRefFromLogic<xstate735.GetConcreteByKey<xstate735.Values<{
|
|
113
113
|
uploadDocument: {
|
|
114
114
|
src: "uploadDocument";
|
|
115
|
-
logic:
|
|
115
|
+
logic: xstate735.PromiseActorLogic<void, {
|
|
116
116
|
imageBase64: string;
|
|
117
117
|
documentType: string;
|
|
118
118
|
onProgress: (progress: number) => void;
|
|
119
|
-
},
|
|
119
|
+
}, xstate735.EventObject>;
|
|
120
120
|
id: string | undefined;
|
|
121
121
|
};
|
|
122
122
|
initCamera: {
|
|
123
123
|
src: "initCamera";
|
|
124
|
-
logic:
|
|
124
|
+
logic: xstate735.PromiseActorLogic<MediaStream, void, xstate735.EventObject>;
|
|
125
125
|
id: string | undefined;
|
|
126
126
|
};
|
|
127
127
|
}>, "src", TSrc>["logic"]>;
|
|
128
|
-
<TLogic extends
|
|
128
|
+
<TLogic extends xstate735.AnyActorLogic>(src: TLogic, ...[options]: xstate735.ConditionalRequired<[options?: ({
|
|
129
129
|
id?: never;
|
|
130
130
|
systemId?: string;
|
|
131
|
-
input?:
|
|
131
|
+
input?: xstate735.InputFrom<TLogic> | undefined;
|
|
132
132
|
syncSnapshot?: boolean;
|
|
133
|
-
} & { [K in
|
|
133
|
+
} & { [K in xstate735.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate735.IsNotNever<xstate735.RequiredLogicInput<TLogic>>>): xstate735.ActorRefFromLogic<TLogic>;
|
|
134
134
|
};
|
|
135
135
|
input: DocumentUploadInput;
|
|
136
|
-
self:
|
|
136
|
+
self: xstate735.ActorRef<xstate735.MachineSnapshot<DocumentUploadContext, {
|
|
137
137
|
type: "START";
|
|
138
138
|
} | {
|
|
139
139
|
type: "CAPTURE";
|
|
@@ -145,7 +145,7 @@ declare const documentUploadMachine: xstate250.StateMachine<DocumentUploadContex
|
|
|
145
145
|
type: "RETRY";
|
|
146
146
|
} | {
|
|
147
147
|
type: "CLOSE";
|
|
148
|
-
}, Record<string,
|
|
148
|
+
}, Record<string, xstate735.AnyActorRef | undefined>, xstate735.StateValue, string, unknown, any, any>, {
|
|
149
149
|
type: "START";
|
|
150
150
|
} | {
|
|
151
151
|
type: "CAPTURE";
|
|
@@ -157,7 +157,7 @@ declare const documentUploadMachine: xstate250.StateMachine<DocumentUploadContex
|
|
|
157
157
|
type: "RETRY";
|
|
158
158
|
} | {
|
|
159
159
|
type: "CLOSE";
|
|
160
|
-
},
|
|
160
|
+
}, xstate735.AnyEventObject>;
|
|
161
161
|
}) => {
|
|
162
162
|
config: DocumentUploadConfig;
|
|
163
163
|
stream: undefined;
|
|
@@ -227,7 +227,7 @@ declare const documentUploadMachine: xstate250.StateMachine<DocumentUploadContex
|
|
|
227
227
|
} | {
|
|
228
228
|
type: "CLOSE";
|
|
229
229
|
};
|
|
230
|
-
self:
|
|
230
|
+
self: xstate735.ActorRef<xstate735.MachineSnapshot<DocumentUploadContext, {
|
|
231
231
|
type: "START";
|
|
232
232
|
} | {
|
|
233
233
|
type: "CAPTURE";
|
|
@@ -239,7 +239,7 @@ declare const documentUploadMachine: xstate250.StateMachine<DocumentUploadContex
|
|
|
239
239
|
type: "RETRY";
|
|
240
240
|
} | {
|
|
241
241
|
type: "CLOSE";
|
|
242
|
-
}, Record<string,
|
|
242
|
+
}, Record<string, xstate735.AnyActorRef>, xstate735.StateValue, string, unknown, any, any>, {
|
|
243
243
|
type: "START";
|
|
244
244
|
} | {
|
|
245
245
|
type: "CAPTURE";
|
|
@@ -251,7 +251,7 @@ declare const documentUploadMachine: xstate250.StateMachine<DocumentUploadContex
|
|
|
251
251
|
type: "RETRY";
|
|
252
252
|
} | {
|
|
253
253
|
type: "CLOSE";
|
|
254
|
-
},
|
|
254
|
+
}, xstate735.AnyEventObject>;
|
|
255
255
|
}) => {
|
|
256
256
|
imageBase64: string;
|
|
257
257
|
documentType: string;
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -5,7 +5,7 @@ import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
|
5
5
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
6
6
|
import "./stats-CYcScXcO.esm.js";
|
|
7
7
|
import "./browserSimulation-TsSoavQv.esm.js";
|
|
8
|
-
import "./sessionInitializer-
|
|
8
|
+
import "./sessionInitializer-CiMM_8LA.esm.js";
|
|
9
9
|
import "./getDeviceData-TrKM8NPh.esm.js";
|
|
10
10
|
import "./thumbmarkAdapter-fHBUDlAP.esm.js";
|
|
11
11
|
import "./IpifyProvider-BRW14_uo.esm.js";
|
|
@@ -13,11 +13,11 @@ import "./platform-uIVQUnJP.esm.js";
|
|
|
13
13
|
import "./tri-YFsu_BBU.esm.js";
|
|
14
14
|
import { l as createManager, s as createActor } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
15
15
|
import "./apiError-C7SFQTB2.esm.js";
|
|
16
|
-
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-
|
|
16
|
+
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-Dv67iprq.esm.js";
|
|
17
17
|
import "./addressSearch-C6cEsEqK.esm.js";
|
|
18
18
|
import "./session-D4m9r-7U.esm.js";
|
|
19
19
|
import "./videoSelfieSteps-DAky5sq5.esm.js";
|
|
20
|
-
import "./flowServices-
|
|
20
|
+
import "./flowServices-BIg0Te2j.esm.js";
|
|
21
21
|
|
|
22
22
|
//#region src/modules/ekyb/ekybActor.ts
|
|
23
23
|
/**
|
|
@@ -2,7 +2,7 @@ import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
3
3
|
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-Bomq1a0z.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-C6cEsEqK.esm.js";
|
|
5
|
-
import { t as getFlow } from "./flowServices-
|
|
5
|
+
import { t as getFlow } from "./flowServices-BIg0Te2j.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-CNPJD4wG.js";
|
|
2
2
|
import "./Manager-Cmz78C-6.js";
|
|
3
3
|
import "./Actor-BYmFPUr7.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-Ui-vn538.js";
|
|
5
5
|
export { AE_CONSENT_KEYS, AeConsentKey, ConsentChecks, ConsentKey, ElectronicSignatureConfig, ElectronicSignatureDocument, ElectronicSignatureManager, ElectronicSignatureState, ElectronicSignatureVariant, QE_CONSENT_KEYS, QeConsentKey, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -6,6 +6,6 @@ import "./xstate.esm-Bomq1a0z.esm.js";
|
|
|
6
6
|
import "./apiError-C7SFQTB2.esm.js";
|
|
7
7
|
import "./urlUtils-CwKgB7_U.esm.js";
|
|
8
8
|
import "./externalFetch-D_eLLNOS.esm.js";
|
|
9
|
-
import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
9
|
+
import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-DjnL48UC.esm.js";
|
|
10
10
|
|
|
11
11
|
export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -45,7 +45,10 @@ async function uploadDocumentFile(presignedUrl, data, signal) {
|
|
|
45
45
|
//#region src/modules/electronic-signature/electronicSignatureActors.ts
|
|
46
46
|
const fetchUnsignedDocsActor = fromPromise(async ({ signal }) => fetchUnsignedDocuments(signal));
|
|
47
47
|
const signDocumentsActor = fromPromise(async ({ input, signal }) => {
|
|
48
|
-
return (await Promise.all(input.documents.map((doc) => signDocument(doc.documentRef, input.variant, signal)))).map((r) => ({
|
|
48
|
+
return (await Promise.all(input.documents.map((doc) => signDocument(doc.documentRef, input.variant, signal)))).map((r) => ({
|
|
49
|
+
signed: r.success === true || !!r.signedDocumentUrl,
|
|
50
|
+
signedDocumentUrl: r.signedDocumentUrl
|
|
51
|
+
}));
|
|
49
52
|
});
|
|
50
53
|
/**
|
|
51
54
|
* Generates the upload destination. `POST /generateDocumentUploadUrl` creates a
|
|
@@ -161,11 +164,11 @@ const electronicSignatureMachine = setup({
|
|
|
161
164
|
},
|
|
162
165
|
allSigned: ({ event }) => {
|
|
163
166
|
const { output } = event;
|
|
164
|
-
return output.every((d) =>
|
|
167
|
+
return output.every((d) => d.signed);
|
|
165
168
|
},
|
|
166
169
|
allSignedAndDownload: ({ context, event }) => {
|
|
167
170
|
const { output } = event;
|
|
168
|
-
return output.every((d) => !!d.signedDocumentUrl) && context.config.downloadDocument === true;
|
|
171
|
+
return output.every((d) => d.signed && !!d.signedDocumentUrl) && context.config.downloadDocument === true;
|
|
169
172
|
},
|
|
170
173
|
isRetryableSignError: ({ event }) => isRetryableSignError(event.error)
|
|
171
174
|
}
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -19,17 +19,17 @@ import "./StreamCanvasCapture-DXti432h.js";
|
|
|
19
19
|
import "./deepsightService-DhJ1iwXr.js";
|
|
20
20
|
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-LHJ4vEQd.js";
|
|
21
21
|
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CR6JGCPM.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-C5ghsYWh.js";
|
|
23
|
+
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-Cx2sr4VI.js";
|
|
24
24
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-GcNPOE9-.js";
|
|
25
25
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-t3yQLU9f.js";
|
|
26
26
|
import "./otp-B1YeyRXu.js";
|
|
27
27
|
import { A as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-DEULKa4Q.js";
|
|
28
28
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-DSyl8tGa.js";
|
|
29
|
-
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-
|
|
29
|
+
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-qmHJrZrU.js";
|
|
30
30
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-BDffIuJm.js";
|
|
31
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
32
|
-
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-
|
|
31
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-3Pzrnpdb.js";
|
|
32
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-aZOEIls3.js";
|
|
33
33
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-Bjs3pRzS.js";
|
|
34
34
|
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-Ba5fKdE5.js";
|
|
35
35
|
|
|
@@ -6,7 +6,7 @@ import "./types-ElOJAGaM.esm.js";
|
|
|
6
6
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
7
7
|
import "./stats-CYcScXcO.esm.js";
|
|
8
8
|
import "./browserSimulation-TsSoavQv.esm.js";
|
|
9
|
-
import { o as FingerprintProvider, t as getDisableIpify } from "./sessionInitializer-
|
|
9
|
+
import { o as FingerprintProvider, t as getDisableIpify } from "./sessionInitializer-CiMM_8LA.esm.js";
|
|
10
10
|
import { t as getDeviceFingerprintInfo } from "./getDeviceData-TrKM8NPh.esm.js";
|
|
11
11
|
import "./thumbmarkAdapter-fHBUDlAP.esm.js";
|
|
12
12
|
import { t as IpifyProvider } from "./IpifyProvider-BRW14_uo.esm.js";
|
|
@@ -52,9 +52,9 @@ import "./otp-nhnnp9FM.esm.js";
|
|
|
52
52
|
import { n as createEmailManagerFromActor } from "./emailManager-CH6GlUSk.esm.js";
|
|
53
53
|
import "./selfieStateMachine-D5pSBFyn.esm.js";
|
|
54
54
|
import { n as createSelfieManagerFromActor } from "./selfieManager-Bp7WFLAV.esm.js";
|
|
55
|
-
import "./idCaptureStateMachine-
|
|
55
|
+
import "./idCaptureStateMachine-BlZRUD0U.esm.js";
|
|
56
56
|
import "./idCaptureDefaults-GTCesE6K.esm.js";
|
|
57
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
57
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-loWYQ7CC.esm.js";
|
|
58
58
|
import "./phoneStateMachine-sn2Nt44W.esm.js";
|
|
59
59
|
import { n as createPhoneManagerFromActor } from "./phoneManager-CiiQOE21.esm.js";
|
|
60
60
|
import "./identityReuseStateMachine-BYYzDw-l.esm.js";
|
package/dist/flow.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-bWGcb
|
|
|
10
10
|
import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-BOSTlAWo.js";
|
|
11
11
|
import { o as FlowEventSubscribable } from "./index-Dnkvn5_X.js";
|
|
12
12
|
import { n as ModuleRegistry } from "./types-DW5cPsw1.js";
|
|
13
|
-
import * as
|
|
13
|
+
import * as xstate1320 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: xstate1320.StateMachine<xstate1320.MachineContext, xstate1320.AnyEventObject, {}, never, never, never, never, "finished", string, xstate1320.NonReducibleUnknown, xstate1320.NonReducibleUnknown, xstate1320.EventObject, xstate1320.MetaObject, {
|
|
66
66
|
readonly id: "noOpFlowModule";
|
|
67
67
|
readonly initial: "finished";
|
|
68
68
|
readonly states: {
|
package/dist/flow.esm.js
CHANGED
|
@@ -5,7 +5,7 @@ import "./types-ElOJAGaM.esm.js";
|
|
|
5
5
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
6
6
|
import "./stats-CYcScXcO.esm.js";
|
|
7
7
|
import "./browserSimulation-TsSoavQv.esm.js";
|
|
8
|
-
import "./sessionInitializer-
|
|
8
|
+
import "./sessionInitializer-CiMM_8LA.esm.js";
|
|
9
9
|
import "./getDeviceData-TrKM8NPh.esm.js";
|
|
10
10
|
import "./thumbmarkAdapter-fHBUDlAP.esm.js";
|
|
11
11
|
import "./IpifyProvider-BRW14_uo.esm.js";
|
|
@@ -16,7 +16,7 @@ import "./apiError-C7SFQTB2.esm.js";
|
|
|
16
16
|
import "./types-CMcxlSmH.esm.js";
|
|
17
17
|
import "./session-D4m9r-7U.esm.js";
|
|
18
18
|
import "./videoSelfieSteps-DAky5sq5.esm.js";
|
|
19
|
-
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
19
|
+
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-BIg0Te2j.esm.js";
|
|
20
20
|
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-DwNoUhk5.esm.js";
|
|
21
21
|
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-3qH_hqiv.esm.js";
|
|
22
22
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
3
|
-
import { n as getSessionFingerprintResult, r as initializeSession } from "./sessionInitializer-
|
|
3
|
+
import { n as getSessionFingerprintResult, r as initializeSession } from "./sessionInitializer-CiMM_8LA.esm.js";
|
|
4
4
|
import { n as toIncodeApiError } from "./apiError-C7SFQTB2.esm.js";
|
|
5
5
|
import { r as videoSelfieWasmPipelines } from "./videoSelfieSteps-DAky5sq5.esm.js";
|
|
6
6
|
|
package/dist/home.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import "./types-cqeeFcNT.js";
|
|
|
6
6
|
import "./canvas-lNFq1bim.js";
|
|
7
7
|
import "./createFaceAvatar-DFvWGUts.js";
|
|
8
8
|
import { t as EmptyConfig } from "./types-bWGcbd3_.js";
|
|
9
|
-
import * as
|
|
9
|
+
import * as xstate718 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: xstate718.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, xstate718.NonReducibleUnknown, xstate718.EventObject, xstate718.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): xstate718.ActorRefFromLogic<never>;
|
|
55
|
+
<TLogic extends xstate718.AnyActorLogic>(src: TLogic, ...[options]: xstate718.ConditionalRequired<[options?: ({
|
|
56
56
|
id?: never;
|
|
57
57
|
systemId?: string;
|
|
58
|
-
input?:
|
|
58
|
+
input?: xstate718.InputFrom<TLogic> | undefined;
|
|
59
59
|
syncSnapshot?: boolean;
|
|
60
|
-
} & { [K in
|
|
60
|
+
} & { [K in xstate718.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate718.IsNotNever<xstate718.RequiredLogicInput<TLogic>>>): xstate718.ActorRefFromLogic<TLogic>;
|
|
61
61
|
};
|
|
62
62
|
input: HomeInput;
|
|
63
|
-
self:
|
|
63
|
+
self: xstate718.ActorRef<xstate718.MachineSnapshot<HomeContext, {
|
|
64
64
|
type: "LOAD";
|
|
65
65
|
} | {
|
|
66
66
|
type: "COMPLETE";
|
|
67
67
|
} | {
|
|
68
68
|
type: "RESET";
|
|
69
|
-
}, Record<string,
|
|
69
|
+
}, Record<string, xstate718.AnyActorRef | undefined>, xstate718.StateValue, string, unknown, any, any>, {
|
|
70
70
|
type: "LOAD";
|
|
71
71
|
} | {
|
|
72
72
|
type: "COMPLETE";
|
|
73
73
|
} | {
|
|
74
74
|
type: "RESET";
|
|
75
|
-
},
|
|
75
|
+
}, xstate718.AnyEventObject>;
|
|
76
76
|
}) => {
|
|
77
77
|
config: EmptyConfig;
|
|
78
78
|
};
|
package/dist/id-ocr.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./StateMachine-CNPJD4wG.js";
|
|
2
2
|
import "./Manager-Cmz78C-6.js";
|
|
3
3
|
import "./Actor-BYmFPUr7.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-aZOEIls3.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/id-ocr/idOcrFields.d.ts
|
|
7
7
|
declare const OCR_FIELDS: OcrFieldConfig[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./StateMachine-CNPJD4wG.js";
|
|
2
2
|
import { t as Manager } from "./Manager-Cmz78C-6.js";
|
|
3
3
|
import "./Actor-BYmFPUr7.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as xstate673 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: xstate673.StateMachine<IdVerificationContext, {
|
|
37
37
|
type: "LOAD";
|
|
38
38
|
} | {
|
|
39
39
|
type: "CONTINUE";
|
|
40
40
|
}, {
|
|
41
|
-
[x: string]:
|
|
41
|
+
[x: string]: xstate673.ActorRefFromLogic<xstate673.PromiseActorLogic<ProcessIdResponse, {
|
|
42
42
|
isSecondId: boolean;
|
|
43
43
|
queueName: string;
|
|
44
|
-
},
|
|
44
|
+
}, xstate673.EventObject>> | undefined;
|
|
45
45
|
}, {
|
|
46
46
|
src: "processId";
|
|
47
|
-
logic:
|
|
47
|
+
logic: xstate673.PromiseActorLogic<ProcessIdResponse, {
|
|
48
48
|
isSecondId: boolean;
|
|
49
49
|
queueName: string;
|
|
50
|
-
},
|
|
50
|
+
}, xstate673.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, xstate673.NonReducibleUnknown, xstate673.EventObject, xstate673.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: xstate673.PromiseActorLogic<ProcessIdResponse, {
|
|
65
65
|
isSecondId: boolean;
|
|
66
66
|
queueName: string;
|
|
67
|
-
},
|
|
67
|
+
}, xstate673.EventObject>;
|
|
68
68
|
id: string | undefined;
|
|
69
69
|
} extends infer T ? T extends {
|
|
70
70
|
src: "processId";
|
|
71
|
-
logic:
|
|
71
|
+
logic: xstate673.PromiseActorLogic<ProcessIdResponse, {
|
|
72
72
|
isSecondId: boolean;
|
|
73
73
|
queueName: string;
|
|
74
|
-
},
|
|
74
|
+
}, xstate673.EventObject>;
|
|
75
75
|
id: string | undefined;
|
|
76
76
|
} ? T extends {
|
|
77
77
|
src: TSrc;
|
|
78
|
-
} ?
|
|
78
|
+
} ? xstate673.ConditionalRequired<[options?: ({
|
|
79
79
|
id?: T["id"] | undefined;
|
|
80
80
|
systemId?: string;
|
|
81
|
-
input?:
|
|
81
|
+
input?: xstate673.InputFrom<T["logic"]> | undefined;
|
|
82
82
|
syncSnapshot?: boolean;
|
|
83
|
-
} & { [K in
|
|
83
|
+
} & { [K in xstate673.RequiredActorOptions<T>]: unknown }) | undefined], xstate673.IsNotNever<xstate673.RequiredActorOptions<T>>> : never : never : never): xstate673.ActorRefFromLogic<xstate673.GetConcreteByKey<{
|
|
84
84
|
src: "processId";
|
|
85
|
-
logic:
|
|
85
|
+
logic: xstate673.PromiseActorLogic<ProcessIdResponse, {
|
|
86
86
|
isSecondId: boolean;
|
|
87
87
|
queueName: string;
|
|
88
|
-
},
|
|
88
|
+
}, xstate673.EventObject>;
|
|
89
89
|
id: string | undefined;
|
|
90
90
|
}, "src", TSrc>["logic"]>;
|
|
91
|
-
<TLogic extends
|
|
91
|
+
<TLogic extends xstate673.AnyActorLogic>(src: TLogic, ...[options]: xstate673.ConditionalRequired<[options?: ({
|
|
92
92
|
id?: never;
|
|
93
93
|
systemId?: string;
|
|
94
|
-
input?:
|
|
94
|
+
input?: xstate673.InputFrom<TLogic> | undefined;
|
|
95
95
|
syncSnapshot?: boolean;
|
|
96
|
-
} & { [K in
|
|
96
|
+
} & { [K in xstate673.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate673.IsNotNever<xstate673.RequiredLogicInput<TLogic>>>): xstate673.ActorRefFromLogic<TLogic>;
|
|
97
97
|
};
|
|
98
98
|
input: IdVerificationInput;
|
|
99
|
-
self:
|
|
99
|
+
self: xstate673.ActorRef<xstate673.MachineSnapshot<IdVerificationContext, {
|
|
100
100
|
type: "LOAD";
|
|
101
101
|
} | {
|
|
102
102
|
type: "CONTINUE";
|
|
103
|
-
}, Record<string,
|
|
103
|
+
}, Record<string, xstate673.AnyActorRef | undefined>, xstate673.StateValue, string, unknown, any, any>, {
|
|
104
104
|
type: "LOAD";
|
|
105
105
|
} | {
|
|
106
106
|
type: "CONTINUE";
|
|
107
|
-
},
|
|
107
|
+
}, xstate673.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: xstate673.ActorRef<xstate673.MachineSnapshot<IdVerificationContext, {
|
|
132
132
|
type: "LOAD";
|
|
133
133
|
} | {
|
|
134
134
|
type: "CONTINUE";
|
|
135
|
-
}, Record<string,
|
|
135
|
+
}, Record<string, xstate673.AnyActorRef>, xstate673.StateValue, string, unknown, any, any>, {
|
|
136
136
|
type: "LOAD";
|
|
137
137
|
} | {
|
|
138
138
|
type: "CONTINUE";
|
|
139
|
-
},
|
|
139
|
+
}, xstate673.AnyEventObject>;
|
|
140
140
|
}) => {
|
|
141
141
|
isSecondId: boolean;
|
|
142
142
|
queueName: string;
|
package/dist/id.esm.js
CHANGED
|
@@ -6,7 +6,7 @@ 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-CiMM_8LA.esm.js";
|
|
10
10
|
import "./getDeviceData-TrKM8NPh.esm.js";
|
|
11
11
|
import "./thumbmarkAdapter-fHBUDlAP.esm.js";
|
|
12
12
|
import "./IpifyProvider-BRW14_uo.esm.js";
|
|
@@ -33,9 +33,9 @@ import "./permissionGuards-BR2oN573.esm.js";
|
|
|
33
33
|
import "./recordingService-CkE5o82_.esm.js";
|
|
34
34
|
import "./mediaRecorderOptions-C3NAkVgK.esm.js";
|
|
35
35
|
import "./session-D4m9r-7U.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-
|
|
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-BlZRUD0U.esm.js";
|
|
37
37
|
import "./idCaptureDefaults-GTCesE6K.esm.js";
|
|
38
|
-
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
38
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-loWYQ7CC.esm.js";
|
|
39
39
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-Byx0Y09k.esm.js";
|
|
40
40
|
|
|
41
41
|
//#region src/modules/id/idCaptureOnlyStateMachine.ts
|
|
@@ -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-BlZRUD0U.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/internal/idCapture/idCaptureManagerFactory.ts
|
|
10
10
|
function getPermissionStatus(snapshot) {
|