@incodetech/core 0.0.0-dev-20260715-b208c5e1 → 0.0.0-dev-20260715-dcc78bcd

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 (282) hide show
  1. package/dist/{3dAvatarProvider-BYxFCuIv.esm.js → 3dAvatarProvider-D9H4rR6_.esm.js} +811 -880
  2. package/dist/Actor-iTq7YY48.d.ts +1 -0
  3. package/dist/{BrowserStorageProvider-CBXGCHnK.esm.js → BrowserStorageProvider-P6aUarE9.esm.js} +1 -2
  4. package/dist/{BrowserTimerProvider-CHloo0eQ.esm.js → BrowserTimerProvider-BXhgNxLt.esm.js} +1 -2
  5. package/dist/{BrowserVisibilityObserverProvider-B04zvOXW.esm.js → BrowserVisibilityObserverProvider-sJclps4C.esm.js} +1 -3
  6. package/dist/{Face2DProvider-TeN1Xqr0.esm.js → Face2DProvider-xWUeSJZI.esm.js} +10 -22
  7. package/dist/{createFaceAvatar-BjBu2CrU.d.ts → FaceDetectionProvider-BHweGBEM.d.ts} +108 -159
  8. package/dist/IFaceAvatarCapability-BrL19G0s.d.ts +23 -0
  9. package/dist/IStorageCapability-B8IGxCwe.d.ts +131 -0
  10. package/dist/{ITimerCapability-G7lQg-be.esm.js → ITimerCapability-DgdDzp8G.esm.js} +1 -2
  11. package/dist/{Manager-DE5DydXZ.d.ts → Manager-CQQ99QOI.d.ts} +1 -0
  12. package/dist/{MotionSensorProvider-BkHKMCPE.esm.js → MotionSensorProvider-DYvM90IX.esm.js} +1 -2
  13. package/dist/{OpenViduRecordingProvider-xR5osKzW.esm.js → OpenViduRecordingProvider-Du98qevC.esm.js} +2 -4
  14. package/dist/{PrivacyLensProvider-CqlsCaJv.esm.js → PrivacyLensProvider-BrYSd1dr.esm.js} +2 -5
  15. package/dist/StateMachine-EDpYWy0i.d.ts +6 -0
  16. package/dist/{StreamCanvasCapture-CRk7c7u7.esm.js → StreamCanvasCapture-D2XcXCZ4.esm.js} +2 -4
  17. package/dist/{WasmUtilProvider-BNQ2PBjG.esm.js → WasmUtilProvider-DAshwHhX.esm.js} +38 -71
  18. package/dist/{addressSearch-B2NxSpHl.esm.js → addressSearch-DH-IPF-w.esm.js} +10 -21
  19. package/dist/ae-signature.d.ts +2 -6
  20. package/dist/ae-signature.esm.js +10 -11
  21. package/dist/antifraud.d.ts +1 -6
  22. package/dist/antifraud.esm.js +3 -8
  23. package/dist/{antifraudManager-C490m0p4.d.ts → antifraudManager-BY36bS12.d.ts} +3 -3
  24. package/dist/{antifraudManager-C1xnhF2Q.esm.js → antifraudManager-CL2YhiVX.esm.js} +11 -8
  25. package/dist/{antifraudStateMachine-BQVw46N5.esm.js → antifraudStateMachine-Bf-IiCq7.esm.js} +5 -7
  26. package/dist/{api-DsbUi7TO.esm.js → api-BDTZNnca.esm.js} +1 -2
  27. package/dist/{apiError-DkOXfFBu.esm.js → apiError-COvIGYWe.esm.js} +1 -2
  28. package/dist/authentication.d.ts +2 -19
  29. package/dist/authentication.esm.js +3 -34
  30. package/dist/{authenticationManager-DZXQpCjQ.esm.js → authenticationManager-DM7ttL5V.esm.js} +7 -10
  31. package/dist/{authenticationManager-BD81fnrn.d.ts → authenticationManager-G-k-13Fe.d.ts} +3 -4
  32. package/dist/{authenticationStateMachine-CJrTbLWU.esm.js → authenticationStateMachine-DiI8jfmO.esm.js} +11 -15
  33. package/dist/avatar.d.ts +2 -2
  34. package/dist/avatar.esm.js +2 -3
  35. package/dist/{backCameraStream-DYnfq7Hr.esm.js → backCameraStream-Heg6vA1j.esm.js} +4 -7
  36. package/dist/browser-DlFgHpoC-DnyrCR8r.esm.js +1513 -0
  37. package/dist/callback-645_omgz.d.ts +133 -0
  38. package/dist/{camera-B0yWS33x.esm.js → camera-BmFEyPP_.esm.js} +1 -2
  39. package/dist/camera.d.ts +1 -2
  40. package/dist/camera.esm.js +2 -6
  41. package/dist/{canvas-DsJa51yU.esm.js → canvas-E1zGkel4.esm.js} +1 -2
  42. package/dist/certificate-issuance.d.ts +34 -39
  43. package/dist/certificate-issuance.esm.js +4 -11
  44. package/dist/{certificateIssuanceStateMachine-CpewPqas.esm.js → certificateIssuanceStateMachine-Ce568YfR.esm.js} +7 -11
  45. package/dist/{clientLifecycle-CCJMDjFe.esm.js → clientLifecycle-DzT65Fvf.esm.js} +23 -29
  46. package/dist/consent.d.ts +1 -4
  47. package/dist/consent.esm.js +3 -8
  48. package/dist/{consentManager-r4MTIoV3.esm.js → consentManager-D3GyyH5u.esm.js} +5 -7
  49. package/dist/{consentManager-QGuw4zmH.d.ts → consentManager-DLOyIZzt.d.ts} +58 -64
  50. package/dist/{consentStateMachine-DnqwsZ7o.esm.js → consentStateMachine-Pc3Ez3mV.esm.js} +5 -7
  51. package/dist/{cpf-B9htWzDt.esm.js → cpf-BIADjddF.esm.js} +1 -2
  52. package/dist/cpf-ocr.d.ts +1 -5
  53. package/dist/cpf-ocr.esm.js +2 -8
  54. package/dist/{cpfOcrManager-RkeZCqSz.d.ts → cpfOcrManager-CQkUAeWO.d.ts} +21 -23
  55. package/dist/{cpfOcrManager-D6ZQ9kkv.esm.js → cpfOcrManager-Cwm0MesJ.esm.js} +7 -12
  56. package/dist/createFaceAvatar-BEj18KXi.d.ts +50 -0
  57. package/dist/{createFaceAvatar-B_v2At2h.esm.js → createFaceAvatar-CwVapQiu.esm.js} +5 -9
  58. package/dist/cross-document-data-match.d.ts +1 -5
  59. package/dist/cross-document-data-match.esm.js +2 -8
  60. package/dist/{crossDocumentDataMatchManager-DoFG_S91.esm.js → crossDocumentDataMatchManager-9rdIO8Qk.esm.js} +12 -12
  61. package/dist/{crossDocumentDataMatchManager-CdiqxhJm.d.ts → crossDocumentDataMatchManager-Dq8Z3SOg.d.ts} +3 -3
  62. package/dist/curp-validation.d.ts +1 -11
  63. package/dist/curp-validation.esm.js +3 -8
  64. package/dist/{curpValidationManager-07oV78Bn.d.ts → curpValidationManager--HSBTwOy.d.ts} +4 -6
  65. package/dist/{curpValidationManager-D6jt1Gs9.esm.js → curpValidationManager-C2i9Lzx9.esm.js} +11 -7
  66. package/dist/{curpValidationStateMachine-Dlw4qfFb.esm.js → curpValidationStateMachine-7i3TD8J2.esm.js} +22 -14
  67. package/dist/custom-fields.d.ts +2 -5
  68. package/dist/custom-fields.esm.js +24 -11
  69. package/dist/custom-watchlist.d.ts +1 -3
  70. package/dist/custom-watchlist.esm.js +11 -10
  71. package/dist/{customWatchlistStateMachine-D8w0mNxm.esm.js → customWatchlistStateMachine-D23XTxl2.esm.js} +5 -7
  72. package/dist/{dateUtils-BW6mBV6p.esm.js → dateUtils-CvG0FvK8.esm.js} +1 -2
  73. package/dist/{deepsightService-CV1NAkg9.esm.js → deepsightLoader-CQWGVLP0.esm.js} +62 -14
  74. package/dist/deepsightService-CR-CYdka.d.ts +218 -0
  75. package/dist/device.d.ts +0 -1
  76. package/dist/device.esm.js +5 -10
  77. package/dist/document-capture.d.ts +1 -6
  78. package/dist/document-capture.esm.js +3 -16
  79. package/dist/document-upload.d.ts +48 -55
  80. package/dist/document-upload.esm.js +8 -14
  81. package/dist/{documentCaptureManager-HNu28khr.d.ts → documentCaptureManager-Biz_PFqs.d.ts} +190 -199
  82. package/dist/{documentCaptureManager-pufyUaQz.esm.js → documentCaptureManager-DijbJFun.esm.js} +5 -7
  83. package/dist/{documentCaptureStateMachine-CaJgb_Vn.esm.js → documentCaptureStateMachine-qgsrlcVh.esm.js} +11 -15
  84. package/dist/dynamic-forms.d.ts +1 -4
  85. package/dist/dynamic-forms.esm.js +3 -10
  86. package/dist/{dynamicFormsManager-C3jlNlWK.esm.js → dynamicFormsManager-COik5bJ7.esm.js} +41 -7
  87. package/dist/{dynamicFormsManager-HQhUJCLg.d.ts → dynamicFormsManager-Dposae2l.d.ts} +3 -4
  88. package/dist/{dynamicFormsStateMachine-DdpJI6ne.esm.js → dynamicFormsStateMachine-BV-Fn13x.esm.js} +7 -11
  89. package/dist/ekyb.d.ts +4 -11
  90. package/dist/ekyb.esm.js +3 -20
  91. package/dist/{ekybManager-l67BnqxH.esm.js → ekybManager-BTcW4poN.esm.js} +17 -7
  92. package/dist/{ekybManager-CZUVEWMw.d.ts → ekybManager-CBX0tM04.d.ts} +4 -5
  93. package/dist/{ekybStateMachine-BmfNaHRF.esm.js → ekybStateMachine-DmZLm35R.esm.js} +16 -25
  94. package/dist/ekyc.d.ts +2 -7
  95. package/dist/ekyc.esm.js +3 -11
  96. package/dist/{ekycManager-ClRqj2rg.d.ts → ekycManager-BFpHbBoT.d.ts} +4 -5
  97. package/dist/{ekycManager-B_uUa1iN.esm.js → ekycManager-BSMlIpGA.esm.js} +14 -7
  98. package/dist/{ekycStateMachine-BD8GjdL5.esm.js → ekycStateMachine-a7oP-XWo.esm.js} +140 -201
  99. package/dist/electronic-signature.d.ts +2 -5
  100. package/dist/electronic-signature.esm.js +2 -10
  101. package/dist/{electronicSignatureManager-CzMj-Tjm.esm.js → electronicSignatureManager-DSZu9OHT.esm.js} +9 -14
  102. package/dist/email.d.ts +1 -5
  103. package/dist/email.esm.js +3 -10
  104. package/dist/{emailManager-Lv9BHgel.d.ts → emailManager-CADXW_9X.d.ts} +4 -7
  105. package/dist/{emailManager-BsynjdWX.esm.js → emailManager-c-mDLieD.esm.js} +76 -12
  106. package/dist/{emailStateMachine-Z-Jf4qOc.esm.js → emailStateMachine-ChNwY22u.esm.js} +7 -9
  107. package/dist/{endpoints-CwrFQfW7.esm.js → endpoints-DLQ0g4-R.esm.js} +33 -2
  108. package/dist/{events-aeCkGlnn.esm.js → events-Dy8PyVO5.esm.js} +4 -168
  109. package/dist/events.d.ts +1 -9
  110. package/dist/events.esm.js +2 -4
  111. package/dist/extensibility.d.ts +30 -42
  112. package/dist/extensibility.esm.js +29 -87
  113. package/dist/{externalFetch-hvmz_npP.esm.js → externalFetch-BKBThAUC.esm.js} +2 -4
  114. package/dist/face-match.d.ts +1 -5
  115. package/dist/face-match.esm.js +3 -8
  116. package/dist/{faceCaptureManagerFactory-CGFQg1kl.d.ts → faceCaptureManagerFactory-BWD3O4Eg.d.ts} +50 -14
  117. package/dist/{faceCaptureManagerFactory-BIH53wvb.esm.js → faceCaptureManagerFactory-CZLSziU3.esm.js} +49 -28
  118. package/dist/{faceCaptureSetup-shrwrZaK.esm.js → faceCaptureSetup-__lVldUG.esm.js} +12 -15
  119. package/dist/{faceMatchManager-BrNYVk-p.esm.js → faceMatchManager-B7jlv77Q.esm.js} +24 -7
  120. package/dist/{faceMatchManager-X2eQo0o-.d.ts → faceMatchManager-CJQG1W1u.d.ts} +4 -4
  121. package/dist/{faceMatchStateMachine-CbeacEqd.esm.js → faceMatchStateMachine-DD7FxtUj.esm.js} +6 -9
  122. package/dist/field-comparison.d.ts +1 -4
  123. package/dist/field-comparison.esm.js +2 -7
  124. package/dist/{fieldComparisonManager-BxhleGNI.esm.js → fieldComparisonManager-5LlxYad-.esm.js} +6 -11
  125. package/dist/{fieldComparisonManager-Dg03uIX1.d.ts → fieldComparisonManager-CBvEGxFx.d.ts} +3 -5
  126. package/dist/fiscal-qr.d.ts +1 -6
  127. package/dist/fiscal-qr.esm.js +14 -29
  128. package/dist/flow-events.d.ts +2 -9
  129. package/dist/flow.d.ts +13 -19
  130. package/dist/flow.esm.js +109 -34
  131. package/dist/{flowCompletionService-qf-s8Uxl.esm.js → flowCompletionService-DQSC7Kso.esm.js} +4 -6
  132. package/dist/{flowServices-CJXaWFlZ.esm.js → flowServices-BQEUaMg6.esm.js} +10 -11
  133. package/dist/geolocation.d.ts +1 -4
  134. package/dist/geolocation.esm.js +3 -9
  135. package/dist/{geolocationManager-CAtyY00b.d.ts → geolocationManager-BWhRzBjk.d.ts} +3 -4
  136. package/dist/{geolocationManager-4j_DV3jW.esm.js → geolocationManager-D58ehBHU.esm.js} +19 -8
  137. package/dist/{geolocationStateMachine-BE72KBAX.esm.js → geolocationStateMachine-BorcBNZ6.esm.js} +6 -8
  138. package/dist/getBrowser-Cb8Zgrgp.esm.js +7 -0
  139. package/dist/{getDeviceClass-BdgmyOOu.esm.js → getDeviceClass-CeBiEayS.esm.js} +1 -2
  140. package/dist/{getDeviceClass-DsNb6nEl.esm.js → getDeviceClass-CkgnSJel.esm.js} +3 -5
  141. package/dist/{getBrowser-CZ66VtC7.esm.js → getParsedUserAgent-pJjATANs.esm.js} +109 -30
  142. package/dist/government-validation.d.ts +3 -6
  143. package/dist/government-validation.esm.js +7 -13
  144. package/dist/{governmentValidationStateMachine-BfZ_WQC0.esm.js → governmentValidationStateMachine-DkakcwTj.esm.js} +8 -11
  145. package/dist/home.d.ts +14 -22
  146. package/dist/home.esm.js +3 -8
  147. package/dist/http.d.ts +0 -1
  148. package/dist/http.esm.js +2 -4
  149. package/dist/id-ocr.d.ts +1 -5
  150. package/dist/id-ocr.esm.js +3 -9
  151. package/dist/id-verification.d.ts +1 -4
  152. package/dist/id-verification.esm.js +3 -8
  153. package/dist/id.d.ts +105 -18
  154. package/dist/id.esm.js +40 -50
  155. package/dist/{idCaptureDefaults-Df8XKQ0o.esm.js → idCaptureDefaults-Dzfws4i0.esm.js} +9 -16
  156. package/dist/{idCaptureManager-Fr9c67Rx.esm.js → idCaptureManager-BGAdNNVq.esm.js} +117 -23
  157. package/dist/{idCaptureManager-BXG8kVMW.d.ts → idCaptureManager-CSGbGORT.d.ts} +12 -113
  158. package/dist/{idCaptureStateMachine-CpjwdaYN.esm.js → idCaptureStateMachine-DYgckwCg.esm.js} +56 -195
  159. package/dist/{idOcrManager-DLF3J2cx.esm.js → idOcrManager-niAg-BE0.esm.js} +4 -7
  160. package/dist/{idOcrManager-DnhdGuVX.d.ts → idOcrManager-vXa7GdRh.d.ts} +60 -66
  161. package/dist/{idOcrStateMachine-BPXTUjNY.esm.js → idOcrStateMachine-CpZZL411.esm.js} +13 -18
  162. package/dist/{idVerificationManager-BD2FO09A.d.ts → idVerificationManager-BB4Pj_N6.d.ts} +31 -35
  163. package/dist/{idVerificationManager-23kPMn7T.esm.js → idVerificationManager-CujJqsiX.esm.js} +4 -7
  164. package/dist/{idVerificationStateMachine-C1eMEu_Y.esm.js → idVerificationStateMachine-D-1GlgC5.esm.js} +5 -7
  165. package/dist/identity-reuse.d.ts +1 -4
  166. package/dist/identity-reuse.esm.js +3 -8
  167. package/dist/{identityReuseManager-Ct-9qYpC.esm.js → identityReuseManager-DHfJZTVo.esm.js} +24 -7
  168. package/dist/{identityReuseManager-DOufEjLa.d.ts → identityReuseManager-aTyLyYrr.d.ts} +38 -43
  169. package/dist/{identityReuseStateMachine-Cqc-NwEQ.esm.js → identityReuseStateMachine-CM45EBrb.esm.js} +6 -8
  170. package/dist/index-B8weJxmL.d.ts +1 -0
  171. package/dist/index-BKOWUhxG.d.ts +258 -0
  172. package/dist/{index-WMHgnbC1.d.ts → index-CKbmDFNq.d.ts} +160 -165
  173. package/dist/{index-Bk5nhSg2.d.ts → index-DQ2fdqoI.d.ts} +3 -3
  174. package/dist/index.d.ts +1 -3
  175. package/dist/index.esm.js +2 -15
  176. package/dist/{invokeOnCaptureCallback-Bs09kdY_.esm.js → invokeOnCaptureCallback-B-QfsCQY.esm.js} +2 -4
  177. package/dist/{lib-DvZ6nVvW.esm.js → lib-DAyUtOTj.esm.js} +1510 -1589
  178. package/dist/mandatory-consent.d.ts +1 -10
  179. package/dist/mandatory-consent.esm.js +3 -8
  180. package/dist/{mandatoryConsentManager-D0qQHcl2.d.ts → mandatoryConsentManager-BlB4bX6_.d.ts} +59 -65
  181. package/dist/{mandatoryConsentManager-Bh_n0uEP.esm.js → mandatoryConsentManager-CQC-zA4P.esm.js} +4 -7
  182. package/dist/{mandatoryConsentStateMachine-DYeKH1L7.esm.js → mandatoryConsentStateMachine-BN4Obfl7.esm.js} +5 -7
  183. package/dist/{mediaRecorderOptions-BIn657lu.esm.js → mediaRecorderOptions-BhSZDDNb.esm.js} +2 -4
  184. package/dist/{mediapipeShared-B-RiRyLN.esm.js → mediapipeShared-B0iQQ5k7.esm.js} +2 -6
  185. package/dist/{onDeviceFaceResults-CJuDp67S.esm.js → onDeviceFaceResults-LRTvBL7m.esm.js} +18 -84
  186. package/dist/openviduLazy-CCDpFWg1.esm.js +10 -0
  187. package/dist/{otp-D_9QPNbs.d.ts → otp-CEWfTj9v.d.ts} +0 -1
  188. package/dist/{otp-Bbe_izFJ.esm.js → otp-D2k3PeSL.esm.js} +3 -14
  189. package/dist/{permissionGuards-CayfS8OY.esm.js → permissionGuards-DguX5vFY.esm.js} +2 -4
  190. package/dist/{permissionServices-B7lD6fiG.esm.js → permissionServices-DwNCUB2I.esm.js} +4 -9
  191. package/dist/personhood.d.ts +13 -20
  192. package/dist/personhood.esm.js +153 -72
  193. package/dist/phone.d.ts +1 -5
  194. package/dist/phone.esm.js +3 -10
  195. package/dist/{phoneManager-85eRUhJD.d.ts → phoneManager-BBU8Lq0O.d.ts} +4 -7
  196. package/dist/{phoneManager-Byive8Xl.esm.js → phoneManager-KbcmjEeH.esm.js} +82 -12
  197. package/dist/{phoneStateMachine-BlYF4nKx.esm.js → phoneStateMachine-wDQtaT38.esm.js} +7 -9
  198. package/dist/{platform-BoeUeUrV.esm.js → platform-wmV7oTAJ.esm.js} +1 -9
  199. package/dist/qe-signature.d.ts +2 -6
  200. package/dist/qe-signature.esm.js +10 -11
  201. package/dist/{recordingService-BzQUrf40.esm.js → recordingService-TuBlOjvH.esm.js} +15 -19
  202. package/dist/redirect-to-mobile.d.ts +1 -6
  203. package/dist/redirect-to-mobile.esm.js +3 -10
  204. package/dist/{redirectToMobileManager-DrxIfZr8.esm.js → redirectToMobileManager-EGXGKftv.esm.js} +25 -8
  205. package/dist/{redirectToMobileManager-2TtzpSOw.d.ts → redirectToMobileManager-NVQM3o5P.d.ts} +3 -4
  206. package/dist/{redirectToMobileStateMachine-BetR6r8p.esm.js → redirectToMobileStateMachine-D-8ipBq2.esm.js} +7 -9
  207. package/dist/rolldown-runtime-FZ4Itg2g.esm.js +42 -0
  208. package/dist/{runChildModule-FH_tixbR.esm.js → runChildModule-Crz1nHwJ.esm.js} +5 -9
  209. package/dist/selfie.d.ts +7 -20
  210. package/dist/selfie.esm.js +40 -46
  211. package/dist/{selfieManager-CdUnYjmt.esm.js → selfieManager-C4_2DgTF.esm.js} +7 -10
  212. package/dist/{selfieManager-d7nkO-UP.d.ts → selfieManager-CN8wJ14s.d.ts} +3 -4
  213. package/dist/{selfieStateMachine-zz4WqziP.esm.js → selfieStateMachine-ODRceav2.esm.js} +15 -20
  214. package/dist/selfieUploadService-B4LnSIf6.esm.js +62 -0
  215. package/dist/session-CQ2x2aLl.esm.js +1 -0
  216. package/dist/session.d.ts +2 -9
  217. package/dist/session.esm.js +153 -15
  218. package/dist/sessionInitializer-Cjpnacyg.esm.js +1801 -0
  219. package/dist/{setup-BxB6QUto.d.ts → setup-CgBvqGWw.d.ts} +2 -4
  220. package/dist/{setup-DCyhfufM.esm.js → setup-Hyb_Yiuu.esm.js} +126 -18
  221. package/dist/signature.d.ts +2 -6
  222. package/dist/signature.esm.js +6 -9
  223. package/dist/{signatureStateMachine-U8ewxW1t.esm.js → signatureStateMachine-BmKPC5A9.esm.js} +5 -7
  224. package/dist/spawn-D9jgw9pW.d.ts +1441 -0
  225. package/dist/{stats-BVy52wLy.esm.js → stats-Bu6bL_CX.esm.js} +3 -5
  226. package/dist/stats.esm.js +2 -5
  227. package/dist/topLevelStateName-B5i2avbh.esm.js +41 -0
  228. package/dist/{tri-Calc36Ny.esm.js → tri-N-xlKhZK.esm.js} +3 -7
  229. package/dist/tri.d.ts +2 -2
  230. package/dist/tri.esm-BIjHhBJ2.esm.js +2620 -0
  231. package/dist/tri.esm.js +2 -4
  232. package/dist/trust-graph.d.ts +4 -5
  233. package/dist/trust-graph.esm.js +13 -9
  234. package/dist/{types-Db2ooXIu.esm.js → types-BN5RPPIZ.esm.js} +1 -2
  235. package/dist/{types-ZezaAAbn.d.ts → types-BfgmV7s7.d.ts} +2 -2
  236. package/dist/{types-NizIIgLD.d.ts → types-BnEHzP1K.d.ts} +3 -5
  237. package/dist/{types-DCOl8zy6.d.ts → types-Vb4P9ovf.d.ts} +1 -3
  238. package/dist/{types-C0D4Brd6.d.ts → types-ctqh-iS4.d.ts} +80 -6
  239. package/dist/{urlUtils-CpiYwn7w.esm.js → urlUtils-D6phjq1-.esm.js} +1 -2
  240. package/dist/{video-DXf5H9rY.esm.js → video-BtSWtHy1.esm.js} +1 -2
  241. package/dist/video-selfie.d.ts +10 -15
  242. package/dist/video-selfie.esm.js +114 -106
  243. package/dist/{videoSelfieSteps-DAky5sq5.esm.js → videoSelfieSteps-DHcibfYH.esm.js} +1 -2
  244. package/dist/wasm.d.ts +2 -4
  245. package/dist/wasm.esm.js +3 -15
  246. package/dist/watchlist-for-business.d.ts +1 -3
  247. package/dist/watchlist-for-business.esm.js +9 -9
  248. package/dist/watchlist.d.ts +1 -3
  249. package/dist/watchlist.esm.js +11 -10
  250. package/dist/{watchlistForBusinessStateMachine-Bbn_dcVT.esm.js → watchlistForBusinessStateMachine-BC_-3fJs.esm.js} +5 -7
  251. package/dist/{watchlistStateMachine-SZ-1xpe4.esm.js → watchlistStateMachine-CL2j3aRl.esm.js} +5 -7
  252. package/dist/workflow.d.ts +124 -146
  253. package/dist/workflow.esm.js +75 -80
  254. package/dist/xstate-actors.esm-CtI5S0f4.esm.js +310 -0
  255. package/dist/{xstate.esm-nY3M5UYm.esm.js → xstate.esm-Cf4e0Cfd.esm.js} +136 -610
  256. package/package.json +2 -2
  257. package/dist/Actor-CdjYVucI.d.ts +0 -2
  258. package/dist/FaceDetectionProvider-D-zCGbS9.d.ts +0 -119
  259. package/dist/IWasmUtilCapability-CuiW_6d1.d.ts +0 -150
  260. package/dist/StateMachine-BTkXO3Na.d.ts +0 -2
  261. package/dist/StreamCanvasCapture-D9u4hwul.d.ts +0 -42
  262. package/dist/ae-signature-eQWjmzE8.esm.js +0 -12
  263. package/dist/browser-DlFgHpoC-BTB6a7n-.esm.js +0 -1425
  264. package/dist/browserSimulation-CQjwFn0Z.esm.js +0 -1256
  265. package/dist/canvas-COIxuirO.d.ts +0 -112
  266. package/dist/chunk-CIKcdghV.esm.js +0 -49
  267. package/dist/deepsightLoader-BppeThau.esm.js +0 -67
  268. package/dist/deepsightService-mkIAy_Eq.d.ts +0 -69
  269. package/dist/http-C3Pq6njG.esm.js +0 -0
  270. package/dist/index-BD6ZVw2f.d.ts +0 -93
  271. package/dist/openviduLazy-CuGqb-8Q.esm.js +0 -12
  272. package/dist/openviduLazy-DNb0xHJp.esm.js +0 -3
  273. package/dist/qe-signature-D9XM2d-F.esm.js +0 -12
  274. package/dist/session--C2lbjK5.esm.js +0 -152
  275. package/dist/sessionInitializer-Dx_oPfHP.esm.js +0 -548
  276. package/dist/tri.esm-BDhptA8x.esm.js +0 -2593
  277. /package/dist/{IVisibilityObserverCapability-C3tAkSfF.d.ts → IVisibilityObserverCapability-D4tvIB5v.d.ts} +0 -0
  278. /package/dist/{camera-DRH7co71.d.ts → camera-9wWD-pwg.d.ts} +0 -0
  279. /package/dist/{flowCompletionService-DGcE_OvO.d.ts → flowCompletionService-BlAHsKyv.d.ts} +0 -0
  280. /package/dist/{types-DawqnFVn.d.ts → types-BT-aiBYV.d.ts} +0 -0
  281. /package/dist/{types-B6KIOo6S.d.ts → types-Bk_6dmDa.d.ts} +0 -0
  282. /package/dist/{warmup-CE9Fhs6N.d.ts → warmup-Dv2alr2-.d.ts} +0 -0
