@incodetech/core 2.3.2-rc.4 → 2.4.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (267) hide show
  1. package/THIRD_PARTY_NOTICES.txt +1243 -3
  2. package/dist/Actor-DpTj5PFb.d.ts +1 -0
  3. package/dist/{BaseWasmProvider-Dyi6dKp1.d.ts → BaseWasmProvider-BL9wIRnN.d.ts} +2 -2
  4. package/dist/{FaceDetectionProvider-B5Fxc_y9.esm.js → FaceDetectionProvider-BjTer9h3.esm.js} +126 -10
  5. package/dist/HttpRequestError-Bh0pNGSC.esm.js +35 -0
  6. package/dist/{IIdCaptureCapability-RNiFhvXR.d.ts → IIdCaptureCapability-DBsv9-7M.d.ts} +2 -2
  7. package/dist/{IWasmUtilCapability-CNWRl7jr.d.ts → IWasmUtilCapability-CPX0RGdQ.d.ts} +28 -5
  8. package/dist/{Manager-CQQ99QOI.d.ts → Manager-C9T5amUN.d.ts} +7 -1
  9. package/dist/{MotionSensorProvider-DyhbM4Si.esm.js → MotionSensorProvider-DYxh8TjR.esm.js} +1 -1
  10. package/dist/{ekycStateMachine-UeJRO8_p.esm.js → PhoneValidationProvider-SZiOS0jB.esm.js} +232 -827
  11. package/dist/{StreamCanvasCapture-_8gdW5Lk.d.ts → StreamCanvasCapture-DVmzJux5.d.ts} +2 -2
  12. package/dist/{safeStorage-BdU9_m2E.esm.js → WasmUtilProvider-CIdnE7Fx.esm.js} +95 -46
  13. package/dist/{addressSearch-DyHGgeX8.esm.js → addressSearch-BiYZjvp3.esm.js} +143 -4
  14. package/dist/{advanceableErrors-CpF2cBy6.esm.js → advanceableErrors-q_pfU3Cn.esm.js} +5 -4
  15. package/dist/ae-signature.d.ts +2 -2
  16. package/dist/ae-signature.esm.js +1 -1
  17. package/dist/antifraud.d.ts +1 -1
  18. package/dist/antifraud.esm.js +2 -2
  19. package/dist/{antifraudManager-BY36bS12.d.ts → antifraudManager-DbGCvlJs.d.ts} +2 -2
  20. package/dist/{antifraudManager-DNkw66oW.esm.js → antifraudManager-HL08jeDX.esm.js} +3 -3
  21. package/dist/{antifraudStateMachine-DBeq47D2.esm.js → antifraudStateMachine-DoJVzblM.esm.js} +3 -3
  22. package/dist/{apiError--p429c2X.esm.js → apiError-DcSWedC6.esm.js} +2 -1
  23. package/dist/authentication.d.ts +3 -3
  24. package/dist/authentication.esm.js +2 -2
  25. package/dist/{authenticationManager-CboRCl_N.d.ts → authenticationManager-CANv5-W5.d.ts} +2 -8
  26. package/dist/{authenticationManager-CWmZMFJH.esm.js → authenticationManager-SaiAxqvS.esm.js} +6 -6
  27. package/dist/{authenticationStateMachine-BQ7ZW-8a.esm.js → authenticationStateMachine-CHSxmV7z.esm.js} +5 -6
  28. package/dist/avatar.d.ts +1 -1
  29. package/dist/{backCameraStream-B0-YgP_y.esm.js → backCameraStream-CMvXj4X4.esm.js} +1 -1
  30. package/dist/camera.esm.js +1 -1
  31. package/dist/certificate-issuance.d.ts +1 -1
  32. package/dist/certificate-issuance.esm.js +2 -2
  33. package/dist/{certificateIssuanceManager-C3-CI0_s.esm.js → certificateIssuanceManager-CMg4SgL4.esm.js} +3 -3
  34. package/dist/{certificateIssuanceManager-DCgEidHz.d.ts → certificateIssuanceManager-Dr8A4Lgr.d.ts} +2 -3
  35. package/dist/{certificateIssuanceStateMachine-CxqS_nD-.esm.js → certificateIssuanceStateMachine-Cs64QmYH.esm.js} +4 -4
  36. package/dist/consent.d.ts +1 -1
  37. package/dist/consent.esm.js +2 -2
  38. package/dist/{consentManager-B6E1XJDw.esm.js → consentManager-CjrxY737.esm.js} +3 -3
  39. package/dist/{consentManager-uhDPdU6i.d.ts → consentManager-DgzWQpAR.d.ts} +11 -12
  40. package/dist/{consentStateMachine-DTSfdGiW.esm.js → consentStateMachine-BCj5Jb3g.esm.js} +3 -3
  41. package/dist/{createCameraCycleOwnership-DnwTl1ad.esm.js → createCameraCycleOwnership-kdlhkmmY.esm.js} +71 -65
  42. package/dist/{createFaceAvatar-BlcTYgJv.d.ts → createFaceAvatar-DXgmQmQy.d.ts} +1 -1
  43. package/dist/cross-document-data-match.d.ts +1 -1
  44. package/dist/cross-document-data-match.esm.js +1 -1
  45. package/dist/{crossDocumentDataMatchManager-9XhFVZ5S.esm.js → crossDocumentDataMatchManager-BHnGRsto.esm.js} +4 -4
  46. package/dist/{crossDocumentDataMatchManager-Dq8Z3SOg.d.ts → crossDocumentDataMatchManager-yCWCOzcU.d.ts} +2 -2
  47. package/dist/curp-validation.d.ts +1 -1
  48. package/dist/curp-validation.esm.js +2 -2
  49. package/dist/{curpValidationManager-DNuZn9fn.d.ts → curpValidationManager-B-1EZbP_.d.ts} +3 -3
  50. package/dist/{curpValidationManager-DbIMYFcJ.esm.js → curpValidationManager-DBNIn8BF.esm.js} +15 -22
  51. package/dist/{curpValidationStateMachine-g5kMfuLj.esm.js → curpValidationStateMachine-DAxImy8p.esm.js} +4 -4
  52. package/dist/custom-fields.d.ts +1 -1
  53. package/dist/custom-fields.esm.js +1 -1
  54. package/dist/custom-watchlist.d.ts +1 -1
  55. package/dist/custom-watchlist.esm.js +2 -2
  56. package/dist/{customFieldsManager-CzWZTkW-.esm.js → customFieldsManager-BV6UyLFV.esm.js} +4 -4
  57. package/dist/{customFieldsManager-8-W2KY4n.d.ts → customFieldsManager-CF-cO8ap.d.ts} +2 -2
  58. package/dist/{customWatchlistManager-DWTED5Ur.esm.js → customWatchlistManager-DML0UPzf.esm.js} +3 -3
  59. package/dist/{customWatchlistManager-PBWHr_oM.d.ts → customWatchlistManager-DolUswyR.d.ts} +2 -2
  60. package/dist/{customWatchlistStateMachine-DOQou6TW.esm.js → customWatchlistStateMachine-D9gI5uu7.esm.js} +3 -3
  61. package/dist/deepsightLoader-DvfAYnzg.esm.js +55 -0
  62. package/dist/{deepsightLoader-BtYvACzG.esm.js → deepsightService-DLGO9yv1.esm.js} +51 -56
  63. package/dist/device.esm.js +1 -1
  64. package/dist/document-capture.d.ts +2 -2
  65. package/dist/document-capture.esm.js +2 -2
  66. package/dist/{documentCaptureManager-BRPxqYD2.esm.js → documentCaptureManager-C9XUnYU6.esm.js} +17 -18
  67. package/dist/{documentCaptureManager-lEtCM320.d.ts → documentCaptureManager-DkyDtm3Y.d.ts} +11 -34
  68. package/dist/{documentCaptureStateMachine-D312sSIu.esm.js → documentCaptureStateMachine-BHDsCfhL.esm.js} +55 -58
  69. package/dist/dynamic-forms.d.ts +2 -2
  70. package/dist/dynamic-forms.esm.js +2 -2
  71. package/dist/{dynamicFormsManager-66GzzBTx.esm.js → dynamicFormsManager-5uIXobxi.esm.js} +3 -3
  72. package/dist/{dynamicFormsManager-D5R_uxLQ.d.ts → dynamicFormsManager-C0dHs1ty.d.ts} +3 -3
  73. package/dist/{dynamicFormsStateMachine-DLnr2ZtX.esm.js → dynamicFormsStateMachine-DQmok084.esm.js} +4 -4
  74. package/dist/ekyb.d.ts +5 -5
  75. package/dist/ekyb.esm.js +3 -3
  76. package/dist/{ekybManager-BwRuGAwt.d.ts → ekybManager-BaZ_7CEu.d.ts} +4 -4
  77. package/dist/{ekybManager-CsQMgJDL.esm.js → ekybManager-CazShiQz.esm.js} +23 -27
  78. package/dist/{ekybStateMachine-DBeQNOMo.esm.js → ekybStateMachine-hstiCNmW.esm.js} +338 -13
  79. package/dist/ekyc.d.ts +2 -2
  80. package/dist/ekyc.esm.js +3 -3
  81. package/dist/{ekycManager-BX2d46FY.esm.js → ekycManager-BdJRUsz0.esm.js} +29 -36
  82. package/dist/{ekycManager-DLzDuBzI.d.ts → ekycManager-DW-ynodd.d.ts} +3 -3
  83. package/dist/ekycStateMachine-x6Klot8g.esm.js +1444 -0
  84. package/dist/{ekycUtils-D6wfSpPN.esm.js → ekycUtils-zY8CdKJL.esm.js} +53 -3
  85. package/dist/electronic-signature.d.ts +1 -1
  86. package/dist/electronic-signature.esm.js +1 -1
  87. package/dist/{electronicSignatureManager-Boj_xbGN.esm.js → electronicSignatureManager-Bc8spG8p.esm.js} +10 -10
  88. package/dist/{electronicSignatureManager-Ds-KEVTq.d.ts → electronicSignatureManager-DTSLOvKR.d.ts} +2 -3
  89. package/dist/email.d.ts +1 -1
  90. package/dist/email.esm.js +2 -2
  91. package/dist/{emailManager-bR1N5rV_.esm.js → emailManager-CtlKRRaR.esm.js} +20 -26
  92. package/dist/{emailManager-CADXW_9X.d.ts → emailManager-Dy6omJVp.d.ts} +2 -2
  93. package/dist/{emailStateMachine-Bc_6oIYw.esm.js → emailStateMachine-5Neq3rE5.esm.js} +4 -4
  94. package/dist/{endpoints-B-3Q-LUw.esm.js → endpoints-DHzlkQNe.esm.js} +2 -0
  95. package/dist/{events-ijlbX_Wx.esm.js → events-CAgFE-k3.esm.js} +19 -7
  96. package/dist/events.d.ts +3 -2
  97. package/dist/events.esm.js +1 -1
  98. package/dist/extensibility.d.ts +38 -38
  99. package/dist/extensibility.esm.js +36 -36
  100. package/dist/{externalFetch-BKBThAUC.esm.js → externalFetch-DrR9xshk.esm.js} +3 -2
  101. package/dist/face-match.d.ts +1 -1
  102. package/dist/face-match.esm.js +2 -2
  103. package/dist/{faceCaptureManagerFactory-m-7ae67q.d.ts → faceCaptureManagerFactory-jKQ2QtY-.d.ts} +11 -51
  104. package/dist/{faceCaptureManagerFactory-BKpeQIZu.esm.js → faceCaptureManagerFactory-uFm1AcaY.esm.js} +19 -54
  105. package/dist/{faceCaptureSetup-DOrt8-Sn.esm.js → faceCaptureSetup-Cu2wabzo.esm.js} +99 -395
  106. package/dist/{faceMatchManager-Bmv0HzuY.esm.js → faceMatchManager-9Nj9aPci.esm.js} +3 -3
  107. package/dist/{faceMatchManager-BnvrZM2F.d.ts → faceMatchManager-DIgG-UFS.d.ts} +1 -2
  108. package/dist/{faceMatchStateMachine-mRIHQ3dA.esm.js → faceMatchStateMachine-B9ZUnlyU.esm.js} +6 -4
  109. package/dist/{feature-management-zY6FcYx_.esm.js → feature-management-BTbYruNe.esm.js} +3 -3
  110. package/dist/feature-management.esm.js +1 -1
  111. package/dist/field-comparison.d.ts +2 -2
  112. package/dist/field-comparison.esm.js +1 -1
  113. package/dist/{fieldComparisonManager-CBvEGxFx.d.ts → fieldComparisonManager-CUX4gza2.d.ts} +6 -3
  114. package/dist/{fieldComparisonManager-CC-klG0h.esm.js → fieldComparisonManager-Dk38hXZP.esm.js} +35 -17
  115. package/dist/fiscal-qr.d.ts +1 -1
  116. package/dist/fiscal-qr.esm.js +1 -1
  117. package/dist/{fiscalQrManager-B1STmT6z.d.ts → fiscalQrManager-D0Iy7EKR.d.ts} +2 -2
  118. package/dist/fiscalQrManager-DmBkQfs0.esm.js +6798 -0
  119. package/dist/flow-events.d.ts +1 -1
  120. package/dist/flow.d.ts +14 -13
  121. package/dist/flow.esm.js +14 -14
  122. package/dist/{flowCompletionService-CBa6YyI5.esm.js → flowCompletionService-xnn_SlJU.esm.js} +2 -2
  123. package/dist/{flowServices-JW6uRaUt.esm.js → flowServices-DA64AEZC.esm.js} +11 -7
  124. package/dist/geolocation.d.ts +1 -1
  125. package/dist/geolocation.esm.js +2 -2
  126. package/dist/{geolocationManager-DD5J1T_p.esm.js → geolocationManager-CqNLY45e.esm.js} +6 -7
  127. package/dist/{geolocationManager-Cz744E5S.d.ts → geolocationManager-Dn24g1fl.d.ts} +2 -3
  128. package/dist/{geolocationStateMachine-DoelwBqs.esm.js → geolocationStateMachine-D-cQi7ar.esm.js} +4 -4
  129. package/dist/{getDeviceClass-5NYZg9s6.esm.js → getDeviceClass-bsWdEDxP.esm.js} +1 -1
  130. package/dist/{getParsedUserAgent-B2iFDql1.esm.js → getParsedUserAgent-DhQPeKqw.esm.js} +1 -1
  131. package/dist/government-validation.d.ts +1 -1
  132. package/dist/government-validation.esm.js +2 -2
  133. package/dist/{governmentValidationManager-D02vT4yY.d.ts → governmentValidationManager-B82zOut8.d.ts} +3 -3
  134. package/dist/{governmentValidationManager-CacFOtKO.esm.js → governmentValidationManager-CP0SiOOe.esm.js} +3 -3
  135. package/dist/{governmentValidationStateMachine-CoaZOSTP.esm.js → governmentValidationStateMachine-C3YQ8yCZ.esm.js} +3 -3
  136. package/dist/home.d.ts +3 -26
  137. package/dist/home.esm.js +2 -2
  138. package/dist/id-ocr.d.ts +1 -1
  139. package/dist/id-ocr.esm.js +2 -2
  140. package/dist/id-selfie-flow.d.ts +6 -9
  141. package/dist/id-selfie-flow.esm.js +23 -28
  142. package/dist/id-verification.d.ts +1 -1
  143. package/dist/id-verification.esm.js +2 -2
  144. package/dist/id.d.ts +4 -4
  145. package/dist/id.esm.js +4 -205
  146. package/dist/{idCaptureDefaults-Chne8cyb.esm.js → idCaptureDefaults-CBg73RnV.esm.js} +8 -5
  147. package/dist/{idCaptureManager-BHwL2Z0V.d.ts → idCaptureManager-BY97SRCV.d.ts} +242 -98
  148. package/dist/{idCaptureManager-0504dfcD.esm.js → idCaptureManager-D4V8vXtY.esm.js} +276 -210
  149. package/dist/{idCaptureServices-B-Ynn67N.esm.js → idCaptureServices-DJ33k3-p.esm.js} +21 -39
  150. package/dist/{idCaptureStateMachine-B7ET-hfq.esm.js → idCaptureStateMachine-PJt0yzom.esm.js} +989 -872
  151. package/dist/{idOcrManager-BF_cXZq8.d.ts → idOcrManager-BTdHlJ9D.d.ts} +3 -4
  152. package/dist/{idOcrManager-ByWuQ4ej.esm.js → idOcrManager-DxoCesYP.esm.js} +3 -3
  153. package/dist/{idOcrStateMachine-Bt_abXQQ.esm.js → idOcrStateMachine-kPn7DB2I.esm.js} +3 -3
  154. package/dist/{idVerificationManager-BB4Pj_N6.d.ts → idVerificationManager-BJapZfpy.d.ts} +2 -3
  155. package/dist/{idVerificationManager-DT42c77H.esm.js → idVerificationManager-CDhRUU5n.esm.js} +3 -3
  156. package/dist/{idVerificationStateMachine-DbDVIh9t.esm.js → idVerificationStateMachine-0HTVVxse.esm.js} +3 -3
  157. package/dist/identity-reuse.d.ts +2 -2
  158. package/dist/identity-reuse.esm.js +2 -2
  159. package/dist/{identityReuseManager-yG3acUrQ.esm.js → identityReuseManager-BleUi6TK.esm.js} +26 -13
  160. package/dist/{identityReuseManager-v2TH5g7e.d.ts → identityReuseManager-ooAbp6Kc.d.ts} +162 -44
  161. package/dist/{identityReuseStateMachine-BhAkuIra.esm.js → identityReuseStateMachine-BrBUpfn5.esm.js} +89 -23
  162. package/dist/{index-CeaC32qI.d.ts → index-DfEuu-Ew.d.ts} +2 -2
  163. package/dist/index-DpTj5PFb.d.ts +1 -0
  164. package/dist/index.d.ts +1 -1
  165. package/dist/index.esm.js +1 -1
  166. package/dist/{invokeOnCaptureCallback-BjzPjJ_p.esm.js → invokeOnCaptureCallback-BW7V3vub.esm.js} +1 -1
  167. package/dist/lamejs-B6TzhU5q.esm.js +10 -0
  168. package/dist/mandatory-consent.d.ts +2 -2
  169. package/dist/mandatory-consent.esm.js +2 -2
  170. package/dist/{mandatoryConsentManager-7dI0D08q.esm.js → mandatoryConsentManager-CX_Dyht7.esm.js} +3 -3
  171. package/dist/{mandatoryConsentManager-BYRnWbIC.d.ts → mandatoryConsentManager-TkX57U6f.d.ts} +8 -9
  172. package/dist/{mandatoryConsentStateMachine-DC5Mo6M1.esm.js → mandatoryConsentStateMachine-CoaSB7P7.esm.js} +3 -3
  173. package/dist/{multipartRecordingService-mwKFTlhR.esm.js → multipartRecordingService-DbeQpXdU.esm.js} +2 -2
  174. package/dist/{permissionGuards-D6TfVop2.esm.js → permissionGuards-Bf4LbHjC.esm.js} +1 -1
  175. package/dist/{permissionServices-EY3_Vx6c.esm.js → permissionServices-d2UW0r_L.esm.js} +34 -3
  176. package/dist/phone-number.d.ts +24 -0
  177. package/dist/phone-number.esm.js +1922 -0
  178. package/dist/phone.d.ts +1 -1
  179. package/dist/phone.esm.js +2 -2
  180. package/dist/{phoneManager-IjhSv5XS.esm.js → phoneManager-BGBcpqsk.esm.js} +31 -22
  181. package/dist/{phoneManager-BBU8Lq0O.d.ts → phoneManager-BO-LTih5.d.ts} +16 -3
  182. package/dist/{phoneStateMachine-CXdXufKg.esm.js → phoneStateMachine-CEm2y7yG.esm.js} +39 -20
  183. package/dist/phoneValidation-DnBcNUNh.esm.js +48 -0
  184. package/dist/qe-signature.d.ts +2 -2
  185. package/dist/qe-signature.esm.js +1 -1
  186. package/dist/redirect-to-mobile.d.ts +1 -1
  187. package/dist/redirect-to-mobile.esm.js +2 -2
  188. package/dist/{redirectToMobileManager-FLEWJtv8.esm.js → redirectToMobileManager-B1yQHFLu.esm.js} +4 -4
  189. package/dist/{redirectToMobileManager-BD2PvT5B.d.ts → redirectToMobileManager-CVsvpVbQ.d.ts} +2 -2
  190. package/dist/{redirectToMobileStateMachine-CSWWgUTO.esm.js → redirectToMobileStateMachine--Sr9NEVT.esm.js} +5 -5
  191. package/dist/{rolldown-runtime-FDOR9p9I.esm.js → rolldown-runtime-B-1-B7_t.esm.js} +10 -1
  192. package/dist/{runChildModule-CZU29-IV.esm.js → runChildModule-vdxQMCmO.esm.js} +13 -12
  193. package/dist/safeStorage-UxDrnjwa.esm.js +35 -0
  194. package/dist/{sdkVersion-DOhxIxQQ.esm.js → sdkVersion-F5YZbjip.esm.js} +1 -1
  195. package/dist/selfie.d.ts +4 -4
  196. package/dist/selfie.esm.js +12 -12
  197. package/dist/selfieErrorUtils-D-tsgEuX.esm.js +21 -0
  198. package/dist/{selfieManager-BSZG891S.d.ts → selfieManager-1J0IEyFq.d.ts} +2 -8
  199. package/dist/{selfieManager-CWhbwRdb.esm.js → selfieManager-26pENXxw.esm.js} +6 -6
  200. package/dist/selfieStateMachine-BhfKsl3I.esm.js +41 -0
  201. package/dist/{session-CctUSSCx.esm.js → session-Bu7djCsj.esm.js} +5 -5
  202. package/dist/session.d.ts +15 -3
  203. package/dist/session.esm.js +30 -5
  204. package/dist/sessionInitializer-jxbfCnE-.esm.js +974 -0
  205. package/dist/{setup-DmB0JHAB.esm.js → setup-C38QkrSP.esm.js} +232 -112
  206. package/dist/{setup-Cyko6cAn.d.ts → setup-lgkQ8dJW.d.ts} +20 -11
  207. package/dist/signature.d.ts +1 -1
  208. package/dist/signature.esm.js +2 -2
  209. package/dist/{signatureManager-DGBSWz2_.d.ts → signatureManager-BpVt_Jv7.d.ts} +2 -2
  210. package/dist/{signatureManager-B72np4ZO.esm.js → signatureManager-qqXyH93e.esm.js} +7 -11
  211. package/dist/{signatureStateMachine-ce_XMA3l.esm.js → signatureStateMachine-BkRSrkKp.esm.js} +3 -3
  212. package/dist/splitTrackedName-3zJRd2RD.esm.js +19 -0
  213. package/dist/{src-35ekGRzK.esm.js → src-DJAJjRYQ.esm.js} +1 -1
  214. package/dist/{stats-CZcy2J53.esm.js → stats-DmG_tkGk.esm.js} +1 -1
  215. package/dist/stats.esm.js +1 -1
  216. package/dist/{sessionInitializer-Ce9zO78j.esm.js → thumbmark.esm-CRc0cYvz.esm.js} +33 -776
  217. package/dist/{trueSightService-oMFESSSb.esm.js → trueSightService-BWgRVGIT.esm.js} +893 -900
  218. package/dist/trust-graph.d.ts +1 -2
  219. package/dist/trust-graph.esm.js +2 -2
  220. package/dist/{types-C0oWGUzg.d.ts → types-0L-eFDmr.d.ts} +1 -1
  221. package/dist/{types-C1g9itHE.d.ts → types-BGXxRwQM.d.ts} +6 -7
  222. package/dist/{types-BfgmV7s7.d.ts → types-BQA7lRDV.d.ts} +1 -1
  223. package/dist/{types-CxGdmzxa.d.ts → types-BvFmYX5c.d.ts} +1 -1
  224. package/dist/{types-Cx-1zo-i.d.ts → types-BvLo3U4u.d.ts} +1 -1
  225. package/dist/types-C71Zo6vl.d.ts +6 -0
  226. package/dist/{types-DEGVXwsk2.d.ts → types-CyPUIpzf.d.ts} +110 -62
  227. package/dist/{types-Bx-BWveD.d.ts → types-DTYr9pCB.d.ts} +1 -1
  228. package/dist/{types-BjSly8cp.d.ts → types-DUnFZ08M.d.ts} +1 -1
  229. package/dist/{types-ESdtnHtg.d.ts → types-zpO4fU6a.d.ts} +3 -4
  230. package/dist/{urlUtils-D6phjq1-.esm.js → urlUtils-6jsE6rKp.esm.js} +9 -1
  231. package/dist/video-selfie.d.ts +6 -9
  232. package/dist/video-selfie.esm.js +1386 -1344
  233. package/dist/{videoSelfieCameraWarmer-D_4NwYM-.esm.js → videoSelfieCameraWarmer-C366RKqu.esm.js} +11 -11
  234. package/dist/{videoSelfieFlowModuleMachine-BUe2uACW.esm.js → videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js} +1 -1
  235. package/dist/{videoSelfieStepDetector-ChYgFM15.d.ts → videoSelfieStepDetector-C5QHOvWb.d.ts} +4 -4
  236. package/dist/videoTrimByCopy-BFfAiNpv.esm.js +15901 -0
  237. package/dist/{warmup-Cis2p6O0.d.ts → warmup-BUPPRAA1.d.ts} +7 -0
  238. package/dist/{warmup-ChDwHSel.esm.js → warmup-DMtbyb2l.esm.js} +27 -9
  239. package/dist/wasm.d.ts +2 -2
  240. package/dist/wasm.esm.js +4 -4
  241. package/dist/{wasmDsFlagSync-DYrLUEII.esm.js → wasmDsFlagSync-BXCGqP48.esm.js} +1 -1
  242. package/dist/{wasmWebClient-B7baE-Wf.esm.js → wasmWebClient-kbYZ2sxw.esm.js} +259 -20
  243. package/dist/watchlist-for-business.d.ts +1 -1
  244. package/dist/watchlist-for-business.esm.js +2 -2
  245. package/dist/watchlist.d.ts +1 -1
  246. package/dist/watchlist.esm.js +2 -2
  247. package/dist/{watchlistForBusinessManager-CsnJnG-C.d.ts → watchlistForBusinessManager-B3GDPZrr.d.ts} +2 -2
  248. package/dist/{watchlistForBusinessManager-CIMkpEhu.esm.js → watchlistForBusinessManager-BvF4jK3S.esm.js} +7 -5
  249. package/dist/{watchlistForBusinessStateMachine-CJ-MvUre.esm.js → watchlistForBusinessStateMachine-121XK-Et.esm.js} +3 -3
  250. package/dist/{watchlistManager-CixcLNDT.esm.js → watchlistManager-CNWEOYSq.esm.js} +3 -3
  251. package/dist/{watchlistManager-DLXef90v.d.ts → watchlistManager-DJQOd8Pw.d.ts} +2 -2
  252. package/dist/{watchlistStateMachine-CBqk2w-h.esm.js → watchlistStateMachine-Dgfm42w2.esm.js} +3 -3
  253. package/dist/workflow.d.ts +34 -5
  254. package/dist/workflow.esm.js +64 -46
  255. package/dist/{xstate-actors.esm-BXeQ-Ucz.esm.js → xstate-actors.esm-8Gzepa_A.esm.js} +1 -1
  256. package/dist/{xstate.esm-BuFLFuzz.esm.js → xstate.esm-DSajW7CJ.esm.js} +24 -10
  257. package/package.json +13 -5
  258. package/dist/Actor-iTq7YY48.d.ts +0 -1
  259. package/dist/StateMachine-EDpYWy0i.d.ts +0 -6
  260. package/dist/fiscalQrManager-DbCVMIBx.esm.js +0 -34143
  261. package/dist/index-B8weJxmL.d.ts +0 -1
  262. package/dist/selfieErrorUtils-UiQ46EBa.esm.js +0 -116
  263. package/dist/selfieStateMachine-CtMCi4KZ.esm.js +0 -71
  264. package/dist/types-BN5RPPIZ.esm.js +0 -34
  265. package/dist/types-Bt9RuRqt.d.ts +0 -6
  266. package/dist/virtualCameraCheck-Cjab7FTI.esm.js +0 -48
  267. /package/dist/{types-BSBzhHRH.d.ts → types-BSBzhHRH2.d.ts} +0 -0
