@incodetech/core 2.4.1-agentic → 2.4.1-agentic.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 (204) hide show
  1. package/dist/BrowserNetworkStatusProvider-BrDXBEDd.esm.js +21 -0
  2. package/dist/{multipartRecordingService-DMBxHKS2.esm.js → CameraCompositor-DN7NkJzV.esm.js} +7 -734
  3. package/dist/{FaceDetectionProvider-B83VmClw.esm.js → FaceDetectionProvider-CAY43vSI.esm.js} +11 -12
  4. package/dist/MultipartRecordingProvider-D9mauUdS.esm.js +146 -0
  5. package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +42 -0
  6. package/dist/{WasmUtilProvider-GTkoJyFY.esm.js → WasmUtilProvider-Dp2V-Uct.esm.js} +2 -2
  7. package/dist/WorkerEncoderRecordingProvider-B1ODYtgN.esm.js +80 -0
  8. package/dist/{addressSearch-41sMcnJk.esm.js → addressSearch-DzbE9Ogt.esm.js} +2 -352
  9. package/dist/ae-signature.esm.js +1 -1
  10. package/dist/antifraud.esm.js +2 -2
  11. package/dist/{antifraudManager-CQ08atTC.esm.js → antifraudManager-BObuHBjn.esm.js} +2 -2
  12. package/dist/{antifraudStateMachine-BcsUTTIr.esm.js → antifraudStateMachine-Dfrd2-26.esm.js} +1 -1
  13. package/dist/{api-BO8JA7Pf.esm.js → api-CpP4PS4S.esm.js} +2 -0
  14. package/dist/{apiError-CfuIvnUy.esm.js → apiError-DH-CH4Nz.esm.js} +1 -1
  15. package/dist/{attemptCarry-BjTJ6bMQ.esm.js → attemptCarry-WOkfvFMw.esm.js} +2 -2
  16. package/dist/authentication.d.ts +3 -3
  17. package/dist/authentication.esm.js +2 -2
  18. package/dist/{authenticationManager-C-cOki0Y.d.ts → authenticationManager-CWmh7aSY.d.ts} +1 -1
  19. package/dist/{authenticationManager-DvmklBTE.esm.js → authenticationManager-DjX0XDyH.esm.js} +5 -5
  20. package/dist/{authenticationStateMachine-BL2ptOA0.esm.js → authenticationStateMachine-BMbZL8wm.esm.js} +3 -3
  21. package/dist/backCameraLabel-yda5ugE4.esm.js +67 -0
  22. package/dist/{backCameraStream-C5_NNfUN.esm.js → backCameraStream-DS1oDiUq.esm.js} +10 -65
  23. package/dist/camera.d.ts +2 -2
  24. package/dist/camera.esm.js +1 -1
  25. package/dist/certificate-issuance.esm.js +2 -2
  26. package/dist/{certificateIssuanceManager-CM0fuqDC.esm.js → certificateIssuanceManager-C1nETQos.esm.js} +2 -2
  27. package/dist/{certificateIssuanceStateMachine-kksIUOPD.esm.js → certificateIssuanceStateMachine-DThXMDqr.esm.js} +1 -1
  28. package/dist/{connectivity-HSl0diCx.esm.js → connectivity-BCuEoQ-n.esm.js} +2 -21
  29. package/dist/consent.d.ts +1 -1
  30. package/dist/consent.esm.js +2 -2
  31. package/dist/{consentManager-CBwFozhv.esm.js → consentManager-DMlSL6Ax.esm.js} +2 -2
  32. package/dist/{consentManager-_q9yJUku.d.ts → consentManager-bjfVXO7p.d.ts} +9 -9
  33. package/dist/{consentStateMachine-CpmRAcr2.esm.js → consentStateMachine-DIYSMxKQ.esm.js} +1 -1
  34. package/dist/cross-document-data-match.esm.js +1 -1
  35. package/dist/{crossDocumentDataMatchManager-64O8t10a.esm.js → crossDocumentDataMatchManager-BFTdiEDB.esm.js} +2 -2
  36. package/dist/curp-validation.d.ts +1 -1
  37. package/dist/curp-validation.esm.js +2 -2
  38. package/dist/{curpValidationManager-CLgJQcx0.esm.js → curpValidationManager-DNpC3wyf.esm.js} +2 -2
  39. package/dist/{curpValidationManager-CXpFE-Mv.d.ts → curpValidationManager-z8428oCM.d.ts} +1 -1
  40. package/dist/{curpValidationStateMachine-Bx9YhVkJ.esm.js → curpValidationStateMachine-B3iVsDyt.esm.js} +2 -2
  41. package/dist/custom-fields.esm.js +1 -1
  42. package/dist/custom-watchlist.esm.js +2 -2
  43. package/dist/{customFieldsManager-DWt_0YtJ.esm.js → customFieldsManager-CvI-pDT3.esm.js} +2 -2
  44. package/dist/{customWatchlistManager-D8o-2Nej.esm.js → customWatchlistManager-BuHtUb0y.esm.js} +2 -2
  45. package/dist/{customWatchlistStateMachine-Sbi6DIcK.esm.js → customWatchlistStateMachine-CiVD9wyF.esm.js} +1 -1
  46. package/dist/{deepsightService-twg3bXqY.esm.js → deepsightLoader-B7DEYoyY.esm.js} +34 -29
  47. package/dist/{desktopCameraElection-kHY2IDJi.esm.js → desktopCameraElection-BGMtYwk3.esm.js} +5 -5
  48. package/dist/document-capture.d.ts +3 -3
  49. package/dist/document-capture.esm.js +2 -2
  50. package/dist/{documentCaptureManager-6tnnDkMX.d.ts → documentCaptureManager-CD5iQiUI.d.ts} +24 -3
  51. package/dist/{documentCaptureManager-CMSC_Mhd.esm.js → documentCaptureManager-DLPqruXJ.esm.js} +3 -2
  52. package/dist/{documentCaptureStateMachine-BCwD5Rto.esm.js → documentCaptureStateMachine-DCvWQhFG.esm.js} +67 -26
  53. package/dist/dynamic-forms.esm.js +2 -2
  54. package/dist/{dynamicFormsManager-DU6W1e20.esm.js → dynamicFormsManager-DfqCEPg9.esm.js} +2 -2
  55. package/dist/{dynamicFormsStateMachine-C8Z7k3vo.esm.js → dynamicFormsStateMachine-USQMB-uV.esm.js} +2 -2
  56. package/dist/ekyb.d.ts +4 -4
  57. package/dist/ekyb.esm.js +3 -3
  58. package/dist/{ekybManager-TB6ZG5lX.d.ts → ekybManager-BLOkwmWO.d.ts} +2 -2
  59. package/dist/{ekybManager-TGfqyjuu.esm.js → ekybManager-CR8YSYux.esm.js} +2 -2
  60. package/dist/{ekybStateMachine-DBgFuEPK.esm.js → ekybStateMachine-kHwdz6hm.esm.js} +5 -3
  61. package/dist/ekybUtils-Cw8Ta9Qi.esm.js +140 -0
  62. package/dist/ekyc.d.ts +3 -2
  63. package/dist/ekyc.esm.js +3 -3
  64. package/dist/{ekycManager-BSQteIfC.d.ts → ekycManager-DlGIn9wA.d.ts} +2 -1
  65. package/dist/{ekycManager-C2cgG2Pl.esm.js → ekycManager-DymCvmVB.esm.js} +2 -2
  66. package/dist/{ekycStateMachine-CuNF7z4O.esm.js → ekycStateMachine-CoFCUJ2z.esm.js} +141 -68
  67. package/dist/{ekycUtils-BFncpC4F.esm.js → ekycUtils-GRuMELYr.esm.js} +80 -9
  68. package/dist/electronic-signature.esm.js +1 -1
  69. package/dist/{electronicSignatureManager-C7pqXsRm.esm.js → electronicSignatureManager-BCE3uA3z.esm.js} +3 -3
  70. package/dist/email.esm.js +2 -2
  71. package/dist/{emailManager-FH_CP0cT.esm.js → emailManager-CGoE3CUe.esm.js} +2 -2
  72. package/dist/{emailStateMachine-Cx-uTaBV.esm.js → emailStateMachine-KgHfDNvM.esm.js} +2 -2
  73. package/dist/{events-CQteqXfy.esm.js → events-ggpBBaZ8.esm.js} +1 -1
  74. package/dist/events.esm.js +1 -1
  75. package/dist/extensibility.d.ts +15 -14
  76. package/dist/extensibility.esm.js +36 -35
  77. package/dist/face-match.esm.js +2 -2
  78. package/dist/{faceCaptureManagerFactory-C-xKdj-d.d.ts → faceCaptureManagerFactory-DV2ULUYS.d.ts} +3 -3
  79. package/dist/{faceCaptureManagerFactory-CBm05KnT.esm.js → faceCaptureManagerFactory-Dp90bedH.esm.js} +4 -4
  80. package/dist/{faceCaptureSetup-BQjCbL51.esm.js → faceCaptureSetup-ZfiWg0fo.esm.js} +12 -403
  81. package/dist/{faceMatchManager-B2zp7yP4.esm.js → faceMatchManager-D2xKPjjQ.esm.js} +2 -2
  82. package/dist/{faceMatchStateMachine-ByTMQCUC.esm.js → faceMatchStateMachine-CUvwiQi9.esm.js} +2 -2
  83. package/dist/{feature-management-DjAG5lsJ.esm.js → feature-management-BbCIA4og.esm.js} +35 -21
  84. package/dist/feature-management.esm.js +1 -1
  85. package/dist/field-comparison.esm.js +1 -1
  86. package/dist/{fieldComparisonManager-CC0vKmpf.esm.js → fieldComparisonManager-DgDbEeFZ.esm.js} +2 -2
  87. package/dist/fiscal-qr.esm.js +1 -1
  88. package/dist/{fiscalQrManager-Be-r4oZj.esm.js → fiscalQrManager-BZeklojR.esm.js} +3 -3
  89. package/dist/flow-events.d.ts +1 -1
  90. package/dist/flow.d.ts +8 -8
  91. package/dist/flow.esm.js +10 -6
  92. package/dist/{flowCompletionService-ChMU2v79.esm.js → flowCompletionService-CcCnPs_T.esm.js} +2 -2
  93. package/dist/{flowServices-g2tVWsJl.esm.js → flowServices-Dmnc8Rye.esm.js} +69 -143
  94. package/dist/geolocation.esm.js +2 -2
  95. package/dist/{geolocationManager-DLbvZwUB.esm.js → geolocationManager-BJJ3m_I8.esm.js} +2 -2
  96. package/dist/{geolocationStateMachine-CAJVongM.esm.js → geolocationStateMachine-CTI3m4Ie.esm.js} +3 -3
  97. package/dist/government-validation.esm.js +2 -2
  98. package/dist/{governmentValidationManager-CkX9TEkh.esm.js → governmentValidationManager-CjChjZ3C.esm.js} +2 -2
  99. package/dist/{governmentValidationStateMachine-PTPCP26N.esm.js → governmentValidationStateMachine-AEbn3Afi.esm.js} +1 -1
  100. package/dist/home.d.ts +1 -1
  101. package/dist/home.esm.js +1 -1
  102. package/dist/http.esm.js +1 -1
  103. package/dist/id-ocr.d.ts +1 -1
  104. package/dist/id-ocr.esm.js +2 -2
  105. package/dist/id-selfie-flow.d.ts +1 -1
  106. package/dist/id-selfie-flow.esm.js +10 -9
  107. package/dist/id-verification.esm.js +2 -2
  108. package/dist/id.d.ts +3 -3
  109. package/dist/id.esm.js +4 -4
  110. package/dist/{idCaptureDefaults-MSQoqScU.esm.js → idCaptureDefaults-Dszuq9ng.esm.js} +3 -3
  111. package/dist/{idCaptureManager-zZdTcpG1.esm.js → idCaptureManager-B3oR4RnA.esm.js} +9 -8
  112. package/dist/{idCaptureManager-DzTfQ1Am.d.ts → idCaptureManager-CCA2D1Ah.d.ts} +5 -3
  113. package/dist/{idCaptureServices-8OHinO0N.esm.js → idCaptureServices-DK0QboqT.esm.js} +27 -196
  114. package/dist/{idCaptureStateMachine-B3G6XoDG.esm.js → idCaptureStateMachine-zzar9MPy.esm.js} +20 -20
  115. package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-BTdHlJ9D.d.ts} +1 -1
  116. package/dist/{idOcrManager-B64-fjWg.esm.js → idOcrManager-xyEZNOBa.esm.js} +2 -2
  117. package/dist/{idOcrStateMachine-B1aZnobs.esm.js → idOcrStateMachine-DNKXh4Rn.esm.js} +1 -1
  118. package/dist/{idVerificationManager-_Kebv-Ue.esm.js → idVerificationManager-DdnvYfgN.esm.js} +2 -2
  119. package/dist/{idVerificationStateMachine-DQn6c84z.esm.js → idVerificationStateMachine-DtIBCa32.esm.js} +1 -1
  120. package/dist/identity-reuse.esm.js +2 -2
  121. package/dist/{identityReuseManager-DDXkNVZi.esm.js → identityReuseManager-CcpovlfD.esm.js} +2 -2
  122. package/dist/{identityReuseStateMachine-Bcnkbjf8.esm.js → identityReuseStateMachine-DxZFWy47.esm.js} +1 -1
  123. package/dist/{index-DMDAk85K.d.ts → index-DC0P2Vzw.d.ts} +1 -1
  124. package/dist/index.esm.js +1 -1
  125. package/dist/{invokeOnCaptureCallback-CXIBwBeE.esm.js → invokeOnCaptureCallback-BJ0GVHGr.esm.js} +1 -1
  126. package/dist/kyb-checks.d.ts +3 -0
  127. package/dist/kyb-checks.esm.js +3 -0
  128. package/dist/kybChecksManager-CblEL97E.d.ts +95 -0
  129. package/dist/kybChecksManager-DpGOp4Su.esm.js +89 -0
  130. package/dist/kybChecksStateMachine-B43NAnv7.esm.js +718 -0
  131. package/dist/mandatory-consent.d.ts +2 -2
  132. package/dist/mandatory-consent.esm.js +2 -2
  133. package/dist/{mandatoryConsentManager-43W5d_8G.esm.js → mandatoryConsentManager-B4vCYslr.esm.js} +2 -2
  134. package/dist/{mandatoryConsentManager-xx3mY-xw.d.ts → mandatoryConsentManager-B88Sm5nd.d.ts} +6 -6
  135. package/dist/{mandatoryConsentStateMachine-CVlgdlnt.esm.js → mandatoryConsentStateMachine-DWslYPA3.esm.js} +1 -1
  136. package/dist/mediaRecorderOptions-B9-IEVtV.esm.js +70 -0
  137. package/dist/multipartRecordingService-BTqkHGG9.esm.js +407 -0
  138. package/dist/{permissionGuards-B3OPL8Si.esm.js → permissionGuards-DFV-Ws0a.esm.js} +1 -1
  139. package/dist/{permissionServices-DnBAN_hW.esm.js → permissionServices-D190ATGD.esm.js} +8 -6
  140. package/dist/phone.esm.js +2 -2
  141. package/dist/phoneFormat-JJNaWthV.esm.js +75 -0
  142. package/dist/{phoneManager-C6jut_pz.esm.js → phoneManager-Dy5tODCU.esm.js} +3 -3
  143. package/dist/phoneServices-DJgyOzU2.esm.js +77 -0
  144. package/dist/{phoneStateMachine-T1-drWfG.esm.js → phoneStateMachine-DnlPhnw7.esm.js} +20 -60
  145. package/dist/{processFaceMatch-BWme3kVV.esm.js → processFaceMatch-Bst83HaS.esm.js} +1 -1
  146. package/dist/qe-signature.esm.js +1 -1
  147. package/dist/recordingService-CTko6Cjn.esm.js +397 -0
  148. package/dist/redirect-to-mobile.esm.js +2 -2
  149. package/dist/{redirectToMobileManager-BJXC6Kx9.esm.js → redirectToMobileManager-CgGaT2NP.esm.js} +3 -3
  150. package/dist/{redirectToMobileStateMachine-BBMAc2Gb.esm.js → redirectToMobileStateMachine-CbhN8uVN.esm.js} +39 -21
  151. package/dist/resolveForm-O7-r79VA.esm.js +351 -0
  152. package/dist/{runChildModule-DPHTqSdF.esm.js → runChildModule-BffFArwl.esm.js} +2 -2
  153. package/dist/{sdkVersion-C3_P-Qbq.esm.js → sdkVersion-CDd_gaR7.esm.js} +1 -1
  154. package/dist/selfie.d.ts +3 -3
  155. package/dist/selfie.esm.js +10 -10
  156. package/dist/{selfieErrorUtils-BL0BLMnp.esm.js → selfieErrorUtils-f4MgAG2A.esm.js} +1 -1
  157. package/dist/{selfieManager-BMmpUii2.d.ts → selfieManager-DmZFzs1-.d.ts} +1 -1
  158. package/dist/{selfieManager-Cbliomv7.esm.js → selfieManager-hopelYEk.esm.js} +5 -5
  159. package/dist/{selfieStateMachine-B5m_Kn0O.esm.js → selfieStateMachine-DaZIVv3Q.esm.js} +3 -3
  160. package/dist/{session-DAaAewMX.esm.js → session-CdSX4wsZ.esm.js} +4 -4
  161. package/dist/session.d.ts +1 -1
  162. package/dist/session.esm.js +6 -6
  163. package/dist/{sessionInitializer-CWFT4dfw.esm.js → sessionInitializer-DsL7X2j9.esm.js} +83 -24
  164. package/dist/{setup-CDAKwTr7.esm.js → setup-DDahygZs.esm.js} +28 -27
  165. package/dist/signature.esm.js +2 -2
  166. package/dist/{signatureManager-BeEVCcsC.esm.js → signatureManager-CwqjcxPg.esm.js} +2 -2
  167. package/dist/{signatureStateMachine-_1c1vSid.esm.js → signatureStateMachine-DBVDd1Eu.esm.js} +1 -1
  168. package/dist/{stats-BpMz-hTP.esm.js → stats-CatA2dea.esm.js} +1 -1
  169. package/dist/stats.esm.js +1 -1
  170. package/dist/textRules-D4NRinKY.d.ts +41 -0
  171. package/dist/{tri-BajQnjbf.esm.js → tri-DG6priFa.esm.js} +1 -1
  172. package/dist/tri.esm.js +1 -1
  173. package/dist/{trueSightService-BujtUIW6.esm.js → trueSightService-GuLthUVK.esm.js} +4 -4
  174. package/dist/trust-graph.esm.js +1 -1
  175. package/dist/{types--3HDl2SF.d.ts → types-BEVHQbbC.d.ts} +1 -1
  176. package/dist/{types-xEEWCx1j.d.ts → types-BPm1JSu7.d.ts} +1 -1
  177. package/dist/{types-C397LhmN.d.ts → types-BgRHw-dR.d.ts} +1 -1
  178. package/dist/{types-DuD8TRJU.d.ts → types-CRaFu6wS.d.ts} +4 -2
  179. package/dist/types-CTaL0XJz.d.ts +80 -0
  180. package/dist/{types-PTZHRhGX.d.ts → types-Cd0J0F9D.d.ts} +1 -1
  181. package/dist/{types-e8fCsvvk.d.ts → types-Csh8vzPo.d.ts} +1 -1
  182. package/dist/{types-B2FK_wYb.d.ts → types-CuMJ2M7D.d.ts} +2 -41
  183. package/dist/{types-ZTZelfbM.d.ts → types-CyNndVAT.d.ts} +14 -6
  184. package/dist/types-J6g6iKe_.d.ts +6 -0
  185. package/dist/video-selfie.d.ts +1 -1
  186. package/dist/video-selfie.esm.js +9 -7
  187. package/dist/{videoSelfieCameraWarmer-DjkPpoj_.esm.js → videoSelfieCameraWarmer-e3irGfcO.esm.js} +8 -8
  188. package/dist/{videoSelfieStepDetector-RfSmlFFW.d.ts → videoSelfieStepDetector-Dv3Mgws-.d.ts} +2 -2
  189. package/dist/virtualCameraCheck-eFOm2C9q.esm.js +27 -0
  190. package/dist/{warmup-BkfxQZsC.esm.js → warmup-DtB0DJpl.esm.js} +24 -17
  191. package/dist/wasm.esm.js +3 -3
  192. package/dist/{wasmDsFlagSync-BhU5H2oR.esm.js → wasmDsFlagSync-BtiR5pig.esm.js} +1 -1
  193. package/dist/{wasmWebClient-DTj9auyA.esm.js → wasmWebClient-BDrax6Eu.esm.js} +12 -9
  194. package/dist/watchlist-for-business.esm.js +2 -2
  195. package/dist/watchlist.esm.js +2 -2
  196. package/dist/{watchlistForBusinessManager-CVay6-9A.esm.js → watchlistForBusinessManager-DqUpAEj_.esm.js} +2 -2
  197. package/dist/{watchlistForBusinessStateMachine-DA6K5na4.esm.js → watchlistForBusinessStateMachine-DdaPl2PS.esm.js} +1 -1
  198. package/dist/{watchlistManager-B8gQ_rw3.esm.js → watchlistManager-CdpXzT4B.esm.js} +2 -2
  199. package/dist/{watchlistStateMachine-CSi_ZhtT.esm.js → watchlistStateMachine-ofHW_lPk.esm.js} +1 -1
  200. package/dist/workflow.d.ts +1 -1
  201. package/dist/workflow.esm.js +42 -42
  202. package/package.json +11 -5
  203. package/dist/deepsightLoader-DMxtowCm.esm.js +0 -33
  204. package/dist/types-D9r3zRfY.d.ts +0 -6