@@ -0,0 +1,6 @@
1
+ //#region ../../node_modules/.pnpm/xstate@5.24.0/node_modules/xstate/dist/declarations/src/index.d.ts
2
+ declare global {
3
+ interface SymbolConstructor {
4
+ readonly observable: symbol;
5
+ }
6
+ }
@@ -1,5 +1,4 @@
1
- import { t as IncodeCanvas } from "./canvas-DsJa51yU.esm.js";
2
-
1
+ import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
3
2
  //#region ../infra/src/media/StreamCanvasCapture.ts
4
3
  var StreamCanvasCapture = class {
5
4
  constructor(stream, options) {
@@ -113,6 +112,5 @@ var StreamCanvasCapture = class {
113
112
  }
114
113
  }
115
114
  };
116
-
117
115
  //#endregion
118
- export { StreamCanvasCapture as t };
116
+ export { StreamCanvasCapture as t };
@@ -6,7 +6,6 @@ function deriveSiblingJsPath(wasmPath) {
6
6
  if (rest !== "" && !rest.startsWith("?")) return wasmPath;
7
7
  return `${wasmPath.slice(0, index)}.js${rest}`;
8
8
  }
9
-
10
9
  //#endregion
11
10
  //#region ../infra/src/providers/browser/SemaphoreProvider.ts
