@incodetech/core 0.0.0-dev-20260716-ab304429 → 0.0.0-dev-20260716-bd78addb

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 (54) hide show
  1. package/dist/ae-signature.d.ts +1 -1
  2. package/dist/authentication.esm.js +2 -2
  3. package/dist/{authenticationManager-C6A_gEhH.esm.js → authenticationManager-CIaoJXwH.esm.js} +2 -2
  4. package/dist/{authenticationStateMachine-MnSqXh8s.esm.js → authenticationStateMachine-CJfWsO79.esm.js} +2 -2
  5. package/dist/consent.d.ts +1 -1
  6. package/dist/{consentManager-DLOyIZzt.d.ts → consentManager-2h_w6wFc.d.ts} +4 -4
  7. package/dist/cpf-ocr.d.ts +1 -1
  8. package/dist/{cpfOcrManager-CQkUAeWO.d.ts → cpfOcrManager-CmPyqpAK.d.ts} +1 -1
  9. package/dist/{deepsightLoader-Dnd7Rajk.esm.js → deepsightLoader-CO6FgzSm.esm.js} +1 -1
  10. package/dist/ekyb.esm.js +2 -2
  11. package/dist/{ekybManager-DbK688m-.esm.js → ekybManager-B3pVjBve.esm.js} +1 -1
  12. package/dist/{ekybStateMachine-BmvMrUpO.esm.js → ekybStateMachine-CLf8elav.esm.js} +1 -1
  13. package/dist/electronic-signature.d.ts +1 -1
  14. package/dist/extensibility.d.ts +7 -7
  15. package/dist/extensibility.esm.js +7 -7
  16. package/dist/face-match.d.ts +1 -1
  17. package/dist/face-match.esm.js +2 -2
  18. package/dist/{faceCaptureManagerFactory-BkuqYPE9.esm.js → faceCaptureManagerFactory--1VcHUzl.esm.js} +1 -1
  19. package/dist/{faceCaptureSetup-CJo_MFLc.esm.js → faceCaptureSetup-BeNVVdRP.esm.js} +2 -2
  20. package/dist/{faceMatchManager-B7jlv77Q.esm.js → faceMatchManager-9rtJXjS-.esm.js} +1 -1
  21. package/dist/{faceMatchManager-CJQG1W1u.d.ts → faceMatchManager-BnvrZM2F.d.ts} +10 -0
  22. package/dist/{faceMatchStateMachine-DD7FxtUj.esm.js → faceMatchStateMachine-BfzusGo1.esm.js} +8 -1
  23. package/dist/flow.d.ts +2 -1
  24. package/dist/flow.esm.js +20 -6
  25. package/dist/{flowServices-DtiBvqZ6.esm.js → flowServices-zxA2NPMQ.esm.js} +2 -2
  26. package/dist/id-ocr.d.ts +1 -1
  27. package/dist/id.d.ts +2 -2
  28. package/dist/id.esm.js +2 -2
  29. package/dist/{idCaptureManager-BFMN4aac.esm.js → idCaptureManager-BhzliFq5.esm.js} +5 -2
  30. package/dist/{idCaptureManager-CSGbGORT.d.ts → idCaptureManager-Cmcwu1iM.d.ts} +31 -1
  31. package/dist/{idCaptureStateMachine-DSVttQgS.esm.js → idCaptureStateMachine-CrQ8hp5D.esm.js} +34 -6
  32. package/dist/{idOcrManager-vXa7GdRh.d.ts → idOcrManager-Bi80MQR4.d.ts} +1 -1
  33. package/dist/identity-reuse.d.ts +1 -1
  34. package/dist/{identityReuseManager-aTyLyYrr.d.ts → identityReuseManager-D6pD4hcZ.d.ts} +1 -1
  35. package/dist/index.esm.js +1 -1
  36. package/dist/mandatory-consent.d.ts +1 -1
  37. package/dist/{mandatoryConsentManager-BlB4bX6_.d.ts → mandatoryConsentManager-B2gRcE_x.d.ts} +4 -4
  38. package/dist/{onDeviceFaceResults-Dtx5mUa3.esm.js → onDeviceFaceResults-CJZ9-0gT.esm.js} +1 -1
  39. package/dist/personhood.esm.js +2 -2
  40. package/dist/qe-signature.d.ts +1 -2
  41. package/dist/{recordingService-CCavy7bJ.esm.js → recordingService-R1TlO0fT.esm.js} +1 -1
  42. package/dist/selfie.esm.js +4 -4
  43. package/dist/{selfieManager-BZFO5-P9.esm.js → selfieManager-sVQTErpj.esm.js} +2 -2
  44. package/dist/{selfieStateMachine-DjaHbMKZ.esm.js → selfieStateMachine-BsNEWEbc.esm.js} +2 -2
  45. package/dist/session-DoM7iyf7.esm.js +1 -0
  46. package/dist/session.esm.js +2 -2
  47. package/dist/{sessionInitializer-D3TaaDyZ.esm.js → sessionInitializer-BZVkwhRG.esm.js} +1 -1
  48. package/dist/{setup-Bdtm4xAl.esm.js → setup-Dg12--fg.esm.js} +1 -1
  49. package/dist/video-selfie.esm.js +2 -2
  50. package/dist/wasm.esm.js +1 -1
  51. package/dist/workflow.esm.js +6 -6
  52. package/package.json +3 -3
  53. package/dist/session-BadmZmbK.esm.js +0 -1
  54. /package/dist/{electronicSignatureManager-CKbmDFNq.d.ts → index-CKbmDFNq.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { t as Manager } from "./Manager-CQQ99QOI.js";
2
- import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./electronicSignatureManager-CKbmDFNq.js";
2
+ import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-CKbmDFNq.js";
3
3
  //#region src/modules/ae-signature/index.d.ts
4
4
  type AeSignatureConfig = Omit<ElectronicSignatureConfig, 'variant'>;
5
5
  declare function createAeSignatureManager(options: {
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-MnSqXh8s.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-C6A_gEhH.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-CJfWsO79.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CIaoJXwH.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,9 +1,9 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-DAshwHhX.esm.js";
2
2
  import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
3
3
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BkuqYPE9.esm.js";
4
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory--1VcHUzl.esm.js";
5
5
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-MnSqXh8s.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-CJfWsO79.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -3,8 +3,8 @@ import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-Bu6bL_CX.esm.js";
4
4
  import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-CJo_MFLc.esm.js";
7
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-Dtx5mUa3.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-BeNVVdRP.esm.js";
7
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-CJZ9-0gT.esm.js";
8
8
  import { t as getDeviceClass } from "./getDeviceClass-CkgnSJel.esm.js";
9
9
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
10
10
  //#region src/modules/authentication/authenticationErrorUtils.ts
package/dist/consent.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-DLOyIZzt.js";
1
+ import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-2h_w6wFc.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -82,10 +82,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
82
82
  type: "clearError";
83
83
  params: NonReducibleUnknown;
84
84
  };
85
- resetContext: {
86
- type: "resetContext";
87
- params: NonReducibleUnknown;
88
- };
89
85
  setConsentData: {
90
86
  type: "setConsentData";
91
87
  params: NonReducibleUnknown;
@@ -94,6 +90,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
94
90
  type: "toggleCheckbox";
95
91
  params: NonReducibleUnknown;
96
92
  };
93
+ resetContext: {
94
+ type: "resetContext";
95
+ params: NonReducibleUnknown;
96
+ };
97
97
  }>, {
98
98
  type: "canSubmit";
99
99
  params: unknown;
package/dist/cpf-ocr.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, o as cpfOcrMachine, r as createCpfOcrManager, t as CpfOcrManager } from "./cpfOcrManager-CQkUAeWO.js";
1
+ import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, o as cpfOcrMachine, r as createCpfOcrManager, t as CpfOcrManager } from "./cpfOcrManager-CmPyqpAK.js";
2
2
  //#region src/modules/cpf-ocr/cpfOcrUtils.d.ts
