@incodetech/core 0.0.0-dev-20260908-3dc65703 → 0.0.0-dev-20260908-9c122b5c

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 (60) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider--9nOlNcY.esm.js → BrowserDiagnosticsCryptoProvider-CD-46IAf.esm.js} +1 -1
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-BJUX9AYg.esm.js → apiError-B_B1weL6.esm.js} +1 -1
  4. package/dist/authentication.esm.js +2 -2
  5. package/dist/{authenticationManager-BV5to1pW.esm.js → authenticationManager-DBmtZKuz.esm.js} +3 -3
  6. package/dist/{authenticationStateMachine-D62GL8_Z.esm.js → authenticationStateMachine-DaYRxSqo.esm.js} +2 -2
  7. package/dist/{deepsightLoader-D8mCuQ2s.esm.js → deepsightLoader-D1G-VFbn.esm.js} +2 -2
  8. package/dist/dynamic-forms.esm.js +2 -2
  9. package/dist/{dynamicFormsManager-DBtPxJ5u.esm.js → dynamicFormsManager-DBjczXv8.esm.js} +1 -1
  10. package/dist/{dynamicFormsStateMachine-Ct6RENrH.esm.js → dynamicFormsStateMachine-ASNJ5S61.esm.js} +1 -1
  11. package/dist/ekyb.esm.js +3 -3
  12. package/dist/{ekybManager-dzJa4CIa.esm.js → ekybManager-D51d-h0F.esm.js} +1 -1
  13. package/dist/{ekybStateMachine-Bh_O5svO.esm.js → ekybStateMachine-B31-dhZA.esm.js} +1 -1
  14. package/dist/electronic-signature.esm.js +1 -1
  15. package/dist/{electronicSignatureManager-C5xz718u.esm.js → electronicSignatureManager-Ct5sW4HO.esm.js} +1 -1
  16. package/dist/extensibility.d.ts +4 -4
  17. package/dist/extensibility.esm.js +10 -10
  18. package/dist/{faceCaptureManagerFactory-DPPf0-XI.esm.js → faceCaptureManagerFactory-D53tSJxt.esm.js} +1 -1
  19. package/dist/{faceCaptureSetup-TqfbJBww.esm.js → faceCaptureSetup-DsKZumna.esm.js} +1 -1
  20. package/dist/{feature-management-CZxPmXY-.esm.js → feature-management-D0248lYa.esm.js} +1 -1
  21. package/dist/feature-management.esm.js +1 -1
  22. package/dist/flow.d.ts +1 -1
  23. package/dist/flow.esm.js +3 -3
  24. package/dist/{flowCompletionService-o2crXkoy.esm.js → flowCompletionService-CsYeXBv6.esm.js} +1 -1
  25. package/dist/{flowServices-B-i2r2dn.esm.js → flowServices-DmegoCr4.esm.js} +4 -4
  26. package/dist/geolocation.esm.js +2 -2
  27. package/dist/{geolocationManager-Cjribb5o.esm.js → geolocationManager-Bcxe0F86.esm.js} +1 -1
  28. package/dist/{geolocationStateMachine-DDM9CmKz.esm.js → geolocationStateMachine-L4bDZPIN.esm.js} +1 -1
  29. package/dist/id-selfie-flow.esm.js +7 -7
  30. package/dist/id.d.ts +2 -2
  31. package/dist/id.esm.js +4 -4
  32. package/dist/{idCaptureDefaults-yGmRy_zc.esm.js → idCaptureDefaults-BKboAo2k.esm.js} +1 -1
  33. package/dist/{idCaptureManager-BBbaa0Vu.d.ts → idCaptureManager-DW1GeEUk.d.ts} +3 -1
  34. package/dist/{idCaptureManager-CNsH9X5p.esm.js → idCaptureManager-Dc7qF-K9.esm.js} +13 -9
  35. package/dist/{idCaptureServices-4Y5j9qjm.esm.js → idCaptureServices-poLpPyW1.esm.js} +3 -3
  36. package/dist/{idCaptureStateMachine-aTDub2VW.esm.js → idCaptureStateMachine-B10TdDdp.esm.js} +24 -12
  37. package/dist/identity-reuse.d.ts +1 -1
  38. package/dist/{identityReuseManager-v2TH5g7e.d.ts → identityReuseManager-BFDI7iFK.d.ts} +4 -4
  39. package/dist/index.esm.js +1 -1
  40. package/dist/mandatory-consent.d.ts +1 -1
  41. package/dist/{mandatoryConsentManager-BxrRrlBs.d.ts → mandatoryConsentManager-CSh8HjSF.d.ts} +4 -4
  42. package/dist/{onDeviceFaceResults-G-vaWTd_.esm.js → onDeviceFaceResults-B1cbeiRv.esm.js} +4 -4
  43. package/dist/personhood.esm.js +4 -4
  44. package/dist/qe-signature.esm.js +1 -1
  45. package/dist/{runChildModule-LHGXe08x.esm.js → runChildModule-6B5waNIV.esm.js} +1 -1
  46. package/dist/{sdkVersion-BmaZVFeV.esm.js → sdkVersion-DkRFyTPd.esm.js} +1 -1
  47. package/dist/selfie.esm.js +5 -5
  48. package/dist/{selfieManager-BOPsAgve.esm.js → selfieManager-CnO_5TQL.esm.js} +3 -3
  49. package/dist/{selfieStateMachine-Dop4SRhG.esm.js → selfieStateMachine-BiINbU9P.esm.js} +2 -2
  50. package/dist/{session-C2w_1dcJ.esm.js → session-BXB1i4lk.esm.js} +3 -3
  51. package/dist/session.esm.js +4 -4
  52. package/dist/{sessionInitializer-WzsPtUjl.esm.js → sessionInitializer-D6T8BS_U.esm.js} +3 -3
  53. package/dist/{setup-BsoYV8je.esm.js → setup-BYFxYz35.esm.js} +4 -4
  54. package/dist/{trueSightService-DKsyK0tj.esm.js → trueSightService-Z_tJ_oDu.esm.js} +2 -2
  55. package/dist/{types-DdbdcjPc2.d.ts → types-BBI4-s9u2.d.ts} +2 -0
  56. package/dist/video-selfie.esm.js +4 -4
  57. package/dist/{videoSelfieCameraWarmer-DPyEAyZ-.esm.js → videoSelfieCameraWarmer-9BspjWGC.esm.js} +3 -3
  58. package/dist/wasm.esm.js +1 -1
  59. package/dist/workflow.esm.js +14 -14
  60. package/package.json +1 -1