12
11
  const DEFAULT_ACQUIRE_TIMEOUT_MS = 3e4;
@@ -106,7 +105,6 @@ var SemaphoreProvider = class {
106
105
  }
107
106
  }
108
107
  };
109
-
110
108
  //#endregion
111
109
  //#region ../infra/src/wasm/apiUtilities.ts
112
110
  /**
@@ -169,12 +167,12 @@ async function loadWasmModule(config) {
169
167
  if (wantSimd && simdBinary !== config.wasmPath) try {
170
168
  const simdFactory = await importGlue(config.glueCodeSimdPath ?? deriveSiblingJsPath(simdBinary));
171
169
  window.Module = simdFactory;
172
- const result$1 = {
170
+ const result = {
173
171
  wasmModule: await instantiate(simdFactory, simdBinary),
174
172
  simdUsed: true
175
173
  };
176
- loadedResult = result$1;
177
- return result$1;
174
+ loadedResult = result;
175
+ return result;
178
176
  } catch (simdError) {
179
177
  console.warn("[Incode SDK] SIMD WASM load failed, falling back to non-SIMD", simdError);
180
178
  }
@@ -193,28 +191,6 @@ async function loadWasmModule(config) {
193
191
  })();
194
192
  return loadPromise;
195
193
  }
196
-
197
- //#endregion
198
- //#region ../infra/src/wasm/IdCaptureModelType.ts
199
- let IdCaptureModelType = /* @__PURE__ */ function(IdCaptureModelType$1) {
200
- IdCaptureModelType$1[IdCaptureModelType$1["IdCaptureV1x"] = 0] = "IdCaptureV1x";
201
- IdCaptureModelType$1[IdCaptureModelType$1["IdCaptureV2x"] = 1] = "IdCaptureV2x";
202
- IdCaptureModelType$1[IdCaptureModelType$1["IdCaptureV3x"] = 2] = "IdCaptureV3x";
203
- return IdCaptureModelType$1;
204
- }({});
205
-
206
- //#endregion
207
- //#region ../infra/src/wasm/WasmPipelineType.ts
208
- let WasmPipelineType = /* @__PURE__ */ function(WasmPipelineType$1) {
209
- WasmPipelineType$1[WasmPipelineType$1["IdBlurGlarePipeline"] = 0] = "IdBlurGlarePipeline";
210
- WasmPipelineType$1[WasmPipelineType$1["IdBarcodeAndTextQualityPipeline"] = 1] = "IdBarcodeAndTextQualityPipeline";
211
- WasmPipelineType$1[WasmPipelineType$1["IdVideoSelfiePipeline"] = 2] = "IdVideoSelfiePipeline";
212
- WasmPipelineType$1[WasmPipelineType$1["SelfieWithAggregationMetrics"] = 3] = "SelfieWithAggregationMetrics";
213
- WasmPipelineType$1[WasmPipelineType$1["SelfieWithQualityMetrics"] = 4] = "SelfieWithQualityMetrics";
214
- WasmPipelineType$1[WasmPipelineType$1["OnDeviceSelfieWorkflow"] = 5] = "OnDeviceSelfieWorkflow";
215
- return WasmPipelineType$1;
216
- }({});
217
-
218
194
  //#endregion