@@ -1,105 +1,21 @@
1
- import { D as resolveWasmConfig, S as upgradeToWasmHttpClient$1, b as installFreshHttpClient, l as trueSightLog, o as resetTrueSight, t as finalizeTrueSight, x as resetHttpClientState, y as getStoredHttpConfig } from "./trueSightService-oMFESSSb.esm.js";
2
- import { i as setWasmOnDeviceMode, o as warmupWasm } from "./warmup-ChDwHSel.esm.js";
3
- import { r as WasmUtilProvider, t as resolveLocalStorage } from "./safeStorage-BdU9_m2E.esm.js";
4
- import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
5
- import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-zY6FcYx_.esm.js";
1
+ import { S as setWasmIntegrityObserver } from "./wasmWebClient-kbYZ2sxw.esm.js";
2
+ import { D as resolveWasmConfig, d as getStoredHttpConfig, f as installFreshHttpClient, l as trueSightLog, m as upgradeToWasmHttpClient$1, o as resetTrueSight, p as resetHttpClientState, t as finalizeTrueSight } from "./trueSightService-BWgRVGIT.esm.js";
3
+ import { i as setWasmOnDeviceMode, o as warmupWasm } from "./warmup-DMtbyb2l.esm.js";
4
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
6
5
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
6
+ import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-CAgFE-k3.esm.js";
7
7
  import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
