@incodetech/core 0.0.0-dev-20260928-53468dbb → 0.0.0-dev-20260928-97f58b8b

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 (64) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-l2sKvi3P.esm.js → BrowserDiagnosticsCryptoProvider-DdZiom7t.esm.js} +1 -1
  2. package/dist/{FaceDetectionProvider-TAXgphFO.esm.js → FaceDetectionProvider-CALBrooO.esm.js} +4 -4
  3. package/dist/ae-signature.esm.js +1 -1
  4. package/dist/{apiError-DIdEGzU3.esm.js → apiError-D1w6ppP9.esm.js} +1 -1
  5. package/dist/authentication.esm.js +2 -2
  6. package/dist/{authenticationManager-CkHseyBi.esm.js → authenticationManager-DRlEctpb.esm.js} +3 -3
  7. package/dist/{authenticationStateMachine-Ck4VeuVo.esm.js → authenticationStateMachine-DsvV4yNG.esm.js} +2 -2
  8. package/dist/consent.d.ts +1 -1
  9. package/dist/{consentManager-Cv_0QKLD.d.ts → consentManager-Ca8FHlC4.d.ts} +8 -8
  10. package/dist/{deepsightLoader-Bc7HrCW3.esm.js → deepsightLoader-I5YaqqXN.esm.js} +3 -3
  11. package/dist/dynamic-forms.esm.js +2 -2
  12. package/dist/{dynamicFormsManager-Butvhqnk.esm.js → dynamicFormsManager-C1IoRjpF.esm.js} +1 -1
  13. package/dist/{dynamicFormsStateMachine-BITvQQNL.esm.js → dynamicFormsStateMachine-DJEB-qWB.esm.js} +1 -1
  14. package/dist/ekyb.esm.js +3 -3
  15. package/dist/{ekybManager-CvR6jzpI.esm.js → ekybManager-CfnptYhw.esm.js} +1 -1
  16. package/dist/{ekybStateMachine-YsRNhE7_.esm.js → ekybStateMachine-BBVq22zE.esm.js} +1 -1
  17. package/dist/electronic-signature.esm.js +1 -1
  18. package/dist/{electronicSignatureManager-9i7bikdX.esm.js → electronicSignatureManager-CqaGRXbw.esm.js} +1 -1
  19. package/dist/extensibility.d.ts +3 -3
  20. package/dist/extensibility.esm.js +10 -10
  21. package/dist/{faceCaptureManagerFactory-DPQlBquL.esm.js → faceCaptureManagerFactory-C-h7jAVE.esm.js} +1 -1
  22. package/dist/{faceCaptureSetup-DvTlofmv.esm.js → faceCaptureSetup-DzfPjoiQ.esm.js} +26 -6
  23. package/dist/{feature-management-DsPWCaW_.esm.js → feature-management-Co-o6b-o.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-7Q5568Ix.esm.js → flowCompletionService-BOKACeB7.esm.js} +1 -1
  27. package/dist/{flowServices-D2uvqY3V.esm.js → flowServices-Bp__th5d.esm.js} +4 -4
  28. package/dist/geolocation.esm.js +2 -2
  29. package/dist/{geolocationManager-BUpe_OfP.esm.js → geolocationManager-BWX1V_nV.esm.js} +1 -1
  30. package/dist/{geolocationStateMachine-BcqbIz5l.esm.js → geolocationStateMachine-D-FDSZQh.esm.js} +1 -1
  31. package/dist/id-selfie-flow.d.ts +1 -1
  32. package/dist/id-selfie-flow.esm.js +8 -7
  33. package/dist/id.esm.js +3 -3
  34. package/dist/idCaptureDefaults-BkYl5GRG.esm.js +282 -0
  35. package/dist/{idCaptureManager-LEW4q4gK.esm.js → idCaptureManager-D63ZdGpg.esm.js} +3 -3
  36. package/dist/{idCaptureServices-DCF6-8sI.esm.js → idCaptureServices-CN_74hXx.esm.js} +8 -7
  37. package/dist/{idCaptureStateMachine-DUymZ2MI.esm.js → idCaptureStateMachine-CPn-XL0h.esm.js} +9 -9
  38. package/dist/identity-reuse.d.ts +1 -1
  39. package/dist/{identityReuseManager-x2QG6QAm.d.ts → identityReuseManager-D30b2UEC.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-DzIGk6u7.d.ts → mandatoryConsentManager-pCvXbU28.d.ts} +4 -4
  43. package/dist/multipartRecordingService-Dw0scizg.esm.js +1727 -0
  44. package/dist/personhood.esm.js +4 -4
  45. package/dist/qe-signature.esm.js +1 -1
  46. package/dist/{runChildModule-6lDyzpn5.esm.js → runChildModule-BIIpQ79p.esm.js} +1 -1
  47. package/dist/{sdkVersion-DO1L1MLz.esm.js → sdkVersion-BCzcuP-F.esm.js} +1 -1
  48. package/dist/selfie.esm.js +5 -5
  49. package/dist/{selfieManager-i-iJECK2.esm.js → selfieManager-xYtpa8cd.esm.js} +3 -3
  50. package/dist/{selfieStateMachine-CpHUx3Ie.esm.js → selfieStateMachine-Dee2xYLM.esm.js} +2 -2
  51. package/dist/{session-CYKiU2HT.esm.js → session-DZrHG_Kw.esm.js} +3 -3
  52. package/dist/session.esm.js +4 -4
  53. package/dist/{sessionInitializer-BmW1JgVt.esm.js → sessionInitializer-uDC9cU1x.esm.js} +3 -3
  54. package/dist/{setup-B_F9X-u-.esm.js → setup-Cbc1q4pe.esm.js} +4 -4
  55. package/dist/{trueSightService-C8a5EXUf.esm.js → trueSightService-D4RWNJ0u.esm.js} +2 -2
  56. package/dist/video-selfie.d.ts +61 -3
  57. package/dist/video-selfie.esm.js +7 -7
  58. package/dist/{videoSelfieCameraWarmer-BpeIt9-i.esm.js → videoSelfieCameraWarmer-CfTUF71_.esm.js} +3 -3
  59. package/dist/{videoSelfieStepDetector-Bl_dpGb9.d.ts → videoSelfieStepDetector-COSNC80H.d.ts} +49 -0
  60. package/dist/wasm.esm.js +2 -2
  61. package/dist/workflow.esm.js +14 -14
  62. package/package.json +3 -3
  63. package/dist/idCaptureDefaults-BL-Tkhjd.esm.js +0 -727
  64. package/dist/multipartRecordingService-OEgIRvqC.esm.js +0 -605
