@incodetech/core 0.0.0-dev-20260826-54756eb6 → 0.0.0-dev-20260826-559b0116

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 (66) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-CsUPTY2p.esm.js → BrowserDiagnosticsCryptoProvider-CUhnGiPS.esm.js} +1 -1
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-BYUfcMPn.esm.js → apiError-Dpq0lKYm.esm.js} +1 -1
  4. package/dist/authentication.esm.js +2 -2
  5. package/dist/{authenticationManager-CSCZ6hA_.esm.js → authenticationManager-DEbT0_Wk.esm.js} +2 -2
  6. package/dist/{authenticationStateMachine-CltVJ5HC.esm.js → authenticationStateMachine-BOqNPKKm.esm.js} +2 -2
  7. package/dist/consent.d.ts +1 -1
  8. package/dist/{consentManager-5HWbGwOa.d.ts → consentManager-DLOyIZzt.d.ts} +8 -8
  9. package/dist/{deepsightLoader-DBvMIk_L.esm.js → deepsightLoader-UCea_DjD.esm.js} +3 -3
  10. package/dist/document-capture.d.ts +1 -1
  11. package/dist/{documentCaptureManager-DensIj5F.d.ts → documentCaptureManager-DD0qtFdE.d.ts} +1 -1
  12. package/dist/dynamic-forms.esm.js +2 -2
  13. package/dist/{dynamicFormsManager-pQASt0NB.esm.js → dynamicFormsManager-DeTLUCSA.esm.js} +1 -1
  14. package/dist/{dynamicFormsStateMachine-Ch7YwK6q.esm.js → dynamicFormsStateMachine-DHt8ozH7.esm.js} +1 -1
  15. package/dist/ekyb.esm.js +3 -3
  16. package/dist/{ekybManager-CpKaN8KE.esm.js → ekybManager-De9HFZ5A.esm.js} +1 -1
  17. package/dist/{ekybStateMachine-_5iTKHPc.esm.js → ekybStateMachine-CmOTKVRI.esm.js} +1 -1
  18. package/dist/electronic-signature.esm.js +1 -1
  19. package/dist/{electronicSignatureManager-BOcRQmmX.esm.js → electronicSignatureManager-CTB-q27L.esm.js} +1 -1
  20. package/dist/extensibility.d.ts +6 -6
  21. package/dist/extensibility.esm.js +9 -9
  22. package/dist/{faceCaptureManagerFactory-DrXYJ3PH.esm.js → faceCaptureManagerFactory-Dygqc_Hv.esm.js} +1 -1
  23. package/dist/{faceCaptureSetup-Tu-Gk1FH.esm.js → faceCaptureSetup-CIjtZLWq.esm.js} +2 -2
  24. package/dist/{feature-management-oX7keMsY.esm.js → feature-management-xnnOBN5Q.esm.js} +1 -1
  25. package/dist/feature-management.esm.js +1 -1
  26. package/dist/flow.d.ts +1 -1
  27. package/dist/flow.esm.js +3 -3
  28. package/dist/{flowCompletionService-Cw4jVa_U.esm.js → flowCompletionService-BAR0Quen.esm.js} +1 -1
  29. package/dist/{flowServices-B9kLWMRq.esm.js → flowServices-C1OCbAkQ.esm.js} +4 -4
  30. package/dist/geolocation.esm.js +2 -2
  31. package/dist/{geolocationManager-BgiHTuJY.esm.js → geolocationManager-CC0Y1Cvs.esm.js} +1 -1
  32. package/dist/{geolocationStateMachine-Chrfks1T.esm.js → geolocationStateMachine-BpYYdq3x.esm.js} +1 -1
  33. package/dist/id-selfie-flow.esm.js +6 -6
  34. package/dist/id.d.ts +3 -3
  35. package/dist/id.esm.js +3 -3
  36. package/dist/{idCaptureManager-C-ef1D5r.d.ts → idCaptureManager-238BYMuO.d.ts} +9 -1
  37. package/dist/{idCaptureManager-BJCEfU9k.esm.js → idCaptureManager-CiABoME8.esm.js} +4 -2
  38. package/dist/{idCaptureServices-BJvEg7Ic.esm.js → idCaptureServices-Bq9dbcbs.esm.js} +2 -2
  39. package/dist/{idCaptureStateMachine-CIQXx1eJ.esm.js → idCaptureStateMachine-wJbNYqKa.esm.js} +7 -7
  40. package/dist/identity-reuse.d.ts +1 -1
  41. package/dist/{identityReuseManager-D6pD4hcZ.d.ts → identityReuseManager-BXEBBI3N.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-B5helNOK.d.ts → mandatoryConsentManager-CohPXtwL.d.ts} +4 -4
  45. package/dist/{multipartRecordingService-yBGVGLui.esm.js → multipartRecordingService-CtM4Zn7o.esm.js} +6 -10
  46. package/dist/{onDeviceFaceResults-V0K5ooPb.esm.js → onDeviceFaceResults-BoX-4uX9.esm.js} +3 -3
  47. package/dist/personhood.esm.js +3 -3
  48. package/dist/qe-signature.esm.js +1 -1
  49. package/dist/{runChildModule-B_V1v5RD.esm.js → runChildModule-CyhsE9pw.esm.js} +1 -1
  50. package/dist/{sdkVersion-CBI8-JQz.esm.js → sdkVersion-vDtZX6MZ.esm.js} +1 -1
  51. package/dist/selfie.esm.js +4 -4
  52. package/dist/{selfieManager-DW2v9c5g.esm.js → selfieManager-BmuVYewU.esm.js} +2 -2
  53. package/dist/{selfieStateMachine-CyRwX4xy.esm.js → selfieStateMachine-CcpEXS7d.esm.js} +2 -2
  54. package/dist/{session-Bb1ffTKf.esm.js → session-Ca_d4Nk2.esm.js} +4 -4
  55. package/dist/session.esm.js +4 -4
  56. package/dist/{sessionInitializer-FE_ptAcw.esm.js → sessionInitializer-B1pj_8Ms.esm.js} +4 -4
  57. package/dist/{setup-BRoNOgdR.esm.js → setup-DVoF0P2d.esm.js} +5 -5
  58. package/dist/trueSight-CetzIjsR.esm.js +1 -0
  59. package/dist/{trueSightService-BVVlgl2J.esm.js → trueSightService-D2u_qJi3.esm.js} +2 -2
  60. package/dist/{types-CyoB7Hym2.d.ts → types-_tpclaFq2.d.ts} +23 -5
  61. package/dist/video-selfie.esm.js +4 -4
  62. package/dist/{videoSelfieCameraWarmer-DzDvDuDO.esm.js → videoSelfieCameraWarmer-CD0zGrlj.esm.js} +2 -2
  63. package/dist/wasm.esm.js +1 -1
  64. package/dist/workflow.esm.js +15 -15
  65. package/package.json +1 -1
  66. package/dist/trueSight-BZ9jZufI.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("0gsSTHP30yq8OvcmoeejL8w/AKZQY0DU0li9+NtJHOQ=", "mPzxik5/2ndQQqsafQVGxg+6x1whBGS9L+oiU8JCK08=");
