@incodetech/core 0.0.0-dev-20260723-a95c8ff7 → 0.0.0-dev-20260723-be346272

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 (46) hide show
  1. package/dist/authentication.esm.js +2 -2
  2. package/dist/{authenticationManager-BdxFXO95.esm.js → authenticationManager-B9Qm5yqf.esm.js} +2 -2
  3. package/dist/{authenticationStateMachine-3jtp5Aip.esm.js → authenticationStateMachine-C_zvYGnY.esm.js} +2 -2
  4. package/dist/consent.d.ts +1 -1
  5. package/dist/{consentManager-2h_w6wFc.d.ts → consentManager-3Pbtj-RV.d.ts} +1 -1
  6. package/dist/cpf-ocr.d.ts +1 -1
  7. package/dist/{cpfOcrManager-CQkUAeWO.d.ts → cpfOcrManager-C-3PWS2h.d.ts} +1 -1
  8. package/dist/{deepsightLoader-Cprz5-1Q.esm.js → deepsightLoader-DLTccYCv.esm.js} +1 -1
  9. package/dist/document-upload.d.ts +4 -4
  10. package/dist/ekyb.esm.js +2 -2
  11. package/dist/{ekybManager-C-2lb1Ql.esm.js → ekybManager-BJk_XfA7.esm.js} +1 -1
  12. package/dist/{ekybStateMachine-OXhehoXr.esm.js → ekybStateMachine-CUADos0H.esm.js} +1 -1
  13. package/dist/extensibility.d.ts +6 -6
  14. package/dist/extensibility.esm.js +6 -6
  15. package/dist/{faceCaptureManagerFactory-CzlfsGEf.esm.js → faceCaptureManagerFactory-C7hNylWL.esm.js} +1 -1
  16. package/dist/{faceCaptureSetup-DvV9q1Uo.esm.js → faceCaptureSetup-Bso0SOrU.esm.js} +2 -2
  17. package/dist/flow.esm.js +1 -1
  18. package/dist/{flowServices-Cnw9YQgZ.esm.js → flowServices-BEPX-eK1.esm.js} +2 -2
  19. package/dist/id-ocr.d.ts +1 -1
  20. package/dist/id.d.ts +1 -1
  21. package/dist/id.esm.js +2 -2
  22. package/dist/{idCaptureManager-DwzzOqgs.esm.js → idCaptureManager-BDCJwgrN.esm.js} +3 -4
  23. package/dist/{idCaptureManager-DTe_5dcI.d.ts → idCaptureManager-DOYaK3vb.d.ts} +0 -6
  24. package/dist/{idCaptureStateMachine-P-Em_hwh.esm.js → idCaptureStateMachine-DZjn9cjg.esm.js} +8 -50
  25. package/dist/{idOcrManager-vXa7GdRh.d.ts → idOcrManager-B-JyjyPb.d.ts} +1 -1
  26. package/dist/identity-reuse.d.ts +1 -1
  27. package/dist/{identityReuseManager-D6pD4hcZ.d.ts → identityReuseManager-v2TH5g7e.d.ts} +1 -1
  28. package/dist/index.esm.js +1 -1
  29. package/dist/mandatory-consent.d.ts +1 -1
  30. package/dist/{mandatoryConsentManager-DzLHRc5u.d.ts → mandatoryConsentManager-Bc9AKBft.d.ts} +1 -1
  31. package/dist/{onDeviceFaceResults-D8eXFiLT.esm.js → onDeviceFaceResults-D7Ymps8b.esm.js} +1 -1
  32. package/dist/personhood.esm.js +2 -2
  33. package/dist/{recordingService-DyVwnJG4.esm.js → recordingService-OzNK87cy.esm.js} +1 -1
  34. package/dist/selfie.esm.js +4 -4
  35. package/dist/{selfieManager-BNyzVVk8.esm.js → selfieManager-CTfo3Af7.esm.js} +2 -2
  36. package/dist/{selfieStateMachine-DgA17WZH.esm.js → selfieStateMachine-CBHAhVhb.esm.js} +2 -2
  37. package/dist/session-D9poVEP5.esm.js +1 -0
  38. package/dist/session.esm.js +2 -2
  39. package/dist/{sessionInitializer-Hfs3x06Q.esm.js → sessionInitializer-Cn9Ol4oc.esm.js} +1 -1
  40. package/dist/{setup-DZ_AA5e6.esm.js → setup-BUSg9dNN.esm.js} +1 -1
  41. package/dist/video-selfie.esm.js +2 -2
  42. package/dist/wasm.esm.js +1 -1
  43. package/dist/workflow.d.ts +4 -4
  44. package/dist/workflow.esm.js +5 -5
  45. package/package.json +1 -1
  46. package/dist/session-Bc3__dow.esm.js +0 -1
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-3jtp5Aip.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BdxFXO95.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-C_zvYGnY.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-B9Qm5yqf.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,9 +1,9 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.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-CzlfsGEf.esm.js";
4
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C7hNylWL.esm.js";
5
5
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-3jtp5Aip.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-C_zvYGnY.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-CfRg7iAr.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-4DAk7TYl.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-DvV9q1Uo.esm.js";
7
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-D8eXFiLT.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-Bso0SOrU.esm.js";
7
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-D7Ymps8b.esm.js";
8
8
  import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.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-2h_w6wFc.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-3Pbtj-RV.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -97,7 +97,7 @@ declare const consentMachine: StateMachine<ConsentContext, {
97
97
  }>, {
98
98
  type: "canSubmit";
99
99
  params: unknown;
100
- }, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
100
+ }, never, "error" | "idle" | "finished" | "submitting" | "loading" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
101
101
  readonly id: "consent";
