@incodetech/core 0.0.0-dev-20260826-ffaa247e → 0.0.0-dev-20260826-2bc864d6

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 (63) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-B85di8ba.esm.js → BrowserDiagnosticsCryptoProvider-CEfyW9eB.esm.js} +1 -1
  2. package/dist/advanceableErrors-CpF2cBy6.esm.js +21 -0
  3. package/dist/ae-signature.esm.js +1 -1
  4. package/dist/{apiError-B7CBGqgv.esm.js → apiError-nxVspUZp.esm.js} +1 -1
  5. package/dist/authentication.esm.js +2 -2
  6. package/dist/{authenticationManager-C-cJ0eXG.esm.js → authenticationManager-B94KQEEa.esm.js} +2 -2
  7. package/dist/{authenticationStateMachine-C4hEuLUe.esm.js → authenticationStateMachine-BB37b2sa.esm.js} +2 -2
  8. package/dist/consent.d.ts +1 -1
  9. package/dist/{consentManager-BhYFeKiG.d.ts → consentManager-uhDPdU6i.d.ts} +8 -8
  10. package/dist/{deepsightLoader-CfBQT_1_.esm.js → deepsightLoader-BofMAhBJ.esm.js} +3 -3
  11. package/dist/document-capture.d.ts +1 -1
  12. package/dist/{documentCaptureManager-DensIj5F.d.ts → documentCaptureManager-DD0qtFdE.d.ts} +1 -1
  13. package/dist/dynamic-forms.esm.js +2 -2
  14. package/dist/{dynamicFormsManager-DM5VDViO.esm.js → dynamicFormsManager-DbEH52tx.esm.js} +1 -1
  15. package/dist/{dynamicFormsStateMachine-Cgc6fwvM.esm.js → dynamicFormsStateMachine-Jq5dtVKJ.esm.js} +1 -1
  16. package/dist/ekyb.esm.js +3 -3
  17. package/dist/{ekybManager-DvqsCsOh.esm.js → ekybManager-gjWMOeU4.esm.js} +1 -1
  18. package/dist/{ekybStateMachine-Cc36kFCN.esm.js → ekybStateMachine-BirCa1y_.esm.js} +1 -1
  19. package/dist/electronic-signature.esm.js +1 -1
  20. package/dist/{electronicSignatureManager-BoLbzBmI.esm.js → electronicSignatureManager-CPbqswBz.esm.js} +1 -1
  21. package/dist/extensibility.d.ts +4 -4
  22. package/dist/extensibility.esm.js +9 -9
  23. package/dist/{faceCaptureManagerFactory-B7htL7x9.esm.js → faceCaptureManagerFactory-VTDh_p5o.esm.js} +1 -1
  24. package/dist/{faceCaptureSetup-BJxe4ymf.esm.js → faceCaptureSetup-CNZMUGG4.esm.js} +1 -1
  25. package/dist/{feature-management-CWsoWT9T.esm.js → feature-management-DI6EoP-t.esm.js} +1 -1
  26. package/dist/feature-management.esm.js +1 -1
  27. package/dist/flow.esm.js +4 -3
  28. package/dist/{flowCompletionService-HNaLSv9Q.esm.js → flowCompletionService-Clb3QNZK.esm.js} +1 -1
  29. package/dist/{flowServices-BRcnh1jV.esm.js → flowServices-DqGz9Zp-.esm.js} +4 -4
  30. package/dist/geolocation.esm.js +2 -2
  31. package/dist/{geolocationManager-_-CWDv4E.esm.js → geolocationManager-BHH0rEg5.esm.js} +1 -1
  32. package/dist/{geolocationStateMachine-DbqccFEZ.esm.js → geolocationStateMachine-CFBR-FWK.esm.js} +1 -1
  33. package/dist/id-selfie-flow.esm.js +6 -6
  34. package/dist/id.esm.js +3 -3
  35. package/dist/{idCaptureManager-BDK67W-l.esm.js → idCaptureManager-DZc2lVQP.esm.js} +2 -2
  36. package/dist/{idCaptureServices-DYSQZ2-a.esm.js → idCaptureServices-DLPYQeFi.esm.js} +1 -1
  37. package/dist/{idCaptureStateMachine-CkXrq94k.esm.js → idCaptureStateMachine-OkpTGQ2j.esm.js} +7 -7
  38. package/dist/identity-reuse.d.ts +1 -1
  39. package/dist/{identityReuseManager-v2TH5g7e.d.ts → identityReuseManager-BFDI7iFK.d.ts} +4 -4
  40. package/dist/index.esm.js +1 -1
  41. package/dist/mandatory-consent.d.ts +1 -1
  42. package/dist/{mandatoryConsentManager-CaTcQLK6.d.ts → mandatoryConsentManager-DvR2XzUH.d.ts} +4 -4
  43. package/dist/{onDeviceFaceResults-CNnMZZDE.esm.js → onDeviceFaceResults-DlPQD2Vi.esm.js} +3 -3
  44. package/dist/personhood.esm.js +3 -3
  45. package/dist/qe-signature.esm.js +1 -1
  46. package/dist/{runChildModule-BmuHaUFg.esm.js → runChildModule-B3UOSJYj.esm.js} +2 -20
  47. package/dist/{sdkVersion-CAMgb9f3.esm.js → sdkVersion-ARzPZeUX.esm.js} +1 -1
  48. package/dist/selfie.esm.js +4 -4
  49. package/dist/{selfieManager-DEXPdHn_.esm.js → selfieManager-BB0sY0Qv.esm.js} +2 -2
  50. package/dist/{selfieStateMachine-CEiMXdAS.esm.js → selfieStateMachine-GHrQ8Eni.esm.js} +2 -2
  51. package/dist/{session-BFKZYZ_1.esm.js → session-U0WcvfQy.esm.js} +4 -4
  52. package/dist/session.esm.js +4 -4
  53. package/dist/{sessionInitializer-BcIssrB9.esm.js → sessionInitializer-DSdhXRQu.esm.js} +4 -4
  54. package/dist/{setup-DrVkPLOh.esm.js → setup-B-1UrcWx.esm.js} +5 -5
  55. package/dist/trueSight-BmCKcuV3.esm.js +1 -0
  56. package/dist/{trueSightService-Dz4BHBKH.esm.js → trueSightService-Mnm0GQ86.esm.js} +2 -2
  57. package/dist/video-selfie.d.ts +11 -5
  58. package/dist/video-selfie.esm.js +34 -63
  59. package/dist/{videoSelfieCameraWarmer-CpS557G1.esm.js → videoSelfieCameraWarmer-D9405MxI.esm.js} +2 -2
  60. package/dist/wasm.esm.js +1 -1
  61. package/dist/workflow.esm.js +16 -15
  62. package/package.json +1 -1
  63. package/dist/trueSight-BhT3XW_z.esm.js +0 -1
