@incodetech/web 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 (354) hide show
  1. package/THIRD_PARTY_NOTICES.txt +0 -3
  2. package/dist/GeolocationPermissionDenied-BFMCy-vh.js +444 -0
  3. package/dist/ae-signature/ae-signature.es.js +3 -3
  4. package/dist/{af-ZA-OntsEubt.js → af-ZA-BrjGHv_T.js} +33 -6
  5. package/dist/ageVerification-DGLniT4Y.js +77 -0
  6. package/dist/{am-yUcnt3vq.js → am-DE3X3yyA.js} +33 -6
  7. package/dist/antifraud/antifraud.es.js +3 -3
  8. package/dist/antifraud/styles.css +0 -1
  9. package/dist/{ar-AE-BfxiKovT.js → ar-AE-CMTI-_Uo.js} +34 -7
  10. package/dist/{ar-57Dd-l4I.js → ar-BNacVOWD.js} +34 -7
  11. package/dist/{ar-EG-BgDjHJBi.js → ar-EG-D9uwNPoU.js} +33 -6
  12. package/dist/authentication/authentication.es.js +4 -4
  13. package/dist/{autoFocusTitle-DebebrwQ.js → autoFocusTitle-shYRUp-4.js} +1 -1
  14. package/dist/{az-dT363k-q.js → az-Wr9zZpTx.js} +33 -6
  15. package/dist/back-horizontal-hint-BztyPanp.js +134 -0
  16. package/dist/back-vertical-hint-BSzA4QbJ.js +127 -0
  17. package/dist/base.css +1 -7230
  18. package/dist/{baseTutorial-CyVBbj9b.js → baseTutorial-D_Jq0Kz2.js} +13 -24
  19. package/dist/{bn-CKZ00roT.js → bn-C_dbLk3y.js} +33 -6
  20. package/dist/{bottomSheet-DpSr7d9-.js → bottomSheet-Cdwz_7C5.js} +2 -2
  21. package/dist/{bs-BnLdLnmZ.js → bs-C30W6le2.js} +33 -6
  22. package/dist/{ca-D3PGkuQc.js → ca-5-jdy0XG.js} +33 -6
  23. package/dist/cameraOverlay-rWy5OHQK.js +2 -0
  24. package/dist/cameraOverlayHeader-DUwk9XJR.js +83 -0
  25. package/dist/{cameraView-CoWyMnTT.js → cameraView-DJhoELeE.js} +2 -2
  26. package/dist/{ceb-R-2VANeF.js → ceb-D91AsHCc.js} +33 -6
  27. package/dist/certificate-issuance/certificate-issuance.es.js +9 -8
  28. package/dist/certificate-issuance/styles.css +1 -72
  29. package/dist/certificate-issuance/styles.css.js +1 -1
  30. package/dist/check-icon-BpjpKqhJ.js +48 -0
  31. package/dist/{checkbox-CNc8kQS0.js → checkbox-BCr_W3eL.js} +2 -2
  32. package/dist/connectionError-D4qOfYzz.js +45 -0
  33. package/dist/consent/consent.es.js +8 -6
  34. package/dist/consent/styles.css +1 -129
  35. package/dist/consent/styles.css.js +1 -1
  36. package/dist/countryDefinitions-BO9OSKQO.js +555 -0
  37. package/dist/countryFlag-2Vj85OIZ.js +67 -0
  38. package/dist/{countrySelector-BlC5_2rW.js → countrySelector-ck-DQ89q.js} +6 -5
  39. package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
  40. package/dist/{cs-bm9MEri0.js → cs-C4eEOpdT.js} +33 -6
  41. package/dist/{cs-CZ-CEidLhWp.js → cs-CZ-DiJ5MEfY.js} +33 -6
  42. package/dist/curp-validation/curp-validation.es.js +13 -11
  43. package/dist/curp-validation/styles.css +1 -128
  44. package/dist/curp-validation/styles.css.js +1 -1
  45. package/dist/custom-fields/styles.css +1 -21
  46. package/dist/custom-fields/styles.css.js +1 -1
  47. package/dist/{customFields-C_iIhQYG.js → customFields-CihI8HLg.js} +10 -9
  48. package/dist/{customWatchlist-utPTNwCU.js → customWatchlist-avefsmET.js} +6 -6
  49. package/dist/{da-DK-BuSuFTsg.js → da-DK-C3zlFkKn.js} +33 -6
  50. package/dist/{dashboardTheme-DdWs3tlN.js → dashboardTheme-CL3jdGes.js} +1 -1
  51. package/dist/dateInputComposed-9c_0YlmT.js +1 -0
  52. package/dist/{dateInputComposed-CylyZPCj.js → dateInputComposed-BNmac2I-.js} +4 -4
  53. package/dist/{de-BCPdribE.js → de-BefcT58V.js} +33 -6
  54. package/dist/denied-Cs9yuLM4.js +1871 -0
  55. package/dist/deviceWallet-B0fJl22u.js +66 -0
  56. package/dist/digitalIdRedirect-BMakPQkG.js +162 -0
  57. package/dist/digitalIdUpload-D39gUOUa.js +496 -0
  58. package/dist/document-capture/document-capture.es.js +1 -1
  59. package/dist/document-capture/styles.css +1 -378
  60. package/dist/document-capture/styles.css.js +1 -1
  61. package/dist/{documentCapture-BrhKPBNZ.js → documentCapture-64bza6r6.js} +127 -180
  62. package/dist/documentCapture-D_cQ0luo.js +2 -0
  63. package/dist/{dropdownComposed-B0WxIm-I.js → dropdownComposed-DMsLAeKB.js} +8 -14
  64. package/dist/dropdownComposed-MlXFSguX.js +1 -0
  65. package/dist/dynamic-forms/dynamic-forms.es.js +13 -12
  66. package/dist/dynamic-forms/styles.css +1 -104
  67. package/dist/dynamic-forms/styles.css.js +1 -1
  68. package/dist/ekyb/ekyb.es.js +1 -1
  69. package/dist/ekyb/styles.css +1 -113
  70. package/dist/ekyb/styles.css.js +1 -1
  71. package/dist/ekybModule-B1gUqxgm.js +2 -0
  72. package/dist/{ekybModule-BwD2ohHx.js → ekybModule-ChOhP6uM.js} +13 -12
  73. package/dist/ekyc/ekyc.es.js +1 -1
  74. package/dist/ekyc/styles.css +1 -108
  75. package/dist/ekyc/styles.css.js +1 -1
  76. package/dist/{ekycModule-Y9GYfYAt.js → ekycModule-4q3A2JP3.js} +46 -14
  77. package/dist/ekycModule-DTIkPJjl.js +2 -0
  78. package/dist/{el-60ThHM2U.js → el-BqLmhuTU.js} +34 -7
  79. package/dist/{el-GR-D6WIhwC3.js → el-GR-BN31SzAR.js} +33 -6
  80. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  81. package/dist/electronic-signature/styles.css +1 -407
  82. package/dist/electronic-signature/styles.css.js +1 -1
  83. package/dist/{electronic-signature-Bmn4AOpj.js → electronic-signature-Dhw2cLem.js} +24 -21
  84. package/dist/email/email.es.js +8 -7
  85. package/dist/email/styles.css +1 -11
  86. package/dist/email/styles.css.js +1 -1
  87. package/dist/{emailInput-DgQXpURU.js → emailInput-yOCErcEc.js} +3 -3
  88. package/dist/{en-ISV8KwbL.js → en-CJnRQ8fU.js} +33 -6
  89. package/dist/{en-DG-Crvtj3p2.js → en-DG-Dx4B_KVS.js} +33 -6
  90. package/dist/{errorContent-XVdZTMAl.js → errorContent-mqhVNRSO.js} +5 -5
  91. package/dist/{es-419-pXqNpSti.js → es-419-Dl-olR1G.js} +33 -6
  92. package/dist/{es-1QCV_aoe.js → es-BZmJSsux.js} +33 -6
  93. package/dist/{es-ES-BIYzpL_B.js → es-ES-1YZMu7Kf.js} +33 -6
  94. package/dist/{es-MX-Cih_nZPr.js → es-MX-CyxCkl1y.js} +33 -6
  95. package/dist/esm-15CISqPe.js +430 -0
  96. package/dist/{et-CgCGIoIQ.js → et-C1S6VW9K.js} +33 -6
  97. package/dist/{expiredId-BhQM_AcZ.js → expiredId-DfqiC9HI.js} +6 -6
  98. package/dist/extensibility.es.js +38 -36
  99. package/dist/{fa-IR-YnGtqwsy.js → fa-IR-BPyBkaiF.js} +33 -6
  100. package/dist/face-match/face-match.es.js +1 -1
  101. package/dist/face-match/styles.css +1 -535
  102. package/dist/face-match/styles.css.js +1 -1
  103. package/dist/faceMatch-BgN3CPdN.js +2 -0
  104. package/dist/faceMatch-UbygvNeb.js +336 -0
  105. package/dist/{fi-FI-3XXKPtj1.js → fi-FI-CfKLgU-O.js} +33 -6
  106. package/dist/field-comparison/field-comparison.es.js +1 -1
  107. package/dist/field-comparison/styles.css +1 -27
  108. package/dist/field-comparison/styles.css.js +1 -1
  109. package/dist/fieldComparison-CNaAVsGY.js +2 -0
  110. package/dist/{fieldComparison-D7rZ657j.js → fieldComparison-CmRsH7pg.js} +13 -7
  111. package/dist/finalSuccessScreen-2-RZENUP.js +500 -0
  112. package/dist/fiscal-qr/fiscal-qr.es.js +28 -23
  113. package/dist/fiscal-qr/styles.css +1 -82
  114. package/dist/fiscal-qr/styles.css.js +1 -1
  115. package/dist/{flipAnimation-BGXItWj0.js → flipAnimation-DI5Gw5Ks.js} +643 -355
  116. package/dist/flow/flow.es.js +41 -24
  117. package/dist/flow/shell/styles.css +1 -401
  118. package/dist/flow/shell/styles.css.js +1 -1
  119. package/dist/flow/styles.css +1 -5702
  120. package/dist/{formField-Cf25rdkJ.js → formField-2VLEaztk.js} +2 -2
  121. package/dist/{fr-CA-DULWz0cf.js → fr-CA-BJlED1CS.js} +33 -6
  122. package/dist/{fr-BwDYP0LQ.js → fr-yKqRZbZ6.js} +33 -6
  123. package/dist/front-horizontal-hint-DEHmtcdg.js +379 -0
  124. package/dist/{front-vertical-hint-qXMVdLri.js → front-vertical-hint-Cb1NO-xT.js} +71 -72
  125. package/dist/geolocation/geolocation.es.js +26 -459
  126. package/dist/geolocation/styles.css +1 -165
  127. package/dist/geolocation/styles.css.js +1 -1
  128. package/dist/government-validation/government-validation.es.js +15 -13
  129. package/dist/government-validation/styles.css +1 -4
  130. package/dist/government-validation/styles.css.js +1 -1
  131. package/dist/{he-BZVxeCzZ.js → he-Dr88a3D5.js} +33 -6
  132. package/dist/{hi-Bp8GM653.js → hi-ac5Rf53r.js} +33 -6
  133. package/dist/{hmn-Bj6F8ToZ.js → hmn-bwkkfetx.js} +33 -6
  134. package/dist/{homeScreen-eYD0Zo8Y.js → homeScreen-BezGnGit.js} +10 -11
  135. package/dist/{hr-uz9DXHS8.js → hr-CHcVE152.js} +33 -6
  136. package/dist/{ht-BGd4L5Je.js → ht-IPMniPpi.js} +33 -6
  137. package/dist/{hu-BvTVDhN5.js → hu-CG5ZOzy2.js} +33 -6
  138. package/dist/icons-CSP6Tne6.js +535 -0
  139. package/dist/id/id.es.js +315 -1174
  140. package/dist/id/styles.css +1 -1691
  141. package/dist/id/styles.css.js +1 -1
  142. package/dist/{id-D0EG-hya.js → id-DYinFjLQ.js} +33 -6
  143. package/dist/id-back-of-card-C7Au2tqk.js +71 -0
  144. package/dist/id-back-of-card-vertical-CtQBFw8w.js +74 -0
  145. package/dist/id-front-of-card-BmHL_keG.js +305 -0
  146. package/dist/id-front-of-card-vertical-DkNUn2Vx.js +253 -0
  147. package/dist/id-ocr/styles.css +1 -55
  148. package/dist/id-ocr/styles.css.js +1 -1
  149. package/dist/id-selfie-flow/id-selfie-flow.es.js +12 -9
  150. package/dist/id-selfie-flow/styles.css +1 -780
  151. package/dist/id-verification/id-verification.es.js +6 -5
  152. package/dist/{idOcr-66OmIUeD.js → idOcr-DN1gTAJ7.js} +12 -11
  153. package/dist/identity-reuse/identity-reuse.es.js +167 -139
  154. package/dist/identity-reuse/styles.css +1 -216
  155. package/dist/incode-logo-DIujvtwd.js +341 -0
  156. package/dist/{incodeComponent--XJZ07QN.js → incodeComponent-WXvcRKkM.js} +147 -269
  157. package/dist/incodeModule-DsWO19Nv.js +68 -0
  158. package/dist/index.es.js +4 -3
  159. package/dist/{inputComposed-ByIWAPSr.js → inputComposed-D-WVQEpg.js} +2 -2
  160. package/dist/inputComposed-Dca8NJxF.js +1 -0
  161. package/dist/{it-DWY7_sYa.js → it-pBVnbw9L.js} +34 -7
  162. package/dist/{ja-z6DqLSKX.js → ja-BtG6-Vh2.js} +33 -6
  163. package/dist/{ja-JP-DvHAizEm.js → ja-JP-CuWo_Mj3.js} +33 -6
  164. package/dist/{jv-CkRJjzon.js → jv-BT_G8rCL.js} +33 -6
  165. package/dist/{ka-BvgWMiTW.js → ka-WxIHXEYK.js} +33 -6
  166. package/dist/{kk-BAYGOXZ1.js → kk-qwv1f2i0.js} +33 -6
  167. package/dist/{km-Bn1-UMaR.js → km-CMxgTPm2.js} +40 -13
  168. package/dist/{ko-CtAqOkND.js → ko-ByRDnTNU.js} +33 -6
  169. package/dist/{ko-KP-kVzak00f.js → ko-KP-DT8OH4nm.js} +33 -6
  170. package/dist/{ky-Cegtfua2.js → ky-DrRlDMWB.js} +33 -6
  171. package/dist/{lo-DtW4luOG.js → lo-CazQUHLa.js} +33 -6
  172. package/dist/{lt-CnaDc_UD.js → lt-CBMtCNcX.js} +33 -6
  173. package/dist/{lv-SBquFvpr.js → lv-QLEUT4Fk.js} +33 -6
  174. package/dist/{mandatoryConsent-BMvNiuiY.js → mandatoryConsent-B8JxEysm.js} +8 -6
  175. package/dist/{manualCaptureButton-6HOiu1ud.js → manualCaptureButton-CortdhZS.js} +5 -5
  176. package/dist/{manualCaptureButton-CI-lIiuA.js → manualCaptureButton-XLjthVmp.js} +43 -34
  177. package/dist/{mk-Bym8Rbmu.js → mk-DDDwwQ8b.js} +33 -6
  178. package/dist/{mn-C-EiXg08.js → mn-CKxduUYN.js} +33 -6
  179. package/dist/{ms-k_GCoKmE.js → ms-CFER5NeU.js} +33 -6
  180. package/dist/{my-v5GqdpqS.js → my-mmwQAfjf.js} +33 -6
  181. package/dist/{nb-NO-Ca1WyJtF.js → nb-NO-CGgKs8rj.js} +33 -6
  182. package/dist/{ne-DZ1xJQOA.js → ne-BJqy-qcj.js} +33 -6
  183. package/dist/{nl-DsWJVGHj.js → nl-DJr6e9c-.js} +33 -6
  184. package/dist/{optionAccessibleLabel-CkP9Zu6D.js → optionAccessibleLabel-Da2eL5BH.js} +5 -5
  185. package/dist/{otpInput-CmcE2rnQ.js → otpInput-DhyZLO7E.js} +6 -6
  186. package/dist/page-BksTT2IT.js +299 -0
  187. package/dist/{passport-horizontal-hint-6Ghn2EEN.js → passport-horizontal-hint-DgNc6F0-.js} +48 -49
  188. package/dist/{passport-vertical-hint-UPFFpdf4.js → passport-vertical-hint-B-toVsfT.js} +42 -42
  189. package/dist/{passwordInputComposed-DkHtXfpN.js → passwordInputComposed-DUuchiG5.js} +4 -4
  190. package/dist/{pdf-CFubyG0B.js → pdf-BKHLi5Ac.js} +2 -2
  191. package/dist/pdf.worker.min-BM1b2w9V.js +4 -0
  192. package/dist/pdfViewer-DI6ftHlp.js +2 -0
  193. package/dist/pdfViewer-jx6A8s9-.js +154 -0
  194. package/dist/{permissions-D85sVpRH.js → permissions-CSwqOb8W.js} +41 -14
  195. package/dist/phone/phone.es.js +9 -8
  196. package/dist/phone/styles.css +1 -10
  197. package/dist/phone/styles.css.js +1 -1
  198. package/dist/phoneInputComposed-B-rmar65.js +249 -0
  199. package/dist/{pl-B32zvfat.js → pl-eSIxcu-k.js} +33 -6
  200. package/dist/policyUrls-B3M8nLRh.js +7 -0
  201. package/dist/{processing-DB6ZtByy.js → processing-DXSGB91D.js} +1 -1
  202. package/dist/progressBar-CFcaF74Q.js +27 -0
  203. package/dist/{pt-BR-CZSBmrhf.js → pt-BR-CJA5ZG6e.js} +33 -6
  204. package/dist/{pt-CI9A94gT.js → pt-CmJV-wZ-.js} +33 -6
  205. package/dist/{pt-PT-dD8X7Uk-.js → pt-PT-BFdqErGN.js} +33 -6
  206. package/dist/{spacer-Csi6kZZI.js → purify.es-0fCPkEV1.js} +2 -740
  207. package/dist/qe-signature/qe-signature.es.js +3 -3
  208. package/dist/radioGroupComposed-BDYikM_v.js +1 -0
  209. package/dist/{radioGroupComposed-BKEEwEPO.js → radioGroupComposed-CP8O7fH0.js} +2 -2
  210. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +116 -13
  211. package/dist/redirect-to-mobile/styles.css +1 -323
  212. package/dist/redirect-to-mobile/styles.css.js +1 -1
  213. package/dist/reload-icon-elAFo9-k.js +70 -0
  214. package/dist/{resendTimer-QICiM2K0.js → resendTimer-B57abKjj.js} +1 -1
  215. package/dist/{richText-2CpStx6w.js → richText-aCnLd3j2.js} +2 -2
  216. package/dist/{ro-9pJ4k0ri.js → ro-CWG17Pwq.js} +33 -6
  217. package/dist/{ru-RU-Bbq_NDQg.js → ru-RU-B92HlMCp.js} +33 -6
  218. package/dist/{ru-DU8F6ner.js → ru-ax21b71G.js} +33 -6
  219. package/dist/sanitizeSvg-BC-qLUgS.js +35 -0
  220. package/dist/selfie/selfie.es.js +9 -184
  221. package/dist/selfie/styles.css +1 -501
  222. package/dist/selfie/styles.css.js +1 -1
  223. package/dist/signature/signature.es.js +8 -7
  224. package/dist/signature/styles.css +1 -116
  225. package/dist/signature/styles.css.js +1 -1
  226. package/dist/{sk-COjINm80.js → sk-Ds3au8Jk.js} +35 -8
  227. package/dist/{sl-BHEN5hgb.js → sl-B6IDJen8.js} +33 -6
  228. package/dist/{smsTabContent-6ehe5Tx-.js → smsTabContent-BlG83kTA.js} +6 -7
  229. package/dist/{so-BK_1PgA0.js → so-YhVExrIs.js} +33 -6
  230. package/dist/spacer-CkjGrKvv.js +741 -0
  231. package/dist/{spinner-C9D0Usrj.js → spinner-ceW7fzMV.js} +2 -2
  232. package/dist/{sr-CXHt_PCR.js → sr-DHyxTTRS.js} +33 -6
  233. package/dist/{sr-Latn-BBXL4zhk.js → sr-Latn-DVXk3-Ar.js} +40 -13
  234. package/dist/{sr-YU-D3DxWT8Q.js → sr-YU-A98YyASK.js} +33 -6
  235. package/dist/{statusPage-BbOa8Zsp.js → statusPage-DcunZz7q.js} +3 -3
  236. package/dist/{sv-SE-B6_0mJU7.js → sv-SE-BKSmMaSz.js} +33 -6
  237. package/dist/{sw-BUZuOFDH.js → sw-BlrxyPqO.js} +33 -6
  238. package/dist/{th-DZN2Iv8L.js → th-Bwohp3kt.js} +33 -6
  239. package/dist/{th-TH-B5S1TAOp.js → th-TH-CJpVz2u5.js} +33 -6
  240. package/dist/themes/dark.css +1 -1537
  241. package/dist/themes/light.css +1 -1413
  242. package/dist/{tl-DO_ExzG4.js → tl-D-896paK.js} +33 -6
  243. package/dist/{tl-PH-CbqgynTp.js → tl-PH-CpeFjacJ.js} +33 -6
  244. package/dist/{tr-DuzhV6aC.js → tr-UpF9aXXo.js} +34 -7
  245. package/dist/transitionSpinner-t_urdfwD.js +76 -0
  246. package/dist/{tutorial-CGHCyHq1.js → tutorial-Hoic1tQU.js} +14 -18
  247. package/dist/types/ae-signature.d.ts +27 -5
  248. package/dist/types/antifraud.d.ts +27 -5
  249. package/dist/types/authentication.d.ts +27 -5
  250. package/dist/types/certificate-issuance.d.ts +27 -5
  251. package/dist/types/consent.d.ts +27 -3
  252. package/dist/types/cross-document-data-match.d.ts +32 -2
  253. package/dist/types/curp-validation.d.ts +27 -5
  254. package/dist/types/document-capture.d.ts +32 -2
  255. package/dist/types/dynamic-forms.d.ts +27 -5
  256. package/dist/types/ekyb.d.ts +32 -2
  257. package/dist/types/ekyc.d.ts +32 -2
  258. package/dist/types/electronic-signature.d.ts +27 -5
  259. package/dist/types/email.d.ts +27 -3
  260. package/dist/types/extensibility.d.ts +135 -27
  261. package/dist/types/face-match.d.ts +32 -2
  262. package/dist/types/field-comparison.d.ts +32 -2
  263. package/dist/types/fiscal-qr.d.ts +27 -3
  264. package/dist/types/flow.d.ts +27 -3
  265. package/dist/types/geolocation.d.ts +27 -3
  266. package/dist/types/government-validation.d.ts +32 -2
  267. package/dist/types/id-selfie-flow.d.ts +27 -14
  268. package/dist/types/id-verification.d.ts +27 -5
  269. package/dist/types/id.d.ts +27 -3
  270. package/dist/types/identity-reuse.d.ts +27 -5
  271. package/dist/types/index.d.ts +52 -1
  272. package/dist/types/phone.d.ts +27 -3
  273. package/dist/types/qe-signature.d.ts +27 -5
  274. package/dist/types/selfie.d.ts +27 -3
  275. package/dist/types/signature.d.ts +27 -5
  276. package/dist/types/video-selfie.d.ts +5 -2
  277. package/dist/types/watchlist.d.ts +27 -5
  278. package/dist/types/workflow.d.ts +50 -4
  279. package/dist/{typography-Ck7V6DNZ.js → typography-CjBuzXWX.js} +1 -1
  280. package/dist/{uiConfig-Dd7jp1PI.js → uiConfig-Bh5WEbvy.js} +256 -874
  281. package/dist/{uk-BLrKoj8p.js → uk-DsTY-qEZ.js} +33 -6
  282. package/dist/{uk-UA-D6AgqKAE.js → uk-UA-BsILxTGz.js} +33 -6
  283. package/dist/{ur-uciedoGK.js → ur-n9ZinGDJ.js} +33 -6
  284. package/dist/useCaptureHelpButton-f7JWgp_k.js +86 -0
  285. package/dist/useCoverMedia-VLw3OYN_.js +149 -0
  286. package/dist/{uz-D1RcQJml.js → uz-C-oPc-JB.js} +33 -6
  287. package/dist/{verificationResult-CMeZfcp-.js → verificationResult-M2YRY8Gb.js} +6 -6
  288. package/dist/{vi-ftDWx05b.js → vi-CwwSd-oQ.js} +33 -6
  289. package/dist/video-selfie/styles.css +1 -864
  290. package/dist/video-selfie/styles.css.js +1 -1
  291. package/dist/video-selfie/video-selfie.es.js +15 -12
  292. package/dist/watchlist/watchlist.es.js +6 -6
  293. package/dist/watchlist-for-business/styles.css +1 -17
  294. package/dist/watchlist-for-business/styles.css.js +1 -1
  295. package/dist/{watchlistForBusiness-CAVtOlvf.js → watchlistForBusiness-CAUTDAJh.js} +265 -8
  296. package/dist/{resolveApiKey-uVJm2km3.js → withEndScreenTexts-VQlYb0bU.js} +53 -25
  297. package/dist/workflow/styles.css +1 -5116
  298. package/dist/workflow/workflow.es.js +83 -28
  299. package/dist/{zh-CN-C6BX8R6-.js → zh-CN-Dc3X6PNO.js} +35 -8
  300. package/dist/{zh-CJ974_0X.js → zh-Dgdyqejo.js} +33 -6
  301. package/dist/{zh-HANT-CbCj1ENS.js → zh-HANT-BDp9XkY7.js} +33 -6
  302. package/dist/{zh-TW-DGxz1fli.js → zh-TW-QBmOmVhc.js} +33 -6
  303. package/package.json +8 -6
  304. package/dist/back-horizontal-hint-UQ7Nof6k.js +0 -137
  305. package/dist/back-vertical-hint-Crc8ybfk.js +0 -128
  306. package/dist/cameraOverlay-Dp8micQ1.js +0 -2
  307. package/dist/cameraOverlayHeader-BMfNitmC.js +0 -43
  308. package/dist/captureFooter-xMZdYH2O.js +0 -67
  309. package/dist/connectionError-BhxGYSwy.js +0 -45
  310. package/dist/countries-5e8kwG_m.js +0 -8560
  311. package/dist/dateInputComposed-DM6MXdpn.js +0 -1
  312. package/dist/denied-PJnw8fbL.js +0 -2191
  313. package/dist/documentCapture-Bcw3g1Q1.js +0 -2
  314. package/dist/dropdownComposed-C2bmup-w.js +0 -1
  315. package/dist/ekybModule-DHJWniii.js +0 -2
  316. package/dist/ekycModule-5d4qgrAk.js +0 -2
  317. package/dist/faceMatch-B7ayVA3N.js +0 -2
  318. package/dist/faceMatch-Tj39bhkm.js +0 -334
  319. package/dist/fieldComparison-75FGbygj.js +0 -2
  320. package/dist/finalSuccessScreen-ikiIjPhC.js +0 -499
  321. package/dist/front-horizontal-hint-mgovnJf3.js +0 -380
  322. package/dist/icons-DO-rf5yd.js +0 -533
  323. package/dist/id-back-of-card-B6EcmiCs.js +0 -83
  324. package/dist/id-back-of-card-vertical-B3FXhPpj.js +0 -88
  325. package/dist/id-front-of-card-V_BlLaZr.js +0 -308
  326. package/dist/id-front-of-card-vertical-CuZjL8kc.js +0 -278
  327. package/dist/incode-logo-BzJOZr3f.js +0 -4
  328. package/dist/incodeModule-n_Am6zwM.js +0 -31
  329. package/dist/inputComposed-B33LMERA.js +0 -1
  330. package/dist/modal-DNfrzKC7.js +0 -140
  331. package/dist/modal.hooks-B0Wrc9s2.js +0 -201
  332. package/dist/pdfViewer-CygtdQPU.js +0 -149
  333. package/dist/pdfViewer-Yf7ZKXLz.js +0 -2
  334. package/dist/phoneInputComposed-7i6GGW1B.js +0 -3751
  335. package/dist/radioGroupComposed-Bm3iEn-6.js +0 -1
  336. package/dist/tabs-CW12_glt.js +0 -104
  337. /package/dist/{aligndevicelottie-B12hbVhG.js → aligndevicelottie-BARt-rhe.js} +0 -0
  338. /package/dist/{back-tutorial-XdmQ0Wml.js → back-tutorial-CZrMmj1_.js} +0 -0
  339. /package/dist/{backdevicelottie-m_DOD8xE.js → backdevicelottie-CIM3ekd8.js} +0 -0
  340. /package/dist/{blurdevicelottie-DQo_hTMD.js → blurdevicelottie-BRyXfLB6.js} +0 -0
  341. /package/dist/{browser-ponyfill-ZkeBm4ji.js → browser-ponyfill-DT11p-Ob.js} +0 -0
  342. /package/dist/{defineProperty-BojnCa44.js → defineProperty-CjeJoXkx.js} +0 -0
  343. /package/dist/{flip-animation-VicedlT5.js → flip-animation-BU5LNKYx.js} +0 -0
  344. /package/dist/{frontdevicelottie-CyIerlMv.js → frontdevicelottie-arpyu_Fz.js} +0 -0
  345. /package/dist/{glaredevicelottie-QM2C6Ivp.js → glaredevicelottie-TwTFxe7h.js} +0 -0
  346. /package/dist/{id-laser-h-B0-iXcvl.js → id-laser-h-Dr-hBxrq.js} +0 -0
  347. /package/dist/{id-laser-v-Bqh6vimi.js → id-laser-v-D_r0QNY8.js} +0 -0
  348. /package/dist/{id-tutorial-IhmAzrIF.js → id-tutorial-DM9Pkfs-.js} +0 -0
  349. /package/dist/{lottie_light-CzZ3CHBk.js → lottie_light-aMg9Q9iO.js} +0 -0
  350. /package/dist/{numberedStep-C8e_uPaz.js → numberedStep-CvbL3ht2.js} +0 -0
  351. /package/dist/{passport-tutorial-61vlloJS.js → passport-tutorial-CKZZuDf_.js} +0 -0
  352. /package/dist/{registerIncodeElement-CbZczi4S.js → registerIncodeElement-D_cn4dSI.js} +0 -0
  353. /package/dist/{selfieTutorial-BRQ2QNxQ.js → selfieTutorial-Dz6lDFMn.js} +0 -0
  354. /package/dist/{useModuleLoader-DpcbSKBH.js → useModuleLoader-BdIp6TNQ.js} +0 -0
