@incodetech/core 0.0.0-dev-20261013-75824203 → 0.0.0-dev-20261014-e4db9c02

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 (56) hide show
  1. package/dist/{FaceDetectionProvider-CWloXJRR.esm.js → FaceDetectionProvider-9IwB7jcM.esm.js} +5 -5
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-BeAPzZDM.esm.js → apiError-CFwIWUtz.esm.js} +1 -1
  4. package/dist/authentication.esm.js +2 -2
  5. package/dist/{authenticationManager-pDTFBVju.esm.js → authenticationManager-DHrqI5Le.esm.js} +3 -3
  6. package/dist/{authenticationStateMachine-DKKvEXzj.esm.js → authenticationStateMachine-CDsC16Jn.esm.js} +2 -2
  7. package/dist/consent.d.ts +1 -1
  8. package/dist/{consentManager-Ca8FHlC4.d.ts → consentManager-Cv_0QKLD.d.ts} +8 -8
  9. package/dist/{deepsightLoader-DOjhBftz.esm.js → deepsightLoader-CWjI76eb.esm.js} +4 -4
  10. package/dist/{deepsightService-D6MQez_g.esm.js → deepsightService-Dq_9MGNi.esm.js} +1 -1
  11. package/dist/dynamic-forms.esm.js +2 -2
  12. package/dist/{dynamicFormsManager-CInPltmY.esm.js → dynamicFormsManager-CCzxliyj.esm.js} +1 -1
  13. package/dist/{dynamicFormsStateMachine--lK9ixT0.esm.js → dynamicFormsStateMachine-DVbgcw96.esm.js} +1 -1
  14. package/dist/ekyb.esm.js +3 -3
  15. package/dist/{ekybManager-CoA0ywXs.esm.js → ekybManager-DtdNyCkV.esm.js} +1 -1
  16. package/dist/{ekybStateMachine-CZAa78rX.esm.js → ekybStateMachine-Cd0nGdXM.esm.js} +1 -1
  17. package/dist/electronic-signature.esm.js +1 -1
  18. package/dist/{electronicSignatureManager-CZM10VWG.esm.js → electronicSignatureManager-B_SHlY1L.esm.js} +1 -1
  19. package/dist/extensibility.d.ts +2 -2
  20. package/dist/extensibility.esm.js +10 -10
  21. package/dist/{faceCaptureManagerFactory-B0ChkbHO.esm.js → faceCaptureManagerFactory-1uGiHaoF.esm.js} +1 -1
  22. package/dist/{faceCaptureSetup-BETK6qgV.esm.js → faceCaptureSetup-BYnZ3A8a.esm.js} +3 -3
  23. package/dist/{feature-management-CjSNOOEK.esm.js → feature-management-XxXkowCy.esm.js} +1 -1
  24. package/dist/feature-management.esm.js +1 -1
  25. package/dist/flow.esm.js +3 -3
  26. package/dist/{flowCompletionService-CDrTSDWi.esm.js → flowCompletionService-OHsAMzl8.esm.js} +1 -1
  27. package/dist/{flowServices-BqA2UNS7.esm.js → flowServices-D3b4BP89.esm.js} +4 -4
  28. package/dist/geolocation.esm.js +2 -2
  29. package/dist/{geolocationManager-DrtiX_4F.esm.js → geolocationManager-DqI8ho5R.esm.js} +1 -1
  30. package/dist/{geolocationStateMachine-2yZdnsa8.esm.js → geolocationStateMachine-Je2uPWor.esm.js} +1 -1
  31. package/dist/id-selfie-flow.esm.js +7 -7
  32. package/dist/id.esm.js +3 -3
  33. package/dist/{idCaptureDefaults--tlnATlf.esm.js → idCaptureDefaults-BjP8SevF.esm.js} +1 -1
  34. package/dist/{idCaptureManager-dmNToLFS.esm.js → idCaptureManager-I5L_IVbR.esm.js} +3 -3
  35. package/dist/{idCaptureServices-C3QEVuvc.esm.js → idCaptureServices-t11U9Anc.esm.js} +3 -3
  36. package/dist/{idCaptureStateMachine-DRXsQZFJ.esm.js → idCaptureStateMachine-Dv1tDMKs.esm.js} +10 -10
  37. package/dist/index.esm.js +1 -1
  38. package/dist/mandatory-consent.d.ts +1 -1
  39. package/dist/{mandatoryConsentManager-ntGT3XBv.d.ts → mandatoryConsentManager-BkaLkcA2.d.ts} +4 -4
  40. package/dist/qe-signature.esm.js +1 -1
  41. package/dist/{runChildModule-CVXovJlV.esm.js → runChildModule-9q7BQwPd.esm.js} +1 -1
  42. package/dist/{sdkVersion-Y7IQXZ5k.esm.js → sdkVersion-g8ehOQhP.esm.js} +1 -1
  43. package/dist/selfie.esm.js +6 -6
  44. package/dist/{selfieErrorUtils-0lqrKeK0.esm.js → selfieErrorUtils-zRAt9WeG.esm.js} +1 -1
  45. package/dist/{selfieManager-BbIQd3r6.esm.js → selfieManager-BVcizHEI.esm.js} +3 -3
  46. package/dist/{selfieStateMachine-Cfz-v_ul.esm.js → selfieStateMachine-CBkLfNU3.esm.js} +3 -3
  47. package/dist/{session-BtAfezmP.esm.js → session-XeaMJEO1.esm.js} +3 -3
  48. package/dist/session.esm.js +4 -4
  49. package/dist/{sessionInitializer-COjKhqZA.esm.js → sessionInitializer-LBbZHbPK.esm.js} +3 -3
  50. package/dist/{setup-Cd3qwYH2.esm.js → setup-CkMpP7pu.esm.js} +4 -4
  51. package/dist/{trueSightService-DfbQQuWW.esm.js → trueSightService-DtuHbL0_.esm.js} +1 -1
  52. package/dist/video-selfie.esm.js +3 -3
  53. package/dist/{videoSelfieCameraWarmer-BGFsB1is.esm.js → videoSelfieCameraWarmer-pt56Pcfi.esm.js} +4 -4
  54. package/dist/wasm.esm.js +2 -2
  55. package/dist/workflow.esm.js +14 -14
  56. package/package.json +1 -1