3
3
  declare function formatCPF(value: string): string;
4
4
  declare function isValidCPF(value: string): boolean;
@@ -63,7 +63,7 @@ declare const cpfOcrMachine: StateMachine<CpfOcrContext, {
63
63
  }>, {
64
64
  type: "isValid";
65
65
  params: unknown;
66
- }, never, "error" | "idle" | "finished" | "loading" | "submitting" | "inputting", string, CpfOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
66
+ }, never, "error" | "idle" | "finished" | "loading" | "inputting" | "submitting", string, CpfOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
67
67
  readonly id: "cpfOcr";
68
68
  readonly initial: "idle";
69
69
  readonly context: {
@@ -1,7 +1,7 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-DAshwHhX.esm.js";
2
2
  import { t as api } from "./api-BDTZNnca.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-Bu6bL_CX.esm.js";
4
- import { c as isBrowserSimulation, d as getThumbmarkId, l as IpifyProvider, n as getFingerprintEnabled, p as BrowserEnvironmentProvider, t as getDisableIpify } from "./sessionInitializer-D3TaaDyZ.esm.js";
4
+ import { c as isBrowserSimulation, d as getThumbmarkId, l as IpifyProvider, n as getFingerprintEnabled, p as BrowserEnvironmentProvider, t as getDisableIpify } from "./sessionInitializer-BZVkwhRG.esm.js";
5
5
  import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
6
6
  import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
7
7
  import { t as MotionSensorProvider } from "./MotionSensorProvider-DYvM90IX.esm.js";
package/dist/ekyb.esm.js CHANGED
@@ -1,3 +1,3 @@
1
- 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-BmvMrUpO.esm.js";
2
- import { t as createEkybManager } from "./ekybManager-DbK688m-.esm.js";
1
+ 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-CLf8elav.esm.js";
2
+ import { t as createEkybManager } from "./ekybManager-B3pVjBve.esm.js";
3
3
  export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-BmvMrUpO.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-CLf8elav.esm.js";
5
5
  //#region src/modules/ekyb/ekybActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYB actor.
@@ -3,7 +3,7 @@ import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
3
3
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
5
  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-DH-IPF-w.esm.js";
6
- import { t as getFlow } from "./flowServices-DtiBvqZ6.esm.js";
6
+ import { t as getFlow } from "./flowServices-zxA2NPMQ.esm.js";
7
7
  //#region src/modules/ekyb/ekybConstants.ts
8
8
  /**
9
9
  * Countries available in all environments.
@@ -1,2 +1,2 @@
1
- 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 "./electronicSignatureManager-CKbmDFNq.js";
1
+ 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-CKbmDFNq.js";
2
2
  export { AE_CONSENT_KEYS, type AeConsentKey, type ConsentChecks, type ConsentKey, type ElectronicSignatureConfig, type ElectronicSignatureDocument, type ElectronicSignatureManager, type ElectronicSignatureState, type ElectronicSignatureVariant, QE_CONSENT_KEYS, type QeConsentKey, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -9,8 +9,8 @@ import { t as IStorageCapability } from "./IStorageCapability-B8IGxCwe.js";
9
9
  import { c as VirtualCameraCheckOutput, l as WasmUtilConfig, s as IWasmUtilCapability } from "./types-ctqh-iS4.js";
10
10
  import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-CN8wJ14s.js";
11
11
  import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-G-k-13Fe.js";
12
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-DLOyIZzt.js";
13
- import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-CQkUAeWO.js";
12
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-2h_w6wFc.js";
13
+ import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-CmPyqpAK.js";
14
14
  import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
15
15
  import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager--HSBTwOy.js";
16
16
  import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-DBqK5ner.js";
@@ -18,16 +18,16 @@ import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as D
18
18
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-CBX0tM04.js";
19
19
  import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
20
20
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
21
- import { d as IdCaptureActor, h as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-CSGbGORT.js";
21
+ import { d as IdCaptureActor, h as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-Cmcwu1iM.js";
22
22
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
23
- import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-aTyLyYrr.js";
23
+ import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-D6pD4hcZ.js";
24
24
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
25
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-BlB4bX6_.js";
26
- import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-vXa7GdRh.js";
25
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-B2gRcE_x.js";
26
+ import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-Bi80MQR4.js";
27
27
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-NVQM3o5P.js";
28
28
  import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-BWhRzBjk.js";
29
29
  import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-BB4Pj_N6.js";
30
- import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-CJQG1W1u.js";
30
+ import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-BnvrZM2F.js";
31
31
  //#region src/modules/authentication/authenticationUploadService.d.ts
32
32
  type AuthenticationUploadResponse = {
33
33
  overallStatus: 'PASS' | 'FAIL';
@@ -1,22 +1,22 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-DAshwHhX.esm.js";
2
- import { f as getDeviceFingerprintInfo, l as IpifyProvider, t as getDisableIpify, u as FingerprintProvider } from "./sessionInitializer-D3TaaDyZ.esm.js";
2
+ import { f as getDeviceFingerprintInfo, l as IpifyProvider, t as getDisableIpify, u as FingerprintProvider } from "./sessionInitializer-BZVkwhRG.esm.js";
3
3
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
5
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-CL2YhiVX.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-CJo_MFLc.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-BeNVVdRP.esm.js";
7
7
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
8
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-C6A_gEhH.esm.js";
8
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CIaoJXwH.esm.js";
9
9
  import { n as createConsentManagerFromActor } from "./consentManager-D3GyyH5u.esm.js";
10
10
  import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-Cwm0MesJ.esm.js";
11
11
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-9rdIO8Qk.esm.js";
12
12
  import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-C2i9Lzx9.esm.js";
13
13
  import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-DijbJFun.esm.js";
14
14
  import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-COik5bJ7.esm.js";
15
- import { n as createEkybManagerFromActor } from "./ekybManager-DbK688m-.esm.js";
15
+ import { n as createEkybManagerFromActor } from "./ekybManager-B3pVjBve.esm.js";
16
16
  import { n as createEkycManagerFromActor } from "./ekycManager-BSMlIpGA.esm.js";
17
17
  import { n as createEmailManagerFromActor } from "./emailManager-c-mDLieD.esm.js";
18
- import { n as createSelfieManagerFromActor } from "./selfieManager-BZFO5-P9.esm.js";
19
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-BFMN4aac.esm.js";
18
+ import { n as createSelfieManagerFromActor } from "./selfieManager-sVQTErpj.esm.js";
19
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-BhzliFq5.esm.js";
20
20
  import { n as createPhoneManagerFromActor } from "./phoneManager-KbcmjEeH.esm.js";
21
21
  import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-DHfJZTVo.esm.js";
22
22
  import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-5LlxYad-.esm.js";
@@ -25,7 +25,7 @@ import { n as createIdOcrManagerFromActor } from "./idOcrManager-niAg-BE0.esm.js
25
25
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-EGXGKftv.esm.js";
26
26
  import { n as createGeolocationManagerFromActor } from "./geolocationManager-D58ehBHU.esm.js";
27
27
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-CujJqsiX.esm.js";
28
- import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-B7jlv77Q.esm.js";
28
+ import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-9rtJXjS-.esm.js";
29
29
  //#region src/internal/fingerprint/fingerprintApi.ts
30
30
  async function getFingerprint(disableIpify) {
31
31
  const shouldDisableIpify = disableIpify ?? getDisableIpify();
@@ -1,4 +1,4 @@
1
- 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-CJQG1W1u.js";
1
+ 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-BnvrZM2F.js";
2
2
  //#region src/modules/face-match/faceMatchStateMachine.d.ts
3
3
  declare const faceMatchMachine: any;
4
4
  //#endregion
@@ -1,3 +1,3 @@
1
- import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-DD7FxtUj.esm.js";
2
- import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-B7jlv77Q.esm.js";
1
+ import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-BfzusGo1.esm.js";
2
+ import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-9rtJXjS-.esm.js";
3
3
  export { ID_FACE_EXTRACTION_SKIPPED_CODE, createFaceMatchManager, createFaceMatchManagerFromActor, faceMatchMachine, isFaceExtractionSkippedError };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-Dy8PyVO5.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as concealmentToAvatar } from "./faceCaptureSetup-CJo_MFLc.esm.js";
4
+ import { n as concealmentToAvatar } from "./faceCaptureSetup-BeNVVdRP.esm.js";
5
5
  import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
6
6
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-DwNCUB2I.esm.js";
7
7
  //#region src/internal/faceCapture/faceCaptureManagerFactory.ts
@@ -2,12 +2,12 @@ import { r as getToken } from "./api-BDTZNnca.esm.js";
2
2
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
3
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
4
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-DwNCUB2I.esm.js";
5
- import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-Dtx5mUa3.esm.js";
5
+ import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-CJZ9-0gT.esm.js";
6
6
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
7
7
  import { t as createFaceAvatar } from "./createFaceAvatar-CwVapQiu.esm.js";
8
8
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
9
9
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DguX5vFY.esm.js";
10
- import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-CCavy7bJ.esm.js";
10
+ import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-R1TlO0fT.esm.js";
11
11
  //#region src/internal/avatar/concealment.ts
12
12
  /**
13
13
  * Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
2
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { t as faceMatchMachine } from "./faceMatchStateMachine-DD7FxtUj.esm.js";
3
+ import { t as faceMatchMachine } from "./faceMatchStateMachine-BfzusGo1.esm.js";
4
4
  //#region src/modules/face-match/faceMatchActor.ts
5
5
  function createFaceMatchActor(options) {
6
6
  return createActor(faceMatchMachine, { input: { config: options.config } }).start();
@@ -39,6 +39,16 @@ type FaceMatchConfig = {
39
39
  * @default false
40
40
  */
41
41
  disableFaceMatchAnimation?: boolean;
42
+ /**
43
+ * When true, the module completes immediately on mount WITHOUT fetching data
44
+ * or rendering any match UI. Set by the Flow orchestrator under US Smart
45
+ * Capture when the ID was captured without a front image ("no front, no
46
+ * match") — there is no ID face to compare against. Distinct from (and
47
+ * complementary to) the reactive backend-4084 skip: this avoids mounting the
48
+ * module and the failing fetch entirely.
49
+ * @default false
50
+ */
51
+ skipFaceMatch?: boolean;
42
52
  };
