@incodetech/core 2.3.0-rc.0 → 2.3.0-rc.2

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 (149) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-C_9o3L2L.esm.js → BrowserDiagnosticsCryptoProvider-Crg8fwBl.esm.js} +1 -1
  2. package/dist/{FaceDetectionProvider-DTetAE8H.esm.js → FaceDetectionProvider-i55W_Jkj.esm.js} +7 -52
  3. package/dist/{IWasmUtilCapability-CXXDA5l1.d.ts → IWasmUtilCapability-CNWRl7jr.d.ts} +1 -43
  4. package/dist/{StreamCanvasCapture-B3YT2Bt6.d.ts → StreamCanvasCapture-_8gdW5Lk.d.ts} +1 -1
  5. package/dist/{recordingsRepository-CCWy13M-.esm.js → StreamCanvasProcessingSession-CBnbTnOr.esm.js} +1 -31
  6. package/dist/{addressSearch-BRSu_aGA.esm.js → addressSearch-DyHGgeX8.esm.js} +1 -1
  7. package/dist/ae-signature.esm.js +1 -1
  8. package/dist/antifraud.esm.js +2 -2
  9. package/dist/{antifraudManager-Bg9ynGum.esm.js → antifraudManager-DNkw66oW.esm.js} +1 -1
  10. package/dist/{antifraudStateMachine-BHxehiJZ.esm.js → antifraudStateMachine-DBeq47D2.esm.js} +1 -1
  11. package/dist/{apiError-D0v5hFyN.esm.js → apiError-DcnaKSwk.esm.js} +1 -1
  12. package/dist/authentication.d.ts +3 -3
  13. package/dist/authentication.esm.js +2 -2
  14. package/dist/{authenticationManager-DXTIUcma.d.ts → authenticationManager-CjXBjC-c.d.ts} +1 -1
  15. package/dist/{authenticationManager-C4B4-29g.esm.js → authenticationManager-D-UWdyhr.esm.js} +3 -3
  16. package/dist/{authenticationStateMachine-DJ0zUm-A.esm.js → authenticationStateMachine-Cklrmjfo.esm.js} +3 -3
  17. package/dist/certificate-issuance.esm.js +2 -2
  18. package/dist/{certificateIssuanceManager-Bfvkq7Cy.esm.js → certificateIssuanceManager-C3-CI0_s.esm.js} +1 -1
  19. package/dist/{certificateIssuanceStateMachine-BBD5h8c4.esm.js → certificateIssuanceStateMachine-CxqS_nD-.esm.js} +1 -1
  20. package/dist/consent.d.ts +1 -1
  21. package/dist/consent.esm.js +2 -2
  22. package/dist/{consentManager-B5Vqdez-.esm.js → consentManager-B6E1XJDw.esm.js} +1 -1
  23. package/dist/{consentManager-uhDPdU6i.d.ts → consentManager-BhYFeKiG.d.ts} +8 -8
  24. package/dist/{consentStateMachine-DbUmqWgV.esm.js → consentStateMachine-DTSfdGiW.esm.js} +1 -1
  25. package/dist/{createCameraCycleOwnership-DQ5-F2oW.esm.js → createCameraCycleOwnership-CX3hJGKc.esm.js} +1 -1
  26. package/dist/cross-document-data-match.esm.js +1 -1
  27. package/dist/{crossDocumentDataMatchManager-QMOGwHXR.esm.js → crossDocumentDataMatchManager-9XhFVZ5S.esm.js} +1 -1
  28. package/dist/curp-validation.esm.js +2 -2
  29. package/dist/{curpValidationManager-D1ppROcF.esm.js → curpValidationManager-DbIMYFcJ.esm.js} +1 -1
  30. package/dist/{curpValidationStateMachine-DvUPC_8S.esm.js → curpValidationStateMachine-g5kMfuLj.esm.js} +1 -1
  31. package/dist/custom-fields.esm.js +1 -1
  32. package/dist/custom-watchlist.esm.js +2 -2
  33. package/dist/{customFieldsManager-2j_PBq4U.esm.js → customFieldsManager-CzWZTkW-.esm.js} +1 -1
  34. package/dist/{customWatchlistManager-DUVrEdw9.esm.js → customWatchlistManager-DWTED5Ur.esm.js} +1 -1
  35. package/dist/{customWatchlistStateMachine-qZVgkKgP.esm.js → customWatchlistStateMachine-DOQou6TW.esm.js} +1 -1
  36. package/dist/{deepsightLoader-Dm7ejW4v.esm.js → deepsightLoader-BNDIPbEK.esm.js} +4 -4
  37. package/dist/document-capture.esm.js +2 -2
  38. package/dist/{documentCaptureManager-DR_Wv-3H.esm.js → documentCaptureManager-CwAiM9WY.esm.js} +1 -1
  39. package/dist/{documentCaptureStateMachine-CWOATHfE.esm.js → documentCaptureStateMachine-DfGOBapD.esm.js} +1 -1
  40. package/dist/dynamic-forms.esm.js +2 -2
  41. package/dist/{dynamicFormsManager-Dt98SDfV.esm.js → dynamicFormsManager-DOu0Xgs0.esm.js} +1 -1
  42. package/dist/{dynamicFormsStateMachine-obKr4IIp.esm.js → dynamicFormsStateMachine-DehYndAZ.esm.js} +2 -2
  43. package/dist/ekyb.esm.js +3 -3
  44. package/dist/{ekybManager-DNZKrKF3.esm.js → ekybManager-CCcz4-FC.esm.js} +1 -1
  45. package/dist/{ekybStateMachine-DjhHQXZ8.esm.js → ekybStateMachine-xesYf5pK.esm.js} +3 -3
  46. package/dist/ekyc.esm.js +2 -2
  47. package/dist/{ekycManager-CmQBpeiI.esm.js → ekycManager-BlQ-Qj4E.esm.js} +1 -1
  48. package/dist/{ekycStateMachine-CmdW2gVm.esm.js → ekycStateMachine-CshSNJhh.esm.js} +2 -2
  49. package/dist/electronic-signature.esm.js +1 -1
  50. package/dist/{electronicSignatureManager-DzulxM4_.esm.js → electronicSignatureManager-8VGN2aKU.esm.js} +2 -2
  51. package/dist/email.esm.js +2 -2
  52. package/dist/{emailManager-B5ek_UfM.esm.js → emailManager-bR1N5rV_.esm.js} +1 -1
  53. package/dist/{emailStateMachine-CyPFZ7dW.esm.js → emailStateMachine-Bc_6oIYw.esm.js} +1 -1
  54. package/dist/{endpoints-D3B9mUHh.esm.js → endpoints-B-3Q-LUw.esm.js} +0 -3
  55. package/dist/extensibility.d.ts +10 -10
  56. package/dist/extensibility.esm.js +33 -33
  57. package/dist/face-match.esm.js +2 -2
  58. package/dist/{faceCaptureManagerFactory-CvtqcLxs.d.ts → faceCaptureManagerFactory-BeUl8fl1.d.ts} +4 -5
  59. package/dist/{faceCaptureManagerFactory-pCmG4MeF.esm.js → faceCaptureManagerFactory-Bl6EffXD.esm.js} +1 -1
  60. package/dist/{faceCaptureSetup-BSextack.esm.js → faceCaptureSetup-CDGmqC8J.esm.js} +46 -64
  61. package/dist/{faceMatchManager-Caal2zyV.esm.js → faceMatchManager-Bmv0HzuY.esm.js} +1 -1
  62. package/dist/{faceMatchStateMachine-BUc5FXYy.esm.js → faceMatchStateMachine-mRIHQ3dA.esm.js} +1 -1
  63. package/dist/{feature-management-B0sGlozZ.esm.js → feature-management-J3rr-HDW.esm.js} +1 -1
  64. package/dist/feature-management.esm.js +1 -1
  65. package/dist/field-comparison.esm.js +1 -1
  66. package/dist/{fieldComparisonManager-BIs6HPJG.esm.js → fieldComparisonManager-CC-klG0h.esm.js} +1 -1
  67. package/dist/fiscal-qr.d.ts +1 -1
  68. package/dist/fiscal-qr.esm.js +1 -1
  69. package/dist/{fiscalQrManager-CHcBJwUM.d.ts → fiscalQrManager-B1STmT6z.d.ts} +4 -1
  70. package/dist/{fiscalQrManager-Bp_-3LJr.esm.js → fiscalQrManager-BunLVFbd.esm.js} +16 -4
  71. package/dist/flow.d.ts +2 -2
  72. package/dist/flow.esm.js +3 -3
  73. package/dist/{flowCompletionService-CLtbWhSK.esm.js → flowCompletionService-CayNS1FR.esm.js} +2 -2
  74. package/dist/{flowServices-B5FwukTQ.esm.js → flowServices-DX5ygAyn.esm.js} +5 -5
  75. package/dist/geolocation.esm.js +2 -2
  76. package/dist/{geolocationManager-DIw-xq9a.esm.js → geolocationManager-DYXuNsN2.esm.js} +1 -1
  77. package/dist/{geolocationStateMachine-DpG0TFOU.esm.js → geolocationStateMachine-C-37vSiR.esm.js} +2 -2
  78. package/dist/government-validation.esm.js +2 -2
  79. package/dist/{governmentValidationManager-TjC9iVjH.esm.js → governmentValidationManager-CacFOtKO.esm.js} +1 -1
  80. package/dist/{governmentValidationStateMachine-D1ZnEqdd.esm.js → governmentValidationStateMachine-CoaZOSTP.esm.js} +1 -1
  81. package/dist/id-ocr.esm.js +2 -2
  82. package/dist/id-selfie-flow.d.ts +1 -1
  83. package/dist/id-selfie-flow.esm.js +9 -9
  84. package/dist/id-verification.esm.js +2 -2
  85. package/dist/id.d.ts +3 -3
  86. package/dist/id.esm.js +4 -4
  87. package/dist/{idCaptureDefaults-BcxjQDI3.esm.js → idCaptureDefaults-CxOh31Xf.esm.js} +272 -29
  88. package/dist/{idCaptureManager-Vby8oYqh.esm.js → idCaptureManager-BFtpmjsP.esm.js} +3 -3
  89. package/dist/{idCaptureManager-CvmHOWWd.d.ts → idCaptureManager-De7O0TOD.d.ts} +33 -15
  90. package/dist/{idCaptureServices-CJIxD9ep.esm.js → idCaptureServices-C7aPT72E.esm.js} +69 -120
  91. package/dist/{idCaptureStateMachine-CmqihkUy.esm.js → idCaptureStateMachine-BEbzg_R1.esm.js} +217 -83
  92. package/dist/{idOcrManager-DHU22hVn.esm.js → idOcrManager-r46XfZGE.esm.js} +1 -1
  93. package/dist/{idOcrStateMachine-33UvRAHE.esm.js → idOcrStateMachine-ClDEP-VI.esm.js} +1 -1
  94. package/dist/{idVerificationManager-CyaixD0D.esm.js → idVerificationManager-DT42c77H.esm.js} +1 -1
  95. package/dist/{idVerificationStateMachine-BPGrQZEm.esm.js → idVerificationStateMachine-DbDVIh9t.esm.js} +1 -1
  96. package/dist/identity-reuse.esm.js +2 -2
  97. package/dist/{identityReuseManager-CWaNHBO3.esm.js → identityReuseManager-yG3acUrQ.esm.js} +1 -1
  98. package/dist/{identityReuseStateMachine-CQgnATo5.esm.js → identityReuseStateMachine-BhAkuIra.esm.js} +1 -1
  99. package/dist/index.esm.js +1 -1
  100. package/dist/mandatory-consent.d.ts +1 -1
  101. package/dist/mandatory-consent.esm.js +2 -2
  102. package/dist/{mandatoryConsentManager-Du-m-tZ_.esm.js → mandatoryConsentManager-7dI0D08q.esm.js} +1 -1
  103. package/dist/{mandatoryConsentManager-CJSyhTpi.d.ts → mandatoryConsentManager-vhv1co_n.d.ts} +4 -4
  104. package/dist/{mandatoryConsentStateMachine-DSDAk7WZ.esm.js → mandatoryConsentStateMachine-DC5Mo6M1.esm.js} +1 -1
  105. package/dist/{multipartRecordingService-B3C_zlev.esm.js → multipartRecordingService-OEgIRvqC.esm.js} +14 -3
  106. package/dist/personhood.d.ts +3 -3
  107. package/dist/personhood.esm.js +5 -5
  108. package/dist/phone.esm.js +2 -2
  109. package/dist/{phoneManager-N1-sbrY4.esm.js → phoneManager-IjhSv5XS.esm.js} +1 -1
  110. package/dist/{phoneStateMachine-jl8LJKCo.esm.js → phoneStateMachine-CXdXufKg.esm.js} +1 -1
  111. package/dist/qe-signature.esm.js +1 -1
  112. package/dist/redirect-to-mobile.esm.js +2 -2
  113. package/dist/{redirectToMobileManager-DsFzdTwA.esm.js → redirectToMobileManager-FLEWJtv8.esm.js} +1 -1
  114. package/dist/{redirectToMobileStateMachine-v3otpT-L.esm.js → redirectToMobileStateMachine-CSWWgUTO.esm.js} +1 -1
  115. package/dist/{runChildModule-TuyGE00X.esm.js → runChildModule-CT0aKjFV.esm.js} +1 -1
  116. package/dist/{sdkVersion-CLxKvdyz.esm.js → sdkVersion-DTrl2Jm7.esm.js} +1 -1
  117. package/dist/selfie.d.ts +4 -4
  118. package/dist/selfie.esm.js +7 -7
  119. package/dist/{selfieErrorUtils-C77GXJH6.esm.js → selfieErrorUtils-UiQ46EBa.esm.js} +2 -2
  120. package/dist/{selfieManager-CihVnODO.esm.js → selfieManager-0gvnAH1m.esm.js} +3 -3
  121. package/dist/{selfieManager-D1KRJ39M.d.ts → selfieManager-4RRLi21P.d.ts} +1 -1
  122. package/dist/{selfieStateMachine-fwMmNtOi.esm.js → selfieStateMachine-rfneTd9x.esm.js} +4 -4
  123. package/dist/{session-BHIeAamR.esm.js → session-ZAdron5D.esm.js} +4 -4
  124. package/dist/session.esm.js +4 -4
  125. package/dist/{sessionInitializer-BLoK7SP9.esm.js → sessionInitializer-C1A6s33W.esm.js} +5 -5
  126. package/dist/{setup-msLybMbC.esm.js → setup-6e71xCI7.esm.js} +6 -6
  127. package/dist/signature.esm.js +2 -2
  128. package/dist/{signatureManager-ChsB-nMD.esm.js → signatureManager-B72np4ZO.esm.js} +1 -1
  129. package/dist/{signatureStateMachine-BHPwkJZS.esm.js → signatureStateMachine-ce_XMA3l.esm.js} +1 -1
  130. package/dist/{stats-DkK-f8JT.esm.js → stats-CZcy2J53.esm.js} +1 -1
  131. package/dist/stats.esm.js +1 -1
  132. package/dist/{trueSightService-CKrrfV0Q.esm.js → trueSightService-DJ1kSDlH.esm.js} +3 -3
  133. package/dist/{types-CM-jtjJ2.d.ts → types-Bnl58jUQ.d.ts} +2 -6
  134. package/dist/{types-ZT1XFIJ8.d.ts → types-ChAowIxT.d.ts} +1 -1
  135. package/dist/{types-CjKBS37a2.d.ts → types-byBHOzCG2.d.ts} +5 -15
  136. package/dist/video-selfie.d.ts +1 -1
  137. package/dist/video-selfie.esm.js +6 -6
  138. package/dist/{videoSelfieCameraWarmer-CB1IzZkt.esm.js → videoSelfieCameraWarmer-BqXupt3L.esm.js} +6 -6
  139. package/dist/{videoSelfieStepDetector-5YHFe0Mq.d.ts → videoSelfieStepDetector-Co0Gu2k2.d.ts} +43 -13
  140. package/dist/{virtualCameraCheck-WOloJ-do.esm.js → virtualCameraCheck-Cjab7FTI.esm.js} +1 -1
  141. package/dist/wasm.esm.js +1 -1
  142. package/dist/watchlist-for-business.esm.js +2 -2
  143. package/dist/watchlist.esm.js +2 -2
  144. package/dist/{watchlistForBusinessManager-CpuuB1J2.esm.js → watchlistForBusinessManager-CIMkpEhu.esm.js} +1 -1
  145. package/dist/{watchlistForBusinessStateMachine-DEzgjz7C.esm.js → watchlistForBusinessStateMachine-CJ-MvUre.esm.js} +1 -1
  146. package/dist/{watchlistManager-CI8BHFob.esm.js → watchlistManager-CixcLNDT.esm.js} +1 -1
  147. package/dist/{watchlistStateMachine-DvOby3a-.esm.js → watchlistStateMachine-CBqk2w-h.esm.js} +1 -1
  148. package/dist/workflow.esm.js +34 -34
  149. package/package.json +1 -1