8
- import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
9
- import { a as resetSessionInit, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp } from "./sessionInitializer-Ce9zO78j.esm.js";
10
- import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
11
- import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-CZcy2J53.esm.js";
8
+ import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
9
+ import { a as resetSessionInit, 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-jxbfCnE-.esm.js";
10
+ import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.esm.js";
11
+ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
12
+ 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-BTbYruNe.esm.js";
13
+ import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-DmG_tkGk.esm.js";
12
14
  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-JW6uRaUt.esm.js";
14
- //#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
15
- var BrowserPageLifecycleProvider = class {
16
- sendBeacon(url, body, contentType = "application/json") {
17
- if (typeof navigator === "undefined" || typeof navigator.sendBeacon !== "function") return false;
18
- const blob = new Blob([body], { type: contentType });
19
- return navigator.sendBeacon(url, blob);
20
- }
21
- onPageHide(listener) {
22
- const onVisibilityChange = () => {
23
- if (document.visibilityState === "hidden") listener();
24
- };
25
- document.addEventListener("visibilitychange", onVisibilityChange);
26
- window.addEventListener("pagehide", listener);
27
- window.addEventListener("beforeunload", listener);
28
- return () => {
29
- document.removeEventListener("visibilitychange", onVisibilityChange);
30
- window.removeEventListener("pagehide", listener);
31
- window.removeEventListener("beforeunload", listener);
32
- };
33
- }
34
- };
35
- //#endregion
36
- //#region ../infra/src/providers/browser/BrowserStorageProvider.ts
37
- /**
38
- * Browser-based storage provider wrapping localStorage.
39
- * Handles JSON serialization/deserialization automatically.
40
- *
41
- * Degrades silently when the host makes localStorage unreachable: reads return
42
- * `null` and writes are no-ops. Deliberately quiet — hosts that harden against
43
- * self-XSS by deleting the global would otherwise see a warning on every call.
44
- */
45
- var BrowserStorageProvider = class {
46
- /**
47
- * Retrieves a value from localStorage.
48
- * @param key - The storage key
49
- * @returns The stored value, or null if not found or storage is unavailable
50
- * @throws Error if stored value is invalid JSON
51
- */
52
- async get(key) {
53
- const storage = resolveLocalStorage();
54
- if (!storage) return null;
55
- try {
56
- const item = storage.getItem(key);
57
- if (item === null) return null;
58
- return JSON.parse(item);
59
- } catch (error) {
60
- if (error instanceof SyntaxError) throw new Error(`Invalid JSON stored at key "${key}": ${error.message}`);
61
- throw error;
62
- }
63
- }
64
- /**
65
- * Stores a value in localStorage. No-op when storage is unavailable.
66
- * @param key - The storage key
67
- * @param value - The value to store (will be serialized as JSON)
68
- * @throws Error if value cannot be serialized or quota is exceeded
69
- */
70
- async set(key, value) {
71
- const storage = resolveLocalStorage();
72
- if (!storage) return;
73
- try {
74
- const serialized = JSON.stringify(value);
75
- storage.setItem(key, serialized);
76
- } catch (error) {
77
- if ((error instanceof DOMException || error.name === "QuotaExceededError") && error.name === "QuotaExceededError") throw new Error(`Storage quota exceeded for key "${key}"`);
78
- if (error instanceof TypeError) throw new Error(`Failed to serialize value for key "${key}": ${error.message}`);
79
- throw error;
80
- }
81
- }
82
- /**
83
- * Removes a value from localStorage. No-op when storage is unavailable.
84
- * @param key - The storage key to remove
85
- */
86
- async remove(key) {
87
- const storage = resolveLocalStorage();
88
- if (!storage) return;
89
- storage.removeItem(key);
90
- }
91
- /**
92
- * Clears all values from localStorage. No-op when storage is unavailable.
93
- */
94
- async clear() {
95
- const storage = resolveLocalStorage();
96
- if (!storage) return;
97
- storage.clear();
98
- }
99
- };
100
- //#endregion
15
+ import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-DA64AEZC.esm.js";
101
16
  //#region src/internal/events/AnalyticsBatchingService.ts
102
17
  const DEFAULT_MAX_BATCH_SIZE = 50;
18
+ const MAX_STATE_BATCH_SIZE = 50;
103
19
  const DEFAULT_MAX_BATCH_AGE_MS = 1e3;
104
20
  const DEFAULT_MAX_RETRIES = 2;
105
21
  const RETRY_BASE_DELAY_MS = 250;
@@ -109,6 +25,10 @@ function isTransientStatus(status) {
109
25
  function createAnalyticsBatchingService(options) {
110
26
  const { endpoint, authToken, pageLifecycle, timer, apiBaseUrl, apiClient = api, maxBatchSize = DEFAULT_MAX_BATCH_SIZE, maxBatchAgeMs = DEFAULT_MAX_BATCH_AGE_MS, maxRetries = DEFAULT_MAX_RETRIES } = options;
111
27
  let buffer = [];
28
+ let stateBuffer = [];
29
+ let stateToken = null;
30
+ let stateBatches = [];
31
+ let stateRequestInFlight = false;
112
32
  let started = false;
113
33
  let disposed = false;
114
34
  let ageTimerHandle = null;
@@ -163,16 +83,46 @@ function createAnalyticsBatchingService(options) {
163
83
  }
164
84
  sendBatch(batch, 0);
165
85
  }
166
- function handlePageHide() {
167
- if (disposed || buffer.length === 0) return;
168
- const batch = buffer;
169
- buffer = [];
170
- clearAgeTimer();
86
+ function syncStateToken() {
171
87
  const token = authToken();
172
- if (!token) {
173
- dropTokenless();
174
- return;
88
+ if (token !== stateToken) {
89
+ stateBuffer = [];
90
+ stateBatches = [];
91
+ stateToken = token;
175
92
  }
93
+ return token;
94
+ }
95
+ function sendNextStateBatch() {
96
+ if (disposed || !started || stateRequestInFlight || stateBatches.length === 0) return;
97
+ const token = syncStateToken();
98
+ const batch = stateBatches.shift();
99
+ if (!batch || !token) return;
100
+ stateRequestInFlight = true;
101
+ const onSettled = () => {
102
+ stateRequestInFlight = false;
103
+ sendNextStateBatch();
104
+ };
105
+ try {
106
+ apiClient.post(endpoint, batch.events, {
107
+ keepalive: true,
108
+ headers: { "X-Incode-Hardware-Id": batch.token }
109
+ }).then(onSettled, onSettled);
110
+ } catch {
111
+ Promise.resolve().then(onSettled);
112
+ }
113
+ }
114
+ function flushStateChanges() {
115
+ if (disposed) return;
116
+ const token = syncStateToken();
117
+ if (!token || stateBuffer.length === 0) return;
118
+ stateBatches.push({
119
+ events: stateBuffer,
120
+ token
121
+ });
122
+ stateBuffer = [];
123
+ sendNextStateBatch();
124
+ }
125
+ function sendBeacon(batch, token) {
176
126
  const url = `${apiBaseUrl().replace(/\/$/, "")}${endpoint}`;
177
127
  const body = JSON.stringify({
178
128
  token,
@@ -180,9 +130,37 @@ function createAnalyticsBatchingService(options) {
180
130
  });
181
131
  pageLifecycle.sendBeacon(url, body);
182
132
  }
133
+ function handlePageHide() {
134
+ if (disposed) return;
135
+ const token = syncStateToken();
136
+ const pendingStates = stateBatches;
137
+ stateBatches = [];
138
+ if (token && stateBuffer.length > 0) pendingStates.push({
139
+ events: stateBuffer,
140
+ token
141
+ });
142
+ stateBuffer = [];
143
+ for (const batch of pendingStates) sendBeacon(batch.events, batch.token);
144
+ if (buffer.length === 0) return;
145
+ const batch = buffer;
146
+ buffer = [];
147
+ clearAgeTimer();
148
+ if (!token) {
149
+ dropTokenless();
150
+ return;
151
+ }
152
+ sendBeacon(batch, token);
153
+ }
183
154
  function enqueue(entry) {
184
155
  if (disposed) return;
156
+ if (entry.code === "stateChanged") {
157
+ if (!syncStateToken()) return;
158
+ stateBuffer.push(entry);
159
+ if (stateBuffer.length === MAX_STATE_BATCH_SIZE) flushStateChanges();
160
+ return;
161
+ }
185
162
  buffer.push(entry);
163
+ if (entry.code === "captureAttemptFinished" || entry.code === "moduleClosed" || entry.code === "errorTriggered" || entry.code === "background") flushStateChanges();
186
164
  if (!started) return;
187
165
  if (buffer.length >= maxBatchSize) {
188
166
  flush();
@@ -195,6 +173,7 @@ function createAnalyticsBatchingService(options) {
195
173
  started = true;
196
174
  unsubscribeLifecycle = pageLifecycle.onPageHide(handlePageHide);
197
175
  if (buffer.length > 0) flush();
176
+ sendNextStateBatch();
198
177
  }
199
178
  function dispose() {
200
179
  if (disposed) return;
@@ -203,15 +182,106 @@ function createAnalyticsBatchingService(options) {
203
182
  unsubscribeLifecycle?.();
204
183
  unsubscribeLifecycle = null;
205
184
  buffer = [];
185
+ stateBuffer = [];
186
+ stateBatches = [];
187
+ stateToken = null;
206
188
  }
207
189
  return {
208
190
  enqueue,
209
191
  start,
210
192
  flush,
193
+ flushStateChanges,
211
194
  dispose
212
195
  };
213
196
  }
214
197
  //#endregion
198
+ //#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
199
+ var BrowserPageLifecycleProvider = class {
200
+ sendBeacon(url, body, contentType = "application/json") {
201
+ if (typeof navigator === "undefined" || typeof navigator.sendBeacon !== "function") return false;
202
+ const blob = new Blob([body], { type: contentType });
203
+ return navigator.sendBeacon(url, blob);
204
+ }
205
+ onPageHide(listener) {
206
+ const onVisibilityChange = () => {
207
+ if (document.visibilityState === "hidden") listener();
208
+ };
209
+ document.addEventListener("visibilitychange", onVisibilityChange);
210
+ window.addEventListener("pagehide", listener);
211
+ window.addEventListener("beforeunload", listener);
212
+ return () => {
213
+ document.removeEventListener("visibilitychange", onVisibilityChange);
214
+ window.removeEventListener("pagehide", listener);
215
+ window.removeEventListener("beforeunload", listener);
216
+ };
217
+ }
218
+ };
219
+ //#endregion
220
+ //#region ../infra/src/providers/browser/BrowserStorageProvider.ts
221
+ /**
222
+ * Browser-based storage provider wrapping localStorage.
223
+ * Handles JSON serialization/deserialization automatically.
224
+ *
225
+ * Degrades silently when the host makes localStorage unreachable: reads return
226
+ * `null` and writes are no-ops. Deliberately quiet — hosts that harden against
227
+ * self-XSS by deleting the global would otherwise see a warning on every call.
228
+ */
229
+ var BrowserStorageProvider = class {
230
+ /**
231
+ * Retrieves a value from localStorage.
232
+ * @param key - The storage key
233
+ * @returns The stored value, or null if not found or storage is unavailable
234
+ * @throws Error if stored value is invalid JSON
235
+ */
236
+ async get(key) {
237
+ const storage = resolveLocalStorage();
238
+ if (!storage) return null;
239
+ try {
240
+ const item = storage.getItem(key);
241
+ if (item === null) return null;
242
+ return JSON.parse(item);
243
+ } catch (error) {
244
+ if (error instanceof SyntaxError) throw new Error(`Invalid JSON stored at key "${key}": ${error.message}`);
245
+ throw error;
246
+ }
247
+ }
248
+ /**
249
+ * Stores a value in localStorage. No-op when storage is unavailable.
250
+ * @param key - The storage key
251
+ * @param value - The value to store (will be serialized as JSON)
252
+ * @throws Error if value cannot be serialized or quota is exceeded
253
+ */
254
+ async set(key, value) {
255
+ const storage = resolveLocalStorage();
256
+ if (!storage) return;
257
+ try {
258
+ const serialized = JSON.stringify(value);
259
+ storage.setItem(key, serialized);
260
+ } catch (error) {
261
+ if ((error instanceof DOMException || error.name === "QuotaExceededError") && error.name === "QuotaExceededError") throw new Error(`Storage quota exceeded for key "${key}"`);
262
+ if (error instanceof TypeError) throw new Error(`Failed to serialize value for key "${key}": ${error.message}`);
263
+ throw error;
264
+ }
265
+ }
266
+ /**
267
+ * Removes a value from localStorage. No-op when storage is unavailable.
268
+ * @param key - The storage key to remove
269
+ */
270
+ async remove(key) {
271
+ const storage = resolveLocalStorage();
272
+ if (!storage) return;
273
+ storage.removeItem(key);
274
+ }
275
+ /**
276
+ * Clears all values from localStorage. No-op when storage is unavailable.
277
+ */
278
+ async clear() {
279
+ const storage = resolveLocalStorage();
280
+ if (!storage) return;
281
+ storage.clear();
282
+ }
283
+ };
284
+ //#endregion
215
285
  //#region ../infra/src/providers/browser/DevtoolsDetectorProvider.ts
216
286
  var DevtoolsDetectorProvider = class {
217
287
  constructor() {
@@ -324,6 +394,52 @@ function stopDevtoolsDetector() {
324
394
  devtoolsDetector.stop();
325
395
  }
326
396
  //#endregion
397
+ //#region src/modules/id/deviceWallet/deviceWalletSettings.ts
398
+ /**
399
+ * Client-side device-wallet settings registered by `setup()`. Kept in a
400
+ * dependency-free module so `setup()` doesn't pull the wallet services into
401
+ * the main bundle.
402
+ */
403
+ let googleSignedRequests = true;
404
+ /** Whether the Google Wallet request is fetched with `signedSupported=true`. */
405
+ function setGoogleWalletSignedRequests(enabled) {
406
+ googleSignedRequests = enabled;
407
+ }
408
+ function isGoogleWalletSignedRequestsEnabled() {
409
+ return googleSignedRequests;
410
+ }
411
+ //#endregion
412
+ //#region src/internal/wasmIntegrity/wasmIntegrityTelemetry.ts
413
+ const TRUESIGHT_SUBSYSTEM = "wasm.integrity";
414
+ function describeCheck(check) {
415
+ const parts = [`asset=${check.asset}`, `status=${check.status}`];
416
+ if (check.byteLength !== void 0) parts.push(`bytes=${check.byteLength}`);
417
+ if (check.durationMs !== void 0) parts.push(`durationMs=${Math.round(check.durationMs)}`);
418
+ if (check.expectedDigestPrefix !== void 0) parts.push(`expected=${check.expectedDigestPrefix}`);
419
+ if (check.actualDigestPrefix !== void 0) parts.push(`actual=${check.actualDigestPrefix}`);
420
+ return parts.join(" ");
421
+ }
422
+ function onAssetChecked(check) {
423
+ const accepted = check.status === "verified" || check.status === "bundled";
424
+ trueSightLog(accepted ? "debug" : "severe", TRUESIGHT_SUBSYSTEM, "other", `wasm asset ${accepted ? "checked" : "rejected"} ${describeCheck(check)}`);
425
+ }
426
+ function onSummary(summary) {
427
+ trueSightLog(summary.failed > 0 ? "error" : "debug", TRUESIGHT_SUBSYSTEM, "other", `wasm integrity summary version=${summary.wasmVersion} verified=${summary.verified} failed=${summary.failed} bundled=${summary.bundled} hashMs=${summary.hashMs}`);
428
+ }
429
+ /**
430
+ * Maps infra's WASM integrity results to TrueSight lines. Nothing carries URLs
431
+ * or asset bytes.
432
+ *
433
+ * Deliberately not sent to the analytics event log: `/omni/interview-events`
434
+ * accepts only allowlisted codes and rejects a whole batch with
435
+ * `Illegal event code` for an unknown one, which would also drop every event
436
+ * batched alongside it. Add an event here only once the backend accepts its code.
437
+ */
438
+ const wasmIntegrityTelemetry = {
439
+ onAssetChecked,
440
+ onSummary
441
+ };
442
+ //#endregion
327
443
  //#region src/setup.ts
328
444
  let wasmConfig;
329
445
  /**
@@ -395,12 +511,12 @@ let configured = false;
395
511
  * });
396
512
  * ```
397
513
  *
398
- * @example Self-hosted WASM (pin a version folder on your CDN)
514
+ * @example Self-hosted WASM (the release-matched files, unmodified, on your CDN)
399
515
  * ```ts
400
516
  * await setup({
401
517
  * apiURL: 'https://api.incode.com',
402
518
  * wasm: {
403
- * basePath: 'https://my-cdn.example.com/ml-wasm-kit-release/v2.13.21',
519
+ * basePath: 'https://my-cdn.example.com/incode-wasm',
404
520
  * },
405
521
  * });
406
522
  * ```
@@ -496,6 +612,7 @@ async function setup(options) {
496
612
  setStandaloneFlowPolicy(standaloneFlowPolicy);
497
613
  registerFlowPreloader(preloadDashboardFlow);
498
614
  if (options.ipLookup !== void 0) setClientIpLookupEnabled(options.ipLookup);
615
+ if (options.deviceWallet?.googleSignedRequests !== void 0) setGoogleWalletSignedRequests(options.deviceWallet.googleSignedRequests);
499
616
  if (options.hostingApp !== void 0) setClientHostingApp(options.hostingApp);
500
617
  if (options.fingerprint !== void 0) {
501
618
  setClientFingerprintEnabled(options.fingerprint);
@@ -509,6 +626,7 @@ async function setup(options) {
509
626
  pageLifecycle: new BrowserPageLifecycleProvider(),
510
627
  timer: BrowserTimerProvider.getInstance()
511
628
  }));
629
+ setWasmIntegrityObserver(wasmIntegrityTelemetry);
512
630
  const requestedEncryption = normalizeEncryption(options.encryption);
513
631
  const stored = getStoredHttpConfig();
514
632
  if (requestedEncryption && stored) {
@@ -550,13 +668,11 @@ async function setup(options) {
550
668
  throw error;
551
669
  }
552
670
  trueSightLog("debug", "wasm", "other", `wasm warmup completed durationMs=${getTimestamp() - warmupStartedAt}`);
553
- const provider = await WasmUtilProvider.getInstance();
554
- await provider.initialize({
671
+ await (await WasmUtilProvider.getInstance()).initialize({
555
672
  ...effectiveWasm,
556
673
  pipelines: effectiveWasm.pipelines ? [...effectiveWasm.pipelines] : void 0
557
674
  });
558
- const showWasmLogs = typeof options.wasm === "object" && options.wasm.showLogs === true;
559
- await provider.setProductionMode(!showWasmLogs);
675
+ fingerprintSignalsReporter.onWasmReady();
560
676
  if (!options.devMode) startDevtoolsDetector();
561
677
  }
562
678
  if (!getIsFeatureManagementLocked()) if (options.featureManagement === false) optOutFeatureManagement();
@@ -602,6 +718,7 @@ async function initializeWasmUtil(config) {
602
718
  ...resolved,
603
719
  pipelines: resolved.pipelines ? [...resolved.pipelines] : void 0
604
720
  });
721
+ fingerprintSignalsReporter.onWasmReady();
605
722
  await upgradeToWasmHttpClient$1(resolved);
606
723
  }
607
724
  /**
@@ -665,9 +782,11 @@ function reset() {
665
782
  resetDeviceStatsQueue();
666
783
  resetApi();
667
784
  resetSessionInit();
785
+ fingerprintSignalsReporter.reset();
668
786
  resetDashboardFlowCache();
669
787
  resetStandaloneFlowPolicy();
670
788
  setClientIpLookupEnabled(true);
789
+ setGoogleWalletSignedRequests(true);
671
790
  setClientFingerprintEnabled(true);
672
791
  setClientHostingApp(void 0);
673
792
  setWasmOnDeviceMode(false);
@@ -675,6 +794,7 @@ function reset() {
675
794
  resetExperimentAssignments();
676
795
  resetResolvedExperiments();
677
796
  resetHttpClientState();
797
+ setWasmIntegrityObserver(null);
678
798
  resetTRI();
679
799
  configured = false;
680
800
  wasmConfig = void 0;
@@ -686,4 +806,4 @@ function reset() {
686
806
  resetTrueSight();
687
807
  }
688
808
  //#endregion
689
- export { resolveWasmConfigForPipelines as a, upgradeToWasmHttpClient as c, reset as i, BrowserStorageProvider as l, initializeWasmUtil as n, setWasmConfig as o, isConfigured as r, setup as s, ensureWasmPipelines as t };
809
+ export { resolveWasmConfigForPipelines as a, upgradeToWasmHttpClient as c, reset as i, isGoogleWalletSignedRequestsEnabled as l, initializeWasmUtil as n, setWasmConfig as o, isConfigured as r, setup as s, ensureWasmPipelines as t, BrowserStorageProvider as u };
@@ -1,4 +1,4 @@
1
- import { c as WasmPipeline, i as WasmModuleConfig, n as WasmModelsConfig, t as WarmupConfig } from "./warmup-Cis2p6O0.js";
1
+ import { c as WasmPipeline, i as WasmModuleConfig, n as WasmModelsConfig, t as WarmupConfig } from "./warmup-BUPPRAA1.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
@@ -34,12 +34,6 @@ type WasmConfig = Partial<WasmModuleConfig> & WasmModelsConfig & {
34
34
  * them.
35
35
  */
36
36
  pipelines?: WasmPipeline[];
37
- /**
38
- * Enables verbose output from the native WASM module.
39
- *
40
- * Defaults to `false`. Enable it only while diagnosing WASM behavior.
41
- */
42
- showLogs?: boolean;
43
37
  };
44
38
  /**
45
39
  * Object form of the `encryption` option for {@link SetupOptions}. Reach for
@@ -192,8 +186,12 @@ type SetupOptions = {
192
186
  * collected during face capture (selfie/authentication/id/personhood) — the
193
187
  * descriptive device fields and `webglFingerprint` are unaffected.
194
188
  *
195
- * This option controls only the client-side JavaScript collection and
196
- * submission path. It does **not** suppress native fingerprint collection:
189
+ * It also stops the native fingerprint signals reporter
190
+ * (`POST /omni/add/device-fingerprint-signals`: PID/DEVICE at session start,
191
+ * BEHAVIOUR after each capture attempt) and switches native behaviour-signals
192
+ * collection off (`sbc(false)`) once WASM is ready.
193
+ *
194
+ * It does **not** suppress the rest of native fingerprint collection:
197
195
  * against the pinned `v2.14.50-post1` runtime, WASM starts collecting during
198
196
  * initialization regardless of this flag, and the full fingerprint bucket is
199
197
  * serialized into the metadata bundle.
@@ -229,6 +227,17 @@ type SetupOptions = {
229
227
  * (off by default).
230
228
  */
231
229
  devMode?: boolean;
230
+ /**
231
+ * Device wallet (mDL) options.
232
+ *
233
+ * `googleSignedRequests` (default `true`): Google Wallet requests are fetched
234
+ * as signed-capable, and the backend picks signed (`openid4vp-v1-signed`) or
235
+ * unsigned. Pass `false` to always get unsigned (`openid4vp-v1-unsigned`)
236
+ * requests, e.g. for testing. Temporary — this choice moves to the backend.
237
+ */
238
+ deviceWallet?: {
239
+ googleSignedRequests?: boolean;
240
+ };
232
241
  /**
233
242
  * Transactional Risk Intelligence (TRI) telemetry configuration.
234
243
  *
@@ -435,12 +444,12 @@ type FeatureManagementSetupOptions = {
435
444
  * });
436
445
  * ```
437
446
  *
438
- * @example Self-hosted WASM (pin a version folder on your CDN)
447
+ * @example Self-hosted WASM (the release-matched files, unmodified, on your CDN)
439
448
  * ```ts
440
449
  * await setup({
441
450
  * apiURL: 'https://api.incode.com',
442
451
  * wasm: {
443
- * basePath: 'https://my-cdn.example.com/ml-wasm-kit-release/v2.13.21',
452
+ * basePath: 'https://my-cdn.example.com/incode-wasm',
444
453
  * },
445
454
  * });
446
455
  * ```
@@ -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-DGBSWz2_.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-BpVt_Jv7.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-ce_XMA3l.esm.js";
2
- import { n as createSignatureManagerFromActor, t as createSignatureManager } from "./signatureManager-B72np4ZO.esm.js";
1
+ import { t as signatureMachine } from "./signatureStateMachine-BkRSrkKp.esm.js";
2
+ import { n as createSignatureManagerFromActor, t as createSignatureManager } from "./signatureManager-qqXyH93e.esm.js";
3
3
  export { createSignatureManager, createSignatureManagerFromActor, signatureMachine };
@@ -1,6 +1,6 @@
1
1
  import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
- import { t as Manager } from "./Manager-CQQ99QOI.js";
3
- import "./Actor-iTq7YY48.js";
2
+ import { t as Manager } from "./Manager-C9T5amUN.js";
3
+ import "./Actor-DpTj5PFb.js";
4
4
  //#region src/modules/signature/types.d.ts
5
5
  /**
6
6
  * Configuration options for Signature.
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CAgFE-k3.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
- import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
- import { t as signatureMachine } from "./signatureStateMachine-ce_XMA3l.esm.js";
3
+ import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
+ import { t as signatureMachine } from "./signatureStateMachine-BkRSrkKp.esm.js";
5
5
  //#region src/modules/signature/signatureActor.ts
6
6
  function createSignatureActor(options) {
7
7
  return createActor(signatureMachine, { input: { config: options.config } }).start();
@@ -24,12 +24,8 @@ function createSignatureActor(options) {
24
24
  *
25
25
  * State → screen mapping rationale:
26
26
  *
27
- * - `idle`/`captureSignature` collapse to `eSign.writeSignature.default` —
28
- * the state machine stays in `captureSignature` throughout drawing (stroke
29
- * validity changes via `SIGNATURE_CHANGED` are context-only and don't fire
30
- * a new `screenOpened`). The `eSign.writeSignature.completed` Figma surface
31
- * is therefore the post-submit "signed canvas while we wait for the API"
32
- * surface, mapped to `submittingSignature`.
27
+ * - Drawing validity selects `default` or `completed` before submission.
28
+ * Clearing the canvas returns to `default`; submission stays on `completed`.
33
29
  * - `success`/`finished` both map to `eSign.writeYourSignature.success` so
34
30
  * the terminal `finished` state stays on the visible success canvas rather
35
31
  * than falling back to the generic `<module>.finished` default.
@@ -42,8 +38,8 @@ function getSignatureScreenName(snapshot) {
42
38
  const stateName = topLevelStateName(snapshot.value);
43
39
  if (stateName === void 0) return void 0;
44
40
  switch (stateName) {
45
- case "idle":
46
- case "captureSignature": return "eSign.writeSignature.default";
41
+ case "idle": return "eSign.writeSignature.default";
42
+ case "captureSignature": return snapshot.context.isValid ? "eSign.writeSignature.completed" : "eSign.writeSignature.default";
47
43
  case "submittingSignature": return "eSign.writeSignature.completed";
48
44
  case "success":
49
45
  case "finished": return "eSign.writeYourSignature.success";
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
3
- import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
2
+ import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
3
+ import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
5
  //#region src/modules/signature/signatureServices.ts
6
6
  /**
7
7
  * Uploads a signature image to the Omni API.
@@ -0,0 +1,19 @@
1
+ //#region src/internal/events/splitTrackedName.ts
2
+ /** Splits a Figma section/state path, keeping the full state name verbatim. */
3
+ function splitTrackedName(fullName) {
4
+ if (fullName === void 0) return {
5
+ screen: void 0,
6
+ state: void 0
7
+ };
8
+ const lastDot = fullName.lastIndexOf(".");
9
+ if (fullName.indexOf(".") === lastDot) return {
10
+ screen: fullName,
11
+ state: void 0
12
+ };
13
+ return {
14
+ screen: fullName.slice(0, lastDot),
15
+ state: fullName
16
+ };
17
+ }
18
+ //#endregion
19
+ export { splitTrackedName as t };
@@ -1,4 +1,4 @@
1
- import { t as __commonJSMin } from "./rolldown-runtime-FDOR9p9I.esm.js";
1
+ import { t as __commonJSMin } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
2
  //#region ../../node_modules/.pnpm/@statsig+client-core@3.33.3/node_modules/@statsig/client-core/src/Log.js
3
3
  var require_Log = /* @__PURE__ */ __commonJSMin(((exports) => {
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,5 @@
1
1
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
2
+ import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
3
3
  //#region src/modules/stats/statsServices.ts
4
4
  const deviceStatsQueue = [];
5
5
  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-CZcy2J53.esm.js";
1
+ import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-DmG_tkGk.esm.js";
2
2
  export { addDeviceStats, flushDeviceStatsQueue, resetDeviceStatsQueue };