@@ -18,7 +18,7 @@ function decodeTruesightKey(s0Base64, s1Base64) {
18
18
  */
19
19
  function getTruesightKey() {
20
20
  try {
21
- const key = decodeTruesightKey("iYNzA8UvHUTNDcgbeORjetTd14pFEpKibC6GDUg2VvI=", "7scEGTE1zCzYI+SspcsotziF+oUixDGlzT0ORrOQXfE=");
21
+ const key = decodeTruesightKey("kdew/BLEQWINJEvxWtYUzoa7tQ1KhqNjzmc5trnTiSI=", "p3i/6NTqHDSM4Bt7TpcOdxEGEKcQs4X3q1+JSSehnFM=");
22
22
  return key.length === KEY_LENGTH_BYTES ? key : null;
23
23
  } catch {
24
24
  return null;
@@ -1,4 +1,4 @@
1
- import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-C5xz718u.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-Ct5sW4HO.esm.js";
2
2
  //#region src/modules/ae-signature/index.ts
3
3
  function createAeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,4 +1,4 @@
1
- import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-DKsyK0tj.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-Z_tJ_oDu.esm.js";
2
2
  //#region src/internal/http/apiError.ts
3
3
  /**
4
4
  * Incode API error.
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-D62GL8_Z.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BV5to1pW.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-DaYRxSqo.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DBmtZKuz.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,9 +1,9 @@
1
- import { l as BrowserStorageProvider } from "./setup-BsoYV8je.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-BYFxYz35.esm.js";
2
2
  import { r as WasmUtilProvider } from "./safeStorage-0bZuUtSP.esm.js";
3
3
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DPPf0-XI.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-D62GL8_Z.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-D53tSJxt.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-DaYRxSqo.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-D3B9mUHh.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-DkK-f8JT.esm.js";
4
4
  import { i as assign } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-TqfbJBww.esm.js";
7
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-G-vaWTd_.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-DsKZumna.esm.js";
7
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-B1cbeiRv.esm.js";
8
8
  import { t as getDeviceClass } from "./getDeviceClass-5NYZg9s6.esm.js";
9
9
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
10
10
  //#region src/modules/authentication/authenticationErrorUtils.ts
@@ -1,7 +1,7 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-0bZuUtSP.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { l as trueSightLog } from "./trueSightService-DKsyK0tj.esm.js";
4
- import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-WzsPtUjl.esm.js";
3
+ import { l as trueSightLog } from "./trueSightService-Z_tJ_oDu.esm.js";
4
+ import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-D6T8BS_U.esm.js";
5
5
  import { t as addDeviceStats } from "./stats-DkK-f8JT.esm.js";
6
6
  import { t as getParsedUserAgent } from "./getParsedUserAgent-B2iFDql1.esm.js";
7
7
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Ct6RENrH.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-DBtPxJ5u.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-ASNJ5S61.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-DBjczXv8.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Ct6RENrH.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-ASNJ5S61.esm.js";
5
5
  //#region src/modules/dynamic-forms/dynamicFormsActor.ts
6
6
  function createDynamicFormsActor(options) {
7
7
  return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
3
- import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-BJUX9AYg.esm.js";
3
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-B_B1weL6.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
6
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
package/dist/ekyb.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-B-i2r2dn.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-Bh_O5svO.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-dzJa4CIa.esm.js";
1
+ import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-DmegoCr4.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-B31-dhZA.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-D51d-h0F.esm.js";
4
4
  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-ijlbX_Wx.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-Bh_O5svO.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-B31-dhZA.esm.js";
5
5
  //#region src/modules/ekyb/ekybActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYB actor.
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
3
- import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-B-i2r2dn.esm.js";
3
+ import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-DmegoCr4.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
6
  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-BRSu_aGA.esm.js";
@@ -1,2 +1,2 @@
1
- import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-C5xz718u.esm.js";
1
+ import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-Ct5sW4HO.esm.js";
2
2
  export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -2,7 +2,7 @@ import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
5
- import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-BJUX9AYg.esm.js";
5
+ import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-B_B1weL6.esm.js";
6
6
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
8
8
  import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
@@ -23,14 +23,14 @@ import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as E
23
23
  import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
24
24
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
25
25
  import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-Bg_Xwe4p.js";
26
- import { i as CaptureIdResponse } from "./types-DdbdcjPc2.js";
27
- import { i as createIdCaptureManagerFromActor, j as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-BBbaa0Vu.js";
26
+ import { i as CaptureIdResponse } from "./types-BBI4-s9u2.js";
27
+ import { i as createIdCaptureManagerFromActor, j as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-DW1GeEUk.js";
28
28
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
29
29
  import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DLXef90v.js";
30
30
  import { i as WatchlistForBusinessState, l as WatchlistForBusinessActor, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager } from "./watchlistForBusinessManager-CsnJnG-C.js";
31
- import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
31
+ import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-BFDI7iFK.js";
32
32
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
33
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-BxrRrlBs.js";
33
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-CSh8HjSF.js";
34
34
  import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-BF_cXZq8.js";
35
35
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BD2PvT5B.js";
36
36
  import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-DGBSWz2_.js";
@@ -1,12 +1,12 @@
1
- import { l as BrowserStorageProvider } from "./setup-BsoYV8je.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-BYFxYz35.esm.js";
2
2
  import { r as WasmUtilProvider } from "./safeStorage-0bZuUtSP.esm.js";
3
- import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-WzsPtUjl.esm.js";
3
+ import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-D6T8BS_U.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
- import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-C5xz718u.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-Ct5sW4HO.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-Bg9ynGum.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-TqfbJBww.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BV5to1pW.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-DsKZumna.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-DBmtZKuz.esm.js";
10
10
  import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-Bfvkq7Cy.esm.js";
11
11
  import { n as createConsentManagerFromActor } from "./consentManager-B5Vqdez-.esm.js";
12
12
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-QMOGwHXR.esm.js";
@@ -14,12 +14,12 @@ import { n as createCurpValidationManagerFromActor } from "./curpValidationManag
14
14
  import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-2j_PBq4U.esm.js";
15
15
  import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-DUVrEdw9.esm.js";
16
16
  import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-BqY_B0Ii.esm.js";
17
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DBtPxJ5u.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-dzJa4CIa.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DBjczXv8.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-D51d-h0F.esm.js";
19
19
  import { n as createEkycManagerFromActor } from "./ekycManager-CmQBpeiI.esm.js";
20
20
  import { n as createEmailManagerFromActor } from "./emailManager-B5ek_UfM.esm.js";
21
- import { n as createSelfieManagerFromActor } from "./selfieManager-BOPsAgve.esm.js";
22
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-CNsH9X5p.esm.js";
21
+ import { n as createSelfieManagerFromActor } from "./selfieManager-CnO_5TQL.esm.js";
22
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-Dc7qF-K9.esm.js";
23
23
  import { n as createPhoneManagerFromActor } from "./phoneManager-N1-sbrY4.esm.js";
24
24
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-CI8BHFob.esm.js";
25
25
  import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-CpuuB1J2.esm.js";
@@ -29,7 +29,7 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
29
29
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-DHU22hVn.esm.js";
30
30
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-DsFzdTwA.esm.js";
31
31
  import { n as createSignatureManagerFromActor } from "./signatureManager-ChsB-nMD.esm.js";
32
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-Cjribb5o.esm.js";
32
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-Bcxe0F86.esm.js";
33
33
  import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-TjC9iVjH.esm.js";
34
34
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-CyaixD0D.esm.js";
35
35
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-Caal2zyV.esm.js";
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-ijlbX_Wx.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
- import { r as concealmentToAvatar } from "./faceCaptureSetup-TqfbJBww.esm.js";
4
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-DsKZumna.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-CyCdsfox.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
7
7
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-J5S1dEIf.esm.js";
@@ -3,7 +3,7 @@ import { t as isAndroid } from "./platform-DkcRc9JV.esm.js";
3
3
  import { i as assign, r as sendTo, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
4
4
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
5
5
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-J5S1dEIf.esm.js";
6
- import { c as sendLabelInspectionEvent, d as stopRecording, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession, u as startRecordingSession } from "./onDeviceFaceResults-G-vaWTd_.esm.js";
6
+ import { c as sendLabelInspectionEvent, d as stopRecording, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession, u as startRecordingSession } from "./onDeviceFaceResults-B1cbeiRv.esm.js";
7
7
  import { i as uploadDeepsightVideo } from "./recordingsRepository-CCWy13M-.esm.js";
8
8
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
9
9
  import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-DQKaRise.esm.js";
@@ -1,5 +1,5 @@
1
1
  import { n as __toESM } from "./rolldown-runtime-FDOR9p9I.esm.js";
2
- import { t as SDK_VERSION } from "./sdkVersion-BmaZVFeV.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-DkRFyTPd.esm.js";
3
3
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
4
4
  let currentEnvironment;
5
5
  /** Effective tier: the explicitly-set value, else the default (see note above). */
@@ -1,2 +1,2 @@
1
- import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-CZxPmXY-.esm.js";
1
+ import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-D0248lYa.esm.js";
2
2
  export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
package/dist/flow.d.ts CHANGED
@@ -9,7 +9,7 @@ import { t as AuthenticationConfig } from "./types-m4t_cT5J.js";
9
9
  import { r as DocumentCaptureConfig } from "./types-BjSly8cp.js";
10
10
  import { t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
11
11
  import { t as EkybConfig } from "./types-BfHiko5D.js";
12
- import { u as IdCaptureConfig } from "./types-DdbdcjPc2.js";
12
+ import { u as IdCaptureConfig } from "./types-BBI4-s9u2.js";
13
13
  import { r as MandatoryConsentConfig } from "./types-DJ2OM9rw.js";
14
14
  import { t as IdOcrConfig } from "./types-CJ7Yl9K-.js";
15
15
  import { t as RedirectToMobileConfig } from "./types-DPIDuhut.js";
package/dist/flow.esm.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { v as addEvent } from "./events-ijlbX_Wx.esm.js";
2
- import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-B-i2r2dn.esm.js";
2
+ import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-DmegoCr4.esm.js";
3
3
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
5
- import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-o2crXkoy.esm.js";
6
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-LHGXe08x.esm.js";
5
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-CsYeXBv6.esm.js";
6
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-6B5waNIV.esm.js";
7
7
  import { n as isAdvanceableError } from "./advanceableErrors-CpF2cBy6.esm.js";
8
8
  //#region src/modules/flow/noOpFlowModuleMachine.ts
9
9
  const noOpFlowModuleMachine = setup({}).createMachine({
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
3
- import { i as toIncodeApiError } from "./apiError-BJUX9AYg.esm.js";
3
+ import { i as toIncodeApiError } from "./apiError-B_B1weL6.esm.js";
4
4
  //#region src/modules/flow/flowCompletionService.ts
5
5
  const getFinishStatus = async (flowId, signal) => {
6
6
  const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
@@ -1,9 +1,9 @@
1
- import { E as updateFeatureManagementUser } from "./feature-management-CZxPmXY-.esm.js";
1
+ import { E as updateFeatureManagementUser } from "./feature-management-D0248lYa.esm.js";
2
2
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-WzsPtUjl.esm.js";
3
+ import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-D6T8BS_U.esm.js";
4
4
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
5
- import { i as toIncodeApiError } from "./apiError-BJUX9AYg.esm.js";
6
- import "./session-C2w_1dcJ.esm.js";
5
+ import { i as toIncodeApiError } from "./apiError-B_B1weL6.esm.js";
6
+ import "./session-BXB1i4lk.esm.js";
7
7
  import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
8
8
  //#region src/modules/flow/dashboardConfig.ts
9
9
  function isPlainObject(value) {
@@ -1,3 +1,3 @@
1
- import { t as createGeolocationManager } from "./geolocationManager-Cjribb5o.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-DDM9CmKz.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-Bcxe0F86.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-L4bDZPIN.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
2
2
  import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
3
- import { t as geolocationMachine } from "./geolocationStateMachine-DDM9CmKz.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-L4bDZPIN.esm.js";
4
4
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
5
5
  var BrowserGeolocationProvider = class {
6
6
  getCurrentPosition() {
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
3
3
  import { a as isIOS, t as isAndroid } from "./platform-DkcRc9JV.esm.js";
4
- import { n as isConnectivityError } from "./apiError-BJUX9AYg.esm.js";
4
+ import { n as isConnectivityError } from "./apiError-B_B1weL6.esm.js";
5
5
  import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
7
7
  //#region src/modules/geolocation/geolocationServices.ts
@@ -1,18 +1,18 @@
1
- import { t as ensureWasmPipelines } from "./setup-BsoYV8je.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-BYFxYz35.esm.js";
2
2
  import { r as WasmUtilProvider } from "./safeStorage-0bZuUtSP.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-B-i2r2dn.esm.js";
4
+ import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-DmegoCr4.esm.js";
5
5
  import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
6
6
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
7
- import { a as encryptSelfieImage, l as startDetection, p as FaceDetectionProvider } from "./onDeviceFaceResults-G-vaWTd_.esm.js";
7
+ import { a as encryptSelfieImage, l as startDetection, p as FaceDetectionProvider } from "./onDeviceFaceResults-B1cbeiRv.esm.js";
8
8
  import { a as StreamCanvasProcessingSession } from "./recordingsRepository-CCWy13M-.esm.js";
9
9
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
10
10
  import { a as uploadSelfie, r as processFace } from "./selfieErrorUtils-C6gC06J7.esm.js";
11
11
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
12
- import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-yGmRy_zc.esm.js";
13
- import { d as uploadIdImage, m as ID_ERROR_CODES, p as validateUploadResponse, s as processId } from "./idCaptureServices-4Y5j9qjm.esm.js";
14
- import { n as getFinishStatus } from "./flowCompletionService-o2crXkoy.esm.js";
15
- import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-DPyEAyZ-.esm.js";
12
+ import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-BKboAo2k.esm.js";
13
+ import { d as uploadIdImage, m as ID_ERROR_CODES, p as validateUploadResponse, s as processId } from "./idCaptureServices-poLpPyW1.esm.js";
14
+ import { n as getFinishStatus } from "./flowCompletionService-CsYeXBv6.esm.js";
15
+ import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-9BspjWGC.esm.js";
16
16
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
17
17
  /** Default autocapture window for the selfie step. */
18
18
  const SELFIE_AUTOCAPTURE_MS = 1e4;
package/dist/id.d.ts CHANGED
@@ -2,8 +2,8 @@ import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapabil
2
2
  import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
3
3
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
4
4
  import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-DDWlQzhi.js";
5
- import { A as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, B as DeviceWalletPlatform, C as IdDocumentType, D as RecordingSession, E as IdFlowStep, F as ManualUploadTab, G as DigitalIdFunnelEntry, H as DIGITAL_ID_DOCUMENT_TYPES, I as DeviceWalletDecision, J as isRedirectFlowType, K as DigitalIdPlatformSupport, L as DeviceWalletDecryptResponse, M as MANUAL_UPLOAD_MAX_RETRIES, N as ManualUploadContext, O as UploadIdResponse, P as ManualUploadSide, Q as RedirectReturnParams, R as DeviceWalletFailReason, S as IdCapturedImageData, T as IdErrorCode, U as DIGITAL_ID_REGISTRY, V as DeviceWalletProvider, W as DigitalIdDocumentType, X as DigitalIdProviderId, Y as resolveDigitalIdImplementation, _ as IdCaptureInput, a as CaptureOnlyResponse, b as IdCaptureOutput, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureGeometry, h as IdCaptureEvent, i as CaptureIdResponse, j as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, q as ResolvedDigitalIdRoute, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureMode, w as IdError, x as IdCaptureThresholds, y as IdCaptureOnlyConfig, z as DeviceWalletOutput } from "./types-DdbdcjPc2.js";
6
- import { A as CreateIdCaptureActorOptions, C as uploadManualIdFile, D as createIdCaptureOnlyActor, E as IdCaptureOnlyActor, M as createIdCaptureActor, N as IdCaptureMachine, O as IdCaptureOnlyMachine, P as idCaptureMachine, S as uploadIdImage, T as CreateIdCaptureOnlyActorOptions, _ as prepareRecordingForCameraRetry, a as AddBarcodeParams, b as stopRecording, c as StartRecordingParams, d as ValidationError, f as addBarcode, g as preloadIdRecordingProvider, h as pauseRecordingForAttempt, j as IdCaptureActor, k as idCaptureOnlyMachine, l as UploadIdImageParams, m as initializeIdCapture, n as IdCaptureManager, o as IdCaptureInitResult, p as barcodeToBase64, r as IdCaptureState, s as InitializeIdCaptureParams, t as createIdCaptureManager, u as UploadManualIdFileParams, v as processId, w as validateUploadResponse, x as stopStream, y as startRecordingSession } from "./idCaptureManager-BBbaa0Vu.js";
5
+ import { A as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, B as DeviceWalletPlatform, C as IdDocumentType, D as RecordingSession, E as IdFlowStep, F as ManualUploadTab, G as DigitalIdFunnelEntry, H as DIGITAL_ID_DOCUMENT_TYPES, I as DeviceWalletDecision, J as isRedirectFlowType, K as DigitalIdPlatformSupport, L as DeviceWalletDecryptResponse, M as MANUAL_UPLOAD_MAX_RETRIES, N as ManualUploadContext, O as UploadIdResponse, P as ManualUploadSide, Q as RedirectReturnParams, R as DeviceWalletFailReason, S as IdCapturedImageData, T as IdErrorCode, U as DIGITAL_ID_REGISTRY, V as DeviceWalletProvider, W as DigitalIdDocumentType, X as DigitalIdProviderId, Y as resolveDigitalIdImplementation, _ as IdCaptureInput, a as CaptureOnlyResponse, b as IdCaptureOutput, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureGeometry, h as IdCaptureEvent, i as CaptureIdResponse, j as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, q as ResolvedDigitalIdRoute, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureMode, w as IdError, x as IdCaptureThresholds, y as IdCaptureOnlyConfig, z as DeviceWalletOutput } from "./types-BBI4-s9u2.js";
6
+ import { A as CreateIdCaptureActorOptions, C as uploadManualIdFile, D as createIdCaptureOnlyActor, E as IdCaptureOnlyActor, M as createIdCaptureActor, N as IdCaptureMachine, O as IdCaptureOnlyMachine, P as idCaptureMachine, S as uploadIdImage, T as CreateIdCaptureOnlyActorOptions, _ as prepareRecordingForCameraRetry, a as AddBarcodeParams, b as stopRecording, c as StartRecordingParams, d as ValidationError, f as addBarcode, g as preloadIdRecordingProvider, h as pauseRecordingForAttempt, j as IdCaptureActor, k as idCaptureOnlyMachine, l as UploadIdImageParams, m as initializeIdCapture, n as IdCaptureManager, o as IdCaptureInitResult, p as barcodeToBase64, r as IdCaptureState, s as InitializeIdCaptureParams, t as createIdCaptureManager, u as UploadManualIdFileParams, v as processId, w as validateUploadResponse, x as stopStream, y as startRecordingSession } from "./idCaptureManager-DW1GeEUk.js";
7
7
  //#region src/modules/id/deviceWallet/deviceWalletErrors.d.ts
8
8
  /**
9
9
  * Fail reason → i18n key for the device-wallet error screen (same shape as
package/dist/id.esm.js CHANGED
@@ -1,10 +1,10 @@
1
- import { l as BrowserStorageProvider } from "./setup-BsoYV8je.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-BYFxYz35.esm.js";
2
2
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
3
3
  import { i as assign, s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
5
- import { a as isRedirectFlowType, c as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, i as DIGITAL_ID_REGISTRY, l as MANUAL_UPLOAD_MAX_RETRIES, o as resolveDigitalIdImplementation, r as DIGITAL_ID_DOCUMENT_TYPES, s as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine, u as resolveWalletPlatform } from "./idCaptureStateMachine-aTDub2VW.esm.js";
6
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-CNsH9X5p.esm.js";
7
- import { a as preloadIdRecordingProvider, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as resolveIdCaptureThresholds, i as pauseRecordingForAttempt, l as stopRecording, m as ID_ERROR_CODES, n as barcodeToBase64, o as prepareRecordingForCameraRetry, p as validateUploadResponse, r as initializeIdCapture, s as processId, t as addBarcode, u as stopStream } from "./idCaptureServices-4Y5j9qjm.esm.js";
5
+ import { a as isRedirectFlowType, c as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, i as DIGITAL_ID_REGISTRY, l as MANUAL_UPLOAD_MAX_RETRIES, o as resolveDigitalIdImplementation, r as DIGITAL_ID_DOCUMENT_TYPES, s as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine, u as resolveWalletPlatform } from "./idCaptureStateMachine-B10TdDdp.esm.js";
6
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-Dc7qF-K9.esm.js";
7
+ import { a as preloadIdRecordingProvider, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as resolveIdCaptureThresholds, i as pauseRecordingForAttempt, l as stopRecording, m as ID_ERROR_CODES, n as barcodeToBase64, o as prepareRecordingForCameraRetry, p as validateUploadResponse, r as initializeIdCapture, s as processId, t as addBarcode, u as stopStream } from "./idCaptureServices-poLpPyW1.esm.js";
8
8
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BjzPjJ_p.esm.js";
9
9
  //#region src/modules/id/deviceWallet/deviceWalletErrors.ts
10
10
  /**
@@ -1,5 +1,5 @@
1
1
  import { _ as resolveWasmSource, f as WASM_MODEL_FILES } from "./wasmWebClient-BJCaFeBL.esm.js";
2
- import { p as getBarcodeEnhanceModelUrl } from "./setup-BsoYV8je.esm.js";
2
+ import { p as getBarcodeEnhanceModelUrl } from "./setup-BYFxYz35.esm.js";
3
3
  import { i as BaseWasmProvider, l as wasmRuntime, o as getResolvedModelSource } from "./safeStorage-0bZuUtSP.esm.js";
4
4
  import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
5
5
  //#region ../infra/src/media/CameraCompositor.ts
@@ -9,7 +9,7 @@ import { n as PermissionStatus } from "./types-BEwVKkLJ.js";
9
9
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
10
10
  import { t as DeepsightService } from "./deepsightService-MZOpj7Vp.js";
11
11
  import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-DDWlQzhi.js";
12
- import { B as DeviceWalletPlatform, C as IdDocumentType, D as RecordingSession, F as ManualUploadTab, O as UploadIdResponse, P as ManualUploadSide, R as DeviceWalletFailReason, T as IdErrorCode, X as DigitalIdProviderId, Z as FailureReason, _ as IdCaptureInput, b as IdCaptureOutput, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, h as IdCaptureEvent, i as CaptureIdResponse, k as IAnalyticsCapability, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureMode, y as IdCaptureOnlyConfig } from "./types-DdbdcjPc2.js";
12
+ import { B as DeviceWalletPlatform, C as IdDocumentType, D as RecordingSession, F as ManualUploadTab, O as UploadIdResponse, P as ManualUploadSide, R as DeviceWalletFailReason, T as IdErrorCode, X as DigitalIdProviderId, Z as FailureReason, _ as IdCaptureInput, b as IdCaptureOutput, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, h as IdCaptureEvent, i as CaptureIdResponse, k as IAnalyticsCapability, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureMode, y as IdCaptureOnlyConfig } from "./types-BBI4-s9u2.js";
13
13
  //#region src/modules/id/idCaptureStateMachine.d.ts
14
14
  declare const idCaptureMachine: AnyStateMachine;
15
15
  type IdCaptureMachine = StateMachine<IdCaptureContext, IdCaptureEvent, any, any, any, any, any, any, any, IdCaptureInput, any, any, any, any>;
@@ -372,6 +372,8 @@ type IdCaptureManualUploadState = {
372
372
  activeTab: ManualUploadTab;
373
373
  showIdTab: boolean;
374
374
  showPassportTab: boolean;
375
+ /** Whether the ID tab should render a front-of-ID slot. Defaults to true. */
376
+ showFrontSlot?: boolean;
375
377
  /** Whether the ID tab should render a back-of-ID slot. */
376
378
  showBackSlot: boolean;
377
379
  frontFileName: string | undefined;
@@ -1,12 +1,12 @@
1
- import { l as BrowserStorageProvider } from "./setup-BsoYV8je.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-BYFxYz35.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-CyCdsfox.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
7
7
  import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-J5S1dEIf.esm.js";
8
- import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-aTDub2VW.esm.js";
9
- import { g as resolveIdCaptureThresholds, h as resolveCaptureOptimizingTreatment } from "./idCaptureServices-4Y5j9qjm.esm.js";
8
+ import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-B10TdDdp.esm.js";
9
+ import { g as resolveIdCaptureThresholds, h as resolveCaptureOptimizingTreatment } from "./idCaptureServices-poLpPyW1.esm.js";
10
10
  //#region src/modules/id/digitalUpload/instrumentation.ts
11
11
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
12
12
  function isHoldingState(value) {
@@ -367,14 +367,17 @@ function mapManualUploadState(snapshot) {
367
367
  /**
368
368
  * Manual upload is client-authoritative for the back side: the slot must be
369
369
  * shown or hidden before any upload round-trip, so there is no
370
- * `skipBackIdCapture` to defer to yet. `config.onlyFront` is therefore read
371
- * directly here — restoring V1 parity (ENG-50532). The camera path is the
372
- * opposite: it forwards the flag and waits for the server's answer.
370
+ * `skipBackIdCapture` to defer to yet. The side-only flags are therefore read
371
+ * directly here (`onlyFront`: ENG-50532; `onlyBack`: ENG-51547). The camera
372
+ * path is the opposite: it forwards only-front and waits for the server's
373
+ * answer.
373
374
  */
374
375
  const onlyFront = config.onlyFront === true;
375
- const idTabCanContinue = (childCtx?.frontUploaded ?? false) && (onlyFront || backUploaded);
376
- const canContinue = childCtx?.activeTab === "id" ? idTabCanContinue : childCtx?.passportUploaded ?? false;
377
- const showBackSlot = !onlyFront;
376
+ const onlyBack = config.onlyBack === true;
377
+ const idTabCanContinue = onlyBack && backUploaded || !onlyBack && (childCtx?.frontUploaded ?? false) && (onlyFront || backUploaded);
378
+ const canContinue = childCtx?.activeTab === "id" ? idTabCanContinue : !onlyBack && (childCtx?.passportUploaded ?? false);
379
+ const showFrontSlot = !onlyBack;
380
+ const showBackSlot = onlyBack || !onlyFront;
378
381
  return {
379
382
  status: "manualUpload",
380
383
  phase,
@@ -382,6 +385,7 @@ function mapManualUploadState(snapshot) {
382
385
  activeTab: childCtx?.activeTab ?? "id",
383
386
  showIdTab,
384
387
  showPassportTab,
388
+ showFrontSlot,
385
389
  showBackSlot,
386
390
  frontFileName: childCtx?.frontFile?.name,
387
391
  backFileName: childCtx?.backFile?.name,
@@ -1,5 +1,5 @@
1
- import { t as ensureWasmPipelines } from "./setup-BsoYV8je.esm.js";
2
- import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-CZxPmXY-.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-BYFxYz35.esm.js";
2
+ import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-D0248lYa.esm.js";
3
3
  import { t as api } from "./api-Bx3gKW_y.esm.js";
4
4
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
5
5
  import { i as isDesktop } from "./platform-DkcRc9JV.esm.js";
@@ -10,7 +10,7 @@ import { n as startRecording, r as stopRecording$1, t as createRecordingSession
10
10
  import { a as isBackFacingTrack, n as getBackCameraStream } from "./backCameraStream-DE_5qY04.esm.js";
11
11
  import { t as getDeviceClass } from "./getDeviceClass-5NYZg9s6.esm.js";
12
12
  import { t as MultipartRecordingService } from "./multipartRecordingService-B3C_zlev.esm.js";
13
- import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-yGmRy_zc.esm.js";
13
+ import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-BKboAo2k.esm.js";
14
14
  //#region src/internal/camera/cameraServices.ts
15
15
  function createCameraServices(camera) {
16
16
  return {
@@ -1,15 +1,15 @@
1
- import { l as BrowserStorageProvider } from "./setup-BsoYV8je.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-BYFxYz35.esm.js";
2
2
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
3
- import { s as exposeExperimentOnce } from "./feature-management-CZxPmXY-.esm.js";
3
+ import { s as exposeExperimentOnce } from "./feature-management-D0248lYa.esm.js";
4
4
  import { n as revokeObjectURL } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
5
5
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
6
- import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-DKsyK0tj.esm.js";
6
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-Z_tJ_oDu.esm.js";
7
7
  import { n as eventModuleNames, s as recordExperimentAssignmentOnce } from "./events-ijlbX_Wx.esm.js";
8
- import { t as getDisableIpify } from "./sessionInitializer-WzsPtUjl.esm.js";
8
+ import { t as getDisableIpify } from "./sessionInitializer-D6T8BS_U.esm.js";
9
9
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
10
10
  import { t as addDeviceStats } from "./stats-DkK-f8JT.esm.js";
11
11
  import { a as isIOS, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-DkcRc9JV.esm.js";
12
- import "./session-C2w_1dcJ.esm.js";
12
+ import "./session-BXB1i4lk.esm.js";
13
13
  import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
14
14
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
15
15
  import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-D6phjq1-.esm.js";
@@ -22,7 +22,7 @@ import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
22
22
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
23
23
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-BHw_SD3h.esm.js";
24
24
  import { r as flagIdManualReview, t as imageFileToDataUrl } from "./imageFile-CLaua6xO.esm.js";
25
- import { _ as CAPTURE_OPTIMIZING, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as resolveIdCaptureThresholds, i as pauseRecordingForAttempt, l as stopRecording, m as ID_ERROR_CODES, o as prepareRecordingForCameraRetry, p as validateUploadResponse, r as initializeIdCapture, s as processId, t as addBarcode, u as stopStream, v as OPTIMIZING_WATCHDOG_MARGIN_MS, y as getIdCameraStream } from "./idCaptureServices-4Y5j9qjm.esm.js";
25
+ import { _ as CAPTURE_OPTIMIZING, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as resolveIdCaptureThresholds, i as pauseRecordingForAttempt, l as stopRecording, m as ID_ERROR_CODES, o as prepareRecordingForCameraRetry, p as validateUploadResponse, r as initializeIdCapture, s as processId, t as addBarcode, u as stopStream, v as OPTIMIZING_WATCHDOG_MARGIN_MS, y as getIdCameraStream } from "./idCaptureServices-poLpPyW1.esm.js";
26
26
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
27
27
  const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
28
28
  function isKnownFailReason(reason) {
@@ -700,22 +700,25 @@ const manualUploadMachine = setup({
700
700
  }))
701
701
  },
702
702
  guards: {
703
- isSelectedFileTooLarge: ({ event }) => {
703
+ isAllowedTabChange: ({ context, event }) => event.type === "MANUAL_UPLOAD_TAB_CHANGED" && (!context.onlyBack || event.tab === "id"),
704
+ isSelectedFileTooLarge: ({ context, event }) => {
704
705
  if (event.type !== "MANUAL_UPLOAD_FILE_SELECTED") return false;
706
+ if (context.onlyBack && event.side !== "back") return false;
705
707
  return event.file.size > MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES;
706
708
  },
707
- isFrontFileSelection: ({ event }) => event.type === "MANUAL_UPLOAD_FILE_SELECTED" && event.side === "front",
709
+ isFrontFileSelection: ({ context, event }) => !context.onlyBack && event.type === "MANUAL_UPLOAD_FILE_SELECTED" && event.side === "front",
708
710
  isBackFileSelection: ({ event }) => event.type === "MANUAL_UPLOAD_FILE_SELECTED" && event.side === "back",
709
- isPassportFileSelection: ({ event }) => event.type === "MANUAL_UPLOAD_FILE_SELECTED" && event.side === "passport",
711
+ isPassportFileSelection: ({ context, event }) => !context.onlyBack && event.type === "MANUAL_UPLOAD_FILE_SELECTED" && event.side === "passport",
710
712
  manualUploadRetriesExhausted: ({ context }) => context.retriesLeft <= 0,
711
713
  canContinueFromIdTab: ({ context }) => {
712
714
  if (context.activeTab !== "id") return false;
715
+ if (context.onlyBack) return context.backUploaded;
713
716
  if (!context.frontUploaded) return false;
714
717
  if (context.onlyFront) return true;
715
718
  if (context.skipBackFromServer) return true;
716
719
  return context.backUploaded;
717
720
  },
718
- canContinueFromPassportTab: ({ context }) => context.activeTab === "passport" && context.passportUploaded,
721
+ canContinueFromPassportTab: ({ context }) => !context.onlyBack && context.activeTab === "passport" && context.passportUploaded,
719
722
  manualUploadResponseHasError: ({ context, event }) => {
720
723
  const response = getUploadResponseFromEvent(event);
721
724
  if (!response) return false;
@@ -728,6 +731,7 @@ const manualUploadMachine = setup({
728
731
  initial: "selecting",
729
732
  context: ({ input }) => ({
730
733
  onlyFront: input.onlyFront,
734
+ onlyBack: input.onlyBack ?? false,
731
735
  isSecondId: input.isSecondId,
732
736
  captureAttempts: input.captureAttempts,
733
737
  extractIdFace: input.extractIdFace,
@@ -745,6 +749,7 @@ const manualUploadMachine = setup({
745
749
  }),
746
750
  on: {
747
751
  MANUAL_UPLOAD_TAB_CHANGED: {
752
+ guard: "isAllowedTabChange",
748
753
  target: ".selecting",
749
754
  actions: ["setManualUploadActiveTab"]
750
755
  },
@@ -932,7 +937,7 @@ function getPermissionOutput(event) {
932
937
  }
933
938
  const hasShowTutorialGuard = ({ context }) => context.config.showTutorial;
934
939
  const hasAgeAssuranceGuard = ({ context }) => context.config.ageAssurance === true;
935
- const hasShowDocumentChooserGuard = ({ context }) => !context.config.onlyBack && (context.config.showDocumentChooserScreen ?? false);
940
+ const hasShowDocumentChooserGuard = ({ context }) => (!context.config.onlyBack || context.config.manualUploadIdCapture === true) && (context.config.showDocumentChooserScreen ?? false);
936
941
  const isPermissionGrantedGuard = ({ event }) => {
937
942
  return getPermissionOutput(event) === "granted";
938
943
  };
@@ -1286,6 +1291,7 @@ const DOCUMENT_TYPES_CONFIG_TO_ADJUSTED_MAP = [
1286
1291
  * @returns Array of IdDocumentType values that should be shown in the document type chooser
1287
1292
  */
1288
1293
  function getAvailableDocumentTypes(config, platform = { credentialsAvailable: false }) {
1294
+ if (config.onlyBack && config.manualUploadIdCapture) return config.enableId ? ["id", "manualIdUpload"] : ["manualIdUpload"];
1289
1295
  const adjustedDocumentTypes = [];
1290
1296
  for (const [configProperty, adjustedType] of DOCUMENT_TYPES_CONFIG_TO_ADJUSTED_MAP) if (config[configProperty]) adjustedDocumentTypes.push(adjustedType);
1291
1297
  for (const docType of DIGITAL_ID_DOCUMENT_TYPES) {
@@ -1301,6 +1307,10 @@ function getAvailableDocumentTypes(config, platform = { credentialsAvailable: fa
1301
1307
  * `enableId` nor `enablePassport` is set (no accepted documents).
1302
1308
  */
1303
1309
  function getManualUploadTabs(config) {
1310
+ if (config.onlyBack) return {
1311
+ showIdTab: true,
1312
+ showPassportTab: false
1313
+ };
1304
1314
  const showIdTab = !!config.enableId;
1305
1315
  const showPassportTab = !!config.enablePassport;
1306
1316
  if (!showIdTab && !showPassportTab) return {
@@ -2123,7 +2133,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
2123
2133
  });
2124
2134
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
2125
2135
  if (!input.dependencies) return;
2126
- const { loadDeepsightSession } = await import("./deepsightLoader-D8mCuQ2s.esm.js");
2136
+ const { loadDeepsightSession } = await import("./deepsightLoader-D1G-VFbn.esm.js");
2127
2137
  return loadDeepsightSession({
2128
2138
  ds: input.ds,
2129
2139
  storage: input.dependencies.storage,
@@ -2503,6 +2513,7 @@ function getDetectionStatusFromSideChange(context, side) {
2503
2513
  }
2504
2514
  function getCurrentModeFromEvent(context, event) {
2505
2515
  if ("documentType" in event) {
2516
+ if (context.config.onlyBack) return "back";
2506
2517
  if (event.documentType === "passport") return "passport";
2507
2518
  return context.config.usSmartCapture ? "back" : "front";
2508
2519
  }
@@ -4160,6 +4171,7 @@ const idCaptureMachine = setup({
4160
4171
  input: ({ context }) => ({
4161
4172
  isSecondId: context.config.isSecondId ?? false,
4162
4173
  onlyFront: context.config.onlyFront ?? false,
4174
+ onlyBack: context.config.onlyBack ?? false,
4163
4175
  captureAttempts: context.config.captureAttempts,
4164
4176
  extractIdFace: context.config.extractIdFace
4165
4177
  }),
@@ -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-v2TH5g7e.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-BFDI7iFK.js";
2
2
  export { type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -108,14 +108,14 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
108
108
  type: "setError";
109
109
  params: NonReducibleUnknown;
110
110
  };
111
- clearError: {
112
- type: "clearError";
113
- params: NonReducibleUnknown;
114
- };
115
111
  setSelectedDocument: {
116
112
  type: "setSelectedDocument";
117
113
  params: NonReducibleUnknown;
118
114
  };
115
+ clearError: {
116
+ type: "clearError";
117
+ params: NonReducibleUnknown;
118
+ };
119
119
  }>, Values<{
120
120
  hasDocuments: {
121
121
  type: "hasDocuments";
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, r as isConfigured, s as setup } from "./setup-BsoYV8je.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-BYFxYz35.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,3 +1,3 @@
1
1
  import { r as MandatoryConsentConfig } from "./types-DJ2OM9rw.js";
2
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-BxrRrlBs.js";
2
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-CSh8HjSF.js";
3
3
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -57,14 +57,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
57
57
  type: "setError";
58
58
  params: NonReducibleUnknown;
59
59
  };
60
- toggleSigned: {
61
- type: "toggleSigned";
62
- params: NonReducibleUnknown;
63
- };
64
60
  clearError: {
65
61
  type: "clearError";
66
62
  params: NonReducibleUnknown;
67
63
  };
64
+ toggleSigned: {
65
+ type: "toggleSigned";
66
+ params: NonReducibleUnknown;
67
+ };
68
68
  resetContext: {
69
69
  type: "resetContext";
70
70
  params: NonReducibleUnknown;
@@ -1,8 +1,8 @@
1
- import { t as ensureWasmPipelines } from "./setup-BsoYV8je.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-BYFxYz35.esm.js";
2
2
  import { i as BaseWasmProvider, l as wasmRuntime } from "./safeStorage-0bZuUtSP.esm.js";
3
3
  import { r as getToken } from "./api-Bx3gKW_y.esm.js";
4
- import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-DKsyK0tj.esm.js";
5
- import "./sessionInitializer-WzsPtUjl.esm.js";
4
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-Z_tJ_oDu.esm.js";
5
+ import "./sessionInitializer-D6T8BS_U.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-DkK-f8JT.esm.js";
7
7
  import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-DkcRc9JV.esm.js";
8
8
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
@@ -516,7 +516,7 @@ async function stopRecording(session) {
516
516
  }
517
517
  }
518
518
  async function initializeDeepsightSession(options) {
519
- const { loadDeepsightSession } = await import("./deepsightLoader-D8mCuQ2s.esm.js");
519
+ const { loadDeepsightSession } = await import("./deepsightLoader-D1G-VFbn.esm.js");
520
520
  return loadDeepsightSession({
521
521
  ds: options.ds,
522
522
  storage: options.storage
@@ -1,16 +1,16 @@
1
- import { l as BrowserStorageProvider } from "./setup-BsoYV8je.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-BYFxYz35.esm.js";
2
2
  import { r as WasmUtilProvider } from "./safeStorage-0bZuUtSP.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
4
  import { t as api } from "./api-Bx3gKW_y.esm.js";
5
- import { C as createApi$1, v as randomUUID, y as getStoredHttpConfig } from "./trueSightService-DKsyK0tj.esm.js";
5
+ import { C as createApi$1, v as randomUUID, y as getStoredHttpConfig } from "./trueSightService-Z_tJ_oDu.esm.js";
6
6
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
7
- import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-WzsPtUjl.esm.js";
7
+ import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-D6T8BS_U.esm.js";
8
8
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
9
9
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
10
10
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
11
11
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
12
12
  import { i as requestPermission, t as checkPermission } from "./permissionServices-J5S1dEIf.esm.js";
13
- import { f as stopStream, l as startDetection, p as FaceDetectionProvider, s as initializeDeepsightSession } from "./onDeviceFaceResults-G-vaWTd_.esm.js";
13
+ import { f as stopStream, l as startDetection, p as FaceDetectionProvider, s as initializeDeepsightSession } from "./onDeviceFaceResults-B1cbeiRv.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 src/modules/personhood/personhoodServices.ts
@@ -1,4 +1,4 @@
1
- import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-C5xz718u.esm.js";
1
+ import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-Ct5sW4HO.esm.js";
2
2
  //#region src/modules/qe-signature/index.ts
3
3
  function createQeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,5 +1,5 @@
1
1
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
2
- import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-DKsyK0tj.esm.js";
2
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-Z_tJ_oDu.esm.js";
3
3
  import { C as createEventBus } from "./events-ijlbX_Wx.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
@@ -1,4 +1,4 @@
1
1
  //#region src/internal/version/sdkVersion.ts
2
- const SDK_VERSION = "0.0.0-dev-20260908-3dc65703";
2
+ const SDK_VERSION = "0.0.0-dev-20260908-9c122b5c";
3
3
  //#endregion
4
4
  export { SDK_VERSION as t };
@@ -1,13 +1,13 @@
1
- import { l as BrowserStorageProvider } from "./setup-BsoYV8je.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-BYFxYz35.esm.js";
2
2
  import { r as WasmUtilProvider } from "./safeStorage-0bZuUtSP.esm.js";
3
3
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
4
4
  import { i as assign, s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-TqfbJBww.esm.js";
7
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DPPf0-XI.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-DsKZumna.esm.js";
7
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-D53tSJxt.esm.js";
8
8
  import { r as processFace } from "./selfieErrorUtils-C6gC06J7.esm.js";
9
- import { t as selfieMachine } from "./selfieStateMachine-Dop4SRhG.esm.js";
10
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BOPsAgve.esm.js";
9
+ import { t as selfieMachine } from "./selfieStateMachine-BiINbU9P.esm.js";
10
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-CnO_5TQL.esm.js";
11
11
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BjzPjJ_p.esm.js";
12
12
  //#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
13
13
  /**
@@ -1,9 +1,9 @@
1
- import { l as BrowserStorageProvider } from "./setup-BsoYV8je.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-BYFxYz35.esm.js";
2
2
  import { r as WasmUtilProvider } from "./safeStorage-0bZuUtSP.esm.js";
3
3
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DPPf0-XI.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-Dop4SRhG.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-D53tSJxt.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-BiINbU9P.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 { i as assign } from "./xstate.esm-BuFLFuzz.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
3
- import { n as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-TqfbJBww.esm.js";
4
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-G-vaWTd_.esm.js";
3
+ import { n as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-DsKZumna.esm.js";
4
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-B1cbeiRv.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
6
6
  import { a as uploadSelfie, i as uploadManualSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-C6gC06J7.esm.js";
7
7
  //#region src/modules/selfie/selfieStateMachine.ts
@@ -1,8 +1,8 @@
1
1
  import { n as getApi } from "./api-Bx3gKW_y.esm.js";
2
- import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-DKsyK0tj.esm.js";
3
- import "./sessionInitializer-WzsPtUjl.esm.js";
2
+ import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-Z_tJ_oDu.esm.js";
3
+ import "./sessionInitializer-D6T8BS_U.esm.js";
4
4
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
5
- import { i as toIncodeApiError } from "./apiError-BJUX9AYg.esm.js";
5
+ import { i as toIncodeApiError } from "./apiError-B_B1weL6.esm.js";
6
6
  //#region src/internal/session/sessionService.ts
7
7
  /**
8
8
  * HTTP status codes the QR validation endpoint emits, keyed by their semantic
@@ -1,5 +1,5 @@
1
- import { i as initializeSession } from "./sessionInitializer-WzsPtUjl.esm.js";
2
- import { t as IncodeApiError } from "./apiError-BJUX9AYg.esm.js";
3
- import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-C2w_1dcJ.esm.js";
4
- import { n as getFinishStatus } from "./flowCompletionService-o2crXkoy.esm.js";
1
+ import { i as initializeSession } from "./sessionInitializer-D6T8BS_U.esm.js";
2
+ import { t as IncodeApiError } from "./apiError-B_B1weL6.esm.js";
3
+ import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-BXB1i4lk.esm.js";
4
+ import { n as getFinishStatus } from "./flowCompletionService-CsYeXBv6.esm.js";
5
5
  export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, bootstrapSession, createSession, getFinishStatus, initializeSession, refreshQrUrlUuid, validateQrUuid };
@@ -1,8 +1,8 @@
1
- import { E as updateFeatureManagementUser } from "./feature-management-CZxPmXY-.esm.js";
1
+ import { E as updateFeatureManagementUser } from "./feature-management-D0248lYa.esm.js";
2
2
  import { c as setToken, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { _ as noteTokenActivated, d as fetchFeatureConfig, f as isFeatureEnabled, l as trueSightLog, m as noteEnvironment, p as resetFeatureConfigCache, s as startTrueSightCollection } from "./trueSightService-DKsyK0tj.esm.js";
3
+ import { _ as noteTokenActivated, d as fetchFeatureConfig, f as isFeatureEnabled, l as trueSightLog, m as noteEnvironment, p as resetFeatureConfigCache, s as startTrueSightCollection } from "./trueSightService-Z_tJ_oDu.esm.js";
4
4
  import { v as addEvent, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
5
- import { t as SDK_VERSION } from "./sdkVersion-BmaZVFeV.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-DkRFyTPd.esm.js";
6
6
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
7
7
  import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-DkK-f8JT.esm.js";
8
8
  import { t as getParsedUserAgent } from "./getParsedUserAgent-B2iFDql1.esm.js";
@@ -1,16 +1,16 @@
1
1
  import { d as deriveSiblingJsPath, f as WASM_MODEL_FILES } from "./wasmWebClient-BJCaFeBL.esm.js";
2
2
  import { c as warmupWasm, r as WasmUtilProvider, s as setWasmOnDeviceMode, t as resolveLocalStorage } from "./safeStorage-0bZuUtSP.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-CZxPmXY-.esm.js";
4
+ import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-D0248lYa.esm.js";
5
5
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
6
6
  import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api } from "./api-Bx3gKW_y.esm.js";
7
- import { S as upgradeToWasmHttpClient$1, b as installFreshHttpClient, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as resetHttpClientState, y as getStoredHttpConfig } from "./trueSightService-DKsyK0tj.esm.js";
7
+ import { S as upgradeToWasmHttpClient$1, b as installFreshHttpClient, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as resetHttpClientState, y as getStoredHttpConfig } from "./trueSightService-Z_tJ_oDu.esm.js";
8
8
  import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
9
- import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy, v as BrowserEnvironmentProvider } from "./sessionInitializer-WzsPtUjl.esm.js";
9
+ import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy, v as BrowserEnvironmentProvider } from "./sessionInitializer-D6T8BS_U.esm.js";
10
10
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
11
11
  import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-DkK-f8JT.esm.js";
12
12
  import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
13
- import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-B-i2r2dn.esm.js";
13
+ import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-DmegoCr4.esm.js";
14
14
  //#region ../infra/src/wasm/wasmDefaults.ts
15
15
  const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
16
16
  /** The WASM version bundled and tested with this SDK release. */
@@ -2,7 +2,7 @@ import { a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWa
2
2
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
3
3
  import { i as isApiConfigured, n as getApi, o as setClient, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
4
4
  import { S as subscribeEvent, n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
5
- import { t as SDK_VERSION } from "./sdkVersion-BmaZVFeV.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-DkRFyTPd.esm.js";
6
6
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
7
7
  //#region ../infra/src/http/createApi.ts
8
8
  var FetchHttpError = class extends Error {
@@ -1320,7 +1320,7 @@ let cryptoProviderPromise = null;
1320
1320
  * the service's prewarm).
1321
1321
  */
1322
1322
  function loadDiagnosticsCryptoProvider() {
1323
- cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider--9nOlNcY.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
1323
+ cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-CD-46IAf.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
1324
1324
  return cryptoProviderPromise;
1325
1325
  }
1326
1326
  /**
@@ -170,6 +170,8 @@ type ManualUploadSide = 'front' | 'back' | 'passport';
170
170
  type ManualUploadContext = {
171
171
  /** Passed from parent machine input — used by guards and actor inputs. */
172
172
  onlyFront: boolean;
173
+ /** Back-only takes precedence when both side-only flags are supplied. */
174
+ onlyBack: boolean;
173
175
  isSecondId: boolean;
174
176
  /** Retry budget for this manual upload (sourced from `config.captureAttempts`). */
175
177
  captureAttempts: number;
@@ -1,16 +1,16 @@
1
- import { t as ensureWasmPipelines } from "./setup-BsoYV8je.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-BYFxYz35.esm.js";
2
2
  import { r as WasmUtilProvider } from "./safeStorage-0bZuUtSP.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
4
  import { t as api } from "./api-Bx3gKW_y.esm.js";
5
5
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
6
- import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-B-i2r2dn.esm.js";
6
+ import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-DmegoCr4.esm.js";
7
7
  import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
8
8
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
9
9
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
10
10
  import { t as MultipartRecordingService } from "./multipartRecordingService-B3C_zlev.esm.js";
11
- import { i as CameraCompositor } from "./idCaptureDefaults-yGmRy_zc.esm.js";
11
+ import { i as CameraCompositor } from "./idCaptureDefaults-BKboAo2k.esm.js";
12
12
  import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-CpF2cBy6.esm.js";
13
- import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-DPyEAyZ-.esm.js";
13
+ import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-9BspjWGC.esm.js";
14
14
  import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BUe2uACW.esm.js";
15
15
  //#region src/modules/video-selfie/videoSelfieWasm.ts
16
16
  function warmupVideoSelfieWasm(config, steps = resolveVideoSelfieSteps(config)) {
@@ -1,17 +1,17 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
3
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
4
- import { l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-B-i2r2dn.esm.js";
4
+ import { l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-DmegoCr4.esm.js";
5
5
  import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
6
6
  import { t as checkPermission } from "./permissionServices-J5S1dEIf.esm.js";
7
- import { a as encryptSelfieImage, l as startDetection, p as FaceDetectionProvider } from "./onDeviceFaceResults-G-vaWTd_.esm.js";
7
+ import { a as encryptSelfieImage, l as startDetection, p as FaceDetectionProvider } from "./onDeviceFaceResults-B1cbeiRv.esm.js";
8
8
  import { a as StreamCanvasProcessingSession } from "./recordingsRepository-CCWy13M-.esm.js";
9
9
  import { n as getBackCameraStream } from "./backCameraStream-DE_5qY04.esm.js";
10
10
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
11
11
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
12
12
  import { a as uploadSelfie, r as processFace, t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-C6gC06J7.esm.js";
13
13
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
14
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-yGmRy_zc.esm.js";
14
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-BKboAo2k.esm.js";
15
15
  //#region src/modules/video-selfie/videoSelfieCompareService.ts
16
16
  async function postVideoSelfieCompare(endpoint, base64Image) {
17
17
  return (await api.post(endpoint, { base64Image })).data;
package/dist/wasm.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { f as WASM_MODEL_FILES, h as WASM_PIPELINE_MODEL_NAMES, p as WASM_PIPELINE_LAZY_MODEL_NAMES } from "./wasmWebClient-BJCaFeBL.esm.js";
2
- import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, d as buildDefaultWasmConfig, f as buildWasmConfigFromBasePath, m as resolveWasmConfig, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines, u as DEFAULT_WASM_VERSION } from "./setup-BsoYV8je.esm.js";
2
+ import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, d as buildDefaultWasmConfig, f as buildWasmConfigFromBasePath, m as resolveWasmConfig, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines, u as DEFAULT_WASM_VERSION } from "./setup-BYFxYz35.esm.js";
3
3
  import { c as warmupWasm } from "./safeStorage-0bZuUtSP.esm.js";
4
4
  //#region src/defineWasm.ts
5
5
  function requiredModels(pipelines) {
@@ -1,29 +1,29 @@
1
- import { E as updateFeatureManagementUser } from "./feature-management-CZxPmXY-.esm.js";
1
+ import { E as updateFeatureManagementUser } from "./feature-management-D0248lYa.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { l as trueSightLog } from "./trueSightService-DKsyK0tj.esm.js";
3
+ import { l as trueSightLog } from "./trueSightService-Z_tJ_oDu.esm.js";
4
4
  import { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-ijlbX_Wx.esm.js";
5
- import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-WzsPtUjl.esm.js";
5
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-D6T8BS_U.esm.js";
6
6
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
7
- import { i as toIncodeApiError } from "./apiError-BJUX9AYg.esm.js";
8
- import { g as toEkybConfig } from "./flowServices-B-i2r2dn.esm.js";
7
+ import { i as toIncodeApiError } from "./apiError-B_B1weL6.esm.js";
8
+ import { g as toEkybConfig } from "./flowServices-DmegoCr4.esm.js";
9
9
  import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
10
10
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
11
11
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
12
- import { r as electronicSignatureMachine } from "./electronicSignatureManager-C5xz718u.esm.js";
12
+ import { r as electronicSignatureMachine } from "./electronicSignatureManager-Ct5sW4HO.esm.js";
13
13
  import "./ae-signature.esm.js";
14
14
  import { t as antifraudMachine } from "./antifraudStateMachine-BHxehiJZ.esm.js";
15
- import { t as authenticationMachine } from "./authenticationStateMachine-D62GL8_Z.esm.js";
15
+ import { t as authenticationMachine } from "./authenticationStateMachine-DaYRxSqo.esm.js";
16
16
  import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-BBD5h8c4.esm.js";
17
17
  import { t as consentMachine } from "./consentStateMachine-DbUmqWgV.esm.js";
18
18
  import { t as curpValidationMachine } from "./curpValidationStateMachine-DvUPC_8S.esm.js";
19
19
  import { t as customWatchlistMachine } from "./customWatchlistStateMachine-qZVgkKgP.esm.js";
20
20
  import { t as documentCaptureMachine } from "./documentCaptureStateMachine-D_9dw5b1.esm.js";
21
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Ct6RENrH.esm.js";
22
- import { t as ekybMachine } from "./ekybStateMachine-Bh_O5svO.esm.js";
21
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-ASNJ5S61.esm.js";
22
+ import { t as ekybMachine } from "./ekybStateMachine-B31-dhZA.esm.js";
23
23
  import { t as ekycMachine } from "./ekycStateMachine-CmdW2gVm.esm.js";
24
24
  import { t as emailMachine } from "./emailStateMachine-CyPFZ7dW.esm.js";
25
- import { t as selfieMachine } from "./selfieStateMachine-Dop4SRhG.esm.js";
26
- import { t as idCaptureMachine } from "./idCaptureStateMachine-aTDub2VW.esm.js";
25
+ import { t as selfieMachine } from "./selfieStateMachine-BiINbU9P.esm.js";
26
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-B10TdDdp.esm.js";
27
27
  import { t as phoneMachine } from "./phoneStateMachine-jl8LJKCo.esm.js";
28
28
  import { t as watchlistMachine } from "./watchlistStateMachine-DvOby3a-.esm.js";
29
29
  import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-DEzgjz7C.esm.js";
@@ -32,12 +32,12 @@ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DSD
32
32
  import { t as idOcrStateMachine } from "./idOcrStateMachine-33UvRAHE.esm.js";
33
33
  import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-v3otpT-L.esm.js";
34
34
  import { t as signatureMachine } from "./signatureStateMachine-BHPwkJZS.esm.js";
35
- import { t as geolocationMachine } from "./geolocationStateMachine-DDM9CmKz.esm.js";
35
+ import { t as geolocationMachine } from "./geolocationStateMachine-L4bDZPIN.esm.js";
36
36
  import { t as governmentValidationMachine } from "./governmentValidationStateMachine-D1ZnEqdd.esm.js";
37
37
  import { t as idVerificationMachine } from "./idVerificationStateMachine-BPGrQZEm.esm.js";
38
38
  import { t as faceMatchMachine } from "./faceMatchStateMachine-BUc5FXYy.esm.js";
39
- import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-o2crXkoy.esm.js";
40
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-LHGXe08x.esm.js";
39
+ import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-CsYeXBv6.esm.js";
40
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-6B5waNIV.esm.js";
41
41
  import { n as isAdvanceableError } from "./advanceableErrors-CpF2cBy6.esm.js";
42
42
  import "./qe-signature.esm.js";
43
43
  import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BUe2uACW.esm.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20260908-3dc65703",
3
+ "version": "0.0.0-dev-20260908-9c122b5c",
4
4
  "license": "ISC",
5
5
  "repository": {
6
6
  "type": "git",