@incodetech/core 0.0.0-dev-20260924-9aba82df → 0.0.0-dev-20260924-e9f5a050

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-5RBhrTGS.esm.js → BrowserDiagnosticsCryptoProvider-BT5v_TqE.esm.js} +1 -1
  2. package/dist/{FaceDetectionProvider-7UfeT1dY.esm.js → FaceDetectionProvider-BuuArRWH.esm.js} +4 -4
  3. package/dist/ae-signature.esm.js +1 -1
  4. package/dist/{apiError-nVzKTbtn.esm.js → apiError-Ly5kgcPk.esm.js} +1 -1
  5. package/dist/authentication.esm.js +2 -2
  6. package/dist/{authenticationManager-BK21vHAC.esm.js → authenticationManager-Dymn736O.esm.js} +3 -3
  7. package/dist/{authenticationStateMachine-BEYORRNw.esm.js → authenticationStateMachine-DYmjk6b6.esm.js} +2 -2
  8. package/dist/consent.d.ts +1 -1
  9. package/dist/{consentManager-Cv_0QKLD.d.ts → consentManager-B8PXGCuW.d.ts} +8 -8
  10. package/dist/{deepsightLoader-CKSBVjR-.esm.js → deepsightLoader-DZ5jfHnI.esm.js} +3 -3
  11. package/dist/dynamic-forms.esm.js +2 -2
  12. package/dist/{dynamicFormsManager-CwISQDBz.esm.js → dynamicFormsManager-DzJQCyQQ.esm.js} +1 -1
  13. package/dist/{dynamicFormsStateMachine-BHrUB9NH.esm.js → dynamicFormsStateMachine-BliJsP_v.esm.js} +1 -1
  14. package/dist/ekyb.esm.js +3 -3
  15. package/dist/{ekybManager-RQYhWZsO.esm.js → ekybManager-D2mdXjsU.esm.js} +1 -1
  16. package/dist/{ekybStateMachine-EgA3HbIZ.esm.js → ekybStateMachine-4_zoq2CY.esm.js} +1 -1
  17. package/dist/electronic-signature.esm.js +1 -1
  18. package/dist/{electronicSignatureManager-V4TYaSvS.esm.js → electronicSignatureManager-CVhuhthS.esm.js} +1 -1
  19. package/dist/extensibility.d.ts +5 -5
  20. package/dist/extensibility.esm.js +10 -10
  21. package/dist/{faceCaptureManagerFactory-tDf-QZjq.esm.js → faceCaptureManagerFactory-C7SVm_ws.esm.js} +1 -1
  22. package/dist/{faceCaptureSetup-BelKNcJz.esm.js → faceCaptureSetup-DXZqcFhK.esm.js} +3 -3
  23. package/dist/{feature-management-DN4TxMxc.esm.js → feature-management-DC2LJ0ZF.esm.js} +1 -1
  24. package/dist/feature-management.esm.js +1 -1
  25. package/dist/flow.d.ts +1 -1
  26. package/dist/flow.esm.js +3 -3
  27. package/dist/{flowCompletionService-Dc67PpxA.esm.js → flowCompletionService-DL0JHvhJ.esm.js} +1 -1
  28. package/dist/{flowServices-B20jmlyf.esm.js → flowServices-CLloYVJf.esm.js} +4 -4
  29. package/dist/geolocation.esm.js +2 -2
  30. package/dist/{geolocationManager-CxoFV2vf.esm.js → geolocationManager-BJZqKgXo.esm.js} +1 -1
  31. package/dist/{geolocationStateMachine-DqgDRFKR.esm.js → geolocationStateMachine-CfaBaWDZ.esm.js} +1 -1
  32. package/dist/id-selfie-flow.esm.js +7 -7
  33. package/dist/id.d.ts +3 -3
  34. package/dist/id.esm.js +4 -4
  35. package/dist/{idCaptureDefaults-0fKD_ZnW.esm.js → idCaptureDefaults-DoeRxHF8.esm.js} +1 -1
  36. package/dist/{idCaptureManager-vKljsFdL.esm.js → idCaptureManager-9sJxnTNJ.esm.js} +3 -34
  37. package/dist/{idCaptureManager-BWzWmvEc.d.ts → idCaptureManager-BwCRMOUG.d.ts} +160 -2
  38. package/dist/{idCaptureServices-gm3rsyKd.esm.js → idCaptureServices-BzTcreOa.esm.js} +3 -3
  39. package/dist/{idCaptureStateMachine-BRFeInDT.esm.js → idCaptureStateMachine-BaB3MsWL.esm.js} +228 -12
  40. package/dist/identity-reuse.d.ts +1 -1
  41. package/dist/{identityReuseManager-x2QG6QAm.d.ts → identityReuseManager-D30b2UEC.d.ts} +4 -4
  42. package/dist/index.esm.js +1 -1
  43. package/dist/mandatory-consent.d.ts +1 -1
  44. package/dist/{mandatoryConsentManager-CTAa9lBQ.d.ts → mandatoryConsentManager-CMAyZpNe.d.ts} +4 -4
  45. package/dist/personhood.esm.js +4 -4
  46. package/dist/qe-signature.esm.js +1 -1
  47. package/dist/{runChildModule-Dr5CFawD.esm.js → runChildModule-BXmSYzH5.esm.js} +1 -1
  48. package/dist/{sdkVersion-CyhykVhu.esm.js → sdkVersion-BwSmsU1e.esm.js} +1 -1
  49. package/dist/selfie.esm.js +5 -5
  50. package/dist/{selfieManager-tuvIeNF7.esm.js → selfieManager-COimv2A_.esm.js} +3 -3
  51. package/dist/{selfieStateMachine-CL8gCuwx.esm.js → selfieStateMachine-CsrGamdm.esm.js} +2 -2
  52. package/dist/{session-4d1MA6e0.esm.js → session-CCmW6Mvk.esm.js} +3 -3
  53. package/dist/session.esm.js +4 -4
  54. package/dist/{sessionInitializer-DNyFwDBo.esm.js → sessionInitializer-Do2m7gBN.esm.js} +3 -3
  55. package/dist/{setup-DdHWj_DR.esm.js → setup-CBwTvRhV.esm.js} +4 -4
  56. package/dist/{trueSightService-BY4OYH9f.esm.js → trueSightService-DdGN8biX.esm.js} +2 -2
  57. package/dist/{types-Vh9cUnOR2.d.ts → types-H6yoTrWC2.d.ts} +8 -1
  58. package/dist/video-selfie.esm.js +4 -4
  59. package/dist/{videoSelfieCameraWarmer-BPu9VaIH.esm.js → videoSelfieCameraWarmer-DdS4LV7-.esm.js} +3 -3
  60. package/dist/wasm.esm.js +2 -2
  61. package/dist/workflow.d.ts +4 -4
  62. package/dist/workflow.esm.js +14 -14
  63. package/package.json +1 -1