219
195
  //#region ../infra/src/wasm/wasmCallUtils.ts
220
196
  async function wasmCallWrapper(concurrency, wasmMethod, useSemaphore = true, ...args) {
@@ -230,7 +206,6 @@ async function wasmCallWrapper(concurrency, wasmMethod, useSemaphore = true, ...
230
206
  }
231
207
  await innerCall();
232
208
  }
233
-
234
209
  //#endregion
235
210
  //#region ../infra/src/wasm/wasmWebClient.ts
236
211
  /**
@@ -428,10 +403,7 @@ function ensureReady() {
428
403
  if (!webClientApi) throw new Error("WasmWebClient not initialized. Call initializeWasmWebClient() first.");
429
404
  return webClientApi;
430
405
  }
431
-
432
- //#endregion
433
- //#region ../infra/src/wasm/mlWasmJSApi.ts
434
- var MlWasmJSApi = class MlWasmJSApi {
406
+ var mlWasmJSApi_default = class MlWasmJSApi {
435
407
  constructor() {
436
408
  this.versionsFile = null;
437
409
  this.modelsBuffers = null;
@@ -604,12 +576,12 @@ var MlWasmJSApi = class MlWasmJSApi {
604
576
  if (this.inputImageBuffer === null) throw new Error("Unable to process the image, buffers haven't been allocated!");
605
577
  this.inputImageBuffer.set(image.data);
606
578
  switch (type) {
607
- case WasmPipelineType.IdBlurGlarePipeline:
608
- case WasmPipelineType.IdBarcodeAndTextQualityPipeline: return this.idCaptureWasmApi.runIdCaptureWorkflow(this.pipelineTypeToWasmEnum(type));
609
- case WasmPipelineType.IdVideoSelfiePipeline: return this.idCaptureWasmApi.runIdVideoSelfieWorkflow();
610
- case WasmPipelineType.SelfieWithAggregationMetrics:
611
- case WasmPipelineType.SelfieWithQualityMetrics:
612
- case WasmPipelineType.OnDeviceSelfieWorkflow: return this.faceProcessingWasmApi.runSelfieWorkflow(this.pipelineTypeToWasmEnum(type));
579
+ case 0:
580
+ case 1: return this.idCaptureWasmApi.runIdCaptureWorkflow(this.pipelineTypeToWasmEnum(type));
581
+ case 2: return this.idCaptureWasmApi.runIdVideoSelfieWorkflow();
582
+ case 3:
583
+ case 4:
584
+ case 5: return this.faceProcessingWasmApi.runSelfieWorkflow(this.pipelineTypeToWasmEnum(type));
613
585
  default: throw new Error("Unknown pipeline type");
614
586
  }
615
587
  }
@@ -688,8 +660,8 @@ var MlWasmJSApi = class MlWasmJSApi {
688
660
  const sizes = new this.wasmModule.VectorInt();
689
661
  for (const path of modelsPaths) {
690
662
  if (!loadedModels.has(path)) {
691
- const model$1 = await fetch(path).then((response) => response.arrayBuffer()).then((buffer) => new Uint8Array(buffer));
692
- loadedModels.set(path, model$1);
663
+ const model = await fetch(path).then((response) => response.arrayBuffer()).then((buffer) => new Uint8Array(buffer));
664
+ loadedModels.set(path, model);
693
665
  }
694
666
  const model = loadedModels.get(path);
695
667
  sizes.push_back(model.byteLength);
@@ -851,48 +823,46 @@ var MlWasmJSApi = class MlWasmJSApi {
851
823
  }
852
824
  pipelineTypeToWasmEnum(type) {
853
825
  switch (type) {
854
- case WasmPipelineType.IdBlurGlarePipeline: return this.wasmModule.WorkflowType.IdBlurGlareWorkflow;
855
- case WasmPipelineType.IdBarcodeAndTextQualityPipeline: return this.wasmModule.WorkflowType.IdBarcodeAndTextQualityWorkflow;
856
- case WasmPipelineType.IdVideoSelfiePipeline: return this.wasmModule.WorkflowType.IdVideoSelfieWorkflow;
857
- case WasmPipelineType.SelfieWithAggregationMetrics: return this.wasmModule.WorkflowType.SelfieWithAggregationMetrics;
858
- case WasmPipelineType.SelfieWithQualityMetrics: return this.wasmModule.WorkflowType.SelfieWithQualityMetrics;
859
- case WasmPipelineType.OnDeviceSelfieWorkflow: return this.wasmModule.WorkflowType.OnDeviceSelfieWorkflow;
826
+ case 0: return this.wasmModule.WorkflowType.IdBlurGlareWorkflow;
827
+ case 1: return this.wasmModule.WorkflowType.IdBarcodeAndTextQualityWorkflow;
828
+ case 2: return this.wasmModule.WorkflowType.IdVideoSelfieWorkflow;
829
+ case 3: return this.wasmModule.WorkflowType.SelfieWithAggregationMetrics;
830
+ case 4: return this.wasmModule.WorkflowType.SelfieWithQualityMetrics;
831
+ case 5: return this.wasmModule.WorkflowType.OnDeviceSelfieWorkflow;
860
832
  default: throw new Error("Unknown pipeline type");
861
833
  }
862
834
  }
863
835
  pipelineTypeFromWasmEnum(type) {
864
836
  switch (type) {
865
- case this.wasmModule.WorkflowType.IdBlurGlareWorkflow: return WasmPipelineType.IdBlurGlarePipeline;
866
- case this.wasmModule.WorkflowType.IdBarcodeAndTextQualityWorkflow: return WasmPipelineType.IdBarcodeAndTextQualityPipeline;
867
- case this.wasmModule.WorkflowType.IdVideoSelfieWorkflow: return WasmPipelineType.IdVideoSelfiePipeline;
868
- case this.wasmModule.WorkflowType.SelfieWithAggregationMetrics: return WasmPipelineType.SelfieWithAggregationMetrics;
869
- case this.wasmModule.WorkflowType.SelfieWithQualityMetrics: return WasmPipelineType.SelfieWithQualityMetrics;
870
- case this.wasmModule.WorkflowType.OnDeviceSelfieWorkflow: return WasmPipelineType.OnDeviceSelfieWorkflow;
837
+ case this.wasmModule.WorkflowType.IdBlurGlareWorkflow: return 0;
838
+ case this.wasmModule.WorkflowType.IdBarcodeAndTextQualityWorkflow: return 1;
839
+ case this.wasmModule.WorkflowType.IdVideoSelfieWorkflow: return 2;
840
+ case this.wasmModule.WorkflowType.SelfieWithAggregationMetrics: return 3;
841
+ case this.wasmModule.WorkflowType.SelfieWithQualityMetrics: return 4;
842
+ case this.wasmModule.WorkflowType.OnDeviceSelfieWorkflow: return 5;
871
843
  default: throw new Error("Unknown pipeline type");
872
844
  }
873
845
  }
874
846
  IdCaptureModelTypeToWasmEnum(type) {
875
847
  switch (type) {
876
- case IdCaptureModelType.IdCaptureV1x: return this.wasmModule.IdCaptureModelType.IdCaptureV1x;
877
- case IdCaptureModelType.IdCaptureV2x: return this.wasmModule.IdCaptureModelType.IdCaptureV2x;
878
- case IdCaptureModelType.IdCaptureV3x: return this.wasmModule.IdCaptureModelType.IdCaptureV3x;
848
+ case 0: return this.wasmModule.IdCaptureModelType.IdCaptureV1x;
849
+ case 1: return this.wasmModule.IdCaptureModelType.IdCaptureV2x;
850
+ case 2: return this.wasmModule.IdCaptureModelType.IdCaptureV3x;
879
851
  default: throw new Error("Unknown Id Capture model type");
880
852
  }
881
853
  }
882
854
  IdCaptureModelTypeFromWasmEnum(type) {
883
855
  switch (type) {
884
- case this.wasmModule.IdCaptureModelType.IdCaptureV1x: return IdCaptureModelType.IdCaptureV1x;
885
- case this.wasmModule.IdCaptureModelType.IdCaptureV2x: return IdCaptureModelType.IdCaptureV2x;
886
- case this.wasmModule.IdCaptureModelType.IdCaptureV3x: return IdCaptureModelType.IdCaptureV3x;
856
+ case this.wasmModule.IdCaptureModelType.IdCaptureV1x: return 0;
857
+ case this.wasmModule.IdCaptureModelType.IdCaptureV2x: return 1;
858
+ case this.wasmModule.IdCaptureModelType.IdCaptureV3x: return 2;
887
859
  default: throw new Error("Unknown Id Capture model type");
888
860
  }
889
861
  }
890
862
  checkWasmInitialization(message) {
891
863
  if (!this.isInitialized()) throw new Error(message);
892
864
  }
893
- };
894
- var mlWasmJSApi_default = MlWasmJSApi.getInstance();
895
-
865
+ }.getInstance();
896
866
  //#endregion
897
867
  //#region ../infra/src/wasm/warmup.ts
898
868
  /**
@@ -938,11 +908,11 @@ let lastConfig = null;
938
908
  let pipelinesInFlight = [];
939
909
  function mapPipelineToWasmType(pipeline) {
940
910
  switch (pipeline) {
941
- case "selfie": return WasmPipelineType.SelfieWithQualityMetrics;
942
- case "onDeviceSelfie": return WasmPipelineType.OnDeviceSelfieWorkflow;
943
- case "idCapture": return WasmPipelineType.IdBlurGlarePipeline;
944
- case "videoSelfie": return WasmPipelineType.SelfieWithAggregationMetrics;
945
- case "videoSelfieId": return WasmPipelineType.IdVideoSelfiePipeline;
911
+ case "selfie": return 4;
912
+ case "onDeviceSelfie": return 5;
913
+ case "idCapture": return 0;
914
+ case "videoSelfie": return 3;
915
+ case "videoSelfieId": return 2;
946
916
  default: throw new Error(`Unknown pipeline: ${pipeline}`);
947
917
  }
948
918
  }
@@ -1013,7 +983,7 @@ async function warmupWasm(config) {
1013
983
  if (pipelines.filter((p) => !loadedPipelines.includes(p)).length === 0) return;
1014
984
  if (!lastConfig) throw new Error("Cannot add pipelines: original warmup config not available");
1015
985
  if (lastConfig.wasmPath !== config.wasmPath || lastConfig.glueCodePath !== config.glueCodePath || (lastConfig.wasmSimdPath ?? lastConfig.wasmPath) !== (config.wasmSimdPath ?? config.wasmPath) || (lastConfig.glueCodeSimdPath ?? "") !== (config.glueCodeSimdPath ?? "") || (lastConfig.useSimd ?? true) !== (config.useSimd ?? true)) throw new Error("Cannot add pipelines: WASM config mismatch. Use same wasmPath, glueCodePath, and useSimd settings.");
1016
- const combinedPipelines = [...new Set([...loadedPipelines, ...pipelines])];
986
+ const combinedPipelines = [.../* @__PURE__ */ new Set([...loadedPipelines, ...pipelines])];
1017
987
  state = "loading";