43
53
  /**
44
54
  * Cropped face images fetched from the backend.
@@ -134,6 +134,7 @@ const faceMatchMachine = setup({
134
134
  },
135
135
  guards: {
136
136
  isAnimationDisabled: ({ context }) => context.config.disableFaceMatchAnimation === true,
137
+ isFaceMatchSkipped: ({ context }) => context.config.skipFaceMatch === true,
137
138
  isFaceExtractionSkipped: ({ event }) => isFaceExtractionSkippedError(event.error)
138
139
  }
139
140
  }).createMachine({
@@ -146,7 +147,13 @@ const faceMatchMachine = setup({
146
147
  error: void 0
147
148
  }),
148
149
  states: {
149
- idle: { on: { LOAD: { target: "loading" } } },
150
+ idle: {
151
+ always: [{
152
+ target: "finished",
153
+ guard: "isFaceMatchSkipped"
154
+ }],
155
+ on: { LOAD: { target: "loading" } }
156
+ },
150
157
  loading: { invoke: {
151
158
  id: "fetchData",
152
159
  src: "fetchData",
package/dist/flow.d.ts CHANGED
@@ -224,6 +224,7 @@ type OrchestratedFlowEvent = {
224
224
  type: 'RESET';
225
225
  } | {
226
226
  type: 'MODULE_COMPLETE';
227
+ output?: unknown;
227
228
  } | {
228
229
  type: 'COMPLETE_FLOW';
229
230
  } | {
@@ -328,7 +329,7 @@ declare function createOrchestratedFlowManager(options: CreateOrchestratedFlowAc
328
329
  * />
329
330
  * ```
330
331
  */
