@incodetech/core 0.0.0-dev-20260505-23151a2 → 0.0.0-dev-20260505-4b09daf

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.
Files changed (42) hide show
  1. package/dist/{BaseWasmProvider-ECdlJ4eI.esm.js → BaseWasmProvider-BTKqWpeB.esm.js} +45 -49
  2. package/dist/{WasmUtilProvider-CjeoVWLu.esm.js → WasmUtilProvider-DqCiPXV6.esm.js} +1 -1
  3. package/dist/ae-signature.d.ts +1 -1
  4. package/dist/authentication.d.ts +2 -2
  5. package/dist/authentication.esm.js +6 -6
  6. package/dist/{authenticationManager-CQz8LKMD.d.ts → authenticationManager-DBgL1B8m.d.ts} +1 -1
  7. package/dist/{authenticationManager-D2cV2RYg.esm.js → authenticationManager-DzBrRrX7.esm.js} +2 -2
  8. package/dist/{authenticationStateMachine-BB-GL-sm.esm.js → authenticationStateMachine-Dg19Awyc.esm.js} +2 -2
  9. package/dist/consent.d.ts +47 -47
  10. package/dist/cpf-ocr.d.ts +17 -17
  11. package/dist/{deepsightLoader-VHWCGVhU.esm.js → deepsightLoader-BnMFKE9b.esm.js} +2 -2
  12. package/dist/document-capture.d.ts +71 -71
  13. package/dist/document-upload.d.ts +43 -43
  14. package/dist/electronic-signature.d.ts +1 -1
  15. package/dist/extensibility.d.ts +4 -4
  16. package/dist/extensibility.esm.js +10 -10
  17. package/dist/{faceCaptureManagerFactory-DfY95mko.d.ts → faceCaptureManagerFactory-CgwUMlyj.d.ts} +0 -35
  18. package/dist/{faceCaptureSetup-BBy_QNcO.esm.js → faceCaptureSetup-Cclz77d6.esm.js} +1 -1
  19. package/dist/home.d.ts +10 -10
  20. package/dist/id-ocr.d.ts +55 -55
  21. package/dist/id.d.ts +1 -1
  22. package/dist/id.esm.js +4 -4
  23. package/dist/{idCaptureManager-X3CG5c3T.d.ts → idCaptureManager--lWVPu7Z.d.ts} +0 -2
  24. package/dist/{idCaptureManager-CEJN1LTW.esm.js → idCaptureManager-Df8xxjBX.esm.js} +1 -1
  25. package/dist/{idCaptureStateMachine-Doo9KqTB.esm.js → idCaptureStateMachine-__Cc1trJ.esm.js} +6 -8
  26. package/dist/identity-reuse.d.ts +43 -43
  27. package/dist/{index-CJT4brJN.d.ts → index-DlIJDOn_.d.ts} +119 -119
  28. package/dist/index.esm.js +3 -3
  29. package/dist/mandatory-consent.d.ts +47 -47
  30. package/dist/qe-signature.d.ts +1 -1
  31. package/dist/{recordingService-DKg2c5De.esm.js → recordingService-Cen0Qmop.esm.js} +8 -21
  32. package/dist/selfie.d.ts +2 -2
  33. package/dist/selfie.esm.js +6 -6
  34. package/dist/{selfieManager-Bqf4qfIp.d.ts → selfieManager-BtyIr64h.d.ts} +1 -1
  35. package/dist/{selfieManager-pGHW3GaN.esm.js → selfieManager-DGAsMXpK.esm.js} +2 -2
  36. package/dist/{selfieStateMachine-C7ity4G9.esm.js → selfieStateMachine-C_VXHzeA.esm.js} +2 -2
  37. package/dist/{setup-Bp6ownN0.esm.js → setup-DvsiYeiw.esm.js} +3 -3
  38. package/dist/wasm.d.ts +1 -1
  39. package/dist/wasm.esm.js +3 -3
  40. package/dist/workflow.d.ts +85 -85
  41. package/dist/workflow.esm.js +6 -6
  42. package/package.json +3 -3
package/dist/id-ocr.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-CcbnIt3T.js";
2
2
  import "./Actor-CazhiaK7.js";
3
- import * as xstate452 from "xstate";
3
+ import * as xstate0 from "xstate";
4
4
 
5
5
  //#region src/modules/id-ocr/types.d.ts