1018
988
  pipelinesInFlight = combinedPipelines;
1019
989
  wasmError = null;
@@ -1113,7 +1083,6 @@ function waitForWasm() {
1113
1083
  function setWasmOnDeviceMode(enabled) {
1114
1084
  mlWasmJSApi_default.setOnDeviceMode(enabled);
1115
1085
  }
1116
-
1117
1086
  //#endregion
1118
1087
  //#region ../infra/src/providers/wasm/BaseWasmProvider.ts
1119
1088
  /**
@@ -1198,7 +1167,6 @@ var BaseWasmProvider = class {
1198
1167
  this._isInitialized = false;
1199
1168
  }
1200
1169
  };
1201
-
1202
1170
  //#endregion
1203
1171
  //#region ../infra/src/providers/wasm/WasmUtilProvider.ts
1204
1172
  var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
@@ -1348,6 +1316,5 @@ var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
1348
1316
  return mlWasmJSApi_default.getVersions();
1349
1317
  }
1350
1318
  };
1351
-
1352
1319
  //#endregion
1353
- export { mlWasmJSApi_default as a, initializeWasmWebClient as c, WasmPipelineType as d, IdCaptureModelType as f, warmupWasm as i, setWebApiHttpTransport as l, BaseWasmProvider as n, WasmWebClientError as o, deriveSiblingJsPath as p, setWasmOnDeviceMode as r, executeWasmRequest as s, WasmUtilProvider as t, setupWasmConnection as u };
1320
+ export { mlWasmJSApi_default as a, initializeWasmWebClient as c, deriveSiblingJsPath as d, warmupWasm as i, setWebApiHttpTransport as l, BaseWasmProvider as n, WasmWebClientError as o, setWasmOnDeviceMode as r, executeWasmRequest as s, WasmUtilProvider as t, setupWasmConnection as u };
@@ -1,10 +1,8 @@
1
- import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CHloo0eQ.esm.js";
2
- import { t as api } from "./api-DsbUi7TO.esm.js";
3
- import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
4
- import { i as fromCallback } from "./xstate.esm-nY3M5UYm.esm.js";
5
-
6
- //#region src/shared/usStates.ts
7
- const usStates = {
1
+ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
+ import { t as api } from "./api-BDTZNnca.esm.js";
3
+ import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
4
+ import { t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
+ const usStateOptions = Object.values({
8
6
  AL: {
9
7
  code: "AL",
10
8
  name: "Alabama"
@@ -205,12 +203,10 @@ const usStates = {
205
203
  code: "WY",
206
204
  name: "Wyoming"
207
205
  }
208
- };
209
- const usStateOptions = Object.values(usStates).map((state) => ({
206
+ }).map((state) => ({
210
207
  value: state.code,
211
208
  label: state.name
212
209
  }));
213
-
214
210
  //#endregion
215
211
  //#region src/shared/addressSuggestion.ts
216
212
  /** Shown when an autocomplete suggestion has no street (city/region-level result). */
@@ -266,14 +262,9 @@ function buildStreetValue(street, houseNumber, hasHouseNoField) {
266
262
  if (houseNumber && street) return `${houseNumber} ${street}`;
267
263
  return houseNumber ?? street ?? "";
268
264
  }
269
-
270
265
  //#endregion
271
266
  //#region src/shared/displayErrors.ts
272
267
  const DYNAMIC_REQUIRED_KEY = "verification.errors.fieldRequiredDynamic";
273
-
274
- //#endregion
275
- //#region src/shared/postalCode.ts
276
- const DEFAULT_POSTAL_CODE_MAX_LENGTH = 8;
277
268
  const POSTAL_CODE_MAX_LENGTH_BY_COUNTRY = {
278
269
  US: 10,
279
270
  BR: 9,
@@ -304,7 +295,7 @@ const FIXED_DIGIT_POSTAL_CODE_LENGTH = {
304
295
  IL: 7
305
296
  };
306
297
  function getPostalCodeMaxLength(country) {
307
- return POSTAL_CODE_MAX_LENGTH_BY_COUNTRY[country] ?? DEFAULT_POSTAL_CODE_MAX_LENGTH;
298
+ return POSTAL_CODE_MAX_LENGTH_BY_COUNTRY[country] ?? 8;
308
299
  }
309
300
  function getPostalCodeErrorKey(country) {
310
301
  if (country in FIXED_DIGIT_POSTAL_CODE_LENGTH) return FIXED_LENGTH_KEY;
@@ -347,7 +338,7 @@ function validatePostalCode(postalCode, country) {
347
338
  case "CM": return postalCode.length > 0;
348
339
  default: {
349
340
  const stripped = postalCode.replace(/\D/g, "");
350
- return /^\d+$/.test(stripped) && [5, DEFAULT_POSTAL_CODE_MAX_LENGTH].includes(stripped.length);
341
+ return /^\d+$/.test(stripped) && [5, 8].includes(stripped.length);
351
342
  }
352
343
  }
353
344
  }
@@ -382,9 +373,8 @@ function formatPostalCode(value, country) {
382
373
  if (country === "IL") return value.replace(/\D/g, "").slice(0, 7);
383
374
  if (country === "CN" || country === "NG") return value.replace(/\D/g, "").slice(0, 6);
384
375
  if (country === "DE" || country === "FR" || country === "IT" || country === "MX" || country === "KE") return value.replace(/\D/g, "").slice(0, 5);
385
- return value.slice(0, DEFAULT_POSTAL_CODE_MAX_LENGTH);
376
+ return value.slice(0, 8);
386
377
  }
387
-
388
378
  //#endregion
389
379
  //#region src/shared/addressSearch.ts
390
380
  /** Searches for address suggestions via the address autocomplete API. */
@@ -431,6 +421,5 @@ const debounceSearchActor = fromCallback(({ input, sendBack }) => {
431
421
  controller.abort();
432
422
  };
433
423
  });
434
-
435
424
  //#endregion
436
- 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 };
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 };
@@ -1,10 +1,6 @@
1
- import "./StateMachine-BTkXO3Na.js";
2
- import { t as Manager } from "./Manager-DE5DydXZ.js";
3
- import "./Actor-CdjYVucI.js";
4
- import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-WMHgnbC1.js";
5
-
1
+ import { t as Manager } from "./Manager-CQQ99QOI.js";
2
+ import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-CKbmDFNq.js";
6
3
  //#region src/modules/ae-signature/index.d.ts