331
- completeModule(): void;
332
+ completeModule(output?: unknown): void;
332
333
  /**
333
334
  * Skip all remaining modules and complete the flow now, notifying the
334
335
  * backend (getFinishStatus) on the way to the completion step.
package/dist/flow.esm.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { m as addEvent } from "./events-Dy8PyVO5.esm.js";
2
2
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
- import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-DtiBvqZ6.esm.js";
4
+ import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-zxA2NPMQ.esm.js";
5
5
  import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-DQSC7Kso.esm.js";
6
6
  import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Crz1nHwJ.esm.js";
7
7
  //#region src/modules/flow/noOpFlowModuleMachine.ts
@@ -355,7 +355,8 @@ function createBaseContext(context, isHomeContinueLoading) {
355
355
  getFinishStatus: context.getFinishStatus,
356
356
  enableHome: context.enableHome,
357
357
  finishStatus: void 0,
358
- isHomeContinueLoading
358
+ isHomeContinueLoading,
359
+ skipFaceMatch: false
359
360
  };
360
361
  }
361
362
  function createInitialContext(input) {
@@ -440,7 +441,11 @@ const orchestratedFlowMachine = setup({
440
441
  incrementStep: assign(({ context }) => {
441
442
  const nextIndex = context.currentStepIndex + 1;
442
443
  const module = context.flow?.flowModules?.[nextIndex];
443
- const config = getModuleConfig(module, context.flow);
444
+ const baseConfig = getModuleConfig(module, context.flow);
445
+ const config = module?.key === "FACE_MATCH" && context.skipFaceMatch === true ? {
446
+ ...baseConfig,
447
+ skipFaceMatch: true
448
+ } : baseConfig;
444
449
  return {
445
450
  currentStepIndex: nextIndex,
446
451
  currentStep: module?.key,
@@ -448,6 +453,12 @@ const orchestratedFlowMachine = setup({
448
453
  currentModuleMachine: void 0
449
454
  };
450
455
  }),
456
+ persistSkipFaceMatch: assign(({ context, event }) => {
457
+ const isPrimaryIdStep = context.currentStep === "ID" || context.currentStep === "TUTORIAL_ID";
458
+ const out = event.output;
459
+ if (!isPrimaryIdStep) return {};
460
+ return { skipFaceMatch: out?.skipFaceMatch ?? context.skipFaceMatch };
461
+ }),
451
462
  setCurrentModuleMachine: assign(({ event }) => ({ currentModuleMachine: event.output })),
452
463
  prefetchNextModule: ({ context }) => {
453
464
  prefetchNextLazyModule(context);
@@ -609,7 +620,7 @@ const orchestratedFlowMachine = setup({
609
620
  },
610
621
  {
611
622
  target: "resolvingModule",
612
- actions: "incrementStep"
623
+ actions: ["persistSkipFaceMatch", "incrementStep"]
613
624
  }
614
625
  ],
615
626
  MODULE_ERROR: [
@@ -845,9 +856,12 @@ function createOrchestratedFlowApi({ actor, getSnapshot, trackElementClicked },
845
856
  * />
846
857
  * ```
847
858
  */
848
- completeModule() {
859
+ completeModule(output) {
849
860
  trackElementClicked?.("completeModule");
850
- actor.send({ type: "MODULE_COMPLETE" });
861
+ actor.send({
862
+ type: "MODULE_COMPLETE",
863
+ output
864
+ });
851
865
  },
852
866
  /**
853
867
  * Skip all remaining modules and complete the flow now, notifying the
@@ -1,8 +1,8 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
3
- import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-D3TaaDyZ.esm.js";
3
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-BZVkwhRG.esm.js";
4
4
  import { n as toIncodeApiError } from "./apiError-COvIGYWe.esm.js";
5
- import "./session-BadmZmbK.esm.js";
5
+ import "./session-DoM7iyf7.esm.js";
6
6
  import { r as videoSelfieWasmPipelines } from "./videoSelfieSteps-DHcibfYH.esm.js";
7
7
  //#region src/modules/flow/flowUtils.ts
8
8
  const WASM_MODULE_PIPELINES = {
package/dist/id-ocr.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- 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-vXa7GdRh.js";
1
+ 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-Bi80MQR4.js";
2
2
  //#region src/modules/id-ocr/idOcrFields.d.ts
3
3
  declare const OCR_FIELDS: OcrFieldConfig[];
4
4
  declare const getOcrFields: (config: Pick<IdOcrConfig, "flowId">) => OcrFieldConfig[];
package/dist/id.d.ts CHANGED
@@ -2,7 +2,7 @@ import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapabil
2
2
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
3
3
  import { t as DeepsightService } from "./deepsightService-CR-CYdka.js";
4
4
  import { n as PermissionStatus, t as PermissionResult } from "./types-BT-aiBYV.js";
5
- import { A as IdCapturedImageData, B as MANUAL_UPLOAD_MAX_RETRIES, C as IdCaptureDependencies, D as IdCaptureMode, E as IdCaptureInput, F as RecordingSession, G as IIdCaptureCapability, H as ManualUploadSide, I as UploadIdResponse, K as IdCaptureSettings, L as IAnalyticsCapability, M as IdError, N as IdErrorCode, O as IdCaptureOnlyConfig, P as IdFlowStep, R as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, S as IdCaptureContext, T as IdCaptureGeometry, U as ManualUploadTab, V as ManualUploadContext, W as DetectionOrientation, _ as CapturedImage, a as CreateIdCaptureOnlyActorOptions, b as ID_ERROR_CODES, c as IdCaptureOnlyMachine, d as IdCaptureActor, f as createIdCaptureActor, g as CaptureOnlyResponse, h as CaptureIdResponse, j as IdDocumentType, k as IdCaptureThresholds, l as idCaptureOnlyMachine, m as idCaptureMachine, n as IdCaptureManager, o as IdCaptureOnlyActor, p as IdCaptureMachine, r as IdCaptureState, s as createIdCaptureOnlyActor, t as createIdCaptureManager, u as CreateIdCaptureActorOptions, v as DetectionArea, w as IdCaptureEvent, x as IdCaptureConfig, y as DetectionStatus, z as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES } from "./idCaptureManager-CSGbGORT.js";
5
+ import { A as IdCaptureThresholds, B as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, C as IdCaptureDependencies, D as IdCaptureMode, E as IdCaptureInput, F as IdFlowStep, G as DetectionOrientation, H as ManualUploadContext, I as RecordingSession, K as IIdCaptureCapability, L as UploadIdResponse, M as IdDocumentType, N as IdError, O as IdCaptureOnlyConfig, P as IdErrorCode, R as IAnalyticsCapability, S as IdCaptureContext, T as IdCaptureGeometry, U as ManualUploadSide, V as MANUAL_UPLOAD_MAX_RETRIES, W as ManualUploadTab, _ as CapturedImage, a as CreateIdCaptureOnlyActorOptions, b as ID_ERROR_CODES, c as IdCaptureOnlyMachine, d as IdCaptureActor, f as createIdCaptureActor, g as CaptureOnlyResponse, h as CaptureIdResponse, j as IdCapturedImageData, k as IdCaptureOutput, l as idCaptureOnlyMachine, m as idCaptureMachine, n as IdCaptureManager, o as IdCaptureOnlyActor, p as IdCaptureMachine, q as IdCaptureSettings, r as IdCaptureState, s as createIdCaptureOnlyActor, t as createIdCaptureManager, u as CreateIdCaptureActorOptions, v as DetectionArea, w as IdCaptureEvent, x as IdCaptureConfig, y as DetectionStatus, z as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS } from "./idCaptureManager-Cmcwu1iM.js";
6
6
  //#region src/modules/id/idCaptureServices.d.ts
7
7
  type IdCaptureInitResult = {
8
8
  stream: CameraStream;
@@ -121,4 +121,4 @@ declare function createIdCaptureOnlyManagerFromActor(actor: IdCaptureOnlyActor,
121
121
  */
122
122
  declare function createIdCaptureOnlyManager(options: CreateIdCaptureOnlyActorOptions): IdCaptureOnlyManager;
123
123
  //#endregion
124
- export { type CameraStream, CaptureIdResponse, CaptureOnlyResponse, CapturedImage, type CreateIdCaptureActorOptions, type CreateIdCaptureOnlyActorOptions, DetectionArea, type DetectionOrientation, DetectionStatus, ID_ERROR_CODES, type IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, type IdCaptureMachine, type IdCaptureManager, IdCaptureMode, type IdCaptureOnlyActor, IdCaptureOnlyConfig, type IdCaptureOnlyMachine, type IdCaptureOnlyManager, type IdCaptureSettings, type IdCaptureState, IdCaptureThresholds, IdCapturedImageData, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, MANUAL_UPLOAD_MAX_RETRIES, type ManualUploadContext, type ManualUploadSide, type ManualUploadTab, type PermissionResult, type PermissionStatus, RecordingSession, StartRecordingParams, UploadIdImageParams, UploadIdResponse, UploadManualIdFileParams, ValidationError, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, preloadIdRecordingProvider, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, uploadManualIdFile, validateUploadResponse };
124
+ export { type CameraStream, CaptureIdResponse, CaptureOnlyResponse, CapturedImage, type CreateIdCaptureActorOptions, type CreateIdCaptureOnlyActorOptions, DetectionArea, type DetectionOrientation, DetectionStatus, ID_ERROR_CODES, type IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, type IdCaptureMachine, type IdCaptureManager, IdCaptureMode, type IdCaptureOnlyActor, IdCaptureOnlyConfig, type IdCaptureOnlyMachine, type IdCaptureOnlyManager, IdCaptureOutput, type IdCaptureSettings, type IdCaptureState, IdCaptureThresholds, IdCapturedImageData, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, MANUAL_UPLOAD_MAX_RETRIES, type ManualUploadContext, type ManualUploadSide, type ManualUploadTab, type PermissionResult, type PermissionStatus, RecordingSession, StartRecordingParams, UploadIdImageParams, UploadIdResponse, UploadManualIdFileParams, ValidationError, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, preloadIdRecordingProvider, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, uploadManualIdFile, validateUploadResponse };
package/dist/id.esm.js CHANGED
@@ -2,8 +2,8 @@ import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
2
2
  import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
4
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
5
- import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, h as MANUAL_UPLOAD_MAX_RETRIES, i as preloadIdRecordingProvider, l as uploadIdImage, m as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, o as startRecordingSession, p as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, r as initializeIdCapture, s as stopRecording, t as idCaptureMachine, u as uploadManualIdFile } from "./idCaptureStateMachine-DSVttQgS.esm.js";
6
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-BFMN4aac.esm.js";
5
+ import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, h as MANUAL_UPLOAD_MAX_RETRIES, i as preloadIdRecordingProvider, l as uploadIdImage, m as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, o as startRecordingSession, p as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, r as initializeIdCapture, s as stopRecording, t as idCaptureMachine, u as uploadManualIdFile } from "./idCaptureStateMachine-CrQ8hp5D.esm.js";
6
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-BhzliFq5.esm.js";
7
7
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-B-QfsCQY.esm.js";
8
8
  //#region src/modules/id/idCaptureOnlyStateMachine.ts
