@incodetech/core 2.4.1 → 2.5.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 (311) hide show
  1. package/dist/Actor-DqjOqDfU.d.ts +1 -0
  2. package/dist/{BaseWasmProvider-Bq3OHo7P.d.ts → BaseWasmProvider-bBNquvYn.d.ts} +2 -2
  3. package/dist/BrowserNetworkStatusProvider-BrDXBEDd.esm.js +21 -0
  4. package/dist/{multipartRecordingService-CLwrF5wD.esm.js → CameraCompositor-ppyMYVoY.esm.js} +7 -744
  5. package/dist/DateFormattingProvider-DPq9zco-.esm.js +25 -0
  6. package/dist/{FaceDetectionProvider-J_-1Cwck.esm.js → FaceDetectionProvider-n9u4dEn_.esm.js} +28 -64
  7. package/dist/IBrowserEnvironmentCapability-D7JG7ML3.esm.js +16 -0
  8. package/dist/IGeolocationCapability-r49Qo7rR.d.ts +10 -0
  9. package/dist/{IIdCaptureCapability-CGcEt2Cw.d.ts → IIdCaptureCapability-C-5M8pP1.d.ts} +2 -2
  10. package/dist/{IWasmUtilCapability-GF2n7sfm.d.ts → IWasmUtilCapability-BRn0wz8v.d.ts} +33 -6
  11. package/dist/Manager-BvXAwDv9.esm.js +125 -0
  12. package/dist/{Manager-C9T5amUN.d.ts → Manager-DufwKlav.d.ts} +1 -7
  13. package/dist/MultipartRecordingProvider-CduV32Qa.esm.js +151 -0
  14. package/dist/{PhoneValidationProvider-SZiOS0jB.esm.js → PhoneValidationProvider-Co4zk2en.esm.js} +7 -0
  15. package/dist/{StreamCanvasCapture-7JRf-2ck.d.ts → StreamCanvasCapture-ixfy84ys.d.ts} +13 -4
  16. package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +42 -0
  17. package/dist/{WasmUtilProvider-DtJuBdt-.esm.js → WasmUtilProvider-0xTxgP0R.esm.js} +114 -25
  18. package/dist/WorkerEncoderRecordingProvider-CsDED9UU.esm.js +80 -0
  19. package/dist/addressSearch-Rxm1K67A.esm.js +73 -0
  20. package/dist/{advanceableErrors-q_pfU3Cn.esm.js → advanceableErrors-CxZyPRyh.esm.js} +4 -2
  21. package/dist/ae-signature.d.ts +2 -2
  22. package/dist/ae-signature.esm.js +1 -1
  23. package/dist/antifraud.d.ts +1 -1
  24. package/dist/antifraud.esm.js +2 -2
  25. package/dist/{antifraudManager-DbGCvlJs.d.ts → antifraudManager-BxfCsyA7.d.ts} +3 -3
  26. package/dist/{antifraudManager-CaweCYnY.esm.js → antifraudManager-DKNOi9-z.esm.js} +5 -3
  27. package/dist/{antifraudStateMachine-DRl0UVyA.esm.js → antifraudStateMachine-BJ6PmCsw.esm.js} +3 -3
  28. package/dist/{api-Cz90EHyu.esm.js → api-CZpuJuZl.esm.js} +11 -6
  29. package/dist/{apiError-9Yi8xMeB.esm.js → apiError-CtArBUt-.esm.js} +1 -1
  30. package/dist/attemptCarry-BecGGZK8.esm.js +45 -0
  31. package/dist/authentication.d.ts +3 -3
  32. package/dist/authentication.esm.js +2 -2
  33. package/dist/{authenticationManager-pKQS4fHT.esm.js → authenticationManager-9N3eg3Uh.esm.js} +7 -6
  34. package/dist/{authenticationManager-BIZC55Bi.d.ts → authenticationManager-DRaugLgH.d.ts} +2 -2
  35. package/dist/{authenticationStateMachine-D_DygKtQ.esm.js → authenticationStateMachine-DoK5RKIS.esm.js} +50 -18
  36. package/dist/avatar.d.ts +1 -1
  37. package/dist/backCameraLabel-yda5ugE4.esm.js +67 -0
  38. package/dist/{backCameraStream-CMvXj4X4.esm.js → backCameraStream-DS1oDiUq.esm.js} +12 -107
  39. package/dist/{callback-645_omgz.d.ts → callback-BmjJ1G-5.d.ts} +1 -1
  40. package/dist/{camera-sIa9ceW2.esm.js → camera-E_Kcre4O.esm.js} +15 -23
  41. package/dist/camera.d.ts +2 -2
  42. package/dist/camera.esm.js +1 -1
  43. package/dist/certificate-issuance.d.ts +1 -1
  44. package/dist/certificate-issuance.esm.js +2 -2
  45. package/dist/{certificateIssuanceManager-Dr8A4Lgr.d.ts → certificateIssuanceManager-BcYhxO63.d.ts} +4 -3
  46. package/dist/{certificateIssuanceManager-BfeMv2PU.esm.js → certificateIssuanceManager-DaUklfNj.esm.js} +5 -3
  47. package/dist/{certificateIssuanceStateMachine-Frgjbjw8.esm.js → certificateIssuanceStateMachine-_EQcjGE3.esm.js} +4 -4
  48. package/dist/cnpj-Bl_olpdX.esm.js +79 -0
  49. package/dist/connectivity-BCuEoQ-n.esm.js +114 -0
  50. package/dist/consent.d.ts +1 -1
  51. package/dist/consent.esm.js +2 -2
  52. package/dist/{consentManager-CvEu8h_W.esm.js → consentManager-BPocwpm2.esm.js} +7 -4
  53. package/dist/{consentManager-Ca8FHlC4.d.ts → consentManager-vI6QHkHU.d.ts} +16 -8
  54. package/dist/{consentStateMachine-DJTgN_-1.esm.js → consentStateMachine-DgiIcT9q.esm.js} +22 -9
  55. package/dist/cpf-DDXMTLYr.esm.js +37 -0
  56. package/dist/{createFaceAvatar-lYX0VTYs.d.ts → createFaceAvatar-BimBTONm.d.ts} +1 -1
  57. package/dist/cross-document-data-match.d.ts +1 -1
  58. package/dist/cross-document-data-match.esm.js +1 -1
  59. package/dist/{crossDocumentDataMatchManager-Cu141CE8.esm.js → crossDocumentDataMatchManager-BfA29Aji.esm.js} +6 -4
  60. package/dist/{crossDocumentDataMatchManager-yCWCOzcU.d.ts → crossDocumentDataMatchManager-crZcIUSY.d.ts} +3 -3
  61. package/dist/curp-DZGvefg3.esm.js +14 -0
  62. package/dist/curp-validation.d.ts +1 -1
  63. package/dist/curp-validation.esm.js +2 -2
  64. package/dist/{curpValidationManager-B-z9q5V3.esm.js → curpValidationManager-CbvBDoE1.esm.js} +6 -3
  65. package/dist/{curpValidationManager-C9sqoh9n.d.ts → curpValidationManager-Ci2iVuog.d.ts} +4 -4
  66. package/dist/{curpValidationStateMachine-vDEFLMPw.esm.js → curpValidationStateMachine-BQ8XK2Y3.esm.js} +30 -22
  67. package/dist/custom-fields.d.ts +1 -1
  68. package/dist/custom-fields.esm.js +1 -1
  69. package/dist/custom-watchlist.d.ts +1 -1
  70. package/dist/custom-watchlist.esm.js +2 -2
  71. package/dist/{customFieldsManager-D1ex2cFM.esm.js → customFieldsManager-BRqSCR9R.esm.js} +6 -4
  72. package/dist/{customFieldsManager-CF-cO8ap.d.ts → customFieldsManager-CdWTbsew.d.ts} +3 -3
  73. package/dist/{customWatchlistManager-CTI-SGk0.esm.js → customWatchlistManager-Bd1ooIDB.esm.js} +5 -3
  74. package/dist/{customWatchlistManager-DolUswyR.d.ts → customWatchlistManager-lJrveDS4.d.ts} +3 -3
  75. package/dist/{customWatchlistStateMachine-hmRd0f2I.esm.js → customWatchlistStateMachine-r8nGhyo1.esm.js} +3 -3
  76. package/dist/{deepsightService-C3DVBOZd.esm.js → deepsightLoader-zG373VVx.esm.js} +39 -69
  77. package/dist/definitionSource-Nw0YCbpe.esm.js +221 -0
  78. package/dist/{createCameraCycleOwnership-Dj_LHUvN.esm.js → desktopCameraElection-BKFjsQpO.esm.js} +178 -41
  79. package/dist/device.esm.js +2 -2
  80. package/dist/document-capture.d.ts +3 -3
  81. package/dist/document-capture.esm.js +2 -2
  82. package/dist/{documentCaptureManager-DUJwpKC5.esm.js → documentCaptureManager-BKaJVQxg.esm.js} +30 -20
  83. package/dist/{documentCaptureManager-DkyDtm3Y.d.ts → documentCaptureManager-CoGcEiMK.d.ts} +42 -8
  84. package/dist/{documentCaptureStateMachine-B8i7GnLh.esm.js → documentCaptureStateMachine-BYLb5Azk.esm.js} +107 -58
  85. package/dist/dynamic-forms.d.ts +2 -2
  86. package/dist/dynamic-forms.esm.js +2 -2
  87. package/dist/{dynamicFormsManager-DK_oc5Oy.esm.js → dynamicFormsManager-BfQKWG7a.esm.js} +5 -3
  88. package/dist/{dynamicFormsManager-C0dHs1ty.d.ts → dynamicFormsManager-C45pTncO.d.ts} +4 -4
  89. package/dist/{dynamicFormsStateMachine-CGlIAWZ6.esm.js → dynamicFormsStateMachine-CRq01QNK.esm.js} +4 -4
  90. package/dist/ekyb.d.ts +5 -5
  91. package/dist/ekyb.esm.js +3 -3
  92. package/dist/{ekybManager-BLgkiWXw.esm.js → ekybManager-B489iXyO.esm.js} +5 -3
  93. package/dist/{ekybManager-BaZ_7CEu.d.ts → ekybManager-BflWuTe4.d.ts} +5 -5
  94. package/dist/{ekybStateMachine-BfgOUZMK.esm.js → ekybStateMachine-DZxg8T0H.esm.js} +40 -56
  95. package/dist/ekybUtils-Cw8Ta9Qi.esm.js +140 -0
  96. package/dist/ekyc-prefill.d.ts +17 -0
  97. package/dist/ekyc-prefill.esm.js +3 -0
  98. package/dist/ekyc.d.ts +4 -3
  99. package/dist/ekyc.esm.js +3 -3
  100. package/dist/{ekycManager-DW-ynodd.d.ts → ekycManager-BKVQazAb.d.ts} +49 -7
  101. package/dist/{ekycManager-BO-Lui3t.esm.js → ekycManager-nRT0rxei.esm.js} +39 -16
  102. package/dist/ekycPrefillManager-BXWDF7vT.esm.js +103 -0
  103. package/dist/ekycPrefillManager-DOTl3Y2w.d.ts +566 -0
  104. package/dist/ekycPrefillStateMachine-CuWTVze1.esm.js +687 -0
  105. package/dist/ekycRules-DXP2hqVw.esm.js +479 -0
  106. package/dist/ekycStateMachine-nwJRel2s.esm.js +7897 -0
  107. package/dist/ekycUtils-FcqA6oU4.esm.js +1491 -0
  108. package/dist/electronic-signature.d.ts +1 -1
  109. package/dist/electronic-signature.esm.js +1 -1
  110. package/dist/{electronicSignatureManager-DTSLOvKR.d.ts → electronicSignatureManager-5tYz-a4o.d.ts} +4 -3
  111. package/dist/{electronicSignatureManager-CjKvJ6E-.esm.js → electronicSignatureManager-BcE0XMrN.esm.js} +8 -6
  112. package/dist/email.d.ts +1 -1
  113. package/dist/email.esm.js +2 -2
  114. package/dist/{emailManager-ButFktRm.esm.js → emailManager-Co4jarT1.esm.js} +5 -3
  115. package/dist/{emailManager-Dy6omJVp.d.ts → emailManager-pM7ZPuMa.d.ts} +3 -3
  116. package/dist/{emailStateMachine-BXtlC0NV.esm.js → emailStateMachine-CTEaYncs.esm.js} +34 -22
  117. package/dist/events-CP3yOzAl.esm.js +299 -0
  118. package/dist/events.d.ts +3 -1
  119. package/dist/events.esm.js +2 -1
  120. package/dist/extensibility.d.ts +43 -41
  121. package/dist/extensibility.esm.js +39 -37
  122. package/dist/{externalFetch-DrR9xshk.esm.js → externalFetch-CQY41QT1.esm.js} +4 -1
  123. package/dist/face-match.d.ts +1 -1
  124. package/dist/face-match.esm.js +2 -2
  125. package/dist/{faceCaptureManagerFactory-BDGhg24q.esm.js → faceCaptureManagerFactory-BBQzNrku.esm.js} +17 -6
  126. package/dist/{faceCaptureManagerFactory-1hzeS_rB.d.ts → faceCaptureManagerFactory-CRGajjZ4.d.ts} +84 -72
  127. package/dist/{faceCaptureSetup-CvGYG4GZ.esm.js → faceCaptureSetup-D8_ilXFc.esm.js} +117 -482
  128. package/dist/{faceMatchManager-DIgG-UFS.d.ts → faceMatchManager-C5b5WtcY.d.ts} +23 -7
  129. package/dist/{faceMatchManager-DWFUQjMQ.esm.js → faceMatchManager-CGmNGbov.esm.js} +5 -3
  130. package/dist/{faceMatchStateMachine-CUCvlydD.esm.js → faceMatchStateMachine-BuHt7kec.esm.js} +68 -29
  131. package/dist/{feature-management-D4ne_hXW.esm.js → feature-management-SIBmKJs8.esm.js} +35 -21
  132. package/dist/feature-management.esm.js +1 -1
  133. package/dist/field-comparison.d.ts +1 -1
  134. package/dist/field-comparison.esm.js +1 -1
  135. package/dist/{fieldComparisonManager-v3knTYV_.esm.js → fieldComparisonManager-VgCU4X96.esm.js} +6 -4
  136. package/dist/{fieldComparisonManager-CUX4gza2.d.ts → fieldComparisonManager-mFOHRhVd.d.ts} +3 -3
  137. package/dist/fiscal-qr.d.ts +1 -1
  138. package/dist/fiscal-qr.esm.js +1 -1
  139. package/dist/{fiscalQrManager-D0Iy7EKR.d.ts → fiscalQrManager-DFnFVpP9.d.ts} +3 -3
  140. package/dist/{fiscalQrManager-Dt9fHG7h.esm.js → fiscalQrManager-DOLq45ph.esm.js} +8 -6
  141. package/dist/flow-events.d.ts +1 -1
  142. package/dist/flow.d.ts +75 -24
  143. package/dist/flow.esm.js +288 -70
  144. package/dist/{flowCompletionService-Cemwaa5b.esm.js → flowCompletionService-BFCddN3G.esm.js} +24 -3
  145. package/dist/{flowServices-X6Rwf_7E.esm.js → flowServices-NX4ksmS5.esm.js} +447 -183
  146. package/dist/geolocation.d.ts +1 -1
  147. package/dist/geolocation.esm.js +2 -2
  148. package/dist/{geolocationManager-Dn24g1fl.d.ts → geolocationManager-CENrvxpK.d.ts} +19 -20
  149. package/dist/{geolocationManager-B0dc5rW9.esm.js → geolocationManager-D1Ga7_lB.esm.js} +9 -9
  150. package/dist/{geolocationStateMachine-B3rcoODF.esm.js → geolocationStateMachine-oPgI5FIQ.esm.js} +14 -10
  151. package/dist/{getDeviceClass-bsWdEDxP.esm.js → getDeviceClass-DoIWuKI8.esm.js} +1 -1
  152. package/dist/government-validation.d.ts +1 -1
  153. package/dist/government-validation.esm.js +2 -2
  154. package/dist/{governmentValidationManager-BtXWHICu.esm.js → governmentValidationManager-6JQQkzha.esm.js} +5 -3
  155. package/dist/{governmentValidationManager-B82zOut8.d.ts → governmentValidationManager-De_vU7bm.d.ts} +4 -4
  156. package/dist/{governmentValidationStateMachine-COL-Vs48.esm.js → governmentValidationStateMachine-wBunpfQ9.esm.js} +3 -3
  157. package/dist/home.d.ts +4 -3
  158. package/dist/home.esm.js +4 -2
  159. package/dist/http.esm.js +1 -1
  160. package/dist/id-ocr.d.ts +2 -2
  161. package/dist/id-ocr.esm.js +3 -19
  162. package/dist/id-selfie-flow.d.ts +6 -5
  163. package/dist/id-selfie-flow.esm.js +13 -11
  164. package/dist/id-verification.d.ts +1 -1
  165. package/dist/id-verification.esm.js +2 -2
  166. package/dist/id.d.ts +4 -17
  167. package/dist/id.esm.js +4 -4
  168. package/dist/{idCaptureDefaults-BGsG2OAs.esm.js → idCaptureDefaults-Drh207VJ.esm.js} +3 -3
  169. package/dist/{idCaptureManager-0M02hSuC.d.ts → idCaptureManager-Cqx2y_fC.d.ts} +76 -12
  170. package/dist/{idCaptureManager-IouAnrFm.esm.js → idCaptureManager-DjZyIbxc.esm.js} +68 -19
  171. package/dist/{idCaptureServices-VTKIPSpT.esm.js → idCaptureServices-DWs9Fb58.esm.js} +29 -198
  172. package/dist/{idCaptureStateMachine-_Pn2Xkpb.esm.js → idCaptureStateMachine-BGMkWF9t.esm.js} +961 -553
  173. package/dist/idOcrCpfUtils-D5Gwskxu.esm.js +18 -0
  174. package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-DflRx-_u.d.ts} +6 -5
  175. package/dist/{idOcrManager-D3-HNMXP.esm.js → idOcrManager-im7VfJQi.esm.js} +5 -3
  176. package/dist/{idOcrStateMachine-DyENX6Ki.esm.js → idOcrStateMachine-B832arAl.esm.js} +11 -10
  177. package/dist/{idVerificationManager-BJapZfpy.d.ts → idVerificationManager-B6R8xNZq.d.ts} +4 -3
  178. package/dist/{idVerificationManager-iWz7Avkr.esm.js → idVerificationManager-PMGM4hXY.esm.js} +5 -3
  179. package/dist/{idVerificationStateMachine-CL1kUdBe.esm.js → idVerificationStateMachine-DeeugC00.esm.js} +3 -3
  180. package/dist/identity-reuse.d.ts +2 -2
  181. package/dist/identity-reuse.esm.js +2 -2
  182. package/dist/identity-search.d.ts +97 -0
  183. package/dist/identity-search.esm.js +97 -0
  184. package/dist/{identityReuseManager-ooAbp6Kc.d.ts → identityReuseManager-C40ngKeM.d.ts} +86 -19
  185. package/dist/{identityReuseManager-CD1ucp1d.esm.js → identityReuseManager-CjFZ7WRa.esm.js} +9 -4
  186. package/dist/{identityReuseStateMachine-DfV81wQC.esm.js → identityReuseStateMachine-CLFjPp13.esm.js} +22 -25
  187. package/dist/index-DHuAkTe0.d.ts +1 -0
  188. package/dist/{index-CKQ9QBZP.d.ts → index-DxYNO94y.d.ts} +2 -2
  189. package/dist/index.d.ts +1 -1
  190. package/dist/index.esm.js +1 -1
  191. package/dist/{invokeOnCaptureCallback-DYrkOXO6.esm.js → invokeOnCaptureCallback-lXP41N7b.esm.js} +1 -1
  192. package/dist/kyb-checks.d.ts +3 -0
  193. package/dist/kyb-checks.esm.js +3 -0
  194. package/dist/kybChecksManager-B7Di9auB.d.ts +95 -0
  195. package/dist/kybChecksManager-eRU3ht0m.esm.js +90 -0
  196. package/dist/kybChecksStateMachine-CU0oIYDR.esm.js +720 -0
  197. package/dist/mandatory-consent.d.ts +2 -2
  198. package/dist/mandatory-consent.esm.js +2 -2
  199. package/dist/{mandatoryConsentManager-qYojnZYg.d.ts → mandatoryConsentManager-C1B2ERZk.d.ts} +28 -11
  200. package/dist/{mandatoryConsentManager-Cwqx1nK7.esm.js → mandatoryConsentManager-Dh3pBhOe.esm.js} +7 -4
  201. package/dist/{mandatoryConsentStateMachine-pXWqAHo_.esm.js → mandatoryConsentStateMachine-BjuI72HZ.esm.js} +32 -13
  202. package/dist/mediaRecorderOptions-g1TwTlhd.esm.js +87 -0
  203. package/dist/multipartRecordingService-WgK8ieRI.esm.js +407 -0
  204. package/dist/{permissionGuards-gcy3U0SL.esm.js → permissionGuards-pcrrqrPR.esm.js} +1 -1
  205. package/dist/{permissionServices-Ca-tSNhT.esm.js → permissionServices-DFJlH7K3.esm.js} +11 -9
  206. package/dist/phone-number.d.ts +7 -1
  207. package/dist/phone-number.esm.js +15 -2
  208. package/dist/phone.d.ts +1 -1
  209. package/dist/phone.esm.js +2 -2
  210. package/dist/phoneFormat-C3q0Ukh4.esm.js +27 -0
  211. package/dist/{phoneManager-BO-LTih5.d.ts → phoneManager-VO1HEoUZ.d.ts} +8 -3
  212. package/dist/{phoneManager-KKUq-Vgo.esm.js → phoneManager-rA7updqF.esm.js} +6 -4
  213. package/dist/phoneServices-CFXcwCFr.esm.js +77 -0
  214. package/dist/{phoneStateMachine-D2QWS2cu.esm.js → phoneStateMachine-DKdY2Scx.esm.js} +56 -84
  215. package/dist/{phoneValidation-DnBcNUNh.esm.js → phoneValidation-OggtfjRt.esm.js} +1 -2
  216. package/dist/{platform-DkcRc9JV.esm.js → platform-aPh7gTWh.esm.js} +15 -1
  217. package/dist/processFaceMatch-B_DkDTE5.esm.js +21 -0
  218. package/dist/qe-signature.d.ts +2 -2
  219. package/dist/qe-signature.esm.js +1 -1
  220. package/dist/recordingService-DxiwS8TV.esm.js +397 -0
  221. package/dist/redirect-to-mobile.d.ts +2 -2
  222. package/dist/redirect-to-mobile.esm.js +2 -2
  223. package/dist/{redirectToMobileManager-uHW3dyuQ.esm.js → redirectToMobileManager-DjsEtWLq.esm.js} +9 -6
  224. package/dist/{redirectToMobileManager-CVsvpVbQ.d.ts → redirectToMobileManager-pT6FiPE7.d.ts} +6 -4
  225. package/dist/{redirectToMobileStateMachine-b-H-ipGM.esm.js → redirectToMobileStateMachine-CMjjUXSu.esm.js} +67 -28
  226. package/dist/resolveForm-DaaQSVWp.esm.js +146 -0
  227. package/dist/{runChildModule-DSpP41Hl.esm.js → runChildModule-CJ_aQO92.esm.js} +9 -7
  228. package/dist/{sdkVersion-DKHwWEyH.esm.js → sdkVersion-C9kbIDeX.esm.js} +1 -1
  229. package/dist/selfie.d.ts +4 -4
  230. package/dist/selfie.esm.js +13 -12
  231. package/dist/{selfieErrorUtils-DoN1KFSQ.esm.js → selfieErrorUtils-DUokfsv4.esm.js} +1 -1
  232. package/dist/{selfieManager-BJdNu_nd.d.ts → selfieManager-DihwheJ6.d.ts} +2 -2
  233. package/dist/{selfieManager-DtQegA6T.esm.js → selfieManager-uJtbzEp9.esm.js} +7 -6
  234. package/dist/{selfieStateMachine-CnCwJZuC.esm.js → selfieStateMachine-CKXAmNkA.esm.js} +5 -5
  235. package/dist/{session-CNUfjlRc.esm.js → session-Bk2K8TEv.esm.js} +77 -9
  236. package/dist/session.d.ts +96 -10
  237. package/dist/session.esm.js +7 -6
  238. package/dist/{sessionInitializer-JM_glXR2.esm.js → sessionInitializer-CUCBGZ_s.esm.js} +359 -115
  239. package/dist/{setup-C5tfWt6W.esm.js → setup-B3a5KQeI.esm.js} +36 -27
  240. package/dist/{setup-YPKTUCY5.d.ts → setup-DpOr8H_l.d.ts} +2 -2
  241. package/dist/signature.d.ts +1 -1
  242. package/dist/signature.esm.js +2 -2
  243. package/dist/{signatureManager-f_dPAGXn.esm.js → signatureManager-BgAja97K.esm.js} +5 -3
  244. package/dist/{signatureManager-BpVt_Jv7.d.ts → signatureManager-daT_8fj_.d.ts} +3 -3
  245. package/dist/{signatureStateMachine-C-nUq_oq.esm.js → signatureStateMachine-CVPmvU2p.esm.js} +3 -3
  246. package/dist/{spawn-D9jgw9pW.d.ts → spawn-COZKetCS.d.ts} +1 -1
  247. package/dist/{stats-BEvexnKC.esm.js → stats-DoByUnTa.esm.js} +1 -1
  248. package/dist/stats.esm.js +1 -1
  249. package/dist/textRules-D4NRinKY.d.ts +41 -0
  250. package/dist/{trueSightService-fLmL_cyg.esm.js → trueSightService-BnQDjqUu.esm.js} +22 -10
  251. package/dist/trust-graph.d.ts +4 -3
  252. package/dist/trust-graph.esm.js +5 -3
  253. package/dist/{types-yPH8lAH-.d.ts → types-9wlf1-GE.d.ts} +3 -3
  254. package/dist/types-B-PIc0en.d.ts +115 -0
  255. package/dist/types-B9C8W01q.d.ts +34 -0
  256. package/dist/{types-0L-eFDmr.d.ts → types-BgRHw-dR.d.ts} +1 -1
  257. package/dist/{types-CJ7Yl9K-.d.ts → types-Bpo97EOh.d.ts} +4 -2
  258. package/dist/{types-BQA7lRDV.d.ts → types-C3rfDzgE.d.ts} +4 -2
  259. package/dist/types-CE1jkHw3.d.ts +6 -0
  260. package/dist/types-CTaL0XJz.d.ts +80 -0
  261. package/dist/{types-BAxn7MpY.d.ts → types-Cpdum4vi.d.ts} +125 -50
  262. package/dist/{types-DUnFZ08M.d.ts → types-CyNndVAT.d.ts} +16 -8
  263. package/dist/types-DEa3taWc.d.ts +217 -0
  264. package/dist/{types-CK8Jbjkp.d.ts → types-DFP7eSle.d.ts} +1 -1
  265. package/dist/{types-Ckir_BEs.d.ts → types-DJPU3W2M.d.ts} +3 -2
  266. package/dist/{types-DPIDuhut.d.ts → types-DNVzoRvi.d.ts} +2 -1
  267. package/dist/{events-Du2A4-Qr.esm.js → types-DYYMdAGv.esm.js} +4 -299
  268. package/dist/{types-B6HsSzpk.d.ts → types-Ddc4Tr_f.d.ts} +42 -6
  269. package/dist/{urlUtils-6jsE6rKp.esm.js → urlUtils-eYiyWjh0.esm.js} +4 -1
  270. package/dist/usStates-CwOQ2kAx.esm.js +209 -0
  271. package/dist/video-selfie.d.ts +16 -14
  272. package/dist/video-selfie.esm.js +100 -24
  273. package/dist/{videoSelfieCameraWarmer-BBNKiau1.esm.js → videoSelfieCameraWarmer-CgqaNI-W.esm.js} +26 -27
  274. package/dist/{videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js → videoSelfieFlowModuleMachine-IWdxw1TW.esm.js} +1 -1
  275. package/dist/{videoSelfieStepDetector-CGsTltqB.d.ts → videoSelfieStepDetector-DRrh4P0A.d.ts} +10 -5
  276. package/dist/virtualCameraCheck-eFOm2C9q.esm.js +27 -0
  277. package/dist/{warmup-BO57syF6.d.ts → warmup-BNhIuURi.d.ts} +18 -2
  278. package/dist/{warmup-BElYWRh7.esm.js → warmup-BZOMg303.esm.js} +243 -30
  279. package/dist/wasm.d.ts +9 -3
  280. package/dist/wasm.esm.js +3 -3
  281. package/dist/{wasmDsFlagSync-CYj5LL9z.esm.js → wasmDsFlagSync-DPK7qGgo.esm.js} +1 -1
  282. package/dist/wasmMetadataVersionSync-U8EFUr1T.esm.js +27 -0
  283. package/dist/{wasmWebClient-BjZw_7OB.esm.js → wasmWebClient-CyLCM31e.esm.js} +45 -26
  284. package/dist/watchlist-for-business.d.ts +2 -1
  285. package/dist/watchlist-for-business.esm.js +2 -2
  286. package/dist/watchlist.d.ts +1 -1
  287. package/dist/watchlist.esm.js +2 -2
  288. package/dist/{watchlistForBusinessManager-CZZOFkGl.esm.js → watchlistForBusinessManager-BH6M4kqA.esm.js} +40 -8
  289. package/dist/{watchlistForBusinessManager-B3GDPZrr.d.ts → watchlistForBusinessManager-l7ZERQcV.d.ts} +57 -21
  290. package/dist/watchlistForBusinessStateMachine-BMWm5mcP.esm.js +166 -0
  291. package/dist/{watchlistManager-DXtX94SN.esm.js → watchlistManager-BDaVjzLW.esm.js} +5 -3
  292. package/dist/{watchlistManager-DJQOd8Pw.d.ts → watchlistManager-DQq4GxBO.d.ts} +3 -3
  293. package/dist/{watchlistStateMachine-McALifag.esm.js → watchlistStateMachine-Cx-6QAvu.esm.js} +3 -3
  294. package/dist/workflow.d.ts +234 -45
  295. package/dist/workflow.esm.js +194 -80
  296. package/dist/{xstate-actors.esm-8Gzepa_A.esm.js → xstate-actors.esm-BCcwgosu.esm.js} +1 -1
  297. package/dist/xstate.cjs-D6Ur0X1F.d.ts +7 -0
  298. package/dist/{xstate.esm-DSajW7CJ.esm.js → xstate.esm-CIqUf_i6.esm.js} +1 -125
  299. package/package.json +22 -5
  300. package/dist/Actor-DpTj5PFb.d.ts +0 -1
  301. package/dist/IBrowserEnvironmentCapability-DEaRRk-R.esm.js +0 -9
  302. package/dist/addressSearch-DPjIKJrX.esm.js +0 -563
  303. package/dist/cpf-uAZTPUBy.esm.js +0 -61
  304. package/dist/deepsightLoader-sH7920zw.esm.js +0 -55
  305. package/dist/ekycStateMachine-CDnI_NRq.esm.js +0 -1443
  306. package/dist/ekycUtils-zY8CdKJL.esm.js +0 -300
  307. package/dist/index-DpTj5PFb.d.ts +0 -1
  308. package/dist/types-BvLo3U4u.d.ts +0 -134
  309. package/dist/types-zOgZqMni.d.ts +0 -6
  310. package/dist/watchlistForBusinessStateMachine-B66E7jud.esm.js +0 -78
  311. /package/dist/{types-BSBzhHRH2.d.ts → types-BSBzhHRH.d.ts} +0 -0
