@incodetech/core 2.3.2 → 2.4.0-rc.0

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 (267) hide show
  1. package/THIRD_PARTY_NOTICES.txt +1243 -3
  2. package/dist/Actor-DpTj5PFb.d.ts +1 -0
  3. package/dist/{BaseWasmProvider-Dyi6dKp1.d.ts → BaseWasmProvider-BL9wIRnN.d.ts} +2 -2
  4. package/dist/{FaceDetectionProvider-DtmtCKa9.esm.js → FaceDetectionProvider-BjTer9h3.esm.js} +126 -10
  5. package/dist/HttpRequestError-Bh0pNGSC.esm.js +35 -0
  6. package/dist/{IIdCaptureCapability-RNiFhvXR.d.ts → IIdCaptureCapability-DBsv9-7M.d.ts} +2 -2
  7. package/dist/{IWasmUtilCapability-CNWRl7jr.d.ts → IWasmUtilCapability-CPX0RGdQ.d.ts} +28 -5
  8. package/dist/{Manager-CQQ99QOI.d.ts → Manager-C9T5amUN.d.ts} +7 -1
  9. package/dist/{MotionSensorProvider-DyhbM4Si.esm.js → MotionSensorProvider-DYxh8TjR.esm.js} +1 -1
  10. package/dist/{ekycStateMachine-UeJRO8_p.esm.js → PhoneValidationProvider-SZiOS0jB.esm.js} +232 -827
  11. package/dist/{StreamCanvasCapture-_8gdW5Lk.d.ts → StreamCanvasCapture-DVmzJux5.d.ts} +2 -2
  12. package/dist/{safeStorage-BdU9_m2E.esm.js → WasmUtilProvider-CIdnE7Fx.esm.js} +95 -46
  13. package/dist/{addressSearch-DyHGgeX8.esm.js → addressSearch-BiYZjvp3.esm.js} +143 -4
  14. package/dist/{advanceableErrors-CpF2cBy6.esm.js → advanceableErrors-q_pfU3Cn.esm.js} +5 -4
  15. package/dist/ae-signature.d.ts +2 -2
  16. package/dist/ae-signature.esm.js +1 -1
  17. package/dist/antifraud.d.ts +1 -1
  18. package/dist/antifraud.esm.js +2 -2
  19. package/dist/{antifraudManager-BY36bS12.d.ts → antifraudManager-DbGCvlJs.d.ts} +2 -2
  20. package/dist/{antifraudManager-DNkw66oW.esm.js → antifraudManager-HL08jeDX.esm.js} +3 -3
  21. package/dist/{antifraudStateMachine-DBeq47D2.esm.js → antifraudStateMachine-DoJVzblM.esm.js} +3 -3
  22. package/dist/{apiError-CmGEmaGU.esm.js → apiError-DcSWedC6.esm.js} +2 -1
  23. package/dist/authentication.d.ts +3 -3
  24. package/dist/authentication.esm.js +2 -2
  25. package/dist/{authenticationManager-CboRCl_N.d.ts → authenticationManager-CANv5-W5.d.ts} +2 -8
  26. package/dist/{authenticationManager-BFjSjtQ_.esm.js → authenticationManager-SaiAxqvS.esm.js} +6 -6
  27. package/dist/{authenticationStateMachine-Dfo34ZiI.esm.js → authenticationStateMachine-CHSxmV7z.esm.js} +5 -6
  28. package/dist/avatar.d.ts +1 -1
  29. package/dist/{backCameraStream-B0-YgP_y.esm.js → backCameraStream-CMvXj4X4.esm.js} +1 -1
  30. package/dist/camera.esm.js +1 -1
  31. package/dist/certificate-issuance.d.ts +1 -1
  32. package/dist/certificate-issuance.esm.js +2 -2
  33. package/dist/{certificateIssuanceManager-C3-CI0_s.esm.js → certificateIssuanceManager-CMg4SgL4.esm.js} +3 -3
  34. package/dist/{certificateIssuanceManager-DCgEidHz.d.ts → certificateIssuanceManager-Dr8A4Lgr.d.ts} +2 -3
  35. package/dist/{certificateIssuanceStateMachine-CxqS_nD-.esm.js → certificateIssuanceStateMachine-Cs64QmYH.esm.js} +4 -4
  36. package/dist/consent.d.ts +1 -1
  37. package/dist/consent.esm.js +2 -2
  38. package/dist/{consentManager-B6E1XJDw.esm.js → consentManager-CjrxY737.esm.js} +3 -3
  39. package/dist/{consentManager-2h_w6wFc.d.ts → consentManager-DgzWQpAR.d.ts} +6 -7
  40. package/dist/{consentStateMachine-DTSfdGiW.esm.js → consentStateMachine-BCj5Jb3g.esm.js} +3 -3
  41. package/dist/{createCameraCycleOwnership-DnwTl1ad.esm.js → createCameraCycleOwnership-kdlhkmmY.esm.js} +71 -65
  42. package/dist/{createFaceAvatar-BlcTYgJv.d.ts → createFaceAvatar-DXgmQmQy.d.ts} +1 -1
  43. package/dist/cross-document-data-match.d.ts +1 -1
  44. package/dist/cross-document-data-match.esm.js +1 -1
  45. package/dist/{crossDocumentDataMatchManager-9XhFVZ5S.esm.js → crossDocumentDataMatchManager-BHnGRsto.esm.js} +4 -4
  46. package/dist/{crossDocumentDataMatchManager-Dq8Z3SOg.d.ts → crossDocumentDataMatchManager-yCWCOzcU.d.ts} +2 -2
  47. package/dist/curp-validation.d.ts +1 -1
  48. package/dist/curp-validation.esm.js +2 -2
  49. package/dist/{curpValidationManager-DNuZn9fn.d.ts → curpValidationManager-B-1EZbP_.d.ts} +3 -3
  50. package/dist/{curpValidationManager-DbIMYFcJ.esm.js → curpValidationManager-DBNIn8BF.esm.js} +15 -22
  51. package/dist/{curpValidationStateMachine-g5kMfuLj.esm.js → curpValidationStateMachine-DAxImy8p.esm.js} +4 -4
  52. package/dist/custom-fields.d.ts +1 -1
  53. package/dist/custom-fields.esm.js +1 -1
  54. package/dist/custom-watchlist.d.ts +1 -1
  55. package/dist/custom-watchlist.esm.js +2 -2
  56. package/dist/{customFieldsManager-CzWZTkW-.esm.js → customFieldsManager-BV6UyLFV.esm.js} +4 -4
  57. package/dist/{customFieldsManager-8-W2KY4n.d.ts → customFieldsManager-CF-cO8ap.d.ts} +2 -2
  58. package/dist/{customWatchlistManager-DWTED5Ur.esm.js → customWatchlistManager-DML0UPzf.esm.js} +3 -3
  59. package/dist/{customWatchlistManager-PBWHr_oM.d.ts → customWatchlistManager-DolUswyR.d.ts} +2 -2
  60. package/dist/{customWatchlistStateMachine-DOQou6TW.esm.js → customWatchlistStateMachine-D9gI5uu7.esm.js} +3 -3
  61. package/dist/deepsightLoader-DvfAYnzg.esm.js +55 -0
  62. package/dist/{deepsightLoader-v-dLejS-.esm.js → deepsightService-DLGO9yv1.esm.js} +51 -56
  63. package/dist/device.esm.js +1 -1
  64. package/dist/document-capture.d.ts +2 -2
  65. package/dist/document-capture.esm.js +2 -2
  66. package/dist/{documentCaptureManager-BRPxqYD2.esm.js → documentCaptureManager-C9XUnYU6.esm.js} +17 -18
  67. package/dist/{documentCaptureManager-lEtCM320.d.ts → documentCaptureManager-DkyDtm3Y.d.ts} +11 -34
  68. package/dist/{documentCaptureStateMachine-D312sSIu.esm.js → documentCaptureStateMachine-BHDsCfhL.esm.js} +55 -58
  69. package/dist/dynamic-forms.d.ts +2 -2
  70. package/dist/dynamic-forms.esm.js +2 -2
  71. package/dist/{dynamicFormsManager-C-9Jhnd3.esm.js → dynamicFormsManager-5uIXobxi.esm.js} +3 -3
  72. package/dist/{dynamicFormsManager-D5R_uxLQ.d.ts → dynamicFormsManager-C0dHs1ty.d.ts} +3 -3
  73. package/dist/{dynamicFormsStateMachine-DGI_F2PP.esm.js → dynamicFormsStateMachine-DQmok084.esm.js} +4 -4
  74. package/dist/ekyb.d.ts +5 -5
  75. package/dist/ekyb.esm.js +3 -3
  76. package/dist/{ekybManager-BwRuGAwt.d.ts → ekybManager-BaZ_7CEu.d.ts} +4 -4
  77. package/dist/{ekybManager-DeoMcZEz.esm.js → ekybManager-CazShiQz.esm.js} +23 -27
  78. package/dist/{ekybStateMachine-D1IJ1Z72.esm.js → ekybStateMachine-hstiCNmW.esm.js} +338 -13
  79. package/dist/ekyc.d.ts +2 -2
  80. package/dist/ekyc.esm.js +3 -3
  81. package/dist/{ekycManager-BX2d46FY.esm.js → ekycManager-BdJRUsz0.esm.js} +29 -36
  82. package/dist/{ekycManager-DLzDuBzI.d.ts → ekycManager-DW-ynodd.d.ts} +3 -3
  83. package/dist/ekycStateMachine-x6Klot8g.esm.js +1444 -0
  84. package/dist/{ekycUtils-D6wfSpPN.esm.js → ekycUtils-zY8CdKJL.esm.js} +53 -3
  85. package/dist/electronic-signature.d.ts +1 -1
  86. package/dist/electronic-signature.esm.js +1 -1
  87. package/dist/{electronicSignatureManager-yYUc30na.esm.js → electronicSignatureManager-Bc8spG8p.esm.js} +10 -10
  88. package/dist/{electronicSignatureManager-Ds-KEVTq.d.ts → electronicSignatureManager-DTSLOvKR.d.ts} +2 -3
  89. package/dist/email.d.ts +1 -1
  90. package/dist/email.esm.js +2 -2
  91. package/dist/{emailManager-bR1N5rV_.esm.js → emailManager-CtlKRRaR.esm.js} +20 -26
  92. package/dist/{emailManager-CADXW_9X.d.ts → emailManager-Dy6omJVp.d.ts} +2 -2
  93. package/dist/{emailStateMachine-Bc_6oIYw.esm.js → emailStateMachine-5Neq3rE5.esm.js} +4 -4
  94. package/dist/{endpoints-B-3Q-LUw.esm.js → endpoints-DHzlkQNe.esm.js} +2 -0
  95. package/dist/{events-ijlbX_Wx.esm.js → events-CAgFE-k3.esm.js} +19 -7
  96. package/dist/events.d.ts +3 -2
  97. package/dist/events.esm.js +1 -1
  98. package/dist/extensibility.d.ts +38 -38
  99. package/dist/extensibility.esm.js +36 -36
  100. package/dist/{externalFetch-BKBThAUC.esm.js → externalFetch-DrR9xshk.esm.js} +3 -2
  101. package/dist/face-match.d.ts +1 -1
  102. package/dist/face-match.esm.js +2 -2
  103. package/dist/{faceCaptureManagerFactory-m-7ae67q.d.ts → faceCaptureManagerFactory-jKQ2QtY-.d.ts} +11 -51
  104. package/dist/{faceCaptureManagerFactory-B6i9QcAk.esm.js → faceCaptureManagerFactory-uFm1AcaY.esm.js} +19 -54
  105. package/dist/{faceCaptureSetup-DU1mjRr6.esm.js → faceCaptureSetup-Cu2wabzo.esm.js} +99 -395
  106. package/dist/{faceMatchManager-Bmv0HzuY.esm.js → faceMatchManager-9Nj9aPci.esm.js} +3 -3
  107. package/dist/{faceMatchManager-BnvrZM2F.d.ts → faceMatchManager-DIgG-UFS.d.ts} +1 -2
  108. package/dist/{faceMatchStateMachine-mRIHQ3dA.esm.js → faceMatchStateMachine-B9ZUnlyU.esm.js} +6 -4
  109. package/dist/{feature-management-C8CuN0os.esm.js → feature-management-BTbYruNe.esm.js} +3 -3
  110. package/dist/feature-management.esm.js +1 -1
  111. package/dist/field-comparison.d.ts +2 -2
  112. package/dist/field-comparison.esm.js +1 -1
  113. package/dist/{fieldComparisonManager-CBvEGxFx.d.ts → fieldComparisonManager-CUX4gza2.d.ts} +6 -3
  114. package/dist/{fieldComparisonManager-CC-klG0h.esm.js → fieldComparisonManager-Dk38hXZP.esm.js} +35 -17
  115. package/dist/fiscal-qr.d.ts +1 -1
  116. package/dist/fiscal-qr.esm.js +1 -1
  117. package/dist/{fiscalQrManager-B1STmT6z.d.ts → fiscalQrManager-D0Iy7EKR.d.ts} +2 -2
  118. package/dist/fiscalQrManager-DmBkQfs0.esm.js +6798 -0
  119. package/dist/flow-events.d.ts +1 -1
  120. package/dist/flow.d.ts +14 -13
  121. package/dist/flow.esm.js +14 -14
  122. package/dist/{flowCompletionService-DccgtDnm.esm.js → flowCompletionService-xnn_SlJU.esm.js} +2 -2
  123. package/dist/{flowServices-CdsWsppG.esm.js → flowServices-DA64AEZC.esm.js} +11 -7
  124. package/dist/geolocation.d.ts +1 -1
  125. package/dist/geolocation.esm.js +2 -2
  126. package/dist/{geolocationManager-CGHBxtMb.esm.js → geolocationManager-CqNLY45e.esm.js} +6 -7
  127. package/dist/{geolocationManager-Cz744E5S.d.ts → geolocationManager-Dn24g1fl.d.ts} +2 -3
  128. package/dist/{geolocationStateMachine-CdEb1Gn0.esm.js → geolocationStateMachine-D-cQi7ar.esm.js} +4 -4
  129. package/dist/{getDeviceClass-5NYZg9s6.esm.js → getDeviceClass-bsWdEDxP.esm.js} +1 -1
  130. package/dist/{getParsedUserAgent-B2iFDql1.esm.js → getParsedUserAgent-DhQPeKqw.esm.js} +1 -1
  131. package/dist/government-validation.d.ts +1 -1
  132. package/dist/government-validation.esm.js +2 -2
  133. package/dist/{governmentValidationManager-D02vT4yY.d.ts → governmentValidationManager-B82zOut8.d.ts} +3 -3
  134. package/dist/{governmentValidationManager-CacFOtKO.esm.js → governmentValidationManager-CP0SiOOe.esm.js} +3 -3
  135. package/dist/{governmentValidationStateMachine-CoaZOSTP.esm.js → governmentValidationStateMachine-C3YQ8yCZ.esm.js} +3 -3
  136. package/dist/home.d.ts +3 -26
  137. package/dist/home.esm.js +2 -2
  138. package/dist/id-ocr.d.ts +1 -1
  139. package/dist/id-ocr.esm.js +2 -2
  140. package/dist/id-selfie-flow.d.ts +6 -9
  141. package/dist/id-selfie-flow.esm.js +23 -28
  142. package/dist/id-verification.d.ts +1 -1
  143. package/dist/id-verification.esm.js +2 -2
  144. package/dist/id.d.ts +4 -4
  145. package/dist/id.esm.js +4 -205
  146. package/dist/{idCaptureDefaults-Dl64Trv5.esm.js → idCaptureDefaults-CBg73RnV.esm.js} +8 -5
  147. package/dist/{idCaptureManager-BHwL2Z0V.d.ts → idCaptureManager-BY97SRCV.d.ts} +242 -98
  148. package/dist/{idCaptureManager-BNmVJQkd.esm.js → idCaptureManager-D4V8vXtY.esm.js} +276 -210
  149. package/dist/{idCaptureServices-dtDG2HXS.esm.js → idCaptureServices-DJ33k3-p.esm.js} +21 -39
  150. package/dist/{idCaptureStateMachine-BbiZD3uf.esm.js → idCaptureStateMachine-PJt0yzom.esm.js} +989 -872
  151. package/dist/{idOcrManager-CFlDwUvN.d.ts → idOcrManager-BTdHlJ9D.d.ts} +2 -3
  152. package/dist/{idOcrManager-ByWuQ4ej.esm.js → idOcrManager-DxoCesYP.esm.js} +3 -3
  153. package/dist/{idOcrStateMachine-Bt_abXQQ.esm.js → idOcrStateMachine-kPn7DB2I.esm.js} +3 -3
  154. package/dist/{idVerificationManager-BB4Pj_N6.d.ts → idVerificationManager-BJapZfpy.d.ts} +2 -3
  155. package/dist/{idVerificationManager-DT42c77H.esm.js → idVerificationManager-CDhRUU5n.esm.js} +3 -3
  156. package/dist/{idVerificationStateMachine-DbDVIh9t.esm.js → idVerificationStateMachine-0HTVVxse.esm.js} +3 -3
  157. package/dist/identity-reuse.d.ts +2 -2
  158. package/dist/identity-reuse.esm.js +2 -2
  159. package/dist/{identityReuseManager-yG3acUrQ.esm.js → identityReuseManager-BleUi6TK.esm.js} +26 -13
  160. package/dist/{identityReuseManager-BXEBBI3N.d.ts → identityReuseManager-ooAbp6Kc.d.ts} +164 -46
  161. package/dist/{identityReuseStateMachine-BhAkuIra.esm.js → identityReuseStateMachine-BrBUpfn5.esm.js} +89 -23
  162. package/dist/{index-CeaC32qI.d.ts → index-DfEuu-Ew.d.ts} +2 -2
  163. package/dist/index-DpTj5PFb.d.ts +1 -0
  164. package/dist/index.d.ts +1 -1
  165. package/dist/index.esm.js +1 -1
  166. package/dist/{invokeOnCaptureCallback-BjzPjJ_p.esm.js → invokeOnCaptureCallback-BW7V3vub.esm.js} +1 -1
  167. package/dist/lamejs-B6TzhU5q.esm.js +10 -0
  168. package/dist/mandatory-consent.d.ts +2 -2
  169. package/dist/mandatory-consent.esm.js +2 -2
  170. package/dist/{mandatoryConsentManager-7dI0D08q.esm.js → mandatoryConsentManager-CX_Dyht7.esm.js} +3 -3
  171. package/dist/{mandatoryConsentManager-DFVm_i2B.d.ts → mandatoryConsentManager-TkX57U6f.d.ts} +3 -4
  172. package/dist/{mandatoryConsentStateMachine-DC5Mo6M1.esm.js → mandatoryConsentStateMachine-CoaSB7P7.esm.js} +3 -3
  173. package/dist/{multipartRecordingService-mwKFTlhR.esm.js → multipartRecordingService-DbeQpXdU.esm.js} +2 -2
  174. package/dist/{permissionGuards-D6TfVop2.esm.js → permissionGuards-Bf4LbHjC.esm.js} +1 -1
  175. package/dist/{permissionServices-EY3_Vx6c.esm.js → permissionServices-d2UW0r_L.esm.js} +34 -3
  176. package/dist/phone-number.d.ts +24 -0
  177. package/dist/phone-number.esm.js +1922 -0
  178. package/dist/phone.d.ts +1 -1
  179. package/dist/phone.esm.js +2 -2
  180. package/dist/{phoneManager-IjhSv5XS.esm.js → phoneManager-BGBcpqsk.esm.js} +31 -22
  181. package/dist/{phoneManager-BBU8Lq0O.d.ts → phoneManager-BO-LTih5.d.ts} +16 -3
  182. package/dist/{phoneStateMachine-CXdXufKg.esm.js → phoneStateMachine-CEm2y7yG.esm.js} +39 -20
  183. package/dist/phoneValidation-DnBcNUNh.esm.js +48 -0
  184. package/dist/qe-signature.d.ts +2 -2
  185. package/dist/qe-signature.esm.js +1 -1
  186. package/dist/redirect-to-mobile.d.ts +1 -1
  187. package/dist/redirect-to-mobile.esm.js +2 -2
  188. package/dist/{redirectToMobileManager-FLEWJtv8.esm.js → redirectToMobileManager-B1yQHFLu.esm.js} +4 -4
  189. package/dist/{redirectToMobileManager-BD2PvT5B.d.ts → redirectToMobileManager-CVsvpVbQ.d.ts} +2 -2
  190. package/dist/{redirectToMobileStateMachine-CSWWgUTO.esm.js → redirectToMobileStateMachine--Sr9NEVT.esm.js} +5 -5
  191. package/dist/{rolldown-runtime-FDOR9p9I.esm.js → rolldown-runtime-B-1-B7_t.esm.js} +10 -1
  192. package/dist/{runChildModule-B2Y_hlix.esm.js → runChildModule-vdxQMCmO.esm.js} +13 -12
  193. package/dist/safeStorage-UxDrnjwa.esm.js +35 -0
  194. package/dist/{sdkVersion-N1UiyFiY.esm.js → sdkVersion-F5YZbjip.esm.js} +1 -1
  195. package/dist/selfie.d.ts +4 -4
  196. package/dist/selfie.esm.js +12 -12
  197. package/dist/selfieErrorUtils-D-tsgEuX.esm.js +21 -0
  198. package/dist/{selfieManager-BSZG891S.d.ts → selfieManager-1J0IEyFq.d.ts} +2 -8
  199. package/dist/{selfieManager-AS6wfUvZ.esm.js → selfieManager-26pENXxw.esm.js} +6 -6
  200. package/dist/selfieStateMachine-BhfKsl3I.esm.js +41 -0
  201. package/dist/{session-BESZc05k.esm.js → session-Bu7djCsj.esm.js} +5 -5
  202. package/dist/session.d.ts +15 -3
  203. package/dist/session.esm.js +30 -5
  204. package/dist/sessionInitializer-jxbfCnE-.esm.js +974 -0
  205. package/dist/{setup-BuPbxpwF.esm.js → setup-C38QkrSP.esm.js} +232 -112
  206. package/dist/{setup-Cyko6cAn.d.ts → setup-lgkQ8dJW.d.ts} +20 -11
  207. package/dist/signature.d.ts +1 -1
  208. package/dist/signature.esm.js +2 -2
  209. package/dist/{signatureManager-DGBSWz2_.d.ts → signatureManager-BpVt_Jv7.d.ts} +2 -2
  210. package/dist/{signatureManager-B72np4ZO.esm.js → signatureManager-qqXyH93e.esm.js} +7 -11
  211. package/dist/{signatureStateMachine-ce_XMA3l.esm.js → signatureStateMachine-BkRSrkKp.esm.js} +3 -3
  212. package/dist/splitTrackedName-3zJRd2RD.esm.js +19 -0
  213. package/dist/{src-35ekGRzK.esm.js → src-DJAJjRYQ.esm.js} +1 -1
  214. package/dist/{stats-CZcy2J53.esm.js → stats-DmG_tkGk.esm.js} +1 -1
  215. package/dist/stats.esm.js +1 -1
  216. package/dist/{sessionInitializer-CnhAkMUN.esm.js → thumbmark.esm-CRc0cYvz.esm.js} +33 -776
  217. package/dist/{trueSightService-M5VpCo96.esm.js → trueSightService-BWgRVGIT.esm.js} +893 -900
  218. package/dist/trust-graph.d.ts +1 -2
  219. package/dist/trust-graph.esm.js +2 -2
  220. package/dist/{types-C0oWGUzg.d.ts → types-0L-eFDmr.d.ts} +1 -1
  221. package/dist/{types-C1g9itHE.d.ts → types-BGXxRwQM.d.ts} +6 -7
  222. package/dist/{types-BfgmV7s7.d.ts → types-BQA7lRDV.d.ts} +1 -1
  223. package/dist/{types-CxGdmzxa.d.ts → types-BvFmYX5c.d.ts} +1 -1
  224. package/dist/{types-Cx-1zo-i.d.ts → types-BvLo3U4u.d.ts} +1 -1
  225. package/dist/types-C71Zo6vl.d.ts +6 -0
  226. package/dist/{types-DEGVXwsk2.d.ts → types-CyPUIpzf.d.ts} +110 -62
  227. package/dist/{types-Bx-BWveD.d.ts → types-DTYr9pCB.d.ts} +1 -1
  228. package/dist/{types-BjSly8cp.d.ts → types-DUnFZ08M.d.ts} +1 -1
  229. package/dist/{types-ESdtnHtg.d.ts → types-zpO4fU6a.d.ts} +3 -4
  230. package/dist/{urlUtils-D6phjq1-.esm.js → urlUtils-6jsE6rKp.esm.js} +9 -1
  231. package/dist/video-selfie.d.ts +6 -9
  232. package/dist/video-selfie.esm.js +1386 -1344
  233. package/dist/{videoSelfieCameraWarmer-q9ZjvXu9.esm.js → videoSelfieCameraWarmer-C366RKqu.esm.js} +11 -11
  234. package/dist/{videoSelfieFlowModuleMachine-BUe2uACW.esm.js → videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js} +1 -1
  235. package/dist/{videoSelfieStepDetector-ChYgFM15.d.ts → videoSelfieStepDetector-C5QHOvWb.d.ts} +4 -4
  236. package/dist/videoTrimByCopy-BFfAiNpv.esm.js +15901 -0
  237. package/dist/{warmup-Cis2p6O0.d.ts → warmup-BUPPRAA1.d.ts} +7 -0
  238. package/dist/{warmup-ChDwHSel.esm.js → warmup-DMtbyb2l.esm.js} +27 -9
  239. package/dist/wasm.d.ts +2 -2
  240. package/dist/wasm.esm.js +4 -4
  241. package/dist/{wasmDsFlagSync-DYrLUEII.esm.js → wasmDsFlagSync-BXCGqP48.esm.js} +1 -1
  242. package/dist/{wasmWebClient-B7baE-Wf.esm.js → wasmWebClient-kbYZ2sxw.esm.js} +259 -20
  243. package/dist/watchlist-for-business.d.ts +1 -1
  244. package/dist/watchlist-for-business.esm.js +2 -2
  245. package/dist/watchlist.d.ts +1 -1
  246. package/dist/watchlist.esm.js +2 -2
  247. package/dist/{watchlistForBusinessManager-CsnJnG-C.d.ts → watchlistForBusinessManager-B3GDPZrr.d.ts} +2 -2
  248. package/dist/{watchlistForBusinessManager-CIMkpEhu.esm.js → watchlistForBusinessManager-BvF4jK3S.esm.js} +7 -5
  249. package/dist/{watchlistForBusinessStateMachine-CJ-MvUre.esm.js → watchlistForBusinessStateMachine-121XK-Et.esm.js} +3 -3
  250. package/dist/{watchlistManager-CixcLNDT.esm.js → watchlistManager-CNWEOYSq.esm.js} +3 -3
  251. package/dist/{watchlistManager-DLXef90v.d.ts → watchlistManager-DJQOd8Pw.d.ts} +2 -2
  252. package/dist/{watchlistStateMachine-CBqk2w-h.esm.js → watchlistStateMachine-Dgfm42w2.esm.js} +3 -3
  253. package/dist/workflow.d.ts +34 -5
  254. package/dist/workflow.esm.js +64 -46
  255. package/dist/{xstate-actors.esm-BXeQ-Ucz.esm.js → xstate-actors.esm-8Gzepa_A.esm.js} +1 -1
  256. package/dist/{xstate.esm-BuFLFuzz.esm.js → xstate.esm-DSajW7CJ.esm.js} +24 -10
  257. package/package.json +13 -5
  258. package/dist/Actor-iTq7YY48.d.ts +0 -1
  259. package/dist/StateMachine-EDpYWy0i.d.ts +0 -6
  260. package/dist/fiscalQrManager-DbCVMIBx.esm.js +0 -34143
  261. package/dist/index-B8weJxmL.d.ts +0 -1
  262. package/dist/selfieErrorUtils-UiQ46EBa.esm.js +0 -116
  263. package/dist/selfieStateMachine-DY7vJVNY.esm.js +0 -71
  264. package/dist/types-BN5RPPIZ.esm.js +0 -34
  265. package/dist/types-Bt9RuRqt.d.ts +0 -6
  266. package/dist/virtualCameraCheck-Cjab7FTI.esm.js +0 -48
  267. /package/dist/{types-BSBzhHRH.d.ts → types-BSBzhHRH2.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
- import { y as IncodeCanvas } from "./createFaceAvatar-BlcTYgJv.js";
2
- import "./IWasmUtilCapability-CNWRl7jr.js";
1
+ import { y as IncodeCanvas } from "./createFaceAvatar-DXgmQmQy.js";
2
+ import "./IWasmUtilCapability-CPX0RGdQ.js";
3
3
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
4
4
  //#region ../infra/src/capabilities/IMotionSensorCapability.d.ts
5
5
  type MotionStatus = 'PASS' | 'FAIL' | 'UNCLEAR';
@@ -1,5 +1,6 @@
1
- import { c as wasmCallWrapper, s as ML_CALL_MAX_POLLS } from "./wasmWebClient-B7baE-Wf.esm.js";
2
- import { a as waitForWasm, n as getWasmStatus, o as warmupWasm, r as isWasmReady, s as wasmRuntime } from "./warmup-ChDwHSel.esm.js";
1
+ import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
+ import { c as wasmCallWrapper, s as ML_CALL_MAX_POLLS } from "./wasmWebClient-kbYZ2sxw.esm.js";
3
+ import { a as waitForWasm, n as getWasmStatus, o as warmupWasm, r as isWasmReady, s as wasmRuntime } from "./warmup-DMtbyb2l.esm.js";
3
4
  //#region ../infra/src/wasm/utilityWasmApi.ts
4
5
  /**
5
6
  * Utility / metadata domain facade over {@link WasmRuntime}.
@@ -17,8 +18,11 @@ import { a as waitForWasm, n as getWasmStatus, o as warmupWasm, r as isWasmReady
17
18
  * Both are deliberately **unguarded** setters: they never throw, so the SDK can
18
19
  * record them during setup and have them honored once WASM comes up.
19
20
  *
21
+ * `fpPrefetch_` is a third, derived piece of JS state: the memoized `ppf` poll
22
+ * that `getFPData` awaits, keyed by the embind handle it was started on.
23
+ *
20
24
  * `prc`/`poc`/`rsp` are the only methods here that hold the ML semaphore.
21
- * `ssl`/`stl`/`osv`/`oev`/`ckvcks` and everything else are unlocked **by design**
25
+ * `ssl`/`stl`/`osv`/`oev`/`ckvcks`/`sbc`/`ppf` and everything else are unlocked **by design**
22
26
  * (decision D6) — never add locking.
23
27
  *
24
28
  * Method names, argument order and the pre-initialization error strings are
@@ -26,10 +30,27 @@ import { a as waitForWasm, n as getWasmStatus, o as warmupWasm, r as isWasmReady
26
30
  * stays a diff against upstream (`docs/processes/WASM_VERSION_MIGRATION.md`).
27
31
  * `setSdkPlatform`'s message says "device type" on purpose — do not "fix" it.
28
32
  */
33
+ /**
34
+ * Upstream `SignalDataType` (`MetadataController.h`): the `signalsType` argument
35
+ * of `getFPData`. `SIGNAL_NETWORK = 4` is reserved upstream and not mirrored.
36
+ */
37
+ const SignalDataType = {
38
+ Device: 1,
39
+ Behaviour: 2,
40
+ Pid: 3
41
+ };
42
+ /**
43
+ * Poll bound for the `ppf` fingerprint prefetch. Larger than
44
+ * {@link ML_CALL_MAX_POLLS} because the prefetch waits on async browser APIs
45
+ * (storage estimate, persistent ID) rather than camera frames, and it is
46
+ * unlocked, so a stuck poll cannot freeze detection — it only delays signals.
47
+ */
48
+ const FP_PREFETCH_MAX_POLLS = 1e4;
29
49
  var UtilityWasmApi = class {
30
50
  constructor(runtime = wasmRuntime) {
31
51
  this.runtime = runtime;
32
52
  this.inspectorOpened_ = false;
53
+ this.fpPrefetch_ = null;
33
54
  this.dsEnabled_ = false;
34
55
  }
35
56
  ens(image) {
@@ -54,10 +75,10 @@ var UtilityWasmApi = class {
54
75
  this.runtime.requireUtilityApi(message).analyzeFrame();
55
76
  }
56
77
  /**
57
- * Sets the native (C++) utility API's production mode. When `true`, the WASM
58
- * module suppresses its verbose debug logging; when `false`, it emits it.
78
+ * Retained for callers that manually control the native log level. Console
79
+ * output still requires `wasm.showLogs: true` at the first module load.
59
80
  *
60
- * @param productionMode - `true` to silence WASM logs, `false` to emit them.
81
+ * @param productionMode - `true` for native errors only, `false` for debug logs.
61
82
  * @throws If the WASM C++ API has not been initialized yet.
62
83
  */
63
84
  async setProductionMode(productionMode) {
@@ -104,6 +125,52 @@ var UtilityWasmApi = class {
104
125
  utilityApi.setInspectorOpened(this.inspectorOpened_);
105
126
  return utilityApi.getMetadata();
106
127
  }
128
+ /**
129
+ * Behaviour-signals collection switch (`sbc`). Collection is on by default
130
+ * in the native module; `false` stops and discards new behaviour events.
131
+ */
132
+ sbc(enabled) {
133
+ this.runtime.requireUtilityApi("Unable to sbc, cpp API hasn't been initialized").sbc(enabled);
134
+ }
135
+ /**
136
+ * Reads one fingerprint signal bucket (see {@link SignalDataType}), encrypted
137
+ * by the native module. Waits for the one-time async prefetch (`ppf`) first.
138
+ * An empty string means the bucket has no data.
139
+ *
140
+ * @throws If the WASM C++ API has not been initialized yet.
141
+ */
142
+ async getFPData(signalsType = SignalDataType.Device) {
143
+ const message = "Unable to get fingerprint data, cpp API hasn't been initialized";
144
+ const handle = this.runtime.requireUtilityApi(message);
145
+ await this.prefetchFingerprintData(handle, message);
146
+ return this.runtime.requireUtilityApi(message).getFPData(signalsType);
147
+ }
148
+ /**
149
+ * Starts (or joins) the one-time async prefetch (`ppf`) that {@link getFPData}
150
+ * awaits, so the collection can run before the first read needs it.
151
+ *
152
+ * @throws If the WASM C++ API has not been initialized yet.
153
+ */
154
+ prefetchFPData() {
155
+ const message = "Unable to prefetch fingerprint data, cpp API hasn't been initialized";
156
+ return this.prefetchFingerprintData(this.runtime.requireUtilityApi(message), message);
157
+ }
158
+ prefetchFingerprintData(handle, message) {
159
+ if (this.fpPrefetch_?.handle === handle) return this.fpPrefetch_.promise;
160
+ const promise = wasmCallWrapper(this.runtime.mlCallSemaphore, () => this.runtime.requireUtilityApi(message).ppf(), false, {
161
+ maxPolls: FP_PREFETCH_MAX_POLLS,
162
+ label: "ppf"
163
+ });
164
+ const entry = {
165
+ handle,
166
+ promise
167
+ };
168
+ this.fpPrefetch_ = entry;
169
+ promise.catch(() => {
170
+ if (this.fpPrefetch_ === entry) this.fpPrefetch_ = null;
171
+ });
172
+ return promise;
173
+ }
107
174
  async prc() {
108
175
  const message = "Unable to prc, cpp API hasn't been initialized";
109
176
  this.runtime.requireUtilityApi(message);
@@ -244,6 +311,12 @@ var BaseWasmProvider = class {
244
311
  };
245
312
  //#endregion
246
313
  //#region ../infra/src/providers/wasm/WasmUtilProvider.ts
314
+ var WasmUtilProvider_exports = /* @__PURE__ */ __exportAll({ WasmUtilProvider: () => WasmUtilProvider });
315
+ const SIGNAL_TYPE_TO_WASM = {
316
+ device: SignalDataType.Device,
317
+ behaviour: SignalDataType.Behaviour,
318
+ pid: SignalDataType.Pid
319
+ };
247
320
  var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
248
321
  static async getInstance() {
249
322
  if (WasmUtilProvider.instance) return WasmUtilProvider.instance;
@@ -318,12 +391,10 @@ var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
318
391
  return utilityWasmApi.getInspectorOpened();
319
392
  }
320
393
  /**
321
- * Toggles the WASM module's production mode. When `true`, the native module
322
- * suppresses its verbose debug logging/console output; when `false`, those
323
- * logs are emitted. The SDK forces this to `true` by default and only flips
324
- * it off when the caller opts in via `setup({ wasm: { showLogs: true } })`.
394
+ * Retained for callers that manually control the native log level. Console
395
+ * output still requires `wasm.showLogs: true` at the first module load.
325
396
  *
326
- * @param productionMode - `true` to silence WASM logs, `false` to emit them.
397
+ * @param productionMode - `true` for native errors only, `false` for debug logs.
327
398
  */
328
399
  async setProductionMode(productionMode) {
329
400
  this.ensureInitialized();
@@ -333,6 +404,18 @@ var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
333
404
  this.ensureInitialized();
334
405
  return utilityWasmApi.getMetadata();
335
406
  }
407
+ setBehaviourSignalsCollection(enabled) {
408
+ this.ensureInitialized();
409
+ utilityWasmApi.sbc(enabled);
410
+ }
411
+ async getFingerprintSignals(type) {
412
+ this.ensureInitialized();
413
+ return utilityWasmApi.getFPData(SIGNAL_TYPE_TO_WASM[type]);
414
+ }
415
+ async prefetchFingerprintSignals() {
416
+ this.ensureInitialized();
417
+ await utilityWasmApi.prefetchFPData();
418
+ }
336
419
  async analyzeFrame(image) {
337
420
  this.ensureInitialized();
338
421
  await utilityWasmApi.analyzeFrame(image);
@@ -386,38 +469,4 @@ var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
386
469
  }
387
470
  };
388
471
  //#endregion
389
- //#region ../infra/src/storage/safeStorage.ts
390
- /**
391
- * Storage resolvers that tolerate hosts which make Web Storage unreachable.
392
- *
393
- * Two hostile shapes occur in the field, and they fail differently:
394
- *
395
- * 1. **Deleted bare global** — a page mitigates self-XSS with
396
- * `delete window.localStorage` and keeps a module-private reference. Since
397
- * `window` *is* the global object, the identifier stops resolving: a bare
398
- * read throws `ReferenceError`. `typeof` is the only safe probe, because it
399
- * is the one operator that tolerates an unresolvable identifier.
400
- * 2. **Blocked storage** — a webview or a cross-origin/partitioned context
401
- * makes the accessor itself throw (`SecurityError`). Here `typeof` is *not*
402
- * enough: it invokes the getter, so the throw escapes the guard.
403
- *
404
- * Handling only one shape leaves the other live, so always go through these
405
- * resolvers instead of touching the globals directly. A `null` return means
406
- * "no storage in this host" — callers degrade, they do not throw.
407
- */
408
- function resolveLocalStorage() {
409
- try {
410
- return typeof localStorage === "undefined" ? null : localStorage;
411
- } catch {
412
- return null;
413
- }
414
- }
415
- function resolveSessionStorage() {
416
- try {
417
- return typeof sessionStorage === "undefined" ? null : sessionStorage;
418
- } catch {
419
- return null;
420
- }
421
- }
422
- //#endregion
423
- export { utilityWasmApi as a, BaseWasmProvider as i, resolveSessionStorage as n, WasmUtilProvider as r, resolveLocalStorage as t };
472
+ export { utilityWasmApi as i, WasmUtilProvider_exports as n, BaseWasmProvider as r, WasmUtilProvider as t };
@@ -1,7 +1,7 @@
1
- import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
4
- import { t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
2
+ import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
3
+ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
+ import { t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
5
  const usStateOptions = Object.values({
6
6
  AL: {
7
7
  code: "AL",
@@ -376,6 +376,145 @@ function formatPostalCode(value, country) {
376
376
  return value.slice(0, 8);
377
377
  }
378
378
  //#endregion
379
+ //#region src/internal/forms/checkSupport.ts
380
+ const GROUP_POLICIES = /* @__PURE__ */ new Set(["hide", "forceShow"]);
381
+ /**
382
+ * Compares `major.minor` vocabulary versions. The compiler's twin is
383
+ * `compareVersions` in `packages/form-definitions/scripts/lib/checks.mjs`;
384
+ * both are tested against that package's `fixtures/vocabularyVersions.json`.
385
+ */
386
+ function compareVocabulary(a, b) {
387
+ const [aMajor = 0, aMinor = 0] = a.split(".").map(Number);
388
+ const [bMajor = 0, bMinor = 0] = b.split(".").map(Number);
389
+ return aMajor - bMajor || aMinor - bMinor;
390
+ }
391
+ /**
392
+ * Whether this build can use a definition. Any id it doesn't implement makes
393
+ * the definition unsupported, so the caller falls back to its bundled
394
+ * definition or current form. Presentation hints (widget, keyboard, autofill)
395
+ * never fail: an unknown hint falls back to the platform default.
396
+ */
397
+ function checkSupport(definition, ids) {
398
+ const problems = [];
399
+ const need = (category, known, id, path) => {
400
+ if (!known.has(id)) problems.push({
401
+ category,
402
+ id,
403
+ path
404
+ });
405
+ };
406
+ if (!ids.schemaVersions.includes(definition.schemaVersion)) problems.push({
407
+ category: "schemaVersion",
408
+ id: String(definition.schemaVersion),
409
+ path: "schemaVersion"
410
+ });
411
+ if (compareVocabulary(definition.vocabulary, ids.vocabulary) > 0) problems.push({
412
+ category: "vocabulary",
413
+ id: definition.vocabulary,
414
+ path: "vocabulary"
415
+ });
416
+ const checkField = (field, path) => {
417
+ need("kind", ids.kinds, field.kind, `${path}.kind`);
418
+ need("group", ids.groups, field.group, `${path}.group`);
419
+ field.rules?.forEach((rule, i) => need("rule", ids.rules, rule.id, `${path}.rules[${i}]`));
420
+ field.input?.format?.forEach((t, i) => need("transform", ids.transforms, t.id, `${path}.input.format[${i}]`));
421
+ field.payload?.transforms?.forEach((t, i) => need("transform", ids.transforms, t.id, `${path}.payload.transforms[${i}]`));
422
+ if (field.optionsRef) need("optionList", ids.optionLists, field.optionsRef, `${path}.optionsRef`);
423
+ if (field.suggestionsRef) need("optionList", ids.optionLists, field.suggestionsRef, `${path}.suggestionsRef`);
424
+ field.requiredWhen?.forEach((condition, i) => {
425
+ const keys = Object.keys(condition);
426
+ if (keys.length !== 1) problems.push({
427
+ category: "condition",
428
+ id: keys.join("+") || "(empty)",
429
+ path: `${path}.requiredWhen[${i}]`
430
+ });
431
+ for (const key of keys) need("condition", ids.conditions, key, `${path}.requiredWhen[${i}]`);
432
+ });
433
+ const lock = field.phone?.lockCountry;
434
+ if (typeof lock === "string" && lock !== "whenPhoneRisk") problems.push({
435
+ category: "phoneLock",
436
+ id: lock,
437
+ path: `${path}.phone`
438
+ });
439
+ };
440
+ definition.fields.forEach((field) => checkField(field, `fields.${field.name}`));
441
+ definition.groups?.forEach((policy) => {
442
+ need("group", ids.groups, policy.group, `groups.${policy.group}`);
443
+ if (!GROUP_POLICIES.has(policy.whenDisabled)) problems.push({
444
+ category: "groupPolicy",
445
+ id: policy.whenDisabled,
446
+ path: `groups.${policy.group}`
447
+ });
448
+ });
449
+ definition.groupRules?.forEach((rule, i) => need("groupRule", ids.groupRules, rule.id, `groupRules[${i}]`));
450
+ definition.collections?.forEach((collection) => {
451
+ need("group", ids.groups, collection.group, `collections.${collection.id}`);
452
+ collection.fields.forEach((field) => checkField(field, `collections.${collection.id}.fields.${field.name}`));
453
+ });
454
+ return problems.length === 0 ? { supported: true } : {
455
+ supported: false,
456
+ problems
457
+ };
458
+ }
459
+ //#endregion
460
+ //#region src/internal/forms/definitionSource.ts
461
+ const queryKey = ({ module, source, country }) => `${module}|${source ?? ""}|${country ?? ""}`;
462
+ /**
463
+ * The definitions bundled with this build. Matches module, source and country
464
+ * exactly, so a pair without its own definition keeps the current builder.
465
+ */
466
+ function createBundledDefinitionSource(definitions) {
467
+ const byQuery = new Map(Object.values(definitions).map((definition) => [queryKey(definition), definition]));
468
+ return { select: (query) => byQuery.get(queryKey(query)) };
469
+ }
470
+ //#endregion
471
+ //#region src/internal/forms/resolveForm.ts
472
+ const FORCE_SHOW = "forceShow";
473
+ const WHEN_PHONE_RISK = "whenPhoneRisk";
474
+ /**
475
+ * Resolves a definition against module configuration: which fields show,
476
+ * which are required, whether the phone is locked, and which group rules and
477
+ * collections apply. Pure and synchronous, so it runs inside an assign action.
478
+ *
479
+ * Call `checkSupport` first for any definition that wasn't bundled with this
480
+ * build; `resolveForm` ignores ids it doesn't know.
481
+ */
482
+ function resolveForm(definition, context) {
483
+ const forcedGroups = new Set((definition.groups ?? []).filter((policy) => policy.whenDisabled === FORCE_SHOW).map((policy) => policy.group));
484
+ const isOn = (group) => context.groups[group] === true;
485
+ const isShown = (group) => isOn(group) || forcedGroups.has(group);
486
+ const riskAddons = new Set(context.riskAddons ?? []);
487
+ const shownFields = definition.fields.filter((field) => isShown(field.group));
488
+ const shownNames = new Set(shownFields.map((field) => field.name));
489
+ const fields = shownFields.map((field) => {
490
+ const conditions = field.requiredWhen ?? [];
491
+ const addonRequired = conditions.some((condition) => condition.riskAddon !== void 0 && riskAddons.has(condition.riskAddon));
492
+ const requiredIfFilled = conditions.map((condition) => condition.fieldFilled).filter((name) => name !== void 0 && shownNames.has(name));
493
+ const lock = field.phone?.lockCountry;
494
+ return {
495
+ field,
496
+ required: field.required === true || addonRequired,
497
+ requiredIfFilled,
498
+ forced: !isOn(field.group),
499
+ phoneLocked: field.kind === "phone" && (lock === true || lock === WHEN_PHONE_RISK && context.phoneRisk === true)
500
+ };
501
+ });
502
+ const order = shownFields.map((field) => field.name);
503
+ return {
504
+ definition,
505
+ fields,
506
+ groupRules: (definition.groupRules ?? []).map((rule) => ({
507
+ rule,
508
+ fields: order.filter((name) => rule.fields.includes(name))
509
+ })).filter((resolved) => resolved.fields.length > 0),
510
+ collections: (definition.collections ?? []).filter((collection) => isShown(collection.group)).map((collection) => ({
511
+ collection,
512
+ min: collection.min ?? 0,
513
+ max: collection.max
514
+ }))
515
+ };
516
+ }
517
+ //#endregion
379
518
  //#region src/shared/addressSearch.ts
380
519
  /** Searches for address suggestions via the address autocomplete API. */
381
520
  async function searchAddress(query, signal) {
@@ -422,4 +561,4 @@ const debounceSearchActor = fromCallback(({ input, sendBack }) => {
422
561
  };
423
562
  });
424
563
  //#endregion
425
- export { getPostalCodeMaxLength as a, STREET_LEVEL_REQUIRED_ERROR as c, usStateOptions as d, getPostalCodeErrorKey as i, fillFromSuggestion as l, FIXED_DIGIT_POSTAL_CODE_LENGTH as n, validatePostalCode as o, formatPostalCode as r, DYNAMIC_REQUIRED_KEY as s, debounceSearchActor as t, getStreetLevelErrorForSuggestion as u };
564
+ export { FIXED_DIGIT_POSTAL_CODE_LENGTH as a, getPostalCodeMaxLength as c, STREET_LEVEL_REQUIRED_ERROR as d, fillFromSuggestion as f, checkSupport as i, validatePostalCode as l, usStateOptions as m, resolveForm as n, formatPostalCode as o, getStreetLevelErrorForSuggestion as p, createBundledDefinitionSource as r, getPostalCodeErrorKey as s, debounceSearchActor as t, DYNAMIC_REQUIRED_KEY as u };
@@ -1,4 +1,3 @@
1
- import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
2
1
  //#region src/internal/orchestration/advanceableErrors.ts
3
2
  const VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE = "VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED";
4
3
  /**
@@ -8,11 +7,13 @@ const VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE = "VIDEO_SELFIE_VALIDATION
8
7
  * "retryable" (the module's own concern): it only decides what the flow does
9
8
  * *after* a terminal error. Note `NO_MORE_ATTEMPTS` subsumes the former
10
9
  * `USER_IS_NOT_RECOGNIZED` entry — see the contract test for the full matrix.
10
+ * The face codes are literals (checked against `FaceErrorCode`), so modules
11
+ * without face capture do not bundle `FACE_ERROR_CODES`.
11
12
  */
12
13
  const ADVANCEABLE_ERROR_CODES = [
13
- FACE_ERROR_CODES.NONEXISTENT_CUSTOMER,
14
- FACE_ERROR_CODES.HINT_NOT_PROVIDED,
15
- FACE_ERROR_CODES.NO_MORE_ATTEMPTS,
14
+ "NONEXISTENT_CUSTOMER",
15
+ "HINT_NOT_PROVIDED",
16
+ "NO_MORE_ATTEMPTS",
16
17
  VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE
17
18
  ];
18
19
  /** True when the given code is a module terminal error the flow should advance past rather than fail on. */
@@ -1,6 +1,6 @@
1
- import { t as Manager } from "./Manager-CQQ99QOI.js";
1
+ import { t as Manager } from "./Manager-C9T5amUN.js";
2
2
  import { S as getDefaultConsentChecks, a as ElectronicSignatureConfig, b as areAllConsented, i as ConsentKey, r as ConsentChecks, s as ElectronicSignatureDocument, t as AE_CONSENT_KEYS } from "./types-D0gekt4U.js";
3
- import { n as ElectronicSignatureState, o as electronicSignatureMachine } from "./electronicSignatureManager-Ds-KEVTq.js";
3
+ import { n as ElectronicSignatureState, o as electronicSignatureMachine } from "./electronicSignatureManager-DTSLOvKR.js";
4
4
  import "./electronic-signature.js";
5
5
  //#region src/modules/ae-signature/index.d.ts
6
6
  type AeSignatureConfig = Omit<ElectronicSignatureConfig, 'variant'>;
@@ -1,4 +1,4 @@
1
- import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-yYUc30na.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-Bc8spG8p.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 { i as createAntifraudManagerFromActor, n as AntifraudState, o as antifraudMachine, r as createAntifraudManager, t as AntifraudManager } from "./antifraudManager-BY36bS12.js";
1
+ import { i as createAntifraudManagerFromActor, n as AntifraudState, o as antifraudMachine, r as createAntifraudManager, t as AntifraudManager } from "./antifraudManager-DbGCvlJs.js";
2
2
  //#region src/modules/antifraud/types.d.ts
3
3
  /**
4
4
  * Configuration options for the antifraud module.
@@ -1,3 +1,3 @@
1
- import { t as antifraudMachine } from "./antifraudStateMachine-DBeq47D2.esm.js";
2
- import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-DNkw66oW.esm.js";
1
+ import { t as antifraudMachine } from "./antifraudStateMachine-DoJVzblM.esm.js";
2
+ import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-HL08jeDX.esm.js";
3
3
  export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
@@ -1,6 +1,6 @@
1
1
  import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
- import { t as Manager } from "./Manager-CQQ99QOI.js";
3
- import "./Actor-iTq7YY48.js";
2
+ import { t as Manager } from "./Manager-C9T5amUN.js";
3
+ import "./Actor-DpTj5PFb.js";
4
4
  //#region src/modules/antifraud/antifraudStateMachine.d.ts
5
5
  declare const antifraudMachine: any;
6
6
  type AntifraudMachine = typeof antifraudMachine;
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CAgFE-k3.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
- import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
- import { t as antifraudMachine } from "./antifraudStateMachine-DBeq47D2.esm.js";
3
+ import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
+ import { t as antifraudMachine } from "./antifraudStateMachine-DoJVzblM.esm.js";
5
5
  //#region src/modules/antifraud/antifraudActor.ts
6
6
  function createAntifraudActor() {
7
7
  return createActor(antifraudMachine).start();
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
3
- import { t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
2
+ import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
3
+ import { t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
5
  //#region src/modules/antifraud/antifraudServices.ts
6
6
  async function processAntifraud(signal) {
7
7
  const res = await api.get(endpoints.processAntifraud, { signal });
@@ -1,4 +1,4 @@
1
- import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-M5VpCo96.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-BWgRVGIT.esm.js";
2
2
  //#region src/internal/http/apiError.ts
3
3
  /**
4
4
  * Incode API error.
@@ -27,6 +27,7 @@ var IncodeApiError = class extends Error {
27
27
  this.endpoint = endpoint;
28
28
  this.status = status;
29
29
  this.httpStatus = httpStatus;
30
+ this.statusCode = httpStatus;
30
31
  if (cause !== void 0) this.cause = cause;
31
32
  }
32
33
  };
@@ -1,4 +1,4 @@
1
- import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-m-7ae67q.js";
2
- import { t as AuthenticationConfig } from "./types-Bt9RuRqt.js";
3
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CboRCl_N.js";
1
+ import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-jKQ2QtY-.js";
2
+ import { t as AuthenticationConfig } from "./types-C71Zo6vl.js";
3
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CANv5-W5.js";
4
4
  export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-Dfo34ZiI.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BFjSjtQ_.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-CHSxmV7z.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-SaiAxqvS.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,6 +1,6 @@
1
- import { t as Manager } from "./Manager-CQQ99QOI.js";
1
+ import { t as Manager } from "./Manager-C9T5amUN.js";
2
2
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
3
- import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-m-7ae67q.js";
3
+ import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-jKQ2QtY-.js";
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
5
5
  type AuthenticationState = FaceCaptureManagerState;
6
6
  /**
@@ -22,9 +22,6 @@ declare function createAuthenticationManagerFromActor(actor: AuthenticationActor
22
22
  reset(): void;
23
23
  retryCapture(): void;
24
24
  capture(): void;
25
- goToManualUpload(): void;
26
- manualUploadSelectFile(file: File): void;
27
- manualUploadContinue(): void;
28
25
  };
29
26
  /**
30
27
  * Creates an authentication manager instance for handling face authentication flow.
@@ -72,9 +69,6 @@ declare function createAuthenticationManager(options: CreateAuthenticationActorO
72
69
  reset(): void;
73
70
  retryCapture(): void;
74
71
  capture(): void;
75
- goToManualUpload(): void;
76
- manualUploadSelectFile(file: File): void;
77
- manualUploadContinue(): void;
78
72
  };
79
73
  type AuthenticationManager = FaceCaptureManager;
80
74
  //#endregion
@@ -1,9 +1,9 @@
1
- import { r as WasmUtilProvider } from "./safeStorage-BdU9_m2E.esm.js";
2
- import { l as BrowserStorageProvider } from "./setup-BuPbxpwF.esm.js";
3
- import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
4
- import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-B6i9QcAk.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-Dfo34ZiI.esm.js";
1
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
2
+ import { n as eventModuleNames } from "./events-CAgFE-k3.esm.js";
3
+ import { u as BrowserStorageProvider } from "./setup-C38QkrSP.esm.js";
4
+ import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-uFm1AcaY.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-CHSxmV7z.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,9 +1,8 @@
1
- import { i as assign } from "./xstate.esm-BuFLFuzz.esm.js";
2
- import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
3
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-DU1mjRr6.esm.js";
4
- import { c as isOnDeviceMode } from "./FaceDetectionProvider-DtmtCKa9.esm.js";
5
- import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
6
- import { s as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-DnwTl1ad.esm.js";
1
+ import { i as assign } from "./xstate.esm-DSajW7CJ.esm.js";
2
+ import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-Cu2wabzo.esm.js";
4
+ import { d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-BjTer9h3.esm.js";
5
+ import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-kdlhkmmY.esm.js";
7
6
  //#region src/modules/authentication/authenticationErrorUtils.ts
8
7
  const AUTH_ERROR_MAP = {
9
8
  SPOOF_ATTEMPT_DETECTED: FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED,
package/dist/avatar.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { i as createFaceAvatar, n as FaceAvatarHandle, o as AvatarFaceState, r as FaceAvatarOptions, t as AvatarId } from "./createFaceAvatar-BlcTYgJv.js";
1
+ import { i as createFaceAvatar, n as FaceAvatarHandle, o as AvatarFaceState, r as FaceAvatarOptions, t as AvatarId } from "./createFaceAvatar-DXgmQmQy.js";
2
2
  export { type AvatarFaceState, type AvatarId, type FaceAvatarHandle, type FaceAvatarOptions, createFaceAvatar };
@@ -501,4 +501,4 @@ async function getBackCameraStream(deviceId) {
501
501
  };
502
502
  }
503
503
  //#endregion
504
- export { isBackFacingTrack as a, hasBackCamera as i, getBackCameraStream as n, getDesktopCameraStream as r, ensureFrontCameraStream as t };
504
+ export { isBackCameraLabel as a, hasBackCamera as i, getBackCameraStream as n, isBackFacingTrack as o, getDesktopCameraStream as r, ensureFrontCameraStream as t };
@@ -1,2 +1,2 @@
1
- import { i as requestPermission, t as checkPermission } from "./permissionServices-EY3_Vx6c.esm.js";
1
+ import { a as requestPermission, t as checkPermission } from "./permissionServices-d2UW0r_L.esm.js";
2
2
  export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
@@ -1,4 +1,4 @@
1
- import { a as CertificateIssuanceActor, c as CertificateIssuanceType, d as PasswordValidations, f as MIN_PASSWORD_LENGTH, i as createCertificateIssuanceManagerFromActor, l as IssueCertificateResponse, m as REQUIREMENT_I18N_KEYS, n as CertificateIssuanceState, o as certificateIssuanceMachine, p as PASSWORD_VALIDATION_KEYS, r as createCertificateIssuanceManager, s as CertificateIssuanceConfig, t as CertificateIssuanceManager, u as PasswordValidationKey } from "./certificateIssuanceManager-DCgEidHz.js";
1
+ import { a as CertificateIssuanceActor, c as CertificateIssuanceType, d as PasswordValidations, f as MIN_PASSWORD_LENGTH, i as createCertificateIssuanceManagerFromActor, l as IssueCertificateResponse, m as REQUIREMENT_I18N_KEYS, n as CertificateIssuanceState, o as certificateIssuanceMachine, p as PASSWORD_VALIDATION_KEYS, r as createCertificateIssuanceManager, s as CertificateIssuanceConfig, t as CertificateIssuanceManager, u as PasswordValidationKey } from "./certificateIssuanceManager-Dr8A4Lgr.js";
2
2
  //#region src/modules/certificate-issuance/certificateIssuanceUtils.d.ts
3
3
  declare function emptyPasswordValidations(): PasswordValidations;
4
4
  declare function validatePassword(value: string): PasswordValidations;
@@ -1,3 +1,3 @@
1
- import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-CxqS_nD-.esm.js";
2
- import { n as createCertificateIssuanceManagerFromActor, t as createCertificateIssuanceManager } from "./certificateIssuanceManager-C3-CI0_s.esm.js";
1
+ import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Cs64QmYH.esm.js";
2
+ import { n as createCertificateIssuanceManagerFromActor, t as createCertificateIssuanceManager } from "./certificateIssuanceManager-CMg4SgL4.esm.js";
3
3
  export { MIN_PASSWORD_LENGTH, PASSWORD_VALIDATION_KEYS, REQUIREMENT_I18N_KEYS, certificateIssuanceMachine, createCertificateIssuanceManager, createCertificateIssuanceManagerFromActor, emptyPasswordValidations, isPasswordValid, validatePassword };
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
2
- import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
3
- import { r as isPasswordValid, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-CxqS_nD-.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CAgFE-k3.esm.js";
2
+ import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
+ import { r as isPasswordValid, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Cs64QmYH.esm.js";
4
4
  //#region src/modules/certificate-issuance/certificateIssuanceActor.ts
5
5
  /**
6
6
  * Creates and starts a certificate issuance actor.
@@ -1,7 +1,6 @@
1
1
  import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorRefFromLogic, b as RequiredActorOptions, c as AnyEventObject, g as IsNotNever, h as InputFrom, i as ActorRefFrom, k as MachineSnapshot, m as GetConcreteByKey, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, v as MetaObject, w as Values, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
2
- import "./StateMachine-EDpYWy0i.js";
3
- import { t as Manager } from "./Manager-CQQ99QOI.js";
4
- import "./Actor-iTq7YY48.js";
2
+ import { t as Manager } from "./Manager-C9T5amUN.js";
3
+ import "./Actor-DpTj5PFb.js";
5
4
  //#region src/modules/certificate-issuance/certificateIssuanceConstants.d.ts
6
5
  declare const MIN_PASSWORD_LENGTH = 8;
7
6
  declare const PASSWORD_VALIDATION_KEYS: readonly ["length", "uppercase", "lowercase", "number"];
@@ -1,8 +1,8 @@
1
1
  import { n as getApi, r as getToken } from "./api-Bx3gKW_y.esm.js";
2
- import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
3
- import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
5
- import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
2
+ import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
3
+ import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
+ import { t as externalFetch } from "./externalFetch-DrR9xshk.esm.js";
6
6
  //#region src/modules/certificate-issuance/certificateIssuanceServices.ts
7
7
  function buildIssueCertificateUrl(baseURL) {
8
8
  return `${baseURL.endsWith("/") ? baseURL.slice(0, -1) : baseURL}${endpoints.certificateIssuanceIssue}`;