9
9
  function buildSubImage(canvas) {
@@ -4,7 +4,7 @@ import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.
4
4
  import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
5
5
  import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-DwNCUB2I.esm.js";
6
6
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
7
- import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-DSVttQgS.esm.js";
7
+ import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-CrQ8hp5D.esm.js";
8
8
  //#region src/modules/id/digitalUpload/instrumentation.ts
9
9
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
10
10
  function isHoldingState(value) {
@@ -336,7 +336,10 @@ function mapState(snapshot) {
336
336
  currentMode: context.currentMode
337
337
  };
338
338
  }
339
- if (snapshot.matches("finished")) return { status: "finished" };
339
+ if (snapshot.matches("finished")) return {
340
+ status: "finished",
341
+ output: snapshot.output
342
+ };
340
343
  if (snapshot.matches("error")) return {
341
344
  status: "error",
342
345
  error: context.error ?? "Unknown error"
@@ -644,6 +644,29 @@ type IdCaptureInput = {
644
644
  analyticsProvider?: IAnalyticsCapability;
645
645
  dependencies?: IdCaptureDependencies;
646
646
  };
647
+ /**
648
+ * Terminal output of `idCaptureMachine`, read by the Flow orchestrator (via
649
+ * `runChildModule`'s `MODULE_COMPLETE`) to decide downstream module skipping.
650
+ *
651
+ * Declared at the machine ROOT (not on a final state) so it actually populates
652
+ * the actor output in this XState version. It is therefore emitted on EVERY
653
+ * top-level final state (`finished` AND `closed`); `computeIdCaptureOutput`
654
+ * gates the skip on a captured back + no front, so cancel / no-capture paths
655
+ * yield `skipFaceMatch: false`. The `| undefined` branch is a defensive type
656
+ * allowance and is not produced at runtime.
657
+ */
658
+ type IdCaptureOutput = {
659
+ /** A front-of-ID image was captured this session (an ID face exists). */
660
+ frontIdCaptured: boolean;
661
+ /**
662
+ * Under US Smart Capture, `true` when the ID completed WITHOUT a front
663
+ * image ("no front, no match"): the downstream Face Match step has no ID
664
+ * face to compare the selfie against and should be skipped. Always
665
+ * `false` outside `usSmartCapture` (standard front+back always captures a
666
+ * front). The selfie/face capture itself is unaffected.
667
+ */
668
+ skipFaceMatch: boolean;
669
+ } | undefined;
647
670
  //#endregion
648
671
  //#region src/modules/id/idCaptureStateMachine.d.ts
649
672
  declare const idCaptureMachine: AnyStateMachine;
@@ -759,6 +782,13 @@ type IdCaptureExpiredExhaustedState = {
759
782
  };
760
783
  type IdCaptureFinishedState = {
761
784
  status: 'finished';
785
+ /**
786
+ * Terminal output of the ID machine — the downstream module-skip signal
787
+ * (e.g. `skipFaceMatch` for the US Smart Capture "no front, no match" path).
788
+ * UI-driven modules don't auto-propagate machine output to the orchestrator,
789
+ * so the UI forwards this to `flowManager.completeModule(output)` on finish.
790
+ */
791
+ output?: IdCaptureOutput;
762
792
  };
763
793
  type IdCaptureClosedState = {
764
794
  status: 'closed';
@@ -909,4 +939,4 @@ declare function createIdCaptureManager(options: CreateIdCaptureActorOptions): M
909
939
  digitalUploadChooseAnother(): void;
910
940
  };
911
941
  //#endregion
912
- export { IdCapturedImageData as A, MANUAL_UPLOAD_MAX_RETRIES as B, IdCaptureDependencies as C, IdCaptureMode as D, IdCaptureInput as E, RecordingSession as F, IIdCaptureCapability as G, ManualUploadSide as H, UploadIdResponse as I, IdCaptureSettings as K, IAnalyticsCapability as L, IdError as M, IdErrorCode as N, IdCaptureOnlyConfig as O, IdFlowStep as P, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS as R, IdCaptureContext as S, IdCaptureGeometry as T, ManualUploadTab as U, ManualUploadContext as V, DetectionOrientation as W, CapturedImage as _, CreateIdCaptureOnlyActorOptions as a, ID_ERROR_CODES as b, IdCaptureOnlyMachine as c, IdCaptureActor as d, createIdCaptureActor as f, CaptureOnlyResponse as g, CaptureIdResponse as h, createIdCaptureManagerFromActor as i, IdDocumentType as j, IdCaptureThresholds as k, idCaptureOnlyMachine as l, idCaptureMachine as m, IdCaptureManager as n, IdCaptureOnlyActor as o, IdCaptureMachine as p, IdCaptureState as r, createIdCaptureOnlyActor as s, createIdCaptureManager as t, CreateIdCaptureActorOptions as u, DetectionArea as v, IdCaptureEvent as w, IdCaptureConfig as x, DetectionStatus as y, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES as z };
942
+ export { IdCaptureThresholds as A, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES as B, IdCaptureDependencies as C, IdCaptureMode as D, IdCaptureInput as E, IdFlowStep as F, DetectionOrientation as G, ManualUploadContext as H, RecordingSession as I, IIdCaptureCapability as K, UploadIdResponse as L, IdDocumentType as M, IdError as N, IdCaptureOnlyConfig as O, IdErrorCode as P, IAnalyticsCapability as R, IdCaptureContext as S, IdCaptureGeometry as T, ManualUploadSide as U, MANUAL_UPLOAD_MAX_RETRIES as V, ManualUploadTab as W, CapturedImage as _, CreateIdCaptureOnlyActorOptions as a, ID_ERROR_CODES as b, IdCaptureOnlyMachine as c, IdCaptureActor as d, createIdCaptureActor as f, CaptureOnlyResponse as g, CaptureIdResponse as h, createIdCaptureManagerFromActor as i, IdCapturedImageData as j, IdCaptureOutput as k, idCaptureOnlyMachine as l, idCaptureMachine as m, IdCaptureManager as n, IdCaptureOnlyActor as o, IdCaptureMachine as p, IdCaptureSettings as q, IdCaptureState as r, createIdCaptureOnlyActor as s, createIdCaptureManager as t, CreateIdCaptureActorOptions as u, DetectionArea as v, IdCaptureEvent as w, IdCaptureConfig as x, DetectionStatus as y, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS as z };
@@ -3,20 +3,20 @@ import { r as getToken, t as api } from "./api-BDTZNnca.esm.js";
3
3
  import { x as revokeObjectURL } from "./events-Dy8PyVO5.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
5
5
  import { t as addDeviceStats } from "./stats-Bu6bL_CX.esm.js";
6
- import { t as getDisableIpify } from "./sessionInitializer-D3TaaDyZ.esm.js";
6
+ import { t as getDisableIpify } from "./sessionInitializer-BZVkwhRG.esm.js";
7
7
  import { n as isDesktop } from "./platform-wmV7oTAJ.esm.js";
8
8
  import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
9
9
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
10
10
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-DwNCUB2I.esm.js";
11
- import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-Dtx5mUa3.esm.js";
11
+ import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-CJZ9-0gT.esm.js";
12
12
  import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
13
13
  import { n as getBackCameraStream } from "./backCameraStream-Heg6vA1j.esm.js";
14
14
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
15
15
  import { t as getDeviceClass } from "./getDeviceClass-CkgnSJel.esm.js";
16
16
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
17
17
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DguX5vFY.esm.js";
18
- import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-CCavy7bJ.esm.js";
19
- import "./session-BadmZmbK.esm.js";
18
+ import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-R1TlO0fT.esm.js";
19
+ import "./session-DoM7iyf7.esm.js";
20
20
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS$1, r as IdCaptureProvider } from "./idCaptureDefaults-Dzfws4i0.esm.js";
21
21
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
22
22
  const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
@@ -1220,6 +1220,32 @@ function getManualUploadTabs(config) {
1220
1220
  showPassportTab
1221
1221
  };
1222
1222
  }