102
102
  readonly initial: "idle";
103
103
  readonly context: ({ input }: {
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-C-3PWS2h.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" | "submitting" | "loading" | "inputting", 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-BrWOTaVG.esm.js";
2
2
  import { t as api } from "./api-BDTZNnca.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
4
- import { c as isBrowserSimulation, d as getThumbmarkId, l as IpifyProvider, n as getFingerprintEnabled, p as BrowserEnvironmentProvider, t as getDisableIpify } from "./sessionInitializer-Hfs3x06Q.esm.js";
4
+ import { c as isBrowserSimulation, d as getThumbmarkId, l as IpifyProvider, n as getFingerprintEnabled, p as BrowserEnvironmentProvider, t as getDisableIpify } from "./sessionInitializer-Cn9Ol4oc.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";
@@ -38,10 +38,6 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
38
38
  id: string | undefined;
39
39
  };
40
40
  }>, Values<{
41
- setError: {
42
- type: "setError";
43
- params: NonReducibleUnknown;
44
- };
45
41
  setStream: {
46
42
  type: "setStream";
47
43
  params: NonReducibleUnknown;
@@ -54,6 +50,10 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
54
50
  type: "setProgress";
55
51
  params: NonReducibleUnknown;
56
52
  };
53
+ setError: {
54
+ type: "setError";
55
+ params: NonReducibleUnknown;
56
+ };
57
57
  clearError: {
58
58
  type: "clearError";
59
59
  params: NonReducibleUnknown;
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-OXhehoXr.esm.js";
2
- import { t as createEkybManager } from "./ekybManager-C-2lb1Ql.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-CUADos0H.esm.js";
2
+ import { t as createEkybManager } from "./ekybManager-BJk_XfA7.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-OXhehoXr.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-CUADos0H.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-CfRg7iAr.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-DEYnZoez.esm.js";
6
- import { t as getFlow } from "./flowServices-Cnw9YQgZ.esm.js";
6
+ import { t as getFlow } from "./flowServices-BEPX-eK1.esm.js";
7
7
  //#region src/modules/ekyb/ekybConstants.ts
8
8
  /**
9
9
  * Countries available in all environments.
@@ -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-DMMk51Ec.js";
10
10
  import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-Dq9wNlcg.js";
11
11
  import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BCm7eGoK.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-CQkUAeWO.js";
12
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-3Pbtj-RV.js";
13
+ import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-C-3PWS2h.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-DRQrbEhj.js";
16
16
  import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-CBP2DkPr.js";
@@ -18,12 +18,12 @@ 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 { P as CaptureIdResponse, i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-DTe_5dcI.js";
21
+ import { P as CaptureIdResponse, i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-DOYaK3vb.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-D6pD4hcZ.js";
23
+ import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.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-DzLHRc5u.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-Bc9AKBft.js";
26
+ import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-B-JyjyPb.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-Cz744E5S.js";
29
29
  import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-BB4Pj_N6.js";
@@ -1,22 +1,22 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
2
- import { f as getDeviceFingerprintInfo, l as IpifyProvider, t as getDisableIpify, u as FingerprintProvider } from "./sessionInitializer-Hfs3x06Q.esm.js";
2
+ import { f as getDeviceFingerprintInfo, l as IpifyProvider, t as getDisableIpify, u as FingerprintProvider } from "./sessionInitializer-Cn9Ol4oc.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-CFsD4BgV.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-DvV9q1Uo.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-Bso0SOrU.esm.js";
7
7
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
8
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BdxFXO95.esm.js";
8
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-B9Qm5yqf.esm.js";
9
9
  import { n as createConsentManagerFromActor } from "./consentManager-0EiBXYtL.esm.js";
10
10
  import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-Bu32le9u.esm.js";
11
11
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-Dw7euiiZ.esm.js";
12
12
  import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-BGj9U3E0.esm.js";
13
13
  import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-DBRQX16v.esm.js";
14
14
  import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-Fi2O2RUM.esm.js";
15
- import { n as createEkybManagerFromActor } from "./ekybManager-C-2lb1Ql.esm.js";
15
+ import { n as createEkybManagerFromActor } from "./ekybManager-BJk_XfA7.esm.js";
16
16
  import { n as createEkycManagerFromActor } from "./ekycManager-CI7sN4Ln.esm.js";
17
17
  import { n as createEmailManagerFromActor } from "./emailManager-Dmt1YrtS.esm.js";
18
- import { n as createSelfieManagerFromActor } from "./selfieManager-BNyzVVk8.esm.js";
19
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-DwzzOqgs.esm.js";
18
+ import { n as createSelfieManagerFromActor } from "./selfieManager-CTfo3Af7.esm.js";
19
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-BDCJwgrN.esm.js";
20
20
  import { n as createPhoneManagerFromActor } from "./phoneManager-C3aqq6jS.esm.js";
21
21
  import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-BjMJHKLP.esm.js";
22
22
  import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-USUE9qDr.esm.js";
@@ -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-DvV9q1Uo.esm.js";
4
+ import { n as concealmentToAvatar } from "./faceCaptureSetup-Bso0SOrU.esm.js";
5
5
  import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
6
6
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CkHL1BjH.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-CkHL1BjH.esm.js";
5
- import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-D8eXFiLT.esm.js";
5
+ import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-D7Ymps8b.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-5Cu6a8iN.esm.js";
10
- import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-DyVwnJG4.esm.js";
10
+ import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-OzNK87cy.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`
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-Cnw9YQgZ.esm.js";
4
+ import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-BEPX-eK1.esm.js";
5
5
  import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-D5oIlcza.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
@@ -1,9 +1,9 @@
1
1
  import { g as updateFeatureManagementUser } from "./feature-management-Dw96qEMs.esm.js";
2
2
  import { t as api } from "./api-BDTZNnca.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
4
- import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-Hfs3x06Q.esm.js";
4
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-Cn9Ol4oc.esm.js";
5
5
  import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
6
- import "./session-Bc3__dow.esm.js";
6
+ import "./session-D9poVEP5.esm.js";
7
7
  import { r as videoSelfieWasmPipelines } from "./videoSelfieSteps-DHcibfYH.esm.js";
8
8
  //#region src/modules/flow/flowUtils.ts
9
9
  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-B-JyjyPb.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
@@ -1,7 +1,7 @@
1
1
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
2
2
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
3
3
  import { n as PermissionStatus, t as PermissionResult } from "./types-BT-aiBYV.js";
4
- import { $ as IdErrorCode, A as createIdCaptureActor, B as IdCaptureConfig, C as CreateIdCaptureOnlyActorOptions, D as idCaptureOnlyMachine, E as IdCaptureOnlyMachine, F as CaptureOnlyResponse, G as IdCaptureInput, H as IdCaptureDependencies, I as CapturedImage, J as IdCaptureOutput, K as IdCaptureMode, L as DetectionArea, M as idCaptureMachine, N as AddBarcodeV3Response, O as CreateIdCaptureActorOptions, P as CaptureIdResponse, Q as IdError, R as DetectionStatus, S as validateUploadResponse, T as createIdCaptureOnlyActor, U as IdCaptureEvent, V as IdCaptureContext, W as IdCaptureGeometry, X as IdCapturedImageData, Y as IdCaptureThresholds, Z as IdDocumentType, _ as startRecordingSession, a as AddBarcodeParams, at as MANUAL_UPLOAD_MAX_RETRIES, b as uploadIdImage, c as StartRecordingParams, ct as ManualUploadTab, d as ValidationError, et as IdFlowStep, f as addBarcode, g as processId, h as preloadIdRecordingProvider, it as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, j as IdCaptureMachine, k as IdCaptureActor, l as UploadIdImageParams, lt as DetectionOrientation, m as initializeIdCapture, n as IdCaptureManager, nt as UploadIdResponse, o as IdCaptureInitResult, ot as ManualUploadContext, p as barcodeToBase64, q as IdCaptureOnlyConfig, r as IdCaptureState, rt as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, s as InitializeIdCaptureParams, st as ManualUploadSide, t as createIdCaptureManager, tt as RecordingSession, u as UploadManualIdFileParams, ut as IdCaptureSettings, v as stopRecording, w as IdCaptureOnlyActor, x as uploadManualIdFile, y as stopStream, z as ID_ERROR_CODES } from "./idCaptureManager-DTe_5dcI.js";
4
+ import { $ as IdErrorCode, A as createIdCaptureActor, B as IdCaptureConfig, C as CreateIdCaptureOnlyActorOptions, D as idCaptureOnlyMachine, E as IdCaptureOnlyMachine, F as CaptureOnlyResponse, G as IdCaptureInput, H as IdCaptureDependencies, I as CapturedImage, J as IdCaptureOutput, K as IdCaptureMode, L as DetectionArea, M as idCaptureMachine, N as AddBarcodeV3Response, O as CreateIdCaptureActorOptions, P as CaptureIdResponse, Q as IdError, R as DetectionStatus, S as validateUploadResponse, T as createIdCaptureOnlyActor, U as IdCaptureEvent, V as IdCaptureContext, W as IdCaptureGeometry, X as IdCapturedImageData, Y as IdCaptureThresholds, Z as IdDocumentType, _ as startRecordingSession, a as AddBarcodeParams, at as MANUAL_UPLOAD_MAX_RETRIES, b as uploadIdImage, c as StartRecordingParams, ct as ManualUploadTab, d as ValidationError, et as IdFlowStep, f as addBarcode, g as processId, h as preloadIdRecordingProvider, it as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, j as IdCaptureMachine, k as IdCaptureActor, l as UploadIdImageParams, lt as DetectionOrientation, m as initializeIdCapture, n as IdCaptureManager, nt as UploadIdResponse, o as IdCaptureInitResult, ot as ManualUploadContext, p as barcodeToBase64, q as IdCaptureOnlyConfig, r as IdCaptureState, rt as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, s as InitializeIdCaptureParams, st as ManualUploadSide, t as createIdCaptureManager, tt as RecordingSession, u as UploadManualIdFileParams, ut as IdCaptureSettings, v as stopRecording, w as IdCaptureOnlyActor, x as uploadManualIdFile, y as stopStream, z as ID_ERROR_CODES } from "./idCaptureManager-DOYaK3vb.js";
5
5
  //#region src/modules/id/idCaptureOnlyManager.d.ts
6
6
  type IdCaptureOnlyManager = IdCaptureManager;
7
7
  /**
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 { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as barcodeToBase64, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, r as addBarcode, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-P-Em_hwh.esm.js";
6
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-DwzzOqgs.esm.js";
5
+ import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as barcodeToBase64, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, r as addBarcode, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-DZjn9cjg.esm.js";
6
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-BDCJwgrN.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-CkHL1BjH.esm.js";
6
6
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
7
- import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-P-Em_hwh.esm.js";
7
+ import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-DZjn9cjg.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) {
@@ -117,15 +117,14 @@ function getCaptureStatus(snapshot) {
117
117
  manualCaptureWaiting: snapshot.matches({ capture: "manualCaptureWaiting" }),
118
118
  capturing: snapshot.matches({ capture: "capturing" }),
119
119
  capturingManual: snapshot.matches({ capture: "capturingManual" }),
120
- capturingBarcode: snapshot.matches({ capture: "capturingBarcode" }),
121
120
  uploading: snapshot.matches({ capture: "uploading" }),
122
- submittingBarcode: snapshot.matches({ capture: "submittingBarcode" }) || snapshot.matches({ capture: "submittingBarcodePreCapture" }),
121
+ submittingBarcode: snapshot.matches({ capture: "submittingBarcode" }),
123
122
  uploadError: snapshot.matches({ capture: "uploadError" }),
124
123
  success: snapshot.matches({ capture: "success" })
125
124
  };
126
125
  if (matches.initializing) return "initializing";
127
126
  if (matches.detecting || matches.manualCaptureWaiting) return "detecting";
128
- if (matches.capturing || matches.capturingManual || matches.capturingBarcode) return "capturing";
127
+ if (matches.capturing || matches.capturingManual) return "capturing";
129
128
  if (matches.uploading || matches.submittingBarcode) return "uploading";
130
129
  if (matches.uploadError) return "uploadError";
131
130
  if (matches.success) return "success";
@@ -520,12 +520,6 @@ type IdCaptureContext = {
520
520
  * submit path; cleared on side flip / retry.
521
521
  */
522
522
  decodedBarcode: Pdf417DecodeResult | null;
523
- /**
524
- * Whether the pre-capture barcode fast path has fired this attempt. One-shot:
525
- * once attempted, a repeat decode falls through to the best-frame submit
526
- * path. Reset on side flip / retry.
527
- */
528
- barcodeFastPathAttempted: boolean;
529
523
  recordingSession: RecordingSession | undefined;
530
524
  attemptsRemaining: number;
531
525
  /**
@@ -3,21 +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-CfRg7iAr.esm.js";
5
5
  import { t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
6
- import { t as getDisableIpify } from "./sessionInitializer-Hfs3x06Q.esm.js";
6
+ import { t as getDisableIpify } from "./sessionInitializer-Cn9Ol4oc.esm.js";
7
7
  import { n as isDesktop } from "./platform-Cd_yWGNG.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-CkHL1BjH.esm.js";
11
- import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-D8eXFiLT.esm.js";
12
- import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
11
+ import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-D7Ymps8b.esm.js";
13
12
  import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
14
13
  import { n as getBackCameraStream } from "./backCameraStream-6XQp9RxG.esm.js";
15
14
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
16
15
  import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
17
16
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
18
17
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-5Cu6a8iN.esm.js";
19
- import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-DyVwnJG4.esm.js";
20
- import "./session-Bc3__dow.esm.js";
18
+ import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-OzNK87cy.esm.js";
19
+ import "./session-D9poVEP5.esm.js";
21
20
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS$1, r as IdCaptureProvider } from "./idCaptureDefaults-DCrjeNl5.esm.js";
22
21
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
23
22
  const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
@@ -1190,15 +1189,6 @@ const shouldSkipProcessIdGuard = ({ context }) => context.skipProcessId === true
1190
1189
  */
1191
1190
  const shouldSubmitBarcodeGuard = ({ context }) => context.currentMode === "back" && context.config.usSmartCapture === true && !!context.decodedBarcode?.text;
1192
1191
  /**
1193
- * US Smart Capture pre-capture fast path: submit the decoded PDF417 barcode the
1194
- * instant it is decoded, before the best-frame auto-capture completes. Reads the
1195
- * barcode from the EVENT — the guard runs before the store action, so
1196
- * `context.decodedBarcode` isn't populated yet. One-shot per attempt via
1197
- * `barcodeFastPathAttempted` (a later best-frame decode falls through to the
1198
- * regular `shouldSubmitBarcode` path).
1199
- */
1200
- const canRunBarcodeFastPathGuard = ({ context, event }) => context.currentMode === "back" && context.config.usSmartCapture === true && !context.barcodeFastPathAttempted && !!event.decoded?.text;
1201
- /**
1202
1192
  * Bug 4 fix: when `expiredExhausted` is reached via the per-upload-expired
1203
1193
  * exhaustion path with a back side captured (or the entire single-side back
1204
1194
  * flow), we want `processId` to run once on Continue so the backend
@@ -1606,13 +1596,12 @@ const processIdActor = fromPromise(async ({ input, signal }) => {
1606
1596
  return processId(input.isSecondId, "", signal);
1607
1597
  });
1608
1598
  const submitBarcodeActor = fromPromise(async ({ input, signal }) => {
1609
- const [response] = await Promise.all([addBarcode({
1599
+ return addBarcode({
1610
1600
  rawBarcode: input.rawBarcode,
1611
1601
  metrics: input.metrics,
1612
1602
  processId: input.processId,
1613
1603
  signal
1614
- }), input.minDurationMs ? sleep(input.minDurationMs) : Promise.resolve()]);
1615
- return response;
1604
+ });
1616
1605
  });
1617
1606
  const startRecordingActor = fromPromise(async ({ input }) => {
1618
1607
  if (!input.stream) return;
@@ -1626,7 +1615,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
1626
1615
  });
1627
1616
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
1628
1617
  if (!input.dependencies) return;
1629
- const { loadDeepsightSession } = await import("./deepsightLoader-Cprz5-1Q.esm.js");
1618
+ const { loadDeepsightSession } = await import("./deepsightLoader-DLTccYCv.esm.js");
1630
1619
  return loadDeepsightSession({
1631
1620
  ds: input.ds,
1632
1621
  storage: input.dependencies.storage,
@@ -1700,7 +1689,6 @@ function getResetContextValues(context) {
1700
1689
  captureOnlyImages: {},
1701
1690
  uploadResponse: void 0,
1702
1691
  decodedBarcode: null,
1703
- barcodeFastPathAttempted: false,
1704
1692
  recordingSession: void 0,
1705
1693
  attemptsRemaining: context.config.captureAttempts,
1706
1694
  expiredAttempts: 0,
@@ -2082,7 +2070,6 @@ const idCaptureMachine = setup({
2082
2070
  storeCapturedImage: assign(({ context, event }) => getStoreCapturedImageValues(context, event)),
2083
2071
  storeBarcodeResponse: assign(({ context, event }) => getBarcodeResponseValues(context, event)),
2084
2072
  storeDecodedBarcode: assign({ decodedBarcode: ({ event }) => event.decoded }),
2085
- setBarcodeFastPathAttempted: assign({ barcodeFastPathAttempted: true }),
2086
2073
  setDetectionStatus: assign({ detectionStatus: ({ event, context }) => getDetectionStatusFromUpdate(context, event) }),
2087
2074
  setCounterValue: assign({ counterValue: ({ event }) => {
2088
2075
  if ("value" in event) return event.value;
@@ -2161,7 +2148,6 @@ const idCaptureMachine = setup({
2161
2148
  wasExpiredFromUpload: wasExpiredFromUploadGuard,
2162
2149
  shouldSkipProcessId: shouldSkipProcessIdGuard,
2163
2150
  shouldSubmitBarcode: shouldSubmitBarcodeGuard,
2164
- canRunBarcodeFastPath: canRunBarcodeFastPathGuard,
2165
2151
  isProcessingExpiredExhausted: isProcessingExpiredExhaustedGuard,
2166
2152
  shouldProcessAfterExhaustion: shouldProcessAfterExhaustionGuard,
2167
2153
  forceFinishAfterProcessing: forceFinishAfterProcessingGuard,
@@ -2192,7 +2178,6 @@ const idCaptureMachine = setup({
2192
2178
  captureOnlyImages: {},
2193
2179
  uploadResponse: void 0,
2194
2180
  decodedBarcode: null,
2195
- barcodeFastPathAttempted: false,
2196
2181
  recordingSession: void 0,
2197
2182
  attemptsRemaining: input.config.captureAttempts,
2198
2183
  expiredAttempts: 0,
@@ -2625,11 +2610,7 @@ const idCaptureMachine = setup({
2625
2610
  target: "capturing",
2626
2611
  actions: assign({ qualityElements: ({ event }) => event.qualityElements })
2627
2612
  },
2628
- BARCODE_DECODED: [{
2629
- target: "capturingBarcode",
2630
- guard: "canRunBarcodeFastPath",
2631
- actions: ["storeDecodedBarcode", "setBarcodeFastPathAttempted"]
2632
- }, { actions: "storeDecodedBarcode" }],
2613
+ BARCODE_DECODED: { actions: "storeDecodedBarcode" },
2633
2614
  MANUAL_CAPTURE: { target: "capturingManual" },
2634
2615
  SWITCH_TO_MANUAL_CAPTURE: {
2635
2616
  target: "manualCaptureWaiting",
@@ -2683,29 +2664,6 @@ const idCaptureMachine = setup({
2683
2664
  },
2684
2665
  onError: { target: "uploading" }
2685
2666
  } },
2686
- capturingBarcode: {
2687
- entry: [
2688
- "captureImage",
2689
- "storeCapturedCanvasInProvider",
2690
- "storeCapturedImage"
2691
- ],
2692
- always: [{ target: "submittingBarcodePreCapture" }]
2693
- },
2694
- submittingBarcodePreCapture: { invoke: {
2695
- id: "submitBarcode",
2696
- src: "submitBarcode",
2697
- input: ({ context }) => ({
2698
- rawBarcode: context.decodedBarcode?.text ?? "",
2699
- metrics: context.decodedBarcode,
2700
- processId: true,
2701
- minDurationMs: 1e3
2702
- }),
2703
- onDone: {
2704
- target: "success",
2705
- actions: "storeBarcodeResponse"
2706
- },
2707
- onError: { target: "detecting" }
2708
- } },
2709
2667
  capturingManual: {
2710
2668
  entry: [
2711
2669
  "captureLatestFrame",
@@ -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" | "submitting" | "loading" | "inputting" | "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-D6pD4hcZ.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-v2TH5g7e.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" | "submitting" | "documentsFound", string, IdentityReuseInput, NonReducibleUnknown, EventObject, MetaObject, {
128
+ }>, never, "error" | "idle" | "finished" | "submitting" | "loading" | "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-DZ_AA5e6.esm.js";
1
+ import { i as reset, o as setup, r as isConfigured } from "./setup-BUSg9dNN.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-DzLHRc5u.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-Bc9AKBft.js";
2
2
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -91,7 +91,7 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
91
91
  }>, {
92
92
  type: "canSubmit";
93
93
  params: unknown;
94
- }, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
94
+ }, never, "error" | "idle" | "closed" | "finished" | "submitting" | "loading" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
95
95
  readonly id: "mandatoryConsent";
96
96
  readonly initial: "idle";
97
97
  readonly context: ({ input }: {
@@ -516,7 +516,7 @@ async function stopRecording(session) {
516
516
  }
517
517
  }
518
518
  async function initializeDeepsightSession(options) {
519
- const { loadDeepsightSession } = await import("./deepsightLoader-Cprz5-1Q.esm.js");
519
+ const { loadDeepsightSession } = await import("./deepsightLoader-DLTccYCv.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-BX83zwtT.esm.js";
5
5
  import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
6
6
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
7
- import { c as isBrowserSimulation, d as getThumbmarkId, f as getDeviceFingerprintInfo, n as getFingerprintEnabled, p as BrowserEnvironmentProvider } from "./sessionInitializer-Hfs3x06Q.esm.js";
7
+ import { c as isBrowserSimulation, d as getThumbmarkId, f as getDeviceFingerprintInfo, n as getFingerprintEnabled, p as BrowserEnvironmentProvider } from "./sessionInitializer-Cn9Ol4oc.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-CkHL1BjH.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-D8eXFiLT.esm.js";
13
+ import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-D7Ymps8b.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,7 +1,7 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
3
3
  import { t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
4
- import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-D8eXFiLT.esm.js";
4
+ import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-D7Ymps8b.esm.js";
5
5
  import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-CUsftWlH.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-BrWOTaVG.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-DvV9q1Uo.esm.js";
6
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CzlfsGEf.esm.js";
5
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-Bso0SOrU.esm.js";
6
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C7hNylWL.esm.js";
7
7
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
8
8
  import { r as processFace } from "./selfieErrorUtils-BAEYvNVr.esm.js";
9
- import { t as selfieMachine } from "./selfieStateMachine-DgA17WZH.esm.js";
10
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BNyzVVk8.esm.js";
9
+ import { t as selfieMachine } from "./selfieStateMachine-CBHAhVhb.esm.js";
10
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-CTfo3Af7.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-BrWOTaVG.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-CzlfsGEf.esm.js";
4
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C7hNylWL.esm.js";
5
5
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-DgA17WZH.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-CBHAhVhb.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-DvV9q1Uo.esm.js";
4
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-D8eXFiLT.esm.js";
3
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-Bso0SOrU.esm.js";
4
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-D7Ymps8b.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
6
6
  import { i as uploadSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-BAEYvNVr.esm.js";
7
7
  /**
@@ -0,0 +1 @@
1
+ import "./sessionInitializer-Cn9Ol4oc.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-CfRg7iAr.esm.js";
3
- import { i as initializeSession } from "./sessionInitializer-Hfs3x06Q.esm.js";
3
+ import { i as initializeSession } from "./sessionInitializer-Cn9Ol4oc.esm.js";
4
4
  import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-B-PkYxln.esm.js";
5
- import "./session-Bc3__dow.esm.js";
5
+ import "./session-D9poVEP5.esm.js";
6
6
  import { n as getFinishStatus } from "./flowCompletionService-D5oIlcza.esm.js";
7
7
  //#region src/internal/session/sessionService.ts
8
8
  /**
@@ -1614,7 +1614,7 @@ function isBrowserSimulation(browserEnv) {
1614
1614
  }
1615
1615
  //#endregion
1616
1616
  //#region src/internal/version/sdkVersion.ts
1617
- const SDK_VERSION = "0.0.0-dev-20260723-a95c8ff7";
1617
+ const SDK_VERSION = "0.0.0-dev-20260723-be346272";
1618
1618
  //#endregion
1619
1619
  //#region src/internal/fingerprint/fingerprintService.ts
1620
1620
  function formatOsVersion(os) {
@@ -7,7 +7,7 @@ import { i as upgradeToWasmHttpClient$1, n as installFreshHttpClient, r as reset
7
7
  import { _ as setAnalyticsBatcher, g as resetAnalyticsBatcher, h as getAnalyticsBatcher } from "./events-Dy8PyVO5.esm.js";
8
8
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
9
9
  import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
10
- import { a as resetSessionInit, i as initializeSession, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled } from "./sessionInitializer-Hfs3x06Q.esm.js";
10
+ import { a as resetSessionInit, i as initializeSession, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled } from "./sessionInitializer-Cn9Ol4oc.esm.js";
11
11
  import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
12
12
  //#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
13
13
  var BrowserPageLifecycleProvider = class {
@@ -1,5 +1,5 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-DZ_AA5e6.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-BUSg9dNN.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-CfRg7iAr.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-CkHL1BjH.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-D8eXFiLT.esm.js";
10
+ import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-D7Ymps8b.esm.js";
11
11
  import { n as getBackCameraStream } from "./backCameraStream-6XQp9RxG.esm.js";
12
12
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
13
13
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
package/dist/wasm.esm.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { a as warmupWasm } from "./WasmUtilProvider-BrWOTaVG.esm.js";
2
2
  import { a as resolveWasmConfig, n as buildDefaultWasmConfig, r as buildWasmConfigFromBasePath, t as DEFAULT_WASM_VERSION } from "./wasmDefaults-B4DUtYET.esm.js";
3
- import { a as setWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines } from "./setup-DZ_AA5e6.esm.js";
3
+ import { a as setWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines } from "./setup-BUSg9dNN.esm.js";
4
4
  export { DEFAULT_WASM_VERSION, buildDefaultWasmConfig, buildWasmConfigFromBasePath, ensureWasmPipelines, initializeWasmUtil, resolveWasmConfig, setWasmConfig, upgradeToWasmHttpClient, warmupWasm };
@@ -320,6 +320,10 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
320
320
  id: string | undefined;
321
321
  };
322
322
  }>, Values<{
323
+ setError: {
324
+ type: "setError";
325
+ params: NonReducibleUnknown;
326
+ };
323
327
  setLoadingResult: {
324
328
  type: "setLoadingResult";
325
329
  params: NonReducibleUnknown;
@@ -348,10 +352,6 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
348
352
  type: "setFinishStatusFailed";
349
353
  params: NonReducibleUnknown;
350
354
  };
351
- setError: {
352
- type: "setError";
353
- params: NonReducibleUnknown;
354
- };
355
355
  setModuleError: {
356
356
  type: "setModuleError";
357
357
  params: NonReducibleUnknown;
@@ -2,25 +2,25 @@ import { g as updateFeatureManagementUser } from "./feature-management-Dw96qEMs.
2
2
  import { t as api } from "./api-BDTZNnca.esm.js";
3
3
  import { m as addEvent, n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
5
- import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-Hfs3x06Q.esm.js";
5
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-Cn9Ol4oc.esm.js";
6
6
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
8
8
  import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
9
9
  import { n as electronicSignatureMachine } from "./electronicSignatureManager-DGFwHdro.esm.js";
10
10
  import "./ae-signature.esm.js";
11
11
  import { t as antifraudMachine } from "./antifraudStateMachine-VB-aXHct.esm.js";
12
- import { t as authenticationMachine } from "./authenticationStateMachine-3jtp5Aip.esm.js";
12
+ import { t as authenticationMachine } from "./authenticationStateMachine-C_zvYGnY.esm.js";
13
13
  import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Di_bLlkP.esm.js";
14
14
  import { t as consentMachine } from "./consentStateMachine-STURxpEc.esm.js";
15
15
  import { t as curpValidationMachine } from "./curpValidationStateMachine-Dq6l4oeZ.esm.js";
16
16
  import { t as customWatchlistMachine } from "./customWatchlistStateMachine-BuQML-pk.esm.js";
17
17
  import { t as documentCaptureMachine } from "./documentCaptureStateMachine-BXgH9gGq.esm.js";
18
18
  import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DiPpuHgF.esm.js";
19
- import { n as toEkybConfig, t as ekybMachine } from "./ekybStateMachine-OXhehoXr.esm.js";
19
+ import { n as toEkybConfig, t as ekybMachine } from "./ekybStateMachine-CUADos0H.esm.js";
20
20
  import { n as toEkycConfig, t as ekycMachine } from "./ekycStateMachine-DFQdmBXl.esm.js";
21
21
  import { t as emailMachine } from "./emailStateMachine-DQS-QMgQ.esm.js";
22
- import { t as selfieMachine } from "./selfieStateMachine-DgA17WZH.esm.js";
23
- import { t as idCaptureMachine } from "./idCaptureStateMachine-P-Em_hwh.esm.js";
22
+ import { t as selfieMachine } from "./selfieStateMachine-CBHAhVhb.esm.js";
23
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-DZjn9cjg.esm.js";
24
24
  import { t as phoneMachine } from "./phoneStateMachine-CLGcLA8t.esm.js";
25
25
  import { n as identityReuseMachine } from "./identityReuseStateMachine-B0IFF3R7.esm.js";
26
26
  import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-BP3npRnI.esm.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20260723-a95c8ff7",
3
+ "version": "0.0.0-dev-20260723-be346272",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
@@ -1 +0,0 @@
1
- import "./sessionInitializer-Hfs3x06Q.esm.js";