@@ -2,6 +2,7 @@ import { FC } from 'preact/compat';
2
2
  import { FunctionComponent } from 'preact';
3
3
  import { IdentityReuseConfig } from '@incodetech/core/identity-reuse';
4
4
  import { IdentityReuseManager } from '@incodetech/core/identity-reuse';
5
+ import { SessionExpiredError } from '@incodetech/core/session';
5
6
  import { SVGProps } from 'preact/compat';
6
7
 
7
8
  /**
@@ -76,6 +77,15 @@ declare type IncodeFinishMeta = {
76
77
  * replace the SDK screen. Not a guarantee.
77
78
  */
78
79
  sdkOwnsTerminalScreen?: boolean;
80
+ /**
81
+ * True when the workflow is OAuth2-secured. The OAuth authorization server
82
+ * owns the redirect back to the client's `redirect_uri`, so the host must not
83
+ * navigate to `redirectionUrl` itself. A host redirect drops the `error` and
84
+ * `state` parameters, and the client reads a failed authentication as a
85
+ * success. The workflow always sets it on finish; treat a missing value as
86
+ * unknown.
87
+ */
88
+ oauth2Secured?: boolean;
79
89
  };
80
90
 
81
91
  declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
@@ -89,7 +99,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
89
99
  */
90
100
  config?: TConfigInput;