@@ -1,17 +1,17 @@
1
- import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-DfbQQuWW.esm.js";
1
+ import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-DtuHbL0_.esm.js";
2
2
  import { s as wasmRuntime } from "./warmup-DMtbyb2l.esm.js";
3
3
  import { r as BaseWasmProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
4
4
  import { t as api } from "./api-Bx3gKW_y.esm.js";
5
- import { t as ensureWasmPipelines } from "./setup-Cd3qwYH2.esm.js";
5
+ import { t as ensureWasmPipelines } from "./setup-CkMpP7pu.esm.js";
6
6
  import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
7
- import "./sessionInitializer-COjKhqZA.esm.js";
7
+ import "./sessionInitializer-LBbZHbPK.esm.js";
8
8
  import { t as addDeviceStats } from "./stats-DmG_tkGk.esm.js";
9
9
  import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-DkcRc9JV.esm.js";
10
10
  import { i as requestCameraAccess, o as stopCameraStream, r as getCameraReacquisitionConstraints } from "./camera-sIa9ceW2.esm.js";
11
11
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
12
12
  import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-DbeQpXdU.esm.js";
13
13
  import { i as hasBackCamera, n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-CMvXj4X4.esm.js";
14
- import "./deepsightService-D6MQez_g.esm.js";
14
+ import "./deepsightService-Dq_9MGNi.esm.js";
15
15
  import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
16
16
  //#region src/internal/faceCapture/onDeviceFaceResults.ts
17
17
  /**
@@ -272,7 +272,7 @@ function startDetection(params) {
272
272
  };
273
273
  }
274
274
  async function initializeDeepsightSession(options) {
275
- const { loadDeepsightSession } = await import("./deepsightLoader-DOjhBftz.esm.js");
275
+ const { loadDeepsightSession } = await import("./deepsightLoader-CWjI76eb.esm.js");
276
276
  return loadDeepsightSession({
277
277
  ds: options.ds,
278
278
  storage: options.storage
@@ -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-CZM10VWG.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-B_SHlY1L.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-DfbQQuWW.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-DtuHbL0_.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-DKKvEXzj.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-pDTFBVju.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-CDsC16Jn.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DHrqI5Le.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,9 +1,9 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
2
2
  import { n as eventModuleNames } from "./events-CAgFE-k3.esm.js";
3
- import { l as BrowserStorageProvider } from "./setup-Cd3qwYH2.esm.js";
3
+ import { l as BrowserStorageProvider } from "./setup-CkMpP7pu.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-B0ChkbHO.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-DKKvEXzj.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-1uGiHaoF.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-CDsC16Jn.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,7 +1,7 @@
1
1
  import { i as assign } from "./xstate.esm-DSajW7CJ.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
3
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BETK6qgV.esm.js";
4
- import { d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-CWloXJRR.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BYnZ3A8a.esm.js";
4
+ import { d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-9IwB7jcM.esm.js";
5
5
  import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-kdlhkmmY.esm.js";
6
6
  //#region src/modules/authentication/authenticationErrorUtils.ts
7
7
  const AUTH_ERROR_MAP = {
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-Ca8FHlC4.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-Cv_0QKLD.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -77,14 +77,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
77
77
  type: "setError";
78
78
  params: NonReducibleUnknown;
79
79
  };
80
- setConsentData: {
81
- type: "setConsentData";
82
- params: NonReducibleUnknown;
83
- };
84
- toggleCheckbox: {
85
- type: "toggleCheckbox";
86
- params: NonReducibleUnknown;
87
- };
88
80
  clearError: {
89
81
  type: "clearError";
90
82
  params: NonReducibleUnknown;
@@ -93,6 +85,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
93
85
  type: "resetContext";
94
86
  params: NonReducibleUnknown;
95
87
  };
88
+ setConsentData: {
89
+ type: "setConsentData";
90
+ params: NonReducibleUnknown;
91
+ };
92
+ toggleCheckbox: {
93
+ type: "toggleCheckbox";
94
+ params: NonReducibleUnknown;
95
+ };
96
96
  }>, {
97
97
  type: "canSubmit";
98
98
  params: unknown;
@@ -1,10 +1,10 @@
1
- import { l as trueSightLog } from "./trueSightService-DfbQQuWW.esm.js";
1
+ import { l as trueSightLog } from "./trueSightService-DtuHbL0_.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
3
- import { t as SDK_VERSION } from "./sdkVersion-Y7IQXZ5k.esm.js";
4
- import { _ as IpifyProvider, b as BrowserEnvironmentProvider, n as getFingerprintEnabled, t as getDisableIpify } from "./sessionInitializer-COjKhqZA.esm.js";
3
+ import { t as SDK_VERSION } from "./sdkVersion-g8ehOQhP.esm.js";
4
+ import { _ as IpifyProvider, b as BrowserEnvironmentProvider, n as getFingerprintEnabled, t as getDisableIpify } from "./sessionInitializer-LBbZHbPK.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BXCGqP48.esm.js";
6
6
  import { t as MotionSensorProvider } from "./MotionSensorProvider-DYxh8TjR.esm.js";
7
- import { t as createDeepsightService } from "./deepsightService-D6MQez_g.esm.js";
7
+ import { t as createDeepsightService } from "./deepsightService-Dq_9MGNi.esm.js";
8
8
  //#region ../infra/src/providers/browser/VisibilityProvider.ts
9
9
  var VisibilityProvider = class {
10
10
  constructor() {
@@ -1,5 +1,5 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { h as isBrowserSimulation, v as getThumbmarkId, x as fingerprintSignalsReporter } from "./sessionInitializer-COjKhqZA.esm.js";
2
+ import { h as isBrowserSimulation, v as getThumbmarkId, x as fingerprintSignalsReporter } from "./sessionInitializer-LBbZHbPK.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-DmG_tkGk.esm.js";
4
4
  import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
5
5
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine--lK9ixT0.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-CInPltmY.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DVbgcw96.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-CCzxliyj.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CAgFE-k3.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-DSajW7CJ.esm.js";
4
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine--lK9ixT0.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DVbgcw96.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-DHzlkQNe.esm.js";
3
- import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-BeAPzZDM.esm.js";
3
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-CFwIWUtz.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.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 { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-BqA2UNS7.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-CZAa78rX.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-CoA0ywXs.esm.js";
1
+ import { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-D3b4BP89.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-Cd0nGdXM.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-DtdNyCkV.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-CAgFE-k3.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-DSajW7CJ.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-CZAa78rX.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-Cd0nGdXM.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-DHzlkQNe.esm.js";
3
- import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-BqA2UNS7.esm.js";
3
+ import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-D3b4BP89.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.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-Bm8zTbQJ.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-CZM10VWG.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-B_SHlY1L.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 { n as eventModuleNames, o as createManagerInstrumentation } from "./even
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
5
- import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-BeAPzZDM.esm.js";
5
+ import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-CFwIWUtz.esm.js";
6
6
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
8
8
  import { t as externalFetch } from "./externalFetch-DrR9xshk.esm.js";
@@ -12,7 +12,7 @@ import "./StreamCanvasCapture-DVmzJux5.js";
12
12
  import { G as WasmUtilProvider, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState, v as IdCaptureActor } from "./idCaptureManager-DW3eER4t.js";
13
13
  import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CANv5-W5.js";
14
14
  import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-Dr8A4Lgr.js";
15
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-Ca8FHlC4.js";
15
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-Cv_0QKLD.js";
16
16
  import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-yCWCOzcU.js";
17
17
  import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-B-1EZbP_.js";
18
18
  import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CF-cO8ap.js";
@@ -29,7 +29,7 @@ import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as Watchli
29
29
  import { i as WatchlistForBusinessState, l as WatchlistForBusinessActor, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager } from "./watchlistForBusinessManager-B3GDPZrr.js";
30
30
  import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-ooAbp6Kc.js";
31
31
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CUX4gza2.js";
32
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-ntGT3XBv.js";
32
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-BkaLkcA2.js";
33
33
  import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-DT3kPIB3.js";
34
34
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-CVsvpVbQ.js";
35
35
  import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-BpVt_Jv7.js";
@@ -1,12 +1,12 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
2
- import { l as BrowserStorageProvider } from "./setup-Cd3qwYH2.esm.js";
3
- import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-COjKhqZA.esm.js";
2
+ import { l as BrowserStorageProvider } from "./setup-CkMpP7pu.esm.js";
3
+ import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-LBbZHbPK.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
6
- import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-CZM10VWG.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-B_SHlY1L.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-HL08jeDX.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-BETK6qgV.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-pDTFBVju.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-BYnZ3A8a.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-DHrqI5Le.esm.js";
10
10
  import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-CMg4SgL4.esm.js";
11
11
  import { n as createConsentManagerFromActor } from "./consentManager-CjrxY737.esm.js";
12
12
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-BHnGRsto.esm.js";
@@ -14,12 +14,12 @@ import { n as createCurpValidationManagerFromActor } from "./curpValidationManag
14
14
  import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-BV6UyLFV.esm.js";
15
15
  import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-DML0UPzf.esm.js";
16
16
  import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-C9XUnYU6.esm.js";
17
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-CInPltmY.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-CoA0ywXs.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-CCzxliyj.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-DtdNyCkV.esm.js";
19
19
  import { n as createEkycManagerFromActor } from "./ekycManager-DZH51PnN.esm.js";
20
20
  import { n as createEmailManagerFromActor } from "./emailManager-CtlKRRaR.esm.js";
21
- import { n as createSelfieManagerFromActor } from "./selfieManager-BbIQd3r6.esm.js";
22
- import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-dmNToLFS.esm.js";
21
+ import { n as createSelfieManagerFromActor } from "./selfieManager-BVcizHEI.esm.js";
22
+ import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-I5L_IVbR.esm.js";
23
23
  import { n as createPhoneManagerFromActor } from "./phoneManager-BGBcpqsk.esm.js";
24
24
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-CNWEOYSq.esm.js";
25
25
  import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-BvF4jK3S.esm.js";
@@ -29,7 +29,7 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
29
29
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-DxoCesYP.esm.js";
30
30
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-B1yQHFLu.esm.js";
31
31
  import { n as createSignatureManagerFromActor } from "./signatureManager-qqXyH93e.esm.js";
32
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-DrtiX_4F.esm.js";
32
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-DqI8ho5R.esm.js";
33
33
  import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-CP0SiOOe.esm.js";
34
34
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-CDhRUU5n.esm.js";
35
35
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-9Nj9aPci.esm.js";
@@ -2,7 +2,7 @@ import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScr
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
4
  import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
5
- import { r as concealmentToAvatar } from "./faceCaptureSetup-BETK6qgV.esm.js";
5
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-BYnZ3A8a.esm.js";
6
6
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BXCGqP48.esm.js";
7
7
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
8
8
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-d2UW0r_L.esm.js";
@@ -1,14 +1,14 @@
1
- import { l as trueSightLog, v as isTrueSightTesting } from "./trueSightService-DfbQQuWW.esm.js";
1
+ import { l as trueSightLog, v as isTrueSightTesting } from "./trueSightService-DtuHbL0_.esm.js";
2
2
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
3
3
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
5
- import "./sessionInitializer-COjKhqZA.esm.js";
5
+ import "./sessionInitializer-LBbZHbPK.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-DmG_tkGk.esm.js";
7
7
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
8
8
  import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
9
9
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
10
10
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-d2UW0r_L.esm.js";
11
- import { a as sendLabelInspectionEvent, d as FACE_ERROR_CODES, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider, u as getFaceUploadErrorCode } from "./FaceDetectionProvider-CWloXJRR.esm.js";
11
+ import { a as sendLabelInspectionEvent, d as FACE_ERROR_CODES, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider, u as getFaceUploadErrorCode } from "./FaceDetectionProvider-9IwB7jcM.esm.js";
12
12
  import { i as flagFaceManualReview, n as runProtectedAttempt, o as PROTECTED_CAPTURE_TARGET, r as cameraCycleProvider, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-kdlhkmmY.esm.js";
13
13
  import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
14
14
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
@@ -1,5 +1,5 @@
1
1
  import { r as __toESM } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
- import { t as SDK_VERSION } from "./sdkVersion-Y7IQXZ5k.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-g8ehOQhP.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-CjSNOOEK.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-XxXkowCy.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,9 @@
1
1
  import { v as addEvent } from "./events-CAgFE-k3.esm.js";
2
- import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, j as mergeDashboardConfig, l as normalizeFlowModules, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as resolveFlowModuleConfig } from "./flowServices-BqA2UNS7.esm.js";
2
+ import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, j as mergeDashboardConfig, l as normalizeFlowModules, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as resolveFlowModuleConfig } from "./flowServices-D3b4BP89.esm.js";
3
3
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
- import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-CDrTSDWi.esm.js";
6
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CVXovJlV.esm.js";
5
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-OHsAMzl8.esm.js";
6
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-9q7BQwPd.esm.js";
7
7
  import { n as isAdvanceableError } from "./advanceableErrors-q_pfU3Cn.esm.js";
8
8
  //#region src/modules/flow/noOpFlowModuleMachine.ts
9
9
  const noOpFlowModuleMachine = /* @__PURE__ */ (() => 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-DHzlkQNe.esm.js";
3
- import { i as toIncodeApiError } from "./apiError-BeAPzZDM.esm.js";
3
+ import { i as toIncodeApiError } from "./apiError-CFwIWUtz.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,10 +1,10 @@
1
1
  import { n as getWasmStatus } from "./warmup-DMtbyb2l.esm.js";
2
2
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
3
  import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
4
- import { i as initializeSession, l as whenSessionFingerprintSettled, r as getSessionFingerprintResult, u as getStandaloneFlowPolicy } from "./sessionInitializer-COjKhqZA.esm.js";
5
- import { E as updateFeatureManagementUser } from "./feature-management-CjSNOOEK.esm.js";
6
- import { i as toIncodeApiError } from "./apiError-BeAPzZDM.esm.js";
7
- import "./session-BtAfezmP.esm.js";
4
+ import { i as initializeSession, l as whenSessionFingerprintSettled, r as getSessionFingerprintResult, u as getStandaloneFlowPolicy } from "./sessionInitializer-LBbZHbPK.esm.js";
5
+ import { E as updateFeatureManagementUser } from "./feature-management-XxXkowCy.esm.js";
6
+ import { i as toIncodeApiError } from "./apiError-CFwIWUtz.esm.js";
7
+ import "./session-XeaMJEO1.esm.js";
8
8
  import { a as toEkycConfig } from "./ekycUtils-3FIL6m1x.esm.js";
9
9
  //#region src/modules/flow/dashboardConfig.ts
10
10
  function isPlainObject(value) {
@@ -1,3 +1,3 @@
1
- import { t as createGeolocationManager } from "./geolocationManager-DrtiX_4F.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-2yZdnsa8.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-DqI8ho5R.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-Je2uPWor.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CAgFE-k3.esm.js";
2
2
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { t as geolocationMachine } from "./geolocationStateMachine-2yZdnsa8.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-Je2uPWor.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-DHzlkQNe.esm.js";
3
3
  import { a as isIOS, t as isAndroid } from "./platform-DkcRc9JV.esm.js";
4
- import { n as isConnectivityError } from "./apiError-BeAPzZDM.esm.js";
4
+ import { n as isConnectivityError } from "./apiError-CFwIWUtz.esm.js";
5
5
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
7
7
  //#region src/modules/geolocation/geolocationServices.ts
@@ -1,17 +1,17 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-Cd3qwYH2.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-CkMpP7pu.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-BqA2UNS7.esm.js";
4
+ import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-D3b4BP89.esm.js";
5
5
  import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
6
6
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
7
- import { c as processFace, l as uploadSelfie, n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-CWloXJRR.esm.js";
7
+ import { c as processFace, l as uploadSelfie, n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-9IwB7jcM.esm.js";
8
8
  import { o as StreamCanvasProcessingSession, r as CameraCompositor } from "./multipartRecordingService-DbeQpXdU.esm.js";
9
9
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
10
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults--tlnATlf.esm.js";
11
- import { _ as ID_ERROR_CODES, g as validateUploadResponse, h as uploadIdImage, u as processId } from "./idCaptureServices-C3QEVuvc.esm.js";
10
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-BjP8SevF.esm.js";
11
+ import { _ as ID_ERROR_CODES, g as validateUploadResponse, h as uploadIdImage, u as processId } from "./idCaptureServices-t11U9Anc.esm.js";
12
12
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
13
- import { n as getFinishStatus } from "./flowCompletionService-CDrTSDWi.esm.js";
14
- import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-BGFsB1is.esm.js";
13
+ import { n as getFinishStatus } from "./flowCompletionService-OHsAMzl8.esm.js";
14
+ import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-pt56Pcfi.esm.js";
15
15
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
16
16
  /** Default autocapture window for the selfie step. */
17
17
  const SELFIE_AUTOCAPTURE_MS = 1e4;
package/dist/id.esm.js CHANGED
@@ -1,6 +1,6 @@
1
- import { a as isRedirectFlowType, h as createDeviceWalletManager, i as DIGITAL_ID_REGISTRY, m as renderWallet, o as resolveDigitalIdImplementation, r as DIGITAL_ID_DOCUMENT_TYPES, t as idCaptureMachine, v as resolveWalletPlatform } from "./idCaptureStateMachine-DRXsQZFJ.esm.js";
2
- import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-dmNToLFS.esm.js";
3
- import { _ as ID_ERROR_CODES, a as getRealQualityValue, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, n as barcodeToBase64, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId } from "./idCaptureServices-C3QEVuvc.esm.js";
1
+ import { a as isRedirectFlowType, h as createDeviceWalletManager, i as DIGITAL_ID_REGISTRY, m as renderWallet, o as resolveDigitalIdImplementation, r as DIGITAL_ID_DOCUMENT_TYPES, t as idCaptureMachine, v as resolveWalletPlatform } from "./idCaptureStateMachine-Dv1tDMKs.esm.js";
2
+ import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-I5L_IVbR.esm.js";
3
+ import { _ as ID_ERROR_CODES, a as getRealQualityValue, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, n as barcodeToBase64, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId } from "./idCaptureServices-t11U9Anc.esm.js";
4
4
  //#region src/modules/id/deviceWallet/deviceWalletErrors.ts
5
5
  /**
6
6
  * Fail reason → i18n key for the device-wallet error screen (same shape as
@@ -1,5 +1,5 @@
1
1
  import { b as resolveWasmSource, p as WASM_MODEL_FILES } from "./wasmWebClient-kbYZ2sxw.esm.js";
2
- import { E as getBarcodeEnhanceModelUrl } from "./trueSightService-DfbQQuWW.esm.js";
2
+ import { E as getBarcodeEnhanceModelUrl } from "./trueSightService-DtuHbL0_.esm.js";
3
3
  import { s as wasmRuntime, t as getResolvedModelSource } from "./warmup-DMtbyb2l.esm.js";
4
4
  import { r as BaseWasmProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
5
5
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
@@ -1,5 +1,5 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CAgFE-k3.esm.js";
2
- import { l as BrowserStorageProvider } from "./setup-Cd3qwYH2.esm.js";
2
+ import { l as BrowserStorageProvider } from "./setup-CkMpP7pu.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { i as assign, s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
@@ -8,8 +8,8 @@ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BXCGqP48.esm.js";
8
8
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
9
9
  import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-d2UW0r_L.esm.js";
10
10
  import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
11
- import { _ as mapDeviceWalletScreenName, c as createIdCaptureOnlyDeliveryActor, d as captureOnlyNeedsBack, f as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, l as createIdProtectedCaptureController, n as provideIdProtectedCaptureController, p as pickIdCaptureOnlyConfig, s as attachIdProtectedCaptureController, t as idCaptureMachine, u as findIdProtectedCaptureController } from "./idCaptureStateMachine-DRXsQZFJ.esm.js";
12
- import { _ as ID_ERROR_CODES, b as resolveIdCaptureThresholds, v as resolveCaptureOptimizingTreatment, y as resolveCountdownStepMs } from "./idCaptureServices-C3QEVuvc.esm.js";
11
+ import { _ as mapDeviceWalletScreenName, c as createIdCaptureOnlyDeliveryActor, d as captureOnlyNeedsBack, f as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, l as createIdProtectedCaptureController, n as provideIdProtectedCaptureController, p as pickIdCaptureOnlyConfig, s as attachIdProtectedCaptureController, t as idCaptureMachine, u as findIdProtectedCaptureController } from "./idCaptureStateMachine-Dv1tDMKs.esm.js";
12
+ import { _ as ID_ERROR_CODES, b as resolveIdCaptureThresholds, v as resolveCaptureOptimizingTreatment, y as resolveCountdownStepMs } from "./idCaptureServices-t11U9Anc.esm.js";
13
13
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BW7V3vub.esm.js";
14
14
  //#region src/modules/id/digitalUpload/instrumentation.ts
15
15
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-Cd3qwYH2.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-CkMpP7pu.esm.js";
3
3
  import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
4
- import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-CjSNOOEK.esm.js";
4
+ import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-XxXkowCy.esm.js";
5
5
  import { i as isDesktop } from "./platform-DkcRc9JV.esm.js";
6
6
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
@@ -9,7 +9,7 @@ import { l as queryCameraPermission } from "./permissionServices-d2UW0r_L.esm.js
9
9
  import { i as createRecordingCompositor, n as WorkerEncoderRecordingProvider, t as MultipartRecordingService } from "./multipartRecordingService-DbeQpXdU.esm.js";
10
10
  import { n as getBackCameraStream, o as isBackFacingTrack } from "./backCameraStream-CMvXj4X4.esm.js";
11
11
  import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
12
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults--tlnATlf.esm.js";
12
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-BjP8SevF.esm.js";
13
13
  //#region src/internal/camera/cameraServices.ts
14
14
  function createCameraServices(camera) {
15
15
  return {
@@ -1,16 +1,16 @@
1
- import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity, v as isTrueSightTesting } from "./trueSightService-DfbQQuWW.esm.js";
1
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity, v as isTrueSightTesting } from "./trueSightService-DtuHbL0_.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
3
3
  import { n as revokeObjectURL, t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
4
4
  import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce, v as addEvent } from "./events-CAgFE-k3.esm.js";
5
5
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
6
- import { l as BrowserStorageProvider } from "./setup-Cd3qwYH2.esm.js";
6
+ import { l as BrowserStorageProvider } from "./setup-CkMpP7pu.esm.js";
7
7
  import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
8
- import { t as getDisableIpify } from "./sessionInitializer-COjKhqZA.esm.js";
8
+ import { t as getDisableIpify } from "./sessionInitializer-LBbZHbPK.esm.js";
9
9
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
10
- import { s as exposeExperimentOnce } from "./feature-management-CjSNOOEK.esm.js";
10
+ import { s as exposeExperimentOnce } from "./feature-management-XxXkowCy.esm.js";
11
11
  import { t as addDeviceStats } from "./stats-DmG_tkGk.esm.js";
12
12
  import { a as isIOS, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-DkcRc9JV.esm.js";
13
- import "./session-BtAfezmP.esm.js";
13
+ import "./session-XeaMJEO1.esm.js";
14
14
  import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
15
15
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
16
16
  import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-6jsE6rKp.esm.js";
@@ -24,10 +24,10 @@ import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
24
24
  import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
25
25
  import { a as isBackCameraLabel } from "./backCameraStream-CMvXj4X4.esm.js";
26
26
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
27
- import { n as frameSources, r as runVirtualCameraCheck } from "./deepsightService-D6MQez_g.esm.js";
27
+ import { n as frameSources, r as runVirtualCameraCheck } from "./deepsightService-Dq_9MGNi.esm.js";
28
28
  import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
29
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults--tlnATlf.esm.js";
30
- import { C as getIdCameraStream, S as OPTIMIZING_WATCHDOG_MARGIN_MS, _ as ID_ERROR_CODES, a as getRealQualityValue, b as resolveIdCaptureThresholds, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId, x as CAPTURE_OPTIMIZING, y as resolveCountdownStepMs } from "./idCaptureServices-C3QEVuvc.esm.js";
29
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-BjP8SevF.esm.js";
30
+ import { C as getIdCameraStream, S as OPTIMIZING_WATCHDOG_MARGIN_MS, _ as ID_ERROR_CODES, a as getRealQualityValue, b as resolveIdCaptureThresholds, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId, x as CAPTURE_OPTIMIZING, y as resolveCountdownStepMs } from "./idCaptureServices-t11U9Anc.esm.js";
31
31
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
32
32
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
33
33
  const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
@@ -1398,7 +1398,7 @@ fromPromise(async ({ input }) => {
1398
1398
  });
1399
1399
  fromPromise(async ({ input }) => {
1400
1400
  if (!input.dependencies) return;
1401
- const { loadDeepsightSession } = await import("./deepsightLoader-DOjhBftz.esm.js");
1401
+ const { loadDeepsightSession } = await import("./deepsightLoader-CWjI76eb.esm.js");
1402
1402
  return loadDeepsightSession({
1403
1403
  ds: input.ds,
1404
1404
  storage: input.dependencies.storage,
@@ -1841,7 +1841,7 @@ function cleanup(service) {
1841
1841
  service.cleanup();
1842
1842
  } catch {}
1843
1843
  }
1844
- function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-DOjhBftz.esm.js")).loadDeepsightSession(input)) {
1844
+ function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-CWjI76eb.esm.js")).loadDeepsightSession(input)) {
1845
1845
  let disposed = false;
1846
1846
  let preparation;
1847
1847
  let service;
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, r as isConfigured, s as setup } from "./setup-Cd3qwYH2.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-CkMpP7pu.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,3 +1,3 @@
1
1
  import { r as MandatoryConsentConfig } from "./types-BvFmYX5c.js";
2
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-ntGT3XBv.js";
2
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-BkaLkcA2.js";
3
3
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -56,6 +56,10 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
56
56
  type: "setError";
57
57
  params: NonReducibleUnknown;
58
58
  };
59
+ toggleSigned: {
60
+ type: "toggleSigned";
61
+ params: NonReducibleUnknown;
62
+ };
59
63
  clearError: {
60
64
  type: "clearError";
61
65
  params: NonReducibleUnknown;
@@ -64,10 +68,6 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
64
68
  type: "resetContext";
65
69
  params: NonReducibleUnknown;
66
70
  };
67
- toggleSigned: {
68
- type: "toggleSigned";
69
- params: NonReducibleUnknown;
70
- };
71
71
  }>, {
72
72
  type: "canSubmit";
73
73
  params: unknown;
@@ -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-CZM10VWG.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-B_SHlY1L.esm.js";
2
2
  //#region src/modules/qe-signature/index.ts
3
3
  function createQeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,4 +1,4 @@
1
- import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-DfbQQuWW.esm.js";
1
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-DtuHbL0_.esm.js";
2
2
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
3
3
  import { C as createEventBus } from "./events-CAgFE-k3.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
@@ -1,4 +1,4 @@
1
1
  //#region src/internal/version/sdkVersion.ts
2
- const SDK_VERSION = "0.0.0-dev-20261013-75824203";
2
+ const SDK_VERSION = "0.0.0-dev-20261014-e4db9c02";
3
3
  //#endregion
4
4
  export { SDK_VERSION as t };
@@ -1,14 +1,14 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
2
2
  import { n as eventModuleNames } from "./events-CAgFE-k3.esm.js";
3
- import { l as BrowserStorageProvider } from "./setup-Cd3qwYH2.esm.js";
3
+ import { l as BrowserStorageProvider } from "./setup-CkMpP7pu.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
6
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BETK6qgV.esm.js";
7
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-B0ChkbHO.esm.js";
8
- import { c as processFace } from "./FaceDetectionProvider-CWloXJRR.esm.js";
6
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BYnZ3A8a.esm.js";
7
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-1uGiHaoF.esm.js";
8
+ import { c as processFace } from "./FaceDetectionProvider-9IwB7jcM.esm.js";
9
9
  import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-kdlhkmmY.esm.js";
10
- import { t as selfieMachine } from "./selfieStateMachine-Cfz-v_ul.esm.js";
11
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BbIQd3r6.esm.js";
10
+ import { t as selfieMachine } from "./selfieStateMachine-CBkLfNU3.esm.js";
11
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BVcizHEI.esm.js";
12
12
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BW7V3vub.esm.js";
13
13
  /**
14
14
  * Selfie state machine variant for the captureOnly flow. Shares the full base
@@ -1,4 +1,4 @@
1
- import { d as FACE_ERROR_CODES } from "./FaceDetectionProvider-CWloXJRR.esm.js";
1
+ import { d as FACE_ERROR_CODES } from "./FaceDetectionProvider-9IwB7jcM.esm.js";
2
2
  //#region src/modules/selfie/selfieErrorUtils.ts
3
3
  const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
4
4
  const isFaceErrorCode = (value) => {
@@ -1,9 +1,9 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
2
2
  import { n as eventModuleNames } from "./events-CAgFE-k3.esm.js";
3
- import { l as BrowserStorageProvider } from "./setup-Cd3qwYH2.esm.js";
3
+ import { l as BrowserStorageProvider } from "./setup-CkMpP7pu.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-B0ChkbHO.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-Cfz-v_ul.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-1uGiHaoF.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-CBkLfNU3.esm.js";
7
7
  //#region src/modules/selfie/selfieActor.ts
8
8
  function createSelfieActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,8 +1,8 @@
1
1
  import { i as assign } from "./xstate.esm-DSajW7CJ.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
3
- import { t as faceCaptureMachine } from "./faceCaptureSetup-BETK6qgV.esm.js";
4
- import { c as processFace, d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-CWloXJRR.esm.js";
5
- import { n as validateUploadResponse } from "./selfieErrorUtils-0lqrKeK0.esm.js";
3
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-BYnZ3A8a.esm.js";
4
+ import { c as processFace, d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-9IwB7jcM.esm.js";
5
+ import { n as validateUploadResponse } from "./selfieErrorUtils-zRAt9WeG.esm.js";
6
6
  /**
7
7
  * The selfie capture state machine.
8
8
  *
@@ -1,8 +1,8 @@
1
- import { b as noteSessionCreated, l as trueSightLog } from "./trueSightService-DfbQQuWW.esm.js";
1
+ import { b as noteSessionCreated, l as trueSightLog } from "./trueSightService-DtuHbL0_.esm.js";
2
2
  import { n as getApi } from "./api-Bx3gKW_y.esm.js";
3
3
  import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
4
- import "./sessionInitializer-COjKhqZA.esm.js";
5
- import { i as toIncodeApiError } from "./apiError-BeAPzZDM.esm.js";
4
+ import "./sessionInitializer-LBbZHbPK.esm.js";
5
+ import { i as toIncodeApiError } from "./apiError-CFwIWUtz.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,9 +1,9 @@
1
1
  import { r as getToken } from "./api-Bx3gKW_y.esm.js";
2
2
  import { r as subscribeHttpErrors } from "./HttpRequestError-Bh0pNGSC.esm.js";
3
- import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-COjKhqZA.esm.js";
4
- import { t as IncodeApiError } from "./apiError-BeAPzZDM.esm.js";
5
- import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-BtAfezmP.esm.js";
6
- import { n as getFinishStatus } from "./flowCompletionService-CDrTSDWi.esm.js";
3
+ import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-LBbZHbPK.esm.js";
4
+ import { t as IncodeApiError } from "./apiError-CFwIWUtz.esm.js";
5
+ import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-XeaMJEO1.esm.js";
6
+ import { n as getFinishStatus } from "./flowCompletionService-OHsAMzl8.esm.js";
7
7
  //#region src/internal/session/sessionExpired.ts
8
8
  var SessionExpiredError = class extends Error {
9
9
  constructor() {
@@ -1,9 +1,9 @@
1
- import { S as noteTokenActivated, _ as resetFeatureConfigCache, g as isFeatureEnabled, h as fetchFeatureConfig, l as trueSightLog, s as startTrueSightCollection, y as noteEnvironment } from "./trueSightService-DfbQQuWW.esm.js";
1
+ import { S as noteTokenActivated, _ as resetFeatureConfigCache, g as isFeatureEnabled, h as fetchFeatureConfig, l as trueSightLog, s as startTrueSightCollection, y as noteEnvironment } from "./trueSightService-DtuHbL0_.esm.js";
2
2
  import { S as subscribeEvent, v as addEvent, y as getAnalyticsBatcher } from "./events-CAgFE-k3.esm.js";
3
3
  import { c as setToken, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
5
- import { t as SDK_VERSION } from "./sdkVersion-Y7IQXZ5k.esm.js";
6
- import { E as updateFeatureManagementUser } from "./feature-management-CjSNOOEK.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-g8ehOQhP.esm.js";
6
+ import { E as updateFeatureManagementUser } from "./feature-management-XxXkowCy.esm.js";
7
7
  import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-DmG_tkGk.esm.js";
8
8
  import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
9
9
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
@@ -1,18 +1,18 @@
1
1
  import { S as setWasmIntegrityObserver } from "./wasmWebClient-kbYZ2sxw.esm.js";
2
- import { D as resolveWasmConfig, d as getStoredHttpConfig, f as installFreshHttpClient, l as trueSightLog, m as upgradeToWasmHttpClient$1, o as resetTrueSight, p as resetHttpClientState, t as finalizeTrueSight } from "./trueSightService-DfbQQuWW.esm.js";
2
+ import { D as resolveWasmConfig, d as getStoredHttpConfig, f as installFreshHttpClient, l as trueSightLog, m as upgradeToWasmHttpClient$1, o as resetTrueSight, p as resetHttpClientState, t as finalizeTrueSight } from "./trueSightService-DtuHbL0_.esm.js";
3
3
  import { i as setWasmOnDeviceMode, o as warmupWasm } from "./warmup-DMtbyb2l.esm.js";
4
4
  import { t as WasmUtilProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
5
5
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
6
6
  import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-CAgFE-k3.esm.js";
7
7
  import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
8
8
  import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
9
- import { a as resetSessionInit, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp, x as fingerprintSignalsReporter } from "./sessionInitializer-COjKhqZA.esm.js";
9
+ import { a as resetSessionInit, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp, x as fingerprintSignalsReporter } from "./sessionInitializer-LBbZHbPK.esm.js";
10
10
  import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.esm.js";
11
11
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
12
- 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-CjSNOOEK.esm.js";
12
+ 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-XxXkowCy.esm.js";
13
13
  import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-DmG_tkGk.esm.js";
14
14
  import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-xzRLIIMN.esm.js";
15
- import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-BqA2UNS7.esm.js";
15
+ import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-D3b4BP89.esm.js";
16
16
  //#region src/internal/events/AnalyticsBatchingService.ts
17
17
  const DEFAULT_MAX_BATCH_SIZE = 50;
18
18
  const MAX_STATE_BATCH_SIZE = 50;
@@ -3,7 +3,7 @@ import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.
3
3
  import { n as eventModuleNames } from "./events-CAgFE-k3.esm.js";
4
4
  import { i as isApiConfigured, n as getApi, o as setClient, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
5
5
  import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
6
- import { t as SDK_VERSION } from "./sdkVersion-Y7IQXZ5k.esm.js";
6
+ import { t as SDK_VERSION } from "./sdkVersion-g8ehOQhP.esm.js";
7
7
  import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
8
8
  //#region ../infra/src/wasm/wasmDefaults.ts
9
9
  const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
@@ -1,16 +1,16 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { t as ensureWasmPipelines } from "./setup-Cd3qwYH2.esm.js";
3
+ import { t as ensureWasmPipelines } from "./setup-CkMpP7pu.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
5
5
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
6
6
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
7
- import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-BqA2UNS7.esm.js";
7
+ import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-D3b4BP89.esm.js";
8
8
  import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
9
9
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
10
10
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
11
11
  import { i as createRecordingCompositor, n as WorkerEncoderRecordingProvider, t as MultipartRecordingService } from "./multipartRecordingService-DbeQpXdU.esm.js";
12
12
  import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-q_pfU3Cn.esm.js";
13
- import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-BGFsB1is.esm.js";
13
+ import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-pt56Pcfi.esm.js";
14
14
  import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js";
15
15
  //#region ../../node_modules/.pnpm/audio-recorder-polyfill@0.4.1/node_modules/audio-recorder-polyfill/wave-encoder/index.js
16
16
  var wave_encoder_default = () => {
@@ -1,15 +1,15 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-BqA2UNS7.esm.js";
4
+ import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-D3b4BP89.esm.js";
5
5
  import { a as requestCameraWithFallback, i as requestCameraAccess } from "./camera-sIa9ceW2.esm.js";
6
6
  import { t as checkPermission } from "./permissionServices-d2UW0r_L.esm.js";
7
- import { c as processFace, d as FACE_ERROR_CODES, l as uploadSelfie, n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-CWloXJRR.esm.js";
7
+ import { c as processFace, d as FACE_ERROR_CODES, l as uploadSelfie, n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-9IwB7jcM.esm.js";
8
8
  import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-DbeQpXdU.esm.js";
9
9
  import { n as getBackCameraStream } from "./backCameraStream-CMvXj4X4.esm.js";
10
10
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
11
- import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-0lqrKeK0.esm.js";
12
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults--tlnATlf.esm.js";
11
+ import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-zRAt9WeG.esm.js";
12
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-BjP8SevF.esm.js";
13
13
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
14
14
  //#region src/modules/video-selfie/videoSelfieCompareService.ts
15
15
  async function postVideoSelfieCompare(endpoint, base64Image) {
package/dist/wasm.esm.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { g as WASM_PIPELINE_MODEL_NAMES, m as WASM_PIPELINE_LAZY_MODEL_NAMES, p as WASM_MODEL_FILES } from "./wasmWebClient-kbYZ2sxw.esm.js";
2
- import { C as DEFAULT_WASM_VERSION, D as resolveWasmConfig, T as buildWasmConfigFromBasePath, w as buildDefaultWasmConfig } from "./trueSightService-DfbQQuWW.esm.js";
2
+ import { C as DEFAULT_WASM_VERSION, D as resolveWasmConfig, T as buildWasmConfigFromBasePath, w as buildDefaultWasmConfig } from "./trueSightService-DtuHbL0_.esm.js";
3
3
  import { o as warmupWasm } from "./warmup-DMtbyb2l.esm.js";
4
- import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-Cd3qwYH2.esm.js";
4
+ import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-CkMpP7pu.esm.js";
5
5
  //#region src/defineWasm.ts
6
6
  function requiredModels(pipelines) {
7
7
  const models = /* @__PURE__ */ new Set();
@@ -1,29 +1,29 @@
1
- import { l as trueSightLog } from "./trueSightService-DfbQQuWW.esm.js";
1
+ import { l as trueSightLog } from "./trueSightService-DtuHbL0_.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-CAgFE-k3.esm.js";
3
3
  import { t as api } from "./api-Bx3gKW_y.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
5
- import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-COjKhqZA.esm.js";
6
- import { E as updateFeatureManagementUser } from "./feature-management-CjSNOOEK.esm.js";
7
- import { i as toIncodeApiError } from "./apiError-BeAPzZDM.esm.js";
8
- import { v as toEkybConfig } from "./flowServices-BqA2UNS7.esm.js";
5
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-LBbZHbPK.esm.js";
6
+ import { E as updateFeatureManagementUser } from "./feature-management-XxXkowCy.esm.js";
7
+ import { i as toIncodeApiError } from "./apiError-CFwIWUtz.esm.js";
8
+ import { v as toEkybConfig } from "./flowServices-D3b4BP89.esm.js";
9
9
  import { a as toEkycConfig } from "./ekycUtils-3FIL6m1x.esm.js";
10
10
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
11
11
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
12
- import { r as electronicSignatureMachine } from "./electronicSignatureManager-CZM10VWG.esm.js";
12
+ import { r as electronicSignatureMachine } from "./electronicSignatureManager-B_SHlY1L.esm.js";
13
13
  import "./ae-signature.esm.js";
14
14
  import { t as antifraudMachine } from "./antifraudStateMachine-DoJVzblM.esm.js";
15
- import { t as authenticationMachine } from "./authenticationStateMachine-DKKvEXzj.esm.js";
15
+ import { t as authenticationMachine } from "./authenticationStateMachine-CDsC16Jn.esm.js";
16
16
  import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Cs64QmYH.esm.js";
17
17
  import { t as consentMachine } from "./consentStateMachine-BCj5Jb3g.esm.js";
18
18
  import { t as curpValidationMachine } from "./curpValidationStateMachine-DAxImy8p.esm.js";
19
19
  import { t as customWatchlistMachine } from "./customWatchlistStateMachine-D9gI5uu7.esm.js";
20
20
  import { t as documentCaptureMachine } from "./documentCaptureStateMachine-BHDsCfhL.esm.js";
21
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine--lK9ixT0.esm.js";
22
- import { t as ekybMachine } from "./ekybStateMachine-CZAa78rX.esm.js";
21
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DVbgcw96.esm.js";
22
+ import { t as ekybMachine } from "./ekybStateMachine-Cd0nGdXM.esm.js";
23
23
  import { t as ekycMachine } from "./ekycStateMachine-DnKlILfu.esm.js";
24
24
  import { t as emailMachine } from "./emailStateMachine-5Neq3rE5.esm.js";
25
- import { t as selfieMachine } from "./selfieStateMachine-Cfz-v_ul.esm.js";
26
- import { t as idCaptureMachine } from "./idCaptureStateMachine-DRXsQZFJ.esm.js";
25
+ import { t as selfieMachine } from "./selfieStateMachine-CBkLfNU3.esm.js";
26
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-Dv1tDMKs.esm.js";
27
27
  import { t as phoneMachine } from "./phoneStateMachine-CEm2y7yG.esm.js";
28
28
  import { t as watchlistMachine } from "./watchlistStateMachine-Dgfm42w2.esm.js";
29
29
  import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-121XK-Et.esm.js";
@@ -32,12 +32,12 @@ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-Coa
32
32
  import { t as idOcrStateMachine } from "./idOcrStateMachine-kPn7DB2I.esm.js";
33
33
  import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine--Sr9NEVT.esm.js";
34
34
  import { t as signatureMachine } from "./signatureStateMachine-BkRSrkKp.esm.js";
35
- import { t as geolocationMachine } from "./geolocationStateMachine-2yZdnsa8.esm.js";
35
+ import { t as geolocationMachine } from "./geolocationStateMachine-Je2uPWor.esm.js";
36
36
  import { t as governmentValidationMachine } from "./governmentValidationStateMachine-C3YQ8yCZ.esm.js";
37
37
  import { t as idVerificationMachine } from "./idVerificationStateMachine-0HTVVxse.esm.js";
38
38
  import { t as faceMatchMachine } from "./faceMatchStateMachine-B9ZUnlyU.esm.js";
39
- import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-CDrTSDWi.esm.js";
40
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CVXovJlV.esm.js";
39
+ import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-OHsAMzl8.esm.js";
40
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-9q7BQwPd.esm.js";
41
41
  import { n as isAdvanceableError } from "./advanceableErrors-q_pfU3Cn.esm.js";
42
42
  import "./qe-signature.esm.js";
43
43
  import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20261013-75824203",
3
+ "version": "0.0.0-dev-20261014-e4db9c02",
4
4
  "license": "ISC",
5
5
  "repository": {
6
6
  "type": "git",