@incodetech/core 0.0.0-dev-20260826-2bc864d6 → 0.0.0-dev-20260827-6e9b51b9

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 (57) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-CEfyW9eB.esm.js → BrowserDiagnosticsCryptoProvider-B-XmFFXv.esm.js} +1 -1
  2. package/dist/{BrowserVisibilityObserverProvider-BX1BiLDK.esm.js → BrowserVisibilityObserverProvider-BrJN1B8A.esm.js} +2 -0
  3. package/dist/ae-signature.esm.js +1 -1
  4. package/dist/{apiError-nxVspUZp.esm.js → apiError-syAncgk0.esm.js} +1 -1
  5. package/dist/authentication.esm.js +2 -2
  6. package/dist/{authenticationManager-B94KQEEa.esm.js → authenticationManager-BFawgr0h.esm.js} +2 -2
  7. package/dist/{authenticationStateMachine-BB37b2sa.esm.js → authenticationStateMachine-MT8_H5l7.esm.js} +2 -2
  8. package/dist/{deepsightLoader-BofMAhBJ.esm.js → deepsightLoader-DobqD_gI.esm.js} +3 -3
  9. package/dist/dynamic-forms.esm.js +2 -2
  10. package/dist/{dynamicFormsManager-DbEH52tx.esm.js → dynamicFormsManager-CPMZ_cd_.esm.js} +1 -1
  11. package/dist/{dynamicFormsStateMachine-Jq5dtVKJ.esm.js → dynamicFormsStateMachine-DQyRyChe.esm.js} +1 -1
  12. package/dist/ekyb.esm.js +3 -3
  13. package/dist/{ekybManager-gjWMOeU4.esm.js → ekybManager-CKwV75mI.esm.js} +1 -1
  14. package/dist/{ekybStateMachine-BirCa1y_.esm.js → ekybStateMachine-vDEdi1es.esm.js} +1 -1
  15. package/dist/electronic-signature.esm.js +1 -1
  16. package/dist/{electronicSignatureManager-CPbqswBz.esm.js → electronicSignatureManager-D83MSZdx.esm.js} +1 -1
  17. package/dist/extensibility.esm.js +9 -9
  18. package/dist/{faceCaptureManagerFactory-VTDh_p5o.esm.js → faceCaptureManagerFactory-Clf2JMjb.esm.js} +2 -2
  19. package/dist/{faceCaptureSetup-CNZMUGG4.esm.js → faceCaptureSetup-egUHJz2i.esm.js} +2 -2
  20. package/dist/{feature-management-DI6EoP-t.esm.js → feature-management-Dj_3uLHa.esm.js} +1 -1
  21. package/dist/feature-management.esm.js +1 -1
  22. package/dist/flow.esm.js +3 -3
  23. package/dist/{flowCompletionService-Clb3QNZK.esm.js → flowCompletionService-BxD49_oJ.esm.js} +1 -1
  24. package/dist/{flowServices-DqGz9Zp-.esm.js → flowServices-x78OIUt8.esm.js} +4 -4
  25. package/dist/geolocation.esm.js +2 -2
  26. package/dist/{geolocationManager-BHH0rEg5.esm.js → geolocationManager-BDP2VIQd.esm.js} +1 -1
  27. package/dist/{geolocationStateMachine-CFBR-FWK.esm.js → geolocationStateMachine-BogDNTWi.esm.js} +1 -1
  28. package/dist/id-selfie-flow.d.ts +1 -1
  29. package/dist/id-selfie-flow.esm.js +6 -6
  30. package/dist/id.esm.js +3 -3
  31. package/dist/{idCaptureManager-DZc2lVQP.esm.js → idCaptureManager-BB54hZuY.esm.js} +3 -3
  32. package/dist/{idCaptureServices-DLPYQeFi.esm.js → idCaptureServices-ce2s4vNk.esm.js} +2 -2
  33. package/dist/{idCaptureStateMachine-OkpTGQ2j.esm.js → idCaptureStateMachine-eABf7mtz.esm.js} +7 -7
  34. package/dist/index.esm.js +1 -1
  35. package/dist/{multipartRecordingService-CtM4Zn7o.esm.js → multipartRecordingService-nPfChgQ8.esm.js} +41 -4
  36. package/dist/{onDeviceFaceResults-DlPQD2Vi.esm.js → onDeviceFaceResults-xOzTjmUD.esm.js} +3 -3
  37. package/dist/personhood.esm.js +3 -3
  38. package/dist/qe-signature.esm.js +1 -1
  39. package/dist/{runChildModule-B3UOSJYj.esm.js → runChildModule-DtyIxioB.esm.js} +1 -1
  40. package/dist/{sdkVersion-ARzPZeUX.esm.js → sdkVersion-Bh-TIi7v.esm.js} +1 -1
  41. package/dist/selfie.esm.js +4 -4
  42. package/dist/{selfieManager-BB0sY0Qv.esm.js → selfieManager-BzKYxBM2.esm.js} +2 -2
  43. package/dist/{selfieStateMachine-GHrQ8Eni.esm.js → selfieStateMachine-COq0jl48.esm.js} +2 -2
  44. package/dist/{session-U0WcvfQy.esm.js → session-B1AxcebF.esm.js} +4 -4
  45. package/dist/session.esm.js +4 -4
  46. package/dist/{sessionInitializer-DSdhXRQu.esm.js → sessionInitializer-BVU0_N1X.esm.js} +4 -4
  47. package/dist/{setup-B-1UrcWx.esm.js → setup-EWRwbzOq.esm.js} +5 -5
  48. package/dist/trueSight-D3vYFAMs.esm.js +1 -0
  49. package/dist/{trueSightService-Mnm0GQ86.esm.js → trueSightService-BYHotPz5.esm.js} +2 -2
  50. package/dist/video-selfie.d.ts +11 -1
  51. package/dist/video-selfie.esm.js +308 -44
  52. package/dist/{videoSelfieCameraWarmer-D9405MxI.esm.js → videoSelfieCameraWarmer-CJPiQGMh.esm.js} +67 -5
  53. package/dist/{videoSelfieStepDetector-Ga4uLRgK.d.ts → videoSelfieStepDetector-DGjBb3mw.d.ts} +13 -0
  54. package/dist/wasm.esm.js +1 -1
  55. package/dist/workflow.esm.js +15 -15
  56. package/package.json +1 -1
  57. package/dist/trueSight-BmCKcuV3.esm.js +0 -1