91
101
  /**
92
- * Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
102
+ * Optional pre-built manager. The host owns its ordinary lifecycle.
103
+ * Session expiry always stops it to release capture resources, even when
104
+ * supplied by the host. Create a new manager for a replacement session;
105
+ * do not reuse the stopped instance in another mounted module.
93
106
  */
94
107
  manager?: TManager;
95
108
  /**
@@ -109,8 +122,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
109
122
  * @param moduleErrorCode - Optional machine-readable error code (e.g. a
110
123
  * `FaceErrorCode` such as `NONEXISTENT_CUSTOMER`). Lets an orchestrator
111
124
  * branch on the specific terminal error without parsing the message string.
125
+ * @param details - Structured session-expiry error with statusCode 401 and
126
+ * code/type SESSION_EXPIRED. The first three arguments stay compatible.
112
127
  */
113
- onError?: (error: string | undefined, errorCode?: number, moduleErrorCode?: string) => void;
128
+ onError?: ModuleErrorHandler;
114
129
  };
115
130
 
116
131
  /**
@@ -125,6 +140,13 @@ declare type InstanceOverrides = {
125
140
  assets?: AssetOverrides;
126
141
  animations?: AnimationOverrides;
127
142
  spinner?: SpinnerPresentation;
143
+ /**
144
+ * `true` hides the unsupported-browser screen for this element; `false`
145
+ * forces it on. Wins over `setup({ uiConfig })`. When both are omitted, the
146
+ * session Flow's setting applies. `<incode-flow>` and `<incode-workflow>`
147
+ * ignore it and always use their server setting.
148
+ */
149
+ disableUnsupportedBrowserScreen?: boolean;
128
150
  };