@@ -18,7 +18,7 @@ function decodeTruesightKey(s0Base64, s1Base64) {
18
18
  */
19
19
  function getTruesightKey() {
20
20
  try {
21
- const key = decodeTruesightKey("iAinb94CbNCW3qNe0u95bNb7BxYl8iLG5D9uyh2/emU=", "/y/DTLgZWy1T94i3iLq87Ovuvy8p3ien6+2SJlMgOXk=");
21
+ const key = decodeTruesightKey("GJwaRn6ZwEV+DkqVY+x0GgYRI6vSRsqnIaniWAM9vQk=", "aaNRUjreN73HSqEXExYpBDsHdJ4q01F3Ackv0efIWLw=");
22
22
  return key.length === KEY_LENGTH_BYTES ? key : null;
23
23
  } catch {
24
24
  return null;
@@ -0,0 +1,21 @@
1
+ import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
2
+ //#region src/internal/orchestration/advanceableErrors.ts
3
+ const VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE = "VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED";
4
+ /**
5
+ * Module terminal-error codes an orchestrator should treat as "advance to the
6
+ * next step" rather than "fail the flow". Decided here, at the orchestration
7
+ * layer, so every consumer behaves identically. "Advanceable" is independent of
8
+ * "retryable" (the module's own concern): it only decides what the flow does
9
+ * *after* a terminal error. Note `NO_MORE_ATTEMPTS` subsumes the former
10
+ * `USER_IS_NOT_RECOGNIZED` entry — see the contract test for the full matrix.
11
+ */
12
+ const ADVANCEABLE_ERROR_CODES = [
13
+ FACE_ERROR_CODES.NONEXISTENT_CUSTOMER,
14
+ FACE_ERROR_CODES.HINT_NOT_PROVIDED,
15
+ FACE_ERROR_CODES.NO_MORE_ATTEMPTS,
16
+ VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE
17
+ ];
18
+ /** True when the given code is a module terminal error the flow should advance past rather than fail on. */
19
+ const isAdvanceableError = (moduleErrorCode) => moduleErrorCode !== void 0 && ADVANCEABLE_ERROR_CODES.includes(moduleErrorCode);
20
+ //#endregion
21
+ export { isAdvanceableError as n, VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE as t };
@@ -1,4 +1,4 @@
1
- import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-BoLbzBmI.esm.js";
1
+ import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-CPbqswBz.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-Dz4BHBKH.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-Mnm0GQ86.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-C4hEuLUe.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-C-cJ0eXG.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-BB37b2sa.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-B94KQEEa.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -2,8 +2,8 @@ import { r as WasmUtilProvider } from "./safeStorage-7CmStgyt.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DC___749.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-B7htL7x9.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-C4hEuLUe.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-VTDh_p5o.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-BB37b2sa.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-DmVOhy8C.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-yk8Pi9sH.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-BJxe4ymf.esm.js";
7
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-CNnMZZDE.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-CNZMUGG4.esm.js";
7
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-DlPQD2Vi.esm.js";
8
8
  import { t as getDeviceClass } from "./getDeviceClass-CHfFphdD.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-BhYFeKiG.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-uhDPdU6i.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -78,14 +78,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
78
78
  type: "setError";
79
79
  params: NonReducibleUnknown;
80
80
  };
81
- setConsentData: {
82
- type: "setConsentData";
83
- params: NonReducibleUnknown;
84
- };
85
- toggleCheckbox: {
86
- type: "toggleCheckbox";
87
- params: NonReducibleUnknown;
88
- };
89
81
  clearError: {
90
82
  type: "clearError";
91
83
  params: NonReducibleUnknown;
@@ -94,6 +86,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
94
86
  type: "resetContext";
95
87
  params: NonReducibleUnknown;
96
88
  };
89
+ setConsentData: {
90
+ type: "setConsentData";
91
+ params: NonReducibleUnknown;
92
+ };
93
+ toggleCheckbox: {
94
+ type: "toggleCheckbox";
95
+ params: NonReducibleUnknown;
96
+ };
97
97
  }>, {
98
98
  type: "canSubmit";
99
99
  params: unknown;
@@ -1,8 +1,8 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-7CmStgyt.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { l as trueSightLog } from "./trueSightService-Dz4BHBKH.esm.js";
4
- import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-BcIssrB9.esm.js";
5
- import "./trueSight-BhT3XW_z.esm.js";
3
+ import { l as trueSightLog } from "./trueSightService-Mnm0GQ86.esm.js";
4
+ import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-DSdhXRQu.esm.js";
5
+ import "./trueSight-BmCKcuV3.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-yk8Pi9sH.esm.js";
7
7
  import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
8
8
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
@@ -1,3 +1,3 @@
1
1
  import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-BjSly8cp.js";
2
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-DensIj5F.js";
2
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-DD0qtFdE.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -251,7 +251,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
251
251
  type: "fileSizeOkForNonGallery";
252
252
  params: unknown;
253
253
  };
254
- }>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "tutorial" | "capturing" | "preview" | "failure" | "nextPage" | "finalizing" | {
254
+ }>, never, "uploading" | "closed" | "success" | "finished" | "capturing" | "failure" | "initCamera" | "tutorial" | "preview" | "nextPage" | "finalizing" | {
255
255
  permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
256
256
  }, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
