@incodetech/core 2.4.1-agentic.1 → 2.4.1-agentic.11

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 (289) hide show
  1. package/dist/Actor-DqjOqDfU.d.ts +1 -0
  2. package/dist/{BaseWasmProvider-Bq3OHo7P.d.ts → BaseWasmProvider-bBNquvYn.d.ts} +2 -2
  3. package/dist/{CameraCompositor-DN7NkJzV.esm.js → CameraCompositor-ppyMYVoY.esm.js} +1 -1
  4. package/dist/DateFormattingProvider-DPq9zco-.esm.js +25 -0
  5. package/dist/{FaceDetectionProvider-CAY43vSI.esm.js → FaceDetectionProvider-2NzWDbV8.esm.js} +9 -9
  6. package/dist/{IIdCaptureCapability-CGcEt2Cw.d.ts → IIdCaptureCapability-C-5M8pP1.d.ts} +2 -2
  7. package/dist/{IWasmUtilCapability-Cqiaxydi.d.ts → IWasmUtilCapability-BRn0wz8v.d.ts} +2 -2
  8. package/dist/Manager-BvXAwDv9.esm.js +125 -0
  9. package/dist/{Manager-C9T5amUN.d.ts → Manager-DufwKlav.d.ts} +1 -7
  10. package/dist/{MultipartRecordingProvider-D9mauUdS.esm.js → MultipartRecordingProvider-CduV32Qa.esm.js} +6 -1
  11. package/dist/{StreamCanvasCapture-C3xNfOsv.d.ts → StreamCanvasCapture-ixfy84ys.d.ts} +2 -2
  12. package/dist/{WasmUtilProvider-Dp2V-Uct.esm.js → WasmUtilProvider-DdhAHHw4.esm.js} +42 -6
  13. package/dist/{WorkerEncoderRecordingProvider-B1ODYtgN.esm.js → WorkerEncoderRecordingProvider-CsDED9UU.esm.js} +1 -1
  14. package/dist/addressSearch-Rxm1K67A.esm.js +73 -0
  15. package/dist/{advanceableErrors-k-U-cL5m.esm.js → advanceableErrors-CxZyPRyh.esm.js} +3 -0
  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-DbGCvlJs.d.ts → antifraudManager-BxfCsyA7.d.ts} +3 -3
  21. package/dist/{antifraudManager-BObuHBjn.esm.js → antifraudManager-DKNOi9-z.esm.js} +5 -3
  22. package/dist/{antifraudStateMachine-Dfrd2-26.esm.js → antifraudStateMachine-BJ6PmCsw.esm.js} +3 -3
  23. package/dist/{api-CpP4PS4S.esm.js → api-CZpuJuZl.esm.js} +3 -1
  24. package/dist/{apiError-DH-CH4Nz.esm.js → apiError-BamZ815u.esm.js} +1 -1
  25. package/dist/{attemptCarry-WOkfvFMw.esm.js → attemptCarry-BecGGZK8.esm.js} +1 -1
  26. package/dist/authentication.d.ts +3 -3
  27. package/dist/authentication.esm.js +2 -2
  28. package/dist/{authenticationManager-CWmh7aSY.d.ts → authenticationManager-DRaugLgH.d.ts} +2 -2
  29. package/dist/{authenticationManager-DjX0XDyH.esm.js → authenticationManager-yBVGiIf_.esm.js} +7 -6
  30. package/dist/{authenticationStateMachine-BMbZL8wm.esm.js → authenticationStateMachine-DPqTOJPp.esm.js} +50 -18
  31. package/dist/avatar.d.ts +1 -1
  32. package/dist/{browser-pQZA35G2-DtkAf6sn.esm.js → browser-pQZA35G2-DxIBykpe.esm.js} +1 -1
  33. package/dist/{callback-645_omgz.d.ts → callback-BmjJ1G-5.d.ts} +1 -1
  34. package/dist/camera.esm.js +1 -1
  35. package/dist/certificate-issuance.d.ts +1 -1
  36. package/dist/certificate-issuance.esm.js +2 -2
  37. package/dist/{certificateIssuanceManager-Dr8A4Lgr.d.ts → certificateIssuanceManager-BcYhxO63.d.ts} +4 -3
  38. package/dist/{certificateIssuanceManager-C1nETQos.esm.js → certificateIssuanceManager-Dxl9UwR0.esm.js} +5 -3
  39. package/dist/{certificateIssuanceStateMachine-DThXMDqr.esm.js → certificateIssuanceStateMachine-CM4q71h1.esm.js} +4 -4
  40. package/dist/{cnpj-Co1ottYN.esm.js → cnpj-Bl_olpdX.esm.js} +5 -3
  41. package/dist/consent.d.ts +1 -1
  42. package/dist/consent.esm.js +2 -2
  43. package/dist/{consentManager-bjfVXO7p.d.ts → consentManager-B2F_VeAo.d.ts} +12 -11
  44. package/dist/{consentManager-DMlSL6Ax.esm.js → consentManager-BPocwpm2.esm.js} +5 -3
  45. package/dist/{consentStateMachine-DIYSMxKQ.esm.js → consentStateMachine-DgiIcT9q.esm.js} +3 -3
  46. package/dist/cpf-DDXMTLYr.esm.js +37 -0
  47. package/dist/{createFaceAvatar-lYX0VTYs.d.ts → createFaceAvatar-BimBTONm.d.ts} +1 -1
  48. package/dist/cross-document-data-match.d.ts +1 -1
  49. package/dist/cross-document-data-match.esm.js +1 -1
  50. package/dist/{crossDocumentDataMatchManager-BFTdiEDB.esm.js → crossDocumentDataMatchManager-BfA29Aji.esm.js} +6 -4
  51. package/dist/{crossDocumentDataMatchManager-yCWCOzcU.d.ts → crossDocumentDataMatchManager-crZcIUSY.d.ts} +3 -3
  52. package/dist/curp-DZGvefg3.esm.js +14 -0
  53. package/dist/curp-validation.d.ts +1 -1
  54. package/dist/curp-validation.esm.js +2 -2
  55. package/dist/{curpValidationManager-DNpC3wyf.esm.js → curpValidationManager-CbvBDoE1.esm.js} +6 -4
  56. package/dist/{curpValidationManager-z8428oCM.d.ts → curpValidationManager-Ci2iVuog.d.ts} +4 -4
  57. package/dist/{curpValidationStateMachine-B3iVsDyt.esm.js → curpValidationStateMachine-BQ8XK2Y3.esm.js} +5 -5
  58. package/dist/custom-fields.d.ts +1 -1
  59. package/dist/custom-fields.esm.js +1 -1
  60. package/dist/custom-watchlist.d.ts +1 -1
  61. package/dist/custom-watchlist.esm.js +2 -2
  62. package/dist/{customFieldsManager-CvI-pDT3.esm.js → customFieldsManager-BRqSCR9R.esm.js} +6 -4
  63. package/dist/{customFieldsManager-CF-cO8ap.d.ts → customFieldsManager-CdWTbsew.d.ts} +3 -3
  64. package/dist/{customWatchlistManager-BuHtUb0y.esm.js → customWatchlistManager-Bd1ooIDB.esm.js} +5 -3
  65. package/dist/{customWatchlistManager-DolUswyR.d.ts → customWatchlistManager-lJrveDS4.d.ts} +3 -3
  66. package/dist/{customWatchlistStateMachine-CiVD9wyF.esm.js → customWatchlistStateMachine-r8nGhyo1.esm.js} +3 -3
  67. package/dist/{deepsightLoader-B7DEYoyY.esm.js → deepsightLoader-CEY2mSPM.esm.js} +5 -5
  68. package/dist/{addressSearch-DzbE9Ogt.esm.js → definitionSource-Nw0YCbpe.esm.js} +39 -72
  69. package/dist/{desktopCameraElection-BGMtYwk3.esm.js → desktopCameraElection-enVPfRsQ.esm.js} +5 -5
  70. package/dist/document-capture.d.ts +1 -1
  71. package/dist/document-capture.esm.js +2 -2
  72. package/dist/{documentCaptureManager-CD5iQiUI.d.ts → documentCaptureManager-BZBmcOKI.d.ts} +4 -3
  73. package/dist/{documentCaptureManager-DLPqruXJ.esm.js → documentCaptureManager-C11k5BO-.esm.js} +5 -3
  74. package/dist/{documentCaptureStateMachine-DCvWQhFG.esm.js → documentCaptureStateMachine-g0gfL0_1.esm.js} +6 -6
  75. package/dist/dynamic-forms.d.ts +1 -1
  76. package/dist/dynamic-forms.esm.js +2 -2
  77. package/dist/{dynamicFormsManager-DfqCEPg9.esm.js → dynamicFormsManager-BmfCZ2zV.esm.js} +5 -3
  78. package/dist/{dynamicFormsManager-9kwY8Bf5.d.ts → dynamicFormsManager-C45pTncO.d.ts} +3 -3
  79. package/dist/{dynamicFormsStateMachine-USQMB-uV.esm.js → dynamicFormsStateMachine-B-eYytau.esm.js} +4 -4
  80. package/dist/ekyb.d.ts +3 -3
  81. package/dist/ekyb.esm.js +2 -2
  82. package/dist/{ekybManager-CR8YSYux.esm.js → ekybManager-BPaMfbgw.esm.js} +5 -3
  83. package/dist/{ekybManager-BLOkwmWO.d.ts → ekybManager-BflWuTe4.d.ts} +3 -3
  84. package/dist/{ekybStateMachine-kHwdz6hm.esm.js → ekybStateMachine-C_lEw4I7.esm.js} +19 -19
  85. package/dist/ekyc-prefill.d.ts +17 -0
  86. package/dist/ekyc-prefill.esm.js +3 -0
  87. package/dist/ekyc.d.ts +3 -3
  88. package/dist/ekyc.esm.js +3 -3
  89. package/dist/{ekycManager-DlGIn9wA.d.ts → ekycManager-BKVQazAb.d.ts} +48 -7
  90. package/dist/{ekycManager-DymCvmVB.esm.js → ekycManager-nRT0rxei.esm.js} +39 -16
  91. package/dist/ekycPrefillManager-CCtbmrFd.esm.js +103 -0
  92. package/dist/ekycPrefillManager-DOTl3Y2w.d.ts +566 -0
  93. package/dist/ekycPrefillStateMachine-XpxgCAoC.esm.js +687 -0
  94. package/dist/ekycRules-DXP2hqVw.esm.js +479 -0
  95. package/dist/{ekycStateMachine-CoFCUJ2z.esm.js → ekycStateMachine-nwJRel2s.esm.js} +915 -596
  96. package/dist/{ekycUtils-GRuMELYr.esm.js → ekycUtils-FcqA6oU4.esm.js} +68 -49
  97. package/dist/electronic-signature.d.ts +1 -1
  98. package/dist/electronic-signature.esm.js +1 -1
  99. package/dist/{electronicSignatureManager-DTSLOvKR.d.ts → electronicSignatureManager-5tYz-a4o.d.ts} +4 -3
  100. package/dist/{electronicSignatureManager-BCE3uA3z.esm.js → electronicSignatureManager-M2O2VDks.esm.js} +8 -6
  101. package/dist/email.d.ts +1 -1
  102. package/dist/email.esm.js +2 -2
  103. package/dist/{emailManager-CGoE3CUe.esm.js → emailManager-Co4jarT1.esm.js} +5 -3
  104. package/dist/{emailManager-Dy6omJVp.d.ts → emailManager-pM7ZPuMa.d.ts} +3 -3
  105. package/dist/{emailStateMachine-KgHfDNvM.esm.js → emailStateMachine-CTEaYncs.esm.js} +4 -4
  106. package/dist/events-CP3yOzAl.esm.js +299 -0
  107. package/dist/events.d.ts +3 -1
  108. package/dist/events.esm.js +2 -1
  109. package/dist/extensibility.d.ts +43 -42
  110. package/dist/extensibility.esm.js +39 -38
  111. package/dist/{externalFetch-CQY41QT1.esm.js → externalFetch-cUjJYyXj.esm.js} +1 -1
  112. package/dist/face-match.d.ts +1 -1
  113. package/dist/face-match.esm.js +2 -2
  114. package/dist/{faceCaptureManagerFactory-Dp90bedH.esm.js → faceCaptureManagerFactory-3Or5qfbA.esm.js} +17 -6
  115. package/dist/{faceCaptureManagerFactory-DV2ULUYS.d.ts → faceCaptureManagerFactory-CRGajjZ4.d.ts} +18 -11
  116. package/dist/{faceCaptureSetup-ZfiWg0fo.esm.js → faceCaptureSetup-Cf87i0rT.esm.js} +46 -38
  117. package/dist/{faceMatchManager-Z4UDLwAv.d.ts → faceMatchManager-C5b5WtcY.d.ts} +12 -5
  118. package/dist/{faceMatchManager-D2xKPjjQ.esm.js → faceMatchManager-CGmNGbov.esm.js} +5 -3
  119. package/dist/{faceMatchStateMachine-CUvwiQi9.esm.js → faceMatchStateMachine-BuHt7kec.esm.js} +44 -18
  120. package/dist/{feature-management-BbCIA4og.esm.js → feature-management-DG016L6E.esm.js} +1 -1
  121. package/dist/feature-management.esm.js +1 -1
  122. package/dist/field-comparison.d.ts +1 -1
  123. package/dist/field-comparison.esm.js +1 -1
  124. package/dist/{fieldComparisonManager-DgDbEeFZ.esm.js → fieldComparisonManager-VgCU4X96.esm.js} +6 -4
  125. package/dist/{fieldComparisonManager-CUX4gza2.d.ts → fieldComparisonManager-mFOHRhVd.d.ts} +3 -3
  126. package/dist/fiscal-qr.d.ts +1 -1
  127. package/dist/fiscal-qr.esm.js +1 -1
  128. package/dist/{fiscalQrManager-D0Iy7EKR.d.ts → fiscalQrManager-DFnFVpP9.d.ts} +3 -3
  129. package/dist/{fiscalQrManager-BZeklojR.esm.js → fiscalQrManager-DOLq45ph.esm.js} +6 -4
  130. package/dist/flow-events.d.ts +1 -1
  131. package/dist/flow.d.ts +71 -20
  132. package/dist/flow.esm.js +285 -68
  133. package/dist/{flowCompletionService-CcCnPs_T.esm.js → flowCompletionService-BpeAbbXc.esm.js} +24 -3
  134. package/dist/{flowServices-Dmnc8Rye.esm.js → flowServices-rDg1bAMs.esm.js} +393 -13
  135. package/dist/geolocation.d.ts +1 -1
  136. package/dist/geolocation.esm.js +2 -2
  137. package/dist/{geolocationManager-6e1i9UIR.d.ts → geolocationManager-CENrvxpK.d.ts} +4 -3
  138. package/dist/{geolocationManager-BJJ3m_I8.esm.js → geolocationManager-T8m4lqvF.esm.js} +5 -3
  139. package/dist/{geolocationStateMachine-CTI3m4Ie.esm.js → geolocationStateMachine-NWmA1Dtn.esm.js} +5 -5
  140. package/dist/government-validation.d.ts +1 -1
  141. package/dist/government-validation.esm.js +2 -2
  142. package/dist/{governmentValidationManager-CjChjZ3C.esm.js → governmentValidationManager-6JQQkzha.esm.js} +5 -3
  143. package/dist/{governmentValidationManager-B82zOut8.d.ts → governmentValidationManager-De_vU7bm.d.ts} +4 -4
  144. package/dist/{governmentValidationStateMachine-AEbn3Afi.esm.js → governmentValidationStateMachine-wBunpfQ9.esm.js} +3 -3
  145. package/dist/home.d.ts +4 -3
  146. package/dist/home.esm.js +4 -2
  147. package/dist/http.esm.js +1 -1
  148. package/dist/id-ocr.d.ts +2 -2
  149. package/dist/id-ocr.esm.js +3 -19
  150. package/dist/id-selfie-flow.d.ts +6 -5
  151. package/dist/id-selfie-flow.esm.js +12 -11
  152. package/dist/id-verification.d.ts +1 -1
  153. package/dist/id-verification.esm.js +2 -2
  154. package/dist/id.d.ts +3 -3
  155. package/dist/id.esm.js +3 -3
  156. package/dist/{idCaptureDefaults-Dszuq9ng.esm.js → idCaptureDefaults-Cjesf5i9.esm.js} +3 -3
  157. package/dist/{idCaptureManager-B3oR4RnA.esm.js → idCaptureManager-5-ReVgbB.esm.js} +12 -10
  158. package/dist/{idCaptureManager-CCA2D1Ah.d.ts → idCaptureManager-Cqx2y_fC.d.ts} +12 -11
  159. package/dist/{idCaptureServices-DK0QboqT.esm.js → idCaptureServices-exB6I9lV.esm.js} +7 -7
  160. package/dist/{idCaptureStateMachine-zzar9MPy.esm.js → idCaptureStateMachine-DQ14d3GR.esm.js} +51 -21
  161. package/dist/idOcrCpfUtils-D5Gwskxu.esm.js +18 -0
  162. package/dist/{idOcrManager-BTdHlJ9D.d.ts → idOcrManager-C0C7lFGd.d.ts} +6 -5
  163. package/dist/{idOcrManager-xyEZNOBa.esm.js → idOcrManager-im7VfJQi.esm.js} +5 -3
  164. package/dist/{idOcrStateMachine-DNKXh4Rn.esm.js → idOcrStateMachine-B832arAl.esm.js} +10 -9
  165. package/dist/{idVerificationManager-BJapZfpy.d.ts → idVerificationManager-B6R8xNZq.d.ts} +4 -3
  166. package/dist/{idVerificationManager-DdnvYfgN.esm.js → idVerificationManager-PMGM4hXY.esm.js} +5 -3
  167. package/dist/{idVerificationStateMachine-DtIBCa32.esm.js → idVerificationStateMachine-DeeugC00.esm.js} +3 -3
  168. package/dist/identity-reuse.d.ts +2 -2
  169. package/dist/identity-reuse.esm.js +2 -2
  170. package/dist/identity-search.d.ts +97 -0
  171. package/dist/identity-search.esm.js +97 -0
  172. package/dist/{identityReuseManager-ooAbp6Kc.d.ts → identityReuseManager-CZ-qJ_Aa.d.ts} +82 -15
  173. package/dist/{identityReuseManager-CcpovlfD.esm.js → identityReuseManager-CjFZ7WRa.esm.js} +9 -4
  174. package/dist/{identityReuseStateMachine-DxZFWy47.esm.js → identityReuseStateMachine-CLFjPp13.esm.js} +22 -25
  175. package/dist/index-DHuAkTe0.d.ts +1 -0
  176. package/dist/{index-DEfwds5y.d.ts → index-DM43R87x.d.ts} +43 -19
  177. package/dist/{index-DC0P2Vzw.d.ts → index-DxYNO94y.d.ts} +2 -2
  178. package/dist/index.d.ts +1 -1
  179. package/dist/index.esm.js +1 -1
  180. package/dist/{invokeOnCaptureCallback-BJ0GVHGr.esm.js → invokeOnCaptureCallback-lXP41N7b.esm.js} +1 -1
  181. package/dist/kyb-checks.d.ts +1 -1
  182. package/dist/kyb-checks.esm.js +2 -2
  183. package/dist/{kybChecksManager-CblEL97E.d.ts → kybChecksManager-B7Di9auB.d.ts} +3 -3
  184. package/dist/{kybChecksManager-DpGOp4Su.esm.js → kybChecksManager-CZfdCkLC.esm.js} +3 -2
  185. package/dist/{kybChecksStateMachine-B43NAnv7.esm.js → kybChecksStateMachine-DkWxSU4L.esm.js} +9 -7
  186. package/dist/mandatory-consent.d.ts +2 -2
  187. package/dist/mandatory-consent.esm.js +2 -2
  188. package/dist/{mandatoryConsentManager-B88Sm5nd.d.ts → mandatoryConsentManager-Bh1asNJh.d.ts} +24 -14
  189. package/dist/{mandatoryConsentManager-B4vCYslr.esm.js → mandatoryConsentManager-Dh3pBhOe.esm.js} +5 -3
  190. package/dist/{mandatoryConsentStateMachine-DWslYPA3.esm.js → mandatoryConsentStateMachine-BjuI72HZ.esm.js} +13 -7
  191. package/dist/{mediaRecorderOptions-B9-IEVtV.esm.js → mediaRecorderOptions-g1TwTlhd.esm.js} +20 -3
  192. package/dist/{multipartRecordingService-BTqkHGG9.esm.js → multipartRecordingService-WgK8ieRI.esm.js} +2 -2
  193. package/dist/{permissionGuards-DFV-Ws0a.esm.js → permissionGuards-D-4_VU7-.esm.js} +1 -1
  194. package/dist/{permissionServices-D190ATGD.esm.js → permissionServices-DpccEnzE.esm.js} +1 -1
  195. package/dist/phone.d.ts +1 -1
  196. package/dist/phone.esm.js +2 -2
  197. package/dist/phoneFormat-C3q0Ukh4.esm.js +27 -0
  198. package/dist/{phoneManager-6nrJkvkG.d.ts → phoneManager-VO1HEoUZ.d.ts} +3 -3
  199. package/dist/{phoneManager-Dy5tODCU.esm.js → phoneManager-rA7updqF.esm.js} +5 -3
  200. package/dist/{phoneServices-DJgyOzU2.esm.js → phoneServices-CFXcwCFr.esm.js} +1 -1
  201. package/dist/{phoneStateMachine-DnlPhnw7.esm.js → phoneStateMachine-DKdY2Scx.esm.js} +4 -4
  202. package/dist/{processFaceMatch-Bst83HaS.esm.js → processFaceMatch-B_DkDTE5.esm.js} +1 -1
  203. package/dist/qe-signature.d.ts +2 -2
  204. package/dist/qe-signature.esm.js +1 -1
  205. package/dist/{recordingService-CTko6Cjn.esm.js → recordingService-DxiwS8TV.esm.js} +5 -5
  206. package/dist/redirect-to-mobile.d.ts +1 -1
  207. package/dist/redirect-to-mobile.esm.js +2 -2
  208. package/dist/{redirectToMobileManager-CgGaT2NP.esm.js → redirectToMobileManager-DTB_pWuS.esm.js} +6 -4
  209. package/dist/{redirectToMobileManager-Dm9ctRCC.d.ts → redirectToMobileManager-pT6FiPE7.d.ts} +3 -3
  210. package/dist/{redirectToMobileStateMachine-CbhN8uVN.esm.js → redirectToMobileStateMachine-nP9DM01_.esm.js} +4 -4
  211. package/dist/{resolveForm-O7-r79VA.esm.js → resolveForm-DaaQSVWp.esm.js} +8 -213
  212. package/dist/{runChildModule-BffFArwl.esm.js → runChildModule-CXLcOcXN.esm.js} +8 -6
  213. package/dist/{sdkVersion-CDd_gaR7.esm.js → sdkVersion-fqxsdqFZ.esm.js} +1 -1
  214. package/dist/selfie.d.ts +4 -4
  215. package/dist/selfie.esm.js +13 -12
  216. package/dist/{selfieErrorUtils-f4MgAG2A.esm.js → selfieErrorUtils-MOfYdGPz.esm.js} +1 -1
  217. package/dist/{selfieManager-DmZFzs1-.d.ts → selfieManager-DihwheJ6.d.ts} +2 -2
  218. package/dist/{selfieManager-hopelYEk.esm.js → selfieManager-Dq8tIqGd.esm.js} +7 -6
  219. package/dist/{selfieStateMachine-DaZIVv3Q.esm.js → selfieStateMachine-BZVDQB8R.esm.js} +5 -5
  220. package/dist/{session-CdSX4wsZ.esm.js → session-C7x_iJ-p.esm.js} +4 -4
  221. package/dist/session.d.ts +2 -2
  222. package/dist/session.esm.js +5 -5
  223. package/dist/{sessionInitializer-DsL7X2j9.esm.js → sessionInitializer-k-hKIBg8.esm.js} +21 -9
  224. package/dist/{setup-DDahygZs.esm.js → setup-BRbhjHiU.esm.js} +13 -15
  225. package/dist/{setup-D9qt8YVU.d.ts → setup-CpXbdA1X.d.ts} +2 -2
  226. package/dist/signature.d.ts +1 -1
  227. package/dist/signature.esm.js +2 -2
  228. package/dist/{signatureManager-CwqjcxPg.esm.js → signatureManager-BgAja97K.esm.js} +5 -3
  229. package/dist/{signatureManager-BpVt_Jv7.d.ts → signatureManager-daT_8fj_.d.ts} +3 -3
  230. package/dist/{signatureStateMachine-DBVDd1Eu.esm.js → signatureStateMachine-CVPmvU2p.esm.js} +3 -3
  231. package/dist/{spawn-D9jgw9pW.d.ts → spawn-COZKetCS.d.ts} +1 -1
  232. package/dist/{stats-CatA2dea.esm.js → stats-DoByUnTa.esm.js} +1 -1
  233. package/dist/stats.esm.js +1 -1
  234. package/dist/step-up.d.ts +379 -0
  235. package/dist/step-up.esm.js +640 -0
  236. package/dist/{tri-DG6priFa.esm.js → tri-CI2exudk.esm.js} +29 -34
  237. package/dist/tri.d.ts +2 -2
  238. package/dist/tri.esm-CxLWmTZk.esm.js +2287 -0
  239. package/dist/tri.esm.js +2 -2
  240. package/dist/{trueSightService-GuLthUVK.esm.js → trueSightService-DhW2O8mB.esm.js} +7 -4
  241. package/dist/trust-graph.d.ts +4 -3
  242. package/dist/trust-graph.esm.js +5 -3
  243. package/dist/{types-BEVHQbbC.d.ts → types-9wlf1-GE.d.ts} +3 -3
  244. package/dist/types-B-PIc0en.d.ts +115 -0
  245. package/dist/{types-CJ7Yl9K-.d.ts → types-Bpo97EOh.d.ts} +4 -2
  246. package/dist/{types-BQA7lRDV.d.ts → types-C3rfDzgE.d.ts} +4 -2
  247. package/dist/types-CE1jkHw3.d.ts +6 -0
  248. package/dist/{types-BPm1JSu7.d.ts → types-Cpdum4vi.d.ts} +5 -5
  249. package/dist/{types-CuMJ2M7D.d.ts → types-DEa3taWc.d.ts} +8 -1
  250. package/dist/{types-Csh8vzPo.d.ts → types-DFP7eSle.d.ts} +1 -1
  251. package/dist/{types-Cd0J0F9D.d.ts → types-DJPU3W2M.d.ts} +3 -2
  252. package/dist/{events-ggpBBaZ8.esm.js → types-DYYMdAGv.esm.js} +3 -298
  253. package/dist/{types-CRaFu6wS.d.ts → types-Ddc4Tr_f.d.ts} +37 -4
  254. package/dist/{urlUtils-eYiyWjh0.esm.js → urlUtils-B2wagB5v.esm.js} +14 -1
  255. package/dist/usStates-CwOQ2kAx.esm.js +209 -0
  256. package/dist/video-selfie.d.ts +9 -7
  257. package/dist/video-selfie.esm.js +14 -13
  258. package/dist/{videoSelfieCameraWarmer-e3irGfcO.esm.js → videoSelfieCameraWarmer-YwO_uP-b.esm.js} +14 -12
  259. package/dist/{videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js → videoSelfieFlowModuleMachine-IWdxw1TW.esm.js} +1 -1
  260. package/dist/{videoSelfieStepDetector-Dv3Mgws-.d.ts → videoSelfieStepDetector-DRrh4P0A.d.ts} +4 -4
  261. package/dist/{warmup-DtB0DJpl.esm.js → warmup-9iKKNNuW.esm.js} +46 -4
  262. package/dist/{warmup-BO57syF6.d.ts → warmup-BNhIuURi.d.ts} +18 -2
  263. package/dist/wasm.d.ts +9 -3
  264. package/dist/wasm.esm.js +3 -3
  265. package/dist/{wasmDsFlagSync-BtiR5pig.esm.js → wasmDsFlagSync-D_6e8W62.esm.js} +1 -1
  266. package/dist/{wasmWebClient-BDrax6Eu.esm.js → wasmWebClient-C3v3s_4H.esm.js} +22 -10
  267. package/dist/watchlist-for-business.d.ts +1 -1
  268. package/dist/watchlist-for-business.esm.js +2 -2
  269. package/dist/watchlist.d.ts +1 -1
  270. package/dist/watchlist.esm.js +2 -2
  271. package/dist/{watchlistForBusinessManager-DqUpAEj_.esm.js → watchlistForBusinessManager-BH6M4kqA.esm.js} +5 -3
  272. package/dist/{watchlistForBusinessManager-DX2AyM4Y.d.ts → watchlistForBusinessManager-l7ZERQcV.d.ts} +3 -3
  273. package/dist/{watchlistForBusinessStateMachine-DdaPl2PS.esm.js → watchlistForBusinessStateMachine-BMWm5mcP.esm.js} +4 -4
  274. package/dist/{watchlistManager-CdpXzT4B.esm.js → watchlistManager-BDaVjzLW.esm.js} +5 -3
  275. package/dist/{watchlistManager-DJQOd8Pw.d.ts → watchlistManager-DQq4GxBO.d.ts} +3 -3
  276. package/dist/{watchlistStateMachine-ofHW_lPk.esm.js → watchlistStateMachine-Cx-6QAvu.esm.js} +3 -3
  277. package/dist/workflow.d.ts +230 -44
  278. package/dist/workflow.esm.js +171 -67
  279. package/dist/{xstate-actors.esm-8Gzepa_A.esm.js → xstate-actors.esm-BCcwgosu.esm.js} +1 -1
  280. package/dist/xstate.cjs-D6Ur0X1F.d.ts +7 -0
  281. package/dist/{xstate.esm-DSajW7CJ.esm.js → xstate.esm-CIqUf_i6.esm.js} +1 -125
  282. package/package.json +16 -1
  283. package/dist/Actor-DpTj5PFb.d.ts +0 -1
  284. package/dist/cpf-uAZTPUBy.esm.js +0 -61
  285. package/dist/index-DpTj5PFb.d.ts +0 -1
  286. package/dist/nationalIds-B91f_RuB.esm.js +0 -99
  287. package/dist/phoneFormat-JJNaWthV.esm.js +0 -75
  288. package/dist/tri.esm-CzTNi5Q_.esm.js +0 -3826
  289. package/dist/types-J6g6iKe_.d.ts +0 -6