6
6
  type IdOcrConfig = {
@@ -177,7 +177,7 @@ type IdOcrContext = {
177
177
  type IdOcrInput = {
178
178
  config: IdOcrConfig;
179
179
  };
180
- declare const idOcrStateMachine: xstate452.StateMachine<IdOcrContext, {
180
+ declare const idOcrStateMachine: xstate0.StateMachine<IdOcrContext, {
181
181
  type: "LOAD";
182
182
  } | {
183
183
  type: "DATA_CHANGED";
@@ -191,66 +191,66 @@ declare const idOcrStateMachine: xstate452.StateMachine<IdOcrContext, {
191
191
  } | {
192
192
  type: "RETRY";
193
193
  }, {
194
- [x: string]: xstate452.ActorRefFromLogic<xstate452.PromiseActorLogic<OcrData, {
194
+ [x: string]: xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<OcrData, {
195
195
  isSecondId: boolean;
196
- }, xstate452.EventObject>> | xstate452.ActorRefFromLogic<xstate452.PromiseActorLogic<UpdateOcrResponse, {
196
+ }, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<UpdateOcrResponse, {
197
197
  params: UpdateOcrDataParams;
198
198
  isSecondId: boolean;
199
- }, xstate452.EventObject>> | undefined;
200
- }, xstate452.Values<{
199
+ }, xstate0.EventObject>> | undefined;
200
+ }, xstate0.Values<{
201
201
  getOcrData: {
202
202
  src: "getOcrData";
203
- logic: xstate452.PromiseActorLogic<OcrData, {
203
+ logic: xstate0.PromiseActorLogic<OcrData, {
204
204
  isSecondId: boolean;
205
- }, xstate452.EventObject>;
205
+ }, xstate0.EventObject>;
206
206
  id: string | undefined;
207
207
  };
208
208
  updateOcrData: {
209
209
  src: "updateOcrData";
210
- logic: xstate452.PromiseActorLogic<UpdateOcrResponse, {
210
+ logic: xstate0.PromiseActorLogic<UpdateOcrResponse, {
211
211
  params: UpdateOcrDataParams;
212
212
  isSecondId: boolean;
213
- }, xstate452.EventObject>;
213
+ }, xstate0.EventObject>;
214
214
  id: string | undefined;
215
215
  };
216
- }>, xstate452.Values<{
217
- setError: {
218
- type: "setError";
219
- params: xstate452.NonReducibleUnknown;
220
- };
216
+ }>, xstate0.Values<{
221
217
  setInitialData: {
222
218
  type: "setInitialData";
223
- params: xstate452.NonReducibleUnknown;
219
+ params: xstate0.NonReducibleUnknown;
224
220
  };
225
221
  updateField: {
226
222
  type: "updateField";
227
- params: xstate452.NonReducibleUnknown;
223
+ params: xstate0.NonReducibleUnknown;
228
224
  };
229
225
  clearFieldValidationError: {
230
226
  type: "clearFieldValidationError";
231
- params: xstate452.NonReducibleUnknown;
227
+ params: xstate0.NonReducibleUnknown;
232
228
  };
233
229
  setOcrValidationErrors: {
234
230
  type: "setOcrValidationErrors";
235
- params: xstate452.NonReducibleUnknown;
231
+ params: xstate0.NonReducibleUnknown;
236
232
  };
237
233
  validateFormField: {
238
234
  type: "validateFormField";
239
- params: xstate452.NonReducibleUnknown;
235
+ params: xstate0.NonReducibleUnknown;
236
+ };
237
+ setError: {
238
+ type: "setError";
239
+ params: xstate0.NonReducibleUnknown;
240
240
  };
241
241
  beginSecondIdOcrPhase: {
242
242
  type: "beginSecondIdOcrPhase";
243
- params: xstate452.NonReducibleUnknown;
243
+ params: xstate0.NonReducibleUnknown;
244
244
  };
245
245
  resetForRetry: {
246
246
  type: "resetForRetry";
247
- params: xstate452.NonReducibleUnknown;
247
+ params: xstate0.NonReducibleUnknown;
248
248
  };
249
249
  computeValidationResult: {
250
250
  type: "computeValidationResult";
251
- params: xstate452.NonReducibleUnknown;
251
+ params: xstate0.NonReducibleUnknown;
252
252
  };
253
- }>, xstate452.Values<{
253
+ }>, xstate0.Values<{
254
254
  isOcrEditable: {
255
255
  type: "isOcrEditable";
256
256
  params: unknown;
@@ -271,7 +271,7 @@ declare const idOcrStateMachine: xstate452.StateMachine<IdOcrContext, {
271
271
  type: "shouldProceedWithoutSubmitToSecondId";
272
272
  params: unknown;
273
273
  };
274
- }>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, xstate452.NonReducibleUnknown, xstate452.EventObject, xstate452.MetaObject, {
274
+ }>, never, "error" | "idle" | "success" | "finished" | "loading" | "inputting" | "readonly" | "validatingContinue" | "submitting", string, IdOcrInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
275
275
  readonly id: "idOcr";
276
276
  readonly initial: "idle";
277
277
  readonly context: ({
@@ -280,70 +280,70 @@ declare const idOcrStateMachine: xstate452.StateMachine<IdOcrContext, {
280
280
  spawn: {
281
281
  <TSrc extends "getOcrData" | "updateOcrData">(logic: TSrc, ...[options]: ({
282
282
  src: "getOcrData";
283
- logic: xstate452.PromiseActorLogic<OcrData, {
283
+ logic: xstate0.PromiseActorLogic<OcrData, {
284
284
  isSecondId: boolean;
285
- }, xstate452.EventObject>;
285
+ }, xstate0.EventObject>;
286
286
  id: string | undefined;
287
287
  } extends infer T ? T extends {
288
288
  src: "getOcrData";
289
- logic: xstate452.PromiseActorLogic<OcrData, {
289
+ logic: xstate0.PromiseActorLogic<OcrData, {
290
290
  isSecondId: boolean;
291
- }, xstate452.EventObject>;
291
+ }, xstate0.EventObject>;
292
292
  id: string | undefined;
293
293
  } ? T extends {
294
294
  src: TSrc;
295
- } ? xstate452.ConditionalRequired<[options?: ({
295
+ } ? xstate0.ConditionalRequired<[options?: ({
296
296
  id?: T["id"] | undefined;
297
297
  systemId?: string;
298
- input?: xstate452.InputFrom<T["logic"]> | undefined;
298
+ input?: xstate0.InputFrom<T["logic"]> | undefined;
299
299
  syncSnapshot?: boolean;
300
- } & { [K in xstate452.RequiredActorOptions<T>]: unknown }) | undefined], xstate452.IsNotNever<xstate452.RequiredActorOptions<T>>> : never : never : never) | ({
300
+ } & { [K in xstate0.RequiredActorOptions<T>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T>>> : never : never : never) | ({
301
301
  src: "updateOcrData";
302
- logic: xstate452.PromiseActorLogic<UpdateOcrResponse, {
302
+ logic: xstate0.PromiseActorLogic<UpdateOcrResponse, {
303
303
  params: UpdateOcrDataParams;
304
304
  isSecondId: boolean;
305
- }, xstate452.EventObject>;
305
+ }, xstate0.EventObject>;
306
306
  id: string | undefined;
307
307
  } extends infer T_1 ? T_1 extends {
308
308
  src: "updateOcrData";
309
- logic: xstate452.PromiseActorLogic<UpdateOcrResponse, {
309
+ logic: xstate0.PromiseActorLogic<UpdateOcrResponse, {
310
310
  params: UpdateOcrDataParams;
311
311
  isSecondId: boolean;
312
- }, xstate452.EventObject>;
312
+ }, xstate0.EventObject>;
313
313
  id: string | undefined;
314
314
  } ? T_1 extends {
315
315
  src: TSrc;
316
- } ? xstate452.ConditionalRequired<[options?: ({
316
+ } ? xstate0.ConditionalRequired<[options?: ({
317
317
  id?: T_1["id"] | undefined;
318
318
  systemId?: string;
319
- input?: xstate452.InputFrom<T_1["logic"]> | undefined;
319
+ input?: xstate0.InputFrom<T_1["logic"]> | undefined;
320
320
  syncSnapshot?: boolean;
321
- } & { [K_1 in xstate452.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate452.IsNotNever<xstate452.RequiredActorOptions<T_1>>> : never : never : never)): xstate452.ActorRefFromLogic<xstate452.GetConcreteByKey<xstate452.Values<{
321
+ } & { [K_1 in xstate0.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_1>>> : never : never : never)): xstate0.ActorRefFromLogic<xstate0.GetConcreteByKey<xstate0.Values<{
322
322
  getOcrData: {
323
323
  src: "getOcrData";
324
- logic: xstate452.PromiseActorLogic<OcrData, {
324
+ logic: xstate0.PromiseActorLogic<OcrData, {
325
325
  isSecondId: boolean;
326
- }, xstate452.EventObject>;
326
+ }, xstate0.EventObject>;
327
327
  id: string | undefined;
328
328
  };
329
329
  updateOcrData: {
330
330
  src: "updateOcrData";
331
- logic: xstate452.PromiseActorLogic<UpdateOcrResponse, {
331
+ logic: xstate0.PromiseActorLogic<UpdateOcrResponse, {
332
332
  params: UpdateOcrDataParams;
333
333
  isSecondId: boolean;
334
- }, xstate452.EventObject>;
334
+ }, xstate0.EventObject>;
335
335
  id: string | undefined;
336
336
  };
337
337
  }>, "src", TSrc>["logic"]>;
338
- <TLogic extends xstate452.AnyActorLogic>(src: TLogic, ...[options]: xstate452.ConditionalRequired<[options?: ({
338
+ <TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
339
339
  id?: never;
340
340
  systemId?: string;
341
- input?: xstate452.InputFrom<TLogic> | undefined;
341
+ input?: xstate0.InputFrom<TLogic> | undefined;
342
342
  syncSnapshot?: boolean;
343
- } & { [K in xstate452.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate452.IsNotNever<xstate452.RequiredLogicInput<TLogic>>>): xstate452.ActorRefFromLogic<TLogic>;
343
+ } & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
344
344
  };
345
345
  input: IdOcrInput;
346
- self: xstate452.ActorRef<xstate452.MachineSnapshot<IdOcrContext, {
346
+ self: xstate0.ActorRef<xstate0.MachineSnapshot<IdOcrContext, {
347
347
  type: "LOAD";
348
348
  } | {
349
349
  type: "DATA_CHANGED";
@@ -356,7 +356,7 @@ declare const idOcrStateMachine: xstate452.StateMachine<IdOcrContext, {
356
356
  type: "CONTINUE";
357
357
  } | {
358
358
  type: "RETRY";
359
- }, Record<string, xstate452.AnyActorRef | undefined>, xstate452.StateValue, string, unknown, any, any>, {
359
+ }, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
360
360
  type: "LOAD";
361
361
  } | {
362
362
  type: "DATA_CHANGED";
@@ -369,7 +369,7 @@ declare const idOcrStateMachine: xstate452.StateMachine<IdOcrContext, {
369
369
  type: "CONTINUE";
370
370
  } | {
371
371
  type: "RETRY";
372
- }, xstate452.AnyEventObject>;
372
+ }, xstate0.AnyEventObject>;
373
373
  }) => {
374
374
  config: IdOcrConfig;
375
375
  formData: UpdateOcrDataParams;
@@ -405,7 +405,7 @@ declare const idOcrStateMachine: xstate452.StateMachine<IdOcrContext, {
405
405
  } | {
406
406
  type: "RETRY";
407
407
  };
408
- self: xstate452.ActorRef<xstate452.MachineSnapshot<IdOcrContext, {
408
+ self: xstate0.ActorRef<xstate0.MachineSnapshot<IdOcrContext, {
409
409
  type: "LOAD";
410
410
  } | {
411
411
  type: "DATA_CHANGED";
@@ -418,7 +418,7 @@ declare const idOcrStateMachine: xstate452.StateMachine<IdOcrContext, {
418
418
  type: "CONTINUE";
419
419
  } | {
420
420
  type: "RETRY";
421
- }, Record<string, xstate452.AnyActorRef>, xstate452.StateValue, string, unknown, any, any>, {
421
+ }, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
422
422
  type: "LOAD";
423
423
  } | {
424
424
  type: "DATA_CHANGED";
@@ -431,7 +431,7 @@ declare const idOcrStateMachine: xstate452.StateMachine<IdOcrContext, {
431
431
  type: "CONTINUE";
432
432
  } | {
433
433
  type: "RETRY";
434
- }, xstate452.AnyEventObject>;
434
+ }, xstate0.AnyEventObject>;
435
435
  }) => {
436
436
  isSecondId: boolean;
437
437
  };
@@ -510,7 +510,7 @@ declare const idOcrStateMachine: xstate452.StateMachine<IdOcrContext, {
510
510
  } | {
511
511
  type: "RETRY";
512
512
  };
513
- self: xstate452.ActorRef<xstate452.MachineSnapshot<IdOcrContext, {
513
+ self: xstate0.ActorRef<xstate0.MachineSnapshot<IdOcrContext, {
514
514
  type: "LOAD";
515
515
  } | {
516
516
  type: "DATA_CHANGED";
@@ -523,7 +523,7 @@ declare const idOcrStateMachine: xstate452.StateMachine<IdOcrContext, {
523
523
  type: "CONTINUE";
524
524
  } | {
525
525
  type: "RETRY";
526
- }, Record<string, xstate452.AnyActorRef>, xstate452.StateValue, string, unknown, any, any>, {
526
+ }, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
527
527
  type: "LOAD";
528
528
  } | {
529
529
  type: "DATA_CHANGED";
@@ -536,7 +536,7 @@ declare const idOcrStateMachine: xstate452.StateMachine<IdOcrContext, {
536
536
  type: "CONTINUE";
537
537
  } | {
538
538
  type: "RETRY";
539
- }, xstate452.AnyEventObject>;
539
+ }, xstate0.AnyEventObject>;
540
540
  }) => {
541
541
  params: UpdateOcrDataParams;
542
542
  isSecondId: boolean;
package/dist/id.d.ts CHANGED
@@ -7,5 +7,5 @@ import "./types-DdYIMV6w.js";
7
7
  import "./types-DFwAuzk2.js";
8
8
  import "./deepsightService-Cxp-yJjr.js";
9
9
  import { n as PermissionStatus, t as PermissionResult } from "./types-D5fKjOcr.js";
10
- import { A as IdCaptureConfig, B as IdErrorCode, C as IdCaptureMachine, D as DetectionArea, E as CapturedImage, F as IdCaptureInput, G as ManualUploadContext, H as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, I as IdCaptureMode, J as RecordingSession, K as ManualUploadSide, L as IdCaptureThresholds, M as IdCaptureDependencies, N as IdCaptureEvent, O as DetectionStatus, P as IdCaptureGeometry, R as IdDocumentType, S as createIdCaptureActor, T as CaptureIdResponse, U as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, V as IdFlowStep, W as MANUAL_UPLOAD_MAX_RETRIES, X as DetectionOrientation, Y as UploadIdResponse, Z as IdCaptureSettings, _ as uploadIdImage, a as IdCaptureInitResult, b as CreateIdCaptureActorOptions, c as UploadIdImageParams, d as initializeIdCapture, f as preloadIdRecordingProvider, g as stopStream, h as stopRecording, j as IdCaptureContext, k as ID_ERROR_CODES, l as UploadManualIdFileParams, m as startRecordingSession, n as IdCaptureState, o as InitializeIdCaptureParams, p as processId, q as ManualUploadTab, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as ValidationError, v as uploadManualIdFile, w as idCaptureMachine, x as IdCaptureActor, y as validateUploadResponse, z as IdError } from "./idCaptureManager-X3CG5c3T.js";
10
+ import { A as IdCaptureConfig, B as IdErrorCode, C as IdCaptureMachine, D as DetectionArea, E as CapturedImage, F as IdCaptureInput, G as ManualUploadContext, H as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, I as IdCaptureMode, J as RecordingSession, K as ManualUploadSide, L as IdCaptureThresholds, M as IdCaptureDependencies, N as IdCaptureEvent, O as DetectionStatus, P as IdCaptureGeometry, R as IdDocumentType, S as createIdCaptureActor, T as CaptureIdResponse, U as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, V as IdFlowStep, W as MANUAL_UPLOAD_MAX_RETRIES, X as DetectionOrientation, Y as UploadIdResponse, Z as IdCaptureSettings, _ as uploadIdImage, a as IdCaptureInitResult, b as CreateIdCaptureActorOptions, c as UploadIdImageParams, d as initializeIdCapture, f as preloadIdRecordingProvider, g as stopStream, h as stopRecording, j as IdCaptureContext, k as ID_ERROR_CODES, l as UploadManualIdFileParams, m as startRecordingSession, n as IdCaptureState, o as InitializeIdCaptureParams, p as processId, q as ManualUploadTab, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as ValidationError, v as uploadManualIdFile, w as idCaptureMachine, x as IdCaptureActor, y as validateUploadResponse, z as IdError } from "./idCaptureManager--lWVPu7Z.js";
11
11
  export { CameraStream, CaptureIdResponse, CapturedImage, type CreateIdCaptureActorOptions, DetectionArea, DetectionOrientation, DetectionStatus, ID_ERROR_CODES, type IdCaptureActor, IdCaptureConfig, type IdCaptureContext, IdCaptureDependencies, type IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, type IdCaptureInput, type IdCaptureMachine, type IdCaptureManager, IdCaptureMode, IdCaptureSettings, type IdCaptureState, IdCaptureThresholds, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, MANUAL_UPLOAD_MAX_RETRIES, ManualUploadContext, ManualUploadSide, ManualUploadTab, PermissionResult, PermissionStatus, RecordingSession, StartRecordingParams, UploadIdImageParams, UploadIdResponse, UploadManualIdFileParams, ValidationError, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, preloadIdRecordingProvider, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, uploadManualIdFile, validateUploadResponse };
package/dist/id.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import "./BaseWasmProvider-ECdlJ4eI.esm.js";
1
+ import "./BaseWasmProvider-BTKqWpeB.esm.js";
2
2
  import "./api-3IquGyW5.esm.js";
3
3
  import "./events-237AXtL7.esm.js";
4
4
  import "./session-DEzJ3qMM.esm.js";
@@ -6,7 +6,7 @@ import "./IpifyProvider-CVIOst3c.esm.js";
6
6
  import "./browserSimulation-DMJIC-23.esm.js";
7
7
  import "./xstate.esm-CSiDcEjt.esm.js";
8
8
  import "./BrowserStorageProvider-DeByegPK.esm.js";
9
- import "./recordingService-DKg2c5De.esm.js";
9
+ import "./recordingService-Cen0Qmop.esm.js";
10
10
  import "./deepsightService-CU4xtxzz.esm.js";
11
11
  import "./permissionServices-DiAThhLg.esm.js";
12
12
  import "./camera-CSPAwp2o.esm.js";
@@ -18,7 +18,7 @@ import "./ITimerCapability-r7XXQS6a.esm.js";
18
18
  import "./backCameraStream-BIzYKDy2.esm.js";
19
19
  import "./getDeviceClass-AjL3Pr7R.esm.js";
20
20
  import "./BrowserTimerProvider-Bc6BRm6-.esm.js";
21
- import { a as startRecordingSession, c as uploadIdImage, d as ID_ERROR_CODES, f as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as processId, l as uploadManualIdFile, m as MANUAL_UPLOAD_MAX_RETRIES, n as initializeIdCapture, o as stopRecording, p as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as preloadIdRecordingProvider, s as stopStream, t as idCaptureMachine, u as validateUploadResponse } from "./idCaptureStateMachine-Doo9KqTB.esm.js";
22
- import { r as createIdCaptureActor, t as createIdCaptureManager } from "./idCaptureManager-CEJN1LTW.esm.js";
21
+ import { a as startRecordingSession, c as uploadIdImage, d as ID_ERROR_CODES, f as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as processId, l as uploadManualIdFile, m as MANUAL_UPLOAD_MAX_RETRIES, n as initializeIdCapture, o as stopRecording, p as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as preloadIdRecordingProvider, s as stopStream, t as idCaptureMachine, u as validateUploadResponse } from "./idCaptureStateMachine-__Cc1trJ.esm.js";
22
+ import { r as createIdCaptureActor, t as createIdCaptureManager } from "./idCaptureManager-Df8xxjBX.esm.js";
23
23
 
24
24
  export { ID_ERROR_CODES, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, MANUAL_UPLOAD_MAX_RETRIES, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, preloadIdRecordingProvider, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, uploadManualIdFile, validateUploadResponse };
@@ -22,7 +22,6 @@ interface IdCaptureThresholds$1 {
22
22
  idDetectedTimeout: number;
23
23
  autocaptureTimeout: number;
24
24
  framesAggregationInterval: number;
25
- minFaceIdQualityScore: number;
26
25
  }
27
26
  interface IdCaptureGeometry$1 {
28
27
  areaDown: number;
@@ -205,7 +204,6 @@ type IdCaptureThresholds = {
205
204
  sideThreshold: number;
206
205
  iouThreshold: number;
207
206
  framesAggregationInterval: number;
208
- minFaceIdQualityScore: number;
209
207
  idDetectedTimeout: number;
210
208
  autocaptureTimeout: number;
211
209
  };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-237AXtL7.esm.js";
2
2
  import { a as createActor, o as createManager } from "./xstate.esm-CSiDcEjt.esm.js";
3
3
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DeByegPK.esm.js";
4
- import { t as idCaptureMachine } from "./idCaptureStateMachine-Doo9KqTB.esm.js";
4
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-__Cc1trJ.esm.js";
5
5
 
6
6
  //#region src/modules/id/idCaptureActor.ts
7
7
  function createIdCaptureActor(options) {
@@ -1,9 +1,9 @@
1
- import { a as IdCaptureModelType, i as WasmPipelineType, r as mlWasmJSApi_default, t as BaseWasmProvider } from "./BaseWasmProvider-ECdlJ4eI.esm.js";
1
+ import { a as IdCaptureModelType, i as WasmPipelineType, r as mlWasmJSApi_default, t as BaseWasmProvider } from "./BaseWasmProvider-BTKqWpeB.esm.js";
2
2
  import { r as getToken, t as api } from "./api-3IquGyW5.esm.js";
3
3
  import { b as revokeObjectURL, v as endpoints } from "./events-237AXtL7.esm.js";
4
4
  import { t as getDisableIpify } from "./session-DEzJ3qMM.esm.js";
5
5
  import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-CSiDcEjt.esm.js";
6
- import { _ as StreamCanvasCapture, d as createRecordingSession, f as startRecording, g as flagIdManualReview, m as StreamCanvasProcessingSession, n as preloadOpenViduProvider, p as stopRecording$1 } from "./recordingService-DKg2c5De.esm.js";
6
+ import { _ as StreamCanvasCapture, d as createRecordingSession, f as startRecording, g as flagIdManualReview, m as StreamCanvasProcessingSession, n as preloadOpenViduProvider, p as stopRecording$1 } from "./recordingService-Cen0Qmop.esm.js";
7
7
  import { n as IncodeCanvas } from "./deepsightService-CU4xtxzz.esm.js";
8
8
  import { n as requestPermission, r as clearCameraPermissionCache, t as checkPermission } from "./permissionServices-DiAThhLg.esm.js";
9
9
  import { r as getWindowDimensions } from "./getBrowser-bVw76elx.esm.js";
@@ -58,7 +58,7 @@ var IdCaptureProvider = class extends BaseWasmProvider {
58
58
  }
59
59
  setThresholds(thresholds) {
60
60
  this.ensureInitialized();
61
- mlWasmJSApi_default.setIdCaptureThresholds(this.getPipelineType(), thresholds.blurThreshold, thresholds.blurChangeThreshold, thresholds.glareThreshold, thresholds.clsThreshold, thresholds.sideThreshold, thresholds.iouThreshold, thresholds.idDetectedTimeout, thresholds.autocaptureTimeout, thresholds.framesAggregationInterval, thresholds.minFaceIdQualityScore);
61
+ mlWasmJSApi_default.setIdCaptureThresholds(this.getPipelineType(), thresholds.blurThreshold, thresholds.blurChangeThreshold, thresholds.glareThreshold, thresholds.clsThreshold, thresholds.sideThreshold, thresholds.iouThreshold, thresholds.idDetectedTimeout, thresholds.autocaptureTimeout, thresholds.framesAggregationInterval);
62
62
  }
63
63
  setGeometry(geometry) {
64
64
  this.ensureInitialized();
@@ -250,8 +250,7 @@ const DEFAULT_ID_CAPTURE_THRESHOLDS$1 = {
250
250
  clsThreshold: .98,
251
251
  sideThreshold: .8,
252
252
  iouThreshold: .8,
253
- framesAggregationInterval: 3e3,
254
- minFaceIdQualityScore: .62
253
+ framesAggregationInterval: 3e3
255
254
  };
256
255
  const DEFAULT_ID_CAPTURE_SETTINGS = {
257
256
  isFixedMask: false,
@@ -516,8 +515,7 @@ const DEFAULT_ID_CAPTURE_THRESHOLDS = {
516
515
  iouThreshold: .8,
517
516
  idDetectedTimeout: 1e4,
518
517
  autocaptureTimeout: 5e3,
519
- framesAggregationInterval: 3e3,
520
- minFaceIdQualityScore: .62
518
+ framesAggregationInterval: 3e3
521
519
  };
522
520
  /**
523
521
  * Default model version for ID capture.
@@ -842,7 +840,7 @@ const checkMotionSensorActor = fromCallback(({ input, sendBack }) => {
842
840
  });
843
841
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
844
842
  if (!input.dependencies) return;
845
- const { loadDeepsightSession } = await import("./deepsightLoader-VHWCGVhU.esm.js");
843
+ const { loadDeepsightSession } = await import("./deepsightLoader-BnMFKE9b.esm.js");
846
844
  return loadDeepsightSession({
847
845
  ds: input.ds,
848
846
  storage: input.dependencies.storage,
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-CcbnIt3T.js";
2
2
  import { t as ActorRefFrom } from "./Actor-CazhiaK7.js";
3
- import * as xstate379 from "xstate";
3
+ import * as xstate72 from "xstate";
4
4
 
5
5
  //#region src/modules/identity-reuse/types.d.ts
6
6
 
@@ -32,7 +32,7 @@ type IdentityReuseContext = {
32
32
  type IdentityReuseInput = {
33
33
  config: IdentityReuseConfig;
34
34
  };
35
- declare const identityReuseMachine: xstate379.StateMachine<IdentityReuseContext, {
35
+ declare const identityReuseMachine: xstate72.StateMachine<IdentityReuseContext, {
36
36
  type: "LOAD";
37
37
  } | {
38
38
  type: "START_SELECTION";
@@ -48,49 +48,49 @@ declare const identityReuseMachine: xstate379.StateMachine<IdentityReuseContext,
48
48
  } | {
49
49
  type: "RETRY";
50
50
  }, {
51
- [x: string]: xstate379.ActorRefFromLogic<xstate379.PromiseActorLogic<FetchCandidatesResponse, void, xstate379.EventObject>> | xstate379.ActorRefFromLogic<xstate379.PromiseActorLogic<SubmitResponse, void, xstate379.EventObject>> | undefined;
52
- }, xstate379.Values<{
51
+ [x: string]: xstate72.ActorRefFromLogic<xstate72.PromiseActorLogic<FetchCandidatesResponse, void, xstate72.EventObject>> | xstate72.ActorRefFromLogic<xstate72.PromiseActorLogic<SubmitResponse, void, xstate72.EventObject>> | undefined;
52
+ }, xstate72.Values<{
53
53
  fetchCandidates: {
54
54
  src: "fetchCandidates";
55
- logic: xstate379.PromiseActorLogic<FetchCandidatesResponse, void, xstate379.EventObject>;
55
+ logic: xstate72.PromiseActorLogic<FetchCandidatesResponse, void, xstate72.EventObject>;
56
56
  id: string | undefined;
57
57
  };
58
58
  submitContinue: {
59
59
  src: "submitContinue";
60
- logic: xstate379.PromiseActorLogic<SubmitResponse, void, xstate379.EventObject>;
60
+ logic: xstate72.PromiseActorLogic<SubmitResponse, void, xstate72.EventObject>;
61
61
  id: string | undefined;
62
62
  };
63
63
  submitSkip: {
64
64
  src: "submitSkip";
65
- logic: xstate379.PromiseActorLogic<SubmitResponse, void, xstate379.EventObject>;
65
+ logic: xstate72.PromiseActorLogic<SubmitResponse, void, xstate72.EventObject>;
66
66
  id: string | undefined;
67
67
  };
68
- }>, xstate379.Values<{
68
+ }>, xstate72.Values<{
69
69
  setError: {
70
70
  type: "setError";
71
- params: xstate379.NonReducibleUnknown;
72
- };
73
- clearError: {
74
- type: "clearError";
75
- params: xstate379.NonReducibleUnknown;
71
+ params: xstate72.NonReducibleUnknown;
76
72
  };
77
73
  setCandidates: {
78
74
  type: "setCandidates";
79
- params: xstate379.NonReducibleUnknown;
75
+ params: xstate72.NonReducibleUnknown;
80
76
  };
81
77
  setSelectedCandidate: {
82
78
  type: "setSelectedCandidate";
83
- params: xstate379.NonReducibleUnknown;
79
+ params: xstate72.NonReducibleUnknown;
84
80
  };
85
81
  autoSelectSingleCandidate: {
86
82
  type: "autoSelectSingleCandidate";
87
- params: xstate379.NonReducibleUnknown;
83
+ params: xstate72.NonReducibleUnknown;
88
84
  };
89
85
  clearSelection: {
90
86
  type: "clearSelection";
91
- params: xstate379.NonReducibleUnknown;
87
+ params: xstate72.NonReducibleUnknown;
88
+ };
89
+ clearError: {
90
+ type: "clearError";
91
+ params: xstate72.NonReducibleUnknown;
92
92
  };
93
- }>, xstate379.Values<{
93
+ }>, xstate72.Values<{
94
94
  hasMultipleCandidates: {
95
95
  type: "hasMultipleCandidates";
96
96
  params: unknown;
@@ -105,7 +105,7 @@ declare const identityReuseMachine: xstate379.StateMachine<IdentityReuseContext,
105
105
  };
106
106
  }>, never, "error" | "idle" | "finished" | "loading" | "submitContinue" | "submitSkip" | "oneCandidateFound" | "noCandidatesFound" | {
107
107
  multiCandidatesFound: "noCandidateSelected" | "choosingCandidate" | "candidateSelected";
108
- }, string, IdentityReuseInput, xstate379.NonReducibleUnknown, xstate379.EventObject, xstate379.MetaObject, {
108
+ }, string, IdentityReuseInput, xstate72.NonReducibleUnknown, xstate72.EventObject, xstate72.MetaObject, {
109
109
  readonly id: "identityReuse";
110
110
  readonly initial: "idle";
111
111
  readonly context: ({
@@ -114,75 +114,75 @@ declare const identityReuseMachine: xstate379.StateMachine<IdentityReuseContext,
114
114
  spawn: {
115
115
  <TSrc extends "fetchCandidates" | "submitContinue" | "submitSkip">(logic: TSrc, ...[options]: ({
116
116
  src: "fetchCandidates";
117
- logic: xstate379.PromiseActorLogic<FetchCandidatesResponse, void, xstate379.EventObject>;
117
+ logic: xstate72.PromiseActorLogic<FetchCandidatesResponse, void, xstate72.EventObject>;
118
118
  id: string | undefined;
119
119
  } extends infer T ? T extends {
120
120
  src: "fetchCandidates";
121
- logic: xstate379.PromiseActorLogic<FetchCandidatesResponse, void, xstate379.EventObject>;
121
+ logic: xstate72.PromiseActorLogic<FetchCandidatesResponse, void, xstate72.EventObject>;
122
122
  id: string | undefined;
123
123
  } ? T extends {
124
124
  src: TSrc;
125
- } ? xstate379.ConditionalRequired<[options?: ({
125
+ } ? xstate72.ConditionalRequired<[options?: ({
126
126
  id?: T["id"] | undefined;
127
127
  systemId?: string;
128
- input?: xstate379.InputFrom<T["logic"]> | undefined;
128
+ input?: xstate72.InputFrom<T["logic"]> | undefined;
129
129
  syncSnapshot?: boolean;
130
- } & { [K in xstate379.RequiredActorOptions<T>]: unknown }) | undefined], xstate379.IsNotNever<xstate379.RequiredActorOptions<T>>> : never : never : never) | ({
130
+ } & { [K in xstate72.RequiredActorOptions<T>]: unknown }) | undefined], xstate72.IsNotNever<xstate72.RequiredActorOptions<T>>> : never : never : never) | ({
131
131
  src: "submitContinue";
132
- logic: xstate379.PromiseActorLogic<SubmitResponse, void, xstate379.EventObject>;
132
+ logic: xstate72.PromiseActorLogic<SubmitResponse, void, xstate72.EventObject>;
133
133
  id: string | undefined;
134
134
  } extends infer T_1 ? T_1 extends {
135
135
  src: "submitContinue";
136
- logic: xstate379.PromiseActorLogic<SubmitResponse, void, xstate379.EventObject>;
136
+ logic: xstate72.PromiseActorLogic<SubmitResponse, void, xstate72.EventObject>;
137
137
  id: string | undefined;
138
138
  } ? T_1 extends {
139
139
  src: TSrc;
140
- } ? xstate379.ConditionalRequired<[options?: ({
140
+ } ? xstate72.ConditionalRequired<[options?: ({
141
141
  id?: T_1["id"] | undefined;
142
142
  systemId?: string;
143
- input?: xstate379.InputFrom<T_1["logic"]> | undefined;
143
+ input?: xstate72.InputFrom<T_1["logic"]> | undefined;
144
144
  syncSnapshot?: boolean;
145
- } & { [K_1 in xstate379.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate379.IsNotNever<xstate379.RequiredActorOptions<T_1>>> : never : never : never) | ({
145
+ } & { [K_1 in xstate72.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate72.IsNotNever<xstate72.RequiredActorOptions<T_1>>> : never : never : never) | ({
146
146
  src: "submitSkip";
147
- logic: xstate379.PromiseActorLogic<SubmitResponse, void, xstate379.EventObject>;
147
+ logic: xstate72.PromiseActorLogic<SubmitResponse, void, xstate72.EventObject>;
148
148
  id: string | undefined;
149
149
  } extends infer T_2 ? T_2 extends {
150
150
  src: "submitSkip";
151
- logic: xstate379.PromiseActorLogic<SubmitResponse, void, xstate379.EventObject>;
151
+ logic: xstate72.PromiseActorLogic<SubmitResponse, void, xstate72.EventObject>;
152
152
  id: string | undefined;
153
153
  } ? T_2 extends {
154
154
  src: TSrc;
155
- } ? xstate379.ConditionalRequired<[options?: ({
155
+ } ? xstate72.ConditionalRequired<[options?: ({
156
156
  id?: T_2["id"] | undefined;
157
157
  systemId?: string;
158
- input?: xstate379.InputFrom<T_2["logic"]> | undefined;
158
+ input?: xstate72.InputFrom<T_2["logic"]> | undefined;
159
159
  syncSnapshot?: boolean;
160
- } & { [K_2 in xstate379.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate379.IsNotNever<xstate379.RequiredActorOptions<T_2>>> : never : never : never)): xstate379.ActorRefFromLogic<xstate379.GetConcreteByKey<xstate379.Values<{
160
+ } & { [K_2 in xstate72.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate72.IsNotNever<xstate72.RequiredActorOptions<T_2>>> : never : never : never)): xstate72.ActorRefFromLogic<xstate72.GetConcreteByKey<xstate72.Values<{
161
161
  fetchCandidates: {
162
162
  src: "fetchCandidates";
163
- logic: xstate379.PromiseActorLogic<FetchCandidatesResponse, void, xstate379.EventObject>;
163
+ logic: xstate72.PromiseActorLogic<FetchCandidatesResponse, void, xstate72.EventObject>;
164
164
  id: string | undefined;
165
165
  };
166
166
  submitContinue: {
167
167
  src: "submitContinue";
168
- logic: xstate379.PromiseActorLogic<SubmitResponse, void, xstate379.EventObject>;
168
+ logic: xstate72.PromiseActorLogic<SubmitResponse, void, xstate72.EventObject>;
169
169
  id: string | undefined;
170
170
  };
171
171
  submitSkip: {
172
172
  src: "submitSkip";
173
- logic: xstate379.PromiseActorLogic<SubmitResponse, void, xstate379.EventObject>;
173
+ logic: xstate72.PromiseActorLogic<SubmitResponse, void, xstate72.EventObject>;
174
174
  id: string | undefined;
175
175
  };
176
176
  }>, "src", TSrc>["logic"]>;
177
- <TLogic extends xstate379.AnyActorLogic>(src: TLogic, ...[options]: xstate379.ConditionalRequired<[options?: ({
177
+ <TLogic extends xstate72.AnyActorLogic>(src: TLogic, ...[options]: xstate72.ConditionalRequired<[options?: ({
178
178
  id?: never;
179
179
  systemId?: string;
180
- input?: xstate379.InputFrom<TLogic> | undefined;
180
+ input?: xstate72.InputFrom<TLogic> | undefined;
181
181
  syncSnapshot?: boolean;
182
- } & { [K in xstate379.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate379.IsNotNever<xstate379.RequiredLogicInput<TLogic>>>): xstate379.ActorRefFromLogic<TLogic>;
182
+ } & { [K in xstate72.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate72.IsNotNever<xstate72.RequiredLogicInput<TLogic>>>): xstate72.ActorRefFromLogic<TLogic>;
183
183
  };
184
184
  input: IdentityReuseInput;
185
- self: xstate379.ActorRef<xstate379.MachineSnapshot<IdentityReuseContext, {
185
+ self: xstate72.ActorRef<xstate72.MachineSnapshot<IdentityReuseContext, {
186
186
  type: "LOAD";
187
187
  } | {
188
188
  type: "START_SELECTION";
@@ -197,7 +197,7 @@ declare const identityReuseMachine: xstate379.StateMachine<IdentityReuseContext,
197
197
  type: "SKIP";
198
198
  } | {
199
199
  type: "RETRY";
200
- }, Record<string, xstate379.AnyActorRef | undefined>, xstate379.StateValue, string, unknown, any, any>, {
200
+ }, Record<string, xstate72.AnyActorRef | undefined>, xstate72.StateValue, string, unknown, any, any>, {
201
201
  type: "LOAD";
202
202
  } | {
203
203
  type: "START_SELECTION";
@@ -212,7 +212,7 @@ declare const identityReuseMachine: xstate379.StateMachine<IdentityReuseContext,
212
212
  type: "SKIP";
213
213
  } | {
214
214
  type: "RETRY";
215
- }, xstate379.AnyEventObject>;
215
+ }, xstate72.AnyEventObject>;
216
216
  }) => {
217
217
  config: IdentityReuseConfig;
218
218
  currentOrganizationName: undefined;