@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.
- package/THIRD_PARTY_NOTICES.txt +0 -3
- package/dist/GeolocationPermissionDenied-BFMCy-vh.js +444 -0
- package/dist/ae-signature/ae-signature.es.js +3 -3
- package/dist/{af-ZA-OntsEubt.js → af-ZA-BrjGHv_T.js} +33 -6
- package/dist/ageVerification-DGLniT4Y.js +77 -0
- package/dist/{am-yUcnt3vq.js → am-DE3X3yyA.js} +33 -6
- package/dist/antifraud/antifraud.es.js +3 -3
- package/dist/antifraud/styles.css +0 -1
- package/dist/{ar-AE-BfxiKovT.js → ar-AE-CMTI-_Uo.js} +34 -7
- package/dist/{ar-57Dd-l4I.js → ar-BNacVOWD.js} +34 -7
- package/dist/{ar-EG-BgDjHJBi.js → ar-EG-D9uwNPoU.js} +33 -6
- package/dist/authentication/authentication.es.js +4 -4
- package/dist/{autoFocusTitle-DebebrwQ.js → autoFocusTitle-shYRUp-4.js} +1 -1
- package/dist/{az-dT363k-q.js → az-Wr9zZpTx.js} +33 -6
- package/dist/back-horizontal-hint-BztyPanp.js +134 -0
- package/dist/back-vertical-hint-BSzA4QbJ.js +127 -0
- package/dist/base.css +1 -7230
- package/dist/{baseTutorial-CyVBbj9b.js → baseTutorial-D_Jq0Kz2.js} +13 -24
- package/dist/{bn-CKZ00roT.js → bn-C_dbLk3y.js} +33 -6
- package/dist/{bottomSheet-DpSr7d9-.js → bottomSheet-Cdwz_7C5.js} +2 -2
- package/dist/{bs-BnLdLnmZ.js → bs-C30W6le2.js} +33 -6
- package/dist/{ca-D3PGkuQc.js → ca-5-jdy0XG.js} +33 -6
- package/dist/cameraOverlay-rWy5OHQK.js +2 -0
- package/dist/cameraOverlayHeader-DUwk9XJR.js +83 -0
- package/dist/{cameraView-CoWyMnTT.js → cameraView-DJhoELeE.js} +2 -2
- package/dist/{ceb-R-2VANeF.js → ceb-D91AsHCc.js} +33 -6
- package/dist/certificate-issuance/certificate-issuance.es.js +9 -8
- package/dist/certificate-issuance/styles.css +1 -72
- package/dist/certificate-issuance/styles.css.js +1 -1
- package/dist/check-icon-BpjpKqhJ.js +48 -0
- package/dist/{checkbox-CNc8kQS0.js → checkbox-BCr_W3eL.js} +2 -2
- package/dist/connectionError-D4qOfYzz.js +45 -0
- package/dist/consent/consent.es.js +8 -6
- package/dist/consent/styles.css +1 -129
- package/dist/consent/styles.css.js +1 -1
- package/dist/countryDefinitions-BO9OSKQO.js +555 -0
- package/dist/countryFlag-2Vj85OIZ.js +67 -0
- package/dist/{countrySelector-BlC5_2rW.js → countrySelector-ck-DQ89q.js} +6 -5
- package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
- package/dist/{cs-bm9MEri0.js → cs-C4eEOpdT.js} +33 -6
- package/dist/{cs-CZ-CEidLhWp.js → cs-CZ-DiJ5MEfY.js} +33 -6
- package/dist/curp-validation/curp-validation.es.js +13 -11
- package/dist/curp-validation/styles.css +1 -128
- package/dist/curp-validation/styles.css.js +1 -1
- package/dist/custom-fields/styles.css +1 -21
- package/dist/custom-fields/styles.css.js +1 -1
- package/dist/{customFields-C_iIhQYG.js → customFields-CihI8HLg.js} +10 -9
- package/dist/{customWatchlist-utPTNwCU.js → customWatchlist-avefsmET.js} +6 -6
- package/dist/{da-DK-BuSuFTsg.js → da-DK-C3zlFkKn.js} +33 -6
- package/dist/{dashboardTheme-DdWs3tlN.js → dashboardTheme-CL3jdGes.js} +1 -1
- package/dist/dateInputComposed-9c_0YlmT.js +1 -0
- package/dist/{dateInputComposed-CylyZPCj.js → dateInputComposed-BNmac2I-.js} +4 -4
- package/dist/{de-BCPdribE.js → de-BefcT58V.js} +33 -6
- package/dist/denied-Cs9yuLM4.js +1871 -0
- package/dist/deviceWallet-B0fJl22u.js +66 -0
- package/dist/digitalIdRedirect-BMakPQkG.js +162 -0
- package/dist/digitalIdUpload-D39gUOUa.js +496 -0
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/document-capture/styles.css +1 -378
- package/dist/document-capture/styles.css.js +1 -1
- package/dist/{documentCapture-BrhKPBNZ.js → documentCapture-64bza6r6.js} +127 -180
- package/dist/documentCapture-D_cQ0luo.js +2 -0
- package/dist/{dropdownComposed-B0WxIm-I.js → dropdownComposed-DMsLAeKB.js} +8 -14
- package/dist/dropdownComposed-MlXFSguX.js +1 -0
- package/dist/dynamic-forms/dynamic-forms.es.js +13 -12
- package/dist/dynamic-forms/styles.css +1 -104
- package/dist/dynamic-forms/styles.css.js +1 -1
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekyb/styles.css +1 -113
- package/dist/ekyb/styles.css.js +1 -1
- package/dist/ekybModule-B1gUqxgm.js +2 -0
- package/dist/{ekybModule-BwD2ohHx.js → ekybModule-ChOhP6uM.js} +13 -12
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekyc/styles.css +1 -108
- package/dist/ekyc/styles.css.js +1 -1
- package/dist/{ekycModule-Y9GYfYAt.js → ekycModule-4q3A2JP3.js} +46 -14
- package/dist/ekycModule-DTIkPJjl.js +2 -0
- package/dist/{el-60ThHM2U.js → el-BqLmhuTU.js} +34 -7
- package/dist/{el-GR-D6WIhwC3.js → el-GR-BN31SzAR.js} +33 -6
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/electronic-signature/styles.css +1 -407
- package/dist/electronic-signature/styles.css.js +1 -1
- package/dist/{electronic-signature-Bmn4AOpj.js → electronic-signature-Dhw2cLem.js} +24 -21
- package/dist/email/email.es.js +8 -7
- package/dist/email/styles.css +1 -11
- package/dist/email/styles.css.js +1 -1
- package/dist/{emailInput-DgQXpURU.js → emailInput-yOCErcEc.js} +3 -3
- package/dist/{en-ISV8KwbL.js → en-CJnRQ8fU.js} +33 -6
- package/dist/{en-DG-Crvtj3p2.js → en-DG-Dx4B_KVS.js} +33 -6
- package/dist/{errorContent-XVdZTMAl.js → errorContent-mqhVNRSO.js} +5 -5
- package/dist/{es-419-pXqNpSti.js → es-419-Dl-olR1G.js} +33 -6
- package/dist/{es-1QCV_aoe.js → es-BZmJSsux.js} +33 -6
- package/dist/{es-ES-BIYzpL_B.js → es-ES-1YZMu7Kf.js} +33 -6
- package/dist/{es-MX-Cih_nZPr.js → es-MX-CyxCkl1y.js} +33 -6
- package/dist/esm-15CISqPe.js +430 -0
- package/dist/{et-CgCGIoIQ.js → et-C1S6VW9K.js} +33 -6
- package/dist/{expiredId-BhQM_AcZ.js → expiredId-DfqiC9HI.js} +6 -6
- package/dist/extensibility.es.js +38 -36
- package/dist/{fa-IR-YnGtqwsy.js → fa-IR-BPyBkaiF.js} +33 -6
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/face-match/styles.css +1 -535
- package/dist/face-match/styles.css.js +1 -1
- package/dist/faceMatch-BgN3CPdN.js +2 -0
- package/dist/faceMatch-UbygvNeb.js +336 -0
- package/dist/{fi-FI-3XXKPtj1.js → fi-FI-CfKLgU-O.js} +33 -6
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/field-comparison/styles.css +1 -27
- package/dist/field-comparison/styles.css.js +1 -1
- package/dist/fieldComparison-CNaAVsGY.js +2 -0
- package/dist/{fieldComparison-D7rZ657j.js → fieldComparison-CmRsH7pg.js} +13 -7
- package/dist/finalSuccessScreen-2-RZENUP.js +500 -0
- package/dist/fiscal-qr/fiscal-qr.es.js +28 -23
- package/dist/fiscal-qr/styles.css +1 -82
- package/dist/fiscal-qr/styles.css.js +1 -1
- package/dist/{flipAnimation-BGXItWj0.js → flipAnimation-DI5Gw5Ks.js} +643 -355
- package/dist/flow/flow.es.js +41 -24
- package/dist/flow/shell/styles.css +1 -401
- package/dist/flow/shell/styles.css.js +1 -1
- package/dist/flow/styles.css +1 -5702
- package/dist/{formField-Cf25rdkJ.js → formField-2VLEaztk.js} +2 -2
- package/dist/{fr-CA-DULWz0cf.js → fr-CA-BJlED1CS.js} +33 -6
- package/dist/{fr-BwDYP0LQ.js → fr-yKqRZbZ6.js} +33 -6
- package/dist/front-horizontal-hint-DEHmtcdg.js +379 -0
- package/dist/{front-vertical-hint-qXMVdLri.js → front-vertical-hint-Cb1NO-xT.js} +71 -72
- package/dist/geolocation/geolocation.es.js +26 -459
- package/dist/geolocation/styles.css +1 -165
- package/dist/geolocation/styles.css.js +1 -1
- package/dist/government-validation/government-validation.es.js +15 -13
- package/dist/government-validation/styles.css +1 -4
- package/dist/government-validation/styles.css.js +1 -1
- package/dist/{he-BZVxeCzZ.js → he-Dr88a3D5.js} +33 -6
- package/dist/{hi-Bp8GM653.js → hi-ac5Rf53r.js} +33 -6
- package/dist/{hmn-Bj6F8ToZ.js → hmn-bwkkfetx.js} +33 -6
- package/dist/{homeScreen-eYD0Zo8Y.js → homeScreen-BezGnGit.js} +10 -11
- package/dist/{hr-uz9DXHS8.js → hr-CHcVE152.js} +33 -6
- package/dist/{ht-BGd4L5Je.js → ht-IPMniPpi.js} +33 -6
- package/dist/{hu-BvTVDhN5.js → hu-CG5ZOzy2.js} +33 -6
- package/dist/icons-CSP6Tne6.js +535 -0
- package/dist/id/id.es.js +315 -1174
- package/dist/id/styles.css +1 -1691
- package/dist/id/styles.css.js +1 -1
- package/dist/{id-D0EG-hya.js → id-DYinFjLQ.js} +33 -6
- package/dist/id-back-of-card-C7Au2tqk.js +71 -0
- package/dist/id-back-of-card-vertical-CtQBFw8w.js +74 -0
- package/dist/id-front-of-card-BmHL_keG.js +305 -0
- package/dist/id-front-of-card-vertical-DkNUn2Vx.js +253 -0
- package/dist/id-ocr/styles.css +1 -55
- package/dist/id-ocr/styles.css.js +1 -1
- package/dist/id-selfie-flow/id-selfie-flow.es.js +12 -9
- package/dist/id-selfie-flow/styles.css +1 -780
- package/dist/id-verification/id-verification.es.js +6 -5
- package/dist/{idOcr-66OmIUeD.js → idOcr-DN1gTAJ7.js} +12 -11
- package/dist/identity-reuse/identity-reuse.es.js +167 -139
- package/dist/identity-reuse/styles.css +1 -216
- package/dist/incode-logo-DIujvtwd.js +341 -0
- package/dist/{incodeComponent--XJZ07QN.js → incodeComponent-WXvcRKkM.js} +147 -269
- package/dist/incodeModule-DsWO19Nv.js +68 -0
- package/dist/index.es.js +4 -3
- package/dist/{inputComposed-ByIWAPSr.js → inputComposed-D-WVQEpg.js} +2 -2
- package/dist/inputComposed-Dca8NJxF.js +1 -0
- package/dist/{it-DWY7_sYa.js → it-pBVnbw9L.js} +34 -7
- package/dist/{ja-z6DqLSKX.js → ja-BtG6-Vh2.js} +33 -6
- package/dist/{ja-JP-DvHAizEm.js → ja-JP-CuWo_Mj3.js} +33 -6
- package/dist/{jv-CkRJjzon.js → jv-BT_G8rCL.js} +33 -6
- package/dist/{ka-BvgWMiTW.js → ka-WxIHXEYK.js} +33 -6
- package/dist/{kk-BAYGOXZ1.js → kk-qwv1f2i0.js} +33 -6
- package/dist/{km-Bn1-UMaR.js → km-CMxgTPm2.js} +40 -13
- package/dist/{ko-CtAqOkND.js → ko-ByRDnTNU.js} +33 -6
- package/dist/{ko-KP-kVzak00f.js → ko-KP-DT8OH4nm.js} +33 -6
- package/dist/{ky-Cegtfua2.js → ky-DrRlDMWB.js} +33 -6
- package/dist/{lo-DtW4luOG.js → lo-CazQUHLa.js} +33 -6
- package/dist/{lt-CnaDc_UD.js → lt-CBMtCNcX.js} +33 -6
- package/dist/{lv-SBquFvpr.js → lv-QLEUT4Fk.js} +33 -6
- package/dist/{mandatoryConsent-BMvNiuiY.js → mandatoryConsent-B8JxEysm.js} +8 -6
- package/dist/{manualCaptureButton-6HOiu1ud.js → manualCaptureButton-CortdhZS.js} +5 -5
- package/dist/{manualCaptureButton-CI-lIiuA.js → manualCaptureButton-XLjthVmp.js} +43 -34
- package/dist/{mk-Bym8Rbmu.js → mk-DDDwwQ8b.js} +33 -6
- package/dist/{mn-C-EiXg08.js → mn-CKxduUYN.js} +33 -6
- package/dist/{ms-k_GCoKmE.js → ms-CFER5NeU.js} +33 -6
- package/dist/{my-v5GqdpqS.js → my-mmwQAfjf.js} +33 -6
- package/dist/{nb-NO-Ca1WyJtF.js → nb-NO-CGgKs8rj.js} +33 -6
- package/dist/{ne-DZ1xJQOA.js → ne-BJqy-qcj.js} +33 -6
- package/dist/{nl-DsWJVGHj.js → nl-DJr6e9c-.js} +33 -6
- package/dist/{optionAccessibleLabel-CkP9Zu6D.js → optionAccessibleLabel-Da2eL5BH.js} +5 -5
- package/dist/{otpInput-CmcE2rnQ.js → otpInput-DhyZLO7E.js} +6 -6
- package/dist/page-BksTT2IT.js +299 -0
- package/dist/{passport-horizontal-hint-6Ghn2EEN.js → passport-horizontal-hint-DgNc6F0-.js} +48 -49
- package/dist/{passport-vertical-hint-UPFFpdf4.js → passport-vertical-hint-B-toVsfT.js} +42 -42
- package/dist/{passwordInputComposed-DkHtXfpN.js → passwordInputComposed-DUuchiG5.js} +4 -4
- package/dist/{pdf-CFubyG0B.js → pdf-BKHLi5Ac.js} +2 -2
- package/dist/pdf.worker.min-BM1b2w9V.js +4 -0
- package/dist/pdfViewer-DI6ftHlp.js +2 -0
- package/dist/pdfViewer-jx6A8s9-.js +154 -0
- package/dist/{permissions-D85sVpRH.js → permissions-CSwqOb8W.js} +41 -14
- package/dist/phone/phone.es.js +9 -8
- package/dist/phone/styles.css +1 -10
- package/dist/phone/styles.css.js +1 -1
- package/dist/phoneInputComposed-B-rmar65.js +249 -0
- package/dist/{pl-B32zvfat.js → pl-eSIxcu-k.js} +33 -6
- package/dist/policyUrls-B3M8nLRh.js +7 -0
- package/dist/{processing-DB6ZtByy.js → processing-DXSGB91D.js} +1 -1
- package/dist/progressBar-CFcaF74Q.js +27 -0
- package/dist/{pt-BR-CZSBmrhf.js → pt-BR-CJA5ZG6e.js} +33 -6
- package/dist/{pt-CI9A94gT.js → pt-CmJV-wZ-.js} +33 -6
- package/dist/{pt-PT-dD8X7Uk-.js → pt-PT-BFdqErGN.js} +33 -6
- package/dist/{spacer-Csi6kZZI.js → purify.es-0fCPkEV1.js} +2 -740
- package/dist/qe-signature/qe-signature.es.js +3 -3
- package/dist/radioGroupComposed-BDYikM_v.js +1 -0
- package/dist/{radioGroupComposed-BKEEwEPO.js → radioGroupComposed-CP8O7fH0.js} +2 -2
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +116 -13
- package/dist/redirect-to-mobile/styles.css +1 -323
- package/dist/redirect-to-mobile/styles.css.js +1 -1
- package/dist/reload-icon-elAFo9-k.js +70 -0
- package/dist/{resendTimer-QICiM2K0.js → resendTimer-B57abKjj.js} +1 -1
- package/dist/{richText-2CpStx6w.js → richText-aCnLd3j2.js} +2 -2
- package/dist/{ro-9pJ4k0ri.js → ro-CWG17Pwq.js} +33 -6
- package/dist/{ru-RU-Bbq_NDQg.js → ru-RU-B92HlMCp.js} +33 -6
- package/dist/{ru-DU8F6ner.js → ru-ax21b71G.js} +33 -6
- package/dist/sanitizeSvg-BC-qLUgS.js +35 -0
- package/dist/selfie/selfie.es.js +9 -184
- package/dist/selfie/styles.css +1 -501
- package/dist/selfie/styles.css.js +1 -1
- package/dist/signature/signature.es.js +8 -7
- package/dist/signature/styles.css +1 -116
- package/dist/signature/styles.css.js +1 -1
- package/dist/{sk-COjINm80.js → sk-Ds3au8Jk.js} +35 -8
- package/dist/{sl-BHEN5hgb.js → sl-B6IDJen8.js} +33 -6
- package/dist/{smsTabContent-6ehe5Tx-.js → smsTabContent-BlG83kTA.js} +6 -7
- package/dist/{so-BK_1PgA0.js → so-YhVExrIs.js} +33 -6
- package/dist/spacer-CkjGrKvv.js +741 -0
- package/dist/{spinner-C9D0Usrj.js → spinner-ceW7fzMV.js} +2 -2
- package/dist/{sr-CXHt_PCR.js → sr-DHyxTTRS.js} +33 -6
- package/dist/{sr-Latn-BBXL4zhk.js → sr-Latn-DVXk3-Ar.js} +40 -13
- package/dist/{sr-YU-D3DxWT8Q.js → sr-YU-A98YyASK.js} +33 -6
- package/dist/{statusPage-BbOa8Zsp.js → statusPage-DcunZz7q.js} +3 -3
- package/dist/{sv-SE-B6_0mJU7.js → sv-SE-BKSmMaSz.js} +33 -6
- package/dist/{sw-BUZuOFDH.js → sw-BlrxyPqO.js} +33 -6
- package/dist/{th-DZN2Iv8L.js → th-Bwohp3kt.js} +33 -6
- package/dist/{th-TH-B5S1TAOp.js → th-TH-CJpVz2u5.js} +33 -6
- package/dist/themes/dark.css +1 -1537
- package/dist/themes/light.css +1 -1413
- package/dist/{tl-DO_ExzG4.js → tl-D-896paK.js} +33 -6
- package/dist/{tl-PH-CbqgynTp.js → tl-PH-CpeFjacJ.js} +33 -6
- package/dist/{tr-DuzhV6aC.js → tr-UpF9aXXo.js} +34 -7
- package/dist/transitionSpinner-t_urdfwD.js +76 -0
- package/dist/{tutorial-CGHCyHq1.js → tutorial-Hoic1tQU.js} +14 -18
- package/dist/types/ae-signature.d.ts +27 -5
- package/dist/types/antifraud.d.ts +27 -5
- package/dist/types/authentication.d.ts +27 -5
- package/dist/types/certificate-issuance.d.ts +27 -5
- package/dist/types/consent.d.ts +27 -3
- package/dist/types/cross-document-data-match.d.ts +32 -2
- package/dist/types/curp-validation.d.ts +27 -5
- package/dist/types/document-capture.d.ts +32 -2
- package/dist/types/dynamic-forms.d.ts +27 -5
- package/dist/types/ekyb.d.ts +32 -2
- package/dist/types/ekyc.d.ts +32 -2
- package/dist/types/electronic-signature.d.ts +27 -5
- package/dist/types/email.d.ts +27 -3
- package/dist/types/extensibility.d.ts +135 -27
- package/dist/types/face-match.d.ts +32 -2
- package/dist/types/field-comparison.d.ts +32 -2
- package/dist/types/fiscal-qr.d.ts +27 -3
- package/dist/types/flow.d.ts +27 -3
- package/dist/types/geolocation.d.ts +27 -3
- package/dist/types/government-validation.d.ts +32 -2
- package/dist/types/id-selfie-flow.d.ts +27 -14
- package/dist/types/id-verification.d.ts +27 -5
- package/dist/types/id.d.ts +27 -3
- package/dist/types/identity-reuse.d.ts +27 -5
- package/dist/types/index.d.ts +52 -1
- package/dist/types/phone.d.ts +27 -3
- package/dist/types/qe-signature.d.ts +27 -5
- package/dist/types/selfie.d.ts +27 -3
- package/dist/types/signature.d.ts +27 -5
- package/dist/types/video-selfie.d.ts +5 -2
- package/dist/types/watchlist.d.ts +27 -5
- package/dist/types/workflow.d.ts +50 -4
- package/dist/{typography-Ck7V6DNZ.js → typography-CjBuzXWX.js} +1 -1
- package/dist/{uiConfig-Dd7jp1PI.js → uiConfig-Bh5WEbvy.js} +256 -874
- package/dist/{uk-BLrKoj8p.js → uk-DsTY-qEZ.js} +33 -6
- package/dist/{uk-UA-D6AgqKAE.js → uk-UA-BsILxTGz.js} +33 -6
- package/dist/{ur-uciedoGK.js → ur-n9ZinGDJ.js} +33 -6
- package/dist/useCaptureHelpButton-f7JWgp_k.js +86 -0
- package/dist/useCoverMedia-VLw3OYN_.js +149 -0
- package/dist/{uz-D1RcQJml.js → uz-C-oPc-JB.js} +33 -6
- package/dist/{verificationResult-CMeZfcp-.js → verificationResult-M2YRY8Gb.js} +6 -6
- package/dist/{vi-ftDWx05b.js → vi-CwwSd-oQ.js} +33 -6
- package/dist/video-selfie/styles.css +1 -864
- package/dist/video-selfie/styles.css.js +1 -1
- package/dist/video-selfie/video-selfie.es.js +15 -12
- package/dist/watchlist/watchlist.es.js +6 -6
- package/dist/watchlist-for-business/styles.css +1 -17
- package/dist/watchlist-for-business/styles.css.js +1 -1
- package/dist/{watchlistForBusiness-CAVtOlvf.js → watchlistForBusiness-CAUTDAJh.js} +265 -8
- package/dist/{resolveApiKey-uVJm2km3.js → withEndScreenTexts-VQlYb0bU.js} +53 -25
- package/dist/workflow/styles.css +1 -5116
- package/dist/workflow/workflow.es.js +83 -28
- package/dist/{zh-CN-C6BX8R6-.js → zh-CN-Dc3X6PNO.js} +35 -8
- package/dist/{zh-CJ974_0X.js → zh-Dgdyqejo.js} +33 -6
- package/dist/{zh-HANT-CbCj1ENS.js → zh-HANT-BDp9XkY7.js} +33 -6
- package/dist/{zh-TW-DGxz1fli.js → zh-TW-QBmOmVhc.js} +33 -6
- package/package.json +8 -6
- package/dist/back-horizontal-hint-UQ7Nof6k.js +0 -137
- package/dist/back-vertical-hint-Crc8ybfk.js +0 -128
- package/dist/cameraOverlay-Dp8micQ1.js +0 -2
- package/dist/cameraOverlayHeader-BMfNitmC.js +0 -43
- package/dist/captureFooter-xMZdYH2O.js +0 -67
- package/dist/connectionError-BhxGYSwy.js +0 -45
- package/dist/countries-5e8kwG_m.js +0 -8560
- package/dist/dateInputComposed-DM6MXdpn.js +0 -1
- package/dist/denied-PJnw8fbL.js +0 -2191
- package/dist/documentCapture-Bcw3g1Q1.js +0 -2
- package/dist/dropdownComposed-C2bmup-w.js +0 -1
- package/dist/ekybModule-DHJWniii.js +0 -2
- package/dist/ekycModule-5d4qgrAk.js +0 -2
- package/dist/faceMatch-B7ayVA3N.js +0 -2
- package/dist/faceMatch-Tj39bhkm.js +0 -334
- package/dist/fieldComparison-75FGbygj.js +0 -2
- package/dist/finalSuccessScreen-ikiIjPhC.js +0 -499
- package/dist/front-horizontal-hint-mgovnJf3.js +0 -380
- package/dist/icons-DO-rf5yd.js +0 -533
- package/dist/id-back-of-card-B6EcmiCs.js +0 -83
- package/dist/id-back-of-card-vertical-B3FXhPpj.js +0 -88
- package/dist/id-front-of-card-V_BlLaZr.js +0 -308
- package/dist/id-front-of-card-vertical-CuZjL8kc.js +0 -278
- package/dist/incode-logo-BzJOZr3f.js +0 -4
- package/dist/incodeModule-n_Am6zwM.js +0 -31
- package/dist/inputComposed-B33LMERA.js +0 -1
- package/dist/modal-DNfrzKC7.js +0 -140
- package/dist/modal.hooks-B0Wrc9s2.js +0 -201
- package/dist/pdfViewer-CygtdQPU.js +0 -149
- package/dist/pdfViewer-Yf7ZKXLz.js +0 -2
- package/dist/phoneInputComposed-7i6GGW1B.js +0 -3751
- package/dist/radioGroupComposed-Bm3iEn-6.js +0 -1
- package/dist/tabs-CW12_glt.js +0 -104
- /package/dist/{aligndevicelottie-B12hbVhG.js → aligndevicelottie-BARt-rhe.js} +0 -0
- /package/dist/{back-tutorial-XdmQ0Wml.js → back-tutorial-CZrMmj1_.js} +0 -0
- /package/dist/{backdevicelottie-m_DOD8xE.js → backdevicelottie-CIM3ekd8.js} +0 -0
- /package/dist/{blurdevicelottie-DQo_hTMD.js → blurdevicelottie-BRyXfLB6.js} +0 -0
- /package/dist/{browser-ponyfill-ZkeBm4ji.js → browser-ponyfill-DT11p-Ob.js} +0 -0
- /package/dist/{defineProperty-BojnCa44.js → defineProperty-CjeJoXkx.js} +0 -0
- /package/dist/{flip-animation-VicedlT5.js → flip-animation-BU5LNKYx.js} +0 -0
- /package/dist/{frontdevicelottie-CyIerlMv.js → frontdevicelottie-arpyu_Fz.js} +0 -0
- /package/dist/{glaredevicelottie-QM2C6Ivp.js → glaredevicelottie-TwTFxe7h.js} +0 -0
- /package/dist/{id-laser-h-B0-iXcvl.js → id-laser-h-Dr-hBxrq.js} +0 -0
- /package/dist/{id-laser-v-Bqh6vimi.js → id-laser-v-D_r0QNY8.js} +0 -0
- /package/dist/{id-tutorial-IhmAzrIF.js → id-tutorial-DM9Pkfs-.js} +0 -0
- /package/dist/{lottie_light-CzZ3CHBk.js → lottie_light-aMg9Q9iO.js} +0 -0
- /package/dist/{numberedStep-C8e_uPaz.js → numberedStep-CvbL3ht2.js} +0 -0
- /package/dist/{passport-tutorial-61vlloJS.js → passport-tutorial-CKZZuDf_.js} +0 -0
- /package/dist/{registerIncodeElement-CbZczi4S.js → registerIncodeElement-D_cn4dSI.js} +0 -0
- /package/dist/{selfieTutorial-BRQ2QNxQ.js → selfieTutorial-Dz6lDFMn.js} +0 -0
- /package/dist/{useModuleLoader-DpcbSKBH.js → useModuleLoader-BdIp6TNQ.js} +0 -0
|
@@ -3,6 +3,7 @@ import { CertificateIssuanceManager } from '@incodetech/core/certificate-issuanc
|
|
|
3
3
|
import { DeepPartial } from '@incodetech/core/flow';
|
|
4
4
|
import { FC } from 'preact/compat';
|
|
5
5
|
import { FunctionComponent } from 'preact';
|
|
6
|
+
import { SessionExpiredError } from '@incodetech/core/session';
|
|
6
7
|
import { SVGProps } from 'preact/compat';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -79,6 +80,15 @@ declare type IncodeFinishMeta = {
|
|
|
79
80
|
* replace the SDK screen. Not a guarantee.
|
|
80
81
|
*/
|
|
81
82
|
sdkOwnsTerminalScreen?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* True when the workflow is OAuth2-secured. The OAuth authorization server
|
|
85
|
+
* owns the redirect back to the client's `redirect_uri`, so the host must not
|
|
86
|
+
* navigate to `redirectionUrl` itself. A host redirect drops the `error` and
|
|
87
|
+
* `state` parameters, and the client reads a failed authentication as a
|
|
88
|
+
* success. The workflow always sets it on finish; treat a missing value as
|
|
89
|
+
* unknown.
|
|
90
|
+
*/
|
|
91
|
+
oauth2Secured?: boolean;
|
|
82
92
|
};
|
|
83
93
|
|
|
84
94
|
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
|
|
@@ -92,7 +102,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
|
|
|
92
102
|
*/
|
|
93
103
|
config?: TConfigInput;
|
|
94
104
|
/**
|
|
95
|
-
* Optional pre-built manager.
|
|
105
|
+
* Optional pre-built manager. The host owns its ordinary lifecycle.
|
|
106
|
+
* Session expiry always stops it to release capture resources, even when
|
|
107
|
+
* supplied by the host. Create a new manager for a replacement session;
|
|
108
|
+
* do not reuse the stopped instance in another mounted module.
|
|
96
109
|
*/
|
|
97
110
|
manager?: TManager;
|
|
98
111
|
/**
|
|
@@ -112,8 +125,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
|
|
|
112
125
|
* @param moduleErrorCode - Optional machine-readable error code (e.g. a
|
|
113
126
|
* `FaceErrorCode` such as `NONEXISTENT_CUSTOMER`). Lets an orchestrator
|
|
114
127
|
* branch on the specific terminal error without parsing the message string.
|
|
128
|
+
* @param details - Structured session-expiry error with statusCode 401 and
|
|
129
|
+
* code/type SESSION_EXPIRED. The first three arguments stay compatible.
|
|
115
130
|
*/
|
|
116
|
-
onError?:
|
|
131
|
+
onError?: ModuleErrorHandler;
|
|
117
132
|
};
|
|
118
133
|
|
|
119
134
|
/**
|
|
@@ -128,6 +143,13 @@ declare type InstanceOverrides = {
|
|
|
128
143
|
assets?: AssetOverrides;
|
|
129
144
|
animations?: AnimationOverrides;
|
|
130
145
|
spinner?: SpinnerPresentation;
|
|
146
|
+
/**
|
|
147
|
+
* `true` hides the unsupported-browser screen for this element; `false`
|
|
148
|
+
* forces it on. Wins over `setup({ uiConfig })`. When both are omitted, the
|
|
149
|
+
* session Flow's setting applies. `<incode-flow>` and `<incode-workflow>`
|
|
150
|
+
* ignore it and always use their server setting.
|
|
151
|
+
*/
|
|
152
|
+
disableUnsupportedBrowserScreen?: boolean;
|
|
131
153
|
};
|
|
132
154
|
|
|
133
155
|
declare type LottieAnimationData = {
|
|
@@ -139,6 +161,8 @@ declare type LottieAnimationData = {
|
|
|
139
161
|
h: number;
|
|
140
162
|
};
|
|
141
163
|
|
|
164
|
+
declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
|
|
165
|
+
|
|
142
166
|
/**
|
|
143
167
|
* Host-facing loader presentation, settable globally via
|
|
144
168
|
* `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-certificate-issuance': HTMLElement &
|
|
174
|
-
void,
|
|
175
|
-
CertificateIssuanceManager>;
|
|
197
|
+
'incode-certificate-issuance': HTMLElement & import('preact').ComponentProps<typeof CertificateIssuance>;
|
|
176
198
|
}
|
|
177
199
|
}
|
package/dist/types/consent.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { ConsentManager } from '@incodetech/core/consent';
|
|
|
3
3
|
import { DeepPartial } from '@incodetech/core/flow';
|
|
4
4
|
import { FC } from 'preact/compat';
|
|
5
5
|
import { FunctionComponent } from 'preact';
|
|
6
|
+
import { SessionExpiredError } from '@incodetech/core/session';
|
|
6
7
|
import { SVGProps } from 'preact/compat';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -79,6 +80,15 @@ declare type IncodeFinishMeta = {
|
|
|
79
80
|
* replace the SDK screen. Not a guarantee.
|
|
80
81
|
*/
|
|
81
82
|
sdkOwnsTerminalScreen?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* True when the workflow is OAuth2-secured. The OAuth authorization server
|
|
85
|
+
* owns the redirect back to the client's `redirect_uri`, so the host must not
|
|
86
|
+
* navigate to `redirectionUrl` itself. A host redirect drops the `error` and
|
|
87
|
+
* `state` parameters, and the client reads a failed authentication as a
|
|
88
|
+
* success. The workflow always sets it on finish; treat a missing value as
|
|
89
|
+
* unknown.
|
|
90
|
+
*/
|
|
91
|
+
oauth2Secured?: boolean;
|
|
82
92
|
};
|
|
83
93
|
|
|
84
94
|
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
|
|
@@ -92,7 +102,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
|
|
|
92
102
|
*/
|
|
93
103
|
config?: TConfigInput;
|
|
94
104
|
/**
|
|
95
|
-
* Optional pre-built manager.
|
|
105
|
+
* Optional pre-built manager. The host owns its ordinary lifecycle.
|
|
106
|
+
* Session expiry always stops it to release capture resources, even when
|
|
107
|
+
* supplied by the host. Create a new manager for a replacement session;
|
|
108
|
+
* do not reuse the stopped instance in another mounted module.
|
|
96
109
|
*/
|
|
97
110
|
manager?: TManager;
|
|
98
111
|
/**
|
|
@@ -112,8 +125,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
|
|
|
112
125
|
* @param moduleErrorCode - Optional machine-readable error code (e.g. a
|
|
113
126
|
* `FaceErrorCode` such as `NONEXISTENT_CUSTOMER`). Lets an orchestrator
|
|
114
127
|
* branch on the specific terminal error without parsing the message string.
|
|
128
|
+
* @param details - Structured session-expiry error with statusCode 401 and
|
|
129
|
+
* code/type SESSION_EXPIRED. The first three arguments stay compatible.
|
|
115
130
|
*/
|
|
116
|
-
onError?:
|
|
131
|
+
onError?: ModuleErrorHandler;
|
|
117
132
|
};
|
|
118
133
|
|
|
119
134
|
/**
|
|
@@ -128,6 +143,13 @@ declare type InstanceOverrides = {
|
|
|
128
143
|
assets?: AssetOverrides;
|
|
129
144
|
animations?: AnimationOverrides;
|
|
130
145
|
spinner?: SpinnerPresentation;
|
|
146
|
+
/**
|
|
147
|
+
* `true` hides the unsupported-browser screen for this element; `false`
|
|
148
|
+
* forces it on. Wins over `setup({ uiConfig })`. When both are omitted, the
|
|
149
|
+
* session Flow's setting applies. `<incode-flow>` and `<incode-workflow>`
|
|
150
|
+
* ignore it and always use their server setting.
|
|
151
|
+
*/
|
|
152
|
+
disableUnsupportedBrowserScreen?: boolean;
|
|
131
153
|
};
|
|
132
154
|
|
|
133
155
|
declare type LottieAnimationData = {
|
|
@@ -139,6 +161,8 @@ declare type LottieAnimationData = {
|
|
|
139
161
|
h: number;
|
|
140
162
|
};
|
|
141
163
|
|
|
164
|
+
declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
|
|
165
|
+
|
|
142
166
|
/**
|
|
143
167
|
* Host-facing loader presentation, settable globally via
|
|
144
168
|
* `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
|
|
@@ -170,6 +194,6 @@ export { }
|
|
|
170
194
|
|
|
171
195
|
declare global {
|
|
172
196
|
interface HTMLElementTagNameMap {
|
|
173
|
-
'incode-consent': HTMLElement &
|
|
197
|
+
'incode-consent': HTMLElement & import('preact').ComponentProps<typeof Consent>;
|
|
174
198
|
}
|
|
175
199
|
}
|
|
@@ -3,6 +3,7 @@ import { CrossDocumentDataMatchManager } from '@incodetech/core/cross-document-d
|
|
|
3
3
|
import { DeepPartial } from '@incodetech/core/flow';
|
|
4
4
|
import { FC } from 'preact/compat';
|
|
5
5
|
import { FunctionComponent } from 'preact';
|
|
6
|
+
import { SessionExpiredError } from '@incodetech/core/session';
|
|
6
7
|
import { SVGProps } from 'preact/compat';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -79,6 +80,15 @@ declare type IncodeFinishMeta = {
|
|
|
79
80
|
* replace the SDK screen. Not a guarantee.
|
|
80
81
|
*/
|
|
81
82
|
sdkOwnsTerminalScreen?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* True when the workflow is OAuth2-secured. The OAuth authorization server
|
|
85
|
+
* owns the redirect back to the client's `redirect_uri`, so the host must not
|
|
86
|
+
* navigate to `redirectionUrl` itself. A host redirect drops the `error` and
|
|
87
|
+
* `state` parameters, and the client reads a failed authentication as a
|
|
88
|
+
* success. The workflow always sets it on finish; treat a missing value as
|
|
89
|
+
* unknown.
|
|
90
|
+
*/
|
|
91
|
+
oauth2Secured?: boolean;
|
|
82
92
|
};
|
|
83
93
|
|
|
84
94
|
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
|
|
@@ -92,7 +102,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
|
|
|
92
102
|
*/
|
|
93
103
|
config?: TConfigInput;
|
|
94
104
|
/**
|
|
95
|
-
* Optional pre-built manager.
|
|
105
|
+
* Optional pre-built manager. The host owns its ordinary lifecycle.
|
|
106
|
+
* Session expiry always stops it to release capture resources, even when
|
|
107
|
+
* supplied by the host. Create a new manager for a replacement session;
|
|
108
|
+
* do not reuse the stopped instance in another mounted module.
|
|
96
109
|
*/
|
|
97
110
|
manager?: TManager;
|
|
98
111
|
/**
|
|
@@ -112,8 +125,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
|
|
|
112
125
|
* @param moduleErrorCode - Optional machine-readable error code (e.g. a
|
|
113
126
|
* `FaceErrorCode` such as `NONEXISTENT_CUSTOMER`). Lets an orchestrator
|
|
114
127
|
* branch on the specific terminal error without parsing the message string.
|
|
128
|
+
* @param details - Structured session-expiry error with statusCode 401 and
|
|
129
|
+
* code/type SESSION_EXPIRED. The first three arguments stay compatible.
|
|
115
130
|
*/
|
|
116
|
-
onError?:
|
|
131
|
+
onError?: ModuleErrorHandler;
|
|
117
132
|
};
|
|
118
133
|
|
|
119
134
|
/**
|
|
@@ -128,6 +143,13 @@ declare type InstanceOverrides = {
|
|
|
128
143
|
assets?: AssetOverrides;
|
|
129
144
|
animations?: AnimationOverrides;
|
|
130
145
|
spinner?: SpinnerPresentation;
|
|
146
|
+
/**
|
|
147
|
+
* `true` hides the unsupported-browser screen for this element; `false`
|
|
148
|
+
* forces it on. Wins over `setup({ uiConfig })`. When both are omitted, the
|
|
149
|
+
* session Flow's setting applies. `<incode-flow>` and `<incode-workflow>`
|
|
150
|
+
* ignore it and always use their server setting.
|
|
151
|
+
*/
|
|
152
|
+
disableUnsupportedBrowserScreen?: boolean;
|
|
131
153
|
};
|
|
132
154
|
|
|
133
155
|
declare type LottieAnimationData = {
|
|
@@ -139,6 +161,8 @@ declare type LottieAnimationData = {
|
|
|
139
161
|
h: number;
|
|
140
162
|
};
|
|
141
163
|
|
|
164
|
+
declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
|
|
165
|
+
|
|
142
166
|
/**
|
|
143
167
|
* Host-facing loader presentation, settable globally via
|
|
144
168
|
* `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
|
|
@@ -167,3 +191,9 @@ declare type SpinnerSize = 'small' | 'medium' | 'large';
|
|
|
167
191
|
declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
168
192
|
|
|
169
193
|
export { }
|
|
194
|
+
|
|
195
|
+
declare global {
|
|
196
|
+
interface HTMLElementTagNameMap {
|
|
197
|
+
'incode-cross-document-data-match': HTMLElement & import('preact').ComponentProps<typeof CrossDocumentDataMatch>;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
@@ -3,6 +3,7 @@ import { CurpValidationManager } from '@incodetech/core/curp-validation';
|
|
|
3
3
|
import { DeepPartial } from '@incodetech/core/flow';
|
|
4
4
|
import { FC } from 'preact/compat';
|
|
5
5
|
import { FunctionComponent } from 'preact';
|
|
6
|
+
import { SessionExpiredError } from '@incodetech/core/session';
|
|
6
7
|
import { SVGProps } from 'preact/compat';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -79,6 +80,15 @@ declare type IncodeFinishMeta = {
|
|
|
79
80
|
* replace the SDK screen. Not a guarantee.
|
|
80
81
|
*/
|
|
81
82
|
sdkOwnsTerminalScreen?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* True when the workflow is OAuth2-secured. The OAuth authorization server
|
|
85
|
+
* owns the redirect back to the client's `redirect_uri`, so the host must not
|
|
86
|
+
* navigate to `redirectionUrl` itself. A host redirect drops the `error` and
|
|
87
|
+
* `state` parameters, and the client reads a failed authentication as a
|
|
88
|
+
* success. The workflow always sets it on finish; treat a missing value as
|
|
89
|
+
* unknown.
|
|
90
|
+
*/
|
|
91
|
+
oauth2Secured?: boolean;
|
|
82
92
|
};
|
|
83
93
|
|
|
84
94
|
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
|
|
@@ -92,7 +102,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
|
|
|
92
102
|
*/
|
|
93
103
|
config?: TConfigInput;
|
|
94
104
|
/**
|
|
95
|
-
* Optional pre-built manager.
|
|
105
|
+
* Optional pre-built manager. The host owns its ordinary lifecycle.
|
|
106
|
+
* Session expiry always stops it to release capture resources, even when
|
|
107
|
+
* supplied by the host. Create a new manager for a replacement session;
|
|
108
|
+
* do not reuse the stopped instance in another mounted module.
|
|
96
109
|
*/
|
|
97
110
|
manager?: TManager;
|
|
98
111
|
/**
|
|
@@ -112,8 +125,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
|
|
|
112
125
|
* @param moduleErrorCode - Optional machine-readable error code (e.g. a
|
|
113
126
|
* `FaceErrorCode` such as `NONEXISTENT_CUSTOMER`). Lets an orchestrator
|
|
114
127
|
* branch on the specific terminal error without parsing the message string.
|
|
128
|
+
* @param details - Structured session-expiry error with statusCode 401 and
|
|
129
|
+
* code/type SESSION_EXPIRED. The first three arguments stay compatible.
|
|
115
130
|
*/
|
|
116
|
-
onError?:
|
|
131
|
+
onError?: ModuleErrorHandler;
|
|
117
132
|
};
|
|
118
133
|
|
|
119
134
|
/**
|
|
@@ -128,6 +143,13 @@ declare type InstanceOverrides = {
|
|
|
128
143
|
assets?: AssetOverrides;
|
|
129
144
|
animations?: AnimationOverrides;
|
|
130
145
|
spinner?: SpinnerPresentation;
|
|
146
|
+
/**
|
|
147
|
+
* `true` hides the unsupported-browser screen for this element; `false`
|
|
148
|
+
* forces it on. Wins over `setup({ uiConfig })`. When both are omitted, the
|
|
149
|
+
* session Flow's setting applies. `<incode-flow>` and `<incode-workflow>`
|
|
150
|
+
* ignore it and always use their server setting.
|
|
151
|
+
*/
|
|
152
|
+
disableUnsupportedBrowserScreen?: boolean;
|
|
131
153
|
};
|
|
132
154
|
|
|
133
155
|
declare type LottieAnimationData = {
|
|
@@ -139,6 +161,8 @@ declare type LottieAnimationData = {
|
|
|
139
161
|
h: number;
|
|
140
162
|
};
|
|
141
163
|
|
|
164
|
+
declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
|
|
165
|
+
|
|
142
166
|
/**
|
|
143
167
|
* Host-facing loader presentation, settable globally via
|
|
144
168
|
* `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-curp-validation': HTMLElement &
|
|
174
|
-
void,
|
|
175
|
-
CurpValidationManager>;
|
|
197
|
+
'incode-curp-validation': HTMLElement & import('preact').ComponentProps<typeof CurpValidation>;
|
|
176
198
|
}
|
|
177
199
|
}
|
|
@@ -3,6 +3,7 @@ import { DocumentCaptureConfig } from '@incodetech/core/document-capture';
|
|
|
3
3
|
import { DocumentCaptureManager } from '@incodetech/core/document-capture';
|
|
4
4
|
import { FC } from 'preact/compat';
|
|
5
5
|
import { FunctionComponent } from 'preact';
|
|
6
|
+
import { SessionExpiredError } from '@incodetech/core/session';
|
|
6
7
|
import { SVGProps } from 'preact/compat';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -79,6 +80,15 @@ declare type IncodeFinishMeta = {
|
|
|
79
80
|
* replace the SDK screen. Not a guarantee.
|
|
80
81
|
*/
|
|
81
82
|
sdkOwnsTerminalScreen?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* True when the workflow is OAuth2-secured. The OAuth authorization server
|
|
85
|
+
* owns the redirect back to the client's `redirect_uri`, so the host must not
|
|
86
|
+
* navigate to `redirectionUrl` itself. A host redirect drops the `error` and
|
|
87
|
+
* `state` parameters, and the client reads a failed authentication as a
|
|
88
|
+
* success. The workflow always sets it on finish; treat a missing value as
|
|
89
|
+
* unknown.
|
|
90
|
+
*/
|
|
91
|
+
oauth2Secured?: boolean;
|
|
82
92
|
};
|
|
83
93
|
|
|
84
94
|
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
|
|
@@ -92,7 +102,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
|
|
|
92
102
|
*/
|
|
93
103
|
config?: TConfigInput;
|
|
94
104
|
/**
|
|
95
|
-
* Optional pre-built manager.
|
|
105
|
+
* Optional pre-built manager. The host owns its ordinary lifecycle.
|
|
106
|
+
* Session expiry always stops it to release capture resources, even when
|
|
107
|
+
* supplied by the host. Create a new manager for a replacement session;
|
|
108
|
+
* do not reuse the stopped instance in another mounted module.
|
|
96
109
|
*/
|
|
97
110
|
manager?: TManager;
|
|
98
111
|
/**
|
|
@@ -112,8 +125,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
|
|
|
112
125
|
* @param moduleErrorCode - Optional machine-readable error code (e.g. a
|
|
113
126
|
* `FaceErrorCode` such as `NONEXISTENT_CUSTOMER`). Lets an orchestrator
|
|
114
127
|
* branch on the specific terminal error without parsing the message string.
|
|
128
|
+
* @param details - Structured session-expiry error with statusCode 401 and
|
|
129
|
+
* code/type SESSION_EXPIRED. The first three arguments stay compatible.
|
|
115
130
|
*/
|
|
116
|
-
onError?:
|
|
131
|
+
onError?: ModuleErrorHandler;
|
|
117
132
|
};
|
|
118
133
|
|
|
119
134
|
/**
|
|
@@ -128,6 +143,13 @@ declare type InstanceOverrides = {
|
|
|
128
143
|
assets?: AssetOverrides;
|
|
129
144
|
animations?: AnimationOverrides;
|
|
130
145
|
spinner?: SpinnerPresentation;
|
|
146
|
+
/**
|
|
147
|
+
* `true` hides the unsupported-browser screen for this element; `false`
|
|
148
|
+
* forces it on. Wins over `setup({ uiConfig })`. When both are omitted, the
|
|
149
|
+
* session Flow's setting applies. `<incode-flow>` and `<incode-workflow>`
|
|
150
|
+
* ignore it and always use their server setting.
|
|
151
|
+
*/
|
|
152
|
+
disableUnsupportedBrowserScreen?: boolean;
|
|
131
153
|
};
|
|
132
154
|
|
|
133
155
|
declare type LottieAnimationData = {
|
|
@@ -139,6 +161,8 @@ declare type LottieAnimationData = {
|
|
|
139
161
|
h: number;
|
|
140
162
|
};
|
|
141
163
|
|
|
164
|
+
declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
|
|
165
|
+
|
|
142
166
|
/**
|
|
143
167
|
* Host-facing loader presentation, settable globally via
|
|
144
168
|
* `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
|
|
@@ -167,3 +191,9 @@ declare type SpinnerSize = 'small' | 'medium' | 'large';
|
|
|
167
191
|
declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
168
192
|
|
|
169
193
|
export { }
|
|
194
|
+
|
|
195
|
+
declare global {
|
|
196
|
+
interface HTMLElementTagNameMap {
|
|
197
|
+
'incode-document-capture': HTMLElement & import('preact').ComponentProps<typeof DocumentCapture>;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
@@ -3,6 +3,7 @@ import { DynamicFormsConfig } from '@incodetech/core/dynamic-forms';
|
|
|
3
3
|
import { DynamicFormsManager } from '@incodetech/core/dynamic-forms';
|
|
4
4
|
import { FC } from 'preact/compat';
|
|
5
5
|
import { FunctionComponent } from 'preact';
|
|
6
|
+
import { SessionExpiredError } from '@incodetech/core/session';
|
|
6
7
|
import { SVGProps } from 'preact/compat';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -79,6 +80,15 @@ declare type IncodeFinishMeta = {
|
|
|
79
80
|
* replace the SDK screen. Not a guarantee.
|
|
80
81
|
*/
|
|
81
82
|
sdkOwnsTerminalScreen?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* True when the workflow is OAuth2-secured. The OAuth authorization server
|
|
85
|
+
* owns the redirect back to the client's `redirect_uri`, so the host must not
|
|
86
|
+
* navigate to `redirectionUrl` itself. A host redirect drops the `error` and
|
|
87
|
+
* `state` parameters, and the client reads a failed authentication as a
|
|
88
|
+
* success. The workflow always sets it on finish; treat a missing value as
|
|
89
|
+
* unknown.
|
|
90
|
+
*/
|
|
91
|
+
oauth2Secured?: boolean;
|
|
82
92
|
};
|
|
83
93
|
|
|
84
94
|
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
|
|
@@ -92,7 +102,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
|
|
|
92
102
|
*/
|
|
93
103
|
config?: TConfigInput;
|
|
94
104
|
/**
|
|
95
|
-
* Optional pre-built manager.
|
|
105
|
+
* Optional pre-built manager. The host owns its ordinary lifecycle.
|
|
106
|
+
* Session expiry always stops it to release capture resources, even when
|
|
107
|
+
* supplied by the host. Create a new manager for a replacement session;
|
|
108
|
+
* do not reuse the stopped instance in another mounted module.
|
|
96
109
|
*/
|
|
97
110
|
manager?: TManager;
|
|
98
111
|
/**
|
|
@@ -112,8 +125,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
|
|
|
112
125
|
* @param moduleErrorCode - Optional machine-readable error code (e.g. a
|
|
113
126
|
* `FaceErrorCode` such as `NONEXISTENT_CUSTOMER`). Lets an orchestrator
|
|
114
127
|
* branch on the specific terminal error without parsing the message string.
|
|
128
|
+
* @param details - Structured session-expiry error with statusCode 401 and
|
|
129
|
+
* code/type SESSION_EXPIRED. The first three arguments stay compatible.
|
|
115
130
|
*/
|
|
116
|
-
onError?:
|
|
131
|
+
onError?: ModuleErrorHandler;
|
|
117
132
|
};
|
|
118
133
|
|
|
119
134
|
/**
|
|
@@ -128,6 +143,13 @@ declare type InstanceOverrides = {
|
|
|
128
143
|
assets?: AssetOverrides;
|
|
129
144
|
animations?: AnimationOverrides;
|
|
130
145
|
spinner?: SpinnerPresentation;
|
|
146
|
+
/**
|
|
147
|
+
* `true` hides the unsupported-browser screen for this element; `false`
|
|
148
|
+
* forces it on. Wins over `setup({ uiConfig })`. When both are omitted, the
|
|
149
|
+
* session Flow's setting applies. `<incode-flow>` and `<incode-workflow>`
|
|
150
|
+
* ignore it and always use their server setting.
|
|
151
|
+
*/
|
|
152
|
+
disableUnsupportedBrowserScreen?: boolean;
|
|
131
153
|
};
|
|
132
154
|
|
|
133
155
|
declare type LottieAnimationData = {
|
|
@@ -139,6 +161,8 @@ declare type LottieAnimationData = {
|
|
|
139
161
|
h: number;
|
|
140
162
|
};
|
|
141
163
|
|
|
164
|
+
declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
|
|
165
|
+
|
|
142
166
|
/**
|
|
143
167
|
* Host-facing loader presentation, settable globally via
|
|
144
168
|
* `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-dynamic-forms': HTMLElement &
|
|
174
|
-
void,
|
|
175
|
-
DynamicFormsManager>;
|
|
197
|
+
'incode-dynamic-forms': HTMLElement & import('preact').ComponentProps<typeof DynamicForms>;
|
|
176
198
|
}
|
|
177
199
|
}
|
package/dist/types/ekyb.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { EkybConfig } from '@incodetech/core/ekyb';
|
|
|
3
3
|
import { EkybManager } from '@incodetech/core/ekyb';
|
|
4
4
|
import { FC } from 'preact/compat';
|
|
5
5
|
import { FunctionComponent } from 'preact';
|
|
6
|
+
import { SessionExpiredError } from '@incodetech/core/session';
|
|
6
7
|
import { SVGProps } from 'preact/compat';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -79,6 +80,15 @@ declare type IncodeFinishMeta = {
|
|
|
79
80
|
* replace the SDK screen. Not a guarantee.
|
|
80
81
|
*/
|
|
81
82
|
sdkOwnsTerminalScreen?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* True when the workflow is OAuth2-secured. The OAuth authorization server
|
|
85
|
+
* owns the redirect back to the client's `redirect_uri`, so the host must not
|
|
86
|
+
* navigate to `redirectionUrl` itself. A host redirect drops the `error` and
|
|
87
|
+
* `state` parameters, and the client reads a failed authentication as a
|
|
88
|
+
* success. The workflow always sets it on finish; treat a missing value as
|
|
89
|
+
* unknown.
|
|
90
|
+
*/
|
|
91
|
+
oauth2Secured?: boolean;
|
|
82
92
|
};
|
|
83
93
|
|
|
84
94
|
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
|
|
@@ -92,7 +102,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
|
|
|
92
102
|
*/
|
|
93
103
|
config?: TConfigInput;
|
|
94
104
|
/**
|
|
95
|
-
* Optional pre-built manager.
|
|
105
|
+
* Optional pre-built manager. The host owns its ordinary lifecycle.
|
|
106
|
+
* Session expiry always stops it to release capture resources, even when
|
|
107
|
+
* supplied by the host. Create a new manager for a replacement session;
|
|
108
|
+
* do not reuse the stopped instance in another mounted module.
|
|
96
109
|
*/
|
|
97
110
|
manager?: TManager;
|
|
98
111
|
/**
|
|
@@ -112,8 +125,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
|
|
|
112
125
|
* @param moduleErrorCode - Optional machine-readable error code (e.g. a
|
|
113
126
|
* `FaceErrorCode` such as `NONEXISTENT_CUSTOMER`). Lets an orchestrator
|
|
114
127
|
* branch on the specific terminal error without parsing the message string.
|
|
128
|
+
* @param details - Structured session-expiry error with statusCode 401 and
|
|
129
|
+
* code/type SESSION_EXPIRED. The first three arguments stay compatible.
|
|
115
130
|
*/
|
|
116
|
-
onError?:
|
|
131
|
+
onError?: ModuleErrorHandler;
|
|
117
132
|
};
|
|
118
133
|
|
|
119
134
|
/**
|
|
@@ -128,6 +143,13 @@ declare type InstanceOverrides = {
|
|
|
128
143
|
assets?: AssetOverrides;
|
|
129
144
|
animations?: AnimationOverrides;
|
|
130
145
|
spinner?: SpinnerPresentation;
|
|
146
|
+
/**
|
|
147
|
+
* `true` hides the unsupported-browser screen for this element; `false`
|
|
148
|
+
* forces it on. Wins over `setup({ uiConfig })`. When both are omitted, the
|
|
149
|
+
* session Flow's setting applies. `<incode-flow>` and `<incode-workflow>`
|
|
150
|
+
* ignore it and always use their server setting.
|
|
151
|
+
*/
|
|
152
|
+
disableUnsupportedBrowserScreen?: boolean;
|
|
131
153
|
};
|
|
132
154
|
|
|
133
155
|
declare type LottieAnimationData = {
|
|
@@ -139,6 +161,8 @@ declare type LottieAnimationData = {
|
|
|
139
161
|
h: number;
|
|
140
162
|
};
|
|
141
163
|
|
|
164
|
+
declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
|
|
165
|
+
|
|
142
166
|
/**
|
|
143
167
|
* Host-facing loader presentation, settable globally via
|
|
144
168
|
* `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
|
|
@@ -167,3 +191,9 @@ declare type SpinnerSize = 'small' | 'medium' | 'large';
|
|
|
167
191
|
declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
168
192
|
|
|
169
193
|
export { }
|
|
194
|
+
|
|
195
|
+
declare global {
|
|
196
|
+
interface HTMLElementTagNameMap {
|
|
197
|
+
'incode-ekyb': HTMLElement & import('preact').ComponentProps<typeof EkybModule>;
|
|
198
|
+
}
|
|
199
|
+
}
|
package/dist/types/ekyc.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { EkycConfig } from '@incodetech/core/ekyc';
|
|
|
3
3
|
import { EkycManager } from '@incodetech/core/ekyc';
|
|
4
4
|
import { FC } from 'preact/compat';
|
|
5
5
|
import { FunctionComponent } from 'preact';
|
|
6
|
+
import { SessionExpiredError } from '@incodetech/core/session';
|
|
6
7
|
import { SVGProps } from 'preact/compat';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -79,6 +80,15 @@ declare type IncodeFinishMeta = {
|
|
|
79
80
|
* replace the SDK screen. Not a guarantee.
|
|
80
81
|
*/
|
|
81
82
|
sdkOwnsTerminalScreen?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* True when the workflow is OAuth2-secured. The OAuth authorization server
|
|
85
|
+
* owns the redirect back to the client's `redirect_uri`, so the host must not
|
|
86
|
+
* navigate to `redirectionUrl` itself. A host redirect drops the `error` and
|
|
87
|
+
* `state` parameters, and the client reads a failed authentication as a
|
|
88
|
+
* success. The workflow always sets it on finish; treat a missing value as
|
|
89
|
+
* unknown.
|
|
90
|
+
*/
|
|
91
|
+
oauth2Secured?: boolean;
|
|
82
92
|
};
|
|
83
93
|
|
|
84
94
|
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
|
|
@@ -92,7 +102,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
|
|
|
92
102
|
*/
|
|
93
103
|
config?: TConfigInput;
|
|
94
104
|
/**
|
|
95
|
-
* Optional pre-built manager.
|
|
105
|
+
* Optional pre-built manager. The host owns its ordinary lifecycle.
|
|
106
|
+
* Session expiry always stops it to release capture resources, even when
|
|
107
|
+
* supplied by the host. Create a new manager for a replacement session;
|
|
108
|
+
* do not reuse the stopped instance in another mounted module.
|
|
96
109
|
*/
|
|
97
110
|
manager?: TManager;
|
|
98
111
|
/**
|
|
@@ -112,8 +125,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
|
|
|
112
125
|
* @param moduleErrorCode - Optional machine-readable error code (e.g. a
|
|
113
126
|
* `FaceErrorCode` such as `NONEXISTENT_CUSTOMER`). Lets an orchestrator
|
|
114
127
|
* branch on the specific terminal error without parsing the message string.
|
|
128
|
+
* @param details - Structured session-expiry error with statusCode 401 and
|
|
129
|
+
* code/type SESSION_EXPIRED. The first three arguments stay compatible.
|
|
115
130
|
*/
|
|
116
|
-
onError?:
|
|
131
|
+
onError?: ModuleErrorHandler;
|
|
117
132
|
};
|
|
118
133
|
|
|
119
134
|
/**
|
|
@@ -128,6 +143,13 @@ declare type InstanceOverrides = {
|
|
|
128
143
|
assets?: AssetOverrides;
|
|
129
144
|
animations?: AnimationOverrides;
|
|
130
145
|
spinner?: SpinnerPresentation;
|
|
146
|
+
/**
|
|
147
|
+
* `true` hides the unsupported-browser screen for this element; `false`
|
|
148
|
+
* forces it on. Wins over `setup({ uiConfig })`. When both are omitted, the
|
|
149
|
+
* session Flow's setting applies. `<incode-flow>` and `<incode-workflow>`
|
|
150
|
+
* ignore it and always use their server setting.
|
|
151
|
+
*/
|
|
152
|
+
disableUnsupportedBrowserScreen?: boolean;
|
|
131
153
|
};
|
|
132
154
|
|
|
133
155
|
declare type LottieAnimationData = {
|
|
@@ -139,6 +161,8 @@ declare type LottieAnimationData = {
|
|
|
139
161
|
h: number;
|
|
140
162
|
};
|
|
141
163
|
|
|
164
|
+
declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
|
|
165
|
+
|
|
142
166
|
/**
|
|
143
167
|
* Host-facing loader presentation, settable globally via
|
|
144
168
|
* `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
|
|
@@ -167,3 +191,9 @@ declare type SpinnerSize = 'small' | 'medium' | 'large';
|
|
|
167
191
|
declare type SvgComponent = FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
168
192
|
|
|
169
193
|
export { }
|
|
194
|
+
|
|
195
|
+
declare global {
|
|
196
|
+
interface HTMLElementTagNameMap {
|
|
197
|
+
'incode-ekyc': HTMLElement & import('preact').ComponentProps<typeof EkycModule>;
|
|
198
|
+
}
|
|
199
|
+
}
|