21
+ const key = decodeTruesightKey("reFf19EsA4ONOtUyC3+GviW/UHMB4uaOdJKZV9ztVEc=", "Uthejeo3eQi6DzC4ptXv9w+Y0/a5IfVUr7r3AkPkcek=");
22
22
  return key.length === KEY_LENGTH_BYTES ? key : null;
23
23
  } catch {
24
24
  return null;
@@ -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-BOcRQmmX.esm.js";
1
+ import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-CTB-q27L.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-BVVlgl2J.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-D2u_qJi3.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-CltVJ5HC.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CSCZ6hA_.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-BOqNPKKm.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DEbT0_Wk.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-DrXYJ3PH.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-CltVJ5HC.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Dygqc_Hv.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-BOqNPKKm.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-Tu-Gk1FH.esm.js";
7
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-V0K5ooPb.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-CIjtZLWq.esm.js";
7
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BoX-4uX9.esm.js";
8
8
  import { t as getDeviceClass } from "./getDeviceClass-CHfFphdD.esm.js";
9
9
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
10
10
  //#region src/modules/authentication/authenticationErrorUtils.ts
package/dist/consent.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-5HWbGwOa.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-DLOyIZzt.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -78,14 +78,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
78
78
  type: "setError";
79
79
  params: NonReducibleUnknown;
80
80
  };
81
- setConsentData: {
82
- type: "setConsentData";
83
- params: NonReducibleUnknown;
84
- };
85
- toggleCheckbox: {
86
- type: "toggleCheckbox";
87
- params: NonReducibleUnknown;
88
- };
89
81
  clearError: {
90
82
  type: "clearError";
91
83
  params: NonReducibleUnknown;
@@ -94,6 +86,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
94
86
  type: "resetContext";
95
87
  params: NonReducibleUnknown;
96
88
  };
89
+ setConsentData: {
90
+ type: "setConsentData";
91
+ params: NonReducibleUnknown;
92
+ };
93
+ toggleCheckbox: {
94
+ type: "toggleCheckbox";
95
+ params: NonReducibleUnknown;
96
+ };
97
97
  }>, {
98
98
  type: "canSubmit";
99
99
  params: unknown;
@@ -1,8 +1,8 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-7CmStgyt.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { l as trueSightLog } from "./trueSightService-BVVlgl2J.esm.js";
4
- import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-FE_ptAcw.esm.js";
5
- import "./trueSight-BZ9jZufI.esm.js";
3
+ import { l as trueSightLog } from "./trueSightService-D2u_qJi3.esm.js";
4
+ import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-B1pj_8Ms.esm.js";
5
+ import "./trueSight-CetzIjsR.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-yk8Pi9sH.esm.js";
7
7
  import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
8
8
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
@@ -1,3 +1,3 @@
1
1
  import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-BjSly8cp.js";
2
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-DensIj5F.js";
2
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-DD0qtFdE.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -251,7 +251,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
251
251
  type: "fileSizeOkForNonGallery";
252
252
  params: unknown;
253
253
  };
254
- }>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "tutorial" | "capturing" | "preview" | "failure" | "nextPage" | "finalizing" | {
254
+ }>, never, "uploading" | "closed" | "success" | "finished" | "capturing" | "failure" | "initCamera" | "tutorial" | "preview" | "nextPage" | "finalizing" | {
255
255
  permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
256
256
  }, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
257
257
  readonly id: "documentCapture";
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Ch7YwK6q.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-pQASt0NB.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DHt8ozH7.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-DeTLUCSA.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-Ch7YwK6q.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DHt8ozH7.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-BYUfcMPn.esm.js";
3
+ import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-Dpq0lKYm.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-B9kLWMRq.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-_5iTKHPc.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-CpKaN8KE.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-C1OCbAkQ.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-CmOTKVRI.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-De9HFZ5A.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-_5iTKHPc.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-CmOTKVRI.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-B9kLWMRq.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-C1OCbAkQ.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-BOcRQmmX.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-CTB-q27L.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-BYUfcMPn.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-Dpq0lKYm.esm.js";
6
6
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
8
8
  import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
@@ -12,25 +12,25 @@ import { n as BaseWasmProvider } from "./FaceDetectionProvider-Cn1wS-sA.js";
12
12
  import "./deepsightService-MZOpj7Vp.js";
13
13
  import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-Dcc29kVh.js";
14
14
  import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-DCgEidHz.js";
15
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-5HWbGwOa.js";
15
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-DLOyIZzt.js";
16
16
  import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
17
17
  import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-B9kKccLg.js";
18
18
  import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-8-W2KY4n.js";
19
19
  import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-PBWHr_oM.js";
20
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-DensIj5F.js";
20
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-DD0qtFdE.js";
21
21
  import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-fhK0yINk.js";
22
22
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
23
23
  import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
24
24
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
25
25
  import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-BIZ4oz5a.js";
26
- import { n as CaptureIdResponse } from "./types-CyoB7Hym2.js";
27
- import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-C-ef1D5r.js";
26
+ import { i as CaptureIdResponse } from "./types-_tpclaFq2.js";
27
+ import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-238BYMuO.js";
28
28
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
29
29
  import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DLXef90v.js";
30
30
  import { i as WatchlistForBusinessState, l as WatchlistForBusinessActor, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager } from "./watchlistForBusinessManager-CsnJnG-C.js";
31
- import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-D6pD4hcZ.js";
31
+ import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-BXEBBI3N.js";
32
32
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
33
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-B5helNOK.js";
33
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-CohPXtwL.js";
34
34
  import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-CFlDwUvN.js";
35
35
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BD2PvT5B.js";
36
36
  import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-DGBSWz2_.js";
@@ -1,12 +1,12 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-7CmStgyt.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DC___749.esm.js";
3
- import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-FE_ptAcw.esm.js";
3
+ import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-B1pj_8Ms.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-BOcRQmmX.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-CTB-q27L.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-lZENLRt7.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-Tu-Gk1FH.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CSCZ6hA_.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-CIjtZLWq.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-DEbT0_Wk.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-pQASt0NB.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-CpKaN8KE.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DeTLUCSA.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-De9HFZ5A.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-DW2v9c5g.esm.js";
22
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-BJCEfU9k.esm.js";
21
+ import { n as createSelfieManagerFromActor } from "./selfieManager-BmuVYewU.esm.js";
22
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-CiABoME8.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-BgiHTuJY.esm.js";
32
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-CC0Y1Cvs.esm.js";
33
33
  import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-CSfFPiaa.esm.js";