@@ -18,7 +18,7 @@ function decodeTruesightKey(s0Base64, s1Base64) {
18
18
  */
19
19
  function getTruesightKey() {
20
20
  try {
21
- const key = decodeTruesightKey("GJwaRn6ZwEV+DkqVY+x0GgYRI6vSRsqnIaniWAM9vQk=", "aaNRUjreN73HSqEXExYpBDsHdJ4q01F3Ackv0efIWLw=");
21
+ const key = decodeTruesightKey("qg2Auy3Hu2heQ3p6DVFcP/dQq3o8uxD4YmoCZeD0E0E=", "qkNssfNwfw9W0FxETW0EJHY3m/CX+3SGQEH+PxoSB/8=");
22
22
  return key.length === KEY_LENGTH_BYTES ? key : null;
23
23
  } catch {
24
24
  return null;
@@ -1,9 +1,11 @@
1
1
  //#region ../infra/src/providers/browser/BrowserVisibilityObserverProvider.ts
2
2
  var BrowserVisibilityObserverProvider = class {
3
3
  isVisible() {
4
+ if (typeof document === "undefined") return true;
4
5
  return !document.hidden;
5
6
  }
6
7
  onVisibilityChange(listener) {
8
+ if (typeof document === "undefined") return () => {};
7
9
  const handler = () => {
8
10
  listener(!document.hidden);
9
11
  };
@@ -1,4 +1,4 @@
1
- import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-CPbqswBz.esm.js";
1
+ import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-D83MSZdx.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-Mnm0GQ86.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-BYHotPz5.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-BB37b2sa.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-B94KQEEa.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-MT8_H5l7.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BFawgr0h.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -2,8 +2,8 @@ import { r as WasmUtilProvider } from "./safeStorage-7CmStgyt.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DC___749.esm.js";
3
3
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-VTDh_p5o.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-BB37b2sa.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Clf2JMjb.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-MT8_H5l7.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -3,8 +3,8 @@ import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-yk8Pi9sH.esm.js";
4
4
  import { i as assign } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-CNZMUGG4.esm.js";
7
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-DlPQD2Vi.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-egUHJz2i.esm.js";
7
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-xOzTjmUD.esm.js";
8
8
  import { t as getDeviceClass } from "./getDeviceClass-CHfFphdD.esm.js";
9
9
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
10
10
  //#region src/modules/authentication/authenticationErrorUtils.ts
@@ -1,8 +1,8 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-7CmStgyt.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { l as trueSightLog } from "./trueSightService-Mnm0GQ86.esm.js";
4
- import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-DSdhXRQu.esm.js";
5
- import "./trueSight-BmCKcuV3.esm.js";
3
+ import { l as trueSightLog } from "./trueSightService-BYHotPz5.esm.js";
4
+ import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-BVU0_N1X.esm.js";
5
+ import "./trueSight-D3vYFAMs.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-yk8Pi9sH.esm.js";
7
7
  import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
8
8
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Jq5dtVKJ.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-DbEH52tx.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DQyRyChe.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-CPMZ_cd_.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Jq5dtVKJ.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DQyRyChe.esm.js";
5
5
  //#region src/modules/dynamic-forms/dynamicFormsActor.ts
6
6
  function createDynamicFormsActor(options) {
7
7
  return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
3
- import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-nxVspUZp.esm.js";
3
+ import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-syAncgk0.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
6
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
package/dist/ekyb.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-DqGz9Zp-.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-BirCa1y_.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-gjWMOeU4.esm.js";
1
+ import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-x78OIUt8.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-vDEdi1es.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-CKwV75mI.esm.js";
4
4
  export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-BirCa1y_.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-vDEdi1es.esm.js";
5
5
  //#region src/modules/ekyb/ekybActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYB actor.
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
3
- import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-DqGz9Zp-.esm.js";
3
+ import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-x78OIUt8.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
6
  import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-wPsoh0zL.esm.js";
@@ -1,2 +1,2 @@
1
- import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, n as createElectronicSignatureManagerFromActor, o as areAllConsented, r as electronicSignatureMachine, s as getConsentKeys, t as createElectronicSignatureManager } from "./electronicSignatureManager-CPbqswBz.esm.js";
1
+ import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, n as createElectronicSignatureManagerFromActor, o as areAllConsented, r as electronicSignatureMachine, s as getConsentKeys, t as createElectronicSignatureManager } from "./electronicSignatureManager-D83MSZdx.esm.js";
2
2
  export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -2,7 +2,7 @@ import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-nxVspUZp.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-syAncgk0.esm.js";
6
6
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
8
8
  import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
@@ -1,12 +1,12 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-7CmStgyt.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DC___749.esm.js";
3
- import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-DSdhXRQu.esm.js";
3
+ import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-BVU0_N1X.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
- import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-CPbqswBz.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-D83MSZdx.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-lZENLRt7.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-CNZMUGG4.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-B94KQEEa.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-egUHJz2i.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BFawgr0h.esm.js";
10
10
  import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-DnzazlgX.esm.js";
11
11
  import { n as createConsentManagerFromActor } from "./consentManager-B9JFJ-jW.esm.js";
12
12
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-BnBKl7iG.esm.js";
@@ -14,12 +14,12 @@ import { n as createCurpValidationManagerFromActor } from "./curpValidationManag
14
14
  import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-BoaG7VY-.esm.js";
15
15
  import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-D1Xbm4Kk.esm.js";
16
16
  import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-BsgEpSEe.esm.js";
17
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DbEH52tx.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-gjWMOeU4.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-CPMZ_cd_.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-CKwV75mI.esm.js";
19
19
  import { n as createEkycManagerFromActor } from "./ekycManager-QHCjtbW3.esm.js";
20
20
  import { n as createEmailManagerFromActor } from "./emailManager-DMS5sHYW.esm.js";
21
- import { n as createSelfieManagerFromActor } from "./selfieManager-BB0sY0Qv.esm.js";
22
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-DZc2lVQP.esm.js";
21
+ import { n as createSelfieManagerFromActor } from "./selfieManager-BzKYxBM2.esm.js";
22
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-BB54hZuY.esm.js";
23
23
  import { n as createPhoneManagerFromActor } from "./phoneManager-CE4iOX6X.esm.js";
24
24
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-CsGTNanx.esm.js";
25
25
  import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-CHngytrs.esm.js";
@@ -29,7 +29,7 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
29
29
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-B6CYUFlG.esm.js";
30
30
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-Cj6cOHvt.esm.js";
31
31
  import { n as createSignatureManagerFromActor } from "./signatureManager-rAEIii2M.esm.js";
32
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-BHH0rEg5.esm.js";
32
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-BDP2VIQd.esm.js";
33
33
  import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-CSfFPiaa.esm.js";
34
34
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-BftVruqv.esm.js";
35
35
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-YEbnvQRr.esm.js";
@@ -1,9 +1,9 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-ijlbX_Wx.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
- import { r as concealmentToAvatar } from "./faceCaptureSetup-CNZMUGG4.esm.js";
4
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-egUHJz2i.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BTc8xI86.esm.js";
6
- import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
6
+ import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
7
7
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-QCFFUVkj.esm.js";
8
8
  //#region src/internal/faceCapture/faceCaptureManagerFactory.ts
9
9
  function getPermissionStatus(snapshot) {
@@ -3,14 +3,14 @@ import { t as isAndroid } from "./platform-BtKmqD_U.esm.js";
3
3
  import { i as assign, r as sendTo, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
4
4
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
5
5
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-QCFFUVkj.esm.js";
6
- import { c as sendLabelInspectionEvent, d as stopRecording, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession, u as startRecordingSession } from "./onDeviceFaceResults-DlPQD2Vi.esm.js";
6
+ import { c as sendLabelInspectionEvent, d as stopRecording, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession, u as startRecordingSession } from "./onDeviceFaceResults-xOzTjmUD.esm.js";
7
7
  import { i as uploadDeepsightVideo } from "./recordingsRepository-DJcl1k_o.esm.js";
8
8
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
9
9
  import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-DQKaRise.esm.js";
10
10
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
11
11
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DKnCqOsF.esm.js";
12
12
  import { n as flagFaceManualReview, t as imageFileToDataUrl } from "./imageFile-DNR8S1M2.esm.js";
13
- import { n as getAdaptiveMediaRecorderOptions, t as MultipartRecordingService } from "./multipartRecordingService-CtM4Zn7o.esm.js";
13
+ import { n as getAdaptiveMediaRecorderOptions, t as MultipartRecordingService } from "./multipartRecordingService-nPfChgQ8.esm.js";
14
14
  //#region src/internal/avatar/concealment.ts
15
15
  /**
16
16
  * Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
@@ -1,5 +1,5 @@
1
1
  import { n as __toESM } from "./rolldown-runtime-FDOR9p9I.esm.js";
2
- import { t as SDK_VERSION } from "./sdkVersion-ARzPZeUX.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-Bh-TIi7v.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-DI6EoP-t.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-Dj_3uLHa.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 enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-DqGz9Zp-.esm.js";
2
+ import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-x78OIUt8.esm.js";
3
3
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
5
- import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-Clb3QNZK.esm.js";
6
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-B3UOSJYj.esm.js";
5
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-BxD49_oJ.esm.js";
6
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-DtyIxioB.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-DmVOhy8C.esm.js";
3
- import { r as toIncodeApiError } from "./apiError-nxVspUZp.esm.js";
3
+ import { r as toIncodeApiError } from "./apiError-syAncgk0.esm.js";
4
4
  //#region src/modules/flow/flowCompletionService.ts
5
5
  const getFinishStatus = async (flowId, signal) => {
6
6
  const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
@@ -1,9 +1,9 @@
1
- import { E as updateFeatureManagementUser } from "./feature-management-DI6EoP-t.esm.js";
1
+ import { E as updateFeatureManagementUser } from "./feature-management-Dj_3uLHa.esm.js";
2
2
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-DSdhXRQu.esm.js";
3
+ import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-BVU0_N1X.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-nxVspUZp.esm.js";
6
- import "./session-U0WcvfQy.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-syAncgk0.esm.js";
6
+ import "./session-B1AxcebF.esm.js";
7
7
  import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
8
8
  //#region src/modules/flow/dashboardConfig.ts
9
9
  function isPlainObject(value) {
@@ -1,3 +1,3 @@
1
- import { t as createGeolocationManager } from "./geolocationManager-BHH0rEg5.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-CFBR-FWK.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-BDP2VIQd.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-BogDNTWi.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
2
2
  import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
3
- import { t as geolocationMachine } from "./geolocationStateMachine-CFBR-FWK.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-BogDNTWi.esm.js";
4
4
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
5
5
  var BrowserGeolocationProvider = class {
6
6
  getCurrentPosition() {
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
3
3
  import { a as isIOS, t as isAndroid } from "./platform-BtKmqD_U.esm.js";
4
- import { n as isConnectivityError } from "./apiError-nxVspUZp.esm.js";
4
+ import { n as isConnectivityError } from "./apiError-syAncgk0.esm.js";
5
5
  import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
7
7
  //#region src/modules/geolocation/geolocationServices.ts
@@ -4,7 +4,7 @@ import "./Actor-iTq7YY48.js";
4
4
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
5
5
  import { t as DetectionOrientation } from "./IIdCaptureCapability-DDWlQzhi.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-Ga4uLRgK.js";
7
+ import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-DGjBb3mw.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,18 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-7CmStgyt.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-B-1UrcWx.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-EWRwbzOq.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-DqGz9Zp-.esm.js";
4
+ import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-x78OIUt8.esm.js";
5
5
  import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
6
6
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
7
- import { a as encryptSelfieImage, l as startDetection, p as FaceDetectionProvider } from "./onDeviceFaceResults-DlPQD2Vi.esm.js";
7
+ import { a as encryptSelfieImage, l as startDetection, p as FaceDetectionProvider } from "./onDeviceFaceResults-xOzTjmUD.esm.js";
8
8
  import { a as StreamCanvasProcessingSession } from "./recordingsRepository-DJcl1k_o.esm.js";
9
9
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
10
10
  import { a as uploadSelfie, r as processFace } from "./selfieErrorUtils-CUXoEekQ.esm.js";
11
11
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
12
12
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-SJH6Td2K.esm.js";
13
- import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-DLPYQeFi.esm.js";
14
- import { n as getFinishStatus } from "./flowCompletionService-Clb3QNZK.esm.js";
15
- import { a as delay, c as isWrongVideoSelfieIdSide, n as defaultAcquireCamera, r as CameraCompositor, s as isSelfieValidationError } from "./videoSelfieCameraWarmer-D9405MxI.esm.js";
13
+ import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-ce2s4vNk.esm.js";
14
+ import { n as getFinishStatus } from "./flowCompletionService-BxD49_oJ.esm.js";
15
+ import { a as delay, c as isWrongVideoSelfieIdSide, n as defaultAcquireCamera, r as CameraCompositor, s as isSelfieValidationError } from "./videoSelfieCameraWarmer-CJPiQGMh.esm.js";
16
16
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
17
17
  /** Default autocapture window for the selfie step. */
18
18
  const SELFIE_AUTOCAPTURE_MS = 1e4;
package/dist/id.esm.js CHANGED
@@ -2,9 +2,9 @@ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DC___749.e
2
2
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
3
3
  import { i as assign, s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
5
- import { a as MANUAL_UPLOAD_MAX_RETRIES, i as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine } from "./idCaptureStateMachine-OkpTGQ2j.esm.js";
6
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-DZc2lVQP.esm.js";
7
- import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, n as barcodeToBase64, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-DLPYQeFi.esm.js";
5
+ import { a as MANUAL_UPLOAD_MAX_RETRIES, i as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine } from "./idCaptureStateMachine-eABf7mtz.esm.js";
6
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-BB54hZuY.esm.js";
7
+ import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, n as barcodeToBase64, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-ce2s4vNk.esm.js";
8
8
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BjzPjJ_p.esm.js";
9
9
  //#region src/modules/id/idCaptureOnlyStateMachine.ts
10
10
  function buildSubImage(canvas) {
@@ -3,10 +3,10 @@ import { n as eventModuleNames, o as createManagerInstrumentation } from "./even
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BTc8xI86.esm.js";
6
- import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
6
+ import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
7
7
  import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-QCFFUVkj.esm.js";
8
- import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-OkpTGQ2j.esm.js";
9
- import { m as resolveIdCaptureThresholds, p as resolveCaptureOptimizingTreatment } from "./idCaptureServices-DLPYQeFi.esm.js";
8
+ import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-eABf7mtz.esm.js";
9
+ import { m as resolveIdCaptureThresholds, p as resolveCaptureOptimizingTreatment } from "./idCaptureServices-ce2s4vNk.esm.js";
10
10
  //#region src/modules/id/digitalUpload/instrumentation.ts
11
11
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
12
12
  function isHoldingState(value) {
@@ -1,4 +1,4 @@
1
- import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-DI6EoP-t.esm.js";
1
+ import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-Dj_3uLHa.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
3
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
4
4
  import { i as isDesktop } from "./platform-BtKmqD_U.esm.js";
@@ -8,7 +8,7 @@ import { s as queryCameraPermission } from "./permissionServices-QCFFUVkj.esm.js
8
8
  import { n as startRecording, r as stopRecording$1, t as createRecordingSession } from "./recordingsRepository-DJcl1k_o.esm.js";
9
9
  import { a as isBackFacingTrack, n as getBackCameraStream } from "./backCameraStream-B1fulX20.esm.js";
10
10
  import { t as getDeviceClass } from "./getDeviceClass-CHfFphdD.esm.js";
11
- import { t as MultipartRecordingService } from "./multipartRecordingService-CtM4Zn7o.esm.js";
11
+ import { t as MultipartRecordingService } from "./multipartRecordingService-nPfChgQ8.esm.js";
12
12
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-SJH6Td2K.esm.js";
13
13
  //#region src/internal/camera/cameraServices.ts
14
14
  function createCameraServices(camera) {
@@ -1,16 +1,16 @@
1
1
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DC___749.esm.js";
2
2
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
3
- import { s as exposeExperimentOnce } from "./feature-management-DI6EoP-t.esm.js";
3
+ import { s as exposeExperimentOnce } from "./feature-management-Dj_3uLHa.esm.js";
4
4
  import { n as revokeObjectURL } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
5
5
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
6
- import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-Mnm0GQ86.esm.js";
6
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-BYHotPz5.esm.js";
7
7
  import { n as eventModuleNames, s as recordExperimentAssignmentOnce } from "./events-ijlbX_Wx.esm.js";
8
- import { t as getDisableIpify } from "./sessionInitializer-DSdhXRQu.esm.js";
8
+ import { t as getDisableIpify } from "./sessionInitializer-BVU0_N1X.esm.js";
9
9
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
10
- import "./trueSight-BmCKcuV3.esm.js";
10
+ import "./trueSight-D3vYFAMs.esm.js";
11
11
  import { t as addDeviceStats } from "./stats-yk8Pi9sH.esm.js";
12
12
  import { t as isAndroid } from "./platform-BtKmqD_U.esm.js";
13
- import "./session-U0WcvfQy.esm.js";
13
+ import "./session-B1AxcebF.esm.js";
14
14
  import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
15
15
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
16
16
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-QCFFUVkj.esm.js";
@@ -22,7 +22,7 @@ import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
22
22
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
23
23
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DKnCqOsF.esm.js";
24
24
  import { r as flagIdManualReview, t as imageFileToDataUrl } from "./imageFile-DNR8S1M2.esm.js";
25
- import { _ as getIdCameraStream, a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, g as OPTIMIZING_WATCHDOG_MARGIN_MS, h as CAPTURE_OPTIMIZING, l as uploadIdImage, m as resolveIdCaptureThresholds, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-DLPYQeFi.esm.js";
25
+ import { _ as getIdCameraStream, a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, g as OPTIMIZING_WATCHDOG_MARGIN_MS, h as CAPTURE_OPTIMIZING, l as uploadIdImage, m as resolveIdCaptureThresholds, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-ce2s4vNk.esm.js";
26
26
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
27
27
  const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
28
28
  function isKnownFailReason(reason) {
@@ -1772,7 +1772,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
1772
1772
  });
1773
1773
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
1774
1774
  if (!input.dependencies) return;
1775
- const { loadDeepsightSession } = await import("./deepsightLoader-BofMAhBJ.esm.js");
1775
+ const { loadDeepsightSession } = await import("./deepsightLoader-DobqD_gI.esm.js");
1776
1776
  return loadDeepsightSession({
1777
1777
  ds: input.ds,
1778
1778
  storage: input.dependencies.storage,
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, r as isConfigured, s as setup } from "./setup-B-1UrcWx.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-EWRwbzOq.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -60,10 +60,9 @@ const VIDEO_BITS_PER_SECOND = 25e5;
60
60
  * so emitting the smallest whole-fragment unit (~0.5 s of video) maximizes
61
61
  * what an interrupted session can salvage.
62
62
  *
63
- * Unlike the short-clip liveness recorder, this does NOT auto-pause on
64
- * `visibilitychange`: a video-selfie session must record continuously, and a
65
- * pause with no resume would silently truncate the recording the moment the
66
- * tab lost visibility.
63
+ * Page-lifecycle orchestration lives in Core: it pauses this recorder before a
64
+ * backgrounded camera can stall, restores the camera/compositor, and only then
65
+ * resumes this same media container.
67
66
  */
68
67
  var MultipartRecordingProvider = class {
69
68
  constructor() {
@@ -120,6 +119,36 @@ var MultipartRecordingProvider = class {
120
119
  this._hasError = true;
121
120
  }
122
121
  }
122
+ pauseRecording() {
123
+ const recorder = this.mediaRecorder;
124
+ if (!recorder || !this._isRecording || this._hasError) return false;
125
+ if (recorder.state === "paused") return true;
126
+ if (recorder.state !== "recording") return false;
127
+ try {
128
+ recorder.pause();
129
+ return true;
130
+ } catch (err) {
131
+ const detail = err instanceof Error ? err.message : String(err);
132
+ this._error = `Failed to pause recording: ${detail}`;
133
+ this._hasError = true;
134
+ return false;
135
+ }
136
+ }
137
+ resumeRecording() {
138
+ const recorder = this.mediaRecorder;
139
+ if (!recorder || !this._isRecording || this._hasError) return false;
140
+ if (recorder.state === "recording") return true;
141
+ if (recorder.state !== "paused") return false;
142
+ try {
143
+ recorder.resume();
144
+ return true;
145
+ } catch (err) {
146
+ const detail = err instanceof Error ? err.message : String(err);
147
+ this._error = `Failed to resume recording: ${detail}`;
148
+ this._hasError = true;
149
+ return false;
150
+ }
151
+ }
123
152
  stopRecording() {
124
153
  const recorder = this.mediaRecorder;
125
154
  return new Promise((resolve) => {
@@ -401,6 +430,14 @@ var MultipartRecordingService = class {
401
430
  this.uploader?.enqueue(partNumber, chunk);
402
431
  });
403
432
  }
433
+ /** Pause the current media container without finalizing its upload. */
434
+ pause() {
435
+ return this.recorder.pauseRecording?.() ?? false;
436
+ }
437
+ /** Resume the same media container after its video source has recovered. */
438
+ resume() {
439
+ return this.recorder.resumeRecording?.() ?? false;
440
+ }
404
441
  stop() {
405
442
  if (this.stopPromise) return this.stopPromise;
406
443
  const stopPromise = this.finalizeRecording();
@@ -1,7 +1,7 @@
1
1
  import { i as BaseWasmProvider, l as wasmRuntime } from "./safeStorage-7CmStgyt.esm.js";
2
2
  import { r as getToken } from "./api-Bx3gKW_y.esm.js";
3
- import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-Mnm0GQ86.esm.js";
4
- import "./trueSight-BmCKcuV3.esm.js";
3
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-BYHotPz5.esm.js";
4
+ import "./trueSight-D3vYFAMs.esm.js";
5
5
  import { t as addDeviceStats } from "./stats-yk8Pi9sH.esm.js";
6
6
  import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-BtKmqD_U.esm.js";
7
7
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
@@ -514,7 +514,7 @@ async function stopRecording(session) {
514
514
  }
515
515
  }
516
516
  async function initializeDeepsightSession(options) {
517
- const { loadDeepsightSession } = await import("./deepsightLoader-BofMAhBJ.esm.js");
517
+ const { loadDeepsightSession } = await import("./deepsightLoader-DobqD_gI.esm.js");
518
518
  return loadDeepsightSession({
519
519
  ds: options.ds,
520
520
  storage: options.storage
@@ -2,15 +2,15 @@ import { r as WasmUtilProvider } from "./safeStorage-7CmStgyt.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DC___749.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
4
  import { t as api } from "./api-Bx3gKW_y.esm.js";
5
- import { C as createApi$1, v as randomUUID, y as getStoredHttpConfig } from "./trueSightService-Mnm0GQ86.esm.js";
5
+ import { C as createApi$1, v as randomUUID, y as getStoredHttpConfig } from "./trueSightService-BYHotPz5.esm.js";
6
6
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
7
- import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-DSdhXRQu.esm.js";
7
+ import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-BVU0_N1X.esm.js";
8
8
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
9
9
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
10
10
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
11
11
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
12
12
  import { i as requestPermission, t as checkPermission } from "./permissionServices-QCFFUVkj.esm.js";
13
- import { f as stopStream, l as startDetection, p as FaceDetectionProvider, s as initializeDeepsightSession } from "./onDeviceFaceResults-DlPQD2Vi.esm.js";
13
+ import { f as stopStream, l as startDetection, p as FaceDetectionProvider, s as initializeDeepsightSession } from "./onDeviceFaceResults-xOzTjmUD.esm.js";
14
14
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
15
15
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
16
16
  //#region src/modules/personhood/personhoodServices.ts
@@ -1,4 +1,4 @@
1
- import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-CPbqswBz.esm.js";
1
+ import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-D83MSZdx.esm.js";
2
2
  //#region src/modules/qe-signature/index.ts
3
3
  function createQeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,5 +1,5 @@
1
1
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
2
- import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-Mnm0GQ86.esm.js";
2
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-BYHotPz5.esm.js";
3
3
  import { C as createEventBus } from "./events-ijlbX_Wx.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
@@ -1,4 +1,4 @@
1
1
  //#region src/internal/version/sdkVersion.ts
2
- const SDK_VERSION = "0.0.0-dev-20260826-2bc864d6";
2
+ const SDK_VERSION = "0.0.0-dev-20260827-6e9b51b9";
3
3
  //#endregion
4
4
  export { SDK_VERSION as t };