@@ -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 ekycMachine } from "./ekycStateMachine-CmdW2gVm.esm.js";
4
+ import { t as ekycMachine } from "./ekycStateMachine-CshSNJhh.esm.js";
5
5
  //#region src/modules/ekyc/ekycActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYC actor.
@@ -1,9 +1,9 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
2
+ import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
3
3
  import { a as ADDRESS_STATE_SOURCES, c as EMAIL_SOURCES, d as NAME_SOURCES, f as POSTAL_CODE_SOURCES, h as TAX_ID_SOURCES, i as toEkycConfig, l as HOUSE_NO_SOURCES, m as STREET_SOURCES, n as getEKYCFields, o as CITY_SOURCES, p as STATE_CODE_HINTS, r as isFieldOptional, s as COUNTRY_SELECTOR_DISABLED_SOURCES, t as getEKYCCountry, u as MIDDLE_NAME_SOURCES } from "./ekycUtils-Dew1rBG0.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
- 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-BRSu_aGA.esm.js";
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-DyHGgeX8.esm.js";
7
7
  import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
8
8
  //#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/metadata.min.json.js
9
9
  var metadata_min_json_default = {
@@ -1,2 +1,2 @@
1
- import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-DzulxM4_.esm.js";
1
+ import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-8VGN2aKU.esm.js";
2
2
  export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -1,8 +1,8 @@
1
1
  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
- import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
5
- import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-D0v5hFyN.esm.js";
4
+ import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
5
+ import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-DcnaKSwk.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";
package/dist/email.esm.js CHANGED
@@ -1,3 +1,3 @@
1
- import { t as emailMachine } from "./emailStateMachine-CyPFZ7dW.esm.js";
2
- import { t as createEmailManager } from "./emailManager-B5ek_UfM.esm.js";
1
+ import { t as emailMachine } from "./emailStateMachine-Bc_6oIYw.esm.js";
2
+ import { t as createEmailManager } from "./emailManager-bR1N5rV_.esm.js";
3
3
  export { createEmailManager, emailMachine };
@@ -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 emailMachine } from "./emailStateMachine-CyPFZ7dW.esm.js";
3
+ import { t as emailMachine } from "./emailStateMachine-Bc_6oIYw.esm.js";
4
4
  //#region src/modules/email/emailActor.ts