129
151
 
130
152
  declare type LottieAnimationData = {
@@ -136,6 +158,8 @@ declare type LottieAnimationData = {
136
158
  h: number;
137
159
  };
138
160
 
161
+ declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
162
+
139
163
  /**
140
164
  * Host-facing loader presentation, settable globally via
141
165
  * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
@@ -167,8 +191,6 @@ export { }
167
191
 
168
192
  declare global {
169
193
  interface HTMLElementTagNameMap {
170
- 'incode-identity-reuse': HTMLElement & IncodeModuleProps<IdentityReuseConfig,
171
- void,
172
- IdentityReuseManagerType>;
194
+ 'incode-identity-reuse': HTMLElement & import('preact').ComponentProps<typeof IdentityReuse>;
173
195
  }
174
196
  }
@@ -47,6 +47,9 @@ export declare type AssetOverride = string | {
47
47
 
48
48
  export declare type AssetOverrides = Partial<Record<AssetKey, AssetOverride>>;
49
49
 
50
+ /** Corner the close button renders in. Defaults to `topRight`. */
51
+ export declare type CloseButtonPosition = 'topRight' | 'topLeft';
52
+
50
53
  export declare function createI18n(options?: I18nOptions): TranslationInstance;
51
54
 
52
55
  export { DEFAULT_WASM_VERSION }
@@ -68,6 +71,13 @@ declare type FlowSetup = false | {
68
71
  mergeConfig?: boolean;
69
72
  };
70
73
 
74
+ /**
75
+ * Where the capture help button renders. `topLeft`/`topRight` float outside
76
+ * the footer — the footer's own box only covers the bottom of the screen, so
77
+ * a top offset inside it would land mid-screen, not near the header.
78
+ */
79
+ export declare type HelpButtonPosition = 'bottomRight' | 'topRight' | 'topLeft';
80
+
71
81
  export declare type I18nOptions = {
72
82
  lang?: string;
73
83
  loadPath?: string;
@@ -86,6 +96,16 @@ declare type LottieAnimationData = {
86
96
  h: number;
87
97
  };
88
98
 
99
+ /**
100
+ * How the realtime feedback message (the live capture cues — not aligned, too
101
+ * blurry, glare, show front, show back) presents itself.
102
+ *
103
+ * - `standard` — the full message: Lottie animation beside the copy.
104
+ * - `minimal` — compact: no animation, copy centred. More legible on small
105
+ * screens, where the animation crowds the text out of the frame.
106
+ */
107
+ export declare type RealtimeFeedbackMessageUIFlavor = 'standard' | 'minimal';
108
+
89
109
  export declare function setI18nInstance(instance: TranslationInstance): void;
90
110
 
91
111
  /**
@@ -96,7 +116,7 @@ export declare function setI18nInstance(instance: TranslationInstance): void;
96
116
  */
97
117
  export declare function setUiConfig(next: UiConfig): void;
98
118
 
99
- export declare function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, hostingApp, fingerprint, devMode, featureManagement, environment, i18n, uiConfig, flow, theme, }: SetupOptions): Promise<void>;
119
+ export declare function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, hostingApp, fingerprint, devMode, deviceWallet, featureManagement, environment, i18n, uiConfig, flow, theme, }: SetupOptions): Promise<void>;
100
120
 