257
257
  readonly id: "documentCapture";
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Cgc6fwvM.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-DM5VDViO.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Jq5dtVKJ.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-DbEH52tx.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-Cgc6fwvM.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Jq5dtVKJ.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-DmVOhy8C.esm.js";
3
- import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-B7CBGqgv.esm.js";
3
+ import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-nxVspUZp.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-BRcnh1jV.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-Cc36kFCN.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-DvqsCsOh.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-DqGz9Zp-.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-BirCa1y_.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-gjWMOeU4.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-Cc36kFCN.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-BirCa1y_.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-DmVOhy8C.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-BRcnh1jV.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-DqGz9Zp-.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-wPsoh0zL.esm.js";
@@ -1,2 +1,2 @@
1
- import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, n as createElectronicSignatureManagerFromActor, o as areAllConsented, r as electronicSignatureMachine, s as getConsentKeys, t as createElectronicSignatureManager } from "./electronicSignatureManager-BoLbzBmI.esm.js";
1
+ import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, n as createElectronicSignatureManagerFromActor, o as areAllConsented, r as electronicSignatureMachine, s as getConsentKeys, t as createElectronicSignatureManager } from "./electronicSignatureManager-CPbqswBz.esm.js";
2
2
  export { AE_CONSENT_KEYS, 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-DmVOhy8C.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-B7CBGqgv.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-nxVspUZp.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";
@@ -12,12 +12,12 @@ import { n as BaseWasmProvider } from "./FaceDetectionProvider-Cn1wS-sA.js";
12
12
  import "./deepsightService-MZOpj7Vp.js";
13
13
  import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-Dcc29kVh.js";
14
14
  import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-DCgEidHz.js";
15
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-BhYFeKiG.js";
15
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-uhDPdU6i.js";
16
16
  import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
17
17
  import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-B9kKccLg.js";
18
18
  import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-8-W2KY4n.js";
19
19
  import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-PBWHr_oM.js";
20
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-DensIj5F.js";
20
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-DD0qtFdE.js";
21
21
  import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-fhK0yINk.js";
22
22
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
23
23
  import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
@@ -28,9 +28,9 @@ import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptu
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-CaTcQLK6.js";
33
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-DvR2XzUH.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
1
  import { r as WasmUtilProvider } from "./safeStorage-7CmStgyt.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DC___749.esm.js";
3
- import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-BcIssrB9.esm.js";
3
+ import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-DSdhXRQu.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-BoLbzBmI.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-CPbqswBz.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-lZENLRt7.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-BJxe4ymf.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-C-cJ0eXG.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-CNZMUGG4.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-B94KQEEa.esm.js";
10
10
  import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-DnzazlgX.esm.js";
11
11
  import { n as createConsentManagerFromActor } from "./consentManager-B9JFJ-jW.esm.js";
12
12
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-BnBKl7iG.esm.js";
@@ -14,12 +14,12 @@ import { n as createCurpValidationManagerFromActor } from "./curpValidationManag
14
14
  import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-BoaG7VY-.esm.js";
15
15
  import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-D1Xbm4Kk.esm.js";
16
16
  import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-BsgEpSEe.esm.js";
17
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DM5VDViO.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-DvqsCsOh.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DbEH52tx.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-gjWMOeU4.esm.js";
19
19
  import { n as createEkycManagerFromActor } from "./ekycManager-QHCjtbW3.esm.js";
20
20
  import { n as createEmailManagerFromActor } from "./emailManager-DMS5sHYW.esm.js";
21
- import { n as createSelfieManagerFromActor } from "./selfieManager-DEXPdHn_.esm.js";
22
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-BDK67W-l.esm.js";
21
+ import { n as createSelfieManagerFromActor } from "./selfieManager-BB0sY0Qv.esm.js";
22
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-DZc2lVQP.esm.js";
23
23
  import { n as createPhoneManagerFromActor } from "./phoneManager-CE4iOX6X.esm.js";
24
24
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-CsGTNanx.esm.js";
25
25
  import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-CHngytrs.esm.js";
@@ -29,7 +29,7 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
29
29
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-B6CYUFlG.esm.js";
30
30
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-Cj6cOHvt.esm.js";
31
31
  import { n as createSignatureManagerFromActor } from "./signatureManager-rAEIii2M.esm.js";
32
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-_-CWDv4E.esm.js";
32
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-BHH0rEg5.esm.js";
33
33
  import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-CSfFPiaa.esm.js";
34
34
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-BftVruqv.esm.js";
35
35
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-YEbnvQRr.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-BJxe4ymf.esm.js";
4
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-CNZMUGG4.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BTc8xI86.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
7
7
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-QCFFUVkj.esm.js";
@@ -3,7 +3,7 @@ import { t as isAndroid } from "./platform-BtKmqD_U.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-QCFFUVkj.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-CNnMZZDE.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-DlPQD2Vi.esm.js";
7
7
  import { i as uploadDeepsightVideo } from "./recordingsRepository-DJcl1k_o.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-CAMgb9f3.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-ARzPZeUX.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-CWsoWT9T.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-DI6EoP-t.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.esm.js CHANGED
@@ -1,9 +1,10 @@
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-BRcnh1jV.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-DqGz9Zp-.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-HNaLSv9Q.esm.js";
6
- import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BmuHaUFg.esm.js";
5
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-Clb3QNZK.esm.js";
6
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-B3UOSJYj.esm.js";
7
+ import { n as isAdvanceableError } from "./advanceableErrors-CpF2cBy6.esm.js";
7
8
  //#region src/modules/flow/noOpFlowModuleMachine.ts
8
9
  const noOpFlowModuleMachine = setup({}).createMachine({
9
10
  id: "noOpFlowModule",
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
3
- import { r as toIncodeApiError } from "./apiError-B7CBGqgv.esm.js";
3
+ import { r as toIncodeApiError } from "./apiError-nxVspUZp.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-CWsoWT9T.esm.js";
1
+ import { E as updateFeatureManagementUser } from "./feature-management-DI6EoP-t.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-BcIssrB9.esm.js";
3
+ import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-DSdhXRQu.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-B7CBGqgv.esm.js";
6
- import "./session-BFKZYZ_1.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-nxVspUZp.esm.js";
6
+ import "./session-U0WcvfQy.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-_-CWDv4E.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-DbqccFEZ.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-BHH0rEg5.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-CFBR-FWK.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-DbqccFEZ.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-CFBR-FWK.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-DmVOhy8C.esm.js";
3
3
  import { a as isIOS, t as isAndroid } from "./platform-BtKmqD_U.esm.js";
4
- import { n as isConnectivityError } from "./apiError-B7CBGqgv.esm.js";
4
+ import { n as isConnectivityError } from "./apiError-nxVspUZp.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
1
  import { r as WasmUtilProvider } from "./safeStorage-7CmStgyt.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-DrVkPLOh.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-B-1UrcWx.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-BRcnh1jV.esm.js";
4
+ import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-DqGz9Zp-.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-CNnMZZDE.esm.js";
7
+ import { a as encryptSelfieImage, l as startDetection, p as FaceDetectionProvider } from "./onDeviceFaceResults-DlPQD2Vi.esm.js";
8
8
  import { a as StreamCanvasProcessingSession } from "./recordingsRepository-DJcl1k_o.esm.js";
9
9
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
10
10
  import { a as uploadSelfie, r as processFace } from "./selfieErrorUtils-CUXoEekQ.esm.js";
11
11
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
12
12
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-SJH6Td2K.esm.js";
13
- import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-DYSQZ2-a.esm.js";
14
- import { n as getFinishStatus } from "./flowCompletionService-HNaLSv9Q.esm.js";
15
- import { a as delay, c as isWrongVideoSelfieIdSide, n as defaultAcquireCamera, r as CameraCompositor, s as isSelfieValidationError } from "./videoSelfieCameraWarmer-CpS557G1.esm.js";
13
+ import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-DLPYQeFi.esm.js";
14
+ import { n as getFinishStatus } from "./flowCompletionService-Clb3QNZK.esm.js";
15
+ import { a as delay, c as isWrongVideoSelfieIdSide, n as defaultAcquireCamera, r as CameraCompositor, s as isSelfieValidationError } from "./videoSelfieCameraWarmer-D9405MxI.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.esm.js CHANGED
@@ -2,9 +2,9 @@ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DC___749.e
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 MANUAL_UPLOAD_MAX_RETRIES, i as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine } from "./idCaptureStateMachine-CkXrq94k.esm.js";
6
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-BDK67W-l.esm.js";
7
- import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, n as barcodeToBase64, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-DYSQZ2-a.esm.js";
5
+ import { a as MANUAL_UPLOAD_MAX_RETRIES, i as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine } from "./idCaptureStateMachine-OkpTGQ2j.esm.js";
6
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-DZc2lVQP.esm.js";
7
+ import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, n as barcodeToBase64, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-DLPYQeFi.esm.js";
8
8
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BjzPjJ_p.esm.js";
9
9
  //#region src/modules/id/idCaptureOnlyStateMachine.ts
10
10
  function buildSubImage(canvas) {
@@ -5,8 +5,8 @@ import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BTc8xI86.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
7
7
  import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-QCFFUVkj.esm.js";
8
- import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-CkXrq94k.esm.js";
9
- import { m as resolveIdCaptureThresholds, p as resolveCaptureOptimizingTreatment } from "./idCaptureServices-DYSQZ2-a.esm.js";
8
+ import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-OkpTGQ2j.esm.js";
9
+ import { m as resolveIdCaptureThresholds, p as resolveCaptureOptimizingTreatment } from "./idCaptureServices-DLPYQeFi.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) {
@@ -1,4 +1,4 @@
1
- import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-CWsoWT9T.esm.js";
1
+ import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-DI6EoP-t.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
3
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
4
4
  import { i as isDesktop } from "./platform-BtKmqD_U.esm.js";
@@ -1,16 +1,16 @@
1
1
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DC___749.esm.js";
2
2
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
3
- import { s as exposeExperimentOnce } from "./feature-management-CWsoWT9T.esm.js";
3
+ import { s as exposeExperimentOnce } from "./feature-management-DI6EoP-t.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-Dz4BHBKH.esm.js";
6
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-Mnm0GQ86.esm.js";
7
7
  import { n as eventModuleNames, s as recordExperimentAssignmentOnce } from "./events-ijlbX_Wx.esm.js";
8
- import { t as getDisableIpify } from "./sessionInitializer-BcIssrB9.esm.js";
8
+ import { t as getDisableIpify } from "./sessionInitializer-DSdhXRQu.esm.js";
9
9
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
10
- import "./trueSight-BhT3XW_z.esm.js";
10
+ import "./trueSight-BmCKcuV3.esm.js";
11
11
  import { t as addDeviceStats } from "./stats-yk8Pi9sH.esm.js";
12
12
  import { t as isAndroid } from "./platform-BtKmqD_U.esm.js";
13
- import "./session-BFKZYZ_1.esm.js";
13
+ import "./session-U0WcvfQy.esm.js";
14
14
  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";
15
15
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
16
16
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-QCFFUVkj.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-DKnCqOsF.esm.js";
24
24
  import { r as flagIdManualReview, t as imageFileToDataUrl } from "./imageFile-DNR8S1M2.esm.js";
25
- import { _ as getIdCameraStream, a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, g as OPTIMIZING_WATCHDOG_MARGIN_MS, h as CAPTURE_OPTIMIZING, l as uploadIdImage, m as resolveIdCaptureThresholds, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-DYSQZ2-a.esm.js";
25
+ import { _ as getIdCameraStream, a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, g as OPTIMIZING_WATCHDOG_MARGIN_MS, h as CAPTURE_OPTIMIZING, l as uploadIdImage, m as resolveIdCaptureThresholds, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-DLPYQeFi.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) {
@@ -1772,7 +1772,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
1772
1772
  });
1773
1773
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
1774
1774
  if (!input.dependencies) return;
1775
- const { loadDeepsightSession } = await import("./deepsightLoader-CfBQT_1_.esm.js");
1775
+ const { loadDeepsightSession } = await import("./deepsightLoader-BofMAhBJ.esm.js");
1776
1776
  return loadDeepsightSession({
1777
1777
  ds: input.ds,
1778
1778
  storage: input.dependencies.storage,
@@ -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-DrVkPLOh.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-B-1UrcWx.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,3 +1,3 @@
1
1
  import { r as MandatoryConsentConfig } from "./types-R1jpOcvl.js";
2
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-CaTcQLK6.js";
2
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-DvR2XzUH.js";
3
3
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -61,14 +61,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
61
61
  type: "clearError";
62
62
  params: NonReducibleUnknown;
63
63
  };
64
- resetContext: {
65
- type: "resetContext";
66
- params: NonReducibleUnknown;
67
- };
68
64
  toggleSigned: {
69
65
  type: "toggleSigned";
70
66
  params: NonReducibleUnknown;
71
67
  };
68
+ resetContext: {
69
+ type: "resetContext";
70
+ params: NonReducibleUnknown;
71
+ };
72
72
  }>, {
73
73
  type: "canSubmit";
74
74
  params: unknown;
@@ -1,7 +1,7 @@
1
1
  import { i as BaseWasmProvider, l as wasmRuntime } from "./safeStorage-7CmStgyt.esm.js";
2
2
  import { r as getToken } from "./api-Bx3gKW_y.esm.js";
3
- import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-Dz4BHBKH.esm.js";
4
- import "./trueSight-BhT3XW_z.esm.js";
3
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-Mnm0GQ86.esm.js";
4
+ import "./trueSight-BmCKcuV3.esm.js";
5
5
  import { t as addDeviceStats } from "./stats-yk8Pi9sH.esm.js";
6
6
  import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-BtKmqD_U.esm.js";
7
7
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
@@ -514,7 +514,7 @@ async function stopRecording(session) {
514
514
  }
515
515
  }
516
516
  async function initializeDeepsightSession(options) {
517
- const { loadDeepsightSession } = await import("./deepsightLoader-CfBQT_1_.esm.js");
517
+ const { loadDeepsightSession } = await import("./deepsightLoader-BofMAhBJ.esm.js");
518
518
  return loadDeepsightSession({
519
519
  ds: options.ds,
520
520
  storage: options.storage
@@ -2,15 +2,15 @@ import { r as WasmUtilProvider } from "./safeStorage-7CmStgyt.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DC___749.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-Dz4BHBKH.esm.js";
5
+ import { C as createApi$1, v as randomUUID, y as getStoredHttpConfig } from "./trueSightService-Mnm0GQ86.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-BcIssrB9.esm.js";
7
+ import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-DSdhXRQu.esm.js";
8
8
  import { t as endpoints } from "./endpoints-DmVOhy8C.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-QCFFUVkj.esm.js";
13
- import { f as stopStream, l as startDetection, p as FaceDetectionProvider, s as initializeDeepsightSession } from "./onDeviceFaceResults-CNnMZZDE.esm.js";
13
+ import { f as stopStream, l as startDetection, p as FaceDetectionProvider, s as initializeDeepsightSession } from "./onDeviceFaceResults-DlPQD2Vi.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 QE_CONSENT_KEYS, c as getDefaultConsentChecks, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-BoLbzBmI.esm.js";
1
+ import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-CPbqswBz.esm.js";
2
2
  //#region src/modules/qe-signature/index.ts
3
3
  function createQeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,9 +1,8 @@
1
1
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
2
- import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-Dz4BHBKH.esm.js";
2
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-Mnm0GQ86.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";
6
- import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
7
6
  //#region src/internal/flow-events/flowEvents.ts
8
7
  function createFlowEventBus() {
9
8
  const eventBus = createEventBus();
@@ -196,23 +195,6 @@ function attachFlowEventEmitter(manager, options = {}) {
196
195
  return manager;
197
196
  }
198
197
  //#endregion
199
- //#region src/internal/orchestration/advanceableErrors.ts
200
- /**
201
- * Module terminal-error codes an orchestrator should treat as "advance to the
202
- * next step" rather than "fail the flow". Decided here, at the orchestration
203
- * layer, so every consumer behaves identically. "Advanceable" is independent of
204
- * "retryable" (the module's own concern): it only decides what the flow does
205
- * *after* a terminal error. Note `NO_MORE_ATTEMPTS` subsumes the former
206
- * `USER_IS_NOT_RECOGNIZED` entry — see the contract test for the full matrix.
207
- */
208
- const ADVANCEABLE_ERROR_CODES = [
209
- FACE_ERROR_CODES.NONEXISTENT_CUSTOMER,
210
- FACE_ERROR_CODES.HINT_NOT_PROVIDED,
211
- FACE_ERROR_CODES.NO_MORE_ATTEMPTS
212
- ];
213
- /** True when the given code is a module terminal error the flow should advance past rather than fail on. */
214
- const isAdvanceableError = (moduleErrorCode) => moduleErrorCode !== void 0 && ADVANCEABLE_ERROR_CODES.includes(moduleErrorCode);
215
- //#endregion
216
198
  //#region src/internal/orchestration/runChildModule.ts
217
199
  const runChildModule = fromCallback(({ sendBack, input }) => {
218
200
  const { machine, config } = input;
@@ -239,4 +221,4 @@ const runChildModule = fromCallback(({ sendBack, input }) => {
239
221
  };
240
222
  });
241
223
  //#endregion
242
- export { isAdvanceableError as n, attachFlowEventEmitter as r, runChildModule as t };
224
+ export { attachFlowEventEmitter as n, runChildModule as t };
@@ -1,4 +1,4 @@
1
1
  //#region src/internal/version/sdkVersion.ts
2
- const SDK_VERSION = "0.0.0-dev-20260826-ffaa247e";
2
+ const SDK_VERSION = "0.0.0-dev-20260826-2bc864d6";
3
3
  //#endregion
4
4
  export { SDK_VERSION as t };
@@ -3,11 +3,11 @@ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DC___749.e
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-BJxe4ymf.esm.js";
7
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-B7htL7x9.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-CNZMUGG4.esm.js";
7
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-VTDh_p5o.esm.js";
8
8
  import { r as processFace } from "./selfieErrorUtils-CUXoEekQ.esm.js";
9
- import { t as selfieMachine } from "./selfieStateMachine-CEiMXdAS.esm.js";
10
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-DEXPdHn_.esm.js";
9
+ import { t as selfieMachine } from "./selfieStateMachine-GHrQ8Eni.esm.js";
10
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BB0sY0Qv.esm.js";
11
11
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BjzPjJ_p.esm.js";
12
12
  //#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
13
13
  /**
@@ -2,8 +2,8 @@ import { r as WasmUtilProvider } from "./safeStorage-7CmStgyt.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DC___749.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-B7htL7x9.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-CEiMXdAS.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-VTDh_p5o.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-GHrQ8Eni.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-BJxe4ymf.esm.js";
4
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-CNnMZZDE.esm.js";
3
+ import { n as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-CNZMUGG4.esm.js";
4
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-DlPQD2Vi.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-CUXoEekQ.esm.js";
7
7
  //#region src/modules/selfie/selfieStateMachine.ts
@@ -1,9 +1,9 @@
1
1
  import { n as getApi } from "./api-Bx3gKW_y.esm.js";
2
- import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-Dz4BHBKH.esm.js";
3
- import "./sessionInitializer-BcIssrB9.esm.js";
2
+ import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-Mnm0GQ86.esm.js";
3
+ import "./sessionInitializer-DSdhXRQu.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
5
- import "./trueSight-BhT3XW_z.esm.js";
6
- import { r as toIncodeApiError } from "./apiError-B7CBGqgv.esm.js";
5
+ import "./trueSight-BmCKcuV3.esm.js";
6
+ import { r as toIncodeApiError } from "./apiError-nxVspUZp.esm.js";
7
7
  //#region src/internal/session/sessionService.ts
8
8
  /**
9
9
  * HTTP status codes the QR validation endpoint emits, keyed by their semantic
@@ -1,5 +1,5 @@
1
- import { i as initializeSession } from "./sessionInitializer-BcIssrB9.esm.js";
2
- import { t as IncodeApiError } from "./apiError-B7CBGqgv.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-BFKZYZ_1.esm.js";
4
- import { n as getFinishStatus } from "./flowCompletionService-HNaLSv9Q.esm.js";
1
+ import { i as initializeSession } from "./sessionInitializer-DSdhXRQu.esm.js";
2
+ import { t as IncodeApiError } from "./apiError-nxVspUZp.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-U0WcvfQy.esm.js";
4
+ import { n as getFinishStatus } from "./flowCompletionService-Clb3QNZK.esm.js";
5
5
  export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, bootstrapSession, createSession, getFinishStatus, initializeSession, refreshQrUrlUuid, validateQrUuid };
@@ -1,10 +1,10 @@
1
- import { E as updateFeatureManagementUser } from "./feature-management-CWsoWT9T.esm.js";
1
+ import { E as updateFeatureManagementUser } from "./feature-management-DI6EoP-t.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-Dz4BHBKH.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-Mnm0GQ86.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-CAMgb9f3.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-ARzPZeUX.esm.js";
6
6
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
7
- import "./trueSight-BhT3XW_z.esm.js";
7
+ import "./trueSight-BmCKcuV3.esm.js";
8
8
  import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-yk8Pi9sH.esm.js";
9
9
  import { n as UAParser, t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
10
10
  import { a as isIOS } from "./platform-BtKmqD_U.esm.js";
@@ -2,18 +2,18 @@ import { a as resolveWasmConfig } from "./wasmDefaults-DEOK0oAq.esm.js";
2
2
  import { c as warmupWasm, r as WasmUtilProvider, s as setWasmOnDeviceMode } from "./safeStorage-7CmStgyt.esm.js";
3
3
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DC___749.esm.js";
4
4
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
5
- 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-CWsoWT9T.esm.js";
5
+ 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-DI6EoP-t.esm.js";
6
6
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
7
7
  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";
8
- 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-Dz4BHBKH.esm.js";
8
+ 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-Mnm0GQ86.esm.js";
9
9
  import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
10
- 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-BcIssrB9.esm.js";
10
+ 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-DSdhXRQu.esm.js";
11
11
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
12
- import "./trueSight-BhT3XW_z.esm.js";
12
+ import "./trueSight-BmCKcuV3.esm.js";
13
13
  import { i as setVideoSelfieServiceUrl } from "./videoSelfieUploadService-DgQJXRoo.esm.js";
14
14
  import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-yk8Pi9sH.esm.js";
15
15
  import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
16
- import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-BRcnh1jV.esm.js";
16
+ import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-DqGz9Zp-.esm.js";
17
17
  //#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
18
18
  var BrowserPageLifecycleProvider = class {
19
19
  sendBeacon(url, body, contentType = "application/json") {
@@ -0,0 +1 @@
1
+ import "./trueSightService-Mnm0GQ86.esm.js";
@@ -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-CAMgb9f3.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-ARzPZeUX.esm.js";
6
6
  import { t as endpoints } from "./endpoints-DmVOhy8C.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-B85di8ba.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
1323
+ cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-CEfyW9eB.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
1324
1324
  return cryptoProviderPromise;
1325
1325
  }
1326
1326
  /**
@@ -92,9 +92,11 @@ type VideoSelfieRecordingDependencies = {
92
92
  * user can fix by getting back online (the UI shows the connection-error
93
93
  * copy); `technical` is every other recoverable failure (raw detail stays in
94
94
  * `error` for diagnostics/hosts, the UI shows its generic fallback);
95
- * `maxVideoLengthReached` is the configured recording limit.
95
+ * `maxVideoLengthReached` is the configured recording limit; and
96
+ * `validationAttemptsExhausted` terminates the module after the last allowed
97
+ * ID or selfie validation failure.
96
98
  */
97
- type VideoSelfieErrorKind = 'connection' | 'technical' | 'maxVideoLengthReached';
99
+ type VideoSelfieErrorKind = 'connection' | 'technical' | 'maxVideoLengthReached' | 'validationAttemptsExhausted';
98
100
  //#endregion
99
101
  //#region src/modules/video-selfie/videoSelfieRecordingActor.d.ts
100
102
  type CreateVideoSelfieRecordingActorOptions = {
@@ -145,8 +147,9 @@ type VideoSelfieRecordingState = {
145
147
  * Why the module errored: `connection` (transport failure — the UI shows
146
148
  * the connection-error copy; raw detail stays in `error` for diagnostics)
147
149
  * or `technical` (recoverable technical failures), or
148
- * `maxVideoLengthReached` (the configured recording limit). Set
149
- * when `status === 'error'`.
150
+ * `maxVideoLengthReached` (the configured recording limit), or
151
+ * `validationAttemptsExhausted` (terminal ID/selfie validation failure).
152
+ * Set when `status === 'error'`.
150
153
  */
151
154
  errorKind: VideoSelfieErrorKind | undefined;
152
155
  };
@@ -312,4 +315,7 @@ declare const videoSelfieFlowModuleMachine: StateMachine<MachineContext, AnyEven
312
315
  };
313
316
  }>;
314
317
  //#endregion
315
- export { type ConsentRecorder, type CreateVideoSelfieRecordingActorOptions, type VideoSelfieCameraWarmer, type VideoSelfieConfig, type VideoSelfieQuestion, type VideoSelfieRecordingManager, type VideoSelfieRecordingState, type VideoSelfieRecordingStatus, type VideoSelfieStep, createConsentRecorder, createVideoSelfieCameraWarmer, createVideoSelfieRecordingManager, facingModeForStep, getVideoSelfieQuestions, getVoiceConsentPhrase, resolveVideoSelfieSteps, videoSelfieFlowModuleMachine, videoSelfieWasmPipelines, warmupVideoSelfieWasm };
318
+ //#region src/internal/orchestration/advanceableErrors.d.ts
319
+ declare const VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE = "VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED";
320
+ //#endregion
321
+ export { type ConsentRecorder, type CreateVideoSelfieRecordingActorOptions, VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE, type VideoSelfieCameraWarmer, type VideoSelfieConfig, type VideoSelfieQuestion, type VideoSelfieRecordingManager, type VideoSelfieRecordingState, type VideoSelfieRecordingStatus, type VideoSelfieStep, createConsentRecorder, createVideoSelfieCameraWarmer, createVideoSelfieRecordingManager, facingModeForStep, getVideoSelfieQuestions, getVoiceConsentPhrase, resolveVideoSelfieSteps, videoSelfieFlowModuleMachine, videoSelfieWasmPipelines, warmupVideoSelfieWasm };
@@ -1,13 +1,14 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-7CmStgyt.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-DrVkPLOh.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-B-1UrcWx.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-DmVOhy8C.esm.js";
6
- import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-BRcnh1jV.esm.js";
6
+ import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-DqGz9Zp-.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 MultipartRecordingService } from "./multipartRecordingService-CtM4Zn7o.esm.js";
10
- import { i as createDefaultStepDetector, n as defaultAcquireCamera, o as isConnectionError, r as CameraCompositor, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-CpS557G1.esm.js";
10
+ import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-CpF2cBy6.esm.js";
11
+ import { i as createDefaultStepDetector, n as defaultAcquireCamera, o as isConnectionError, r as CameraCompositor, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-D9405MxI.esm.js";
11
12
  //#region src/modules/video-selfie/videoSelfieRecordingMachine.ts
12
13
  /** A detector that never settles — used when a step has no auto-capture yet. */
13
14
  const manualStepDetector = () => new Promise(() => {});
@@ -55,14 +56,6 @@ function normalizeMaxVideoLength(seconds) {
55
56
  if (typeof seconds === "number" && Number.isFinite(seconds) && seconds > 0) return seconds;
56
57
  return DEFAULT_MAX_VIDEO_LENGTH_SECONDS;
57
58
  }
58
- function isIdStep(step) {
59
- return step === "frontId" || step === "backId";
60
- }
61
- function nextModuleIndex(context) {
62
- let index = context.stepIndex + 1;
63
- while (isIdStep(context.steps[index])) index += 1;
64
- return index;
65
- }
66
59
  function waitForDwell(ms, signal) {
67
60
  const timerProvider = BrowserTimerProvider.getInstance();
68
61
  return new Promise((resolve) => {
@@ -207,11 +200,6 @@ const videoSelfieRecordingSetup = setup({
207
200
  attemptsRemaining: ({ context }) => context.attemptsPerStep,
208
201
  validationFailure: () => void 0
209
202
  }),
210
- advancePastIdSection: assign({
211
- stepIndex: ({ context }) => nextModuleIndex(context),
212
- attemptsRemaining: ({ context }) => context.attemptsPerStep,
213
- validationFailure: () => void 0
214
- }),
215
203
  setDetectionStatus: assign({ detectionStatus: ({ event }) => detectionStatusFromEvent(event) }),
216
204
  setOrientation: assign({ orientation: ({ event }) => orientationFromEvent(event) }),
217
205
  setDetectionError: assign({ detectionError: ({ event }) => detectionErrorFromEvent(event) }),
@@ -242,6 +230,10 @@ const videoSelfieRecordingSetup = setup({
242
230
  error: () => "maxVideoLengthReached",
243
231
  errorKind: () => "maxVideoLengthReached"
244
232
  }),
233
+ setValidationAttemptsExhausted: assign({
234
+ error: () => "Video selfie validation attempts exhausted",
235
+ errorKind: () => "validationAttemptsExhausted"
236
+ }),
245
237
  resetSession: assign(({ context }) => ({
246
238
  stepIndex: 0,
247
239
  stream: void 0,
@@ -265,16 +257,11 @@ const videoSelfieRecordingSetup = setup({
265
257
  isLastStep: ({ context }) => context.stepIndex >= context.steps.length - 1,
266
258
  hasAttemptsRemaining: ({ context }) => context.attemptsRemaining === UNLIMITED_ATTEMPTS || context.attemptsRemaining > 0,
267
259
  nextStepFlipsId: ({ context }) => context.steps[context.stepIndex] === "frontId" && context.steps[context.stepIndex + 1] === "backId",
268
- exhaustedIdFinishes: ({ context }) => isIdStep(context.steps[context.stepIndex]) && nextModuleIndex(context) >= context.steps.length,
269
- nextModuleFlipsCamera: ({ context }) => isIdStep(context.steps[context.stepIndex]) && facingModeForStep(context.steps[context.stepIndex]) !== facingModeForStep(context.steps[nextModuleIndex(context)]),
270
- isIdExhaustion: ({ context }) => isIdStep(context.steps[context.stepIndex]),
271
- exhaustedNonIdFinishes: ({ context }) => !isIdStep(context.steps[context.stepIndex]) && context.stepIndex >= context.steps.length - 1,
272
- exhaustedNonIdNextStepFlipsCamera: ({ context }) => !isIdStep(context.steps[context.stepIndex]) && facingModeForStep(context.steps[context.stepIndex]) !== facingModeForStep(context.steps[context.stepIndex + 1]),
273
- isNonIdExhaustion: ({ context }) => !isIdStep(context.steps[context.stepIndex]),
274
260
  nextStepFlipsCamera: ({ context }) => facingModeForStep(context.steps[context.stepIndex]) !== facingModeForStep(context.steps[context.stepIndex + 1]),
275
261
  uploadReturnedNoRecordingId: ({ event }) => recordingIdFromEvent(event) === null,
276
262
  maxVideoLengthWasReached: ({ context }) => context.errorKind === "maxVideoLengthReached",
277
- errorIsRetryable: ({ context }) => context.errorKind !== "maxVideoLengthReached"
263
+ validationAttemptsWereExhausted: ({ context }) => context.errorKind === "validationAttemptsExhausted",
264
+ errorIsRetryable: ({ context }) => context.errorKind !== "maxVideoLengthReached" && context.errorKind !== "validationAttemptsExhausted"
278
265
  }
279
266
  });
280
267
  const ADVANCE_TRANSITIONS = [
@@ -407,38 +394,10 @@ const videoSelfieRecordingMachine = videoSelfieRecordingSetup.createMachine({
407
394
  after: { VALIDATION_FEEDBACK_DWELL: [{
408
395
  target: "recording",
409
396
  guard: "hasAttemptsRemaining"
410
- }, ...[
411
- {
412
- target: "finalizing",
413
- guard: "exhaustedIdFinishes"
414
- },
415
- {
416
- target: "switchingCamera",
417
- guard: "nextModuleFlipsCamera",
418
- actions: "advancePastIdSection"
419
- },
420
- {
421
- target: "recording",
422
- reenter: true,
423
- guard: "isIdExhaustion",
424
- actions: "advancePastIdSection"
425
- },
426
- {
427
- target: "finalizing",
428
- guard: "exhaustedNonIdFinishes"
429
- },
430
- {
431
- target: "switchingCamera",
432
- guard: "exhaustedNonIdNextStepFlipsCamera",
433
- actions: "advanceStep"
434
- },
435
- {
436
- target: "recording",
437
- reenter: true,
438
- guard: "isNonIdExhaustion",
439
- actions: "advanceStep"
440
- }
441
- ]] }
397
+ }, {
398
+ target: "finalizing",
399
+ actions: "setValidationAttemptsExhausted"
400
+ }] }
442
401
  },
443
402
  flippingId: {
444
403
  after: { ID_FLIP_DWELL: {
@@ -491,6 +450,11 @@ const videoSelfieRecordingMachine = videoSelfieRecordingSetup.createMachine({
491
450
  guard: "maxVideoLengthWasReached",
492
451
  actions: assign({ recordingId: ({ event }) => recordingIdFromEvent(event) })
493
452
  },
453
+ {
454
+ target: "error",
455
+ guard: "validationAttemptsWereExhausted",
456
+ actions: assign({ recordingId: ({ event }) => recordingIdFromEvent(event) })
457
+ },
494
458
  {
495
459
  target: "error",
496
460
  guard: "uploadReturnedNoRecordingId",
@@ -501,13 +465,20 @@ const videoSelfieRecordingMachine = videoSelfieRecordingSetup.createMachine({
501
465
  actions: assign({ recordingId: ({ event }) => recordingIdFromEvent(event) })
502
466
  }
503
467
  ],
504
- onError: [{
505
- target: "error",
506
- guard: "maxVideoLengthWasReached"
507
- }, {
508
- target: "error",
509
- actions: assign({ error: ({ event }) => errorFromEvent(event) })
510
- }]
468
+ onError: [
469
+ {
470
+ target: "error",
471
+ guard: "maxVideoLengthWasReached"
472
+ },
473
+ {
474
+ target: "error",
475
+ guard: "validationAttemptsWereExhausted"
476
+ },
477
+ {
478
+ target: "error",
479
+ actions: assign({ error: ({ event }) => errorFromEvent(event) })
480
+ }
481
+ ]
511
482
  }
512
483
  },
513
484
  success: {
@@ -1112,4 +1083,4 @@ const videoSelfieFlowModuleMachine = setup({}).createMachine({
1112
1083
  states: { running: {} }
1113
1084
  });
1114
1085
  //#endregion
1115
- export { createConsentRecorder, createVideoSelfieCameraWarmer, createVideoSelfieRecordingManager, facingModeForStep, getVideoSelfieQuestions, getVoiceConsentPhrase, resolveVideoSelfieSteps, videoSelfieFlowModuleMachine, videoSelfieWasmPipelines, warmupVideoSelfieWasm };
1086
+ export { VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE, createConsentRecorder, createVideoSelfieCameraWarmer, createVideoSelfieRecordingManager, facingModeForStep, getVideoSelfieQuestions, getVoiceConsentPhrase, resolveVideoSelfieSteps, videoSelfieFlowModuleMachine, videoSelfieWasmPipelines, warmupVideoSelfieWasm };
@@ -1,10 +1,10 @@
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-DmVOhy8C.esm.js";
4
- import { l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-BRcnh1jV.esm.js";
4
+ import { l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-DqGz9Zp-.esm.js";
5
5
  import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
6
6
  import { t as checkPermission } from "./permissionServices-QCFFUVkj.esm.js";
7
- import { a as encryptSelfieImage, l as startDetection, p as FaceDetectionProvider } from "./onDeviceFaceResults-CNnMZZDE.esm.js";
7
+ import { a as encryptSelfieImage, l as startDetection, p as FaceDetectionProvider } from "./onDeviceFaceResults-DlPQD2Vi.esm.js";
8
8
  import { a as StreamCanvasProcessingSession } from "./recordingsRepository-DJcl1k_o.esm.js";
9
9
  import { n as getBackCameraStream } from "./backCameraStream-B1fulX20.esm.js";
10
10
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
package/dist/wasm.esm.js CHANGED
@@ -1,7 +1,7 @@
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
2
  import { a as resolveWasmConfig, n as buildDefaultWasmConfig, r as buildWasmConfigFromBasePath, t as DEFAULT_WASM_VERSION } from "./wasmDefaults-DEOK0oAq.esm.js";
3
3
  import { c as warmupWasm } from "./safeStorage-7CmStgyt.esm.js";
4
- import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-DrVkPLOh.esm.js";
4
+ import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-B-1UrcWx.esm.js";
5
5
  //#region src/defineWasm.ts
6
6
  function requiredModels(pipelines) {
7
7
  const models = /* @__PURE__ */ new Set();
@@ -1,30 +1,30 @@
1
- import { E as updateFeatureManagementUser } from "./feature-management-CWsoWT9T.esm.js";
1
+ import { E as updateFeatureManagementUser } from "./feature-management-DI6EoP-t.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { l as trueSightLog } from "./trueSightService-Dz4BHBKH.esm.js";
3
+ import { l as trueSightLog } from "./trueSightService-Mnm0GQ86.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-BcIssrB9.esm.js";
5
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-DSdhXRQu.esm.js";
6
6
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
7
- import "./trueSight-BhT3XW_z.esm.js";
8
- import { r as toIncodeApiError } from "./apiError-B7CBGqgv.esm.js";
9
- import { g as toEkybConfig } from "./flowServices-BRcnh1jV.esm.js";
7
+ import "./trueSight-BmCKcuV3.esm.js";
8
+ import { r as toIncodeApiError } from "./apiError-nxVspUZp.esm.js";
9
+ import { g as toEkybConfig } from "./flowServices-DqGz9Zp-.esm.js";
10
10
  import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
11
11
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
12
12
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
13
- import { r as electronicSignatureMachine } from "./electronicSignatureManager-BoLbzBmI.esm.js";
13
+ import { r as electronicSignatureMachine } from "./electronicSignatureManager-CPbqswBz.esm.js";
14
14
  import "./ae-signature.esm.js";
15
15
  import { t as antifraudMachine } from "./antifraudStateMachine-BbQHUtiP.esm.js";
16
- import { t as authenticationMachine } from "./authenticationStateMachine-C4hEuLUe.esm.js";
16
+ import { t as authenticationMachine } from "./authenticationStateMachine-BB37b2sa.esm.js";
17
17
  import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-DzeHkIBz.esm.js";
18
18
  import { t as consentMachine } from "./consentStateMachine-BR3GbTo-.esm.js";
19
19
  import { t as curpValidationMachine } from "./curpValidationStateMachine-C0oUpnSn.esm.js";
20
20
  import { t as customWatchlistMachine } from "./customWatchlistStateMachine-CcTcxUWB.esm.js";
21
21
  import { t as documentCaptureMachine } from "./documentCaptureStateMachine-BmcBWiUz.esm.js";
22
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Cgc6fwvM.esm.js";
23
- import { t as ekybMachine } from "./ekybStateMachine-Cc36kFCN.esm.js";
22
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Jq5dtVKJ.esm.js";
23
+ import { t as ekybMachine } from "./ekybStateMachine-BirCa1y_.esm.js";
24
24
  import { t as ekycMachine } from "./ekycStateMachine-BcR18cwd.esm.js";
25
25
  import { t as emailMachine } from "./emailStateMachine-DctFPQzv.esm.js";
26
- import { t as selfieMachine } from "./selfieStateMachine-CEiMXdAS.esm.js";
27
- import { t as idCaptureMachine } from "./idCaptureStateMachine-CkXrq94k.esm.js";
26
+ import { t as selfieMachine } from "./selfieStateMachine-GHrQ8Eni.esm.js";
27
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-OkpTGQ2j.esm.js";
28
28
  import { t as phoneMachine } from "./phoneStateMachine-D2Fsk_nR.esm.js";
29
29
  import { t as watchlistMachine } from "./watchlistStateMachine-BX0ru7Xm.esm.js";
30
30
  import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-DhRnoV3g.esm.js";
@@ -33,12 +33,13 @@ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-Dna
33
33
  import { t as idOcrStateMachine } from "./idOcrStateMachine-Mj6SnPB9.esm.js";
34
34
  import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-BQF4XlIF.esm.js";
35
35
  import { t as signatureMachine } from "./signatureStateMachine-CjF5HKRm.esm.js";
36
- import { t as geolocationMachine } from "./geolocationStateMachine-DbqccFEZ.esm.js";
36
+ import { t as geolocationMachine } from "./geolocationStateMachine-CFBR-FWK.esm.js";
37
37
  import { t as governmentValidationMachine } from "./governmentValidationStateMachine-CU1vflz7.esm.js";
38
38
  import { t as idVerificationMachine } from "./idVerificationStateMachine-BviHflvW.esm.js";
39
39
  import { t as faceMatchMachine } from "./faceMatchStateMachine-HlYXmhIN.esm.js";
40
- import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-HNaLSv9Q.esm.js";
41
- import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BmuHaUFg.esm.js";
40
+ import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-Clb3QNZK.esm.js";
41
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-B3UOSJYj.esm.js";
42
+ import { n as isAdvanceableError } from "./advanceableErrors-CpF2cBy6.esm.js";
42
43
  import "./qe-signature.esm.js";
43
44
  //#region src/internal/orchestration/defaultModules.ts
44
45
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20260826-ffaa247e",
3
+ "version": "0.0.0-dev-20260826-2bc864d6",
4
4
  "license": "ISC",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +0,0 @@
1
- import "./trueSightService-Dz4BHBKH.esm.js";