7
-
8
4
  type AeSignatureConfig = Omit<ElectronicSignatureConfig, 'variant'>;
9
5
  declare function createAeSignatureManager(options: {
10
6
  config: AeSignatureConfig;
@@ -1,11 +1,10 @@
1
- import "./api-DsbUi7TO.esm.js";
2
- import "./events-aeCkGlnn.esm.js";
3
- import "./endpoints-CwrFQfW7.esm.js";
4
- import "./xstate.esm-nY3M5UYm.esm.js";
5
- import "./urlUtils-CpiYwn7w.esm.js";
6
- import "./externalFetch-hvmz_npP.esm.js";
7
- import "./apiError-DkOXfFBu.esm.js";
8
- import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks } from "./electronicSignatureManager-CzMj-Tjm.esm.js";
9
- import { t as createAeSignatureManager } from "./ae-signature-eQWjmzE8.esm.js";
10
-
11
- export { AE_CONSENT_KEYS, electronicSignatureMachine as aeSignatureMachine, areAllConsented, createAeSignatureManager, getDefaultConsentChecks };
1
+ import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-DSZu9OHT.esm.js";
2
+ //#region src/modules/ae-signature/index.ts
3
+ function createAeSignatureManager(options) {
4
+ return createElectronicSignatureManager({ config: {
5
+ ...options.config,
6
+ variant: "ae"
7
+ } });
8
+ }
9
+ //#endregion
10
+ export { AE_CONSENT_KEYS, electronicSignatureMachine as aeSignatureMachine, areAllConsented, createAeSignatureManager, getDefaultConsentChecks };
@@ -1,10 +1,5 @@
1
- import "./StateMachine-BTkXO3Na.js";
2
- import "./Manager-DE5DydXZ.js";
3
- import "./Actor-CdjYVucI.js";
4
- import { i as createAntifraudManagerFromActor, n as AntifraudState, o as antifraudMachine, r as createAntifraudManager, t as AntifraudManager } from "./antifraudManager-C490m0p4.js";
5
-
1
+ import { i as createAntifraudManagerFromActor, n as AntifraudState, o as antifraudMachine, r as createAntifraudManager, t as AntifraudManager } from "./antifraudManager-BY36bS12.js";
6
2
  //#region src/modules/antifraud/types.d.ts
7
-
8
3
  /**
9
4
  * Configuration options for the antifraud module.
10
5
  *
@@ -1,8 +1,3 @@
1
- import "./api-DsbUi7TO.esm.js";
2
- import "./events-aeCkGlnn.esm.js";
3
- import "./endpoints-CwrFQfW7.esm.js";
4
- import "./xstate.esm-nY3M5UYm.esm.js";
5
- import { t as antifraudMachine } from "./antifraudStateMachine-BQVw46N5.esm.js";
6
- import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-C1xnhF2Q.esm.js";
7
-
8
- export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
1
+ import { t as antifraudMachine } from "./antifraudStateMachine-Bf-IiCq7.esm.js";
2
+ import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-CL2YhiVX.esm.js";
3
+ export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
@@ -1,6 +1,6 @@
1
- import { t as Manager } from "./Manager-DE5DydXZ.js";
2
- import { t as ActorRefFrom } from "./Actor-CdjYVucI.js";
3
-
1
+ import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
+ import { t as Manager } from "./Manager-CQQ99QOI.js";
3
+ import "./Actor-iTq7YY48.js";
4
4
  //#region src/modules/antifraud/antifraudStateMachine.d.ts
5
5
  declare const antifraudMachine: any;
6
6
  type AntifraudMachine = typeof antifraudMachine;
@@ -1,12 +1,11 @@
1
- import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-aeCkGlnn.esm.js";
2
- import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
3
- import { t as antifraudMachine } from "./antifraudStateMachine-BQVw46N5.esm.js";
4
-
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
+ import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
+ import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
+ import { t as antifraudMachine } from "./antifraudStateMachine-Bf-IiCq7.esm.js";
5
5
  //#region src/modules/antifraud/antifraudActor.ts
6
6
  function createAntifraudActor() {
7
7
  return createActor(antifraudMachine).start();
8
8
  }
9
-
10
9
  //#endregion
11
10
  //#region src/modules/antifraud/antifraudManager.ts
12
11
  /**
@@ -44,7 +43,12 @@ function mapState(snapshot) {
44
43
  return { status: "idle" };
45
44
  }
46
45
  function createApi({ actor }) {
47
- return { load() {
46
+ return {
47
+ /**
48
+ * Kicks off the antifraud process.
49
+ * Transitions from 'idle' to 'processing'.
50
+ */
51
+ load() {
48
52
  actor.send({ type: "LOAD" });
49
53
  } };