101
121
  declare type SetupOptions = {
102
122
  apiURL: string;
@@ -126,6 +146,14 @@ declare type SetupOptions = {
126
146
  * `SetupOptions.devMode` docs. WASM logging is controlled via `wasm.showLogs`.
127
147
  */
128
148
  devMode?: boolean;
149
+ /**
150
+ * Device wallet (mDL) options. Forwarded to core `setup()` — see the core
151
+ * `SetupOptions.deviceWallet` docs. Pass `{ googleSignedRequests: false }`
152
+ * to always use unsigned Google Wallet requests (testing).
153
+ */
154
+ deviceWallet?: {
155
+ googleSignedRequests?: boolean;
156
+ };
129
157
  /**
130
158
  * Enables feature management. Forwarded to core `setup()` — see the core
131
159
  * `SetupOptions.featureManagement` docs for the full behavior (identity
@@ -236,6 +264,29 @@ export declare type UiConfig = {
236
264
  * {@link SpinnerPresentation}.
237
265
  */
238
266
  spinner?: SpinnerPresentation;
267
+ /** Where the capture help button renders. Defaults to `'bottomRight'`. */
268
+ helpButtonPosition?: HelpButtonPosition;
269
+ /** Shows an X close button that cancels the current module. Off by default. */
270
+ showCloseButton?: boolean;
271
+ /**
272
+ * Close button corner when `showCloseButton` is true. Defaults to
273
+ * `'topRight'`. Can't match `helpButtonPosition` — on a collision the help
274
+ * button falls back to its own default and a dev warning is logged.
275
+ */
276
+ closeButtonPosition?: CloseButtonPosition;
277
+ /**
278
+ * How the ID-capture realtime feedback message (live cues) renders.
279
+ * Defaults to `'standard'` — see {@link RealtimeFeedbackMessageUIFlavor}.
280
+ */
281
+ realtimeFeedbackMessageUIFlavor?: RealtimeFeedbackMessageUIFlavor;
282
+ /**
283
+ * `true` hides the unsupported-browser screen in standalone modules; `false`
284
+ * forces it on. A per-element `config.disableUnsupportedBrowserScreen` wins
285
+ * over this. When both are omitted, the session Flow's setting applies.
286
+ * `<incode-flow>` and `<incode-workflow>` ignore it and always use their
287
+ * server setting.
288
+ */
289
+ disableUnsupportedBrowserScreen?: boolean;
239
290
  };
240
291
 
241
292
  export { }
@@ -3,6 +3,7 @@ import { FC } from 'preact/compat';
3
3
  import { FunctionComponent } from 'preact';
4
4
  import { PhoneConfig } from '@incodetech/core/phone';
5
5
  import { PhoneManager } from '@incodetech/core/phone';
6
+ import { SessionExpiredError } from '@incodetech/core/session';
6
7
  import { SVGProps } from 'preact/compat';
7
8
 
8
9
  /**
@@ -73,6 +74,15 @@ declare type IncodeFinishMeta = {
73
74
  * replace the SDK screen. Not a guarantee.
74
75
  */
75
76
  sdkOwnsTerminalScreen?: boolean;
77
+ /**
78
+ * True when the workflow is OAuth2-secured. The OAuth authorization server
79
+ * owns the redirect back to the client's `redirect_uri`, so the host must not
80
+ * navigate to `redirectionUrl` itself. A host redirect drops the `error` and
81
+ * `state` parameters, and the client reads a failed authentication as a
82
+ * success. The workflow always sets it on finish; treat a missing value as
83
+ * unknown.
84
+ */
85
+ oauth2Secured?: boolean;
76
86
  };