@@ -18,7 +18,7 @@ function decodeTruesightKey(s0Base64, s1Base64) {
18
18
  */
19
19
  function getTruesightKey() {
20
20
  try {
21
- const key = decodeTruesightKey("2r7/czv15LJ7T0/kwC+iOEFshfZbb8Ec2RyNjfQG3fg=", "3MyEpQG+xn/lr5RSfzLeAXoCBT3pBXMwfG9yWM7D40Q=");
21
+ const key = decodeTruesightKey("i80Mz8fD57AyJOWfLdozIh4DsTeynX5SgA0nG1uII1s=", "zWYSCo9AZS6WXCiuSTHcSBGoftAclGlvE1uzsTx8rR0=");
22
22
  return key.length === KEY_LENGTH_BYTES ? key : null;
23
23
  } catch {
24
24
  return null;
@@ -1,8 +1,8 @@
1
- import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-C8a5EXUf.esm.js";
1
+ import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-D4RWNJ0u.esm.js";
2
2
  import { s as wasmRuntime } from "./warmup-REsua-sF.esm.js";
3
3
  import { i as BaseWasmProvider } from "./safeStorage-C511Hltw.esm.js";
4
- import { t as ensureWasmPipelines } from "./setup-B_F9X-u-.esm.js";
5
- import "./sessionInitializer-BmW1JgVt.esm.js";
4
+ import { t as ensureWasmPipelines } from "./setup-Cbc1q4pe.esm.js";
5
+ import "./sessionInitializer-uDC9cU1x.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-CZcy2J53.esm.js";
7
7
  import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-DkcRc9JV.esm.js";
8
8
  import { i as requestCameraAccess, o as stopCameraStream, r as getCameraReacquisitionConstraints } from "./camera-sIa9ceW2.esm.js";
@@ -156,7 +156,7 @@ function startDetection(params) {
156
156
  };
157
157
  }
158
158
  async function initializeDeepsightSession(options) {
159
- const { loadDeepsightSession } = await import("./deepsightLoader-Bc7HrCW3.esm.js");
159
+ const { loadDeepsightSession } = await import("./deepsightLoader-I5YaqqXN.esm.js");
160
160
  return loadDeepsightSession({
161
161
  ds: options.ds,
162
162
  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-9i7bikdX.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-CqaGRXbw.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-C8a5EXUf.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-D4RWNJ0u.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-Ck4VeuVo.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CkHseyBi.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-DsvV4yNG.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DRlEctpb.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,9 +1,9 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-C511Hltw.esm.js";
2
- import { l as BrowserStorageProvider } from "./setup-B_F9X-u-.esm.js";
2
+ import { l as BrowserStorageProvider } from "./setup-Cbc1q4pe.esm.js";
3
3
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DPQlBquL.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-Ck4VeuVo.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C-h7jAVE.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-DsvV4yNG.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-Bg3FuvIs.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
3
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-DvTlofmv.esm.js";
4
- import { c as isOnDeviceMode } from "./FaceDetectionProvider-TAXgphFO.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-DzfPjoiQ.esm.js";
4
+ import { c as isOnDeviceMode } from "./FaceDetectionProvider-CALBrooO.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
6
6
  import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-BjoMVvya.esm.js";
7
7
  //#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-Cv_0QKLD.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-Ca8FHlC4.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
- clearError: {
81
- type: "clearError";
82
- params: NonReducibleUnknown;
83
- };
84
- resetContext: {
85
- type: "resetContext";
86
- params: NonReducibleUnknown;
87
- };
88
80
  setConsentData: {
89
81
  type: "setConsentData";
90
82
  params: NonReducibleUnknown;
@@ -93,6 +85,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
93
85
  type: "toggleCheckbox";
94
86
  params: NonReducibleUnknown;
95
87
  };
88
+ clearError: {
89
+ type: "clearError";
90
+ params: NonReducibleUnknown;
91
+ };
92
+ resetContext: {
93
+ type: "resetContext";
94
+ params: NonReducibleUnknown;
95
+ };
96
96
  }>, {
97
97
  type: "canSubmit";
98
98
  params: unknown;
@@ -1,7 +1,7 @@
1
- import { l as trueSightLog } from "./trueSightService-C8a5EXUf.esm.js";
1
+ import { l as trueSightLog } from "./trueSightService-D4RWNJ0u.esm.js";
2
2
  import { r as WasmUtilProvider } from "./safeStorage-C511Hltw.esm.js";
3
- import { _ as IpifyProvider, b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, v as getThumbmarkId } from "./sessionInitializer-BmW1JgVt.esm.js";
4
- import { t as SDK_VERSION } from "./sdkVersion-DO1L1MLz.esm.js";
3
+ import { _ as IpifyProvider, b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, v as getThumbmarkId } from "./sessionInitializer-uDC9cU1x.esm.js";
4
+ import { t as SDK_VERSION } from "./sdkVersion-BCzcuP-F.esm.js";
5
5
  import { t as getParsedUserAgent } from "./getParsedUserAgent-B2iFDql1.esm.js";
6
6
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
7
7
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Czjlp68o.esm.js";
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BITvQQNL.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-Butvhqnk.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DJEB-qWB.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-C1IoRjpF.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-Bg3FuvIs.esm.js";
4
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BITvQQNL.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DJEB-qWB.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-B-3Q-LUw.esm.js";
3
- import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-DIdEGzU3.esm.js";
3
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-D1w6ppP9.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.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-D2uvqY3V.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-YsRNhE7_.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-CvR6jzpI.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-Bp__th5d.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-BBVq22zE.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-CfnptYhw.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-Bg3FuvIs.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-YsRNhE7_.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-BBVq22zE.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-B-3Q-LUw.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-D2uvqY3V.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-Bp__th5d.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.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-Dnwc7dMx.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-9i7bikdX.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-CqaGRXbw.esm.js";
2
2
  export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -2,7 +2,7 @@ import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
5
- import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-DIdEGzU3.esm.js";
5
+ import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-D1w6ppP9.esm.js";
6
6
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
8
8
  import { t as externalFetch } from "./externalFetch-CEp51O83.esm.js";
@@ -11,7 +11,7 @@ import { i as IStorageCapability } from "./IWasmUtilCapability-VC40Kx9N.js";
11
11
  import "./StreamCanvasCapture-CeBBJ_RC.js";
12
12
  import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-B-MR_-Si.js";
13
13
  import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-Dr8A4Lgr.js";
14
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-Cv_0QKLD.js";
14
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-Ca8FHlC4.js";
15
15
  import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-yCWCOzcU.js";
16
16
  import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-D1ZhQ1wz.js";
17
17
  import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CF-cO8ap.js";
@@ -27,9 +27,9 @@ import { U as WasmUtilProvider, i as createIdCaptureManagerFromActor, n as IdCap
27
27
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-D4FVaENS.js";
28
28
  import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DJQOd8Pw.js";
29
29
  import { i as WatchlistForBusinessState, l as WatchlistForBusinessActor, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager } from "./watchlistForBusinessManager-B3GDPZrr.js";
30
- import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-x2QG6QAm.js";
30
+ import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-D30b2UEC.js";
31
31
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-DN9b5rtc.js";
32
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-DzIGk6u7.js";
32
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-pCvXbU28.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 { r as WasmUtilProvider } from "./safeStorage-C511Hltw.esm.js";
2
- import { l as BrowserStorageProvider } from "./setup-B_F9X-u-.esm.js";
3
- import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-BmW1JgVt.esm.js";
2
+ import { l as BrowserStorageProvider } from "./setup-Cbc1q4pe.esm.js";
3
+ import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-uDC9cU1x.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
6
- import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-9i7bikdX.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-CqaGRXbw.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-BOC5WnCl.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-DvTlofmv.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CkHseyBi.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-DzfPjoiQ.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-DRlEctpb.esm.js";
10
10
  import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-BVIPp-jE.esm.js";
11
11
  import { n as createConsentManagerFromActor } from "./consentManager-D540g9UK.esm.js";
12
12
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-CO1EPIVX.esm.js";
@@ -14,12 +14,12 @@ import { n as createCurpValidationManagerFromActor } from "./curpValidationManag
14
14
  import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-oXaVxn1f.esm.js";
15
15
  import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-B9H34yQM.esm.js";
16
16
  import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-CLtex74O.esm.js";
17
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-Butvhqnk.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-CvR6jzpI.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-C1IoRjpF.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-CfnptYhw.esm.js";
19
19
  import { n as createEkycManagerFromActor } from "./ekycManager-DEbkqrHx.esm.js";
20
20
  import { n as createEmailManagerFromActor } from "./emailManager-CeSfUjcz.esm.js";
21
- import { n as createSelfieManagerFromActor } from "./selfieManager-i-iJECK2.esm.js";
22
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-LEW4q4gK.esm.js";
21
+ import { n as createSelfieManagerFromActor } from "./selfieManager-xYtpa8cd.esm.js";
22
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-D63ZdGpg.esm.js";
23
23
  import { n as createPhoneManagerFromActor } from "./phoneManager-Do-HaC6Z.esm.js";
24
24
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-Cg8pCUZL.esm.js";
25
25
  import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-BUWO4S6n.esm.js";
@@ -29,7 +29,7 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
29
29
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-B_Au6v1F.esm.js";
30
30
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-Cr7n1jvL.esm.js";
31
31
  import { n as createSignatureManagerFromActor } from "./signatureManager-CS217sC0.esm.js";
32
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-BUpe_OfP.esm.js";
32
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-BWX1V_nV.esm.js";
33
33
  import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-DFDSCXQm.esm.js";
34
34
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-D50nxSs8.esm.js";
35
35
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-DuaXgdd4.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-Bg3FuvIs.esm.js";
4
- import { r as concealmentToAvatar } from "./faceCaptureSetup-DvTlofmv.esm.js";
4
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-DzfPjoiQ.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Czjlp68o.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
7
7
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-DIaG8BlW.esm.js";
@@ -1,21 +1,21 @@
1
- import { l as trueSightLog, m as isTrueSightTesting } from "./trueSightService-C8a5EXUf.esm.js";
1
+ import { l as trueSightLog, m as isTrueSightTesting } from "./trueSightService-D4RWNJ0u.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
- import "./sessionInitializer-BmW1JgVt.esm.js";
4
+ import "./sessionInitializer-uDC9cU1x.esm.js";
5
5
  import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-CZcy2J53.esm.js";
7
7
  import { t as isAndroid } from "./platform-DkcRc9JV.esm.js";
8
8
  import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
9
9
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
10
10
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-DIaG8BlW.esm.js";
11
- import { a as sendLabelInspectionEvent, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider } from "./FaceDetectionProvider-TAXgphFO.esm.js";
11
+ import { a as sendLabelInspectionEvent, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider } from "./FaceDetectionProvider-CALBrooO.esm.js";
12
12
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
13
13
  import { i as flagFaceManualReview, n as runProtectedAttempt, o as PROTECTED_CAPTURE_TARGET, r as cameraCycleProvider, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-BjoMVvya.esm.js";
14
14
  import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
15
15
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
16
16
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DAyjPT2R.esm.js";
17
17
  import { t as getDeviceClass } from "./getDeviceClass-5NYZg9s6.esm.js";
18
- import { n as getAdaptiveMediaRecorderOptions, t as MultipartRecordingService } from "./multipartRecordingService-OEgIRvqC.esm.js";
18
+ import { a as getAdaptiveMediaRecorderOptions, i as createRecordingCompositor, n as WorkerEncoderRecordingProvider, t as MultipartRecordingService } from "./multipartRecordingService-Dw0scizg.esm.js";
19
19
  //#region src/internal/avatar/concealment.ts
20
20
  /**
21
21
  * Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
@@ -346,7 +346,8 @@ var LocalRecordingService = class {
346
346
  */
347
347
  var MultipartFaceRecordingService = class {
348
348
  constructor() {
349
- this.service = new MultipartRecordingService("selfie");
349
+ this.compositor = createRecordingCompositor();
350
+ this.service = new MultipartRecordingService("selfie", new WorkerEncoderRecordingProvider(this.compositor));
350
351
  this.pausedForAttempt = false;
351
352
  }
352
353
  async start(stream) {
@@ -355,7 +356,17 @@ var MultipartFaceRecordingService = class {
355
356
  this.pausedForAttempt = false;
356
357
  return;
357
358
  }
358
- await this.service.start(stream);
359
+ if (this.recordingSource) return;
360
+ const recordingSource = stream.clone();
361
+ try {
362
+ const composite = this.compositor.start(recordingSource);
363
+ await this.service.start(composite);
364
+ } catch (error) {
365
+ this.compositor.stop();
366
+ recordingSource.getTracks().forEach((track) => track.stop());
367
+ throw error;
368
+ }
369
+ this.recordingSource = recordingSource;
359
370
  }
360
371
  async prepareUpload() {
361
372
  this.pausedForAttempt = this.service.pause();
@@ -366,6 +377,7 @@ var MultipartFaceRecordingService = class {
366
377
  await this.service.stop();
367
378
  } finally {
368
379
  this.pausedForAttempt = false;
380
+ this.releaseCompositor();
369
381
  }
370
382
  return { recordingId: null };
371
383
  }
@@ -380,12 +392,20 @@ var MultipartFaceRecordingService = class {
380
392
  await this.service.stop();
381
393
  } finally {
382
394
  this.pausedForAttempt = false;
395
+ this.releaseCompositor();
383
396
  }
384
397
  return { videoBase64: void 0 };
385
398
  }
386
399
  cleanup() {
387
400
  this.pausedForAttempt = false;
388
401
  this.service.cleanup();
402
+ this.releaseCompositor();
403
+ }
404
+ /** Ends the compositor and the camera clone it recorded. */
405
+ releaseCompositor() {
406
+ this.compositor.stop();
407
+ this.recordingSource?.getTracks().forEach((track) => track.stop());
408
+ this.recordingSource = void 0;
389
409
  }
390
410
  };
391
411
  /**
@@ -1,5 +1,5 @@
1
1
  import { n as __toESM } from "./rolldown-runtime-FDOR9p9I.esm.js";
2
- import { t as SDK_VERSION } from "./sdkVersion-DO1L1MLz.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-BCzcuP-F.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-DsPWCaW_.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-Co-o6b-o.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-ijlbX_Wx.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-D2uvqY3V.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-Bp__th5d.esm.js";
3
3
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
5
- import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-7Q5568Ix.esm.js";
6
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-6lDyzpn5.esm.js";
5
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-BOKACeB7.esm.js";
6
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BIIpQ79p.esm.js";
7
7
  import { n as isAdvanceableError } from "./advanceableErrors-CpF2cBy6.esm.js";
8
8
  //#region src/modules/flow/noOpFlowModuleMachine.ts
9
9
  const noOpFlowModuleMachine = setup({}).createMachine({
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
3
- import { i as toIncodeApiError } from "./apiError-DIdEGzU3.esm.js";
3
+ import { i as toIncodeApiError } from "./apiError-D1w6ppP9.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-REsua-sF.esm.js";
2
- import { E as updateFeatureManagementUser } from "./feature-management-DsPWCaW_.esm.js";
2
+ import { E as updateFeatureManagementUser } from "./feature-management-Co-o6b-o.esm.js";
3
3
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
4
- import { i as initializeSession, l as whenSessionFingerprintSettled, r as getSessionFingerprintResult, u as getStandaloneFlowPolicy } from "./sessionInitializer-BmW1JgVt.esm.js";
4
+ import { i as initializeSession, l as whenSessionFingerprintSettled, r as getSessionFingerprintResult, u as getStandaloneFlowPolicy } from "./sessionInitializer-uDC9cU1x.esm.js";
5
5
  import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
6
- import { i as toIncodeApiError } from "./apiError-DIdEGzU3.esm.js";
7
- import "./session-CYKiU2HT.esm.js";
6
+ import { i as toIncodeApiError } from "./apiError-D1w6ppP9.esm.js";
7
+ import "./session-DZrHG_Kw.esm.js";
8
8
  import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.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-BUpe_OfP.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-BcqbIz5l.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-BWX1V_nV.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-D-FDSZQh.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-Bg3FuvIs.esm.js";
3
- import { t as geolocationMachine } from "./geolocationStateMachine-BcqbIz5l.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-D-FDSZQh.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-B-3Q-LUw.esm.js";
3
3
  import { a as isIOS, t as isAndroid } from "./platform-DkcRc9JV.esm.js";
4
- import { n as isConnectivityError } from "./apiError-DIdEGzU3.esm.js";
4
+ import { n as isConnectivityError } from "./apiError-D1w6ppP9.esm.js";
5
5
  import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
7
7
  //#region src/modules/geolocation/geolocationServices.ts
@@ -4,7 +4,7 @@ import "./Actor-DpTj5PFb.js";
4
4
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
5
5
  import { t as DetectionOrientation } from "./IIdCaptureCapability-DBsv9-7M.js";
6
6
  import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
7
- import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-Bl_dpGb9.js";
7
+ import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-COSNC80H.js";
8
8
  //#region src/modules/id-selfie-flow/types.d.ts
9
9
  /**
10
10
  * The capture steps an ID + Selfie flow session can run, in flow order. A
@@ -1,18 +1,19 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-C511Hltw.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-B_F9X-u-.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-Cbc1q4pe.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-D2uvqY3V.esm.js";
4
+ import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-Bp__th5d.esm.js";
5
5
  import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
6
6
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
7
- import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-TAXgphFO.esm.js";
7
+ import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-CALBrooO.esm.js";
8
8
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
9
9
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
10
10
  import { i as uploadSelfie, r as processFace } from "./selfieErrorUtils-yjRptLFi.esm.js";
11
- import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-BL-Tkhjd.esm.js";
12
- import { h as ID_ERROR_CODES, l as processId, m as validateUploadResponse, p as uploadIdImage } from "./idCaptureServices-DCF6-8sI.esm.js";
11
+ import { r as CameraCompositor } from "./multipartRecordingService-Dw0scizg.esm.js";
12
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-BkYl5GRG.esm.js";
13
+ import { h as ID_ERROR_CODES, l as processId, m as validateUploadResponse, p as uploadIdImage } from "./idCaptureServices-CN_74hXx.esm.js";
13
14
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
14
- import { n as getFinishStatus } from "./flowCompletionService-7Q5568Ix.esm.js";
15
- import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-BpeIt9-i.esm.js";
15
+ import { n as getFinishStatus } from "./flowCompletionService-BOKACeB7.esm.js";
16
+ import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-CfTUF71_.esm.js";
16
17
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
17
18
  /** Default autocapture window for the selfie step. */
18
19
  const SELFIE_AUTOCAPTURE_MS = 1e4;
package/dist/id.esm.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
2
2
  import { i as assign, s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
4
- import { a as isRedirectFlowType, c as createIdCaptureOnlyDeliveryActor, d as renderWallet, f as createDeviceWalletManager, h as resolveWalletPlatform, i as DIGITAL_ID_REGISTRY, l as createIdProtectedCaptureController, n as provideIdProtectedCaptureController, o as resolveDigitalIdImplementation, r as DIGITAL_ID_DOCUMENT_TYPES, s as attachIdProtectedCaptureController, t as idCaptureMachine } from "./idCaptureStateMachine-DUymZ2MI.esm.js";
5
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-LEW4q4gK.esm.js";
6
- import { _ as resolveIdCaptureThresholds, a as getRealQualityValue, c as prepareRecordingForCameraRetry, d as stopRecording, f as stopStream, h as ID_ERROR_CODES, i as finalizeRecordingSession, l as processId, m as validateUploadResponse, n as barcodeToBase64, o as initializeIdCapture, p as uploadIdImage, r as disposeRecordingSession, s as pauseRecordingForAttempt, t as addBarcode, u as startRecordingSession } from "./idCaptureServices-DCF6-8sI.esm.js";
4
+ import { a as isRedirectFlowType, c as createIdCaptureOnlyDeliveryActor, d as renderWallet, f as createDeviceWalletManager, h as resolveWalletPlatform, i as DIGITAL_ID_REGISTRY, l as createIdProtectedCaptureController, n as provideIdProtectedCaptureController, o as resolveDigitalIdImplementation, r as DIGITAL_ID_DOCUMENT_TYPES, s as attachIdProtectedCaptureController, t as idCaptureMachine } from "./idCaptureStateMachine-CPn-XL0h.esm.js";
5
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-D63ZdGpg.esm.js";
6
+ import { _ as resolveIdCaptureThresholds, a as getRealQualityValue, c as prepareRecordingForCameraRetry, d as stopRecording, f as stopStream, h as ID_ERROR_CODES, i as finalizeRecordingSession, l as processId, m as validateUploadResponse, n as barcodeToBase64, o as initializeIdCapture, p as uploadIdImage, r as disposeRecordingSession, s as pauseRecordingForAttempt, t as addBarcode, u as startRecordingSession } from "./idCaptureServices-CN_74hXx.esm.js";
7
7
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BjzPjJ_p.esm.js";
8
8
  //#region src/modules/id/deviceWallet/deviceWalletErrors.ts
9
9
  /**