50
54
  }
@@ -78,6 +82,5 @@ function createAntifraudManagerFromActor(actor) {
78
82
  instrumentation: createManagerInstrumentation(eventModuleNames.antifraud, { getEventScreenName: getAntifraudScreenName })
79
83
  });
80
84
  }
81
-
82
85
  //#endregion
83
- export { createAntifraudManagerFromActor as n, createAntifraudManager as t };
86
+ export { createAntifraudManagerFromActor as n, createAntifraudManager as t };
@@ -1,14 +1,13 @@
1
- import { t as api } from "./api-DsbUi7TO.esm.js";
2
- import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
3
- import { a as fromPromise, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
4
-
1
+ import { t as api } from "./api-BDTZNnca.esm.js";
2
+ import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
3
+ import { t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.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 });
8
8
  if (!res.ok) throw new Error(`GET ${endpoints.processAntifraud} failed: ${res.status} ${res.statusText}`);
9
9
  return res.data;
10
10
  }
11
-
12
11
  //#endregion
13
12
  //#region src/modules/antifraud/antifraudStateMachine.ts
14
13
  const antifraudMachine = setup({
@@ -34,6 +33,5 @@ const antifraudMachine = setup({
34
33
  finished: { type: "final" }
35
34
  }
36
35
  });
37
-
38
36
  //#endregion
39
- export { antifraudMachine as t };
37
+ export { antifraudMachine as t };
@@ -67,6 +67,5 @@ const api = {
67
67
  return getApi().delete(url, addTokenHeader(config));
68
68
  }
69
69
  };