77
87
 
78
88
  declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
@@ -86,7 +96,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
86
96
  */
87
97
  config?: TConfigInput;
88
98
  /**
89
- * Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
99
+ * Optional pre-built manager. The host owns its ordinary lifecycle.
100
+ * Session expiry always stops it to release capture resources, even when
101
+ * supplied by the host. Create a new manager for a replacement session;
102
+ * do not reuse the stopped instance in another mounted module.
90
103
  */
91
104
  manager?: TManager;
92
105
  /**
@@ -106,8 +119,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
106
119
  * @param moduleErrorCode - Optional machine-readable error code (e.g. a
107
120
  * `FaceErrorCode` such as `NONEXISTENT_CUSTOMER`). Lets an orchestrator
108
121
  * branch on the specific terminal error without parsing the message string.
122
+ * @param details - Structured session-expiry error with statusCode 401 and
123
+ * code/type SESSION_EXPIRED. The first three arguments stay compatible.
109
124
  */
110
- onError?: (error: string | undefined, errorCode?: number, moduleErrorCode?: string) => void;
125
+ onError?: ModuleErrorHandler;
111
126
  };
112
127
 
113
128
  /**
@@ -122,6 +137,13 @@ declare type InstanceOverrides = {
122
137
  assets?: AssetOverrides;
123
138
  animations?: AnimationOverrides;
124
139
  spinner?: SpinnerPresentation;
140
+ /**
141
+ * `true` hides the unsupported-browser screen for this element; `false`
142
+ * forces it on. Wins over `setup({ uiConfig })`. When both are omitted, the
143
+ * session Flow's setting applies. `<incode-flow>` and `<incode-workflow>`
144
+ * ignore it and always use their server setting.
145
+ */
146
+ disableUnsupportedBrowserScreen?: boolean;
125
147
  };
126
148
 
127
149
  declare type LottieAnimationData = {
@@ -133,6 +155,8 @@ declare type LottieAnimationData = {
133
155
  h: number;
134
156
  };
135
157
 
158
+ declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
159
+
136
160
  export declare const Phone: FC<Omit<PhoneProps, "config"> & {
137
161
  config?: (Omit<unknown, never> & DeepPartial<Pick<unknown, never>>) | undefined;
138
162
  }>;
@@ -173,6 +197,6 @@ export { }
173
197
 
174
198
  declare global {
175
199
  interface HTMLElementTagNameMap {
176
- 'incode-phone': HTMLElement & IncodeModuleProps<PhoneConfig, void, PhoneManager>;
200
+ 'incode-phone': HTMLElement & import('preact').ComponentProps<typeof Phone>;
177
201
  }
178
202
  }
@@ -3,6 +3,7 @@ import { FC } from 'preact/compat';
3
3
  import { FunctionComponent } from 'preact';
4
4
  import { QeSignatureConfig } from '@incodetech/core/qe-signature';
5
5
  import { QeSignatureManager } from '@incodetech/core/qe-signature';
6
+ import { SessionExpiredError } from '@incodetech/core/session';
6
7
  import { SVGProps } from 'preact/compat';
7
8
 
8
9
  /**
@@ -73,6 +74,15 @@ declare type IncodeFinishMeta = {
73
74
  * replace the SDK screen. Not a guarantee.
74
75
  */
75
76
  sdkOwnsTerminalScreen?: boolean;
77
+ /**
78
+ * True when the workflow is OAuth2-secured. The OAuth authorization server
79
+ * owns the redirect back to the client's `redirect_uri`, so the host must not
80
+ * navigate to `redirectionUrl` itself. A host redirect drops the `error` and
81
+ * `state` parameters, and the client reads a failed authentication as a
82
+ * success. The workflow always sets it on finish; treat a missing value as
83
+ * unknown.
84
+ */
85
+ oauth2Secured?: boolean;
76
86
  };
77
87
 
78
88
  declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
@@ -86,7 +96,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
86
96
  */
87
97
  config?: TConfigInput;
88
98
  /**
89
- * Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
99
+ * Optional pre-built manager. The host owns its ordinary lifecycle.
100
+ * Session expiry always stops it to release capture resources, even when
101
+ * supplied by the host. Create a new manager for a replacement session;
102
+ * do not reuse the stopped instance in another mounted module.
90
103
  */
91
104
  manager?: TManager;
92
105
  /**
@@ -106,8 +119,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
106
119
  * @param moduleErrorCode - Optional machine-readable error code (e.g. a
107
120
  * `FaceErrorCode` such as `NONEXISTENT_CUSTOMER`). Lets an orchestrator
108
121
  * branch on the specific terminal error without parsing the message string.
122
+ * @param details - Structured session-expiry error with statusCode 401 and
123
+ * code/type SESSION_EXPIRED. The first three arguments stay compatible.
109
124
  */
110
- onError?: (error: string | undefined, errorCode?: number, moduleErrorCode?: string) => void;
125
+ onError?: ModuleErrorHandler;
111
126
  };
112
127
 