@@ -1,17 +1,25 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
2
  import { n as setWasmMetadataV2Enabled } from "./wasmMetadataVersionSync-U8EFUr1T.esm.js";
3
- import { C as subscribeEvent, b as getAnalyticsBatcher, y as addEvent } from "./events-CQteqXfy.esm.js";
4
- import { c as setToken, r as getToken, t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
5
- import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-BujtUIW6.esm.js";
6
- import { t as SDK_VERSION } from "./sdkVersion-C3_P-Qbq.esm.js";
3
+ import { C as subscribeEvent, b as getAnalyticsBatcher, y as addEvent } from "./events-ggpBBaZ8.esm.js";
4
+ import { c as setToken, r as getToken, t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
5
+ import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-GuLthUVK.esm.js";
6
+ import { t as SDK_VERSION } from "./sdkVersion-CDd_gaR7.esm.js";
7
7
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
8
- import { E as updateFeatureManagementUser } from "./feature-management-DjAG5lsJ.esm.js";
9
- import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-BpMz-hTP.esm.js";
8
+ import { E as updateFeatureManagementUser } from "./feature-management-BbCIA4og.esm.js";
9
+ import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-CatA2dea.esm.js";
10
10
  import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
11
11
  import { a as isIOS } from "./platform-aPh7gTWh.esm.js";
12
12
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
13
- import { a as linkSessionWithTRI, i as isTRIStarted, o as readTRIFpSignals } from "./tri-BajQnjbf.esm.js";
14
- import { i as retryAfterReconnect } from "./connectivity-HSl0diCx.esm.js";
13
+ import { a as linkSessionWithTRI, i as isTRIStarted, o as readTRIFpSignals } from "./tri-DG6priFa.esm.js";
14
+ import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
15
+ //#region src/internal/version/sdkPlatform.ts
16
+ /**
17
+ * The platform SDK 2 reports to the backend: the device fingerprint post's
18
+ * `deviceType`, and the SDK platform the WASM module stamps on capture
19
+ * metadata and fingerprint signals. Keep them in one place so they agree.
20
+ */
21
+ const SDK_PLATFORM = "WEBAPP";
22
+ //#endregion
15
23
  //#region src/internal/fingerprint/incodeDeviceHash.ts
16
24
  function isNonEmptyString(value) {
17
25
  return typeof value === "string" && value.trim() !== "";
@@ -37,11 +45,18 @@ function createIncodeDeviceHashWaiter(timer) {
37
45
  let pending = pendingByToken.get(token);
38
46
  if (!pending) {
39
47
  let settle = () => void 0;
48
+ const deviceHash = new Promise((resolve) => {
49
+ settle = resolve;
50
+ });
51
+ let release = () => void 0;
52
+ const released = new Promise((resolve) => {
53
+ release = () => resolve(null);
54
+ });
40
55
  pending = {
41
- deviceHash: new Promise((resolve) => {
42
- settle = resolve;
43
- }),
44
- settle
56
+ deviceHash,
57
+ settle,
58
+ released,
59
+ release
45
60
  };
46
61
  pendingByToken.set(token, pending);
47
62
  }
@@ -51,13 +66,21 @@ function createIncodeDeviceHashWaiter(timer) {
51
66
  settle(token, deviceHash) {
52
67
  pendingFor(token).settle(deviceHash);
53
68
  },
69
+ release(token) {
70
+ pendingFor(token).release();
71
+ },
54
72
  async waitFor(token, timeoutMs) {
55
73
  let timeout;
56
74
  const timedOut = new Promise((resolve) => {
57
75
  timeout = timer.setTimeout(() => resolve(null), Math.max(0, timeoutMs));
58
76
  });
77
+ const pending = pendingFor(token);
59
78
  try {
60
- return await Promise.race([pendingFor(token).deviceHash, timedOut]);
79
+ return await Promise.race([
80
+ pending.deviceHash,
81
+ pending.released,
82
+ timedOut
83
+ ]);
61
84
  } finally {
62
85
  if (timeout !== void 0) timer.clearTimeout(timeout);
63
86
  }
@@ -75,6 +98,20 @@ const START_INTERVIEW_EVENT = "modelLoadEnd";
75
98
  const CAPTURE_INTERVIEW_EVENT = "captureAttemptFinished";
76
99
  const START_SIGNALS = ["device"];
77
100
  const MAX_KEPT_SIGNALS = 20;
101
+ /**
102
+ * The native envelope reads the SDK platform and version, and the start batch
103
+ * goes out before any capture's Deepsight session has set them. A failure is
104
+ * rethrown under its own name, so TrueSight does not blame the read.
105
+ */
106
+ function setSdkIdentity(wasmUtil) {
107
+ try {
108
+ wasmUtil.setSdkPlatform(SDK_PLATFORM);
109
+ wasmUtil.setSdkVersion(SDK_VERSION);
110
+ } catch (error) {
111
+ const message = error instanceof Error ? error.message : String(error);
112
+ throw new Error(`setting the SDK platform and version failed: ${message}`);
113
+ }
114
+ }
78
115
  function createFingerprintSignalsReporter(deps) {
79
116
  let enabled = true;
80
117
  let sessionActive = false;
@@ -115,7 +152,9 @@ function createFingerprintSignalsReporter(deps) {
115
152
  const isPid = type === "pid";
116
153
  let deviceHash = null;
117
154
  try {
118
- const metadata = await (await deps.getWasmUtil()).getFingerprintSignals(type);
155
+ const wasmUtil = await deps.getWasmUtil();
156
+ setSdkIdentity(wasmUtil);
157
+ const metadata = await wasmUtil.getFingerprintSignals(type);
119
158
  if (!metadata || deps.getToken() !== token) return;
120
159
  keepOrForward(metadata);
121
160
  const response = await deps.post(endpoints.deviceFingerprintSignals, isPid ? {
@@ -338,7 +377,7 @@ function createFingerprintSignalsReporter(deps) {
338
377
  }
339
378
  const fingerprintSignalsReporter = createFingerprintSignalsReporter({
340
379
  getWasmUtil: async () => {
341
- return (await import("./WasmUtilProvider-GTkoJyFY.esm.js").then((n) => n.n)).WasmUtilProvider.getInstance();
380
+ return (await import("./WasmUtilProvider-Dp2V-Uct.esm.js").then((n) => n.n)).WasmUtilProvider.getInstance();
342
381
  },
343
382
  getToken: () => getToken(),
344
383
  post: async (url, body, headers) => (await api.post(url, body, { headers })).data,
@@ -764,7 +803,7 @@ async function submitDeviceFingerprint(options = {}, dependencies) {
764
803
  const payload = {
765
804
  hash: deviceHash?.hash ?? "",
766
805
  ip,
767
- deviceType: "WEBAPP",
806
+ deviceType: SDK_PLATFORM,
768
807
  data: JSON.stringify({
769
808
  ip,
770
809
  deviceInfo
@@ -855,10 +894,20 @@ function setClientWasmConfig(config) {
855
894
  function setClientWasmDisabled(disabled) {
856
895
  clientWasmDisabled = disabled;
857
896
  }
897
+ const SLOW_EFFECTIVE_TYPES = /* @__PURE__ */ new Set([
898
+ "slow-2g",
899
+ "2g",
900
+ "3g"
901
+ ]);
902
+ function isSlowNetwork() {
903
+ const connection = new BrowserEnvironmentProvider().getNavigatorProperty("connection");
904
+ return connection?.saveData === true || SLOW_EFFECTIVE_TYPES.has(connection?.effectiveType);
905
+ }
858
906
  /** Why this activation's post won't wait for a pid, if it won't. */
859
907
  function deviceHashSkipReason(activationOptedOut) {
860
908
  if (activationOptedOut || clientWasmDisabled) return "wasmDisabled";
861
- return clientWasmConfig || isTRIStarted() ? void 0 : "noWasmConfig";
909
+ if (!clientWasmConfig && !isTRIStarted()) return "noWasmConfig";
910
+ return isSlowNetwork() ? "slowNetwork" : void 0;
862
911
  }
863
912
  /**
864
913
  * TRI first: TRI's fpSignals PID is signed with the same key as the runtime's
@@ -889,7 +938,7 @@ function startSessionPid(token, config) {
889
938
  function startSessionWasm(token, config) {
890
939
  (async () => {
891
940
  try {
892
- const warmupModule = await import("./warmup-BkfxQZsC.esm.js").then((n) => n.c);
941
+ const warmupModule = await import("./warmup-DtB0DJpl.esm.js").then((n) => n.c);
893
942
  const warmup = warmupModule.warmupWasm({
894
943
  ...config,
895
944
  pipelines: []
@@ -939,6 +988,16 @@ function createFingerprintSettled() {
939
988
  function whenSessionFingerprintSettled() {
940
989
  return fingerprintSettled?.promise ?? Promise.resolve(cachedFingerprintResult);
941
990
  }
991
+ /**
992
+ * A screen now waits for the activation post (its consent decision), so the
993
+ * post stops waiting for the pid and goes with what it has. The pid needs the
994
+ * WASM runtime to download and start, about 2 s even on a fast desktop, so it
995
+ * goes with the post only when it is in before the post goes out.
996
+ */
997
+ function endDeviceHashWait() {
998
+ const token = getToken();
999
+ if (token) incodeDeviceHashWaiter.release(token);
1000
+ }
942
1001
  /** Best-effort: the format latch must never fail session initialization. */
943
1002
  function applyCaptureMetadataFormat(v2Enabled) {
944
1003
  try {
@@ -1031,16 +1090,16 @@ async function initializeSession(options = {}) {
1031
1090
  }
1032
1091
  applyCaptureMetadataFormat(captureMetadataV2);
1033
1092
  const disableIpify = resolveDisableIpify(serverDisableIpify);
1034
- const preloadedFlow = await flowPreloadPromise;
1035
- await updateFeatureManagementUser({ customIDs: {
1036
- hashed_onboarding_id: features.sessionIdentifier || void 0,
1037
- flow_id: preloadedFlow?.flowId
1038
- } });
1039
1093
  fingerprintPromise = submitSessionFingerprint(fingerprintEnabled, {
1040
1094
  disableIpify,
1041
1095
  hostingApp,
1042
1096
  signal
1043
1097
  }, settled, skipReason);
1098
+ const preloadedFlow = await flowPreloadPromise;
1099
+ await updateFeatureManagementUser({ customIDs: {
1100
+ hashed_onboarding_id: features.sessionIdentifier || void 0,
1101
+ flow_id: preloadedFlow?.flowId
1102
+ } });
1044
1103
  try {
1045
1104
  const browserInfo = new BrowserInfoProvider().getBrowserInfo();
1046
1105
  const language = new BrowserEnvironmentProvider().getNavigatorProperty("language");
@@ -1170,4 +1229,4 @@ function resetSessionInit() {
1170
1229
  resetDeviceStatsQueue();
1171
1230
  }
1172
1231
  //#endregion
1173
- export { fingerprintSignalsReporter as S, isBrowserSimulation as _, resetSessionInit as a, IpifyProvider as b, setClientIpLookupEnabled as c, whenSessionFingerprintSettled as d, getStandaloneFlowPolicy as f, setStandaloneFlowPolicy as g, resolveStandaloneFlowPolicy as h, initializeSession as i, setClientWasmConfig as l, resetStandaloneFlowPolicy as m, getFingerprintEnabled as n, setClientFingerprintEnabled as o, registerFlowPreloader as p, getSessionFingerprintResult as r, setClientHostingApp as s, getDisableIpify as t, setClientWasmDisabled as u, getFingerprint as v, BrowserEnvironmentProvider as x, getDeviceFingerprintInfo as y };
1232
+ export { fingerprintSignalsReporter as C, BrowserEnvironmentProvider as S, setStandaloneFlowPolicy as _, initializeSession as a, getDeviceFingerprintInfo as b, setClientHostingApp as c, setClientWasmDisabled as d, whenSessionFingerprintSettled as f, resolveStandaloneFlowPolicy as g, resetStandaloneFlowPolicy as h, getSessionFingerprintResult as i, setClientIpLookupEnabled as l, registerFlowPreloader as m, getDisableIpify as n, resetSessionInit as o, getStandaloneFlowPolicy as p, getFingerprintEnabled as r, setClientFingerprintEnabled as s, endDeviceHashWait as t, setClientWasmConfig as u, isBrowserSimulation as v, SDK_PLATFORM as w, IpifyProvider as x, getFingerprint as y };
@@ -1,16 +1,16 @@
1
- import { F as setWasmIntegrityObserver, T as resolveWasmConfig, b as DEFAULT_WASM_VERSION, g as setWasmStartGate, v as setWasmDiagnosticsHandler } from "./wasmWebClient-DTj9auyA.esm.js";
2
- import { a as setWasmOnDeviceMode, f as drainWasmDiagnostics, i as isWasmReady, m as rearmWasmDiagnostics, n as getWarmupFacts, p as getWasmDiagnosticsMode, r as getWasmStatus, s as warmupWasm } from "./warmup-BkfxQZsC.esm.js";
3
- import { t as WasmUtilProvider } from "./WasmUtilProvider-GTkoJyFY.esm.js";
4
- import { S as setAnalyticsBatcher, b as getAnalyticsBatcher, c as resetExperimentAssignments, v as createAnalyticsBatchingService, x as resetAnalyticsBatcher } from "./events-CQteqXfy.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-BO8JA7Pf.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-BujtUIW6.esm.js";
7
- import { S as fingerprintSignalsReporter, a as resetSessionInit, c as setClientIpLookupEnabled, g as setStandaloneFlowPolicy, h as resolveStandaloneFlowPolicy, i as initializeSession, l as setClientWasmConfig, m as resetStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as registerFlowPreloader, s as setClientHostingApp, u as setClientWasmDisabled, x as BrowserEnvironmentProvider } from "./sessionInitializer-CWFT4dfw.esm.js";
1
+ import { F as setWasmIntegrityObserver, T as resolveWasmConfig, b as DEFAULT_WASM_VERSION, g as setWasmStartGate, v as setWasmDiagnosticsHandler } from "./wasmWebClient-BDrax6Eu.esm.js";
2
+ import { a as setWasmOnDeviceMode, f as drainWasmDiagnostics, i as isWasmReady, m as rearmWasmDiagnostics, n as getWarmupFacts, p as getWasmDiagnosticsMode, r as getWasmStatus, s as warmupWasm } from "./warmup-DtB0DJpl.esm.js";
3
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
4
+ import { S as setAnalyticsBatcher, b as getAnalyticsBatcher, c as resetExperimentAssignments, v as createAnalyticsBatchingService, x as resetAnalyticsBatcher } from "./events-ggpBBaZ8.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-CpP4PS4S.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-GuLthUVK.esm.js";
7
+ import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, _ as setStandaloneFlowPolicy, a as initializeSession, c as setClientHostingApp, d as setClientWasmDisabled, g as resolveStandaloneFlowPolicy, h as resetStandaloneFlowPolicy, l as setClientIpLookupEnabled, m as registerFlowPreloader, o as resetSessionInit, s as setClientFingerprintEnabled, u as setClientWasmConfig } from "./sessionInitializer-DsL7X2j9.esm.js";
8
8
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
9
9
  import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.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-DjAG5lsJ.esm.js";
11
- import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-BpMz-hTP.esm.js";
12
- import { i as isTRIStarted, o as readTRIFpSignals, r as initializeTRI, s as resetSdkOwnedTRI, t as addTRIFpSignals } from "./tri-BajQnjbf.esm.js";
13
- import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-g2tVWsJl.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-BbCIA4og.esm.js";
11
+ import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-CatA2dea.esm.js";
12
+ import { i as isTRIStarted, o as readTRIFpSignals, r as initializeTRI, s as resetSdkOwnedTRI, t as addTRIFpSignals } from "./tri-DG6priFa.esm.js";
13
+ import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-Dmnc8Rye.esm.js";
14
14
  //#region ../infra/src/wasm/wasmRuntimeProfile.ts
15
15
  /**
16
16
  * The WASM facts TrueSight reports as `session.webProfile.wasm`
@@ -565,19 +565,11 @@ async function setup(options) {
565
565
  }
566
566
  configured = true;
567
567
  applyEnvironment(options.environment);
568
- if (effectiveWasm) {
569
- await warmupWasm(effectiveWasm);
570
- await (await WasmUtilProvider.getInstance()).initialize({
571
- ...effectiveWasm,
572
- pipelines: effectiveWasm.pipelines ? [...effectiveWasm.pipelines] : void 0
573
- });
574
- fingerprintSignalsReporter.onWasmReady();
575
- if (!options.devMode) startDevtoolsDetector();
576
- }
568
+ let featureManagementReady;
577
569
  if (!getIsFeatureManagementLocked()) if (options.featureManagement === false) optOutFeatureManagement();
578
570
  else {
579
571
  const featureManagementSetupOptions = typeof options.featureManagement === "object" ? options.featureManagement : {};
580
- const featureManagementReady = initializeFeatureManagement({
572
+ const initialization = initializeFeatureManagement({
581
573
  environment: getEnvironment(),
582
574
  clientExperimentId: featureManagementSetupOptions.clientExperimentId,
583
575
  disableStableId: featureManagementSetupOptions.disableStableId,
@@ -586,16 +578,25 @@ async function setup(options) {
586
578
  appVersion: featureManagementSetupOptions.appVersion,
587
579
  redactedUserInfo: featureManagementSetupOptions.redactedUserInfo
588
580
  });
589
- if (featureManagementSetupOptions.awaitInitialization === true) await featureManagementReady;
581
+ if (featureManagementSetupOptions.awaitInitialization === true) featureManagementReady = initialization;
590
582
  }
591
583
  else if (options.featureManagement !== void 0) console.error("[FeatureManagement] Feature management is locked after the first setup() call and cannot be changed (re-enabled, disabled, or reconfigured). Ignoring this change. Call reset() before changing it.");
592
- if (options.tri) {
593
- await initializeTRI(options.tri, {
594
- sessionToken: options.token,
595
- fpSignalsFromSdk: isWasmReady() || getWasmStatus().isLoading
584
+ const triReady = options.tri ? initializeTRI(options.tri, {
585
+ sessionToken: options.token,
586
+ fpSignalsFromSdk: Boolean(effectiveWasm) || isWasmReady() || getWasmStatus().isLoading
587
+ }) : void 0;
588
+ if (effectiveWasm) {
589
+ await warmupWasm(effectiveWasm);
590
+ await (await WasmUtilProvider.getInstance()).initialize({
591
+ ...effectiveWasm,
592
+ pipelines: effectiveWasm.pipelines ? [...effectiveWasm.pipelines] : void 0
596
593
  });
597
- if (isTRIStarted()) fingerprintSignalsReporter.forwardTo(addTRIFpSignals);
594
+ fingerprintSignalsReporter.onWasmReady();
595
+ if (!options.devMode) startDevtoolsDetector();
598
596
  }
597
+ await featureManagementReady;
598
+ await triReady;
599
+ if (options.tri && isTRIStarted()) fingerprintSignalsReporter.forwardTo(addTRIFpSignals);
599
600
  }
600
601
  /**
601
602
  * Sets the WASM configuration without performing warmup.
@@ -1,3 +1,3 @@
1
- import { t as signatureMachine } from "./signatureStateMachine-_1c1vSid.esm.js";
2
- import { n as createSignatureManagerFromActor, t as createSignatureManager } from "./signatureManager-BeEVCcsC.esm.js";
1
+ import { t as signatureMachine } from "./signatureStateMachine-DBVDd1Eu.esm.js";
2
+ import { n as createSignatureManagerFromActor, t as createSignatureManager } from "./signatureManager-CwqjcxPg.esm.js";
3
3
  export { createSignatureManager, createSignatureManagerFromActor, signatureMachine };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as signatureMachine } from "./signatureStateMachine-_1c1vSid.esm.js";
4
+ import { t as signatureMachine } from "./signatureStateMachine-DBVDd1Eu.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();
@@ -1,4 +1,4 @@
1
- import { t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
2
2
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
4
4
  //#region src/modules/signature/signatureServices.ts
@@ -1,4 +1,4 @@
1
- import { r as getToken, t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
1
+ import { r as getToken, t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
2
2
  //#region src/modules/stats/statsServices.ts
3
3
  const deviceStatsQueue = [];
4
4
  async function postDeviceStatsNow(stats) {
package/dist/stats.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-BpMz-hTP.esm.js";
1
+ import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-CatA2dea.esm.js";
2
2
  export { addDeviceStats, flushDeviceStatsQueue, resetDeviceStatsQueue };
@@ -0,0 +1,41 @@
1
+ //#region src/shared/types.d.ts
2
+ /** A single form field definition for dynamic rendering. */
3
+ type FieldDef = {
4
+ name: string;
5
+ type: 'text' | 'tel' | 'date' | 'dropdown' | 'phone' | 'radio';
6
+ label: string;
7
+ displayLabel?: string;
8
+ placeholder?: string;
9
+ placeholderParams?: Record<string, string>;
10
+ required: boolean;
11
+ optional?: boolean;
12
+ maxLength?: number;
13
+ options?: {
14
+ value: string;
15
+ label: string;
16
+ }[];
17
+ readonly?: boolean;
18
+ section?: string;
19
+ disableCountrySelector?: boolean;
20
+ };
21
+ /** An address suggestion returned by the address autocomplete API. */
22
+ type AddressSuggestion = {
23
+ id: string | number;
24
+ label: string;
25
+ street?: string;
26
+ city?: string;
27
+ stateCode?: string;
28
+ postalCode?: string;
29
+ houseNumber?: string;
30
+ countryCode?: string;
31
+ };
32
+ //#endregion
33
+ //#region src/shared/validators/textRules.d.ts
34
+ /**
35
+ * The general-purpose form-definition rules from `vocabulary.json`, as pure
36
+ * checks on a non-empty value. Callers skip empty values: requiredness is its
37
+ * own rule.
38
+ */
39
+ type CharacterClass = 'letter' | 'digit' | 'space';
40
+ //#endregion
41
+ export { AddressSuggestion as n, FieldDef as r, CharacterClass as t };
@@ -1,4 +1,4 @@
1
- import { t as SDK_VERSION } from "./sdkVersion-C3_P-Qbq.esm.js";
1
+ import { t as SDK_VERSION } from "./sdkVersion-CDd_gaR7.esm.js";
2
2
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
3
3
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
4
4
  //#region ../infra/src/providers/browser/TransactionalRiskIntelligenceProvider.ts
package/dist/tri.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { c as resetTRI, d as stopTRI, i as isTRIStarted, l as setupTRI, n as createTRISession, u as startTRI } from "./tri-BajQnjbf.esm.js";
1
+ import { c as resetTRI, d as stopTRI, i as isTRIStarted, l as setupTRI, n as createTRISession, u as startTRI } from "./tri-DG6priFa.esm.js";
2
2
  export { createTRISession, isTRIStarted, resetTRI, setupTRI, startTRI, stopTRI };
@@ -1,8 +1,8 @@
1
- import { T as resolveWasmConfig, _ as emitWasmDiagnostic, a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError } from "./wasmWebClient-DTj9auyA.esm.js";
1
+ import { T as resolveWasmConfig, _ as emitWasmDiagnostic, a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError } from "./wasmWebClient-BDrax6Eu.esm.js";
2
2
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
3
- import { C as subscribeEvent, n as eventModuleNames } from "./events-CQteqXfy.esm.js";
4
- import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-BO8JA7Pf.esm.js";
5
- import { t as SDK_VERSION } from "./sdkVersion-C3_P-Qbq.esm.js";
3
+ import { C as subscribeEvent, n as eventModuleNames } from "./events-ggpBBaZ8.esm.js";
4
+ import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-CDd_gaR7.esm.js";
6
6
  import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
7
7
  /** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
8
8
  const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
@@ -1,4 +1,4 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CQteqXfy.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
2
2
  import { s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
3
  //#region src/modules/trust-graph/trustGraphStateMachine.ts
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { a as AvatarAssetsOverrides } from "./createFaceAvatar-lYX0VTYs.js";
2
- import { n as Flow, s as SelfieConcealmentOption } from "./types-DuD8TRJU.js";
2
+ import { n as Flow, s as SelfieConcealmentOption } from "./types-CRaFu6wS.js";
3
3
  import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-Cqiaxydi.js";
4
4
  //#region src/internal/faceCapture/types.d.ts
5
5
  type CameraResolution = {
@@ -1,5 +1,5 @@
1
1
  import { y as IncodeCanvas } from "./createFaceAvatar-lYX0VTYs.js";
2
- import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-DuD8TRJU.js";
2
+ import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-CRaFu6wS.js";
3
3
  import { a as IStorageCapability } from "./IWasmUtilCapability-Cqiaxydi.js";
4
4
  import { t as PermissionResult } from "./types-BEwVKkLJ.js";
5
5
  import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-C3xNfOsv.js";
@@ -1,4 +1,4 @@
1
- import { d as FieldDef } from "./types-B2FK_wYb.js";
1
+ import { r as FieldDef } from "./textRules-D4NRinKY.js";
2
2
  //#region src/modules/ekyb/types.d.ts
3
3
  type UboEntry = {
4
4
  id: string;
@@ -1,6 +1,7 @@
1
- import { l as RiskAddon } from "./types-B2FK_wYb.js";
1
+ import { l as RiskAddon } from "./types-CuMJ2M7D.js";
2
2
  import "./createFaceAvatar-lYX0VTYs.js";
3
3
  import { t as WatchlistForBusinessConfig } from "./types-B9C8W01q.js";
4
+ import { n as KybChecksConfig } from "./types-CTaL0XJz.js";
4
5
  //#region src/internal/avatar/concealment.d.ts
5
6
  /**
6
7
  * Backend-aligned selfie/auth face-concealment options. The backend returns a
@@ -111,7 +112,7 @@ type FlowModuleConfig = {
111
112
  }[];
112
113
  };
113
114
  DOCUMENT_CAPTURE: {
114
- processingType: 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processIneMex' | 'processColombiaRutForm' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement';
115
+ processingType: 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processIneMex' | 'processColombiaRutForm' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement' | 'processW8BenOcr' | 'processW8BenEOcr';
115
116
  title: string;
116
117
  text: string;
117
118
  allowSkipDocumentCapture: boolean;
@@ -126,6 +127,7 @@ type FlowModuleConfig = {
126
127
  checkUniqueBeneficialOwner: boolean;
127
128
  uniqueBeneficialOwnerSource: 'userInput';
128
129
  };
130
+ EKYB_CHECKS: KybChecksConfig;
129
131
  EXTERNAL_VERIFICATION: {
130
132
  source: 'US_DRIVERS_LICENSE_1' | 'US_TELCO_1' | 'US_TELCO_2' | 'US_CONSUMER_1' | 'US_CREDIT_BUREAU_1' | 'US_CREDIT_TELCO' | 'MX_CONSUMER_1' | 'BR_GOVT_1' | 'CA_RES_CREDIT' | 'UK_CREDIT_BUREAU_1' | 'ES_1' | 'CL_1' | 'AR_1' | 'GR_1' | 'GT_1' | 'BR_CPF_1' | 'RISK_ADDONS_ONLY';
131
133
  checkName: boolean;
@@ -0,0 +1,80 @@
1
+ import { r as FieldDef, t as CharacterClass } from "./textRules-D4NRinKY.js";
2
+ //#region src/modules/kyb-checks/types.d.ts
3
+ /** KYB checks a step can run. */
4
+ type KybCheckModuleKey = 'identity' | 'address' | 'statusEntityType' | 'personAssociation' | 'webPresence' | 'websiteAnalysis' | 'industryInfo' | 'financialIntelligence' | 'groupStructure';
5
+ /**
6
+ * A user-facing text: translate `key`, show `text` when it has no translation.
7
+ * A param that is itself a `KybText` is translated before it's inserted.
8
+ */
9
+ type KybText = {
10
+ key: string;
11
+ text: string;
12
+ params?: Record<string, string | KybText>;
13
+ };
14
+ /** A string, or the entries of a list field. */
15
+ type KybFieldValue = string | string[];
16
+ type KybUnsupportedModule = {
17
+ module: KybCheckModuleKey;
18
+ message: KybText;
19
+ };
20
+ /** Passed to `onFinish`. */
21
+ type KybChecksResult = {
22
+ referenceId?: string;
23
+ };
24
+ /** Module configuration from the flow or workflow node. The backend applies `modules` when it builds the form. */
25
+ type KybChecksConfig = {
26
+ modules?: KybCheckModuleKey[];
27
+ };
28
+ type KybFieldValues = Record<string, KybFieldValue>;
29
+ type KybFieldErrors = Record<string, KybText>;
30
+ type KybChecksErrorKind = 'load' | 'submit';
31
+ /** A field check, run in order; the first failing rule's message is shown. */
32
+ type KybValidationRule = {
33
+ type: 'required';
34
+ } | {
35
+ type: 'allowedCharacters';
36
+ classes: CharacterClass[];
37
+ extra: string;
38
+ /** `letter` means A-Z in either case. */
39
+ ascii: boolean;
40
+ message: KybText;
41
+ } | {
42
+ type: 'maxLength';
43
+ max: number;
44
+ message: KybText;
45
+ };
46
+ /** A check across fields, shown on the first field it names. */
47
+ type KybFormLevelRule = {
48
+ type: 'oneOfRequired';
49
+ fields: string[];
50
+ message: KybText;
51
+ };
52
+ /**
53
+ * One field to render, like eKYB's `EkybFieldDef`. `label` and option labels
54
+ * are translation keys; each `labelText` is the served English fallback.
55
+ */
56
+ type KybFieldDef = Omit<FieldDef, 'type' | 'options'> & {
57
+ type: 'text' | 'dropdown' | 'phone' | 'list';
58
+ labelText: string;
59
+ options?: {
60
+ value: string;
61
+ label: string;
62
+ labelText?: string;
63
+ }[];
64
+ /** For a text field: the input type the keyboard hint asks for. */
65
+ inputType?: 'url' | 'email';
66
+ /** For a phone field: the country calling code to start with. */
67
+ phoneCountry?: string;
68
+ /** Changing the field fetches the form again with this query parameter. */
69
+ refetchOnChange?: string;
70
+ /** The value the backend served, used until the user changes it. */
71
+ initialValue: KybFieldValue;
72
+ validation: KybValidationRule[];
73
+ };
74
+ type KybChecksSection = {
75
+ id: string;
76
+ title?: KybText;
77
+ fields: KybFieldDef[];
78
+ };
79
+ //#endregion
80
+ export { KybChecksSection as a, KybFieldValue as c, KybText as d, KybUnsupportedModule as f, KybChecksResult as i, KybFieldValues as l, KybChecksConfig as n, KybFieldDef as o, KybValidationRule as p, KybChecksErrorKind as r, KybFieldErrors as s, KybCheckModuleKey as t, KybFormLevelRule as u };
@@ -1,4 +1,4 @@
1
- import { a as RegulationTypes } from "./types-DuD8TRJU.js";
1
+ import { a as RegulationTypes } from "./types-CRaFu6wS.js";
2
2
  //#region src/modules/mandatory-consent/types.d.ts
3
3
  type RegulatoryConsentType = 'MANDATORY' | 'ML';
4
4
  type MandatoryConsentConfig = {
@@ -1,4 +1,4 @@
1
- import { a as RegulationTypes } from "./types-DuD8TRJU.js";
1
+ import { a as RegulationTypes } from "./types-CRaFu6wS.js";
2
2
  //#region src/internal/fingerprint/types.d.ts
3
3
  type DeviceFingerprintResult = {
4
4
  success: boolean;
@@ -1,43 +1,4 @@
1
- //#region src/shared/types.d.ts
2
- /** A single form field definition for dynamic rendering. */
3
- type FieldDef = {
4
- name: string;
5
- type: 'text' | 'tel' | 'date' | 'dropdown' | 'phone' | 'radio';
6
- label: string;
7
- displayLabel?: string;
8
- placeholder?: string;
9
- placeholderParams?: Record<string, string>;
10
- required: boolean;
11
- optional?: boolean;
12
- maxLength?: number;
13
- options?: {
14
- value: string;
15
- label: string;
16
- }[];
17
- readonly?: boolean;
18
- section?: string;
19
- disableCountrySelector?: boolean;
20
- };
21
- /** An address suggestion returned by the address autocomplete API. */
22
- type AddressSuggestion = {
23
- id: string | number;
24
- label: string;
25
- street?: string;
26
- city?: string;
27
- stateCode?: string;
28
- postalCode?: string;
29
- houseNumber?: string;
30
- countryCode?: string;
31
- };
32
- //#endregion
33
- //#region src/shared/validators/textRules.d.ts
34
- /**
35
- * The general-purpose form-definition rules from `vocabulary.json`, as pure
36
- * checks on a non-empty value. Callers skip empty values: requiredness is its
37
- * own rule.
38
- */
39
- type CharacterClass = 'letter' | 'digit' | 'space';
40
- //#endregion
1
+ import { r as FieldDef, t as CharacterClass } from "./textRules-D4NRinKY.js";
41
2
  //#region src/modules/ekyc/types.d.ts
42
3
  type EkycFieldSource = 'user_input' | 'document_scan' | 'poa_document' | 'phone_module_input' | 'email_module_input' | false;
43
4
  type EkycVerificationFields = {
@@ -246,4 +207,4 @@ type EkycFieldDef = FieldDef & {
246
207
  type EkycInputFormat = 'uppercase' | 'stripSeparators';
247
208
  type RiskAddon = 'phoneCheck' | 'advancedPhoneCheck' | 'emailCheck' | 'phoneProfile';
248
209
  //#endregion
249
- export { EkycFormValues as a, EkycValidationErrors as c, FieldDef as d, EkycFieldDisplayMode as i, RiskAddon as l, EkycDisplayModes as n, EkycModuleConfig as o, EkycFieldDef as r, EkycValidationError as s, EkycConfig as t, AddressSuggestion as u };
210
+ export { EkycFormValues as a, EkycValidationErrors as c, EkycFieldDisplayMode as i, RiskAddon as l, EkycDisplayModes as n, EkycModuleConfig as o, EkycFieldDef as r, EkycValidationError as s, EkycConfig as t };