@incodetech/core 2.3.2 → 2.4.0-rc.1

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 (271) 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-Bq3OHo7P.d.ts} +2 -2
  4. package/dist/BrowserDiagnosticsEnvelopeProvider-BQca6KPG.esm.js +43 -0
  5. package/dist/{FaceDetectionProvider-DtmtCKa9.esm.js → FaceDetectionProvider-BIImDZrc.esm.js} +125 -10
  6. package/dist/HttpRequestError-Bh0pNGSC.esm.js +35 -0
  7. package/dist/{IIdCaptureCapability-RNiFhvXR.d.ts → IIdCaptureCapability-CGcEt2Cw.d.ts} +2 -2
  8. package/dist/{IWasmUtilCapability-CNWRl7jr.d.ts → IWasmUtilCapability-GF2n7sfm.d.ts} +28 -5
  9. package/dist/{Manager-CQQ99QOI.d.ts → Manager-C9T5amUN.d.ts} +7 -1
  10. package/dist/{MotionSensorProvider-DyhbM4Si.esm.js → MotionSensorProvider-DYxh8TjR.esm.js} +1 -1
  11. package/dist/{ekycStateMachine-UeJRO8_p.esm.js → PhoneValidationProvider-SZiOS0jB.esm.js} +232 -827
  12. package/dist/{StreamCanvasCapture-_8gdW5Lk.d.ts → StreamCanvasCapture-7JRf-2ck.d.ts} +2 -2
  13. package/dist/{safeStorage-BdU9_m2E.esm.js → WasmUtilProvider-DtJuBdt-.esm.js} +111 -49
  14. package/dist/{addressSearch-DyHGgeX8.esm.js → addressSearch-DPjIKJrX.esm.js} +142 -4
  15. package/dist/{advanceableErrors-CpF2cBy6.esm.js → advanceableErrors-q_pfU3Cn.esm.js} +5 -4
  16. package/dist/ae-signature.d.ts +2 -2
  17. package/dist/ae-signature.esm.js +1 -1
  18. package/dist/antifraud.d.ts +1 -1
  19. package/dist/antifraud.esm.js +2 -2
  20. package/dist/{antifraudManager-DNkw66oW.esm.js → antifraudManager-CaweCYnY.esm.js} +3 -3
  21. package/dist/{antifraudManager-BY36bS12.d.ts → antifraudManager-DbGCvlJs.d.ts} +2 -2
  22. package/dist/{antifraudStateMachine-DBeq47D2.esm.js → antifraudStateMachine-DRl0UVyA.esm.js} +3 -4
  23. package/dist/{endpoints-B-3Q-LUw.esm.js → api-Cz90EHyu.esm.js} +151 -1
  24. package/dist/{apiError-CmGEmaGU.esm.js → apiError-D5u6HIDG.esm.js} +2 -1
  25. package/dist/authentication.d.ts +3 -3
  26. package/dist/authentication.esm.js +2 -2
  27. package/dist/{authenticationManager-CboRCl_N.d.ts → authenticationManager-BIZC55Bi.d.ts} +2 -8
  28. package/dist/{authenticationManager-BFjSjtQ_.esm.js → authenticationManager-CB3YW6EK.esm.js} +6 -6
  29. package/dist/{authenticationStateMachine-Dfo34ZiI.esm.js → authenticationStateMachine-BJJhLmdH.esm.js} +5 -6
  30. package/dist/avatar.d.ts +1 -1
  31. package/dist/{backCameraStream-B0-YgP_y.esm.js → backCameraStream-CMvXj4X4.esm.js} +1 -1
  32. package/dist/camera.esm.js +1 -1
  33. package/dist/certificate-issuance.d.ts +1 -1
  34. package/dist/certificate-issuance.esm.js +2 -2
  35. package/dist/{certificateIssuanceManager-C3-CI0_s.esm.js → certificateIssuanceManager-BfeMv2PU.esm.js} +3 -3
  36. package/dist/{certificateIssuanceManager-DCgEidHz.d.ts → certificateIssuanceManager-Dr8A4Lgr.d.ts} +2 -3
  37. package/dist/{certificateIssuanceStateMachine-CxqS_nD-.esm.js → certificateIssuanceStateMachine-Frgjbjw8.esm.js} +4 -5
  38. package/dist/consent.d.ts +1 -1
  39. package/dist/consent.esm.js +2 -2
  40. package/dist/{consentManager-B6E1XJDw.esm.js → consentManager-CvEu8h_W.esm.js} +3 -3
  41. package/dist/{consentManager-2h_w6wFc.d.ts → consentManager-Cv_0QKLD.d.ts} +7 -8
  42. package/dist/{consentStateMachine-DTSfdGiW.esm.js → consentStateMachine-DJTgN_-1.esm.js} +3 -4
  43. package/dist/{createCameraCycleOwnership-DnwTl1ad.esm.js → createCameraCycleOwnership-Dj_LHUvN.esm.js} +71 -66
  44. package/dist/{createFaceAvatar-BlcTYgJv.d.ts → createFaceAvatar-lYX0VTYs.d.ts} +1 -1
  45. package/dist/cross-document-data-match.d.ts +1 -1
  46. package/dist/cross-document-data-match.esm.js +1 -1
  47. package/dist/{crossDocumentDataMatchManager-9XhFVZ5S.esm.js → crossDocumentDataMatchManager-Cu141CE8.esm.js} +4 -5
  48. package/dist/{crossDocumentDataMatchManager-Dq8Z3SOg.d.ts → crossDocumentDataMatchManager-yCWCOzcU.d.ts} +2 -2
  49. package/dist/curp-validation.d.ts +1 -1
  50. package/dist/curp-validation.esm.js +2 -2
  51. package/dist/{curpValidationManager-DbIMYFcJ.esm.js → curpValidationManager-B-z9q5V3.esm.js} +15 -22
  52. package/dist/{curpValidationManager-DNuZn9fn.d.ts → curpValidationManager-C9sqoh9n.d.ts} +3 -3
  53. package/dist/{curpValidationStateMachine-g5kMfuLj.esm.js → curpValidationStateMachine-vDEFLMPw.esm.js} +4 -5
  54. package/dist/custom-fields.d.ts +1 -1
  55. package/dist/custom-fields.esm.js +1 -1
  56. package/dist/custom-watchlist.d.ts +1 -1
  57. package/dist/custom-watchlist.esm.js +2 -2
  58. package/dist/{customFieldsManager-8-W2KY4n.d.ts → customFieldsManager-CF-cO8ap.d.ts} +2 -2
  59. package/dist/{customFieldsManager-CzWZTkW-.esm.js → customFieldsManager-D1ex2cFM.esm.js} +4 -5
  60. package/dist/{customWatchlistManager-DWTED5Ur.esm.js → customWatchlistManager-CTI-SGk0.esm.js} +3 -3
  61. package/dist/{customWatchlistManager-PBWHr_oM.d.ts → customWatchlistManager-DolUswyR.d.ts} +2 -2
  62. package/dist/{customWatchlistStateMachine-DOQou6TW.esm.js → customWatchlistStateMachine-hmRd0f2I.esm.js} +3 -4
  63. package/dist/deepsightLoader-DZMdYSl-.esm.js +55 -0
  64. package/dist/{deepsightLoader-v-dLejS-.esm.js → deepsightService-tGP53cSS.esm.js} +51 -56
  65. package/dist/device.esm.js +1 -1
  66. package/dist/document-capture.d.ts +2 -2
  67. package/dist/document-capture.esm.js +2 -2
  68. package/dist/{documentCaptureManager-BRPxqYD2.esm.js → documentCaptureManager-DUJwpKC5.esm.js} +17 -18
  69. package/dist/{documentCaptureManager-lEtCM320.d.ts → documentCaptureManager-DkyDtm3Y.d.ts} +11 -34
  70. package/dist/{documentCaptureStateMachine-D312sSIu.esm.js → documentCaptureStateMachine-B8i7GnLh.esm.js} +55 -59
  71. package/dist/dynamic-forms.d.ts +2 -2
  72. package/dist/dynamic-forms.esm.js +2 -2
  73. package/dist/{dynamicFormsManager-C-9Jhnd3.esm.js → dynamicFormsManager-Bxmv_9PB.esm.js} +3 -3
  74. package/dist/{dynamicFormsManager-D5R_uxLQ.d.ts → dynamicFormsManager-C0dHs1ty.d.ts} +3 -3
  75. package/dist/{dynamicFormsStateMachine-DGI_F2PP.esm.js → dynamicFormsStateMachine-CoOWTzyM.esm.js} +4 -5
  76. package/dist/ekyb.d.ts +5 -5
  77. package/dist/ekyb.esm.js +3 -3
  78. package/dist/{ekybManager-DeoMcZEz.esm.js → ekybManager-BBkdPxUY.esm.js} +23 -27
  79. package/dist/{ekybManager-BwRuGAwt.d.ts → ekybManager-BaZ_7CEu.d.ts} +4 -4
  80. package/dist/{ekybStateMachine-D1IJ1Z72.esm.js → ekybStateMachine-n4Iz9iLc.esm.js} +338 -14
  81. package/dist/ekyc.d.ts +2 -2
  82. package/dist/ekyc.esm.js +3 -3
  83. package/dist/{ekycManager-BX2d46FY.esm.js → ekycManager-BO-Lui3t.esm.js} +29 -36
  84. package/dist/{ekycManager-DLzDuBzI.d.ts → ekycManager-DW-ynodd.d.ts} +3 -3
  85. package/dist/ekycStateMachine-CDnI_NRq.esm.js +1443 -0
  86. package/dist/{ekycUtils-D6wfSpPN.esm.js → ekycUtils-zY8CdKJL.esm.js} +53 -3
  87. package/dist/electronic-signature.d.ts +1 -1
  88. package/dist/electronic-signature.esm.js +1 -1
  89. package/dist/{electronicSignatureManager-yYUc30na.esm.js → electronicSignatureManager-BtWCrz5_.esm.js} +10 -11
  90. package/dist/{electronicSignatureManager-Ds-KEVTq.d.ts → electronicSignatureManager-DTSLOvKR.d.ts} +2 -3
  91. package/dist/email.d.ts +1 -1
  92. package/dist/email.esm.js +2 -2
  93. package/dist/{emailManager-bR1N5rV_.esm.js → emailManager-ButFktRm.esm.js} +20 -26
  94. package/dist/{emailManager-CADXW_9X.d.ts → emailManager-Dy6omJVp.d.ts} +2 -2
  95. package/dist/{emailStateMachine-Bc_6oIYw.esm.js → emailStateMachine-BXtlC0NV.esm.js} +3 -4
  96. package/dist/{events-ijlbX_Wx.esm.js → events-Du2A4-Qr.esm.js} +203 -8
  97. package/dist/events.d.ts +3 -2
  98. package/dist/events.esm.js +1 -1
  99. package/dist/extensibility.d.ts +38 -38
  100. package/dist/extensibility.esm.js +36 -36
  101. package/dist/{externalFetch-BKBThAUC.esm.js → externalFetch-DrR9xshk.esm.js} +3 -2
  102. package/dist/face-match.d.ts +1 -1
  103. package/dist/face-match.esm.js +2 -2
  104. package/dist/{faceCaptureManagerFactory-m-7ae67q.d.ts → faceCaptureManagerFactory-1hzeS_rB.d.ts} +11 -51
  105. package/dist/{faceCaptureManagerFactory-B6i9QcAk.esm.js → faceCaptureManagerFactory-CwZUeYfq.esm.js} +19 -54
  106. package/dist/{faceCaptureSetup-DU1mjRr6.esm.js → faceCaptureSetup-CYbdKNlI.esm.js} +104 -396
  107. package/dist/{faceMatchManager-BnvrZM2F.d.ts → faceMatchManager-DIgG-UFS.d.ts} +1 -2
  108. package/dist/{faceMatchManager-Bmv0HzuY.esm.js → faceMatchManager-DWFUQjMQ.esm.js} +3 -3
  109. package/dist/{faceMatchStateMachine-mRIHQ3dA.esm.js → faceMatchStateMachine-CUCvlydD.esm.js} +6 -5
  110. package/dist/{feature-management-C8CuN0os.esm.js → feature-management-rTfjzdDa.esm.js} +3 -3
  111. package/dist/feature-management.esm.js +1 -1
  112. package/dist/field-comparison.d.ts +2 -2
  113. package/dist/field-comparison.esm.js +1 -1
  114. package/dist/{fieldComparisonManager-CBvEGxFx.d.ts → fieldComparisonManager-CUX4gza2.d.ts} +6 -3
  115. package/dist/{fieldComparisonManager-CC-klG0h.esm.js → fieldComparisonManager-v3knTYV_.esm.js} +35 -18
  116. package/dist/fiscal-qr.d.ts +1 -1
  117. package/dist/fiscal-qr.esm.js +1 -1
  118. package/dist/{fiscalQrManager-B1STmT6z.d.ts → fiscalQrManager-D0Iy7EKR.d.ts} +2 -2
  119. package/dist/fiscalQrManager-Dt9fHG7h.esm.js +6798 -0
  120. package/dist/flow-events.d.ts +1 -1
  121. package/dist/flow.d.ts +14 -13
  122. package/dist/flow.esm.js +14 -14
  123. package/dist/{flowCompletionService-DccgtDnm.esm.js → flowCompletionService-oiK1PjPr.esm.js} +2 -3
  124. package/dist/{flowServices-CdsWsppG.esm.js → flowServices-CTc-zqfN.esm.js} +11 -8
  125. package/dist/geolocation.d.ts +1 -1
  126. package/dist/geolocation.esm.js +2 -2
  127. package/dist/{geolocationManager-CGHBxtMb.esm.js → geolocationManager-BOdtVuR8.esm.js} +6 -7
  128. package/dist/{geolocationManager-Cz744E5S.d.ts → geolocationManager-Dn24g1fl.d.ts} +2 -3
  129. package/dist/{geolocationStateMachine-CdEb1Gn0.esm.js → geolocationStateMachine-BnGuZ3hn.esm.js} +4 -5
  130. package/dist/{getDeviceClass-5NYZg9s6.esm.js → getDeviceClass-bsWdEDxP.esm.js} +1 -1
  131. package/dist/{getParsedUserAgent-B2iFDql1.esm.js → getParsedUserAgent-DhQPeKqw.esm.js} +1 -1
  132. package/dist/government-validation.d.ts +1 -1
  133. package/dist/government-validation.esm.js +2 -2
  134. package/dist/{governmentValidationManager-D02vT4yY.d.ts → governmentValidationManager-B82zOut8.d.ts} +3 -3
  135. package/dist/{governmentValidationManager-CacFOtKO.esm.js → governmentValidationManager-BtXWHICu.esm.js} +3 -3
  136. package/dist/{governmentValidationStateMachine-CoaZOSTP.esm.js → governmentValidationStateMachine-COL-Vs48.esm.js} +3 -4
  137. package/dist/home.d.ts +3 -26
  138. package/dist/home.esm.js +2 -2
  139. package/dist/http.esm.js +1 -1
  140. package/dist/id-ocr.d.ts +1 -1
  141. package/dist/id-ocr.esm.js +2 -2
  142. package/dist/id-selfie-flow.d.ts +6 -9
  143. package/dist/id-selfie-flow.esm.js +23 -28
  144. package/dist/id-verification.d.ts +1 -1
  145. package/dist/id-verification.esm.js +2 -2
  146. package/dist/id.d.ts +4 -4
  147. package/dist/id.esm.js +4 -205
  148. package/dist/{idCaptureDefaults-Dl64Trv5.esm.js → idCaptureDefaults-BGsG2OAs.esm.js} +7 -5
  149. package/dist/{idCaptureManager-BHwL2Z0V.d.ts → idCaptureManager-0M02hSuC.d.ts} +242 -98
  150. package/dist/{idCaptureManager-BNmVJQkd.esm.js → idCaptureManager-BKedt48Y.esm.js} +276 -210
  151. package/dist/{idCaptureServices-dtDG2HXS.esm.js → idCaptureServices-D0p_RFqk.esm.js} +21 -40
  152. package/dist/{idCaptureStateMachine-BbiZD3uf.esm.js → idCaptureStateMachine-CxwoN5ff.esm.js} +992 -872
  153. package/dist/{idOcrManager-ByWuQ4ej.esm.js → idOcrManager-D3-HNMXP.esm.js} +3 -3
  154. package/dist/{idOcrManager-CFlDwUvN.d.ts → idOcrManager-DT3kPIB3.d.ts} +3 -4
  155. package/dist/{idOcrStateMachine-Bt_abXQQ.esm.js → idOcrStateMachine-DyENX6Ki.esm.js} +3 -4
  156. package/dist/{idVerificationManager-BB4Pj_N6.d.ts → idVerificationManager-BJapZfpy.d.ts} +2 -3
  157. package/dist/{idVerificationManager-DT42c77H.esm.js → idVerificationManager-iWz7Avkr.esm.js} +3 -3
  158. package/dist/{idVerificationStateMachine-DbDVIh9t.esm.js → idVerificationStateMachine-CL1kUdBe.esm.js} +3 -4
  159. package/dist/identity-reuse.d.ts +2 -2
  160. package/dist/identity-reuse.esm.js +2 -2
  161. package/dist/{identityReuseManager-BXEBBI3N.d.ts → identityReuseManager-B1birg5X.d.ts} +162 -44
  162. package/dist/{identityReuseManager-yG3acUrQ.esm.js → identityReuseManager-CD1ucp1d.esm.js} +26 -13
  163. package/dist/{identityReuseStateMachine-BhAkuIra.esm.js → identityReuseStateMachine-DfV81wQC.esm.js} +89 -24
  164. package/dist/{index-CeaC32qI.d.ts → index-CKQ9QBZP.d.ts} +2 -2
  165. package/dist/index-DpTj5PFb.d.ts +1 -0
  166. package/dist/index.d.ts +1 -1
  167. package/dist/index.esm.js +1 -1
  168. package/dist/{invokeOnCaptureCallback-BjzPjJ_p.esm.js → invokeOnCaptureCallback-DYrkOXO6.esm.js} +1 -1
  169. package/dist/lamejs-B6TzhU5q.esm.js +10 -0
  170. package/dist/mandatory-consent.d.ts +2 -2
  171. package/dist/mandatory-consent.esm.js +2 -2
  172. package/dist/{mandatoryConsentManager-7dI0D08q.esm.js → mandatoryConsentManager-Cwqx1nK7.esm.js} +3 -3
  173. package/dist/{mandatoryConsentManager-DFVm_i2B.d.ts → mandatoryConsentManager-okPILEru.d.ts} +8 -9
  174. package/dist/{mandatoryConsentStateMachine-DC5Mo6M1.esm.js → mandatoryConsentStateMachine-pXWqAHo_.esm.js} +3 -4
  175. package/dist/{multipartRecordingService-mwKFTlhR.esm.js → multipartRecordingService-CLwrF5wD.esm.js} +1 -2
  176. package/dist/{permissionGuards-D6TfVop2.esm.js → permissionGuards-gcy3U0SL.esm.js} +1 -1
  177. package/dist/{permissionServices-EY3_Vx6c.esm.js → permissionServices-Ca-tSNhT.esm.js} +34 -3
  178. package/dist/phone-number.d.ts +24 -0
  179. package/dist/phone-number.esm.js +1922 -0
  180. package/dist/phone.d.ts +1 -1
  181. package/dist/phone.esm.js +2 -2
  182. package/dist/{phoneManager-BBU8Lq0O.d.ts → phoneManager-BO-LTih5.d.ts} +16 -3
  183. package/dist/{phoneManager-IjhSv5XS.esm.js → phoneManager-KKUq-Vgo.esm.js} +31 -22
  184. package/dist/{phoneStateMachine-CXdXufKg.esm.js → phoneStateMachine-D2QWS2cu.esm.js} +38 -20
  185. package/dist/phoneValidation-DnBcNUNh.esm.js +48 -0
  186. package/dist/qe-signature.d.ts +2 -2
  187. package/dist/qe-signature.esm.js +1 -1
  188. package/dist/redirect-to-mobile.d.ts +1 -1
  189. package/dist/redirect-to-mobile.esm.js +2 -2
  190. package/dist/{redirectToMobileManager-BD2PvT5B.d.ts → redirectToMobileManager-CVsvpVbQ.d.ts} +2 -2
  191. package/dist/{redirectToMobileManager-FLEWJtv8.esm.js → redirectToMobileManager-uHW3dyuQ.esm.js} +4 -4
  192. package/dist/{redirectToMobileStateMachine-CSWWgUTO.esm.js → redirectToMobileStateMachine-b-H-ipGM.esm.js} +4 -5
  193. package/dist/{rolldown-runtime-FDOR9p9I.esm.js → rolldown-runtime-B-1-B7_t.esm.js} +10 -1
  194. package/dist/{runChildModule-B2Y_hlix.esm.js → runChildModule-CPa0i2_C.esm.js} +13 -12
  195. package/dist/safeStorage-UxDrnjwa.esm.js +35 -0
  196. package/dist/{sdkVersion-N1UiyFiY.esm.js → sdkVersion-BtROs6OA.esm.js} +1 -1
  197. package/dist/selfie.d.ts +4 -4
  198. package/dist/selfie.esm.js +12 -12
  199. package/dist/selfieErrorUtils-sMc0MaNh.esm.js +21 -0
  200. package/dist/{selfieManager-BSZG891S.d.ts → selfieManager-BJdNu_nd.d.ts} +2 -8
  201. package/dist/{selfieManager-AS6wfUvZ.esm.js → selfieManager-Ch9xJbWJ.esm.js} +6 -6
  202. package/dist/selfieStateMachine-DT8QCfKR.esm.js +41 -0
  203. package/dist/{session-BESZc05k.esm.js → session-CNNTckUS.esm.js} +5 -6
  204. package/dist/session.d.ts +15 -3
  205. package/dist/session.esm.js +30 -5
  206. package/dist/sessionInitializer-DVWMJh25.esm.js +973 -0
  207. package/dist/{setup-BuPbxpwF.esm.js → setup-B7ehQ-lf.esm.js} +155 -140
  208. package/dist/{setup-Cyko6cAn.d.ts → setup-YPKTUCY5.d.ts} +42 -15
  209. package/dist/signature.d.ts +1 -1
  210. package/dist/signature.esm.js +2 -2
  211. package/dist/{signatureManager-DGBSWz2_.d.ts → signatureManager-BpVt_Jv7.d.ts} +2 -2
  212. package/dist/{signatureManager-B72np4ZO.esm.js → signatureManager-f_dPAGXn.esm.js} +7 -11
  213. package/dist/{signatureStateMachine-ce_XMA3l.esm.js → signatureStateMachine-C-nUq_oq.esm.js} +3 -4
  214. package/dist/splitTrackedName-3zJRd2RD.esm.js +19 -0
  215. package/dist/{src-35ekGRzK.esm.js → src-DJAJjRYQ.esm.js} +1 -1
  216. package/dist/{stats-CZcy2J53.esm.js → stats-BEvexnKC.esm.js} +1 -2
  217. package/dist/stats.esm.js +1 -1
  218. package/dist/{sessionInitializer-CnhAkMUN.esm.js → thumbmark.esm-CRc0cYvz.esm.js} +33 -776
  219. package/dist/{trueSightService-M5VpCo96.esm.js → trueSightService-BzLdXpmJ.esm.js} +1391 -709
  220. package/dist/trust-graph.d.ts +1 -2
  221. package/dist/trust-graph.esm.js +2 -2
  222. package/dist/{types-C0oWGUzg.d.ts → types-0L-eFDmr.d.ts} +1 -1
  223. package/dist/{types-C1g9itHE.d.ts → types-B6HsSzpk.d.ts} +6 -7
  224. package/dist/{types-DEGVXwsk2.d.ts → types-BAxn7MpY.d.ts} +110 -62
  225. package/dist/{types-BfgmV7s7.d.ts → types-BQA7lRDV.d.ts} +1 -1
  226. package/dist/{types-Cx-1zo-i.d.ts → types-BvLo3U4u.d.ts} +1 -1
  227. package/dist/{types-Bx-BWveD.d.ts → types-CK8Jbjkp.d.ts} +1 -1
  228. package/dist/{types-CxGdmzxa.d.ts → types-Ckir_BEs.d.ts} +1 -1
  229. package/dist/{types-BjSly8cp.d.ts → types-DUnFZ08M.d.ts} +1 -1
  230. package/dist/{types-ESdtnHtg.d.ts → types-yPH8lAH-.d.ts} +3 -4
  231. package/dist/types-zOgZqMni.d.ts +6 -0
  232. package/dist/{urlUtils-D6phjq1-.esm.js → urlUtils-6jsE6rKp.esm.js} +9 -1
  233. package/dist/video-selfie.d.ts +6 -9
  234. package/dist/video-selfie.esm.js +1390 -1349
  235. package/dist/{videoSelfieCameraWarmer-q9ZjvXu9.esm.js → videoSelfieCameraWarmer-DWoFBJAn.esm.js} +10 -11
  236. package/dist/{videoSelfieFlowModuleMachine-BUe2uACW.esm.js → videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js} +1 -1
  237. package/dist/{videoSelfieStepDetector-ChYgFM15.d.ts → videoSelfieStepDetector-CGsTltqB.d.ts} +4 -4
  238. package/dist/videoTrimByCopy-BFfAiNpv.esm.js +15901 -0
  239. package/dist/{warmup-ChDwHSel.esm.js → warmup-BElYWRh7.esm.js} +348 -11
  240. package/dist/{warmup-Cis2p6O0.d.ts → warmup-BO57syF6.d.ts} +8 -0
  241. package/dist/wasm.d.ts +2 -2
  242. package/dist/wasm.esm.js +3 -4
  243. package/dist/{wasmDsFlagSync-DYrLUEII.esm.js → wasmDsFlagSync-CYj5LL9z.esm.js} +1 -1
  244. package/dist/{wasmWebClient-B7baE-Wf.esm.js → wasmWebClient-BjZw_7OB.esm.js} +570 -33
  245. package/dist/watchlist-for-business.d.ts +1 -1
  246. package/dist/watchlist-for-business.esm.js +2 -2
  247. package/dist/watchlist.d.ts +1 -1
  248. package/dist/watchlist.esm.js +2 -2
  249. package/dist/{watchlistForBusinessManager-CsnJnG-C.d.ts → watchlistForBusinessManager-B3GDPZrr.d.ts} +2 -2
  250. package/dist/{watchlistForBusinessManager-CIMkpEhu.esm.js → watchlistForBusinessManager-CZZOFkGl.esm.js} +7 -5
  251. package/dist/{watchlistForBusinessStateMachine-CJ-MvUre.esm.js → watchlistForBusinessStateMachine-B66E7jud.esm.js} +3 -4
  252. package/dist/{watchlistManager-DLXef90v.d.ts → watchlistManager-DJQOd8Pw.d.ts} +2 -2
  253. package/dist/{watchlistManager-CixcLNDT.esm.js → watchlistManager-DXtX94SN.esm.js} +3 -3
  254. package/dist/{watchlistStateMachine-CBqk2w-h.esm.js → watchlistStateMachine-McALifag.esm.js} +3 -4
  255. package/dist/workflow.d.ts +34 -5
  256. package/dist/workflow.esm.js +64 -47
  257. package/dist/{xstate-actors.esm-BXeQ-Ucz.esm.js → xstate-actors.esm-8Gzepa_A.esm.js} +1 -1
  258. package/dist/{xstate.esm-BuFLFuzz.esm.js → xstate.esm-DSajW7CJ.esm.js} +24 -10
  259. package/package.json +13 -5
  260. package/dist/Actor-iTq7YY48.d.ts +0 -1
  261. package/dist/BrowserDiagnosticsCryptoProvider-BuzqvbhN.esm.js +0 -77
  262. package/dist/StateMachine-EDpYWy0i.d.ts +0 -6
  263. package/dist/api-Bx3gKW_y.esm.js +0 -129
  264. package/dist/fiscalQrManager-DbCVMIBx.esm.js +0 -34143
  265. package/dist/index-B8weJxmL.d.ts +0 -1
  266. package/dist/selfieErrorUtils-UiQ46EBa.esm.js +0 -116
  267. package/dist/selfieStateMachine-DY7vJVNY.esm.js +0 -71
  268. package/dist/types-BN5RPPIZ.esm.js +0 -34
  269. package/dist/types-Bt9RuRqt.d.ts +0 -6
  270. package/dist/virtualCameraCheck-Cjab7FTI.esm.js +0 -48
  271. /package/dist/{types-BSBzhHRH.d.ts → types-BSBzhHRH2.d.ts} +0 -0