113
128
  /**
@@ -122,6 +137,13 @@ declare type InstanceOverrides = {
122
137
  assets?: AssetOverrides;
123
138
  animations?: AnimationOverrides;
124
139
  spinner?: SpinnerPresentation;
140
+ /**
141
+ * `true` hides the unsupported-browser screen for this element; `false`
142
+ * forces it on. Wins over `setup({ uiConfig })`. When both are omitted, the
143
+ * session Flow's setting applies. `<incode-flow>` and `<incode-workflow>`
144
+ * ignore it and always use their server setting.
145
+ */
146
+ disableUnsupportedBrowserScreen?: boolean;
125
147
  };
126
148
 
127
149
  declare type LottieAnimationData = {
@@ -133,6 +155,8 @@ declare type LottieAnimationData = {
133
155
  h: number;
134
156
  };
135
157
 
158
+ declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
159
+
136
160
  export declare const QeSignature: FC<Omit<QeSignatureModuleProps, "config"> & {
137
161
  config?: (Omit<unknown, never> & DeepPartial<Pick<unknown, never>>) | undefined;
138
162
  }>;
@@ -170,8 +194,6 @@ export { }
170
194
 
171
195
  declare global {
172
196
  interface HTMLElementTagNameMap {
173
- 'incode-qe-signature': HTMLElement & IncodeModuleProps<QeSignatureConfig,
174
- void,
175
- QeSignatureManager>;
197
+ 'incode-qe-signature': HTMLElement & import('preact').ComponentProps<typeof QeSignature>;
176
198
  }
177
199
  }
@@ -3,6 +3,7 @@ import { FC } from 'preact/compat';
3
3
  import { FunctionComponent } from 'preact';
4
4
  import { SelfieConfig } from '@incodetech/core/selfie';
5
5
  import { SelfieManager } from '@incodetech/core/selfie';
6
+ import { SessionExpiredError } from '@incodetech/core/session';
6
7
  import { SVGProps } from 'preact/compat';
7
8
 
8
9
  /**
@@ -73,6 +74,15 @@ declare type IncodeFinishMeta = {
73
74
  * replace the SDK screen. Not a guarantee.
74
75
  */
75
76
  sdkOwnsTerminalScreen?: boolean;
77
+ /**
78
+ * True when the workflow is OAuth2-secured. The OAuth authorization server
79
+ * owns the redirect back to the client's `redirect_uri`, so the host must not
80
+ * navigate to `redirectionUrl` itself. A host redirect drops the `error` and
81
+ * `state` parameters, and the client reads a failed authentication as a
82
+ * success. The workflow always sets it on finish; treat a missing value as
83
+ * unknown.
84
+ */
85
+ oauth2Secured?: boolean;
76
86
  };
77
87
 
78
88
  declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
@@ -86,7 +96,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
86
96
  */
87
97
  config?: TConfigInput;
88
98
  /**
89
- * Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
99
+ * Optional pre-built manager. The host owns its ordinary lifecycle.
100
+ * Session expiry always stops it to release capture resources, even when
101
+ * supplied by the host. Create a new manager for a replacement session;
102
+ * do not reuse the stopped instance in another mounted module.
90
103
  */
91
104
  manager?: TManager;
92
105
  /**
@@ -106,8 +119,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
106
119
  * @param moduleErrorCode - Optional machine-readable error code (e.g. a
107
120
  * `FaceErrorCode` such as `NONEXISTENT_CUSTOMER`). Lets an orchestrator
108
121
  * branch on the specific terminal error without parsing the message string.
122
+ * @param details - Structured session-expiry error with statusCode 401 and
123
+ * code/type SESSION_EXPIRED. The first three arguments stay compatible.
109
124
  */
110
- onError?: (error: string | undefined, errorCode?: number, moduleErrorCode?: string) => void;
125
+ onError?: ModuleErrorHandler;
111
126
  };
112
127
 
113
128
  /**
@@ -122,6 +137,13 @@ declare type InstanceOverrides = {
122
137
  assets?: AssetOverrides;
123
138
  animations?: AnimationOverrides;
124
139
  spinner?: SpinnerPresentation;
140
+ /**
141
+ * `true` hides the unsupported-browser screen for this element; `false`
142
+ * forces it on. Wins over `setup({ uiConfig })`. When both are omitted, the
143
+ * session Flow's setting applies. `<incode-flow>` and `<incode-workflow>`
144
+ * ignore it and always use their server setting.
145
+ */
146
+ disableUnsupportedBrowserScreen?: boolean;
125
147
  };
126
148
 
127
149
  declare type LottieAnimationData = {
@@ -133,6 +155,8 @@ declare type LottieAnimationData = {
133
155
  h: number;
134
156
  };
135
157
 
158
+ declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
159
+
136
160
  export declare const Selfie: FC<Omit<SelfieProps, "config"> & {
137
161
  config?: (Omit<unknown, never> & DeepPartial<Pick<unknown, never>>) | undefined;
138
162
  }>;
@@ -170,6 +194,6 @@ export { }
170
194
 
171
195
  declare global {
172
196
  interface HTMLElementTagNameMap {
173
- 'incode-selfie': HTMLElement & IncodeModuleProps<SelfieConfig, void, SelfieManager>;
197
+ 'incode-selfie': HTMLElement & import('preact').ComponentProps<typeof Selfie>;
174
198
  }
175
199
  }
@@ -1,6 +1,7 @@
1
1
  import { DeepPartial } from '@incodetech/core/flow';
2
2
  import { FC } from 'preact/compat';
3
3
  import { FunctionComponent } from 'preact';
4
+ import { SessionExpiredError } from '@incodetech/core/session';
4
5
  import { SignatureConfig } from '@incodetech/core/signature';
5
6
  import { SignatureManager } from '@incodetech/core/signature';
6
7
  import { SVGProps } from 'preact/compat';
@@ -73,6 +74,15 @@ declare type IncodeFinishMeta = {
73
74
  * replace the SDK screen. Not a guarantee.
74
75
  */
75
76
  sdkOwnsTerminalScreen?: boolean;
77
+ /**
78
+ * True when the workflow is OAuth2-secured. The OAuth authorization server
79
+ * owns the redirect back to the client's `redirect_uri`, so the host must not
80
+ * navigate to `redirectionUrl` itself. A host redirect drops the `error` and
81
+ * `state` parameters, and the client reads a failed authentication as a
82
+ * success. The workflow always sets it on finish; treat a missing value as
83
+ * unknown.
84
+ */
85
+ oauth2Secured?: boolean;
76
86
  };
77
87
 
78
88
  declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
@@ -86,7 +96,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
86
96
  */
87
97
  config?: TConfigInput;
88
98
  /**
89
- * Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
99
+ * Optional pre-built manager. The host owns its ordinary lifecycle.
100
+ * Session expiry always stops it to release capture resources, even when
101
+ * supplied by the host. Create a new manager for a replacement session;
102
+ * do not reuse the stopped instance in another mounted module.
90
103
  */
91
104
  manager?: TManager;
92
105
  /**
@@ -106,8 +119,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
106
119
  * @param moduleErrorCode - Optional machine-readable error code (e.g. a
107
120
  * `FaceErrorCode` such as `NONEXISTENT_CUSTOMER`). Lets an orchestrator
108
121
  * branch on the specific terminal error without parsing the message string.
122
+ * @param details - Structured session-expiry error with statusCode 401 and
123
+ * code/type SESSION_EXPIRED. The first three arguments stay compatible.
109
124
  */
110
- onError?: (error: string | undefined, errorCode?: number, moduleErrorCode?: string) => void;
125
+ onError?: ModuleErrorHandler;
111
126
  };
112
127
 