@@ -1,16 +1,17 @@
1
- import { P as setWasmIntegrityObserver, _ as setWasmDiagnosticsHandler, w as resolveWasmConfig, y as DEFAULT_WASM_VERSION } from "./wasmWebClient-BjZw_7OB.esm.js";
2
- import { a as setWasmOnDeviceMode, d as drainWasmDiagnostics, f as getWasmDiagnosticsMode, n as getWarmupFacts, p as rearmWasmDiagnostics, s as warmupWasm } from "./warmup-BElYWRh7.esm.js";
3
- import { t as WasmUtilProvider } from "./WasmUtilProvider-DtJuBdt-.esm.js";
4
- import { S as setAnalyticsBatcher, b as getAnalyticsBatcher, c as resetExperimentAssignments, v as createAnalyticsBatchingService, x as resetAnalyticsBatcher } from "./events-Du2A4-Qr.esm.js";
5
- import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
6
- import { S as noteTestingSignals, d as categoryForEndpoint, f as getStoredHttpConfig, h as upgradeToWasmHttpClient$1, m as resetHttpClientState, n as initializeTrueSightDiagnostics, o as resetTrueSight, p as installFreshHttpClient, s as setTrueSightExternalDrain, t as finalizeTrueSight, u as trueSightLog } from "./trueSightService-fLmL_cyg.esm.js";
7
- import { a as resetSessionInit, b as BrowserEnvironmentProvider, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp, x as fingerprintSignalsReporter } from "./sessionInitializer-JM_glXR2.esm.js";
8
- import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.esm.js";
1
+ import { F as setWasmIntegrityObserver, T as resolveWasmConfig, b as DEFAULT_WASM_VERSION, v as setWasmDiagnosticsHandler } from "./wasmWebClient-CyLCM31e.esm.js";
2
+ import { a as setWasmOnDeviceMode, f as drainWasmDiagnostics, m as rearmWasmDiagnostics, n as getWarmupFacts, p as getWasmDiagnosticsMode, s as warmupWasm } from "./warmup-BZOMg303.esm.js";
3
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-0xTxgP0R.esm.js";
4
+ import { b as resetAnalyticsBatcher, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./types-DYYMdAGv.esm.js";
5
+ import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
6
+ import { i as createAnalyticsBatchingService, r as resetExperimentAssignments } from "./events-CP3yOzAl.esm.js";
7
+ import { S as noteTestingSignals, d as categoryForEndpoint, f as getStoredHttpConfig, h as upgradeToWasmHttpClient$1, m as resetHttpClientState, n as initializeTrueSightDiagnostics, o as resetTrueSight, p as installFreshHttpClient, s as setTrueSightExternalDrain, t as finalizeTrueSight, u as trueSightLog } from "./trueSightService-BnQDjqUu.esm.js";
8
+ import { C as BrowserEnvironmentProvider, _ as setStandaloneFlowPolicy, a as initializeSession, c as setClientHostingApp, d as setClientWasmDisabled, g as resolveStandaloneFlowPolicy, h as resetStandaloneFlowPolicy, l as setClientIpLookupEnabled, m as registerFlowPreloader, o as resetSessionInit, s as setClientFingerprintEnabled, u as setClientWasmConfig, w as fingerprintSignalsReporter } from "./sessionInitializer-CUCBGZ_s.esm.js";
9
9
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
10
- import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-D4ne_hXW.esm.js";
11
- import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-BEvexnKC.esm.js";
10
+ import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.esm.js";
11
+ import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-SIBmKJs8.esm.js";
12
+ import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-DoByUnTa.esm.js";
12
13
  import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-xzRLIIMN.esm.js";
13
- import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-X6Rwf_7E.esm.js";
14
+ import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-NX4ksmS5.esm.js";
14
15
  //#region ../infra/src/wasm/wasmRuntimeProfile.ts
15
16
  /**
16
17
  * The WASM facts TrueSight reports as `session.webProfile.wasm`
@@ -545,6 +546,12 @@ async function setup(options) {
545
546
  trueSightLog("severe", "http", "other", `http client install failed error=${String(error)}`);
546
547
  throw error;
547
548
  }
549
+ if (options.wasm === false) setClientWasmDisabled(true);
550
+ else if (effectiveWasm) setClientWasmDisabled(false);
551
+ if (effectiveWasm) setWasmConfig({
552
+ ...effectiveWasm,
553
+ pipelines: effectiveWasm.pipelines ? [...effectiveWasm.pipelines] : void 0
554
+ });
548
555
  if (options.token && isApiConfigured()) {
549
556
  const sessionOptions = { token: options.token };
550
557
  if (shouldPreloadFlow) sessionOptions.preloadFlow = true;
@@ -556,23 +563,11 @@ async function setup(options) {
556
563
  }
557
564
  configured = true;
558
565
  applyEnvironment(options.environment);
559
- if (effectiveWasm) {
560
- wasmConfig = {
561
- ...effectiveWasm,
562
- pipelines: effectiveWasm.pipelines ? [...effectiveWasm.pipelines] : void 0
563
- };
564
- await warmupWasm(effectiveWasm);
565
- await (await WasmUtilProvider.getInstance()).initialize({
566
- ...effectiveWasm,
567
- pipelines: effectiveWasm.pipelines ? [...effectiveWasm.pipelines] : void 0
568
- });
569
- fingerprintSignalsReporter.onWasmReady();
570
- if (!options.devMode) startDevtoolsDetector();
571
- }
566
+ let featureManagementReady;
572
567
  if (!getIsFeatureManagementLocked()) if (options.featureManagement === false) optOutFeatureManagement();
573
568
  else {
574
569
  const featureManagementSetupOptions = typeof options.featureManagement === "object" ? options.featureManagement : {};
575
- const featureManagementReady = initializeFeatureManagement({
570
+ const initialization = initializeFeatureManagement({
576
571
  environment: getEnvironment(),
577
572
  clientExperimentId: featureManagementSetupOptions.clientExperimentId,
578
573
  disableStableId: featureManagementSetupOptions.disableStableId,
@@ -581,10 +576,21 @@ async function setup(options) {
581
576
  appVersion: featureManagementSetupOptions.appVersion,
582
577
  redactedUserInfo: featureManagementSetupOptions.redactedUserInfo
583
578
  });
584
- if (featureManagementSetupOptions.awaitInitialization === true) await featureManagementReady;
579
+ if (featureManagementSetupOptions.awaitInitialization === true) featureManagementReady = initialization;
585
580
  }
586
581
  else if (options.featureManagement !== void 0) console.error("[FeatureManagement] Feature management is locked after the first setup() call and cannot be changed (re-enabled, disabled, or reconfigured). Ignoring this change. Call reset() before changing it.");
587
- if (options.tri) await initializeTRI(options.tri, { sessionToken: options.token });
582
+ const triReady = options.tri ? initializeTRI(options.tri, { sessionToken: options.token }) : void 0;
583
+ if (effectiveWasm) {
584
+ await warmupWasm(effectiveWasm);
585
+ await (await WasmUtilProvider.getInstance()).initialize({
586
+ ...effectiveWasm,
587
+ pipelines: effectiveWasm.pipelines ? [...effectiveWasm.pipelines] : void 0
588
+ });
589
+ fingerprintSignalsReporter.onWasmReady();
590
+ if (!options.devMode) startDevtoolsDetector();
591
+ }
592
+ await featureManagementReady;
593
+ await triReady;
588
594
  }
589
595
  /**
590
596
  * Sets the WASM configuration without performing warmup.
@@ -594,6 +600,7 @@ async function setup(options) {
594
600
  */
595
601
  function setWasmConfig(config) {
596
602
  wasmConfig = config;
603
+ setClientWasmConfig(resolveWasmConfig(config));
597
604
  }
598
605
  /**
599
606
  * Initializes WasmUtilProvider with the stored WASM configuration.
@@ -693,6 +700,8 @@ function reset() {
693
700
  resetTRI();
694
701
  configured = false;
695
702
  wasmConfig = void 0;
703
+ setClientWasmConfig(void 0);
704
+ setClientWasmDisabled(false);
696
705
  WasmUtilProvider.resetInstance();
697
706
  resetTRIProviderInstance();
698
707
  resetFeatureManagement();
@@ -1,4 +1,4 @@
1
- import { c as WasmPipeline, i as WasmModuleConfig, n as WasmModelsConfig, t as WarmupConfig } from "./warmup-BO57syF6.js";
1
+ import { c as WasmPipeline, i as WasmModuleConfig, n as WasmModelsConfig, t as WarmupConfig } from "./warmup-BNhIuURi.js";
2
2
  import { s as TransactionalRiskIntelligenceSetupConfig } from "./index-BKOWUhxG.js";
3
3
  import { c as FeatureManagementRedactedUserInfo } from "./IFeatureManagementCapability-De8wpbGh.js";
4
4
  //#region src/internal/environment/environment.d.ts
@@ -192,7 +192,7 @@ type SetupOptions = {
192
192
  * collection off (`sbc(false)`) once WASM is ready.
193
193
  *
194
194
  * It does **not** suppress the rest of native fingerprint collection:
195
- * against the pinned `v2.14.50-post1` runtime, WASM starts collecting during
195
+ * against the pinned runtime (`v2.14.49-post1` and later), WASM starts collecting during
196
196
  * initialization regardless of this flag, and the full fingerprint bucket is
197
197
  * serialized into the metadata bundle.
198
198
  *
@@ -1,2 +1,2 @@
1
- import { a as createSignatureManagerFromActor, c as SignatureConfig, i as createSignatureManager, n as SignatureManager, o as SignatureActor, r as SignatureState, s as signatureMachine, t as SignatureCaptureState } from "./signatureManager-BpVt_Jv7.js";
1
+ import { a as createSignatureManagerFromActor, c as SignatureConfig, i as createSignatureManager, n as SignatureManager, o as SignatureActor, r as SignatureState, s as signatureMachine, t as SignatureCaptureState } from "./signatureManager-daT_8fj_.js";
2
2
  export { type SignatureActor, type SignatureCaptureState, type SignatureConfig, type SignatureManager, type SignatureState, createSignatureManager, createSignatureManagerFromActor, signatureMachine };
@@ -1,3 +1,3 @@
1
- import { t as signatureMachine } from "./signatureStateMachine-C-nUq_oq.esm.js";
2
- import { n as createSignatureManagerFromActor, t as createSignatureManager } from "./signatureManager-f_dPAGXn.esm.js";
1
+ import { t as signatureMachine } from "./signatureStateMachine-CVPmvU2p.esm.js";
2
+ import { n as createSignatureManagerFromActor, t as createSignatureManager } from "./signatureManager-BgAja97K.esm.js";
3
3
  export { createSignatureManager, createSignatureManagerFromActor, signatureMachine };
@@ -1,7 +1,9 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Du2A4-Qr.esm.js";
1
+ import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
2
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
- import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as signatureMachine } from "./signatureStateMachine-C-nUq_oq.esm.js";
4
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
+ import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
+ import { t as signatureMachine } from "./signatureStateMachine-CVPmvU2p.esm.js";
5
7
  //#region src/modules/signature/signatureActor.ts
6
8
  function createSignatureActor(options) {
7
9
  return createActor(signatureMachine, { input: { config: options.config } }).start();
@@ -1,6 +1,6 @@
1
- import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
- import { t as Manager } from "./Manager-C9T5amUN.js";
3
- import "./Actor-DpTj5PFb.js";
1
+ import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
2
+ import { t as Manager } from "./Manager-DufwKlav.js";
3
+ import "./Actor-DqjOqDfU.js";
4
4
  //#region src/modules/signature/types.d.ts
5
5
  /**
6
6
  * Configuration options for Signature.
@@ -1,6 +1,6 @@
1
- import { t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
2
- import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
+ import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
+ import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
4
  //#region src/modules/signature/signatureServices.ts
5
5
  /**
6
6
  * Uploads a signature image to the Omni API.
@@ -1438,4 +1438,4 @@ type Spawner<TActor extends ProvidedActor> = IsLiteralString<TActor['src']> exte
1438
1438
  syncSnapshot?: boolean;
1439
1439
  } & (TLogic extends AnyActorLogic ? { [K in RequiredLogicInput<TLogic>]: unknown; } : {})], IsNotNever<TLogic extends AnyActorLogic ? RequiredLogicInput<TLogic> : never>>) => TLogic extends AnyActorLogic ? ActorRefFromLogic<TLogic> : AnyActorRef;
1440
1440
  //#endregion
1441
- export { StateMachine as A, StateValue as C, PromiseActorLogic as D, createActor as E, fromPromise as O, Snapshot as S, Actor as T, MachineContext as _, ActorRefFromLogic as a, RequiredActorOptions as b, AnyEventObject as c, DoneActorEvent as d, ErrorActorEvent as f, IsNotNever as g, InputFrom as h, ActorRefFrom as i, AnyActorSystem as j, MachineSnapshot as k, AnyStateMachine as l, GetConcreteByKey as m, ActorLogic as n, AnyActorLogic as o, EventObject as p, ActorRef as r, AnyActorRef as s, ActionFunction as t, ConditionalRequired as u, MetaObject as v, Values as w, RequiredLogicInput as x, NonReducibleUnknown as y };
1441
+ export { MachineSnapshot as A, Snapshot as C, createActor as D, Actor as E, AnyActorSystem as M, PromiseActorLogic as O, RequiredLogicInput as S, Values as T, IsNotNever as _, ActorRefFromLogic as a, NonReducibleUnknown as b, AnyEventObject as c, DoneActorEvent as d, DoneStateEvent as f, InputFrom as g, GetConcreteByKey as h, ActorRefFrom as i, StateMachine as j, fromPromise as k, AnyStateMachine as l, EventObject as m, ActorLogic as n, AnyActorLogic as o, ErrorActorEvent as p, ActorRef as r, AnyActorRef as s, ActionFunction as t, ConditionalRequired as u, MachineContext as v, StateValue as w, RequiredActorOptions as x, MetaObject as y };
@@ -1,4 +1,4 @@
1
- import { r as getToken, t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
1
+ import { r as getToken, t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
2
  //#region src/modules/stats/statsServices.ts
3
3
  const deviceStatsQueue = [];
4
4
  async function postDeviceStatsNow(stats) {
package/dist/stats.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-BEvexnKC.esm.js";
1
+ import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-DoByUnTa.esm.js";
2
2
  export { addDeviceStats, flushDeviceStatsQueue, resetDeviceStatsQueue };
@@ -0,0 +1,41 @@
1
+ //#region src/shared/types.d.ts
2
+ /** A single form field definition for dynamic rendering. */
3
+ type FieldDef = {
4
+ name: string;
5
+ type: 'text' | 'tel' | 'date' | 'dropdown' | 'phone' | 'radio';
6
+ label: string;
7
+ displayLabel?: string;
8
+ placeholder?: string;
9
+ placeholderParams?: Record<string, string>;
10
+ required: boolean;
11
+ optional?: boolean;
12
+ maxLength?: number;
13
+ options?: {
14
+ value: string;
15
+ label: string;
16
+ }[];
17
+ readonly?: boolean;
18
+ section?: string;
19
+ disableCountrySelector?: boolean;
20
+ };
21
+ /** An address suggestion returned by the address autocomplete API. */
22
+ type AddressSuggestion = {
23
+ id: string | number;
24
+ label: string;
25
+ street?: string;
26
+ city?: string;
27
+ stateCode?: string;
28
+ postalCode?: string;
29
+ houseNumber?: string;
30
+ countryCode?: string;
31
+ };
32
+ //#endregion
33
+ //#region src/shared/validators/textRules.d.ts
34
+ /**
35
+ * The general-purpose form-definition rules from `vocabulary.json`, as pure
36
+ * checks on a non-empty value. Callers skip empty values: requiredness is its
37
+ * own rule.
38
+ */
39
+ type CharacterClass = 'letter' | 'digit' | 'space';
40
+ //#endregion
41
+ export { AddressSuggestion as n, FieldDef as r, CharacterClass as t };
@@ -1,8 +1,9 @@
1
- import { a as setWebApiHttpTransport, g as emitWasmDiagnostic, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError, w as resolveWasmConfig } from "./wasmWebClient-BjZw_7OB.esm.js";
2
- import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
3
- import { C as subscribeEvent, n as eventModuleNames } from "./events-Du2A4-Qr.esm.js";
4
- import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
5
- import { t as SDK_VERSION } from "./sdkVersion-DKHwWEyH.esm.js";
1
+ import { T as resolveWasmConfig, _ as emitWasmDiagnostic, a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError } from "./wasmWebClient-CyLCM31e.esm.js";
2
+ import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
3
+ import { S as subscribeEvent, n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
4
+ import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
5
+ import "./events-CP3yOzAl.esm.js";
6
+ import { t as SDK_VERSION } from "./sdkVersion-C9kbIDeX.esm.js";
6
7
  import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
7
8
  /** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
8
9
  const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
@@ -774,7 +775,7 @@ const requestWithXHR = (fullUrl, method, mergedHeaders, requestBody, timeout, si
774
775
  else reject(reportHttpError(new FetchHttpError(xhr.status, xhr.statusText, fullUrl, method, responseHeaders, data), mergedHeaders));
775
776
  };
776
777
  xhr.onerror = () => {
777
- reject(new FetchHttpError(0, "Network Error", fullUrl, method, {}, null));
778
+ reject(reportHttpError(new FetchHttpError(0, "Network Error", fullUrl, method, {}, null), mergedHeaders));
778
779
  };
779
780
  xhr.ontimeout = () => {
780
781
  reject(new FetchHttpError(0, "Request timeout", fullUrl, method, {}, null));
@@ -849,6 +850,7 @@ const createApi = (config) => {
849
850
  if (timeoutId) clearTimeout(timeoutId);
850
851
  if (error instanceof FetchHttpError) throw error;
851
852
  if (error instanceof Error && error.name === "AbortError") throw new FetchHttpError(0, "Request timeout", fullUrl, method, {}, null);
853
+ if (error instanceof TypeError && !keepalive) reportHttpError(new FetchHttpError(0, "Network Error", fullUrl, method, {}, null), mergedHeaders);
852
854
  throw error;
853
855
  }
854
856
  },
@@ -974,6 +976,12 @@ const getErrorStatus = (error) => {
974
976
  }
975
977
  return 0;
976
978
  };
979
+ const NETWORK_FAILURE = /^(failed to fetch|load failed)$|network ?error|network connection|internet connection/i;
980
+ /**
981
+ * Status 0 marks connectivity lost, so it is reported only for a network
982
+ * failure, and never for keepalive requests.
983
+ */
984
+ const shouldReport = (status, error, keepalive = false) => status !== 0 || !keepalive && error instanceof WasmWebClientError && NETWORK_FAILURE.test(error.message);
977
985
  const getErrorData = (error) => {
978
986
  if (error instanceof WasmWebClientError) return error.response?.data ?? null;
979
987
  return null;
@@ -1002,7 +1010,8 @@ const createWasmApi = async (config) => {
1002
1010
  await setupWasmConnection(config.apiURL, "", config.encryptionEnabled ?? false, headers, useSha256);
1003
1011
  } catch (error) {
1004
1012
  if (!(error instanceof WasmWebClientError)) throw error;
1005
- throw reportHttpError(new WasmHttpError(error.statusCode, "", config.apiURL, "POST", {}, getErrorData(error)), headers);
1013
+ const failure = new WasmHttpError(error.statusCode, "", config.apiURL, "POST", {}, getErrorData(error));
1014
+ throw shouldReport(failure.status, error) ? reportHttpError(failure, headers) : failure;
1006
1015
  }
1007
1016
  const defaults = {
1008
1017
  baseURL: config.apiURL,
@@ -1011,7 +1020,7 @@ const createWasmApi = async (config) => {
1011
1020
  const client = {
1012
1021
  defaults,
1013
1022
  async request(requestConfig) {
1014
- const { method = "GET", url, headers: requestHeaders = {}, query, params, body, signal, timeout: timeoutOverride, onUploadProgress, ie = false } = requestConfig;
1023
+ const { method = "GET", url, headers: requestHeaders = {}, query, params, body, signal, timeout: timeoutOverride, onUploadProgress, keepalive, ie = false } = requestConfig;
1015
1024
  const upperMethod = normalizeMethod(method);
1016
1025
  const requestParams = params ?? query;
1017
1026
  const fullUrl = buildUrl(defaults.baseURL, url, requestParams);
@@ -1041,7 +1050,8 @@ const createWasmApi = async (config) => {
1041
1050
  };
1042
1051
  } catch (error) {
1043
1052
  if (error instanceof WasmHttpError) throw error;
1044
- throw reportHttpError(new WasmHttpError(getErrorStatus(error), getErrorMessage(error), fullUrl, upperMethod, {}, getErrorData(error)), mergedHeaders);
1053
+ const failure = new WasmHttpError(getErrorStatus(error), getErrorMessage(error), fullUrl, upperMethod, {}, getErrorData(error));
1054
+ throw shouldReport(failure.status, error, keepalive) ? reportHttpError(failure, mergedHeaders) : failure;
1045
1055
  }
1046
1056
  },
1047
1057
  get(url, requestConfig) {
@@ -1293,6 +1303,8 @@ const MODULE_SUBSYSTEMS = {
1293
1303
  [eventModuleNames.geolocation]: "module.geolocation",
1294
1304
  [eventModuleNames.ekyb]: "module.e-kyb",
1295
1305
  [eventModuleNames.identityReuse]: "module.identity-reuse",
1306
+ [eventModuleNames.identityReusePath]: "module.identity-reuse-path",
1307
+ [eventModuleNames.identitySearch]: "module.identity-search",
1296
1308
  [eventModuleNames.antifraud]: "module.antifraud",
1297
1309
  [eventModuleNames.aeSignature]: "module.ae-signature",
1298
1310
  [eventModuleNames.qeSignature]: "module.qe-signature",
@@ -1380,7 +1392,7 @@ function categoryForEndpoint(endpoint) {
1380
1392
  if (/\/omni\/es\//.test(endpoint)) return "other";
1381
1393
  if (/face|selfie|video|speech|personhood|authenticate|recordings/.test(endpoint)) return "faceScan";
1382
1394
  if (/front-id|back-id|second-id|process\/id|images|barcode|ocr|document|curp|cfdi|address-statement|digital-id|device\/wallet/.test(endpoint)) return "idScan";
1383
- if (/start|flow|workflow|feature-config|onboarding|finish-status/.test(endpoint)) return "orchestration";
1395
+ if (/start|session\/continue|flow|workflow|feature-config|onboarding|finish-status/.test(endpoint)) return "orchestration";
1384
1396
  return "other";
1385
1397
  }
1386
1398
  /** Coarse contract category from the RAW `event.module` value (plan rule). */
@@ -1,5 +1,6 @@
1
- import { A as StateMachine, c as AnyEventObject, p as EventObject, v as MetaObject, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
2
- import { t as Manager } from "./Manager-C9T5amUN.js";
1
+ import { b as NonReducibleUnknown, c as AnyEventObject, j as StateMachine, m as EventObject, y as MetaObject } from "./spawn-COZKetCS.js";
2
+ import "./xstate.cjs-D6Ur0X1F.js";
3
+ import { t as Manager } from "./Manager-DufwKlav.js";
3
4
  //#region src/modules/trust-graph/trustGraphManager.d.ts
4
5
  type TrustGraphIdleState = {
5
6
  status: 'idle';
@@ -55,7 +56,7 @@ type TrustGraphContext = Record<string, never>;
55
56
  * external event (e.g. `LOAD`) would therefore never complete inside a flow,
56
57
  * leaving an empty shell on screen and the session permanently incomplete.
57
58
  *
58
- * Mirror the `noOpFlowModuleMachine` / `identitySearchMachine` headless pattern:
59
+ * Mirror the `noOpFlowModuleMachine` / `workflowIdentitySearchMachine` headless pattern:
59
60
  * start directly in the `final` state.
60
61
  */
61
62
  declare const trustGraphMachine: StateMachine<TrustGraphContext, AnyEventObject, {}, never, never, never, never, "finished", string, NonReducibleUnknown, NonReducibleUnknown, EventObject, MetaObject, {
@@ -1,5 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Du2A4-Qr.esm.js";
2
- import { s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
1
+ import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
3
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
+ import { s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
5
  //#region src/modules/trust-graph/trustGraphStateMachine.ts
4
6
  /**
5
7
  * Trust-graph is a headless "skip" module: it has no UI and the SDK performs no
@@ -12,7 +14,7 @@ import { s as createActor, t as setup, u as createManager } from "./xstate.esm-D
12
14
  * external event (e.g. `LOAD`) would therefore never complete inside a flow,
13
15
  * leaving an empty shell on screen and the session permanently incomplete.
14
16
  *
15
- * Mirror the `noOpFlowModuleMachine` / `identitySearchMachine` headless pattern:
17
+ * Mirror the `noOpFlowModuleMachine` / `workflowIdentitySearchMachine` headless pattern:
16
18
  * start directly in the `final` state.
17
19
  */
18
20
  const trustGraphMachine = setup({ types: { context: {} } }).createMachine({
@@ -1,6 +1,6 @@
1
- import { a as AvatarAssetsOverrides } from "./createFaceAvatar-lYX0VTYs.js";
2
- import { n as Flow, s as SelfieConcealmentOption } from "./types-B6HsSzpk.js";
3
- import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-GF2n7sfm.js";
1
+ import { a as AvatarAssetsOverrides } from "./createFaceAvatar-BimBTONm.js";
2
+ import { n as Flow, s as SelfieConcealmentOption } from "./types-Ddc4Tr_f.js";
3
+ import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-BRn0wz8v.js";
4
4
  //#region src/internal/faceCapture/types.d.ts
5
5
  type CameraResolution = {
6
6
  width?: number;
@@ -0,0 +1,115 @@
1
+ import { r as FieldDef } from "./textRules-D4NRinKY.js";
2
+ import { a as EkycFormValues, c as EkycValidationErrors, l as EkycValidationRule } from "./types-DEa3taWc.js";
3
+ //#region src/modules/ekyc-prefill/types.d.ts
4
+ /** One input of the served configuration. */
5
+ type EkycPrefillServedField = {
6
+ /** The request key, e.g. `phone`, `dateOfBirth`, `ssn`, `surName`, `taxIdNumber`. */
7
+ field: string;
8
+ /** Render the input. Anything but `true` hides it. */
9
+ check?: boolean | null;
10
+ /** Require a value. Ignored unless `check` is `true`. */
11
+ mandatory?: boolean | null;
12
+ /** Where the value comes from. Not read yet: field value prefill is not supported. */
13
+ source?: string | null;
14
+ /** How the value shows. Not read yet: every field is editable. */
15
+ displayMode?: string | null;
16
+ };
17
+ /**
18
+ * The `EKYC_PREFILL` module configuration, as the onboarding flow serves it
19
+ * (`GET /omni/onboarding/flow`). The flat dashboard shape that
20
+ * `GET /omni/flow/onboarding/configuration` serves has no `fields` and is
21
+ * not supported.
22
+ */
23
+ type EkycPrefillModuleConfig = {
24
+ country?: string | null;
25
+ source?: string | null;
26
+ fields?: EkycPrefillServedField[] | null;
27
+ /** Rendered inputs of which at least one must be filled. */
28
+ requireAnyOf?: string[] | null;
29
+ /** The backend runs the lookup itself, so the module shows no screen. */
30
+ autoExecution?: boolean | null;
31
+ };
32
+ /** One input of the normalized configuration. */
33
+ type EkycPrefillConfigField = {
34
+ field: string;
35
+ check: boolean;
36
+ mandatory: boolean;
37
+ };
38
+ /** Manager configuration: the served configuration, normalized by `toEkycPrefillConfig`. */
39
+ type EkycPrefillConfig = {
40
+ country: string | undefined;
41
+ source: string | undefined;
42
+ /** `undefined` when the served configuration has no `fields` array. */
43
+ fields: EkycPrefillConfigField[] | undefined;
44
+ requireAnyOf: string[];
45
+ autoExecution: boolean;
46
+ };
47
+ type EkycPrefillFieldDef = FieldDef & {
48
+ /** Validation run by `validateEkycField`, in order; the first failing rule wins. */
49
+ validation: EkycValidationRule[];
50
+ /** Show the value masked, with a show/hide toggle (the SSN). */
51
+ masked?: boolean;
52
+ /** Ask for the numeric keyboard. */
53
+ numeric?: boolean;
54
+ /** The `autocomplete` token. */
55
+ autoComplete?: string;
56
+ /** How the value is formatted while it is typed. */
57
+ formatAs?: EkycPrefillInputFormat;
58
+ };
59
+ /** `cpf`: `XXX.XXX.XXX-XX`; `ssn`: `XXX-XX-XXXX`; `name`: drops characters a name can't hold. */
60
+ type EkycPrefillInputFormat = 'cpf' | 'ssn' | 'name';
61
+ /** Fields of which at least one must be filled, with the message shown under them. */
62
+ type EkycPrefillAnyOfGroup = {
63
+ fields: string[];
64
+ message: string;
65
+ };
66
+ /** A request-body field: where its value goes and how it is transformed first. */
67
+ type EkycPrefillSubmitField = {
68
+ name: string;
69
+ key: string;
70
+ transforms: {
71
+ id: string;
72
+ chars?: string;
73
+ }[];
74
+ };
75
+ type EkycPrefillSubmitPlan = {
76
+ static: Record<string, unknown>;
77
+ fields: EkycPrefillSubmitField[];
78
+ country: string;
79
+ };
80
+ /** The served configuration on the forms kernel: what the form renders and sends. */
81
+ type EkycPrefillPreparedForm = {
82
+ country: string;
83
+ fields: EkycPrefillFieldDef[];
84
+ anyOf: EkycPrefillAnyOfGroup | undefined;
85
+ submit: EkycPrefillSubmitPlan;
86
+ };
87
+ /** `POST /omni/externalVerification/ekyc-prefill` response. Not read: the result is reviewed in the dashboard. */
88
+ type EkycPrefillSubmitResponse = Record<string, unknown>;
89
+ type EkycPrefillErrorKind = 'unavailable' | 'busy';
90
+ type EkycPrefillContext = {
91
+ config: EkycPrefillConfig;
92
+ prepared: EkycPrefillPreparedForm | undefined;
93
+ values: EkycFormValues;
94
+ errors: EkycValidationErrors;
95
+ /** Fields whose input reports an invalid format (the phone). */
96
+ invalidFormats: Record<string, true>;
97
+ /**
98
+ * The any-of group's message shows as an error rather than a hint: a member
99
+ * lost focus, or a submit was tried, while every member was empty.
100
+ */
101
+ anyOfError: boolean;
102
+ /** The phone rules finished loading, so phones validate. */
103
+ phoneRulesLoaded: boolean;
104
+ /** The phone rules failed to load; a retry reloads them before the form. */
105
+ phoneRulesFailed: boolean;
106
+ /** A 400 the form can't pin on one field. */
107
+ submitError: string | undefined;
108
+ errorKind: EkycPrefillErrorKind | undefined;
109
+ errorMessage: string | undefined;
110
+ };
111
+ type EkycPrefillInput = {
112
+ config?: EkycPrefillModuleConfig | EkycPrefillConfig;
113
+ };
114
+ //#endregion
115
+ export { EkycPrefillFieldDef as a, EkycPrefillModuleConfig as c, EkycPrefillSubmitResponse as d, EkycPrefillErrorKind as i, EkycPrefillServedField as l, EkycPrefillConfigField as n, EkycPrefillInput as o, EkycPrefillContext as r, EkycPrefillInputFormat as s, EkycPrefillConfig as t, EkycPrefillSubmitPlan as u };
@@ -0,0 +1,34 @@
1
+ //#region src/modules/watchlist-for-business/types.d.ts
2
+ /** Where a W4B field's value comes from. */
3
+ type WatchlistForBusinessFieldSource = 'userInput' | 'eKYBData';
4
+ /**
5
+ * Configuration for the watchlist-for-business module.
6
+ *
7
+ * Every field is optional. With no config the module collects country and
8
+ * business name from the user and submits them to the business watchlist
9
+ * endpoint. Tax ID and date of incorporation are extra, optional inputs that
10
+ * the backend enables when the AML Watcher integration is provisioned.
11
+ */
12
+ type WatchlistForBusinessConfig = {
13
+ /**
14
+ * Source of the country. Typed for parity with the backend config; the
15
+ * module currently always collects it from the user.
16
+ */
17
+ countrySource?: WatchlistForBusinessFieldSource;
18
+ /**
19
+ * Source of the business name. Typed for parity with the backend config;
20
+ * the module currently always collects it from the user.
21
+ */
22
+ businessNameSource?: WatchlistForBusinessFieldSource;
23
+ /** Shows the optional Tax ID input and sends it when filled. */
24
+ taxIdEnabled?: boolean;
25
+ /** Shows the optional date-of-incorporation input and sends it when filled. */
26
+ dateOfIncorporationEnabled?: boolean;
27
+ };
28
+ type WatchlistForBusinessValidationErrors = {
29
+ businessName?: string;
30
+ taxId?: string;
31
+ dateOfIncorporation?: string;
32
+ };
33
+ //#endregion
34
+ export { WatchlistForBusinessValidationErrors as n, WatchlistForBusinessConfig as t };
@@ -1,4 +1,4 @@
1
- import { l as FieldDef } from "./types-BvLo3U4u.js";
1
+ import { r as FieldDef } from "./textRules-D4NRinKY.js";
2
2
  //#region src/modules/ekyb/types.d.ts
3
3
  type UboEntry = {
4
4
  id: string;
@@ -4,10 +4,12 @@ type IdOcrConfig = {
4
4
  editableOcr?: boolean;
5
5
  cpfOnly?: boolean;
6
6
  /**
7
- * When true (from flow/onboarding), after the first ID OCR step completes the
8
- * machine loads and optionally edits OCR for the second captured ID.
7
+ * Legacy combined review. When true and ocrDocument is omitted, review the
8
+ * first ID and then the second ID. Flow selects each document explicitly.
9
9
  */
10
10
  secondId?: boolean;
11
+ /** Review only this document. Takes precedence over the legacy secondId sequence. */
12
+ ocrDocument?: 'first' | 'second';
11
13
  /**
12
14
  * Session flow id (injected by orchestrated flow UI). When listed in `CPFFlowIds`
13
15
  * (`idOcrConsts`), only the CPF field is shown and validated; it maps to `documentNumber` on OCR.
@@ -1,5 +1,5 @@
1
- import { l as AnyStateMachine } from "./spawn-D9jgw9pW.js";
2
- import "./Manager-C9T5amUN.js";
1
+ import { l as AnyStateMachine } from "./spawn-COZKetCS.js";
2
+ import "./Manager-DufwKlav.js";
3
3
  //#region src/internal/orchestration/types.d.ts
4
4
  /** Eager module: a pre-imported state machine. */
5
5
  type EagerModule = AnyStateMachine;
@@ -42,9 +42,11 @@ type RunChildModuleInput = {
42
42
  type RunChildModuleEvent = {
43
43
  type: 'MODULE_COMPLETE';
44
44
  output?: unknown;
45
+ fromChild: true;
45
46
  } | {
46
47
  type: 'MODULE_ERROR';
47
48
  error: unknown;
49
+ fromChild: true;
48
50
  };
49
51
  //#endregion
50
52
  export { WorkflowModuleRegistry as a, RunChildModuleInput as i, ModuleRegistry as n, RunChildModuleEvent as r, ModuleConfigMappers as t };
@@ -0,0 +1,6 @@
1
+ import { i as FlowModuleConfig } from "./types-Ddc4Tr_f.js";
2
+ import { t as BaseFaceCaptureConfig } from "./types-9wlf1-GE.js";
3
+ //#region src/modules/authentication/types.d.ts
4
+ type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
5
+ //#endregion
6
+ export { AuthenticationConfig as t };