@@ -0,0 +1,379 @@
1
+ import "./xstate.cjs-D6Ur0X1F.js";
2
+ import { t as Manager } from "./Manager-DufwKlav.js";
3
+ import "./Actor-DqjOqDfU.js";
4
+ import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
5
+ //#region src/modules/step-up/types.d.ts
6
+ /**
7
+ * One scope the agent class asks for, as shown on the permissions screen.
8
+ */
9
+ type StepUpScope = {
10
+ /** Machine name sent back in `approvedScopes`, e.g. `tx.read`. */
11
+ name: string;
12
+ /** Human label, e.g. `Read transactions`. Falls back to `name`. */
13
+ displayName: string;
14
+ description?: string;
15
+ /**
16
+ * Whether the permissions screen starts with this scope ticked (contract
17
+ * v0.5). Incode sets it from the agent class: the scope that triggered the
18
+ * step-up and `auto-select` scopes are ticked, `dynamic-select` ones only
19
+ * when suggested; missing means unticked.
20
+ */
21
+ autoSelect?: boolean;
22
+ /**
23
+ * `auto-select`: starts ticked. `dynamic-select`: starts ticked only when
24
+ * suggested (see `autoSelect`). The person may untick either. Missing reads
25
+ * as `dynamic-select`.
26
+ */
27
+ selectionMode?: 'auto-select' | 'dynamic-select';
28
+ };
29
+ /**
30
+ * The step-up's `consent`, exactly as the Decision API start response
31
+ * returns it (contract v0.2 §6.1: camelCase everywhere).
32
+ */
33
+ type StepUpPermissions = {
34
+ agentClassId?: string;
35
+ purpose?: string;
36
+ scopes: StepUpScope[];
37
+ /** Limits keyed by scope name; only scopes that have one are listed. */
38
+ limits?: Record<string, StepUpLimit>;
39
+ /** How long the approval lasts, in seconds. */
40
+ durationSeconds: number;
41
+ };
42
+ /** The agent class's limit on one scope. Amounts carry no currency. */
43
+ type StepUpLimit = {
44
+ budgetLimit?: number;
45
+ usageLimit?: number;
46
+ /** What one use is called, e.g. `reads`. */
47
+ usageLimitLabel?: string;
48
+ };
49
+ /** When the SDK's permissions screen shows, relative to the face check. */
50
+ type StepUpPermissionsOrder = 'afterFaceCheck' | 'beforeFaceCheck';
51
+ /**
52
+ * The Decision API's step-up modes: `embedded` runs the workflow in this page,
53
+ * `hosted` frames Incode's hosted page at `onboardingUrl`.
54
+ */
55
+ type StepUpMode = 'embedded' | 'hosted';
56
+ type StepUpPermissionsUi = 'sdk' | 'none';
57
+ /**
58
+ * What `onFinish` receives. A hint only: the bank server's status read
59
+ * (`GET /step-ups/{id}`) is what checks the face check and activates the
60
+ * mandate.
61
+ */
62
+ type StepUpResult = {
63
+ stepUpId: string;
64
+ approvedScopes: string[];
65
+ };
66
+ /**
67
+ * Error codes on {@link StepUpError.code} (contract v0.2 §6.3). Public API:
68
+ * hosts branch on them.
69
+ *
70
+ * - `INVALID_OPTIONS` — `renderStepUp` was called with bad options (thrown).
71
+ * - `USER_DENIED` — the user pressed Deny on the permissions screen.
72
+ * - `FACE_CHECK_FAILED` — the face check ran and failed: the workflow finished
73
+ * `rejected` or with score `FAIL` / `MANUAL_FAIL`, or the hosted page
74
+ * reported `FACE_CHECK_FAILED`.
75
+ * - `VERIFICATION_PENDING` — the workflow ended without a result yet (async
76
+ * resolution, e.g. manual review), or the hosted page reported
77
+ * `VERIFICATION_PENDING`. The bank server's status read answers `pending`
78
+ * until Incode decides.
79
+ * - `VERIFICATION_ERROR` — the verification could not finish: network,
80
+ * expired token, camera denied, any other workflow or hosted-page error, a
81
+ * hosted result that approved none of the agent class's scopes, a hosted
82
+ * page that never sent `ready` (`detail.code` `READY_TIMEOUT`), or an
83
+ * `onPermissionsApproved` that rejected (`detail.code`
84
+ * `PERMISSIONS_NOT_SAVED`).
85
+ * {@link StepUpError.detail} carries the original code and message.
86
+ * - `IFRAME_ORIGIN_MISMATCH` — the step-up iframe posted from an origin other
87
+ * than `onboardingUrl`'s (for example it was redirected elsewhere).
88
+ */
89
+ type StepUpErrorCode = 'INVALID_OPTIONS' | 'USER_DENIED' | 'FACE_CHECK_FAILED' | 'VERIFICATION_PENDING' | 'VERIFICATION_ERROR' | 'IFRAME_ORIGIN_MISMATCH';
90
+ /** The codes the verification step (workflow or hosted page) can end with. */
91
+ type StepUpVerificationErrorCode = Extract<StepUpErrorCode, 'FACE_CHECK_FAILED' | 'VERIFICATION_PENDING' | 'VERIFICATION_ERROR'>;
92
+ /**
93
+ * What the workflow or hosted page reported underneath a step-up error, as
94
+ * given (for logs and support; not stable API).
95
+ */
96
+ type StepUpErrorDetail = {
97
+ /** E.g. a workflow module error code, an HTTP status, or a hosted code. */
98
+ code?: string;
99
+ message?: string;
100
+ };
101
+ /** Options validated by core. The DOM container is checked by the UI layer. */
102
+ type StepUpOptionsInput = {
103
+ stepUpId: string;
104
+ sessionToken: string;
105
+ interviewId?: string;
106
+ /** The start response's `consent`, passed on unchanged. */
107
+ consent: StepUpPermissions;
108
+ mode?: StepUpMode;
109
+ onboardingUrl?: string;
110
+ permissionsUi?: StepUpPermissionsUi;
111
+ /**
112
+ * Embedded mode: show the permissions screen before the face check
113
+ * (default) or after it. Ignored with `permissionsUi: 'none'`. Incode
114
+ * activates the mandate once it has both the scope choice and a passed face
115
+ * check, in either order.
116
+ */
117
+ permissionsOrder?: StepUpPermissionsOrder;
118
+ /**
119
+ * Embedded mode: called when the person approves, with the scopes they kept.
120
+ * The step-up waits for the returned promise, then runs the face check (or
121
+ * finishes, after it). Use it to have the bank server record the choice
122
+ * (`POST /api/v1/step-ups/{id}/scopes`). A rejection ends the step-up with
123
+ * `VERIFICATION_ERROR`, `detail.code` `PERMISSIONS_NOT_SAVED`.
124
+ */
125
+ onPermissionsApproved?: (result: StepUpResult) => void | Promise<unknown>;
126
+ /**
127
+ * Hosted mode: how long to wait for the hosted page's `ready` before
128
+ * failing with `VERIFICATION_ERROR` (`detail.code` `READY_TIMEOUT`).
129
+ * Default 15000.
130
+ */
131
+ readyTimeoutMs?: number;
132
+ /** Default language, as `<incode-workflow lang>`. Embedded mode. */
133
+ lang?: string;
134
+ /** Skips the tenant's dashboard theme, as on `<incode-workflow>`. Embedded mode. */
135
+ disableDashboardTheme?: boolean;
136
+ onFinish: (result: StepUpResult) => void;
137
+ onError?: (error: Error) => void;
138
+ };
139
+ /** Options after validation: defaults filled in, permissions normalized. */
140
+ type NormalizedStepUpOptions = {
141
+ stepUpId: string;
142
+ sessionToken: string;
143
+ interviewId?: string;
144
+ permissions: StepUpPermissions;
145
+ mode: StepUpMode;
146
+ onboardingUrl?: string;
147
+ /** Exact origin of `onboardingUrl` (hosted mode only). */
148
+ onboardingOrigin?: string;
149
+ permissionsUi: StepUpPermissionsUi;
150
+ permissionsOrder: StepUpPermissionsOrder;
151
+ readyTimeoutMs: number;
152
+ lang?: string;
153
+ disableDashboardTheme: boolean;
154
+ onPermissionsApproved?: (result: StepUpResult) => void | Promise<unknown>;
155
+ onFinish: (result: StepUpResult) => void;
156
+ onError?: (error: Error) => void;
157
+ };
158
+ /** Duration in the largest whole unit, for the i18n layer to phrase. */
159
+ type StepUpDuration = {
160
+ unit: 'days' | 'hours' | 'minutes' | 'seconds';
161
+ count: number;
162
+ };
163
+ /** What a message from the hosted onboarding page means to the step-up. */
164
+ type HostedPageMessage = {
165
+ kind: 'ready';
166
+ } | {
167
+ kind: 'finished';
168
+ approvedScopes: string[];
169
+ } | {
170
+ kind: 'error';
171
+ code: string;
172
+ message?: string;
173
+ } | {
174
+ kind: 'originMismatch';
175
+ } | {
176
+ kind: 'ignored';
177
+ };
178
+ //#endregion
179
+ //#region src/modules/step-up/stepUpStateMachine.d.ts
180
+ type StepUpInput = {
181
+ stepUpId: string;
182
+ permissions: StepUpPermissions;
183
+ permissionsUi: StepUpPermissionsUi;
184
+ permissionsOrder: StepUpPermissionsOrder;
185
+ /** The host saves the approved scopes before the step-up goes on. */
186
+ hostSavesPermissions: boolean;
187
+ };
188
+ //#endregion
189
+ //#region src/modules/step-up/stepUpActor.d.ts
190
+ type CreateStepUpActorOptions = StepUpInput;
191
+ //#endregion
192
+ //#region src/modules/step-up/stepUpManager.d.ts
193
+ type StepUpVerifyingState = {
194
+ status: 'verifying';
195
+ };
196
+ type StepUpPermissionsState = {
197
+ status: 'permissions';
198
+ purpose?: string;
199
+ scopes: Array<StepUpScope & {
200
+ checked: boolean;
201
+ limit?: StepUpLimit;
202
+ }>;
203
+ duration: StepUpDuration;
204
+ /** False when no scope is checked: Approve needs at least one. */
205
+ canApprove: boolean;
206
+ /** Approved; the host is saving the choice before the step-up goes on. */
207
+ saving: boolean;
208
+ };
209
+ type StepUpFinishedState = {
210
+ status: 'finished';
211
+ result: StepUpResult;
212
+ };
213
+ type StepUpClosedState = {
214
+ status: 'closed';
215
+ };
216
+ type StepUpErrorState = {
217
+ status: 'error';
218
+ /** The `StepUpError` code to report. */
219
+ code: StepUpVerificationErrorCode;
220
+ error: string;
221
+ detail?: StepUpErrorDetail;
222
+ };
223
+ /** The parts of the workflow's `FinishStatus` the step-up reads. */
224
+ type StepUpWorkflowResult = Pick<FinishStatus, 'action' | 'scoreStatus'>;
225
+ /**
226
+ * What the workflow's `onFinish` result means for the step-up:
227
+ * - `failed` — `action: 'rejected'`, or score `FAIL` / `MANUAL_FAIL`.
228
+ * - `pending` — no result (the workflow went to async resolution).
229
+ * - `passed` — anything else, `WARN` and `UNKNOWN` included. That is only a
230
+ * UI hint: Incode passes the face check only on `OK` / `MANUAL_OK`, so
231
+ * `onFinish` is never an approval.
232
+ */
233
+ declare function readWorkflowResult(result: StepUpWorkflowResult | undefined): 'passed' | 'failed' | 'pending';
234
+ type StepUpState = StepUpVerifyingState | StepUpPermissionsState | StepUpFinishedState | StepUpClosedState | StepUpErrorState;
235
+ type CreateStepUpManagerOptions = {
236
+ stepUpId: string;
237
+ permissions: StepUpPermissions;
238
+ permissionsUi?: CreateStepUpActorOptions['permissionsUi'];
239
+ permissionsOrder?: CreateStepUpActorOptions['permissionsOrder'];
240
+ /** Approve waits for `permissionsSaved()` before going on. */
241
+ hostSavesPermissions?: boolean;
242
+ };
243
+ /**
244
+ * Creates the step-up manager. Pass permissions already normalized by
245
+ * `validateStepUpOptions` / `normalizeStepUpPermissions`.
246
+ */
247
+ declare function createStepUpManager(options: CreateStepUpManagerOptions): Manager<StepUpState> & {
248
+ /** Verification passed: show the permissions (or finish, `'none'`). */
249
+ verificationFinished(): void;
250
+ /**
251
+ * The workflow's `onFinish`, with its result. A failed face check goes to
252
+ * `error` (`FACE_CHECK_FAILED`) and no result to `error`
253
+ * (`VERIFICATION_PENDING`); neither shows the permissions.
254
+ */
255
+ workflowFinished(result?: StepUpWorkflowResult): void;
256
+ /**
257
+ * The workflow or hosted page ended without a passed check. `code`
258
+ * defaults to `VERIFICATION_ERROR` (could not finish); pass
259
+ * `FACE_CHECK_FAILED` only for a check that ran and failed.
260
+ */
261
+ verificationFailed(error: string, code?: StepUpVerificationErrorCode, detail?: StepUpErrorDetail): void;
262
+ /** Hosted mode: the hosted page finished, with the scopes it approved. */
263
+ hostedFinished(approvedScopes: string[]): void;
264
+ /** Hosted mode: the user denied on the hosted page. */
265
+ hostedDenied(): void;
266
+ toggleScope(name: string): void;
267
+ /** Ignored while no scope is checked. */
268
+ approve(): void;
269
+ deny(): void;
270
+ /** The host saved the approved scopes: go on to the face check or finish. */
271
+ permissionsSaved(): void;
272
+ /** The host could not save them: the step-up ends in error. */
273
+ permissionsSaveFailed(error: string): void;
274
+ };
275
+ type StepUpManager = ReturnType<typeof createStepUpManager>;
276
+ //#endregion
277
+ //#region src/modules/step-up/stepUpError.d.ts
278
+ /**
279
+ * Error passed to the step-up `onError` callback (and thrown for invalid
280
+ * options). `code` is stable; `message` is for developers, not end users.
281
+ * `detail` is what the workflow or hosted page reported underneath (set for
282
+ * `VERIFICATION_ERROR`, and for `FACE_CHECK_FAILED` from the workflow).
283
+ */
284
+ declare class StepUpError extends Error {
285
+ readonly code: StepUpErrorCode;
286
+ readonly stepUpId?: string;
287
+ readonly detail?: StepUpErrorDetail;
288
+ constructor(code: StepUpErrorCode, message: string, stepUpId?: string, detail?: StepUpErrorDetail);
289
+ }
290
+ declare function isStepUpError(error: unknown): error is StepUpError;
291
+ //#endregion
292
+ //#region src/modules/step-up/stepUpOptions.d.ts
293
+ /**
294
+ * Checks the consent block from the start response and fills in
295
+ * `displayName` (falls back to the scope name). Keeps each scope's boolean
296
+ * `autoSelect` and known `selectionMode`, and the valid limits of known
297
+ * scopes. Throws `INVALID_OPTIONS` when a required field is missing, or
298
+ * `durationSeconds` is not a positive number.
299
+ */
300
+ declare function normalizeStepUpPermissions(raw: unknown): StepUpPermissions;
301
+ /**
302
+ * Exact origin (`scheme://host[:port]`) of an absolute http(s) URL, or
303
+ * `undefined` when the URL is not one.
304
+ */
305
+ declare function getUrlOrigin(url: string): string | undefined;
306
+ /**
307
+ * Validates the `renderStepUp` options (everything except the DOM container,
308
+ * which the UI layer checks) and fills in defaults:
309
+ * `mode: 'embedded'`, `permissionsUi: 'sdk'`,
310
+ * `permissionsOrder: 'beforeFaceCheck'` (`'afterFaceCheck'` in hosted mode),
311
+ * `readyTimeoutMs: DEFAULT_STEP_UP_READY_TIMEOUT_MS` (15 s),
312
+ * `disableDashboardTheme: false`.
313
+ *
314
+ * Throws {@link StepUpError} with code `INVALID_OPTIONS`.
315
+ */
316
+ declare function validateStepUpOptions(raw: unknown): NormalizedStepUpOptions;
317
+ /**
318
+ * Picks the largest unit that divides the duration exactly, so
319
+ * 36000 s → 10 hours, 5400 s → 90 minutes. A duration that is not a whole
320
+ * number of minutes is rounded up to minutes (never shown shorter than it is),
321
+ * and anything under a minute stays in seconds.
322
+ */
323
+ declare function describeStepUpDuration(durationSeconds: number): StepUpDuration;
324
+ //#endregion
325
+ //#region src/modules/step-up/stepUpHostedMessage.d.ts
326
+ /**
327
+ * Tag on every step-up `postMessage`, both directions. Matches the local
328
+ * step-up mock's hosted page (contract P4.7 §6.6 reference implementation).
329
+ */
330
+ declare const STEP_UP_MESSAGE_SOURCE = "incode-step-up";
331
+ /**
332
+ * The parts of a browser `MessageEvent` the check needs. Kept structural so
333
+ * core never touches DOM types.
334
+ */
335
+ type HostedMessageEventLike = {
336
+ origin: string;
337
+ data: unknown;
338
+ };
339
+ /**
340
+ * True only when the message came from exactly `expectedOrigin`
341
+ * (scheme, host and port). No suffix or prefix matching:
342
+ * `https://onboarding.incode.com.evil.com` does not match
343
+ * `https://onboarding.incode.com`.
344
+ */
345
+ declare function isTrustedHostedOrigin(origin: string, expectedOrigin: string): boolean;
346
+ /**
347
+ * Reads a `postMessage` from the hosted step-up page.
348
+ *
349
+ * Pass only messages whose `source` is the step-up iframe's own window. The
350
+ * page tags messages `{ source: 'incode-step-up', type, ... }`:
351
+ * - `ready` — loaded; the parent answers with {@link createStepUpInitMessage}.
352
+ * - `finish` — `{ stepUpId, approvedScopes }`; the hosted page ran the face
353
+ * check and its own permissions screen. Read only when `stepUpId` is
354
+ * exactly `expectedStepUpId`; otherwise (missing or another step-up's)
355
+ * it is ignored, not relayed.
356
+ * - `error` — `{ code, message? }`, e.g. `USER_DENIED` or
357
+ * `FACE_CHECK_FAILED`. Ignored when it names another `stepUpId`.
358
+ *
359
+ * A tagged message from another origin returns `originMismatch` (the frame
360
+ * left the onboarding origin, for example after a redirect). Untagged
361
+ * messages are ignored.
362
+ */
363
+ declare function readHostedPageMessage(event: HostedMessageEventLike, expectedOrigin: string, expectedStepUpId: string): HostedPageMessage;
364
+ /** Message the parent posts to the hosted page after its `ready`. */
365
+ type StepUpInitMessage = {
366
+ source: typeof STEP_UP_MESSAGE_SOURCE;
367
+ type: 'init';
368
+ permissions: StepUpPermissions;
369
+ parentOrigin: string;
370
+ };
371
+ /**
372
+ * Builds the `init` message that hands the hosted page the permissions and
373
+ * the parent's origin (contract v0.2 §6.6; the page checks `parentOrigin`
374
+ * against its `returnOrigin`). The caller posts it with `targetOrigin` set to
375
+ * the exact onboarding origin, never `'*'`.
376
+ */
377
+ declare function createStepUpInitMessage(permissions: StepUpPermissions, parentOrigin: string): StepUpInitMessage;
378
+ //#endregion
379
+ export { type CreateStepUpManagerOptions, type HostedMessageEventLike, type HostedPageMessage, type NormalizedStepUpOptions, STEP_UP_MESSAGE_SOURCE, type StepUpClosedState, type StepUpDuration, StepUpError, type StepUpErrorCode, type StepUpErrorDetail, type StepUpErrorState, type StepUpFinishedState, type StepUpInitMessage, type StepUpLimit, type StepUpManager, type StepUpMode, type StepUpOptionsInput, type StepUpPermissions, type StepUpPermissionsOrder, type StepUpPermissionsState, type StepUpPermissionsUi, type StepUpResult, type StepUpScope, type StepUpState, type StepUpVerificationErrorCode, type StepUpVerifyingState, type StepUpWorkflowResult, createStepUpInitMessage, createStepUpManager, describeStepUpDuration, getUrlOrigin, isStepUpError, isTrustedHostedOrigin, normalizeStepUpPermissions, readHostedPageMessage, readWorkflowResult, validateStepUpOptions };