@@ -1,16 +1,37 @@
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-M5VpCo96.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";
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-BzLdXpmJ.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-DVWMJh25.esm.js";
8
+ import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.esm.js";
4
9
  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-C8CuN0os.esm.js";
6
- import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
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-CnhAkMUN.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";
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-rTfjzdDa.esm.js";
11
+ import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-BEvexnKC.esm.js";
12
12
  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-CdsWsppG.esm.js";
13
+ import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-CTc-zqfN.esm.js";
14
+ //#region ../infra/src/wasm/wasmRuntimeProfile.ts
15
+ /**
16
+ * The WASM facts TrueSight reports as `session.webProfile.wasm`
17
+ * (incode-truesight `WebProfile.wasm`, ENG-58122). Reads JS-side state only:
18
+ * it is called from the record build, which can run inside a WASM sink
19
+ * callback, so it must never call back into the binary.
20
+ */
21
+ /** `null` until a WASM warmup completed in this page. */
22
+ function getWasmRuntimeProfile() {
23
+ const facts = getWarmupFacts();
24
+ if (facts === null) return null;
25
+ const diagnosticsMode = getWasmDiagnosticsMode();
26
+ return {
27
+ version: DEFAULT_WASM_VERSION,
28
+ basePathPinned: facts.basePathPinned,
29
+ simd: facts.simd,
30
+ ...diagnosticsMode === null ? {} : { diagnosticsMode },
31
+ warmupDurationMs: Math.round(facts.durationMs)
32
+ };
33
+ }
34
+ //#endregion
14
35
  //#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