34
34
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-BftVruqv.esm.js";
35
35
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-YEbnvQRr.esm.js";
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-ijlbX_Wx.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
- import { r as concealmentToAvatar } from "./faceCaptureSetup-Tu-Gk1FH.esm.js";
4
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-CIjtZLWq.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BTc8xI86.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
7
7
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-QCFFUVkj.esm.js";
@@ -3,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-V0K5ooPb.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-BoX-4uX9.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-yBGVGLui.esm.js";
13
+ import { n as getAdaptiveMediaRecorderOptions, t as MultipartRecordingService } from "./multipartRecordingService-CtM4Zn7o.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-CBI8-JQz.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-vDtZX6MZ.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-oX7keMsY.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-xnnOBN5Q.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
@@ -9,7 +9,7 @@ import { t as AuthenticationConfig } from "./types-C1N4esyF.js";
9
9
  import { r as DocumentCaptureConfig } from "./types-BjSly8cp.js";
10
10
  import { t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
11
11
  import { t as EkybConfig } from "./types-BfHiko5D.js";
12
- import { c as IdCaptureConfig } from "./types-CyoB7Hym2.js";
12
+ import { u as IdCaptureConfig } from "./types-_tpclaFq2.js";
13
13
  import { r as MandatoryConsentConfig } from "./types-R1jpOcvl.js";
14
14
  import { t as IdOcrConfig } from "./types-CJ7Yl9K-.js";
15
15
  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 enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-B9kLWMRq.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-C1OCbAkQ.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-Cw4jVa_U.esm.js";
6
- import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-B_V1v5RD.esm.js";
5
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-BAR0Quen.esm.js";
6
+ import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CyhsE9pw.esm.js";
7
7
  //#region src/modules/flow/noOpFlowModuleMachine.ts
8
8
  const noOpFlowModuleMachine = setup({}).createMachine({
9
9
  id: "noOpFlowModule",
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
3
- import { r as toIncodeApiError } from "./apiError-BYUfcMPn.esm.js";
3
+ import { r as toIncodeApiError } from "./apiError-Dpq0lKYm.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-oX7keMsY.esm.js";
1
+ import { E as updateFeatureManagementUser } from "./feature-management-xnnOBN5Q.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-FE_ptAcw.esm.js";
3
+ import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-B1pj_8Ms.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-BYUfcMPn.esm.js";
6
- import "./session-Bb1ffTKf.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-Dpq0lKYm.esm.js";
6
+ import "./session-Ca_d4Nk2.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-BgiHTuJY.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-Chrfks1T.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-CC0Y1Cvs.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-BpYYdq3x.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-Chrfks1T.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-BpYYdq3x.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-BYUfcMPn.esm.js";
4
+ import { n as isConnectivityError } from "./apiError-Dpq0lKYm.esm.js";
5
5
  import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
7
7
  //#region src/modules/geolocation/geolocationServices.ts
@@ -1,18 +1,18 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-7CmStgyt.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-BRoNOgdR.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-DVoF0P2d.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-B9kLWMRq.esm.js";
4
+ import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-C1OCbAkQ.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-V0K5ooPb.esm.js";
7
+ import { a as encryptSelfieImage, l as startDetection, p as FaceDetectionProvider } from "./onDeviceFaceResults-BoX-4uX9.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-BJvEg7Ic.esm.js";
14
- import { n as getFinishStatus } from "./flowCompletionService-Cw4jVa_U.esm.js";
15
- import { a as delay, c as isWrongVideoSelfieIdSide, n as defaultAcquireCamera, r as CameraCompositor, s as isSelfieValidationError } from "./videoSelfieCameraWarmer-DzDvDuDO.esm.js";
13
+ import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-Bq9dbcbs.esm.js";
14
+ import { n as getFinishStatus } from "./flowCompletionService-BAR0Quen.esm.js";
15
+ import { a as delay, c as isWrongVideoSelfieIdSide, n as defaultAcquireCamera, r as CameraCompositor, s as isSelfieValidationError } from "./videoSelfieCameraWarmer-CD0zGrlj.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-DDWlQzhi.js";
5
- import { A as RedirectReturnParams, C as IdErrorCode, E as UploadIdResponse, F as ManualUploadSide, I as ManualUploadTab, M as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, N as MANUAL_UPLOAD_MAX_RETRIES, O as DigitalIdProviderId, P as ManualUploadContext, S as IdError, T as RecordingSession, _ as IdCaptureOnlyConfig, a as DetectionArea, b as IdCapturedImageData, c as IdCaptureConfig, d as IdCaptureDigitalIdFlowType, f as IdCaptureDigitalIdMethod, g as IdCaptureMode, h as IdCaptureInput, i as CapturedImage, j as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, l as IdCaptureContext, m as IdCaptureGeometry, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureEvent, r as CaptureOnlyResponse, s as ID_ERROR_CODES, t as AddBarcodeV3Response, u as IdCaptureDependencies, v as IdCaptureOutput, w as IdFlowStep, x as IdDocumentType, y as IdCaptureThresholds } from "./types-CyoB7Hym2.js";
6
- import { A as createIdCaptureActor, C as CreateIdCaptureOnlyActorOptions, D as idCaptureOnlyMachine, E as IdCaptureOnlyMachine, M as idCaptureMachine, O as CreateIdCaptureActorOptions, S as validateUploadResponse, T as createIdCaptureOnlyActor, _ as startRecordingSession, a as AddBarcodeParams, b as uploadIdImage, c as StartRecordingParams, d as ValidationError, f as addBarcode, g as processId, h as preloadIdRecordingProvider, j as IdCaptureMachine, k as IdCaptureActor, l as UploadIdImageParams, m as initializeIdCapture, n as IdCaptureManager, o as IdCaptureInitResult, p as barcodeToBase64, r as IdCaptureState, s as InitializeIdCaptureParams, t as createIdCaptureManager, u as UploadManualIdFileParams, v as stopRecording, w as IdCaptureOnlyActor, x as uploadManualIdFile, y as stopStream } from "./idCaptureManager-C-ef1D5r.js";
5
+ import { A as DigitalIdProviderId, C as IdDocumentType, D as RecordingSession, E as IdFlowStep, F as MANUAL_UPLOAD_MAX_RETRIES, I as ManualUploadContext, L as ManualUploadSide, M as RedirectReturnParams, N as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, O as UploadIdResponse, P as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, R as ManualUploadTab, S as IdCapturedImageData, T as IdErrorCode, _ as IdCaptureInput, a as CaptureOnlyResponse, b as IdCaptureOutput, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureGeometry, h as IdCaptureEvent, i as CaptureIdResponse, 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 IdCaptureMode, w as IdError, x as IdCaptureThresholds, y as IdCaptureOnlyConfig } from "./types-_tpclaFq2.js";
6
+ import { A as createIdCaptureActor, C as CreateIdCaptureOnlyActorOptions, D as idCaptureOnlyMachine, E as IdCaptureOnlyMachine, M as idCaptureMachine, O as CreateIdCaptureActorOptions, S as validateUploadResponse, T as createIdCaptureOnlyActor, _ as startRecordingSession, a as AddBarcodeParams, b as uploadIdImage, c as StartRecordingParams, d as ValidationError, f as addBarcode, g as processId, h as preloadIdRecordingProvider, j as IdCaptureMachine, k as IdCaptureActor, l as UploadIdImageParams, m as initializeIdCapture, n as IdCaptureManager, o as IdCaptureInitResult, p as barcodeToBase64, r as IdCaptureState, s as InitializeIdCaptureParams, t as createIdCaptureManager, u as UploadManualIdFileParams, v as stopRecording, w as IdCaptureOnlyActor, x as uploadManualIdFile, y as stopStream } from "./idCaptureManager-238BYMuO.js";
7
7
  //#region src/modules/id/idCaptureOnlyManager.d.ts
8
8
  type IdCaptureOnlyManager = IdCaptureManager;
9
9
  /**
@@ -23,4 +23,4 @@ declare function createIdCaptureOnlyManagerFromActor(actor: IdCaptureOnlyActor,
23
23
  */
24
24
  declare function createIdCaptureOnlyManager(options: CreateIdCaptureOnlyActorOptions): IdCaptureOnlyManager;
25
25
  //#endregion
26
- export { AddBarcodeParams, AddBarcodeV3Response, type CameraStream, CaptureIdResponse, CaptureOnlyResponse, CapturedImage, type CreateIdCaptureActorOptions, type CreateIdCaptureOnlyActorOptions, DetectionArea, type DetectionOrientation, DetectionStatus, type DigitalIdProviderId, ID_ERROR_CODES, type IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureDigitalIdFlowType, IdCaptureDigitalIdMethod, 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, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, MANUAL_UPLOAD_MAX_RETRIES, type ManualUploadContext, type ManualUploadSide, type ManualUploadTab, type PermissionResult, type PermissionStatus, RecordingSession, type RedirectReturnParams, StartRecordingParams, UploadIdImageParams, UploadIdResponse, UploadManualIdFileParams, ValidationError, addBarcode, barcodeToBase64, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, preloadIdRecordingProvider, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, uploadManualIdFile, validateUploadResponse };
26
+ export { AcceptedDocument, AcceptedDocumentType, AddBarcodeParams, AddBarcodeV3Response, type CameraStream, CaptureIdResponse, CaptureOnlyResponse, CapturedImage, type CreateIdCaptureActorOptions, type CreateIdCaptureOnlyActorOptions, DetectionArea, type DetectionOrientation, DetectionStatus, type DigitalIdProviderId, ID_ERROR_CODES, type IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureDigitalIdFlowType, IdCaptureDigitalIdMethod, 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, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, MANUAL_UPLOAD_MAX_RETRIES, type ManualUploadContext, type ManualUploadSide, type ManualUploadTab, type PermissionResult, type PermissionStatus, RecordingSession, type RedirectReturnParams, StartRecordingParams, UploadIdImageParams, UploadIdResponse, UploadManualIdFileParams, ValidationError, addBarcode, barcodeToBase64, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, preloadIdRecordingProvider, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, uploadManualIdFile, validateUploadResponse };
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-CIQXx1eJ.esm.js";
6
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-BJCEfU9k.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-BJvEg7Ic.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-wJbNYqKa.esm.js";
6
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-CiABoME8.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-Bq9dbcbs.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) {
@@ -9,7 +9,7 @@ import { n as PermissionStatus } from "./types-BEwVKkLJ.js";
9
9
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
10
10
  import { t as DeepsightService } from "./deepsightService-MZOpj7Vp.js";
11
11
  import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-DDWlQzhi.js";
12
- import { C as IdErrorCode, D as IAnalyticsCapability, E as UploadIdResponse, F as ManualUploadSide, I as ManualUploadTab, O as DigitalIdProviderId, T as RecordingSession, _ as IdCaptureOnlyConfig, a as DetectionArea, c as IdCaptureConfig, g as IdCaptureMode, h as IdCaptureInput, k as FailureReason, l as IdCaptureContext, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureEvent, t as AddBarcodeV3Response, u as IdCaptureDependencies, v as IdCaptureOutput, x as IdDocumentType } from "./types-CyoB7Hym2.js";
12
+ import { A as DigitalIdProviderId, C as IdDocumentType, D as RecordingSession, L as ManualUploadSide, O as UploadIdResponse, R as ManualUploadTab, T as IdErrorCode, _ as IdCaptureInput, b as IdCaptureOutput, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, h as IdCaptureEvent, i as CaptureIdResponse, j as FailureReason, k as IAnalyticsCapability, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureMode, y as IdCaptureOnlyConfig } from "./types-_tpclaFq2.js";
13
13
  //#region src/modules/id/idCaptureStateMachine.d.ts
14
14
  declare const idCaptureMachine: AnyStateMachine;
15
15
  type IdCaptureMachine = StateMachine<IdCaptureContext, IdCaptureEvent, any, any, any, any, any, any, any, IdCaptureInput, any, any, any, any>;
@@ -239,6 +239,14 @@ type IdCaptureCaptureState = {
239
239
  captureFeedbackMode: 'countdown' | 'optimizing';
240
240
  uploadErrorMessage?: string;
241
241
  uploadErrorDescription?: string;
242
+ /**
243
+ * Backend-supplied list of document types accepted for `countryCode`. Only
244
+ * populated alongside `uploadError === 'ID_TYPE_UNACCEPTABLE'`. Entries are
245
+ * widened to `string`, so unknown values must be handled by the consumer.
246
+ */
247
+ acceptedDocuments?: Array<AcceptedDocument>;
248
+ /** Country detected for the current upload response, if any. */
249
+ countryCode?: string;
242
250
  /** Whether back capture is needed after front capture completes */
243
251
  needsBackCapture: boolean;
244
252
  /** Whether front capture is needed after back capture (usSmartCapture + forceFrontIdCapture) */
@@ -5,8 +5,8 @@ import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BTc8xI86.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
7
7
  import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-QCFFUVkj.esm.js";
8
- import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-CIQXx1eJ.esm.js";
9
- import { m as resolveIdCaptureThresholds, p as resolveCaptureOptimizingTreatment } from "./idCaptureServices-BJvEg7Ic.esm.js";
8
+ import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-wJbNYqKa.esm.js";
9
+ import { m as resolveIdCaptureThresholds, p as resolveCaptureOptimizingTreatment } from "./idCaptureServices-Bq9dbcbs.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) {
@@ -260,6 +260,8 @@ function mapCaptureState(snapshot, context) {
260
260
  captureFeedbackMode: context.captureFeedbackMode,
261
261
  uploadErrorMessage: uploadError ? getErrorTitleKey(uploadError, context.currentMode) : void 0,
262
262
  uploadErrorDescription: uploadError ? getErrorSubtitleKey(uploadError, uploadResponse, context.currentMode) : void 0,
263
+ acceptedDocuments: uploadResponse?.acceptedDocuments,
264
+ countryCode: uploadResponse?.countryCode,
263
265
  needsBackCapture: shouldCaptureBack(context),
264
266
  needsFrontCapture: shouldCaptureFront(context),
265
267
  showCaptureButtonInAuto: context.config.showCaptureButtonInAuto ?? false,
@@ -1,4 +1,4 @@
1
- import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-oX7keMsY.esm.js";
1
+ import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-xnnOBN5Q.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-yBGVGLui.esm.js";
11
+ import { t as MultipartRecordingService } from "./multipartRecordingService-CtM4Zn7o.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-oX7keMsY.esm.js";
3
+ import { s as exposeExperimentOnce } from "./feature-management-xnnOBN5Q.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-BVVlgl2J.esm.js";
6
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-D2u_qJi3.esm.js";
7
7
  import { n as eventModuleNames, s as recordExperimentAssignmentOnce } from "./events-ijlbX_Wx.esm.js";
8
- import { t as getDisableIpify } from "./sessionInitializer-FE_ptAcw.esm.js";
8
+ import { t as getDisableIpify } from "./sessionInitializer-B1pj_8Ms.esm.js";
9
9
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
10
- import "./trueSight-BZ9jZufI.esm.js";
10
+ import "./trueSight-CetzIjsR.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-Bb1ffTKf.esm.js";
13
+ import "./session-Ca_d4Nk2.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-BJvEg7Ic.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-Bq9dbcbs.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-DBvMIk_L.esm.js");
1775
+ const { loadDeepsightSession } = await import("./deepsightLoader-UCea_DjD.esm.js");
1776
1776
  return loadDeepsightSession({
1777
1777
  ds: input.ds,
1778
1778
  storage: input.dependencies.storage,
@@ -1,2 +1,2 @@
1
- import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-D6pD4hcZ.js";
1
+ import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-BXEBBI3N.js";
2
2
  export { type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -108,14 +108,14 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
108
108
  type: "setError";
109
109
  params: NonReducibleUnknown;
110
110
  };
111
- clearError: {
112
- type: "clearError";
113
- params: NonReducibleUnknown;
114
- };
115
111
  setSelectedDocument: {
116
112
  type: "setSelectedDocument";
117
113
  params: NonReducibleUnknown;
118
114
  };
115
+ clearError: {
116
+ type: "clearError";
117
+ params: NonReducibleUnknown;
118
+ };
119
119
  }>, Values<{
120
120
  hasDocuments: {
121
121
  type: "hasDocuments";
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, r as isConfigured, s as setup } from "./setup-BRoNOgdR.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-DVoF0P2d.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,3 +1,3 @@
1
1
  import { r as MandatoryConsentConfig } from "./types-R1jpOcvl.js";
2
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-B5helNOK.js";
2
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-CohPXtwL.js";
3
3
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -61,14 +61,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
61
61
  type: "clearError";
62
62
  params: NonReducibleUnknown;
63
63
  };
64
- resetContext: {
65
- type: "resetContext";
66
- params: NonReducibleUnknown;
67
- };
68
64
  toggleSigned: {
69
65
  type: "toggleSigned";
70
66
  params: NonReducibleUnknown;
71
67
  };
68
+ resetContext: {
69
+ type: "resetContext";
70
+ params: NonReducibleUnknown;
71
+ };
72
72
  }>, {
73
73
  type: "canSubmit";
74
74
  params: unknown;
@@ -3,22 +3,18 @@ import { a as uploadVideoSelfiePart, n as completeVideoSelfieUpload, r as initia
3
3
  import { a as isIOS } from "./platform-BtKmqD_U.esm.js";
4
4
  //#region ../infra/src/media/mediaRecorderOptions.ts
5
5
  /**
6
- * Picks a `MediaRecorder` mime type the current browser actually supports,
7
- * preferring mp4 on iOS and webm elsewhere. Returns '' when none match.
6
+ * Picks a `MediaRecorder` mime type the current browser actually supports.
7
+ * WebM avoids Safari's fragmented-MP4 unknown-duration metadata on versions
8
+ * that can record it; older Safari versions fall back to MP4. Returns '' when
9
+ * none match.
8
10
  */
9
11
  function getSupportedMediaRecorderMimeType() {
10
- const possibleTypes = isIOS() ? [
11
- "video/mp4",
12
- "video/webm",
13
- "video/webm;codecs=vp9",
14
- "video/webm;codecs=vp8"
15
- ] : [
12
+ for (const type of [
16
13
  "video/webm",
17
14
  "video/webm;codecs=vp9",
18
15
  "video/webm;codecs=vp8",
19
16
  "video/mp4"
20
- ];
21
- for (const type of possibleTypes) if (MediaRecorder.isTypeSupported(type)) return type;
17
+ ]) if (MediaRecorder.isTypeSupported(type)) return type;
22
18
  return "";
23
19
  }
24
20
  /**
@@ -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-BVVlgl2J.esm.js";
4
- import "./trueSight-BZ9jZufI.esm.js";
3
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-D2u_qJi3.esm.js";
4
+ import "./trueSight-CetzIjsR.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-DBvMIk_L.esm.js");
517
+ const { loadDeepsightSession } = await import("./deepsightLoader-UCea_DjD.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-BVVlgl2J.esm.js";
5
+ import { C as createApi$1, v as randomUUID, y as getStoredHttpConfig } from "./trueSightService-D2u_qJi3.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-FE_ptAcw.esm.js";
7
+ import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-B1pj_8Ms.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-V0K5ooPb.esm.js";
13
+ import { f as stopStream, l as startDetection, p as FaceDetectionProvider, s as initializeDeepsightSession } from "./onDeviceFaceResults-BoX-4uX9.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-BOcRQmmX.esm.js";
1
+ import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-CTB-q27L.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-BVVlgl2J.esm.js";
2
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-D2u_qJi3.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-54756eb6";
2
+ const SDK_VERSION = "0.0.0-dev-20260826-559b0116";
3
3
  //#endregion
4
4
  export { SDK_VERSION as t };
@@ -3,11 +3,11 @@ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DC___749.e
3
3
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
4
4
  import { i as assign, s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-Tu-Gk1FH.esm.js";
7
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DrXYJ3PH.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-CIjtZLWq.esm.js";
7
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Dygqc_Hv.esm.js";
8
8
  import { r as processFace } from "./selfieErrorUtils-CUXoEekQ.esm.js";
9
- import { t as selfieMachine } from "./selfieStateMachine-CyRwX4xy.esm.js";
10
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-DW2v9c5g.esm.js";
9
+ import { t as selfieMachine } from "./selfieStateMachine-CcpEXS7d.esm.js";
10
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BmuVYewU.esm.js";
11
11
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BjzPjJ_p.esm.js";
12
12
  //#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
13
13
  /**
@@ -2,8 +2,8 @@ import { r as WasmUtilProvider } from "./safeStorage-7CmStgyt.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DC___749.esm.js";
3
3
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DrXYJ3PH.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-CyRwX4xy.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Dygqc_Hv.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-CcpEXS7d.esm.js";
7
7
  //#region src/modules/selfie/selfieActor.ts
8
8
  function createSelfieActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,7 +1,7 @@
1
1
  import { i as assign } from "./xstate.esm-BuFLFuzz.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
3
- import { n as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-Tu-Gk1FH.esm.js";
4
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-V0K5ooPb.esm.js";
3
+ import { n as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-CIjtZLWq.esm.js";
4
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BoX-4uX9.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
6
6
  import { a as uploadSelfie, i as uploadManualSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-CUXoEekQ.esm.js";
7
7
  //#region src/modules/selfie/selfieStateMachine.ts
@@ -1,9 +1,9 @@
1
1
  import { n as getApi } from "./api-Bx3gKW_y.esm.js";
2
- import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-BVVlgl2J.esm.js";
3
- import "./sessionInitializer-FE_ptAcw.esm.js";
2
+ import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-D2u_qJi3.esm.js";
3
+ import "./sessionInitializer-B1pj_8Ms.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
5
- import "./trueSight-BZ9jZufI.esm.js";
6
- import { r as toIncodeApiError } from "./apiError-BYUfcMPn.esm.js";
5
+ import "./trueSight-CetzIjsR.esm.js";
6
+ import { r as toIncodeApiError } from "./apiError-Dpq0lKYm.esm.js";
7
7
  //#region src/internal/session/sessionService.ts
8
8
  /**
9
9
  * HTTP status codes the QR validation endpoint emits, keyed by their semantic
@@ -1,5 +1,5 @@
1
- import { i as initializeSession } from "./sessionInitializer-FE_ptAcw.esm.js";
2
- import { t as IncodeApiError } from "./apiError-BYUfcMPn.esm.js";
3
- import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-Bb1ffTKf.esm.js";
4
- import { n as getFinishStatus } from "./flowCompletionService-Cw4jVa_U.esm.js";
1
+ import { i as initializeSession } from "./sessionInitializer-B1pj_8Ms.esm.js";
2
+ import { t as IncodeApiError } from "./apiError-Dpq0lKYm.esm.js";
3
+ import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-Ca_d4Nk2.esm.js";
4
+ import { n as getFinishStatus } from "./flowCompletionService-BAR0Quen.esm.js";
5
5
  export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, bootstrapSession, createSession, getFinishStatus, initializeSession, refreshQrUrlUuid, validateQrUuid };
@@ -1,10 +1,10 @@
1
- import { E as updateFeatureManagementUser } from "./feature-management-oX7keMsY.esm.js";
1
+ import { E as updateFeatureManagementUser } from "./feature-management-xnnOBN5Q.esm.js";
2
2
  import { c as setToken, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { _ as noteTokenActivated, d as fetchFeatureConfig, f as isFeatureEnabled, l as trueSightLog, m as noteEnvironment, p as resetFeatureConfigCache, s as startTrueSightCollection } from "./trueSightService-BVVlgl2J.esm.js";
3
+ import { _ as noteTokenActivated, d as fetchFeatureConfig, f as isFeatureEnabled, l as trueSightLog, m as noteEnvironment, p as resetFeatureConfigCache, s as startTrueSightCollection } from "./trueSightService-D2u_qJi3.esm.js";
4
4
  import { v as addEvent, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
5
- import { t as SDK_VERSION } from "./sdkVersion-CBI8-JQz.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-vDtZX6MZ.esm.js";
6
6
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
7
- import "./trueSight-BZ9jZufI.esm.js";
7
+ import "./trueSight-CetzIjsR.esm.js";
8
8
  import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-yk8Pi9sH.esm.js";
9
9
  import { n as UAParser, t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
10
10
  import { a as isIOS } from "./platform-BtKmqD_U.esm.js";
@@ -2,18 +2,18 @@ import { a as resolveWasmConfig } from "./wasmDefaults-DEOK0oAq.esm.js";
2
2
  import { c as warmupWasm, r as WasmUtilProvider, s as setWasmOnDeviceMode } from "./safeStorage-7CmStgyt.esm.js";
3
3
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DC___749.esm.js";
4
4
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
5
- import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-oX7keMsY.esm.js";
5
+ import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-xnnOBN5Q.esm.js";
6
6
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
7
7
  import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api } from "./api-Bx3gKW_y.esm.js";
8
- import { S as upgradeToWasmHttpClient$1, b as installFreshHttpClient, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as resetHttpClientState, y as getStoredHttpConfig } from "./trueSightService-BVVlgl2J.esm.js";
8
+ import { S as upgradeToWasmHttpClient$1, b as installFreshHttpClient, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as resetHttpClientState, y as getStoredHttpConfig } from "./trueSightService-D2u_qJi3.esm.js";
9
9
  import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
10
- import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy, v as BrowserEnvironmentProvider } from "./sessionInitializer-FE_ptAcw.esm.js";
10
+ import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy, v as BrowserEnvironmentProvider } from "./sessionInitializer-B1pj_8Ms.esm.js";
11
11
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
12
- import "./trueSight-BZ9jZufI.esm.js";
12
+ import "./trueSight-CetzIjsR.esm.js";
13
13
  import { i as setVideoSelfieServiceUrl } from "./videoSelfieUploadService-DgQJXRoo.esm.js";
14
14
  import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-yk8Pi9sH.esm.js";
15
15
  import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
16
- import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-B9kLWMRq.esm.js";
16
+ import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-C1OCbAkQ.esm.js";
17
17
  //#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
18
18
  var BrowserPageLifecycleProvider = class {
19
19
  sendBeacon(url, body, contentType = "application/json") {
@@ -0,0 +1 @@
1
+ import "./trueSightService-D2u_qJi3.esm.js";
@@ -2,7 +2,7 @@ import { a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWa
2
2
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
3
3
  import { i as isApiConfigured, n as getApi, o as setClient, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
4
4
  import { S as subscribeEvent, n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
5
- import { t as SDK_VERSION } from "./sdkVersion-CBI8-JQz.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-vDtZX6MZ.esm.js";
6
6
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
7
7
  //#region ../infra/src/http/createApi.ts
8
8
  var FetchHttpError = class extends Error {
@@ -1320,7 +1320,7 @@ let cryptoProviderPromise = null;
1320
1320
  * the service's prewarm).
1321
1321
  */
1322
1322
  function loadDiagnosticsCryptoProvider() {
1323
- cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-CsUPTY2p.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
1323
+ cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-CUhnGiPS.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
1324
1324
  return cryptoProviderPromise;
1325
1325
  }
1326
1326
  /**
@@ -225,6 +225,23 @@ type IdError = {
225
225
  message: string;
226
226
  messageDescription?: string;
227
227
  };
228
+ /**
229
+ * Document types the backend is known to report in
230
+ * `UploadIdResponse.acceptedDocuments` (`add-front-id-v2`: the list of document
231
+ * types accepted for the detected country when `failReason` is
232
+ * `ID_TYPE_UNACCEPTABLE`).
233
+ *
234
+ * The wire format is `array[string]`, so this union documents the known values
235
+ * rather than constraining them — see `AcceptedDocument`, which is what the
236
+ * response is actually typed as. Consumers must handle unknown values.
237
+ */
238
+ type AcceptedDocumentType = 'IdentificationCard' | 'Passport' | 'DriversLicense' | 'ResidenceDocument' | 'BirthCertificate' | 'TravelDocument' | 'WeaponLicense' | 'MedicalCard' | 'TribalIdentification' | 'Currency' | 'VehicleRegistration' | 'TaxIdentification' | 'Visa' | 'Permit' | 'Military' | 'VoterIdentification' | 'FederalID' | 'Unknown' | 'Other';
239
+ /**
240
+ * A single entry of `UploadIdResponse.acceptedDocuments`. Widened to `string`
241
+ * so that a document type the backend adds later still type-checks, while
242
+ * `AcceptedDocumentType` keeps autocomplete for the known values.
243
+ */
244
+ type AcceptedDocument = AcceptedDocumentType | (string & {});
228
245
  type UploadIdResponse = {
229
246
  sharpness: number;
230
247
  correctSharpness: boolean;
@@ -244,10 +261,11 @@ type UploadIdResponse = {
244
261
  skipGlareFront?: boolean;
245
262
  skipGlareBack?: boolean;
246
263
  documentIsOnTheEdge?: boolean;
247
- acceptedDocuments?: Array<{
248
- type: string;
249
- name: string;
250
- }>;
264
+ /**
265
+ * List of document types accepted for the detected country when
266
+ * `failReason` is `ID_TYPE_UNACCEPTABLE`. BE-documented as `array[string]`.
267
+ */
268
+ acceptedDocuments?: Array<AcceptedDocument>;
251
269
  forceFrontIdCapture?: boolean;
252
270
  /**
253
271
  * US Smart Capture: when `true`, the backend has already validated the ID
@@ -748,4 +766,4 @@ type IdCaptureOutput = {
748
766
  skipFaceMatch: boolean;
749
767
  } | undefined;
750
768
  //#endregion
751
- export { RedirectReturnParams as A, IdErrorCode as C, IAnalyticsCapability as D, UploadIdResponse as E, ManualUploadSide as F, ManualUploadTab as I, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES as M, MANUAL_UPLOAD_MAX_RETRIES as N, DigitalIdProviderId as O, ManualUploadContext as P, IdError as S, RecordingSession as T, IdCaptureOnlyConfig as _, DetectionArea as a, IdCapturedImageData as b, IdCaptureConfig as c, IdCaptureDigitalIdFlowType as d, IdCaptureDigitalIdMethod as f, IdCaptureMode as g, IdCaptureInput as h, CapturedImage as i, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS as j, FailureReason as k, IdCaptureContext as l, IdCaptureGeometry as m, CaptureIdResponse as n, DetectionStatus as o, IdCaptureEvent as p, CaptureOnlyResponse as r, ID_ERROR_CODES as s, AddBarcodeV3Response as t, IdCaptureDependencies as u, IdCaptureOutput as v, IdFlowStep as w, IdDocumentType as x, IdCaptureThresholds as y };
769
+ export { DigitalIdProviderId as A, IdDocumentType as C, RecordingSession as D, IdFlowStep as E, MANUAL_UPLOAD_MAX_RETRIES as F, ManualUploadContext as I, ManualUploadSide as L, RedirectReturnParams as M, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS as N, UploadIdResponse as O, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES as P, ManualUploadTab as R, IdCapturedImageData as S, IdErrorCode as T, IdCaptureInput as _, CaptureOnlyResponse as a, IdCaptureOutput as b, DetectionStatus as c, IdCaptureContext as d, IdCaptureDependencies as f, IdCaptureGeometry as g, IdCaptureEvent as h, CaptureIdResponse as i, FailureReason as j, IAnalyticsCapability as k, ID_ERROR_CODES as l, IdCaptureDigitalIdMethod as m, AcceptedDocumentType as n, CapturedImage as o, IdCaptureDigitalIdFlowType as p, AddBarcodeV3Response as r, DetectionArea as s, AcceptedDocument as t, IdCaptureConfig as u, IdCaptureMode as v, IdError as w, IdCaptureThresholds as x, IdCaptureOnlyConfig as y };
@@ -1,13 +1,13 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-7CmStgyt.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-BRoNOgdR.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-DVoF0P2d.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
4
  import { t as api } from "./api-Bx3gKW_y.esm.js";
5
5
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
6
- import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-B9kLWMRq.esm.js";
6
+ import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-C1OCbAkQ.esm.js";
7
7
  import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
8
8
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
9
- import { t as MultipartRecordingService } from "./multipartRecordingService-yBGVGLui.esm.js";
10
- import { i as createDefaultStepDetector, n as defaultAcquireCamera, o as isConnectionError, r as CameraCompositor, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-DzDvDuDO.esm.js";
9
+ import { t as MultipartRecordingService } from "./multipartRecordingService-CtM4Zn7o.esm.js";
10
+ import { i as createDefaultStepDetector, n as defaultAcquireCamera, o as isConnectionError, r as CameraCompositor, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-CD0zGrlj.esm.js";
11
11
  //#region src/modules/video-selfie/videoSelfieRecordingMachine.ts
12
12
  /** A detector that never settles — used when a step has no auto-capture yet. */
13
13
  const manualStepDetector = () => new Promise(() => {});
@@ -1,10 +1,10 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
3
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
4
- import { l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-B9kLWMRq.esm.js";
4
+ import { l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-C1OCbAkQ.esm.js";
5
5
  import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
6
6
  import { t as checkPermission } from "./permissionServices-QCFFUVkj.esm.js";
7
- import { a as encryptSelfieImage, l as startDetection, p as FaceDetectionProvider } from "./onDeviceFaceResults-V0K5ooPb.esm.js";
7
+ import { a as encryptSelfieImage, l as startDetection, p as FaceDetectionProvider } from "./onDeviceFaceResults-BoX-4uX9.esm.js";
8
8
  import { a as StreamCanvasProcessingSession } from "./recordingsRepository-DJcl1k_o.esm.js";
9
9
  import { n as getBackCameraStream } from "./backCameraStream-B1fulX20.esm.js";
10
10
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
package/dist/wasm.esm.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { f as WASM_MODEL_FILES, h as WASM_PIPELINE_MODEL_NAMES, p as WASM_PIPELINE_LAZY_MODEL_NAMES } from "./wasmWebClient-BJCaFeBL.esm.js";
2
2
  import { a as resolveWasmConfig, n as buildDefaultWasmConfig, r as buildWasmConfigFromBasePath, t as DEFAULT_WASM_VERSION } from "./wasmDefaults-DEOK0oAq.esm.js";
3
3
  import { c as warmupWasm } from "./safeStorage-7CmStgyt.esm.js";
4
- import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-BRoNOgdR.esm.js";
4
+ import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-DVoF0P2d.esm.js";
5
5
  //#region src/defineWasm.ts
6
6
  function requiredModels(pipelines) {
7
7
  const models = /* @__PURE__ */ new Set();
@@ -1,30 +1,30 @@
1
- import { E as updateFeatureManagementUser } from "./feature-management-oX7keMsY.esm.js";
1
+ import { E as updateFeatureManagementUser } from "./feature-management-xnnOBN5Q.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { l as trueSightLog } from "./trueSightService-BVVlgl2J.esm.js";
3
+ import { l as trueSightLog } from "./trueSightService-D2u_qJi3.esm.js";
4
4
  import { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-ijlbX_Wx.esm.js";
5
- import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-FE_ptAcw.esm.js";
5
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-B1pj_8Ms.esm.js";
6
6
  import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
7
- import "./trueSight-BZ9jZufI.esm.js";
8
- import { r as toIncodeApiError } from "./apiError-BYUfcMPn.esm.js";
9
- import { g as toEkybConfig } from "./flowServices-B9kLWMRq.esm.js";
7
+ import "./trueSight-CetzIjsR.esm.js";
8
+ import { r as toIncodeApiError } from "./apiError-Dpq0lKYm.esm.js";
9
+ import { g as toEkybConfig } from "./flowServices-C1OCbAkQ.esm.js";
10
10
  import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
11
11
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
12
12
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
13
- import { r as electronicSignatureMachine } from "./electronicSignatureManager-BOcRQmmX.esm.js";
13
+ import { r as electronicSignatureMachine } from "./electronicSignatureManager-CTB-q27L.esm.js";
14
14
  import "./ae-signature.esm.js";
15
15
  import { t as antifraudMachine } from "./antifraudStateMachine-BbQHUtiP.esm.js";
16
- import { t as authenticationMachine } from "./authenticationStateMachine-CltVJ5HC.esm.js";
16
+ import { t as authenticationMachine } from "./authenticationStateMachine-BOqNPKKm.esm.js";
17
17
  import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-DzeHkIBz.esm.js";
18
18
  import { t as consentMachine } from "./consentStateMachine-BR3GbTo-.esm.js";
19
19
  import { t as curpValidationMachine } from "./curpValidationStateMachine-C0oUpnSn.esm.js";
20
20
  import { t as customWatchlistMachine } from "./customWatchlistStateMachine-CcTcxUWB.esm.js";
21
21
  import { t as documentCaptureMachine } from "./documentCaptureStateMachine-BmcBWiUz.esm.js";
22
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Ch7YwK6q.esm.js";
23
- import { t as ekybMachine } from "./ekybStateMachine-_5iTKHPc.esm.js";
22
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DHt8ozH7.esm.js";
23
+ import { t as ekybMachine } from "./ekybStateMachine-CmOTKVRI.esm.js";
24
24
  import { t as ekycMachine } from "./ekycStateMachine-BcR18cwd.esm.js";
25
25
  import { t as emailMachine } from "./emailStateMachine-DctFPQzv.esm.js";
26
- import { t as selfieMachine } from "./selfieStateMachine-CyRwX4xy.esm.js";
27
- import { t as idCaptureMachine } from "./idCaptureStateMachine-CIQXx1eJ.esm.js";
26
+ import { t as selfieMachine } from "./selfieStateMachine-CcpEXS7d.esm.js";
27
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-wJbNYqKa.esm.js";
28
28
  import { t as phoneMachine } from "./phoneStateMachine-D2Fsk_nR.esm.js";
29
29
  import { t as watchlistMachine } from "./watchlistStateMachine-BX0ru7Xm.esm.js";
30
30
  import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-DhRnoV3g.esm.js";
@@ -33,12 +33,12 @@ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-Dna
33
33
  import { t as idOcrStateMachine } from "./idOcrStateMachine-Mj6SnPB9.esm.js";
34
34
  import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-BQF4XlIF.esm.js";
35
35
  import { t as signatureMachine } from "./signatureStateMachine-CjF5HKRm.esm.js";
36
- import { t as geolocationMachine } from "./geolocationStateMachine-Chrfks1T.esm.js";
36
+ import { t as geolocationMachine } from "./geolocationStateMachine-BpYYdq3x.esm.js";
37
37
  import { t as governmentValidationMachine } from "./governmentValidationStateMachine-CU1vflz7.esm.js";
38
38
  import { t as idVerificationMachine } from "./idVerificationStateMachine-BviHflvW.esm.js";
39
39
  import { t as faceMatchMachine } from "./faceMatchStateMachine-HlYXmhIN.esm.js";
40
- import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-Cw4jVa_U.esm.js";
41
- import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-B_V1v5RD.esm.js";
40
+ import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-BAR0Quen.esm.js";
41
+ import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CyhsE9pw.esm.js";
42
42
  import "./qe-signature.esm.js";
43
43
  //#region src/internal/orchestration/defaultModules.ts
44
44
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20260826-54756eb6",
3
+ "version": "0.0.0-dev-20260826-559b0116",
4
4
  "license": "ISC",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +0,0 @@
1
- import "./trueSightService-BVVlgl2J.esm.js";