1223
+ /**
1224
+ * Computes `idCaptureMachine`'s terminal output — the downstream module-skip
1225
+ * signal read by the Flow orchestrator (via `runChildModule`'s `MODULE_COMPLETE`).
1226
+ *
1227
+ * `skipFaceMatch` is set ONLY for the US Smart Capture *camera back-only* path:
1228
+ * a back image was captured on-device (`capturedImages.back`) and no front was
1229
+ * (`!capturedImages.front`) — "no front, no ID face, no match".
1230
+ *
1231
+ * Requiring a captured back is deliberate and load-bearing: the manual-upload
1232
+ * and digital-ID-upload paths submit a full ID (front face present) but do NOT
1233
+ * populate `capturedImages` (only the camera path does). Gating on a captured
1234
+ * back excludes those upload paths so a real ID-vs-selfie match is never
1235
+ * silently skipped. `capturedImages.front`/`forceFrontIdCapture` alone are not
1236
+ * enough (a later front upload clears the request; uploads set neither field).
1237
+ *
1238
+ * Always `false` outside US Smart Capture. The selfie/face capture itself is
1239
+ * unaffected — only the ID-vs-selfie match is skipped.
1240
+ */
1241
+ function computeIdCaptureOutput(context) {
1242
+ const frontIdCaptured = Boolean(context.capturedImages.front);
1243
+ const backIdCaptured = Boolean(context.capturedImages.back);
1244
+ return {
1245
+ frontIdCaptured,
1246
+ skipFaceMatch: context.config.usSmartCapture === true && backIdCaptured && !frontIdCaptured
1247
+ };
1248
+ }
1223
1249
  //#endregion
1224
1250
  //#region src/modules/id/idCaptureActors.ts
1225
1251
  const checkPermissionActor = fromPromise(async () => {
@@ -1522,7 +1548,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
1522
1548
  });
1523
1549
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
1524
1550
  if (!input.dependencies) return;