15
36
  var BrowserPageLifecycleProvider = class {
16
37
  sendBeacon(url, body, contentType = "application/json") {
@@ -98,120 +119,6 @@ var BrowserStorageProvider = class {
98
119
  }
99
120
  };
100
121
  //#endregion
101
- //#region src/internal/events/AnalyticsBatchingService.ts
102
- const DEFAULT_MAX_BATCH_SIZE = 50;
103
- const DEFAULT_MAX_BATCH_AGE_MS = 1e3;
104
- const DEFAULT_MAX_RETRIES = 2;
105
- const RETRY_BASE_DELAY_MS = 250;
106
- function isTransientStatus(status) {
107
- return status === 0 || status >= 500 || status === 408 || status === 429;
108
- }
109
- function createAnalyticsBatchingService(options) {
110
- 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
- let buffer = [];
112
- let started = false;
113
- let disposed = false;
114
- let ageTimerHandle = null;
115
- let unsubscribeLifecycle = null;
116
- let warnedNullToken = false;
117
- function clearAgeTimer() {
118
- if (ageTimerHandle !== null) {
119
- timer.clearTimeout(ageTimerHandle);
120
- ageTimerHandle = null;
121
- }
122
- }
123
- function armAgeTimerIfNeeded() {
124
- if (ageTimerHandle === null) ageTimerHandle = timer.setTimeout(() => {
125
- ageTimerHandle = null;
126
- flush();
127
- }, maxBatchAgeMs);
128
- }
129
- function dropTokenless() {
130
- if (!warnedNullToken) {
131
- warnedNullToken = true;
132
- console.warn("[AnalyticsBatchingService] Dropping batch: no auth token at flush time.");
133
- }
134
- }
135
- function sendBatch(batch, attempt) {
136
- let promise;
137
- try {
138
- promise = apiClient.post(endpoint, batch, { keepalive: true });
139
- } catch (error) {
140
- handleSendError(batch, error, attempt);
141
- return;
142
- }
143
- promise.catch((error) => handleSendError(batch, error, attempt));
144
- }
145
- function handleSendError(batch, error, attempt) {
146
- if (disposed) return;
147
- if (!isTransientStatus(error && typeof error === "object" && "status" in error ? Number(error.status) || 0 : 0)) return;
148
- if (attempt >= maxRetries) return;
149
- const delay = RETRY_BASE_DELAY_MS * 2 ** attempt;
150
- timer.setTimeout(() => {
151
- if (disposed) return;
152
- sendBatch(batch, attempt + 1);
153
- }, delay);
154
- }
155
- function flush() {
156
- if (disposed || buffer.length === 0) return;
157
- const batch = buffer;
158
- buffer = [];
159
- clearAgeTimer();
160
- if (!authToken()) {
161
- dropTokenless();
162
- return;
163
- }
164
- sendBatch(batch, 0);
165
- }
166
- function handlePageHide() {
167
- if (disposed || buffer.length === 0) return;
168
- const batch = buffer;
169
- buffer = [];
170
- clearAgeTimer();
171
- const token = authToken();
172
- if (!token) {
173
- dropTokenless();
174
- return;
175
- }
176
- const url = `${apiBaseUrl().replace(/\/$/, "")}${endpoint}`;
177
- const body = JSON.stringify({
178
- token,
179
- events: batch
180
- });
181
- pageLifecycle.sendBeacon(url, body);
182
- }
183
- function enqueue(entry) {
184
- if (disposed) return;
185
- buffer.push(entry);
186
- if (!started) return;
187
- if (buffer.length >= maxBatchSize) {
188
- flush();
189
- return;
190
- }
191
- armAgeTimerIfNeeded();
192
- }
193
- function start() {
194
- if (started || disposed) return;
195
- started = true;
196
- unsubscribeLifecycle = pageLifecycle.onPageHide(handlePageHide);
197
- if (buffer.length > 0) flush();
198
- }
199
- function dispose() {
200
- if (disposed) return;
201
- disposed = true;
202
- clearAgeTimer();
203
- unsubscribeLifecycle?.();
204
- unsubscribeLifecycle = null;
205
- buffer = [];
206
- }
207
- return {
208
- enqueue,
209
- start,
210
- flush,
211
- dispose
212
- };
213
- }
214
- //#endregion
215
122
  //#region ../infra/src/providers/browser/DevtoolsDetectorProvider.ts
216
123
  var DevtoolsDetectorProvider = class {
217
124
  constructor() {
@@ -324,6 +231,53 @@ function stopDevtoolsDetector() {
324
231
  devtoolsDetector.stop();
325
232
  }
326
233
  //#endregion
234
+ //#region src/modules/id/deviceWallet/deviceWalletSettings.ts
235
+ /**
236
+ * Client-side device-wallet settings registered by `setup()`. Kept in a
237
+ * dependency-free module so `setup()` doesn't pull the wallet services into
238
+ * the main bundle.
239
+ */
240
+ let googleSignedRequests = true;
241
+ /** Whether the Google Wallet request is fetched with `signedSupported=true`. */
242
+ function setGoogleWalletSignedRequests(enabled) {
243
+ googleSignedRequests = enabled;
244
+ }
245
+ function isGoogleWalletSignedRequestsEnabled() {
246
+ return googleSignedRequests;
247
+ }
248
+ //#endregion
249
+ //#region src/internal/wasmIntegrity/wasmIntegrityTelemetry.ts
250
+ const TRUESIGHT_SUBSYSTEM = "wasm.integrity";
251
+ function describeCheck(check) {
252
+ const parts = [`asset=${check.asset}`, `status=${check.status}`];
253
+ if (check.byteLength !== void 0) parts.push(`bytes=${check.byteLength}`);
254
+ if (check.durationMs !== void 0) parts.push(`durationMs=${Math.round(check.durationMs)}`);
255
+ if (check.fetchMs !== void 0) parts.push(`fetchMs=${Math.round(check.fetchMs)}`);
256
+ if (check.expectedDigestPrefix !== void 0) parts.push(`expected=${check.expectedDigestPrefix}`);
257
+ if (check.actualDigestPrefix !== void 0) parts.push(`actual=${check.actualDigestPrefix}`);
258
+ return parts.join(" ");
259
+ }
260
+ function onAssetChecked(check) {
261
+ const accepted = check.status === "verified" || check.status === "bundled";
262
+ trueSightLog(accepted ? "debug" : "severe", TRUESIGHT_SUBSYSTEM, "other", `wasm asset ${accepted ? "checked" : "rejected"} ${describeCheck(check)}`);
263
+ }
264
+ function onSummary(summary) {
265
+ 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}`);
266
+ }
267
+ /**
268
+ * Maps infra's WASM integrity results to TrueSight lines. Nothing carries URLs
269
+ * or asset bytes.
270
+ *
271
+ * Deliberately not sent to the analytics event log: `/omni/interview-events`
272
+ * accepts only allowlisted codes and rejects a whole batch with
273
+ * `Illegal event code` for an unknown one, which would also drop every event
274
+ * batched alongside it. Add an event here only once the backend accepts its code.
275
+ */
276
+ const wasmIntegrityTelemetry = {
277
+ onAssetChecked,
278
+ onSummary
279
+ };
280
+ //#endregion
327
281
  //#region src/setup.ts
328
282
  let wasmConfig;
329
283
  /**
@@ -354,6 +308,53 @@ function normalizeEncryption(input) {
354
308
  }
355
309
  let configured = false;
356
310
  /**
311
+ * One-line environment facts for TrueSight's snapshot-on-first-error entry
312
+ * (navigator facts read through the L0 provider — core never touches
313
+ * browser globals directly).
314
+ */
315
+ function buildEnvironmentSnapshot() {
316
+ const environment = new BrowserEnvironmentProvider();
317
+ const read = (property) => {
318
+ try {
319
+ return environment.getNavigatorProperty(property);
320
+ } catch {
321
+ return;
322
+ }
323
+ };
324
+ const connection = read("connection");
325
+ return [
326
+ `connection=${typeof connection?.effectiveType === "string" ? connection.effectiveType : "unknown"}`,
327
+ `saveData=${connection?.saveData === true}`,
328
+ `online=${read("onLine") !== false}`,
329
+ `language=${typeof read("language") === "string" ? String(read("language")) : "unknown"}`
330
+ ].join(" ");
331
+ }
332
+ /**
333
+ * ENG-48677 event map row 23b: every Incode HTTP request, success or
334
+ * failure, becomes a self-health line (Android-dashboard parity). Lives here
335
+ * rather than in `api.ts` — `trueSightService` already imports from that
336
+ * module, so a direct `trueSightLog` import there would cycle; `setup()`
337
+ * wires this adapter in as the decoupled observer instead.
338
+ */
339
+ function logHttpRequestTiming(entry) {
340
+ const category = categoryForEndpoint(entry.endpoint);
341
+ const status = entry.httpStatus ?? "unknown";
342
+ if (entry.outcome === "success") {
343
+ trueSightLog("debug", "http", category, `http request completed endpoint=${entry.endpoint} method=${entry.method} httpStatus=${status} durationMs=${entry.durationMs}`);
344
+ return;
345
+ }
346
+ trueSightLog("error", "http", category, `http request failed endpoint=${entry.endpoint} method=${entry.method} httpStatus=${status} durationMs=${entry.durationMs}`);
347
+ }
348
+ /**
349
+ * ENG-48677 WS2: WASM-adjacent taps and kit-batch drains funnel through
350
+ * infra's `wasmDiagnostics` (L0 cannot import `trueSightLog`); this adapter
351
+ * is the injected handler — same decoupled-observer shape as the HTTP
352
+ * timing tap above.
353
+ */
354
+ function logWasmDiagnostic(entry) {
355
+ trueSightLog(entry.level, `wasm.${entry.subsystem}`, entry.category, entry.message, entry.timestampMs);
356
+ }
357
+ /**
357
358
  * Initializes the SDK with the provided configuration.
358
359
  * Must be called before using any SDK functionality.
359
360
  *
@@ -395,12 +396,12 @@ let configured = false;
395
396
  * });
396
397
  * ```
397
398
  *
398
- * @example Self-hosted WASM (pin a version folder on your CDN)
399
+ * @example Self-hosted WASM (the release-matched files, unmodified, on your CDN)
399
400
  * ```ts
400
401
  * await setup({
401
402
  * apiURL: 'https://api.incode.com',
402
403
  * wasm: {
403
- * basePath: 'https://my-cdn.example.com/ml-wasm-kit-release/v2.13.21',
404
+ * basePath: 'https://my-cdn.example.com/incode-wasm',
404
405
  * },
405
406
  * });
406
407
  * ```
@@ -496,6 +497,7 @@ async function setup(options) {
496
497
  setStandaloneFlowPolicy(standaloneFlowPolicy);
497
498
  registerFlowPreloader(preloadDashboardFlow);
498
499
  if (options.ipLookup !== void 0) setClientIpLookupEnabled(options.ipLookup);
500
+ if (options.deviceWallet?.googleSignedRequests !== void 0) setGoogleWalletSignedRequests(options.deviceWallet.googleSignedRequests);
499
501
  if (options.hostingApp !== void 0) setClientHostingApp(options.hostingApp);
500
502
  if (options.fingerprint !== void 0) {
501
503
  setClientFingerprintEnabled(options.fingerprint);
@@ -509,6 +511,23 @@ async function setup(options) {
509
511
  pageLifecycle: new BrowserPageLifecycleProvider(),
510
512
  timer: BrowserTimerProvider.getInstance()
511
513
  }));
514
+ initializeTrueSightDiagnostics({
515
+ enabled: options.trueSight?.enabled !== false,
516
+ pageLifecycle: new BrowserPageLifecycleProvider(),
517
+ timer: BrowserTimerProvider.getInstance(),
518
+ storage: new BrowserStorageProvider(),
519
+ getEnvironmentSnapshot: buildEnvironmentSnapshot,
520
+ getWasmProfile: getWasmRuntimeProfile
521
+ });
522
+ noteTestingSignals({
523
+ devMode: options.devMode,
524
+ apiUrl: options.apiURL
525
+ });
526
+ setHttpRequestObserver(logHttpRequestTiming);
527
+ setWasmIntegrityObserver(wasmIntegrityTelemetry);
528
+ setWasmDiagnosticsHandler(logWasmDiagnostic);
529
+ setTrueSightExternalDrain(drainWasmDiagnostics);
530
+ if (!configured) rearmWasmDiagnostics();
512
531
  const requestedEncryption = normalizeEncryption(options.encryption);
513
532
  const stored = getStoredHttpConfig();
514
533
  if (requestedEncryption && stored) {
@@ -542,21 +561,12 @@ async function setup(options) {
542
561
  ...effectiveWasm,
543
562
  pipelines: effectiveWasm.pipelines ? [...effectiveWasm.pipelines] : void 0
544
563
  };
545
- const warmupStartedAt = getTimestamp();
546
- try {
547
- await warmupWasm(effectiveWasm);
548
- } catch (error) {
549
- trueSightLog("severe", "wasm", "other", `wasm warmup failed error=${String(error)} durationMs=${getTimestamp() - warmupStartedAt}`);
550
- throw error;
551
- }
552
- trueSightLog("debug", "wasm", "other", `wasm warmup completed durationMs=${getTimestamp() - warmupStartedAt}`);
553
- const provider = await WasmUtilProvider.getInstance();
554
- await provider.initialize({
564
+ await warmupWasm(effectiveWasm);
565
+ await (await WasmUtilProvider.getInstance()).initialize({
555
566
  ...effectiveWasm,
556
567
  pipelines: effectiveWasm.pipelines ? [...effectiveWasm.pipelines] : void 0
557
568
  });
558
- const showWasmLogs = typeof options.wasm === "object" && options.wasm.showLogs === true;
559
- await provider.setProductionMode(!showWasmLogs);
569
+ fingerprintSignalsReporter.onWasmReady();
560
570
  if (!options.devMode) startDevtoolsDetector();
561
571
  }
562
572
  if (!getIsFeatureManagementLocked()) if (options.featureManagement === false) optOutFeatureManagement();
@@ -602,6 +612,7 @@ async function initializeWasmUtil(config) {
602
612
  ...resolved,
603
613
  pipelines: resolved.pipelines ? [...resolved.pipelines] : void 0
604
614
  });
615
+ fingerprintSignalsReporter.onWasmReady();
605
616
  await upgradeToWasmHttpClient$1(resolved);
606
617
  }
607
618
  /**
@@ -665,9 +676,11 @@ function reset() {
665
676
  resetDeviceStatsQueue();
666
677
  resetApi();
667
678
  resetSessionInit();
679
+ fingerprintSignalsReporter.reset();
668
680
  resetDashboardFlowCache();
669
681
  resetStandaloneFlowPolicy();
670
682
  setClientIpLookupEnabled(true);
683
+ setGoogleWalletSignedRequests(true);
671
684
  setClientFingerprintEnabled(true);
672
685
  setClientHostingApp(void 0);
673
686
  setWasmOnDeviceMode(false);
@@ -675,6 +688,8 @@ function reset() {
675
688
  resetExperimentAssignments();
676
689
  resetResolvedExperiments();
677
690
  resetHttpClientState();
691
+ setWasmIntegrityObserver(null);
692
+ setWasmDiagnosticsHandler(null);
678
693
  resetTRI();
679
694
  configured = false;
680
695
  wasmConfig = void 0;
@@ -686,4 +701,4 @@ function reset() {
686
701
  resetTrueSight();
687
702
  }
688
703
  //#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 };
704
+ 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-BO57syF6.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
  *
@@ -252,10 +261,28 @@ type SetupOptions = {
252
261
  */
253
262
  tri?: TransactionalRiskIntelligenceSetupConfig;
254
263
  /**
255
- * TrueSight diagnostics are temporarily unavailable while secure log
256
- * encryption is implemented. This option remains accepted for compatibility;
257
- * neither `enabled: true` nor a server flag can activate diagnostics.
258
- * Regular SDK analytics are unaffected.
264
+ * TrueSight diagnostics — Incode-internal SDK-health telemetry
265
+ * (engineering-only dashboard, not customer analytics). During a session
266
+ * the SDK buffers structured diagnostic breadcrumbs (module outcomes, error
267
+ * codes, timings — sanitized to exclude personal data, never captured
268
+ * images) and, at the session terminal, uploads ONE gzipped record over
269
+ * HTTPS to the Incode diagnostics backend. Used by Incode to debug
270
+ * customer-reported capture issues. Fire-and-forget and fail-open: it adds
271
+ * no retries, no blocking work, and can never affect the host flow.
272
+ *
273
+ * While a session runs, a gzipped copy of the record is kept in
274
+ * `localStorage` (`incode.truesight.pending.*`) so it survives a closed tab
275
+ * or a cancelled upload. A copy left behind may be sent on a later page
276
+ * load; copies older than 7 days are deleted without being sent.
277
+ *
278
+ * - `enabled` — set `false` to opt out entirely (no collection, no
279
+ * subscriptions, no upload). Default: `true` (native SDK parity). Also
280
+ * subject to a server-side kill-switch; an explicit server `false` stops
281
+ * collection remotely regardless of this option.
282
+ *
283
+ * Decided by the first `setup()` call of the SDK lifecycle; later `setup()`
284
+ * calls cannot re-enable or disable it mid-session. Call `reset()` to start
285
+ * a new lifecycle with a different value.
259
286
  */
260
287
  trueSight?: {
261
288
  enabled?: boolean;
@@ -435,12 +462,12 @@ type FeatureManagementSetupOptions = {
435
462
  * });
436
463
  * ```
437
464
  *
438
- * @example Self-hosted WASM (pin a version folder on your CDN)
465
+ * @example Self-hosted WASM (the release-matched files, unmodified, on your CDN)
439
466
  * ```ts
440
467
  * await setup({
441
468
  * apiURL: 'https://api.incode.com',
442
469
  * wasm: {
443
- * basePath: 'https://my-cdn.example.com/ml-wasm-kit-release/v2.13.21',
470
+ * basePath: 'https://my-cdn.example.com/incode-wasm',
444
471
  * },
445
472
  * });
446
473
  * ```
@@ -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-C-nUq_oq.esm.js";
2
+ import { n as createSignatureManagerFromActor, t as createSignatureManager } from "./signatureManager-f_dPAGXn.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-Du2A4-Qr.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-C-nUq_oq.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,6 @@
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";
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";
5
4
  //#region src/modules/signature/signatureServices.ts
6
5
  /**
7
6
  * 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,4 @@
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";
1
+ import { r as getToken, t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
3
2
  //#region src/modules/stats/statsServices.ts
4
3
  const deviceStatsQueue = [];
5
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-CZcy2J53.esm.js";
1
+ import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-BEvexnKC.esm.js";
2
2
  export { addDeviceStats, flushDeviceStatsQueue, resetDeviceStatsQueue };