113
128
  /**
@@ -122,6 +137,13 @@ declare type InstanceOverrides = {
122
137
  assets?: AssetOverrides;
123
138
  animations?: AnimationOverrides;
124
139
  spinner?: SpinnerPresentation;
140
+ /**
141
+ * `true` hides the unsupported-browser screen for this element; `false`
142
+ * forces it on. Wins over `setup({ uiConfig })`. When both are omitted, the
143
+ * session Flow's setting applies. `<incode-flow>` and `<incode-workflow>`
144
+ * ignore it and always use their server setting.
145
+ */
146
+ disableUnsupportedBrowserScreen?: boolean;
125
147
  };
126
148
 
127
149
  declare type LottieAnimationData = {
@@ -133,6 +155,8 @@ declare type LottieAnimationData = {
133
155
  h: number;
134
156
  };
135
157
 
158
+ declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
159
+
136
160
  export declare const Signature: FC<Omit<SignatureProps, "config"> & {
137
161
  config?: (Omit<unknown, never> & DeepPartial<Pick<unknown, never>>) | undefined;
138
162
  }>;
@@ -170,8 +194,6 @@ export { }
170
194
 
171
195
  declare global {
172
196
  interface HTMLElementTagNameMap {
173
- 'incode-signature': HTMLElement & IncodeModuleProps<SignatureConfig,
174
- void,
175
- SignatureManager>;
197
+ 'incode-signature': HTMLElement & import('preact').ComponentProps<typeof Signature>;
176
198
  }
177
199
  }
@@ -1,12 +1,15 @@
1
1
  import { DeepPartial } from '@incodetech/core/flow';
2
2
  import { FC } from 'preact/compat';
3
+ import { SessionExpiredError } from '@incodetech/core/session';
3
4
  import { VideoSelfieConfig } from '@incodetech/core/video-selfie';
4
5
 
6
+ declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
7
+
5
8
  export declare const VideoSelfie: FC<Omit<{
6
9
  config?: VideoSelfieConfig | undefined;
7
10
  manager?: unknown;
8
11
  onFinish?: ((result?: void | undefined) => void) | undefined;
9
- onError?: (error: string | undefined, errorCode?: number, moduleErrorCode?: string) => void;
12
+ onError?: ModuleErrorHandler;
10
13
  }, "config"> & {
11
14
  config?: (Omit<VideoSelfieConfig, "validateClosedEyes" | "validateFaceMask" | "validateHeadCover" | "validateLenses" | "speechToTextCheck" | "numberOfTries" | "useAsSelfie" | "showTutorials" | "companyName" | "checkLiveness" | "checkIdScan" | "checkDocumentScan" | "compareIdEnabled" | "compareOcrEnabled" | "compareBackIdEnabled" | "compareBackOcrEnabled" | "checkVoiceConsent" | "voiceConsentQuestions" | "selfieQualityAffectsScore" | "maxWaitingVideoSelfieFile" | "lastSecondsVideoQualityCheck" | "lastSecondsVideoQualityCheckDuration"> & DeepPartial<Pick<VideoSelfieConfig, "validateClosedEyes" | "validateFaceMask" | "validateHeadCover" | "validateLenses" | "speechToTextCheck" | "numberOfTries" | "useAsSelfie" | "showTutorials" | "companyName" | "checkLiveness" | "checkIdScan" | "checkDocumentScan" | "compareIdEnabled" | "compareOcrEnabled" | "compareBackIdEnabled" | "compareBackOcrEnabled" | "checkVoiceConsent" | "voiceConsentQuestions" | "selfieQualityAffectsScore" | "maxWaitingVideoSelfieFile" | "lastSecondsVideoQualityCheck" | "lastSecondsVideoQualityCheckDuration">>) | undefined;
12
15
  }>;
@@ -15,6 +18,6 @@ export { }
15
18
 
16
19
  declare global {
17
20
  interface HTMLElementTagNameMap {
18
- 'incode-video-selfie': HTMLElement & IncodeModuleProps<VideoSelfieConfig>;
21
+ 'incode-video-selfie': HTMLElement & import('preact').ComponentProps<typeof VideoSelfie>;
19
22
  }
20
23
  }
@@ -1,6 +1,7 @@
1
1
  import { DeepPartial } from '@incodetech/core/flow';
2
2
  import { FC } from 'preact/compat';
3
3
  import { FunctionComponent } from 'preact';
4
+ import { SessionExpiredError } from '@incodetech/core/session';
4
5
  import { SVGProps } from 'preact/compat';
5
6
  import { WatchlistConfig } from '@incodetech/core/watchlist';
6
7
  import { WatchlistManager } from '@incodetech/core/watchlist';
@@ -73,6 +74,15 @@ declare type IncodeFinishMeta = {
73
74
  * replace the SDK screen. Not a guarantee.
74
75
  */
75
76
  sdkOwnsTerminalScreen?: boolean;
77
+ /**
78
+ * True when the workflow is OAuth2-secured. The OAuth authorization server
79
+ * owns the redirect back to the client's `redirect_uri`, so the host must not
80
+ * navigate to `redirectionUrl` itself. A host redirect drops the `error` and
81
+ * `state` parameters, and the client reads a failed authentication as a
82
+ * success. The workflow always sets it on finish; treat a missing value as
83
+ * unknown.
84
+ */
85
+ oauth2Secured?: boolean;
76
86
  };
77
87
 
78
88
  declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
@@ -86,7 +96,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
86
96
  */
87
97
  config?: TConfigInput;
88
98
  /**
89
- * Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
99
+ * Optional pre-built manager. The host owns its ordinary lifecycle.
100
+ * Session expiry always stops it to release capture resources, even when
101
+ * supplied by the host. Create a new manager for a replacement session;
102
+ * do not reuse the stopped instance in another mounted module.
90
103
  */
91
104
  manager?: TManager;
92
105
  /**
@@ -106,8 +119,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
106
119
  * @param moduleErrorCode - Optional machine-readable error code (e.g. a
107
120
  * `FaceErrorCode` such as `NONEXISTENT_CUSTOMER`). Lets an orchestrator
108
121
  * branch on the specific terminal error without parsing the message string.
122
+ * @param details - Structured session-expiry error with statusCode 401 and
123
+ * code/type SESSION_EXPIRED. The first three arguments stay compatible.
109
124
  */
110
- onError?: (error: string | undefined, errorCode?: number, moduleErrorCode?: string) => void;
125
+ onError?: ModuleErrorHandler;
111
126
  };
112
127
 
113
128
  /**
@@ -122,6 +137,13 @@ declare type InstanceOverrides = {
122
137
  assets?: AssetOverrides;
123
138
  animations?: AnimationOverrides;
124
139
  spinner?: SpinnerPresentation;
140
+ /**
141
+ * `true` hides the unsupported-browser screen for this element; `false`
142
+ * forces it on. Wins over `setup({ uiConfig })`. When both are omitted, the
143
+ * session Flow's setting applies. `<incode-flow>` and `<incode-workflow>`
144
+ * ignore it and always use their server setting.
145
+ */
146
+ disableUnsupportedBrowserScreen?: boolean;
125
147
  };
126
148
 
127
149
  declare type LottieAnimationData = {
@@ -133,6 +155,8 @@ declare type LottieAnimationData = {
133
155
  h: number;
134
156
  };
135
157
 
158
+ declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
159
+
136
160
  /**
137
161
  * Host-facing loader presentation, settable globally via
138
162
  * `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
@@ -170,8 +194,6 @@ export { }
170
194
 
171
195
  declare global {
172
196
  interface HTMLElementTagNameMap {
173
- 'incode-watchlist': HTMLElement & IncodeModuleProps<WatchlistConfig,
174
- void,
175
- WatchlistManager>;
197
+ 'incode-watchlist': HTMLElement & import('preact').ComponentProps<typeof Watchlist>;
176
198
  }
177
199
  }