5
5
  function createEmailActor(options) {
6
6
  return createActor(emailMachine, { input: { config: options.config } }).start();
@@ -1,6 +1,6 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
3
+ import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
6
  import { n as isOtpComplete, t as computeOtpValidationErrors } from "./otp-D2k3PeSL.esm.js";
@@ -5,9 +5,6 @@ const endpoints = {
5
5
  events: "/omni/interview-events",
6
6
  selfie: "/omni/add/face",
7
7
  authenticate: "/omni/onboarding-authentications/authenticate",
8
- recordingCreateSessionV2: "/omni/recordings/create-session/v2",
9
- recordingStartV2: "/omni/recordings/record-start/v2",
10
- recordingStopV2: "/omni/recordings/record-stop/v2",
11
8
  deepsightVideoImport: "/omni/recordings/import",
12
9
  /**
13
10
  * Video-selfie multipart upload — served by the dedicated
@@ -5,13 +5,13 @@ import "./Actor-iTq7YY48.js";
5
5
  import { c as ElectronicSignatureFileDataHolder } from "./types-D0gekt4U.js";
6
6
  import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-Ds-KEVTq.js";
7
7
  import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-BY36bS12.js";
8
- import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-CvtqcLxs.js";
8
+ import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-BeUl8fl1.js";
9
9
  import "./createFaceAvatar-BlcTYgJv.js";
10
- import { i as IStorageCapability } from "./IWasmUtilCapability-CXXDA5l1.js";
11
- import "./StreamCanvasCapture-B3YT2Bt6.js";
12
- import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-DXTIUcma.js";
10
+ import { i as IStorageCapability } from "./IWasmUtilCapability-CNWRl7jr.js";
11
+ import "./StreamCanvasCapture-_8gdW5Lk.js";
12
+ import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CjXBjC-c.js";
13
13
  import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-DCgEidHz.js";
14
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-uhDPdU6i.js";
14
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-BhYFeKiG.js";
15
15
  import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
16
16
  import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-SSKNrm5Z.js";
17
17
  import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-8-W2KY4n.js";
@@ -21,15 +21,15 @@ import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as D
21
21
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
22
22
  import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
23
23
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
24
- import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-D1KRJ39M.js";
25
- import { i as CaptureIdResponse } from "./types-CjKBS37a2.js";
26
- import { d as IdCaptureActor, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState, z as WasmUtilProvider } from "./idCaptureManager-CvmHOWWd.js";
24
+ import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-4RRLi21P.js";
25
+ import { i as CaptureIdResponse } from "./types-byBHOzCG2.js";
26
+ import { B as WasmUtilProvider, d as IdCaptureActor, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-De7O0TOD.js";
27
27
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
28
28
  import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DLXef90v.js";
29
29
  import { i as WatchlistForBusinessState, l as WatchlistForBusinessActor, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager } from "./watchlistForBusinessManager-CsnJnG-C.js";
30
30
  import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
31
31
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
32
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-CJSyhTpi.js";
32
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-vhv1co_n.js";
33
33
  import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-BF_cXZq8.js";
34
34
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BD2PvT5B.js";
35
35
  import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-DGBSWz2_.js";
@@ -37,7 +37,7 @@ import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as Geo
37
37
  import { a as GovernmentValidationActor, i as createGovernmentValidationManagerFromActor, n as GovernmentValidationState, t as GovernmentValidationManager } from "./governmentValidationManager-D02vT4yY.js";
38
38
  import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-BB4Pj_N6.js";
39
39
  import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-BnvrZM2F.js";
40
- import { a as FiscalQrActor, i as createFiscalQrManagerFromActor, n as FiscalQrState, t as FiscalQrManager } from "./fiscalQrManager-CHcBJwUM.js";
40
+ import { a as FiscalQrActor, i as createFiscalQrManagerFromActor, n as FiscalQrState, t as FiscalQrManager } from "./fiscalQrManager-B1STmT6z.js";
41
41
  import "./types-DgDvvzg0.js";
42
42
  //#region src/modules/authentication/authenticationUploadService.d.ts
43
43
  type AuthenticationUploadResponse = {
@@ -1,37 +1,37 @@
1
- import { l as BrowserStorageProvider } from "./setup-msLybMbC.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-6e71xCI7.esm.js";
2
2
  import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
3
- import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-BLoK7SP9.esm.js";
3
+ import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-C1A6s33W.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-DzulxM4_.esm.js";
7
- import { n as createAntifraudManagerFromActor } from "./antifraudManager-Bg9ynGum.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-BSextack.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-C4B4-29g.esm.js";
10
- import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-Bfvkq7Cy.esm.js";
11
- import { n as createConsentManagerFromActor } from "./consentManager-B5Vqdez-.esm.js";
12
- import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-QMOGwHXR.esm.js";
13
- import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-D1ppROcF.esm.js";
14
- import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-2j_PBq4U.esm.js";
15
- import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-DUVrEdw9.esm.js";
16
- import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-DR_Wv-3H.esm.js";
17
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-Dt98SDfV.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-DNZKrKF3.esm.js";
19
- import { n as createEkycManagerFromActor } from "./ekycManager-CmQBpeiI.esm.js";
20
- import { n as createEmailManagerFromActor } from "./emailManager-B5ek_UfM.esm.js";
21
- import { n as createSelfieManagerFromActor } from "./selfieManager-CihVnODO.esm.js";
22
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-Vby8oYqh.esm.js";
23
- import { n as createPhoneManagerFromActor } from "./phoneManager-N1-sbrY4.esm.js";
24
- import { n as createWatchlistManagerFromActor } from "./watchlistManager-CI8BHFob.esm.js";
25
- import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-CpuuB1J2.esm.js";
26
- import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-CWaNHBO3.esm.js";
27
- import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-BIs6HPJG.esm.js";
28
- import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-Du-m-tZ_.esm.js";
29
- import { n as createIdOcrManagerFromActor } from "./idOcrManager-DHU22hVn.esm.js";
30
- import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-DsFzdTwA.esm.js";
31
- import { n as createSignatureManagerFromActor } from "./signatureManager-ChsB-nMD.esm.js";
32
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-DIw-xq9a.esm.js";
33
- import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-TjC9iVjH.esm.js";
34
- import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-CyaixD0D.esm.js";
35
- import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-Caal2zyV.esm.js";
36
- import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-Bp_-3LJr.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-8VGN2aKU.esm.js";
7
+ import { n as createAntifraudManagerFromActor } from "./antifraudManager-DNkw66oW.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-CDGmqC8J.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-D-UWdyhr.esm.js";
10
+ import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-C3-CI0_s.esm.js";
11
+ import { n as createConsentManagerFromActor } from "./consentManager-B6E1XJDw.esm.js";
12
+ import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-9XhFVZ5S.esm.js";
13
+ import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-DbIMYFcJ.esm.js";
14
+ import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-CzWZTkW-.esm.js";
15
+ import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-DWTED5Ur.esm.js";
16
+ import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-CwAiM9WY.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DOu0Xgs0.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-CCcz4-FC.esm.js";
19
+ import { n as createEkycManagerFromActor } from "./ekycManager-BlQ-Qj4E.esm.js";
20
+ import { n as createEmailManagerFromActor } from "./emailManager-bR1N5rV_.esm.js";
21
+ import { n as createSelfieManagerFromActor } from "./selfieManager-0gvnAH1m.esm.js";
22
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-BFtpmjsP.esm.js";
23
+ import { n as createPhoneManagerFromActor } from "./phoneManager-IjhSv5XS.esm.js";
24
+ import { n as createWatchlistManagerFromActor } from "./watchlistManager-CixcLNDT.esm.js";
25
+ import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-CIMkpEhu.esm.js";
26
+ import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-yG3acUrQ.esm.js";
27
+ import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-CC-klG0h.esm.js";
28
+ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-7dI0D08q.esm.js";
29
+ import { n as createIdOcrManagerFromActor } from "./idOcrManager-r46XfZGE.esm.js";
30
+ import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-FLEWJtv8.esm.js";
31
+ import { n as createSignatureManagerFromActor } from "./signatureManager-B72np4ZO.esm.js";
32
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-DYXuNsN2.esm.js";
33
+ import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-CacFOtKO.esm.js";
34
+ import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-DT42c77H.esm.js";
35
+ import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-Bmv0HzuY.esm.js";
36
+ import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-BunLVFbd.esm.js";
37
37
  export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistForBusinessManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
@@ -1,3 +1,3 @@
1
- import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-BUc5FXYy.esm.js";
2
- import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-Caal2zyV.esm.js";
1
+ import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-mRIHQ3dA.esm.js";
2
+ import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-Bmv0HzuY.esm.js";
3
3
  export { ID_FACE_EXTRACTION_SKIPPED_CODE, createFaceMatchManager, createFaceMatchManagerFromActor, faceMatchMachine, isFaceExtractionSkippedError };
@@ -6,12 +6,12 @@ import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapabil
6
6
  import "./index-B8weJxmL.js";
7
7
  import { s as FaceFeed, t as AvatarId, u as FaceCoordinates, y as IncodeCanvas } from "./createFaceAvatar-BlcTYgJv.js";
8
8
  import { i as FlowModuleConfig } from "./types-Do5rEXij.js";
9
- import "./IWasmUtilCapability-CXXDA5l1.js";
9
+ import "./IWasmUtilCapability-CNWRl7jr.js";
10
10
  import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
11
- import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-CM-jtjJ2.js";
12
- import { t as AuthenticationConfig } from "./types-ZT1XFIJ8.js";
11
+ import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-Bnl58jUQ.js";
12
+ import { t as AuthenticationConfig } from "./types-ChAowIxT.js";
13
13
  import "./types-BT_Oalip.js";
14
- import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-B3YT2Bt6.js";
14
+ import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-_8gdW5Lk.js";
15
15
  import { t as FaceDetectionProvider } from "./FaceDetectionProvider-LdZ47bWy.js";
16
16
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
17
17
  //#region src/modules/authentication/authenticationStateMachine.d.ts
@@ -108,7 +108,6 @@ type RecordingService = {
108
108
  * Returns `{ videoBase64: undefined }` when video is not available for
109
109
  * any reason, including:
110
110
  * - the recorder was never started or is already stopped,
111
- * - an injected provider is server-side and the client never holds the bytes,
112
111
  * - video assembly fails.
113
112
  */
114
113
  stopAndGetVideo(): Promise<{
@@ -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 { i as concealmentToAvatar } from "./faceCaptureSetup-BSextack.esm.js";
4
+ import { i as concealmentToAvatar } from "./faceCaptureSetup-CDGmqC8J.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-B2e8p268.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
7
7
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-Bj_fyWtv.esm.js";
@@ -1,21 +1,21 @@
1
1
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
2
- import { r as getToken } from "./api-Bx3gKW_y.esm.js";
3
- import { l as trueSightLog, m as isTrueSightTesting } from "./trueSightService-CKrrfV0Q.esm.js";
4
- import "./sessionInitializer-BLoK7SP9.esm.js";
5
- import { t as addDeviceStats } from "./stats-DkK-f8JT.esm.js";
2
+ import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
+ import { l as trueSightLog, m as isTrueSightTesting } from "./trueSightService-DJ1kSDlH.esm.js";
4
+ import "./sessionInitializer-C1A6s33W.esm.js";
5
+ import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
6
+ import { t as addDeviceStats } from "./stats-CZcy2J53.esm.js";
6
7
  import { t as isAndroid } from "./platform-DkcRc9JV.esm.js";
7
8
  import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
8
9
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
9
10
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-Bj_fyWtv.esm.js";
10
- import { a as sendLabelInspectionEvent, c as stopRecording, i as initializeDeepsightSession, l as stopStream, r as initializeCamera, s as startRecordingSession, t as FaceDetectionProvider } from "./FaceDetectionProvider-DTetAE8H.esm.js";
11
+ import { a as sendLabelInspectionEvent, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider } from "./FaceDetectionProvider-i55W_Jkj.esm.js";
11
12
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
12
- import { a as flagFaceManualReview, i as imageFileToDataUrl, n as runProtectedAttempt, r as cameraCycleProvider, s as PROTECTED_CAPTURE_TARGET, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-DQ5-F2oW.esm.js";
13
+ import { a as flagFaceManualReview, i as imageFileToDataUrl, n as runProtectedAttempt, r as cameraCycleProvider, s as PROTECTED_CAPTURE_TARGET, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-CX3hJGKc.esm.js";
13
14
  import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
14
15
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
15
16
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-uYZYFu4J.esm.js";
16
- import { i as uploadDeepsightVideo } from "./recordingsRepository-CCWy13M-.esm.js";
17
17
  import { t as getDeviceClass } from "./getDeviceClass-5NYZg9s6.esm.js";
18
- import { n as getAdaptiveMediaRecorderOptions, t as MultipartRecordingService } from "./multipartRecordingService-B3C_zlev.esm.js";
18
+ import { n as getAdaptiveMediaRecorderOptions, t as MultipartRecordingService } from "./multipartRecordingService-OEgIRvqC.esm.js";
19
19
  //#region src/internal/avatar/concealment.ts
20
20
  /**
21
21
  * Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
@@ -496,7 +496,28 @@ var LocalRecordingProvider = class {
496
496
  recorder?.stream?.getTracks().forEach((track) => track.stop());
497
497
  });
498
498
  }
499
+ /**
500
+ * Discards the in-progress recording without producing a result: detaches
501
+ * the recorder's handlers, stops it, releases its cloned tracks and clears
502
+ * the flags. Idempotent, and safe after `stopRecording` or when never
503
+ * started. Mirrors `MultipartRecordingProvider.reset()` so an attempt that is
504
+ * released before finalization cannot leave a live camera clone behind
505
+ * (ENG-56648).
506
+ */
499
507
  reset() {
508
+ this.removeEventListeners();
509
+ const recorder = this.mediaRecorder;
510
+ if (recorder) {
511
+ recorder.ondataavailable = null;
512
+ recorder.onerror = null;
513
+ recorder.onstop = null;
514
+ if (recorder.state !== "inactive") try {
515
+ recorder.stop();
516
+ } catch {}
517
+ recorder.stream?.getTracks().forEach((track) => track.stop());
518
+ this.mediaRecorder = null;
519
+ }
520
+ this.stream = null;
500
521
  this._isRecording = false;
501
522
  this._error = null;
502
523
  this._hasError = false;
@@ -515,6 +536,18 @@ var LocalRecordingProvider = class {
515
536
  }
516
537
  };
517
538
  //#endregion
539
+ //#region src/internal/recordings/recordingsRepository.ts
540
+ async function uploadDeepsightVideo(encryptedVideo, token) {
541
+ try {
542
+ return (await api.post(endpoints.deepsightVideoImport, {
543
+ video: encryptedVideo,
544
+ type: "selfie"
545
+ }, { headers: { "X-Incode-Hardware-Id": token } })).data.recordingId ?? "";
546
+ } catch {
547
+ return "";
548
+ }
549
+ }
550
+ //#endregion
518
551
  //#region src/internal/faceCapture/recordingService.ts
519
552
  /**
520
553
  * Records on-device and uploads encrypted video for liveness.
@@ -605,41 +638,6 @@ var MultipartFaceRecordingService = class {
605
638
  }
606
639
  };
607
640
  /**
608
- * Records through a consumer-injected remote provider and manages its session.
609
- */
610
- var InjectedRecordingService = class {
611
- constructor(config) {
612
- this.config = config;
613
- }
614
- async start(stream) {
615
- if (this.session) return;
616
- this.session = await startRecordingSession({
617
- config: this.config,
618
- clonedStream: stream.clone()
619
- });
620
- }
621
- async prepareUpload() {
622
- return { recordingId: null };
623
- }
624
- async stop() {
625
- if (this.session) {
626
- stopRecording(this.session);
627
- this.session = void 0;
628
- }
629
- return { recordingId: null };
630
- }
631
- async stopAndGetVideo() {
632
- if (this.session) {
633
- stopRecording(this.session);
634
- this.session = void 0;
635
- }
636
- return { videoBase64: void 0 };
637
- }
638
- cleanup() {
639
- if (this.session) stopRecording(this.session);
640
- }
641
- };
642
- /**
643
641
  * Creates the recording service for the current configuration.
644
642
  *
645
643
  * Order of precedence:
@@ -648,16 +646,14 @@ var InjectedRecordingService = class {
648
646
  * JSON via `WebApi.postFaceResults`. Mirrors V1's
649
647
  * `FaceFlowManager.setRecorders()` early return.
650
648
  * 2. `deepsightLiveness === 'VIDEOLIVENESS'` → local Deepsight recorder.
651
- * 3. `enableFaceRecording === true` → scoped multipart recorder. A custom
652
- * injected recording capability remains supported for backwards-compatible
653
- * dependency injection.
649
+ * 3. `enableFaceRecording === true` → scoped multipart recorder.
654
650
  * 4. otherwise → no recording.
655
651
  */
656
652
  function createRecordingService(params) {
657
653
  if (params.config.onDeviceFaceResultsSubmissionEnabled === true) return;
658
654
  if (params.localDelivery === true) return params.config.enableFaceRecording === true || params.config.deepsightLiveness === "VIDEOLIVENESS" ? new LocalRecordingService(params.wasmUtil, null) : void 0;
659
655
  if (params.config.deepsightLiveness === "VIDEOLIVENESS") return new LocalRecordingService(params.wasmUtil, params.sessionToken);
660
- if (params.config.enableFaceRecording === true) return params.config.recording?.capability ? new InjectedRecordingService(params.config) : new MultipartFaceRecordingService();
656
+ if (params.config.enableFaceRecording === true) return new MultipartFaceRecordingService();
661
657
  }
662
658
  //#endregion
663
659
  //#region src/internal/faceCapture/protectedFaceAttempt.ts
@@ -1484,7 +1480,6 @@ const faceCaptureMachine = setup({
1484
1480
  flagFaceManualReview: () => {
1485
1481
  flagFaceManualReview();
1486
1482
  },
1487
- preloadRecordingProvider: () => void 0,
1488
1483
  warmAvatarProvider: ({ context }) => {
1489
1484
  const { obfuscateWithAvatar, avatarVariant } = concealmentToAvatar(context.config.selfieConcealmentOption);
1490
1485
  if (!obfuscateWithAvatar || !avatarVariant) return;
@@ -1632,11 +1627,7 @@ const faceCaptureMachine = setup({
1632
1627
  { target: "loading" }
1633
1628
  ] } },
1634
1629
  loading: {
1635
- entry: [
1636
- "preloadRecordingProvider",
1637
- "warmAvatarProvider",
1638
- "initializeProtectedDeepsight"
1639
- ],
1630
+ entry: ["warmAvatarProvider", "initializeProtectedDeepsight"],
1640
1631
  invoke: {
1641
1632
  id: "checkPermissionLoading",
1642
1633
  src: "checkPermission",
@@ -1652,11 +1643,7 @@ const faceCaptureMachine = setup({
1652
1643
  },
1653
1644
  tutorial: {
1654
1645
  initial: "checkingPermission",
1655
- entry: [
1656
- "trackTutorial",
1657
- "preloadRecordingProvider",
1658
- "warmAvatarProvider"
1659
- ],
1646
+ entry: ["trackTutorial", "warmAvatarProvider"],
1660
1647
  on: { GO_TO_MANUAL_UPLOAD: {
1661
1648
  guard: "hasManualUploadEnabled",
1662
1649
  target: "#faceCapture.manualUpload"
@@ -1775,11 +1762,7 @@ const faceCaptureMachine = setup({
1775
1762
  }
1776
1763
  },
1777
1764
  permissions: {
1778
- entry: [
1779
- "preloadRecordingProvider",
1780
- "warmAvatarProvider",
1781
- "initializeProtectedDeepsight"
1782
- ],
1765
+ entry: ["warmAvatarProvider", "initializeProtectedDeepsight"],
1783
1766
  initial: "checkingDeepsight",
1784
1767
  states: {
1785
1768
  checkingDeepsight: { always: [{
@@ -1873,7 +1856,6 @@ const faceCaptureMachine = setup({
1873
1856
  },
1874
1857
  capture: {
1875
1858
  entry: [
1876
- "preloadRecordingProvider",
1877
1859
  "warmAvatarProvider",
1878
1860
  "initializeProtectedDeepsight",
1879
1861
  "startProtectedAttempt"
@@ -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 faceMatchMachine } from "./faceMatchStateMachine-BUc5FXYy.esm.js";
3
+ import { t as faceMatchMachine } from "./faceMatchStateMachine-mRIHQ3dA.esm.js";
4
4
  //#region src/modules/face-match/faceMatchActor.ts
5
5
  function createFaceMatchActor(options) {
6
6
  return createActor(faceMatchMachine, { input: { config: options.config } }).start();
@@ -1,5 +1,5 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
2
+ import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
5
5
  //#region src/modules/face-match/constants.ts
@@ -1,5 +1,5 @@
1
1
  import { n as __toESM } from "./rolldown-runtime-FDOR9p9I.esm.js";
2
- import { t as SDK_VERSION } from "./sdkVersion-CLxKvdyz.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-DTrl2Jm7.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-B0sGlozZ.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-J3rr-HDW.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 };
@@ -1,2 +1,2 @@
1
- import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-BIs6HPJG.esm.js";
1
+ import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-CC-klG0h.esm.js";
2
2
  export { createFieldComparisonManager, createFieldComparisonManagerFromActor, fieldComparisonMachine };
@@ -1,6 +1,6 @@
1
1
  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
- import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
3
+ import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
4
4
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
6
  //#region src/modules/field-comparison/fieldComparisonServices.ts
@@ -1,2 +1,2 @@
1
- import { a as FiscalQrActor, i as createFiscalQrManagerFromActor, n as FiscalQrState, o as fiscalQrMachine, r as createFiscalQrManager, s as FiscalQrConfig, t as FiscalQrManager } from "./fiscalQrManager-CHcBJwUM.js";
1
+ import { a as FiscalQrActor, i as createFiscalQrManagerFromActor, n as FiscalQrState, o as fiscalQrMachine, r as createFiscalQrManager, s as FiscalQrConfig, t as FiscalQrManager } from "./fiscalQrManager-B1STmT6z.js";
2
2
  export { type FiscalQrActor, type FiscalQrConfig, type FiscalQrManager, type FiscalQrState, createFiscalQrManager, createFiscalQrManagerFromActor, fiscalQrMachine };
@@ -1,2 +1,2 @@
1
- import { n as createFiscalQrManagerFromActor, r as fiscalQrMachine, t as createFiscalQrManager } from "./fiscalQrManager-Bp_-3LJr.esm.js";
1
+ import { n as createFiscalQrManagerFromActor, r as fiscalQrMachine, t as createFiscalQrManager } from "./fiscalQrManager-BunLVFbd.esm.js";
2
2
  export { createFiscalQrManager, createFiscalQrManagerFromActor, fiscalQrMachine };
@@ -20,6 +20,9 @@ type FiscalQrActor = ActorRefFrom<FiscalQrMachine>;
20
20
  type FiscalQrIdleState = {
21
21
  status: 'idle';
22
22
  };
23
+ type FiscalQrPermissionDeniedState = {
24
+ status: 'permissionDenied';
25
+ };
23
26
  type FiscalQrScanningState = {
24
27
  status: 'scanning';
25
28
  stream?: MediaStream;
@@ -48,7 +51,7 @@ type FiscalQrVerifiedState = {
48
51
  type FiscalQrFinishedState = {
49
52
  status: 'finished';
50
53
  };
51
- type FiscalQrState = FiscalQrIdleState | FiscalQrScanningState | FiscalQrCapturingState | FiscalQrSuccessState | FiscalQrProcessingState | FiscalQrErrorState | FiscalQrVerifiedState | FiscalQrFinishedState;
54
+ type FiscalQrState = FiscalQrIdleState | FiscalQrPermissionDeniedState | FiscalQrScanningState | FiscalQrCapturingState | FiscalQrSuccessState | FiscalQrProcessingState | FiscalQrErrorState | FiscalQrVerifiedState | FiscalQrFinishedState;
52
55
  declare function createFiscalQrManager(options: {
53
56
  config: FiscalQrConfig;
54
57
  }): Manager<FiscalQrState> & {
@@ -1,7 +1,7 @@
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 { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-ijlbX_Wx.esm.js";
4
- import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
4
+ import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
5
5
  import { i as assign, 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
7
  import { o as stopCameraStream } from "./camera-sIa9ceW2.esm.js";
@@ -33976,7 +33976,14 @@ const fiscalQrMachine = setup({
33976
33976
  module: eventModuleNames.fiscalQr
33977
33977
  })
33978
33978
  },
33979
- guards: { isMaxAttemptsReached: ({ context }) => context.attempts + 1 >= 3 }
33979
+ guards: {
33980
+ isMaxAttemptsReached: ({ context }) => context.attempts + 1 >= 3,
33981
+ isCameraPermissionDenied: ({ event }) => {
33982
+ const error = event.error;
33983
+ const name = error instanceof Error ? error.name : void 0;
33984
+ return name === "NotAllowedError" || name === "PermissionDeniedError";
33985
+ }
33986
+ }
33980
33987
  }).createMachine({
33981
33988
  id: "fiscalQr",
33982
33989
  initial: "idle",
@@ -34004,11 +34011,15 @@ const fiscalQrMachine = setup({
34004
34011
  target: "scanning",
34005
34012
  actions: "setStream"
34006
34013
  },
34007
- onError: {
34014
+ onError: [{
34015
+ target: "permissionDenied",
34016
+ guard: "isCameraPermissionDenied"
34017
+ }, {
34008
34018
  target: "scanning",
34009
34019
  actions: "setError"
34010
- }
34020
+ }]
34011
34021
  } },
34022
+ permissionDenied: {},
34012
34023
  scanning: {
34013
34024
  invoke: {
34014
34025
  id: "detectQrCode",
@@ -34074,6 +34085,7 @@ function mapState(snapshot) {
34074
34085
  const typedSnapshot = snapshot;
34075
34086
  const { stream, error, attempts } = typedSnapshot.context;
34076
34087
  if (typedSnapshot.matches("idle")) return { status: "idle" };
34088
+ if (typedSnapshot.matches("permissionDenied")) return { status: "permissionDenied" };
34077
34089
  if (typedSnapshot.matches("initCamera") || typedSnapshot.matches("scanning")) return {
34078
34090
  status: "scanning",
34079
34091
  stream,
package/dist/flow.d.ts CHANGED
@@ -5,11 +5,11 @@ import { t as Manager } from "./Manager-CQQ99QOI.js";
5
5
  import { a as ElectronicSignatureConfig } from "./types-D0gekt4U.js";
6
6
  import { t as EkycConfig } from "./types-Bk_6dmDa.js";
7
7
  import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-Do5rEXij.js";
8
- import { t as AuthenticationConfig } from "./types-ZT1XFIJ8.js";
8
+ import { t as AuthenticationConfig } from "./types-ChAowIxT.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 { u as IdCaptureConfig } from "./types-CjKBS37a2.js";
12
+ import { u as IdCaptureConfig } from "./types-byBHOzCG2.js";
13
13
  import { r as MandatoryConsentConfig } from "./types-9_esGTPj.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 resolveDashboardModuleConfig, c as getRequiredWasmPipelines, j as mergeDashboardConfig, l as normalizeFlowModules, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as resolveFlowModuleConfig } from "./flowServices-B5FwukTQ.esm.js";
2
+ import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, j as mergeDashboardConfig, l as normalizeFlowModules, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as resolveFlowModuleConfig } from "./flowServices-DX5ygAyn.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-CLtbWhSK.esm.js";
6
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-TuyGE00X.esm.js";
5
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-CayNS1FR.esm.js";
6
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CT0aKjFV.esm.js";
7
7
  import { n as isAdvanceableError } from "./advanceableErrors-CpF2cBy6.esm.js";
8
8
  //#region src/modules/flow/noOpFlowModuleMachine.ts
9
9
  const noOpFlowModuleMachine = setup({}).createMachine({