70
-
71
70
  //#endregion
72
- export { resetApi as a, isApiConfigured as i, getApi as n, setClient as o, getToken as r, setToken as s, api as t };
71
+ export { resetApi as a, isApiConfigured as i, getApi as n, setClient as o, getToken as r, setToken as s, api as t };
@@ -46,6 +46,5 @@ function toIncodeApiError(endpoint, err) {
46
46
  const message = body.error ?? body.message ?? err.statusText ?? `HTTP ${err.status}`;
47
47
  throw new IncodeApiError(endpoint, status, err.status, message, err);
48
48
  }
49
-
50
49
  //#endregion
51
- export { toIncodeApiError as n, IncodeApiError as t };
50
+ export { toIncodeApiError as n, IncodeApiError as t };
@@ -1,20 +1,3 @@
1
- import "./warmup-CE9Fhs6N.js";
2
- import "./StateMachine-BTkXO3Na.js";
3
- import "./Manager-DE5DydXZ.js";
4
- import "./Actor-CdjYVucI.js";
5
- import "./IVisibilityObserverCapability-C3tAkSfF.js";
6
- import { S as authenticationMachine, b as createAuthenticationActor, v as AuthenticationActor, x as AuthenticationConfig, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-CGFQg1kl.js";
7
- import "./camera-DRH7co71.js";
8
- import "./types-DCOl8zy6.js";
9
- import "./types-B6KIOo6S.js";
10
- import "./canvas-COIxuirO.js";
11
- import "./createFaceAvatar-BjBu2CrU.js";
12
- import "./types-NizIIgLD.js";
13
- import "./IWasmUtilCapability-CuiW_6d1.js";
14
- import "./types-DawqnFVn.js";
15
- import "./types-C0D4Brd6.js";
16
- import "./FaceDetectionProvider-D-zCGbS9.js";
17
- import "./StreamCanvasCapture-D9u4hwul.js";
18
- import "./deepsightService-mkIAy_Eq.js";
19
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-BD81fnrn.js";
1
+ import { S as authenticationMachine, b as createAuthenticationActor, v as AuthenticationActor, x as AuthenticationConfig, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-BWD3O4Eg.js";
2
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-G-k-13Fe.js";
20
3
  export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,34 +1,3 @@
1
- import "./WasmUtilProvider-BNQ2PBjG.esm.js";
2
- import "./api-DsbUi7TO.esm.js";
3
- import "./events-aeCkGlnn.esm.js";
4
- import "./endpoints-CwrFQfW7.esm.js";
5
- import "./stats-BVy52wLy.esm.js";
6
- import "./getBrowser-CZ66VtC7.esm.js";
7
- import "./browserSimulation-CQjwFn0Z.esm.js";
8
- import "./platform-BoeUeUrV.esm.js";
9
- import "./xstate.esm-nY3M5UYm.esm.js";
10
- import "./faceCaptureSetup-shrwrZaK.esm.js";
11
- import "./BrowserVisibilityObserverProvider-B04zvOXW.esm.js";
12
- import "./MotionSensorProvider-BkHKMCPE.esm.js";
13
- import "./permissionServices-B7lD6fiG.esm.js";
14
- import "./camera-B0yWS33x.esm.js";
15
- import "./faceCaptureManagerFactory-BIH53wvb.esm.js";
16
- import "./BrowserStorageProvider-CBXGCHnK.esm.js";
17
- import "./onDeviceFaceResults-CJuDp67S.esm.js";
18
- import "./ITimerCapability-G7lQg-be.esm.js";
19
- import "./canvas-DsJa51yU.esm.js";
20
- import "./backCameraStream-DYnfq7Hr.esm.js";
21
- import "./video-DXf5H9rY.esm.js";
22
- import "./getDeviceClass-BdgmyOOu.esm.js";
23
- import "./deepsightService-CV1NAkg9.esm.js";
24
- import "./getDeviceClass-DsNb6nEl.esm.js";
25
- import "./types-Db2ooXIu.esm.js";
26
- import "./createFaceAvatar-B_v2At2h.esm.js";
27
- import "./StreamCanvasCapture-CRk7c7u7.esm.js";
28
- import "./permissionGuards-CayfS8OY.esm.js";
29
- import "./recordingService-BzQUrf40.esm.js";
30
- import "./mediaRecorderOptions-BIn657lu.esm.js";
31
- import { t as authenticationMachine } from "./authenticationStateMachine-CJrTbLWU.esm.js";
32
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DZXQpCjQ.esm.js";
33
-
34
- export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-DiI8jfmO.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DM7ttL5V.esm.js";
3
+ export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,10 +1,9 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-BNQ2PBjG.esm.js";
2
- import { n as eventModuleNames } from "./events-aeCkGlnn.esm.js";
3
- import { s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
4
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BIH53wvb.esm.js";
5
- import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CBXGCHnK.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-CJrTbLWU.esm.js";
7
-
1
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-DAshwHhX.esm.js";
2
+ import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
3
+ import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CZLSziU3.esm.js";
5
+ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-DiI8jfmO.esm.js";
8
7
  //#region src/modules/authentication/authenticationActor.ts
9
8
  function createAuthenticationActor(options) {
10
9
  const dependencies = options.dependencies ?? {
@@ -17,7 +16,6 @@ function createAuthenticationActor(options) {
17
16
  authHint: options.authHint
18
17
  } }).start();
19
18
  }
20
-
21
19
  //#endregion
22
20
  //#region src/modules/authentication/authenticationManager.ts
23
21
  /**
@@ -71,6 +69,5 @@ function createAuthenticationManagerFromActor(actor, visibilityObserver) {
71
69
  function createAuthenticationManager(options) {
72
70
  return createFaceCaptureManagerFromActor(createAuthenticationActor(options), eventModuleNames.authFace);
73
71
  }
74
-
75
72
  //#endregion
76
- export { createAuthenticationManagerFromActor as n, createAuthenticationActor as r, createAuthenticationManager as t };
73
+ export { createAuthenticationManagerFromActor as n, createAuthenticationActor as r, createAuthenticationManager as t };
@@ -1,7 +1,6 @@
1
- import { t as Manager } from "./Manager-DE5DydXZ.js";
2
- import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-C3tAkSfF.js";
3
- import { n as FaceCaptureManagerState, t as FaceCaptureManager, v as AuthenticationActor, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-CGFQg1kl.js";
4
-
1
+ import { t as Manager } from "./Manager-CQQ99QOI.js";
2
+ import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
3
+ import { n as FaceCaptureManagerState, t as FaceCaptureManager, v as AuthenticationActor, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-BWD3O4Eg.js";
5
4
  //#region src/modules/authentication/authenticationManager.d.ts
6
5
  type AuthenticationState = FaceCaptureManagerState;
7
6
  /**