@incodetech/web 2.3.2-rc.4 → 2.4.0-rc.0
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-ChCQ6Mhi.js +444 -0
- package/dist/ae-signature/ae-signature.es.js +3 -3
- package/dist/{af-ZA-CA6Cuvy7.js → af-ZA-B5RfX0Do.js} +1 -0
- package/dist/ageVerification-BMwwu3EI.js +77 -0
- package/dist/{am-C9PowMKj.js → am-BE3vlUmQ.js} +1 -0
- package/dist/antifraud/antifraud.es.js +3 -3
- package/dist/antifraud/styles.css +0 -1
- package/dist/{ar-AE-CyVB3e6w.js → ar-AE-Dw0claA-.js} +2 -1
- package/dist/{ar-CA-xYPJY.js → ar-B3gZ5W2R.js} +1 -0
- package/dist/{ar-EG-CbZZLN4a.js → ar-EG-5pSqEbCR.js} +1 -0
- package/dist/authentication/authentication.es.js +4 -4
- package/dist/{autoFocusTitle-DIaSbuq7.js → autoFocusTitle-DTSPbDgY.js} +1 -1
- package/dist/{az-CKYeugV_.js → az-CtWu_6fI.js} +1 -0
- 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-DO4gqrJQ.js → baseTutorial-CW-zwkOM.js} +13 -24
- package/dist/{bn-DmUH7q5R.js → bn-CXOCkHeB.js} +1 -0
- package/dist/{bottomSheet-BLJeBfa5.js → bottomSheet-DmQVpuxJ.js} +2 -2
- package/dist/{bs-CWfAeJNO.js → bs-B4mczUkN.js} +1 -0
- package/dist/{ca-DWaNc0fo.js → ca-DAE1dQj9.js} +1 -0
- package/dist/cameraOverlay-Bgpa6tky.js +2 -0
- package/dist/cameraOverlayHeader-BZlR-wkk.js +83 -0
- package/dist/{cameraView-rIbhv8fs.js → cameraView-DG425WNr.js} +2 -2
- package/dist/{ceb-BG6KB0JE.js → ceb-C9GCq8zw.js} +1 -0
- 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-BhwI4wQM.js → checkbox-ClDWA_GP.js} +2 -2
- package/dist/connectionError-DnLv1SEA.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-yIGWfr2F.js → countrySelector-65mrWgRB.js} +6 -5
- package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
- package/dist/{cs-CZ-BACKrF5t.js → cs-CZ-CLmA_0jN.js} +1 -0
- package/dist/{cs-6iPoRnQs.js → cs-DJEcT5M8.js} +1 -0
- 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-C69ImDUR.js → customFields-BNX1AHc3.js} +10 -9
- package/dist/{customWatchlist-4DzMKHnO.js → customWatchlist-BdCLsmp2.js} +6 -6
- package/dist/{da-DK-CST8ldZv.js → da-DK-B0G-1XCN.js} +1 -0
- package/dist/{dashboardTheme-byzaKQpO.js → dashboardTheme-B3JLw1w6.js} +1 -1
- package/dist/dateInputComposed-81cxVVay.js +1 -0
- package/dist/{dateInputComposed-BJ2i31Qg.js → dateInputComposed-BwqEyZNg.js} +4 -4
- package/dist/{de-DvBX387Q.js → de-Pw3Ziz4S.js} +1 -0
- package/dist/denied-D977k8ju.js +1871 -0
- package/dist/deviceWallet-CoXT8GNt.js +66 -0
- package/dist/digitalIdRedirect-CI0JpjXY.js +162 -0
- package/dist/digitalIdUpload-DTrEj4Q3.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-BmmRBhhG.js → documentCapture-BVs_R-Aj.js} +127 -180
- package/dist/documentCapture-CE3xt7Qu.js +2 -0
- package/dist/dropdownComposed-BBeW4gkE.js +1 -0
- package/dist/{dropdownComposed-BthB9H5H.js → dropdownComposed-CB55QqNd.js} +8 -14
- 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-BiVsuQhj.js +2 -0
- package/dist/{ekybModule-C92p0vvi.js → ekybModule-Deru8qGu.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-CGS7oZAu.js +2 -0
- package/dist/{ekycModule-eBrLm0sR.js → ekycModule-Cb3HnENz.js} +46 -14
- package/dist/{el-BCSLBNUY.js → el-DlcHAcXD.js} +1 -0
- package/dist/{el-GR-DZW16R9N.js → el-GR-fXRg7fVy.js} +1 -0
- 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-D1d_WObD.js → electronic-signature-Bt644x6v.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-CZ-0HyRS.js → emailInput-DQlm6sys.js} +3 -3
- package/dist/{en-QnHXrrY7.js → en-BQfrZw2Q.js} +1 -0
- package/dist/{en-DG-Dlff-IsT.js → en-DG-Dbay0TVK.js} +1 -0
- package/dist/{errorContent-T3IsDggM.js → errorContent-i-XKbliC.js} +5 -5
- package/dist/{es-419-JaSs0Que.js → es-419-B494eoOQ.js} +1 -0
- package/dist/{es-xOhDko1G.js → es-CIaH0_TG.js} +1 -0
- package/dist/{es-ES-C7SEV5MS.js → es-ES-BAy8H_o4.js} +1 -0
- package/dist/{es-MX-8mD6Ru26.js → es-MX-mRlcVoSi.js} +1 -0
- package/dist/esm-15CISqPe.js +430 -0
- package/dist/{et-DVMXfkQT.js → et-BsM-KF4Y.js} +2 -1
- package/dist/{expiredId-BQukSylk.js → expiredId-Bc_tCf-R.js} +6 -6
- package/dist/extensibility.es.js +38 -36
- package/dist/{fa-IR-B7JNyhKz.js → fa-IR-DKPXxDgD.js} +1 -0
- 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-KF3QElE7.js +2 -0
- package/dist/faceMatch-MVYGreUC.js +336 -0
- package/dist/{fi-FI-CgZFjWp0.js → fi-FI-BehaswUi.js} +1 -0
- 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-CQG-0wfE.js +2 -0
- package/dist/{fieldComparison-B79amZ7h.js → fieldComparison-D4FRpZlC.js} +13 -7
- package/dist/finalSuccessScreen-DS4fm_uM.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-GbvrJ0-_.js → flipAnimation-NcDmqbnT.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-tq_XH-Th.js → formField-D1sSXdbf.js} +2 -2
- package/dist/{fr-CA-pLsuP6oV.js → fr-CA-DZcH7XE0.js} +1 -0
- package/dist/{fr-DWhWFv0v.js → fr-DuG6kscd.js} +1 -0
- 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-BCXU1BJZ.js → he-B_PP0efY.js} +1 -0
- package/dist/{hi-DHKWk_3O.js → hi-D0rSX1o4.js} +1 -0
- package/dist/{hmn-DKxFifxf.js → hmn-DK7VD_xu.js} +1 -0
- package/dist/{homeScreen-C6n4tcTo.js → homeScreen-CKLvX3bf.js} +10 -11
- package/dist/{hr-Bb5L8s7b.js → hr-BpjWRIC0.js} +1 -0
- package/dist/{ht-NA3g5Q-7.js → ht-CG8o1xEm.js} +1 -0
- package/dist/{hu-D34RjbYg.js → hu-BmwC53l2.js} +1 -0
- package/dist/icons-Cri5P1f0.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-lD25ONXO.js → id-CKlkbZdM.js} +1 -0
- 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-B1KXgAbC.js → idOcr-vWU87y1x.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-r5UBM52t.js +341 -0
- package/dist/{incodeComponent-CdiXt7v7.js → incodeComponent-I3JIdKa5.js} +147 -269
- package/dist/incodeModule-t2FDQ-II.js +68 -0
- package/dist/index.es.js +4 -3
- package/dist/{inputComposed-8oVJL9fW.js → inputComposed-B27kZydt.js} +2 -2
- package/dist/inputComposed-DfPNjr7W.js +1 -0
- package/dist/{it-Bjpo7bkn.js → it-Ha3KMdAw.js} +1 -0
- package/dist/{ja-G_1vszjj.js → ja-BcpfEJD1.js} +1 -0
- package/dist/{ja-JP-SAKkGA9f.js → ja-JP-6Sg-lS3C.js} +2 -1
- package/dist/{jv-BP3Kidjb.js → jv-BhDDvojx.js} +1 -0
- package/dist/{ka-Byk8FCEP.js → ka-DSEmyiG7.js} +1 -0
- package/dist/{kk-C4-RGR2p.js → kk-DfTBM0Ac.js} +1 -0
- package/dist/{km-Cz7zimk3.js → km-DSH-1ryG.js} +6 -5
- package/dist/{ko-BDxjQ_OF.js → ko-DmCEEN9O.js} +1 -0
- package/dist/{ko-KP-BknUJpo0.js → ko-KP-DxNF6PVH.js} +1 -0
- package/dist/{ky-DwIO9bLp.js → ky-BYYkLAWt.js} +1 -0
- package/dist/{lo-c59MQX2S.js → lo-Dd7cFyNu.js} +1 -0
- package/dist/{lt-BrhZu2Vj.js → lt-DJemxo6s.js} +1 -0
- package/dist/{lv-Db2rbWSh.js → lv-DV6PxXYU.js} +1 -0
- package/dist/{mandatoryConsent-BLdpQxu2.js → mandatoryConsent-CEFsoyzd.js} +8 -6
- package/dist/{manualCaptureButton-wmNH54-0.js → manualCaptureButton-DghY-ZUO.js} +5 -5
- package/dist/{manualCaptureButton-BE9SVH5c.js → manualCaptureButton-DwcLDSMN.js} +43 -34
- package/dist/{mk-Uqn_8kGi.js → mk-0GH3TF8e.js} +1 -0
- package/dist/{mn-D7Jznd1-.js → mn-DhhnhyBd.js} +1 -0
- package/dist/{ms-BfMCHUa8.js → ms-DmVYGU6Y.js} +1 -0
- package/dist/{my-DsHXgcbs.js → my-DGXxog_l.js} +1 -0
- package/dist/{nb-NO-CPRHGQCR.js → nb-NO-SMmm3cOU.js} +1 -0
- package/dist/{ne-CMjCTP-p.js → ne-DVsGmeSd.js} +1 -0
- package/dist/{nl-CnBRdS5k.js → nl-CL7EuWSC.js} +2 -1
- package/dist/{optionAccessibleLabel-CI7JZggS.js → optionAccessibleLabel-BApMWddn.js} +5 -5
- package/dist/{otpInput-DxD_x747.js → otpInput-D0RomcH9.js} +6 -6
- package/dist/page-BzEithea.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-CIM8-Hvd.js → passwordInputComposed-DqiG9IUM.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-6PrH9fHg.js +2 -0
- package/dist/pdfViewer-DZurXIAg.js +154 -0
- package/dist/{permissions-plW5DkaX.js → permissions-C6NE4tvm.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-CVDIUrRy.js +249 -0
- package/dist/{pl-Dk_XCbHn.js → pl-9hyt0nnb.js} +1 -0
- package/dist/policyUrls-B3M8nLRh.js +7 -0
- package/dist/{processing-BnNbgJs3.js → processing-Do2ee2et.js} +1 -1
- package/dist/progressBar-CNBUGgEc.js +27 -0
- package/dist/{pt-BR-BL7B4wuD.js → pt-BR-BBMw-S8O.js} +1 -0
- package/dist/{pt-PT-CNhvgKtg.js → pt-PT-fSxcH0NK.js} +1 -0
- package/dist/{pt-BLVxgywN.js → pt-WGxHmjdN.js} +1 -0
- package/dist/{spacer-BmQEPV3n.js → purify.es-0fCPkEV1.js} +2 -740
- package/dist/qe-signature/qe-signature.es.js +3 -3
- package/dist/radioGroupComposed-Cy6hgLBE.js +1 -0
- package/dist/{radioGroupComposed-DFloG_N-.js → radioGroupComposed-FYYC8SNS.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-BdmoqbO1.js → resendTimer-C0tGof4N.js} +1 -1
- package/dist/{richText-lWTHIpaP.js → richText-aCnLd3j2.js} +2 -2
- package/dist/{ro-B_y2K2EA.js → ro-CRut2TFS.js} +1 -0
- package/dist/{ru-BYq3R3Mj.js → ru-DKaZyUKL.js} +1 -0
- package/dist/{ru-RU-CRVS8j8Y.js → ru-RU-C09Xv3Yg.js} +1 -0
- 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-CezkyMyH.js → sk-CRgCa4Xy.js} +1 -0
- package/dist/{sl-BWF10Icq.js → sl-BnWo7ffO.js} +1 -0
- package/dist/{smsTabContent-ok2pyDhh.js → smsTabContent-DrX3JFpW.js} +6 -7
- package/dist/{so-BrcNZ8Mr.js → so-QQqlxuIj.js} +1 -0
- package/dist/spacer-CRMb016O.js +741 -0
- package/dist/{spinner-C4do7hWX.js → spinner-B2lU14AQ.js} +2 -2
- package/dist/{sr-BnXGxOH1.js → sr-B5E7ItZS.js} +1 -0
- package/dist/{sr-Latn-6U6Ovy-Q.js → sr-Latn-DYffMLFY.js} +4 -3
- package/dist/{sr-YU-9B3BK4Ps.js → sr-YU-wTH5Bs0f.js} +1 -0
- package/dist/{statusPage-CXHHTIXA.js → statusPage-BIL3xP5F.js} +3 -3
- package/dist/{sv-SE-CpuV8J7C.js → sv-SE-CWW4jCGJ.js} +1 -0
- package/dist/{sw-BT-fzBc4.js → sw-DQMkDT3g.js} +1 -0
- package/dist/{th-D3ufVPwG.js → th-3PSK_Dsh.js} +1 -0
- package/dist/{th-TH-B4rqmZvR.js → th-TH-BT3vwWPA.js} +1 -0
- package/dist/themes/dark.css +1 -1537
- package/dist/themes/light.css +1 -1413
- package/dist/{tl-CUyJhGKF.js → tl-BjxdIajM.js} +1 -0
- package/dist/{tl-PH-D6NzZs7e.js → tl-PH-C_wJmHt1.js} +1 -0
- package/dist/{tr-BTjhr_32.js → tr-BhmOJl6w.js} +3 -2
- package/dist/transitionSpinner-CPK1gaqC.js +76 -0
- package/dist/{tutorial-BywSwy2f.js → tutorial-D9Tr_r15.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-Cn7-Znpn.js → typography-CVggEHuL.js} +1 -1
- package/dist/{uiConfig-qMQHPoxa.js → uiConfig-CzjzpmLx.js} +256 -874
- package/dist/{uk-UA-YhEHqst_.js → uk-UA-D8etJPYS.js} +2 -1
- package/dist/{uk-ChhaHUBd.js → uk-XbgXa2Ga.js} +1 -0
- package/dist/{ur-BG91n7xX.js → ur-EvEZPGeH.js} +1 -0
- package/dist/useCaptureHelpButton-Dh2rCLy1.js +86 -0
- package/dist/useCoverMedia-VLw3OYN_.js +149 -0
- package/dist/{uz-BHE3Jn6i.js → uz-CLNoByCo.js} +1 -0
- package/dist/{verificationResult-C7wTXPts.js → verificationResult-CZbJPu23.js} +6 -6
- package/dist/{vi-BV5GRZ61.js → vi-Drg8ZYY0.js} +1 -0
- 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-Bjh_-5Y6.js → watchlistForBusiness-CjEsaTUW.js} +265 -8
- package/dist/{resolveApiKey-D14Dir23.js → withEndScreenTexts-CFZVBpbY.js} +53 -25
- package/dist/workflow/styles.css +1 -5116
- package/dist/workflow/workflow.es.js +83 -28
- package/dist/{zh-CN-DGW8k_EJ.js → zh-CN-DgsFb5nA.js} +3 -2
- package/dist/{zh-DNadxa_J.js → zh-D9t3i09v.js} +1 -0
- package/dist/{zh-HANT-DZvzTGaC.js → zh-HANT-DA0DsBcr.js} +1 -0
- package/dist/{zh-TW-DNQrPdBy.js → zh-TW-BjJ6hVEd.js} +1 -0
- 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-B_XWm0TM.js +0 -2
- package/dist/cameraOverlayHeader-DP6EP8Yu.js +0 -43
- package/dist/captureFooter-c_0jBnZ7.js +0 -67
- package/dist/connectionError-C7NJ8tzk.js +0 -45
- package/dist/countries-5e8kwG_m.js +0 -8560
- package/dist/dateInputComposed-D4OMicAE.js +0 -1
- package/dist/denied-D9PfdAvK.js +0 -2191
- package/dist/documentCapture-BSewRSbI.js +0 -2
- package/dist/dropdownComposed-09JlREPP.js +0 -1
- package/dist/ekybModule-DJhJoDkx.js +0 -2
- package/dist/ekycModule-CNshA9vz.js +0 -2
- package/dist/faceMatch-CbE3kMV1.js +0 -2
- package/dist/faceMatch-DdQuasoZ.js +0 -334
- package/dist/fieldComparison-fl8WhFZs.js +0 -2
- package/dist/finalSuccessScreen-DCG20NUQ.js +0 -499
- package/dist/front-horizontal-hint-mgovnJf3.js +0 -380
- package/dist/icons-lmBQFGnv.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-f_OUurEl.js +0 -31
- package/dist/inputComposed-DMfj1MDU.js +0 -1
- package/dist/modal-CDsyaY_Z.js +0 -140
- package/dist/modal.hooks-B0Wrc9s2.js +0 -201
- package/dist/pdfViewer-DZpdaUDt.js +0 -149
- package/dist/pdfViewer-O6xIPlaK.js +0 -2
- package/dist/phoneInputComposed-DZMfEBok.js +0 -3751
- package/dist/radioGroupComposed-B06_2Xwu.js +0 -1
- package/dist/tabs-CaZGiNK8.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 { FC } from 'preact/compat';
|
|
|
3
3
|
import { FunctionComponent } from 'preact';
|
|
4
4
|
import { GeolocationConfig } from '@incodetech/core/geolocation';
|
|
5
5
|
import { GeolocationManager } from '@incodetech/core/geolocation';
|
|
6
|
+
import { SessionExpiredError } from '@incodetech/core/session';
|
|
6
7
|
import { SVGProps } from 'preact/compat';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -82,6 +83,15 @@ declare type IncodeFinishMeta = {
|
|
|
82
83
|
* replace the SDK screen. Not a guarantee.
|
|
83
84
|
*/
|
|
84
85
|
sdkOwnsTerminalScreen?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* True when the workflow is OAuth2-secured. The OAuth authorization server
|
|
88
|
+
* owns the redirect back to the client's `redirect_uri`, so the host must not
|
|
89
|
+
* navigate to `redirectionUrl` itself. A host redirect drops the `error` and
|
|
90
|
+
* `state` parameters, and the client reads a failed authentication as a
|
|
91
|
+
* success. The workflow always sets it on finish; treat a missing value as
|
|
92
|
+
* unknown.
|
|
93
|
+
*/
|
|
94
|
+
oauth2Secured?: boolean;
|
|
85
95
|
};
|
|
86
96
|
|
|
87
97
|
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
|
|
@@ -95,7 +105,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
|
|
|
95
105
|
*/
|
|
96
106
|
config?: TConfigInput;
|
|
97
107
|
/**
|
|
98
|
-
* Optional pre-built manager.
|
|
108
|
+
* Optional pre-built manager. The host owns its ordinary lifecycle.
|
|
109
|
+
* Session expiry always stops it to release capture resources, even when
|
|
110
|
+
* supplied by the host. Create a new manager for a replacement session;
|
|
111
|
+
* do not reuse the stopped instance in another mounted module.
|
|
99
112
|
*/
|
|
100
113
|
manager?: TManager;
|
|
101
114
|
/**
|
|
@@ -115,8 +128,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
|
|
|
115
128
|
* @param moduleErrorCode - Optional machine-readable error code (e.g. a
|
|
116
129
|
* `FaceErrorCode` such as `NONEXISTENT_CUSTOMER`). Lets an orchestrator
|
|
117
130
|
* branch on the specific terminal error without parsing the message string.
|
|
131
|
+
* @param details - Structured session-expiry error with statusCode 401 and
|
|
132
|
+
* code/type SESSION_EXPIRED. The first three arguments stay compatible.
|
|
118
133
|
*/
|
|
119
|
-
onError?:
|
|
134
|
+
onError?: ModuleErrorHandler;
|
|
120
135
|
};
|
|
121
136
|
|
|
122
137
|
/**
|
|
@@ -131,6 +146,13 @@ declare type InstanceOverrides = {
|
|
|
131
146
|
assets?: AssetOverrides;
|
|
132
147
|
animations?: AnimationOverrides;
|
|
133
148
|
spinner?: SpinnerPresentation;
|
|
149
|
+
/**
|
|
150
|
+
* `true` hides the unsupported-browser screen for this element; `false`
|
|
151
|
+
* forces it on. Wins over `setup({ uiConfig })`. When both are omitted, the
|
|
152
|
+
* session Flow's setting applies. `<incode-flow>` and `<incode-workflow>`
|
|
153
|
+
* ignore it and always use their server setting.
|
|
154
|
+
*/
|
|
155
|
+
disableUnsupportedBrowserScreen?: boolean;
|
|
134
156
|
};
|
|
135
157
|
|
|
136
158
|
declare type LottieAnimationData = {
|
|
@@ -142,6 +164,8 @@ declare type LottieAnimationData = {
|
|
|
142
164
|
h: number;
|
|
143
165
|
};
|
|
144
166
|
|
|
167
|
+
declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
|
|
168
|
+
|
|
145
169
|
/**
|
|
146
170
|
* Host-facing loader presentation, settable globally via
|
|
147
171
|
* `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
|
|
@@ -173,6 +197,6 @@ export { }
|
|
|
173
197
|
|
|
174
198
|
declare global {
|
|
175
199
|
interface HTMLElementTagNameMap {
|
|
176
|
-
'incode-geolocation': HTMLElement &
|
|
200
|
+
'incode-geolocation': HTMLElement & import('preact').ComponentProps<typeof Geolocation_2>;
|
|
177
201
|
}
|
|
178
202
|
}
|
|
@@ -3,6 +3,7 @@ import { FC } from 'preact/compat';
|
|
|
3
3
|
import { FunctionComponent } from 'preact';
|
|
4
4
|
import { GovernmentValidationConfig } from '@incodetech/core/government-validation';
|
|
5
5
|
import { GovernmentValidationManager } from '@incodetech/core/government-validation';
|
|
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-government-validation': HTMLElement & import('preact').ComponentProps<typeof GovernmentValidation>;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
@@ -2,6 +2,7 @@ import { FC } from 'preact/compat';
|
|
|
2
2
|
import { FinishStatus } from '@incodetech/core/flow';
|
|
3
3
|
import { FunctionComponent } from 'preact';
|
|
4
4
|
import { IdSelfieFlowConfig } from '@incodetech/core/id-selfie-flow';
|
|
5
|
+
import { SessionExpiredError } from '@incodetech/core/session';
|
|
5
6
|
import { SVGProps } from 'preact/compat';
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -54,17 +55,6 @@ declare type AssetOverrides = Partial<Record<AssetKey, AssetOverride>>;
|
|
|
54
55
|
*/
|
|
55
56
|
declare type ConfigWithOverrides<TConfig> = TConfig & InstanceOverrides;
|
|
56
57
|
|
|
57
|
-
/**
|
|
58
|
-
* ID + Selfie flow UI component (PoC). Runs the regular ID + selfie capture
|
|
59
|
-
* pipeline behind the Video Selfie continuous-camera UX.
|
|
60
|
-
*
|
|
61
|
-
* Config is resolved from the active session's FLOW configuration (the same
|
|
62
|
-
* dashboard config the regular ID and SELFIE modules read — steps, attempts,
|
|
63
|
-
* tutorial, selfie validations); any `config` prop values win over the
|
|
64
|
-
* flow-derived ones.
|
|
65
|
-
*
|
|
66
|
-
* @see {@link createIdSelfieFlowManager} for headless usage.
|
|
67
|
-
*/
|
|
68
58
|
export declare const IdSelfieFlow: FC<IdSelfieFlowProps>;
|
|
69
59
|
|
|
70
60
|
/** Props for the {@link IdSelfieFlow} component. */
|
|
@@ -91,6 +81,15 @@ declare type IncodeFinishMeta = {
|
|
|
91
81
|
* replace the SDK screen. Not a guarantee.
|
|
92
82
|
*/
|
|
93
83
|
sdkOwnsTerminalScreen?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* True when the workflow is OAuth2-secured. The OAuth authorization server
|
|
86
|
+
* owns the redirect back to the client's `redirect_uri`, so the host must not
|
|
87
|
+
* navigate to `redirectionUrl` itself. A host redirect drops the `error` and
|
|
88
|
+
* `state` parameters, and the client reads a failed authentication as a
|
|
89
|
+
* success. The workflow always sets it on finish; treat a missing value as
|
|
90
|
+
* unknown.
|
|
91
|
+
*/
|
|
92
|
+
oauth2Secured?: boolean;
|
|
94
93
|
};
|
|
95
94
|
|
|
96
95
|
declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TConfigInput = ConfigWithOverrides<TConfig>> = {
|
|
@@ -104,7 +103,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
|
|
|
104
103
|
*/
|
|
105
104
|
config?: TConfigInput;
|
|
106
105
|
/**
|
|
107
|
-
* Optional pre-built manager.
|
|
106
|
+
* Optional pre-built manager. The host owns its ordinary lifecycle.
|
|
107
|
+
* Session expiry always stops it to release capture resources, even when
|
|
108
|
+
* supplied by the host. Create a new manager for a replacement session;
|
|
109
|
+
* do not reuse the stopped instance in another mounted module.
|
|
108
110
|
*/
|
|
109
111
|
manager?: TManager;
|
|
110
112
|
/**
|
|
@@ -124,8 +126,10 @@ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown, TCon
|
|
|
124
126
|
* @param moduleErrorCode - Optional machine-readable error code (e.g. a
|
|
125
127
|
* `FaceErrorCode` such as `NONEXISTENT_CUSTOMER`). Lets an orchestrator
|
|
126
128
|
* branch on the specific terminal error without parsing the message string.
|
|
129
|
+
* @param details - Structured session-expiry error with statusCode 401 and
|
|
130
|
+
* code/type SESSION_EXPIRED. The first three arguments stay compatible.
|
|
127
131
|
*/
|
|
128
|
-
onError?:
|
|
132
|
+
onError?: ModuleErrorHandler;
|
|
129
133
|
};
|
|
130
134
|
|
|
131
135
|
/**
|
|
@@ -140,6 +144,13 @@ declare type InstanceOverrides = {
|
|
|
140
144
|
assets?: AssetOverrides;
|
|
141
145
|
animations?: AnimationOverrides;
|
|
142
146
|
spinner?: SpinnerPresentation;
|
|
147
|
+
/**
|
|
148
|
+
* `true` hides the unsupported-browser screen for this element; `false`
|
|
149
|
+
* forces it on. Wins over `setup({ uiConfig })`. When both are omitted, the
|
|
150
|
+
* session Flow's setting applies. `<incode-flow>` and `<incode-workflow>`
|
|
151
|
+
* ignore it and always use their server setting.
|
|
152
|
+
*/
|
|
153
|
+
disableUnsupportedBrowserScreen?: boolean;
|
|
143
154
|
};
|
|
144
155
|
|
|
145
156
|
declare type LottieAnimationData = {
|
|
@@ -151,6 +162,8 @@ declare type LottieAnimationData = {
|
|
|
151
162
|
h: number;
|
|
152
163
|
};
|
|
153
164
|
|
|
165
|
+
declare type ModuleErrorHandler = (message: string | undefined, errorCode?: number, moduleErrorCode?: string, details?: SessionExpiredError) => void;
|
|
166
|
+
|
|
154
167
|
/**
|
|
155
168
|
* Host-facing loader presentation, settable globally via
|
|
156
169
|
* `setup({ uiConfig: { spinner } })` or per element via `config.spinner`.
|
|
@@ -182,6 +195,6 @@ export { }
|
|
|
182
195
|
|
|
183
196
|
declare global {
|
|
184
197
|
interface HTMLElementTagNameMap {
|
|
185
|
-
'incode-id-selfie-flow': HTMLElement &
|
|
198
|
+
'incode-id-selfie-flow': HTMLElement & import('preact').ComponentProps<typeof IdSelfieFlow>;
|
|
186
199
|
}
|
|
187
200
|
}
|
|
@@ -2,6 +2,7 @@ import { FC } from 'preact/compat';
|
|
|
2
2
|
import { FunctionComponent } from 'preact';
|
|
3
3
|
import { IdVerificationConfig } from '@incodetech/core/id-verification';
|
|
4
4
|
import { IdVerificationManager } from '@incodetech/core/id-verification';
|
|
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.
|
|
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?:
|
|
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-id-verification': HTMLElement &
|
|
171
|
-
void,
|
|
172
|
-
IdVerificationManager>;
|
|
194
|
+
'incode-id-verification': HTMLElement & import('preact').ComponentProps<typeof IdVerification>;
|
|
173
195
|
}
|
|
174
196
|
}
|
package/dist/types/id.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { FC } from 'preact/compat';
|
|
|
3
3
|
import { FunctionComponent } from 'preact';
|
|
4
4
|
import { IdCaptureConfig } from '@incodetech/core/id';
|
|
5
5
|
import { IdCaptureManager } from '@incodetech/core/id';
|
|
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-id': HTMLElement &
|
|
197
|
+
'incode-id': HTMLElement & import('preact').ComponentProps<typeof Id>;
|
|
174
198
|
}
|
|
175
199
|
}
|
|
@@ -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.
|
|
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?:
|
|
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 &
|
|
171
|
-
void,
|
|
172
|
-
IdentityReuseManagerType>;
|
|
194
|
+
'incode-identity-reuse': HTMLElement & import('preact').ComponentProps<typeof IdentityReuse>;
|
|
173
195
|
}
|
|
174
196
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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 { }
|
package/dist/types/phone.d.ts
CHANGED
|
@@ -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.
|
|
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?:
|
|
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 &
|
|
200
|
+
'incode-phone': HTMLElement & import('preact').ComponentProps<typeof Phone>;
|
|
177
201
|
}
|
|
178
202
|
}
|