@incodetech/core 0.0.0-dev-20260709-7b0a2740 → 0.0.0-dev-20260709-e9d0614f
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 +6 -6
- package/dist/{authenticationManager-CfmjexgJ.esm.js → authenticationManager-Bfeq_w07.esm.js} +2 -2
- package/dist/{authenticationStateMachine-DigIkcJN.esm.js → authenticationStateMachine-BkWA4Vcm.esm.js} +2 -2
- package/dist/certificate-issuance.d.ts +28 -28
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-BOKuL7Xq.d.ts → consentManager-IkH3cHQp.d.ts} +50 -50
- package/dist/cpf-ocr.d.ts +1 -1
- package/dist/{cpfOcrManager-DqU0zZfw.d.ts → cpfOcrManager-It-dKOPr.d.ts} +17 -17
- package/dist/{deepsightLoader-Yh5_75rO.esm.js → deepsightLoader--uzeMW0e.esm.js} +1 -1
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-upload.d.ts +43 -43
- package/dist/{documentCaptureManager-B_BMMi9q.d.ts → documentCaptureManager-Do3W64nY.d.ts} +179 -179
- package/dist/dynamic-forms.d.ts +1 -1
- package/dist/dynamic-forms.esm.js +3 -2
- package/dist/{dynamicFormsManager-Cm6HTxDt.d.ts → dynamicFormsManager-CxcsSIxe.d.ts} +9 -1
- package/dist/{dynamicFormsManager-5qkuAHMX.esm.js → dynamicFormsManager-DUMb2FjL.esm.js} +2 -1
- package/dist/{dynamicFormsStateMachine-B_MXDQ2t.esm.js → dynamicFormsStateMachine-ehhgYM_W.esm.js} +70 -18
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybStateMachine-BaWzd9ob.esm.js → ekybStateMachine-DHRXWhGA.esm.js} +1 -1
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/extensibility.d.ts +9 -9
- package/dist/extensibility.esm.js +13 -13
- package/dist/face-match.d.ts +1 -1
- package/dist/{faceCaptureManagerFactory-CvtebWY-.esm.js → faceCaptureManagerFactory-Clc6JTUL.esm.js} +1 -1
- package/dist/{faceCaptureSetup-CNIOA880.esm.js → faceCaptureSetup--0RKZXes.esm.js} +2 -2
- package/dist/{faceMatchManager-DVOWbUn1.d.ts → faceMatchManager-BLNrKbeI.d.ts} +2 -2
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +2 -2
- package/dist/{flowServices-BMF3fPwO.esm.js → flowServices-DDK4bMXx.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 +1 -1
- package/dist/id.esm.js +5 -5
- package/dist/{idCaptureManager-BQ0M3frN.esm.js → idCaptureManager-Dz6au7T1.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-X9_QxEbf.esm.js → idCaptureStateMachine-COqpgiFu.esm.js} +4 -4
- package/dist/{idOcrManager-CJ_1Y3Ep.d.ts → idOcrManager-Ddj8Zpn6.d.ts} +52 -52
- package/dist/{idVerificationManager-CHD_7Nlp.d.ts → idVerificationManager-DLeCBgHE.d.ts} +25 -25
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-Cc0YCdj5.d.ts → identityReuseManager-CQ0uu66M.d.ts} +34 -34
- package/dist/{index-DYznIu75.d.ts → index-Dawvpdu2.d.ts} +150 -150
- package/dist/index.esm.js +2 -2
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-B1sGTw2F.d.ts → mandatoryConsentManager-BvjgzOv_.d.ts} +50 -50
- package/dist/{onDeviceFaceResults-CMqNwyZA.esm.js → onDeviceFaceResults-Dt_GP4Ez.esm.js} +1 -1
- package/dist/personhood.esm.js +2 -2
- package/dist/qe-signature.d.ts +1 -1
- package/dist/{recordingService-DD3hkl5U.esm.js → recordingService-AMay1uYQ.esm.js} +1 -1
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieManager-BsB9K2-W.esm.js → selfieManager-8oeew8KZ.esm.js} +2 -2
- package/dist/{selfieStateMachine-DQpjq-_z.esm.js → selfieStateMachine-xJehn2CW.esm.js} +2 -2
- package/dist/session.esm.js +1 -1
- package/dist/{sessionInitializer-ICpx7SVO.esm.js → sessionInitializer-D_TErCvg.esm.js} +1 -1
- package/dist/{setup-CnlLyXea.esm.js → setup-DrcSOE02.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 +3 -3
- package/dist/wasm.esm.js +2 -2
- package/dist/workflow.d.ts +102 -102
- package/dist/workflow.esm.js +10 -10
- package/package.json +3 -3
package/dist/dynamic-forms.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./StateMachine-BbQn0WGQ.js";
|
|
2
2
|
import "./Manager-Nf1FHI2l.js";
|
|
3
3
|
import "./Actor-CVuNUOJR.js";
|
|
4
|
-
import { c as DynamicFormsValidationErrors, d as Question, f as Screen, l as DynamicFormsConfig, n as DynamicFormsState, o as DynamicFormsResult, r as createDynamicFormsManager, s as dynamicFormsMachine, t as DynamicFormsManager, u as InputType } from "./dynamicFormsManager-
|
|
4
|
+
import { c as DynamicFormsValidationErrors, d as Question, f as Screen, l as DynamicFormsConfig, n as DynamicFormsState, o as DynamicFormsResult, r as createDynamicFormsManager, s as dynamicFormsMachine, t as DynamicFormsManager, u as InputType } from "./dynamicFormsManager-CxcsSIxe.js";
|
|
5
5
|
export { type DynamicFormsConfig, type DynamicFormsManager, type DynamicFormsResult, type DynamicFormsState, type DynamicFormsValidationErrors, type InputType, type Question, type Screen, createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -2,8 +2,9 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import "./events-aeCkGlnn.esm.js";
|
|
3
3
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
4
4
|
import "./xstate.esm-nY3M5UYm.esm.js";
|
|
5
|
+
import "./apiError-DkOXfFBu.esm.js";
|
|
5
6
|
import "./dateUtils-BW6mBV6p.esm.js";
|
|
6
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
7
|
-
import { t as createDynamicFormsManager } from "./dynamicFormsManager-
|
|
7
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-ehhgYM_W.esm.js";
|
|
8
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-DUMb2FjL.esm.js";
|
|
8
9
|
|
|
9
10
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -133,10 +133,18 @@ type DynamicFormsMisconfiguredState = {
|
|
|
133
133
|
type DynamicFormsClosedState = {
|
|
134
134
|
status: 'closed';
|
|
135
135
|
};
|
|
136
|
+
/**
|
|
137
|
+
* Login-hint lockout — the backend reported status `4302` ("Login hint attempts
|
|
138
|
+
* exceeded") on a form-answer rejection. Terminal, non-recoverable screen with
|
|
139
|
+
* no retry; the module parks here (user must contact their administrator).
|
|
140
|
+
*/
|
|
141
|
+
type DynamicFormsAttemptsExhaustedState = {
|
|
142
|
+
status: 'attemptsExhausted';
|
|
143
|
+
};
|
|
136
144
|
/**
|
|
137
145
|
* Union of all possible dynamic forms manager states.
|
|
138
146
|
*/
|
|
139
|
-
type DynamicFormsState = DynamicFormsIdleState | DynamicFormsLoadingState | DynamicFormsInputtingState | DynamicFormsSubmittingState | DynamicFormsSuccessState | DynamicFormsFinishedState | DynamicFormsMisconfiguredState | DynamicFormsClosedState;
|
|
147
|
+
type DynamicFormsState = DynamicFormsIdleState | DynamicFormsLoadingState | DynamicFormsInputtingState | DynamicFormsSubmittingState | DynamicFormsSuccessState | DynamicFormsFinishedState | DynamicFormsMisconfiguredState | DynamicFormsClosedState | DynamicFormsAttemptsExhaustedState;
|
|
140
148
|
/**
|
|
141
149
|
* Creates a dynamic forms manager for headless or UI-driven usage.
|
|
142
150
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-aeCkGlnn.esm.js";
|
|
2
2
|
import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
3
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
3
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-ehhgYM_W.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/dynamic-forms/dynamicFormsActor.ts
|
|
6
6
|
function createDynamicFormsActor(options) {
|
|
@@ -101,6 +101,7 @@ function mapState(snapshot) {
|
|
|
101
101
|
};
|
|
102
102
|
if (typedSnapshot.matches("misconfigured")) return { status: "misconfigured" };
|
|
103
103
|
if (typedSnapshot.matches("closed")) return { status: "closed" };
|
|
104
|
+
if (typedSnapshot.matches("attemptsExhausted")) return { status: "attemptsExhausted" };
|
|
104
105
|
return { status: "idle" };
|
|
105
106
|
}
|
|
106
107
|
function createApi({ actor, trackElementClicked }) {
|
package/dist/{dynamicFormsStateMachine-B_MXDQ2t.esm.js → dynamicFormsStateMachine-ehhgYM_W.esm.js}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
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
|
+
import { n as toIncodeApiError, t as IncodeApiError } from "./apiError-DkOXfFBu.esm.js";
|
|
4
5
|
import { t as isoDateToMs } from "./dateUtils-BW6mBV6p.esm.js";
|
|
5
6
|
|
|
6
7
|
//#region src/modules/dynamic-forms/dynamicFormsFields.ts
|
|
@@ -77,16 +78,36 @@ async function fetchForms(flowId, signal) {
|
|
|
77
78
|
return res.data;
|
|
78
79
|
}
|
|
79
80
|
async function submitFormAnswer(params, signal) {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
81
|
+
try {
|
|
82
|
+
return (await api.post(endpoints.dynamicFormsSubmitAnswer, {
|
|
83
|
+
questionId: params.questionId,
|
|
84
|
+
answerDetails: { singleAnswer: params.singleAnswer }
|
|
85
|
+
}, { signal })).data;
|
|
86
|
+
} catch (error) {
|
|
87
|
+
throw toIncodeApiError(endpoints.dynamicFormsSubmitAnswer, error);
|
|
88
|
+
}
|
|
86
89
|
}
|
|
87
90
|
|
|
88
91
|
//#endregion
|
|
89
92
|
//#region src/modules/dynamic-forms/dynamicFormsStateMachine.ts
|
|
93
|
+
const INVALID_LOGIN_HINT_STATUS = 4301;
|
|
94
|
+
const LOGIN_HINT_LOCKED_STATUS = 4302;
|
|
95
|
+
/**
|
|
96
|
+
* Thrown from the submit actor when a form answer is rejected with a login-hint
|
|
97
|
+
* status ({@link INVALID_LOGIN_HINT_STATUS} or {@link LOGIN_HINT_LOCKED_STATUS}).
|
|
98
|
+
* Carries the failing question so the inline error attaches to the right field,
|
|
99
|
+
* the backend status so the machine can decide between "retry" and "locked", and
|
|
100
|
+
* the answers already accepted before the failure so a retry doesn't re-POST them.
|
|
101
|
+
*/
|
|
102
|
+
var LoginHintSubmitError = class extends Error {
|
|
103
|
+
constructor(questionId, status, submitted) {
|
|
104
|
+
super("Login hint rejected");
|
|
105
|
+
this.name = "LoginHintSubmitError";
|
|
106
|
+
this.questionId = questionId;
|
|
107
|
+
this.status = status;
|
|
108
|
+
this.submitted = submitted;
|
|
109
|
+
}
|
|
110
|
+
};
|
|
90
111
|
function transformAnswerValue(inputType, value) {
|
|
91
112
|
switch (inputType) {
|
|
92
113
|
case "CPF": return value.replace(/[-.]/g, "");
|
|
@@ -117,15 +138,20 @@ const dynamicFormsMachine = setup({
|
|
|
117
138
|
return fetchForms(input.flowId, signal);
|
|
118
139
|
}),
|
|
119
140
|
submitScreenAnswers: fromPromise(async ({ input, signal }) => {
|
|
120
|
-
const { screen: formScreen, answers } = input;
|
|
141
|
+
const { screen: formScreen, answers, submittedAnswers } = input;
|
|
142
|
+
const submitted = { ...submittedAnswers };
|
|
121
143
|
for (const question of formScreen.questions) {
|
|
122
144
|
const singleAnswer = transformAnswerValue(question.inputType ?? question.overrides ?? "TEXT", answers[question.questionId] ?? "");
|
|
145
|
+
if (submitted[question.questionId] === singleAnswer) continue;
|
|
123
146
|
try {
|
|
124
147
|
await submitFormAnswer({
|
|
125
148
|
questionId: question.questionId,
|
|
126
149
|
singleAnswer
|
|
127
150
|
}, signal);
|
|
128
|
-
|
|
151
|
+
submitted[question.questionId] = singleAnswer;
|
|
152
|
+
} catch (error) {
|
|
153
|
+
if (error instanceof IncodeApiError && (error.status === INVALID_LOGIN_HINT_STATUS || error.status === LOGIN_HINT_LOCKED_STATUS)) throw new LoginHintSubmitError(question.questionId, error.status, submitted);
|
|
154
|
+
}
|
|
129
155
|
}
|
|
130
156
|
return { success: true };
|
|
131
157
|
})
|
|
@@ -137,6 +163,7 @@ const dynamicFormsMachine = setup({
|
|
|
137
163
|
return {
|
|
138
164
|
screens,
|
|
139
165
|
answers: {},
|
|
166
|
+
submittedAnswers: {},
|
|
140
167
|
currentScreenFields: firstScreen ? buildScreenFields(firstScreen) : []
|
|
141
168
|
};
|
|
142
169
|
}),
|
|
@@ -175,19 +202,36 @@ const dynamicFormsMachine = setup({
|
|
|
175
202
|
return {
|
|
176
203
|
currentScreenIndex: nextIndex,
|
|
177
204
|
answers: {},
|
|
205
|
+
submittedAnswers: {},
|
|
178
206
|
answerValidity: {},
|
|
179
207
|
currentScreenFields: nextScreen ? buildScreenFields(nextScreen) : [],
|
|
180
208
|
validationErrors: void 0
|
|
181
209
|
};
|
|
182
210
|
}),
|
|
183
211
|
markCompleted: assign({ result: "completed" }),
|
|
184
|
-
markSkipped: assign({ result: "skipped" })
|
|
212
|
+
markSkipped: assign({ result: "skipped" }),
|
|
213
|
+
setLoginHintError: assign(({ context, event }) => {
|
|
214
|
+
const err = event.error;
|
|
215
|
+
if (!(err instanceof LoginHintSubmitError)) return {};
|
|
216
|
+
return {
|
|
217
|
+
validationErrors: upsertKey(context.validationErrors, err.questionId, "forms.errors.invalidLoginHint"),
|
|
218
|
+
submittedAnswers: err.submitted
|
|
219
|
+
};
|
|
220
|
+
})
|
|
185
221
|
},
|
|
186
222
|
guards: {
|
|
187
223
|
hasPreloadedScreens: ({ context }) => (context.config.screens?.length ?? 0) > 0,
|
|
188
224
|
hasFlowId: ({ context }) => !!context.config.flowId,
|
|
189
225
|
isLastScreen: ({ context }) => context.currentScreenIndex >= context.screens.length - 1,
|
|
190
|
-
isScreenValid: ({ context }) => Object.keys(context.validationErrors ?? {}).length === 0
|
|
226
|
+
isScreenValid: ({ context }) => Object.keys(context.validationErrors ?? {}).length === 0,
|
|
227
|
+
isLoginHintLocked: ({ event }) => {
|
|
228
|
+
const err = event.error;
|
|
229
|
+
return err instanceof LoginHintSubmitError && err.status === LOGIN_HINT_LOCKED_STATUS;
|
|
230
|
+
},
|
|
231
|
+
isLoginHintInvalid: ({ event }) => {
|
|
232
|
+
const err = event.error;
|
|
233
|
+
return err instanceof LoginHintSubmitError && err.status === INVALID_LOGIN_HINT_STATUS;
|
|
234
|
+
}
|
|
191
235
|
}
|
|
192
236
|
}).createMachine({
|
|
193
237
|
id: "dynamicForms",
|
|
@@ -200,6 +244,7 @@ const dynamicFormsMachine = setup({
|
|
|
200
244
|
screens,
|
|
201
245
|
currentScreenIndex: 0,
|
|
202
246
|
answers: {},
|
|
247
|
+
submittedAnswers: {},
|
|
203
248
|
answerValidity: {},
|
|
204
249
|
currentScreenFields: firstScreen ? buildScreenFields(firstScreen) : [],
|
|
205
250
|
result: null
|
|
@@ -253,7 +298,8 @@ const dynamicFormsMachine = setup({
|
|
|
253
298
|
src: "submitScreenAnswers",
|
|
254
299
|
input: ({ context }) => ({
|
|
255
300
|
screen: context.screens[context.currentScreenIndex],
|
|
256
|
-
answers: context.answers
|
|
301
|
+
answers: context.answers,
|
|
302
|
+
submittedAnswers: context.submittedAnswers
|
|
257
303
|
}),
|
|
258
304
|
onDone: [{
|
|
259
305
|
target: "success",
|
|
@@ -262,13 +308,18 @@ const dynamicFormsMachine = setup({
|
|
|
262
308
|
target: "inputting",
|
|
263
309
|
actions: "advanceScreen"
|
|
264
310
|
}],
|
|
265
|
-
onError: [
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
311
|
+
onError: [
|
|
312
|
+
{
|
|
313
|
+
guard: "isLoginHintLocked",
|
|
314
|
+
target: "attemptsExhausted"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
guard: "isLoginHintInvalid",
|
|
318
|
+
target: "inputting",
|
|
319
|
+
actions: "setLoginHintError"
|
|
320
|
+
},
|
|
321
|
+
{ target: "inputting" }
|
|
322
|
+
]
|
|
272
323
|
} },
|
|
273
324
|
success: { after: { 3e3: {
|
|
274
325
|
target: "finished",
|
|
@@ -276,6 +327,7 @@ const dynamicFormsMachine = setup({
|
|
|
276
327
|
} } },
|
|
277
328
|
finished: { type: "final" },
|
|
278
329
|
misconfigured: { on: { CLOSE: { target: "closed" } } },
|
|
330
|
+
attemptsExhausted: {},
|
|
279
331
|
closed: { type: "final" }
|
|
280
332
|
}
|
|
281
333
|
});
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -4,17 +4,17 @@ import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstru
|
|
|
4
4
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
5
5
|
import "./stats-BVy52wLy.esm.js";
|
|
6
6
|
import "./browserSimulation-DFpmweuc.esm.js";
|
|
7
|
-
import "./sessionInitializer-
|
|
7
|
+
import "./sessionInitializer-D_TErCvg.esm.js";
|
|
8
8
|
import "./thumbmarkAdapter-CVyiGp0-.esm.js";
|
|
9
9
|
import "./platform-BoeUeUrV.esm.js";
|
|
10
10
|
import "./tri-BzQijCrD.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-DHRXWhGA.esm.js";
|
|
14
14
|
import "./addressSearch-B2NxSpHl.esm.js";
|
|
15
15
|
import "./session--C2lbjK5.esm.js";
|
|
16
16
|
import "./videoSelfieSteps-DAky5sq5.esm.js";
|
|
17
|
-
import "./flowServices-
|
|
17
|
+
import "./flowServices-DDK4bMXx.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-B2NxSpHl.esm.js";
|
|
5
|
-
import { t as getFlow } from "./flowServices-
|
|
5
|
+
import { t as getFlow } from "./flowServices-DDK4bMXx.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-BbQn0WGQ.js";
|
|
2
2
|
import "./Manager-Nf1FHI2l.js";
|
|
3
3
|
import "./Actor-CVuNUOJR.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-Dawvpdu2.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,24 +19,24 @@ import "./StreamCanvasCapture-2WEq2BPh.js";
|
|
|
19
19
|
import "./deepsightService-DM-bFcoC.js";
|
|
20
20
|
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-CBDdfgJq.js";
|
|
21
21
|
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-Bk8ZnCwm.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-IkH3cHQp.js";
|
|
23
|
+
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-It-dKOPr.js";
|
|
24
24
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-BjgY5K5j.js";
|
|
25
25
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-Dh5pbMIh.js";
|
|
26
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
27
|
-
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-
|
|
26
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-Do3W64nY.js";
|
|
27
|
+
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-CxcsSIxe.js";
|
|
28
28
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-C3txxrRg.js";
|
|
29
29
|
import "./otp-_n_me71J.js";
|
|
30
30
|
import { A as CaptureIdResponse, E as IdCaptureActor, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-CGZOssGT.js";
|
|
31
31
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-Bt4GpgTV.js";
|
|
32
|
-
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-
|
|
32
|
+
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-CQ0uu66M.js";
|
|
33
33
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-Dr99pXex.js";
|
|
34
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
35
|
-
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-
|
|
34
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-BvjgzOv_.js";
|
|
35
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-Ddj8Zpn6.js";
|
|
36
36
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-AY6GnTCO.js";
|
|
37
37
|
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-D5Lo-VE4.js";
|
|
38
|
-
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-
|
|
39
|
-
import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-
|
|
38
|
+
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-DLeCBgHE.js";
|
|
39
|
+
import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-BLNrKbeI.js";
|
|
40
40
|
|
|
41
41
|
//#region src/modules/authentication/authenticationUploadService.d.ts
|
|
42
42
|
type AuthenticationUploadResponse = {
|
|
@@ -5,7 +5,7 @@ import "./events-aeCkGlnn.esm.js";
|
|
|
5
5
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
6
6
|
import "./stats-BVy52wLy.esm.js";
|
|
7
7
|
import "./browserSimulation-DFpmweuc.esm.js";
|
|
8
|
-
import { c as IpifyProvider, l as FingerprintProvider, t as getDisableIpify, u as getDeviceFingerprintInfo } from "./sessionInitializer-
|
|
8
|
+
import { c as IpifyProvider, l as FingerprintProvider, t as getDisableIpify, u as getDeviceFingerprintInfo } from "./sessionInitializer-D_TErCvg.esm.js";
|
|
9
9
|
import "./thumbmarkAdapter-CVyiGp0-.esm.js";
|
|
10
10
|
import "./platform-BoeUeUrV.esm.js";
|
|
11
11
|
import "./tri-BzQijCrD.esm.js";
|
|
@@ -14,14 +14,14 @@ 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-C1xnhF2Q.esm.js";
|
|
17
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup
|
|
17
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup--0RKZXes.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-Clc6JTUL.esm.js";
|
|
23
23
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CBXGCHnK.esm.js";
|
|
24
|
-
import "./onDeviceFaceResults-
|
|
24
|
+
import "./onDeviceFaceResults-Dt_GP4Ez.esm.js";
|
|
25
25
|
import "./ITimerCapability-G7lQg-be.esm.js";
|
|
26
26
|
import "./canvas-DsJa51yU.esm.js";
|
|
27
27
|
import "./backCameraStream-POavVKz4.esm.js";
|
|
@@ -33,10 +33,10 @@ import "./types-Db2ooXIu.esm.js";
|
|
|
33
33
|
import "./createFaceAvatar-DoRExjKD.esm.js";
|
|
34
34
|
import "./StreamCanvasCapture-CRk7c7u7.esm.js";
|
|
35
35
|
import "./permissionGuards-CaZl9t7f.esm.js";
|
|
36
|
-
import "./recordingService-
|
|
36
|
+
import "./recordingService-AMay1uYQ.esm.js";
|
|
37
37
|
import "./mediaRecorderOptions-BIn657lu.esm.js";
|
|
38
|
-
import "./authenticationStateMachine-
|
|
39
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
38
|
+
import "./authenticationStateMachine-BkWA4Vcm.esm.js";
|
|
39
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-Bfeq_w07.esm.js";
|
|
40
40
|
import "./consentStateMachine-DnqwsZ7o.esm.js";
|
|
41
41
|
import { n as createConsentManagerFromActor } from "./consentManager-r4MTIoV3.esm.js";
|
|
42
42
|
import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-D6ZQ9kkv.esm.js";
|
|
@@ -47,17 +47,17 @@ import { n as createCurpValidationManagerFromActor } from "./curpValidationManag
|
|
|
47
47
|
import "./dateUtils-BW6mBV6p.esm.js";
|
|
48
48
|
import "./documentCaptureStateMachine-BuI5VuAW.esm.js";
|
|
49
49
|
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-Dwup6SOP.esm.js";
|
|
50
|
-
import "./dynamicFormsStateMachine-
|
|
51
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
50
|
+
import "./dynamicFormsStateMachine-ehhgYM_W.esm.js";
|
|
51
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DUMb2FjL.esm.js";
|
|
52
52
|
import "./session--C2lbjK5.esm.js";
|
|
53
53
|
import "./emailStateMachine-COK_8IDp.esm.js";
|
|
54
54
|
import "./otp-nhnnp9FM.esm.js";
|
|
55
55
|
import { n as createEmailManagerFromActor } from "./emailManager-CMLBFHqK.esm.js";
|
|
56
|
-
import "./selfieStateMachine-
|
|
57
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
58
|
-
import "./idCaptureStateMachine-
|
|
56
|
+
import "./selfieStateMachine-xJehn2CW.esm.js";
|
|
57
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-8oeew8KZ.esm.js";
|
|
58
|
+
import "./idCaptureStateMachine-COqpgiFu.esm.js";
|
|
59
59
|
import "./idCaptureDefaults-CHbl3wiH.esm.js";
|
|
60
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
60
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-Dz6au7T1.esm.js";
|
|
61
61
|
import "./phoneStateMachine-CX4rvv0t.esm.js";
|
|
62
62
|
import { n as createPhoneManagerFromActor } from "./phoneManager-RmMuAM_h.esm.js";
|
|
63
63
|
import "./identityReuseStateMachine-DmnM1BAa.esm.js";
|
package/dist/face-match.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./StateMachine-BbQn0WGQ.js";
|
|
2
2
|
import "./Manager-Nf1FHI2l.js";
|
|
3
|
-
import { a as FaceMatchActor, c as FaceMatchResult, i as createFaceMatchManagerFromActor, l as FaceMatchVariant, n as FaceMatchState, o as FaceMatchConfig, r as createFaceMatchManager, s as FaceMatchImages, t as FaceMatchManager } from "./faceMatchManager-
|
|
3
|
+
import { a as FaceMatchActor, c as FaceMatchResult, i as createFaceMatchManagerFromActor, l as FaceMatchVariant, n as FaceMatchState, o as FaceMatchConfig, r as createFaceMatchManager, s as FaceMatchImages, t as FaceMatchManager } from "./faceMatchManager-BLNrKbeI.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/face-match/faceMatchStateMachine.d.ts
|
|
6
6
|
|
package/dist/{faceCaptureManagerFactory-CvtebWY-.esm.js → faceCaptureManagerFactory-Clc6JTUL.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as topLevelStateName, r as eventScreenNames, s as createManagerInstrumentation } from "./events-aeCkGlnn.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--0RKZXes.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-Dt_GP4Ez.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-Db2ooXIu.esm.js";
|
|
6
6
|
import { t as createFaceAvatar } from "./createFaceAvatar-DoRExjKD.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-AMay1uYQ.esm.js";
|
|
10
10
|
|
|
11
11
|
//#region src/internal/avatar/concealment.ts
|
|
12
12
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-Nf1FHI2l.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as xstate1589 from "xstate";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/face-match/types.d.ts
|
|
5
5
|
/**
|
|
@@ -75,7 +75,7 @@ type FaceMatchResult = {
|
|
|
75
75
|
type CreateFaceMatchActorOptions = {
|
|
76
76
|
config: FaceMatchConfig;
|
|
77
77
|
};
|
|
78
|
-
declare function createFaceMatchActor(options: CreateFaceMatchActorOptions):
|
|
78
|
+
declare function createFaceMatchActor(options: CreateFaceMatchActorOptions): xstate1589.Actor<any>;
|
|
79
79
|
type FaceMatchActor = ReturnType<typeof createFaceMatchActor>;
|
|
80
80
|
//#endregion
|
|
81
81
|
//#region src/modules/face-match/faceMatchManager.d.ts
|
package/dist/flow.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-q_Jqc
|
|
|
10
10
|
import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-D67Cat5z.js";
|
|
11
11
|
import { o as FlowEventSubscribable } from "./index-Bl4synmA.js";
|
|
12
12
|
import { n as ModuleRegistry } from "./types-C7UUDE5w.js";
|
|
13
|
-
import * as
|
|
13
|
+
import * as xstate1237 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: xstate1237.StateMachine<xstate1237.MachineContext, xstate1237.AnyEventObject, {}, never, never, never, never, "finished", string, xstate1237.NonReducibleUnknown, xstate1237.NonReducibleUnknown, xstate1237.EventObject, xstate1237.MetaObject, {
|
|
66
66
|
readonly id: "noOpFlowModule";
|
|
67
67
|
readonly initial: "finished";
|
|
68
68
|
readonly states: {
|
package/dist/flow.esm.js
CHANGED
|
@@ -4,7 +4,7 @@ import { g as addEvent } from "./events-aeCkGlnn.esm.js";
|
|
|
4
4
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
5
5
|
import "./stats-BVy52wLy.esm.js";
|
|
6
6
|
import "./browserSimulation-DFpmweuc.esm.js";
|
|
7
|
-
import "./sessionInitializer-
|
|
7
|
+
import "./sessionInitializer-D_TErCvg.esm.js";
|
|
8
8
|
import "./thumbmarkAdapter-CVyiGp0-.esm.js";
|
|
9
9
|
import "./platform-BoeUeUrV.esm.js";
|
|
10
10
|
import "./tri-BzQijCrD.esm.js";
|
|
@@ -13,7 +13,7 @@ import "./apiError-DkOXfFBu.esm.js";
|
|
|
13
13
|
import "./types-Db2ooXIu.esm.js";
|
|
14
14
|
import "./session--C2lbjK5.esm.js";
|
|
15
15
|
import "./videoSelfieSteps-DAky5sq5.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-DDK4bMXx.esm.js";
|
|
17
17
|
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-BM0VfDdG.esm.js";
|
|
18
18
|
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-DfryCG-j.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-D_TErCvg.esm.js";
|
|
4
4
|
import { n as toIncodeApiError } from "./apiError-DkOXfFBu.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-BvBOuDuK.js";
|
|
|
6
6
|
import "./canvas-BObFM-qd.js";
|
|
7
7
|
import "./createFaceAvatar-Cq8XaOFg.js";
|
|
8
8
|
import { t as EmptyConfig } from "./types-q_JqcrUi.js";
|
|
9
|
-
import * as
|
|
9
|
+
import * as xstate1011 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: xstate1011.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, xstate1011.NonReducibleUnknown, xstate1011.EventObject, xstate1011.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): xstate1011.ActorRefFromLogic<never>;
|
|
55
|
+
<TLogic extends xstate1011.AnyActorLogic>(src: TLogic, ...[options]: xstate1011.ConditionalRequired<[options?: ({
|
|
56
56
|
id?: never;
|
|
57
57
|
systemId?: string;
|
|
58
|
-
input?:
|
|
58
|
+
input?: xstate1011.InputFrom<TLogic> | undefined;
|
|
59
59
|
syncSnapshot?: boolean;
|
|
60
|
-
} & { [K in
|
|
60
|
+
} & { [K in xstate1011.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1011.IsNotNever<xstate1011.RequiredLogicInput<TLogic>>>): xstate1011.ActorRefFromLogic<TLogic>;
|
|
61
61
|
};
|
|
62
62
|
input: HomeInput;
|
|
63
|
-
self:
|
|
63
|
+
self: xstate1011.ActorRef<xstate1011.MachineSnapshot<HomeContext, {
|
|
64
64
|
type: "LOAD";
|
|
65
65
|
} | {
|
|
66
66
|
type: "COMPLETE";
|
|
67
67
|
} | {
|
|
68
68
|
type: "RESET";
|
|
69
|
-
}, Record<string,
|
|
69
|
+
}, Record<string, xstate1011.AnyActorRef | undefined>, xstate1011.StateValue, string, unknown, any, any>, {
|
|
70
70
|
type: "LOAD";
|
|
71
71
|
} | {
|
|
72
72
|
type: "COMPLETE";
|
|
73
73
|
} | {
|
|
74
74
|
type: "RESET";
|
|
75
|
-
},
|
|
75
|
+
}, xstate1011.AnyEventObject>;
|
|
76
76
|
}) => {
|
|
77
77
|
config: EmptyConfig;
|
|
78
78
|
};
|
package/dist/id-ocr.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./StateMachine-BbQn0WGQ.js";
|
|
2
2
|
import "./Manager-Nf1FHI2l.js";
|
|
3
3
|
import "./Actor-CVuNUOJR.js";
|
|
4
|
-
import { a as IdOcrActor, c as IdOcrConfig, d as UpdateOcrDataParams, f as ValidationRule, i as createIdOcrManagerFromActor, 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 { a as IdOcrActor, c as IdOcrConfig, d as UpdateOcrDataParams, f as ValidationRule, i as createIdOcrManagerFromActor, l as OcrData, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager, u as OcrFieldConfig } from "./idOcrManager-Ddj8Zpn6.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/id-ocr/idOcrFields.d.ts
|
|
7
7
|
declare const OCR_FIELDS: OcrFieldConfig[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./StateMachine-BbQn0WGQ.js";
|
|
2
2
|
import "./Manager-Nf1FHI2l.js";
|
|
3
3
|
import "./Actor-CVuNUOJR.js";
|
|
4
|
-
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, o as idVerificationMachine, r as createIdVerificationManager, s as IdVerificationConfig, t as IdVerificationManager } from "./idVerificationManager-
|
|
4
|
+
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, o as idVerificationMachine, r as createIdVerificationManager, s as IdVerificationConfig, t as IdVerificationManager } from "./idVerificationManager-DLeCBgHE.js";
|
|
5
5
|
export { type IdVerificationActor, type IdVerificationConfig, type IdVerificationManager, type IdVerificationState, createIdVerificationManager, createIdVerificationManagerFromActor, idVerificationMachine };
|
package/dist/id.esm.js
CHANGED
|
@@ -5,7 +5,7 @@ import { n as eventModuleNames } from "./events-aeCkGlnn.esm.js";
|
|
|
5
5
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
6
6
|
import "./stats-BVy52wLy.esm.js";
|
|
7
7
|
import "./browserSimulation-DFpmweuc.esm.js";
|
|
8
|
-
import "./sessionInitializer-
|
|
8
|
+
import "./sessionInitializer-D_TErCvg.esm.js";
|
|
9
9
|
import "./thumbmarkAdapter-CVyiGp0-.esm.js";
|
|
10
10
|
import "./platform-BoeUeUrV.esm.js";
|
|
11
11
|
import "./tri-BzQijCrD.esm.js";
|
|
@@ -16,7 +16,7 @@ import "./MotionSensorProvider-BkHKMCPE.esm.js";
|
|
|
16
16
|
import "./permissionServices-D9lmzFYc.esm.js";
|
|
17
17
|
import "./camera-B0yWS33x.esm.js";
|
|
18
18
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CBXGCHnK.esm.js";
|
|
19
|
-
import "./onDeviceFaceResults-
|
|
19
|
+
import "./onDeviceFaceResults-Dt_GP4Ez.esm.js";
|
|
20
20
|
import "./ITimerCapability-G7lQg-be.esm.js";
|
|
21
21
|
import "./canvas-DsJa51yU.esm.js";
|
|
22
22
|
import "./backCameraStream-POavVKz4.esm.js";
|
|
@@ -27,12 +27,12 @@ import "./getDeviceClass-QxbJwsOO.esm.js";
|
|
|
27
27
|
import "./types-Db2ooXIu.esm.js";
|
|
28
28
|
import "./StreamCanvasCapture-CRk7c7u7.esm.js";
|
|
29
29
|
import "./permissionGuards-CaZl9t7f.esm.js";
|
|
30
|
-
import "./recordingService-
|
|
30
|
+
import "./recordingService-AMay1uYQ.esm.js";
|
|
31
31
|
import "./mediaRecorderOptions-BIn657lu.esm.js";
|
|
32
32
|
import "./session--C2lbjK5.esm.js";
|
|
33
|
-
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-
|
|
33
|
+
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-COqpgiFu.esm.js";
|
|
34
34
|
import "./idCaptureDefaults-CHbl3wiH.esm.js";
|
|
35
|
-
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
35
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-Dz6au7T1.esm.js";
|
|
36
36
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DlCKlJWr.esm.js";
|
|
37
37
|
|
|
38
38
|
//#region src/modules/id/idCaptureOnlyStateMachine.ts
|
|
@@ -3,7 +3,7 @@ import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.
|
|
|
3
3
|
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-B04zvOXW.esm.js";
|
|
4
4
|
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-D9lmzFYc.esm.js";
|
|
5
5
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CBXGCHnK.esm.js";
|
|
6
|
-
import { i as mapIdManualUploadScreenName, n as getManualUploadTabs, r as MAX_EXPIRED_FIRST_SIDE_ATTEMPTS, t as idCaptureMachine, v as mapDigitalIdScreenName } from "./idCaptureStateMachine-
|
|
6
|
+
import { i as mapIdManualUploadScreenName, n as getManualUploadTabs, r as MAX_EXPIRED_FIRST_SIDE_ATTEMPTS, t as idCaptureMachine, v as mapDigitalIdScreenName } from "./idCaptureStateMachine-COqpgiFu.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/internal/idCapture/idCaptureManagerFactory.ts
|
|
9
9
|
function getPermissionStatus(snapshot) {
|