1525
- const { loadDeepsightSession } = await import("./deepsightLoader-Dnd7Rajk.esm.js");
1551
+ const { loadDeepsightSession } = await import("./deepsightLoader-CO6FgzSm.esm.js");
1526
1552
  return loadDeepsightSession({
1527
1553
  ds: input.ds,
1528
1554
  storage: input.dependencies.storage,
@@ -1791,7 +1817,8 @@ const idCaptureMachine = setup({
1791
1817
  types: {
1792
1818
  context: {},
1793
1819
  events: {},
1794
- input: {}
1820
+ input: {},
1821
+ output: {}
1795
1822
  },
1796
1823
  actors: {
1797
1824
  checkPermission: checkPermissionActor,
@@ -2028,6 +2055,7 @@ const idCaptureMachine = setup({
2028
2055
  }).createMachine({
2029
2056
  id: "idCapture",
2030
2057
  initial: "idle",
2058
+ output: ({ context }) => computeIdCaptureOutput(context),
2031
2059
  context: ({ input }) => {
2032
2060
  const currentMode = input.config.onlyBack ? "back" : !input.config.enableId && input.config.enablePassport ? "passport" : input.config.usSmartCapture ? "back" : "front";
2033
2061
  return {
@@ -271,7 +271,7 @@ declare const idOcrStateMachine: 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, NonReducibleUnknown, EventObject, MetaObject, {
274
+ }>, never, "error" | "idle" | "success" | "finished" | "loading" | "inputting" | "submitting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
275
275
  readonly id: "idOcr";
276
276
  readonly initial: "idle";
277
277
  readonly context: ({ input }: {
@@ -1,2 +1,2 @@
1
- import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-aTyLyYrr.js";
1
+ import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-D6pD4hcZ.js";
2
2
  export { type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -125,7 +125,7 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
125
125
  type: "hasSelection";
126
126
  params: unknown;
127
127
  };
128
- }>, never, "error" | "idle" | "finished" | "loading" | "documentsFound" | "submitting", string, IdentityReuseInput, NonReducibleUnknown, EventObject, MetaObject, {
128
+ }>, never, "error" | "idle" | "finished" | "loading" | "submitting" | "documentsFound", string, IdentityReuseInput, NonReducibleUnknown, EventObject, MetaObject, {
129
129
  readonly id: "identityReuse";
130
130
  readonly initial: "idle";
131
131
  readonly context: ({ input }: {
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, o as setup, r as isConfigured } from "./setup-Bdtm4xAl.esm.js";
1
+ import { i as reset, o as setup, r as isConfigured } from "./setup-Dg12--fg.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,2 +1,2 @@
1
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-BlB4bX6_.js";
1
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-B2gRcE_x.js";
2
2
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -80,14 +80,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
80
80
  type: "clearError";
81
81
  params: NonReducibleUnknown;
82
82
  };
83
- toggleSigned: {
84
- type: "toggleSigned";
85
- params: NonReducibleUnknown;
86
- };
87
83
  resetContext: {
88
84
  type: "resetContext";
89
85
  params: NonReducibleUnknown;
90
86
  };
87
+ toggleSigned: {
88
+ type: "toggleSigned";
89
+ params: NonReducibleUnknown;
90
+ };
91
91
  }>, {
92
92
  type: "canSubmit";
93
93
  params: unknown;
@@ -516,7 +516,7 @@ async function stopRecording(session) {
516
516
  }
517
517
  }
518
518
  async function initializeDeepsightSession(options) {
519
- const { loadDeepsightSession } = await import("./deepsightLoader-Dnd7Rajk.esm.js");
519
+ const { loadDeepsightSession } = await import("./deepsightLoader-CO6FgzSm.esm.js");
520
520
  return loadDeepsightSession({
521
521
  ds: options.ds,
522
522
  storage: options.storage
@@ -4,13 +4,13 @@ import { t as api } from "./api-BDTZNnca.esm.js";
4
4
  import { a as createApi$1, t as getStoredHttpConfig } from "./clientLifecycle-DzT65Fvf.esm.js";
5
5
  import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
6
6
  import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
7
- import { c as isBrowserSimulation, d as getThumbmarkId, f as getDeviceFingerprintInfo, n as getFingerprintEnabled, p as BrowserEnvironmentProvider } from "./sessionInitializer-D3TaaDyZ.esm.js";
7
+ import { c as isBrowserSimulation, d as getThumbmarkId, f as getDeviceFingerprintInfo, n as getFingerprintEnabled, p as BrowserEnvironmentProvider } from "./sessionInitializer-BZVkwhRG.esm.js";
8
8
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
9
9
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
10
10
  import { i as requestPermission, t as checkPermission } from "./permissionServices-DwNCUB2I.esm.js";
11
11
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
12
12
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
13
- import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-Dtx5mUa3.esm.js";
13
+ import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-CJZ9-0gT.esm.js";
14
14
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
15
15
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
16
16
  //#region ../infra/src/crypto/randomUUID.ts
@@ -1,6 +1,5 @@
1
1
  import { t as Manager } from "./Manager-CQQ99QOI.js";
2
- import { c as ConsentKey, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./electronicSignatureManager-CKbmDFNq.js";
3
- import "./electronic-signature.js";
2
+ import { c as ConsentKey, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-CKbmDFNq.js";
4
3
  //#region src/modules/qe-signature/index.d.ts
5
4
  type QeSignatureConfig = Omit<ElectronicSignatureConfig, 'variant'>;
6
5
  declare function createQeSignatureManager(options: {
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
3
3
  import { t as isAndroid } from "./platform-wmV7oTAJ.esm.js";
4
- import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-Dtx5mUa3.esm.js";
4
+ import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-CJZ9-0gT.esm.js";
5
5
  import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-BhSZDDNb.esm.js";
6
6
  //#region src/internal/manualReview/manualReviewService.ts
7
7
  async function flagFaceManualReview() {
@@ -2,12 +2,12 @@ import { t as WasmUtilProvider } from "./WasmUtilProvider-DAshwHhX.esm.js";
2
2
  import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
3
3
  import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
- import { t as faceCaptureMachine } from "./faceCaptureSetup-CJo_MFLc.esm.js";
6
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BkuqYPE9.esm.js";
5
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-BeNVVdRP.esm.js";
6
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory--1VcHUzl.esm.js";
7
7
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
8
8
  import { t as processFace } from "./selfieUploadService-B4LnSIf6.esm.js";
9
- import { t as selfieMachine } from "./selfieStateMachine-DjaHbMKZ.esm.js";
10
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BZFO5-P9.esm.js";
9
+ import { t as selfieMachine } from "./selfieStateMachine-BsNEWEbc.esm.js";
10
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-sVQTErpj.esm.js";
11
11
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-B-QfsCQY.esm.js";
12
12
  //#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
13
13
  /**
@@ -1,9 +1,9 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-DAshwHhX.esm.js";
2
2
  import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
3
3
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BkuqYPE9.esm.js";
4
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory--1VcHUzl.esm.js";
5
5
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-DjaHbMKZ.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-BsNEWEbc.esm.js";
7
7
  //#region src/modules/selfie/selfieActor.ts
8
8
  function createSelfieActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,7 +1,7 @@
1
1
  import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
- import { t as faceCaptureMachine } from "./faceCaptureSetup-CJo_MFLc.esm.js";
4
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-Dtx5mUa3.esm.js";
3
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-BeNVVdRP.esm.js";
4
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-CJZ9-0gT.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
6
6
  import { n as uploadSelfie, t as processFace } from "./selfieUploadService-B4LnSIf6.esm.js";
7
7
  Object.values(FACE_ERROR_CODES);
@@ -0,0 +1 @@
1
+ import "./sessionInitializer-BZVkwhRG.esm.js";
@@ -1,8 +1,8 @@
1
1
  import { n as getApi } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
3
- import { i as initializeSession } from "./sessionInitializer-D3TaaDyZ.esm.js";
3
+ import { i as initializeSession } from "./sessionInitializer-BZVkwhRG.esm.js";
4
4
  import { n as toIncodeApiError, t as IncodeApiError } from "./apiError-COvIGYWe.esm.js";
5
- import "./session-BadmZmbK.esm.js";
5
+ import "./session-DoM7iyf7.esm.js";
6
6
  import { n as getFinishStatus } from "./flowCompletionService-DQSC7Kso.esm.js";
7
7
  //#region src/internal/session/sessionService.ts
8
8
  /**
@@ -1608,7 +1608,7 @@ function isBrowserSimulation(browserEnv) {
1608
1608
  }
1609
1609
  //#endregion
1610
1610
  //#region src/internal/version/sdkVersion.ts
1611
- const SDK_VERSION = "0.0.0-dev-20260716-ab304429";
1611
+ const SDK_VERSION = "0.0.0-dev-20260716-bd78addb";
1612
1612
  //#endregion
1613
1613
  //#region src/internal/fingerprint/fingerprintService.ts
1614
1614
  function formatOsVersion(os) {
@@ -5,7 +5,7 @@ import { i as upgradeToWasmHttpClient$1, n as installFreshHttpClient, r as reset
5
5
  import { _ as setAnalyticsBatcher, g as resetAnalyticsBatcher, h as getAnalyticsBatcher } from "./events-Dy8PyVO5.esm.js";
6
6
  import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
7
7
  import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-Bu6bL_CX.esm.js";
8
- import { a as resetSessionInit, i as initializeSession, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled } from "./sessionInitializer-D3TaaDyZ.esm.js";
8
+ import { a as resetSessionInit, i as initializeSession, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled } from "./sessionInitializer-BZVkwhRG.esm.js";
9
9
  import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-N-xlKhZK.esm.js";
10
10
  //#region ../infra/src/wasm/wasmDefaults.ts
11
11
  const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
@@ -1,5 +1,5 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-DAshwHhX.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-Bdtm4xAl.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-Dg12--fg.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
4
  import { t as api } from "./api-BDTZNnca.esm.js";
5
5
  import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
@@ -7,7 +7,7 @@ import { c as createManager, o as createActor, r as assign, t as setup } from ".
7
7
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
8
8
  import { t as checkPermission } from "./permissionServices-DwNCUB2I.esm.js";
9
9
  import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
10
- import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-Dtx5mUa3.esm.js";
10
+ import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-CJZ9-0gT.esm.js";
11
11
  import { n as getBackCameraStream } from "./backCameraStream-Heg6vA1j.esm.js";
12
12
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
13
13
  import { n as uploadSelfie, t as processFace } from "./selfieUploadService-B4LnSIf6.esm.js";
package/dist/wasm.esm.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import { i as warmupWasm } from "./WasmUtilProvider-DAshwHhX.esm.js";
2
- import { a as setWasmConfig, c as DEFAULT_WASM_VERSION, d as resolveWasmConfig, l as buildDefaultWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines, u as buildWasmConfigFromBasePath } from "./setup-Bdtm4xAl.esm.js";
2
+ import { a as setWasmConfig, c as DEFAULT_WASM_VERSION, d as resolveWasmConfig, l as buildDefaultWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines, u as buildWasmConfigFromBasePath } from "./setup-Dg12--fg.esm.js";
3
3
  export { DEFAULT_WASM_VERSION, buildDefaultWasmConfig, buildWasmConfigFromBasePath, ensureWasmPipelines, initializeWasmUtil, resolveWasmConfig, setWasmConfig, upgradeToWasmHttpClient, warmupWasm };
@@ -1,25 +1,25 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
2
  import { m as addEvent, n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
3
3
  import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
4
- import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-D3TaaDyZ.esm.js";
4
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-BZVkwhRG.esm.js";
5
5
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
7
7
  import { n as toIncodeApiError } from "./apiError-COvIGYWe.esm.js";
8
8
  import { n as electronicSignatureMachine } from "./electronicSignatureManager-DSZu9OHT.esm.js";
9
9
  import "./ae-signature.esm.js";
10
10
  import { t as antifraudMachine } from "./antifraudStateMachine-Bf-IiCq7.esm.js";
11
- import { t as authenticationMachine } from "./authenticationStateMachine-MnSqXh8s.esm.js";
11
+ import { t as authenticationMachine } from "./authenticationStateMachine-CJfWsO79.esm.js";
12
12
  import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Ce568YfR.esm.js";
13
13
  import { t as consentMachine } from "./consentStateMachine-Pc3Ez3mV.esm.js";
14
14
  import { t as curpValidationMachine } from "./curpValidationStateMachine-7i3TD8J2.esm.js";
15
15
  import { t as customWatchlistMachine } from "./customWatchlistStateMachine-D23XTxl2.esm.js";
16
16
  import { t as documentCaptureMachine } from "./documentCaptureStateMachine-qgsrlcVh.esm.js";
17
17
  import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BV-Fn13x.esm.js";
18
- import { n as toEkybConfig, t as ekybMachine } from "./ekybStateMachine-BmvMrUpO.esm.js";
18
+ import { n as toEkybConfig, t as ekybMachine } from "./ekybStateMachine-CLf8elav.esm.js";
19
19
  import { n as toEkycConfig, t as ekycMachine } from "./ekycStateMachine-a7oP-XWo.esm.js";
20
20
  import { t as emailMachine } from "./emailStateMachine-ChNwY22u.esm.js";
21
- import { t as selfieMachine } from "./selfieStateMachine-DjaHbMKZ.esm.js";
22
- import { t as idCaptureMachine } from "./idCaptureStateMachine-DSVttQgS.esm.js";
21
+ import { t as selfieMachine } from "./selfieStateMachine-BsNEWEbc.esm.js";
22
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-CrQ8hp5D.esm.js";
23
23
  import { t as phoneMachine } from "./phoneStateMachine-wDQtaT38.esm.js";
24
24
  import { n as identityReuseMachine } from "./identityReuseStateMachine-CM45EBrb.esm.js";
25
25
  import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-BN4Obfl7.esm.js";
@@ -27,7 +27,7 @@ import { t as idOcrStateMachine } from "./idOcrStateMachine-CpZZL411.esm.js";
27
27
  import { t as redirectToMobileMachine } from "./redirectToMobileStateMachine-D-8ipBq2.esm.js";
28
28
  import { t as geolocationMachine } from "./geolocationStateMachine-BorcBNZ6.esm.js";
29
29
  import { t as idVerificationMachine } from "./idVerificationStateMachine-D-1GlgC5.esm.js";
30
- import { t as faceMatchMachine } from "./faceMatchStateMachine-DD7FxtUj.esm.js";
30
+ import { t as faceMatchMachine } from "./faceMatchStateMachine-BfzusGo1.esm.js";
31
31
  import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-DQSC7Kso.esm.js";
32
32
  import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Crz1nHwJ.esm.js";
33
33
  import { t as governmentValidationMachine } from "./governmentValidationStateMachine-DkakcwTj.esm.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20260716-ab304429",
3
+ "version": "0.0.0-dev-20260716-bd78addb",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
@@ -276,8 +276,8 @@
276
276
  "tsdown": "^0.22.8",
277
277
  "typescript": "^5.9.3",
278
278
  "vitest": "4.1.4",
279
- "@incodetech/infra": "1.2.0",
280
- "@incodetech/config": "1.0.2"
279
+ "@incodetech/config": "1.0.2",
280
+ "@incodetech/infra": "1.2.0"
281
281
  },
282
282
  "scripts": {
283
283
  "build": "tsdown -c tsdown.config.ts",
@@ -1 +0,0 @@
1
- import "./sessionInitializer-D3TaaDyZ.esm.js";