@@ -18,7 +18,7 @@ function decodeTruesightKey(s0Base64, s1Base64) {
18
18
  */
19
19
  function getTruesightKey() {
20
20
  try {
21
- const key = decodeTruesightKey("SN5jwnmpUVn9HQ+Xvq64CyfUE9TYCb89GapPrBkhmyY=", "ag6lSCb4GO2FMyUQI4c1hyhCdkNoH0BWxPlQ26i9woQ=");
21
+ const key = decodeTruesightKey("Md24UwLDcf0ThCE7vvEFa37l1lkcfjDkZfmFkgYH8p4=", "OcSbVwCRoJSG6LRrSaeRabFs2kM3oiAP9TzdH98yG/g=");
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-BY4OYH9f.esm.js";
1
+ import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-DdGN8biX.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-DdHWj_DR.esm.js";
5
- import "./sessionInitializer-DNyFwDBo.esm.js";
4
+ import { t as ensureWasmPipelines } from "./setup-CBwTvRhV.esm.js";
5
+ import "./sessionInitializer-Do2m7gBN.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-CKSBVjR-.esm.js");
159
+ const { loadDeepsightSession } = await import("./deepsightLoader-DZ5jfHnI.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-V4TYaSvS.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-CVhuhthS.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-BY4OYH9f.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-DdGN8biX.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-BEYORRNw.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BK21vHAC.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-DYmjk6b6.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-Dymn736O.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-DdHWj_DR.esm.js";
2
+ import { l as BrowserStorageProvider } from "./setup-CBwTvRhV.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-tDf-QZjq.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-BEYORRNw.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C7SVm_ws.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-DYmjk6b6.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-BelKNcJz.esm.js";
4
- import { c as isOnDeviceMode } from "./FaceDetectionProvider-7UfeT1dY.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-DXZqcFhK.esm.js";
4
+ import { c as isOnDeviceMode } from "./FaceDetectionProvider-BuuArRWH.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-B8PXGCuW.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -73,6 +73,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
73
73
  id: string | undefined;
74
74
  };
75
75
  }>, Values<{
76
+ setConsentData: {
77
+ type: "setConsentData";
78
+ params: NonReducibleUnknown;
79
+ };
80
+ toggleCheckbox: {
81
+ type: "toggleCheckbox";
82
+ params: NonReducibleUnknown;
83
+ };
76
84
  setError: {
77
85
  type: "setError";
78
86
  params: NonReducibleUnknown;
@@ -85,14 +93,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
85
93
  type: "resetContext";
86
94
  params: NonReducibleUnknown;
87
95
  };
88
- setConsentData: {
89
- type: "setConsentData";
90
- params: NonReducibleUnknown;
91
- };
92
- toggleCheckbox: {
93
- type: "toggleCheckbox";
94
- params: NonReducibleUnknown;
95
- };
96
96
  }>, {
97
97
  type: "canSubmit";
98
98
  params: unknown;
@@ -1,7 +1,7 @@
1
- import { l as trueSightLog } from "./trueSightService-BY4OYH9f.esm.js";
1
+ import { l as trueSightLog } from "./trueSightService-DdGN8biX.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-DNyFwDBo.esm.js";
4
- import { t as SDK_VERSION } from "./sdkVersion-CyhykVhu.esm.js";
3
+ import { _ as IpifyProvider, b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, v as getThumbmarkId } from "./sessionInitializer-Do2m7gBN.esm.js";
4
+ import { t as SDK_VERSION } from "./sdkVersion-BwSmsU1e.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-BHrUB9NH.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-CwISQDBz.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BliJsP_v.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-DzJQCyQQ.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-BHrUB9NH.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BliJsP_v.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-nVzKTbtn.esm.js";
3
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-Ly5kgcPk.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-B20jmlyf.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-EgA3HbIZ.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-RQYhWZsO.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-CLloYVJf.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-4_zoq2CY.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-D2mdXjsU.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-EgA3HbIZ.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-4_zoq2CY.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-B20jmlyf.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-CLloYVJf.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-V4TYaSvS.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-CVhuhthS.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-nVzKTbtn.esm.js";
5
+ import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-Ly5kgcPk.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-BK2M68y1.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-B8PXGCuW.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-Ca_hyfn8.js";
17
17
  import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CF-cO8ap.js";
@@ -22,14 +22,14 @@ import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as E
22
22
  import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BeXat860.js";
23
23
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-Dy6omJVp.js";
24
24
  import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-BYY1eWDa.js";
25
- import { i as CaptureIdResponse } from "./types-Vh9cUnOR2.js";
26
- import { I as WasmUtilProvider, d as IdCaptureActor, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-BWzWmvEc.js";
25
+ import { i as CaptureIdResponse } from "./types-H6yoTrWC2.js";
26
+ import { U as WasmUtilProvider, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState, v as IdCaptureActor } from "./idCaptureManager-BwCRMOUG.js";
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-CTAa9lBQ.js";
32
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-CMAyZpNe.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-DdHWj_DR.esm.js";
3
- import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-DNyFwDBo.esm.js";
2
+ import { l as BrowserStorageProvider } from "./setup-CBwTvRhV.esm.js";
3
+ import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-Do2m7gBN.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-V4TYaSvS.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-CVhuhthS.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-BOC5WnCl.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-BelKNcJz.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BK21vHAC.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-DXZqcFhK.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-Dymn736O.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-CwISQDBz.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-RQYhWZsO.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DzJQCyQQ.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-D2mdXjsU.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-tuvIeNF7.esm.js";
22
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-vKljsFdL.esm.js";
21
+ import { n as createSelfieManagerFromActor } from "./selfieManager-COimv2A_.esm.js";
22
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-9sJxnTNJ.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-CxoFV2vf.esm.js";
32
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-BJZqKgXo.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-BelKNcJz.esm.js";
4
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-DXZqcFhK.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,14 +1,14 @@
1
- import { l as trueSightLog, m as isTrueSightTesting } from "./trueSightService-BY4OYH9f.esm.js";
1
+ import { l as trueSightLog, m as isTrueSightTesting } from "./trueSightService-DdGN8biX.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-DNyFwDBo.esm.js";
4
+ import "./sessionInitializer-Do2m7gBN.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-7UfeT1dY.esm.js";
11
+ import { a as sendLabelInspectionEvent, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider } from "./FaceDetectionProvider-BuuArRWH.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";
@@ -1,5 +1,5 @@
1
1
  import { n as __toESM } from "./rolldown-runtime-FDOR9p9I.esm.js";
2
- import { t as SDK_VERSION } from "./sdkVersion-CyhykVhu.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-BwSmsU1e.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-DN4TxMxc.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-DC2LJ0ZF.esm.js";
2
2
  export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
package/dist/flow.d.ts CHANGED
@@ -8,7 +8,7 @@ import { t as AuthenticationConfig } from "./types-ixFGXL3F.js";
8
8
  import { r as DocumentCaptureConfig } from "./types-BjSly8cp.js";
9
9
  import { t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
10
10
  import { t as EkybConfig } from "./types-BfHiko5D.js";
11
- import { u as IdCaptureConfig } from "./types-Vh9cUnOR2.js";
11
+ import { u as IdCaptureConfig } from "./types-H6yoTrWC2.js";
12
12
  import { r as MandatoryConsentConfig } from "./types-C--rKe_Y.js";
13
13
  import { t as IdOcrConfig } from "./types-CJ7Yl9K-.js";
14
14
  import { t as RedirectToMobileConfig } from "./types-DPIDuhut.js";
package/dist/flow.esm.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { v as addEvent } from "./events-ijlbX_Wx.esm.js";
2
- import { a as 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-B20jmlyf.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-CLloYVJf.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-Dc67PpxA.esm.js";
6
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Dr5CFawD.esm.js";
5
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-DL0JHvhJ.esm.js";
6
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BXmSYzH5.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-nVzKTbtn.esm.js";
3
+ import { i as toIncodeApiError } from "./apiError-Ly5kgcPk.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-DN4TxMxc.esm.js";
2
+ import { E as updateFeatureManagementUser } from "./feature-management-DC2LJ0ZF.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-DNyFwDBo.esm.js";
4
+ import { i as initializeSession, l as whenSessionFingerprintSettled, r as getSessionFingerprintResult, u as getStandaloneFlowPolicy } from "./sessionInitializer-Do2m7gBN.esm.js";
5
5
  import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
6
- import { i as toIncodeApiError } from "./apiError-nVzKTbtn.esm.js";
7
- import "./session-4d1MA6e0.esm.js";
6
+ import { i as toIncodeApiError } from "./apiError-Ly5kgcPk.esm.js";
7
+ import "./session-CCmW6Mvk.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-CxoFV2vf.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-DqgDRFKR.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-BJZqKgXo.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-CfaBaWDZ.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-DqgDRFKR.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-CfaBaWDZ.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-nVzKTbtn.esm.js";
4
+ import { n as isConnectivityError } from "./apiError-Ly5kgcPk.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
@@ -1,18 +1,18 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-C511Hltw.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-DdHWj_DR.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-CBwTvRhV.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-B20jmlyf.esm.js";
4
+ import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-CLloYVJf.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-7UfeT1dY.esm.js";
7
+ import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-BuuArRWH.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-0fKD_ZnW.esm.js";
12
- import { h as ID_ERROR_CODES, l as processId, m as validateUploadResponse, p as uploadIdImage } from "./idCaptureServices-gm3rsyKd.esm.js";
11
+ import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-DoeRxHF8.esm.js";
12
+ import { h as ID_ERROR_CODES, l as processId, m as validateUploadResponse, p as uploadIdImage } from "./idCaptureServices-BzTcreOa.esm.js";
13
13
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
14
- import { n as getFinishStatus } from "./flowCompletionService-Dc67PpxA.esm.js";
15
- import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-BPu9VaIH.esm.js";
14
+ import { n as getFinishStatus } from "./flowCompletionService-DL0JHvhJ.esm.js";
15
+ import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-DdS4LV7-.esm.js";
16
16
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
17
17
  /** Default autocapture window for the selfie step. */
18
18
  const SELFIE_AUTOCAPTURE_MS = 1e4;
package/dist/id.d.ts CHANGED
@@ -2,8 +2,8 @@ import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapabil
2
2
  import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
3
3
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
4
4
  import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-DBsv9-7M.js";
5
- import { A as DeviceWalletDecision, B as DigitalIdPlatformSupport, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DeviceWalletProvider, H as isRedirectFlowType, I as DIGITAL_ID_DOCUMENT_TYPES, K as RedirectReturnParams, L as DIGITAL_ID_REGISTRY, M as DeviceWalletFailReason, N as DeviceWalletOutput, O as UploadIdResponse, P as DeviceWalletPlatform, R as DigitalIdDocumentType, S as IdCaptureThresholds, T as IdError, U as resolveDigitalIdImplementation, V as ResolvedDigitalIdRoute, W as DigitalIdProviderId, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DeviceWalletDecryptResponse, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DigitalIdFunnelEntry } from "./types-Vh9cUnOR2.js";
6
- import { A as processId, C as barcodeToBase64, D as initializeIdCapture, E as getRealQualityValue, F as validateUploadResponse, M as stopRecording, N as stopStream, O as pauseRecordingForAttempt, P as uploadIdImage, S as addBarcode, T as finalizeRecordingSession, _ as IdCaptureInitResult, a as CreateIdCaptureOnlyActorOptions, b as UploadIdImageParams, c as IdCaptureOnlyMachine, d as IdCaptureActor, f as createIdCaptureActor, g as FinalizedIdRecording, h as AddBarcodeParams, j as startRecordingSession, k as prepareRecordingForCameraRetry, l as idCaptureOnlyMachine, m as idCaptureMachine, n as IdCaptureManager, o as IdCaptureOnlyActor, p as IdCaptureMachine, r as IdCaptureState, s as createIdCaptureOnlyActor, t as createIdCaptureManager, u as CreateIdCaptureActorOptions, v as InitializeIdCaptureParams, w as disposeRecordingSession, x as ValidationError, y as StartRecordingParams } from "./idCaptureManager-BWzWmvEc.js";
5
+ import { A as DeviceWalletDecision, B as DigitalIdFunnelEntry, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DeviceWalletProvider, G as DigitalIdProviderId, H as ResolvedDigitalIdRoute, L as DIGITAL_ID_DOCUMENT_TYPES, M as DeviceWalletFailReason, N as DeviceWalletOutput, O as UploadIdResponse, P as DeviceWalletPlatform, R as DIGITAL_ID_REGISTRY, S as IdCaptureThresholds, T as IdError, U as isRedirectFlowType, V as DigitalIdPlatformSupport, W as resolveDigitalIdImplementation, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DeviceWalletDecryptResponse, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, q as RedirectReturnParams, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DigitalIdDocumentType } from "./types-H6yoTrWC2.js";
6
+ import { A as barcodeToBase64, B as stopStream, C as FinalizedIdRecording, D as UploadIdImageParams, E as StartRecordingParams, F as pauseRecordingForAttempt, H as validateUploadResponse, I as prepareRecordingForCameraRetry, L as processId, M as finalizeRecordingSession, N as getRealQualityValue, O as ValidationError, P as initializeIdCapture, R as startRecordingSession, S as AddBarcodeParams, T as InitializeIdCaptureParams, V as uploadIdImage, _ as CreateIdCaptureActorOptions, a as RenderWalletError, b as IdCaptureMachine, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as CreateIdCaptureOnlyActorOptions, g as idCaptureOnlyMachine, h as IdCaptureOnlyMachine, j as disposeRecordingSession, k as addBarcode, l as DeviceWalletState, m as createIdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as IdCaptureOnlyActor, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as IdCaptureActor, w as IdCaptureInitResult, x as idCaptureMachine, y as createIdCaptureActor, z as stopRecording } from "./idCaptureManager-BwCRMOUG.js";
7
7
  //#region src/modules/id/deviceWallet/deviceWalletErrors.d.ts
8
8
  /**
9
9
  * Fail reason → i18n key for the device-wallet error screen (same shape as
@@ -47,4 +47,4 @@ declare function createIdCaptureOnlyManagerFromActor(actor: IdCaptureOnlyActor,
47
47
  */
48
48
  declare function createIdCaptureOnlyManager(options: CreateIdCaptureOnlyActorOptions): IdCaptureOnlyManager;
49
49
  //#endregion
50
- export { AcceptedDocument, AcceptedDocumentType, AddBarcodeParams, AddBarcodeV3Response, type CameraStream, CaptureIdResponse, CaptureOnlyResponse, CapturedImage, type CreateIdCaptureActorOptions, type CreateIdCaptureOnlyActorOptions, DEVICE_WALLET_ERROR_KEYS, DIGITAL_ID_DOCUMENT_TYPES, DIGITAL_ID_REGISTRY, DetectionArea, type DetectionOrientation, DetectionStatus, type DeviceWalletDecision, type DeviceWalletDecryptResponse, type DeviceWalletFailReason, type DeviceWalletOutput, type DeviceWalletPlatform, type DeviceWalletProvider, type DigitalIdDocumentType, type DigitalIdFunnelEntry, type DigitalIdPlatformSupport, type DigitalIdProviderId, FinalizedIdRecording, ID_ERROR_CODES, type IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureDigitalIdFlowType, IdCaptureDigitalIdMethod, IdCaptureDigitalIdRedirectOption, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, type IdCaptureMachine, type IdCaptureManager, IdCaptureMode, type IdCaptureOnlyActor, IdCaptureOnlyConfig, type IdCaptureOnlyMachine, type IdCaptureOnlyManager, IdCaptureOutput, type IdCaptureSettings, type IdCaptureState, IdCaptureThresholds, IdCapturedImageData, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, type PermissionResult, type PermissionStatus, type RedirectReturnParams, type ResolvedDigitalIdRoute, StartRecordingParams, UploadIdImageParams, UploadIdResponse, ValidationError, addBarcode, barcodeToBase64, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, disposeRecordingSession, finalizeRecordingSession, getRealQualityValue, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, isRedirectFlowType, pauseRecordingForAttempt, prepareRecordingForCameraRetry, processId, resolveDigitalIdImplementation, resolveWalletPlatform, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
50
+ export { AcceptedDocument, AcceptedDocumentType, AddBarcodeParams, AddBarcodeV3Response, type CameraStream, CaptureIdResponse, CaptureOnlyResponse, CapturedImage, type CreateDeviceWalletActorOptions, type CreateIdCaptureActorOptions, type CreateIdCaptureOnlyActorOptions, DEVICE_WALLET_ERROR_KEYS, DIGITAL_ID_DOCUMENT_TYPES, DIGITAL_ID_REGISTRY, DetectionArea, type DetectionOrientation, DetectionStatus, type DeviceWalletDecision, type DeviceWalletDecryptResponse, type DeviceWalletFailReason, type DeviceWalletManager, type DeviceWalletOutput, type DeviceWalletPlatform, type DeviceWalletProvider, type DeviceWalletState, type DigitalIdDocumentType, type DigitalIdFunnelEntry, type DigitalIdPlatformSupport, type DigitalIdProviderId, FinalizedIdRecording, ID_ERROR_CODES, type IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureDigitalIdFlowType, IdCaptureDigitalIdMethod, IdCaptureDigitalIdRedirectOption, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, type IdCaptureMachine, type IdCaptureManager, IdCaptureMode, type IdCaptureOnlyActor, IdCaptureOnlyConfig, type IdCaptureOnlyMachine, type IdCaptureOnlyManager, IdCaptureOutput, type IdCaptureSettings, type IdCaptureState, IdCaptureThresholds, IdCapturedImageData, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, type PermissionResult, type PermissionStatus, type RedirectReturnParams, type RenderWalletError, type RenderWalletParams, type ResolvedDigitalIdRoute, StartRecordingParams, UploadIdImageParams, UploadIdResponse, ValidationError, addBarcode, barcodeToBase64, createDeviceWalletManager, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, disposeRecordingSession, finalizeRecordingSession, getRealQualityValue, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, isRedirectFlowType, pauseRecordingForAttempt, prepareRecordingForCameraRetry, processId, renderWallet, resolveDigitalIdImplementation, resolveWalletPlatform, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
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 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-BRFeInDT.esm.js";
5
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-vKljsFdL.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-gm3rsyKd.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-BaB3MsWL.esm.js";
5
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-9sJxnTNJ.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-BzTcreOa.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
  /**
@@ -212,4 +212,4 @@ function createIdCaptureOnlyManager(options) {
212
212
  return createIdCaptureOnlyManagerFromActor(createIdCaptureOnlyActor(options), options.config);
213
213
  }
214
214
  //#endregion
215
- export { DEVICE_WALLET_ERROR_KEYS, DIGITAL_ID_DOCUMENT_TYPES, DIGITAL_ID_REGISTRY, ID_ERROR_CODES, addBarcode, barcodeToBase64, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, disposeRecordingSession, finalizeRecordingSession, getRealQualityValue, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, isRedirectFlowType, pauseRecordingForAttempt, prepareRecordingForCameraRetry, processId, resolveDigitalIdImplementation, resolveWalletPlatform, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
215
+ export { DEVICE_WALLET_ERROR_KEYS, DIGITAL_ID_DOCUMENT_TYPES, DIGITAL_ID_REGISTRY, ID_ERROR_CODES, addBarcode, barcodeToBase64, createDeviceWalletManager, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, disposeRecordingSession, finalizeRecordingSession, getRealQualityValue, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, isRedirectFlowType, pauseRecordingForAttempt, prepareRecordingForCameraRetry, processId, renderWallet, resolveDigitalIdImplementation, resolveWalletPlatform, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
@@ -1,5 +1,5 @@
1
1
  import { b as resolveWasmSource, p as WASM_MODEL_FILES } from "./wasmWebClient-DPPQlS-U.esm.js";
2
- import { O as getBarcodeEnhanceModelUrl } from "./trueSightService-BY4OYH9f.esm.js";
2
+ import { O as getBarcodeEnhanceModelUrl } from "./trueSightService-DdGN8biX.esm.js";
3
3
  import { s as wasmRuntime, t as getResolvedModelSource } from "./warmup-REsua-sF.esm.js";
4
4
  import { i as BaseWasmProvider } from "./safeStorage-C511Hltw.esm.js";
5
5
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
@@ -1,12 +1,12 @@
1
- import { l as BrowserStorageProvider } from "./setup-DdHWj_DR.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-CBwTvRhV.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.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 { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-DIaG8BlW.esm.js";
8
- import { l as createIdProtectedCaptureController, n as provideIdProtectedCaptureController, t as idCaptureMachine, u as findIdProtectedCaptureController } from "./idCaptureStateMachine-BRFeInDT.esm.js";
9
- import { _ as resolveIdCaptureThresholds, g as resolveCaptureOptimizingTreatment } from "./idCaptureServices-gm3rsyKd.esm.js";
8
+ import { l as createIdProtectedCaptureController, m as mapDeviceWalletScreenName, n as provideIdProtectedCaptureController, p as BrowserDigitalCredentialsProvider, t as idCaptureMachine, u as findIdProtectedCaptureController } from "./idCaptureStateMachine-BaB3MsWL.esm.js";
9
+ import { _ as resolveIdCaptureThresholds, g as resolveCaptureOptimizingTreatment } from "./idCaptureServices-BzTcreOa.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) {
@@ -41,23 +41,6 @@ function mapDigitalIdScreenName(value, failReason) {
41
41
  return "uploadDigitalid.review.default";
42
42
  }
43
43
  //#endregion
44
- //#region src/modules/id/deviceWallet/instrumentation.ts
45
- /**
46
- * Maps a device-wallet child-machine snapshot to a tracked screen name.
47
- * Family is `deviceWallet.*` — emitted cross-family under the parent
48
- * `idCapture` module token, same as `mapDigitalIdScreenName`. See
49
- * `docs/patterns/INSTRUMENTATION.md`.
50
- */
51
- function mapDeviceWalletScreenName(value, failReason) {
52
- if (value === "presenting") return "deviceWallet.wallet.default";
53
- if (value === "failed") {
54
- if (failReason === "NO_CREDENTIAL") return "deviceWallet.error.nocredential";
55
- if (failReason === "UNSUPPORTED_PLATFORM") return "deviceWallet.error.unsupported";
56
- return "deviceWallet.error.default";
57
- }
58
- return "deviceWallet.loading.default";
59
- }
60
- //#endregion
61
44
  //#region src/modules/digital-id-redirect/instrumentation.ts
62
45
  /**
63
46
  * Maps a digital-ID web-redirect (Trinsic iDIN/FTN) child-machine snapshot value
@@ -853,20 +836,6 @@ function createIdCaptureManagerFromActor(actor, visibilityObserver = new Browser
853
836
  });
854
837
  }
855
838
  //#endregion
856
- //#region ../infra/src/providers/browser/BrowserDigitalCredentialsProvider.ts
857
- var BrowserDigitalCredentialsProvider = class {
858
- isAvailable() {
859
- return typeof navigator !== "undefined" && typeof navigator.credentials?.get === "function" && typeof globalThis.DigitalCredential !== "undefined";
860
- }
861
- async get(request, options) {
862
- return { response: (await navigator.credentials.get({
863
- mediation: "required",
864
- signal: options?.signal,
865
- digital: { requests: [request] }
866
- }))?.data?.response };
867
- }
868
- };
869
- //#endregion
870
839
  //#region src/modules/id/idCaptureActor.ts
871
840
  function createIdCaptureActor(options) {
872
841
  const dependencies = {