@incodetech/core 2.4.1-agentic.9 → 2.5.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/dist/Actor-DqjOqDfU.d.ts +1 -0
- package/dist/{BaseWasmProvider-Bq3OHo7P.d.ts → BaseWasmProvider-bBNquvYn.d.ts} +2 -2
- package/dist/{CameraCompositor-DN7NkJzV.esm.js → CameraCompositor-ppyMYVoY.esm.js} +1 -1
- package/dist/{FaceDetectionProvider-CHpscouN.esm.js → FaceDetectionProvider-n9u4dEn_.esm.js} +9 -9
- package/dist/{IIdCaptureCapability-CGcEt2Cw.d.ts → IIdCaptureCapability-C-5M8pP1.d.ts} +2 -2
- package/dist/{IWasmUtilCapability-Cqiaxydi.d.ts → IWasmUtilCapability-BRn0wz8v.d.ts} +2 -2
- package/dist/Manager-BvXAwDv9.esm.js +125 -0
- package/dist/{Manager-C9T5amUN.d.ts → Manager-DufwKlav.d.ts} +1 -7
- package/dist/{MultipartRecordingProvider-BfQPSgSO.esm.js → MultipartRecordingProvider-CduV32Qa.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-C3xNfOsv.d.ts → StreamCanvasCapture-ixfy84ys.d.ts} +2 -2
- package/dist/{WasmUtilProvider-Dp2V-Uct.esm.js → WasmUtilProvider-0xTxgP0R.esm.js} +42 -6
- package/dist/{WorkerEncoderRecordingProvider-CyCrQnZR.esm.js → WorkerEncoderRecordingProvider-CsDED9UU.esm.js} +1 -1
- package/dist/{addressSearch-D6cKPWmk.esm.js → addressSearch-Rxm1K67A.esm.js} +5 -4
- package/dist/{advanceableErrors-k-U-cL5m.esm.js → advanceableErrors-CxZyPRyh.esm.js} +3 -0
- package/dist/ae-signature.d.ts +2 -2
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.d.ts +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-DbGCvlJs.d.ts → antifraudManager-BxfCsyA7.d.ts} +3 -3
- package/dist/{antifraudManager-CbIwM35x.esm.js → antifraudManager-DKNOi9-z.esm.js} +5 -3
- package/dist/{antifraudStateMachine-qNNXrlsP.esm.js → antifraudStateMachine-BJ6PmCsw.esm.js} +3 -3
- package/dist/{api-C_P9YXbL.esm.js → api-CZpuJuZl.esm.js} +2 -1
- package/dist/{apiError-BeWqIYu8.esm.js → apiError-CtArBUt-.esm.js} +1 -1
- package/dist/{attemptCarry-BaAXPR_w.esm.js → attemptCarry-BecGGZK8.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CTHFl6dl.esm.js → authenticationManager-9N3eg3Uh.esm.js} +7 -6
- package/dist/{authenticationManager-DKLRA91K.d.ts → authenticationManager-DRaugLgH.d.ts} +2 -2
- package/dist/{authenticationStateMachine-D-SOzH8C.esm.js → authenticationStateMachine-DoK5RKIS.esm.js} +50 -18
- package/dist/avatar.d.ts +1 -1
- package/dist/{browser-pQZA35G2-DJEJnmCd.esm.js → browser-DlFgHpoC-DnyrCR8r.esm.js} +150 -161
- package/dist/{callback-645_omgz.d.ts → callback-BmjJ1G-5.d.ts} +1 -1
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.d.ts +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-Dr8A4Lgr.d.ts → certificateIssuanceManager-BcYhxO63.d.ts} +4 -3
- package/dist/{certificateIssuanceManager-CrF3wjCH.esm.js → certificateIssuanceManager-DaUklfNj.esm.js} +5 -3
- package/dist/{certificateIssuanceStateMachine-uSD9IkcV.esm.js → certificateIssuanceStateMachine-_EQcjGE3.esm.js} +4 -4
- package/dist/{cnpj-Co1ottYN.esm.js → cnpj-Bl_olpdX.esm.js} +5 -3
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-BD7wwgat.esm.js → consentManager-BPocwpm2.esm.js} +5 -3
- package/dist/{consentManager-7aHaehwF.d.ts → consentManager-vI6QHkHU.d.ts} +5 -4
- package/dist/{consentStateMachine-BAiLDE3D.esm.js → consentStateMachine-DgiIcT9q.esm.js} +3 -3
- package/dist/{cpf-BIADjddF.esm.js → cpf-DDXMTLYr.esm.js} +1 -1
- package/dist/{createFaceAvatar-lYX0VTYs.d.ts → createFaceAvatar-BimBTONm.d.ts} +1 -1
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-CUc1uACE.esm.js → crossDocumentDataMatchManager-BfA29Aji.esm.js} +6 -4
- package/dist/{crossDocumentDataMatchManager-yCWCOzcU.d.ts → crossDocumentDataMatchManager-crZcIUSY.d.ts} +3 -3
- package/dist/curp-DZGvefg3.esm.js +14 -0
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-DBfZSQbu.esm.js → curpValidationManager-CbvBDoE1.esm.js} +6 -4
- package/dist/{curpValidationManager-Crz3bnCo.d.ts → curpValidationManager-Ci2iVuog.d.ts} +4 -4
- package/dist/{curpValidationStateMachine-DyAEyScb.esm.js → curpValidationStateMachine-BQ8XK2Y3.esm.js} +5 -5
- package/dist/custom-fields.d.ts +1 -1
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-BZhIPyaY.esm.js → customFieldsManager-BRqSCR9R.esm.js} +6 -4
- package/dist/{customFieldsManager-CF-cO8ap.d.ts → customFieldsManager-CdWTbsew.d.ts} +3 -3
- package/dist/{customWatchlistManager-B4cmxi__.esm.js → customWatchlistManager-Bd1ooIDB.esm.js} +5 -3
- package/dist/{customWatchlistManager-DolUswyR.d.ts → customWatchlistManager-lJrveDS4.d.ts} +3 -3
- package/dist/{customWatchlistStateMachine-ZZoDGRAZ.esm.js → customWatchlistStateMachine-r8nGhyo1.esm.js} +3 -3
- package/dist/{deepsightLoader-je1YxHgT.esm.js → deepsightLoader-zG373VVx.esm.js} +10 -6
- package/dist/{definitionSource-BHNxbuiv.esm.js → definitionSource-Nw0YCbpe.esm.js} +38 -1
- package/dist/{desktopCameraElection-m2dAj6Zu.esm.js → desktopCameraElection-BKFjsQpO.esm.js} +5 -5
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-v57klTso.esm.js → documentCaptureManager-BKaJVQxg.esm.js} +5 -3
- package/dist/{documentCaptureManager-DDfviFg0.d.ts → documentCaptureManager-CoGcEiMK.d.ts} +4 -3
- package/dist/{documentCaptureStateMachine-CgCtimSa.esm.js → documentCaptureStateMachine-BYLb5Azk.esm.js} +6 -6
- package/dist/dynamic-forms.d.ts +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-BKWJZfkn.esm.js → dynamicFormsManager-BfQKWG7a.esm.js} +5 -3
- package/dist/{dynamicFormsManager-9kwY8Bf5.d.ts → dynamicFormsManager-C45pTncO.d.ts} +3 -3
- package/dist/{dynamicFormsStateMachine-CQN8p1ux.esm.js → dynamicFormsStateMachine-CRq01QNK.esm.js} +4 -4
- package/dist/ekyb.d.ts +3 -3
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-BD6HTwFJ.esm.js → ekybManager-B489iXyO.esm.js} +5 -3
- package/dist/{ekybManager-BLOkwmWO.d.ts → ekybManager-BflWuTe4.d.ts} +3 -3
- package/dist/{ekybStateMachine-3kceTymI.esm.js → ekybStateMachine-DZxg8T0H.esm.js} +18 -20
- package/dist/ekyc-prefill.d.ts +3 -3
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-CERRvIfg.d.ts → ekycManager-BKVQazAb.d.ts} +48 -7
- package/dist/{ekycManager-DawJq3Jo.esm.js → ekycManager-nRT0rxei.esm.js} +39 -16
- package/dist/{ekycPrefillManager-D_8NJzZf.esm.js → ekycPrefillManager-BXWDF7vT.esm.js} +3 -2
- package/dist/{ekycPrefillManager-DLNmToWT.d.ts → ekycPrefillManager-DOTl3Y2w.d.ts} +6 -5
- package/dist/{ekycPrefillStateMachine-C-JAvkH3.esm.js → ekycPrefillStateMachine-CuWTVze1.esm.js} +11 -10
- package/dist/{ekycRules-BLX7Elcb.esm.js → ekycRules-DXP2hqVw.esm.js} +198 -38
- package/dist/{ekycStateMachine-qvQ-b4IY.esm.js → ekycStateMachine-nwJRel2s.esm.js} +349 -67
- package/dist/{ekycUtils-Drx8ImpN.esm.js → ekycUtils-FcqA6oU4.esm.js} +45 -43
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-DTSLOvKR.d.ts → electronicSignatureManager-5tYz-a4o.d.ts} +4 -3
- package/dist/{electronicSignatureManager-u3UBhWw_.esm.js → electronicSignatureManager-BcE0XMrN.esm.js} +8 -6
- package/dist/email.d.ts +1 -1
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-BSaGg1Gl.esm.js → emailManager-Co4jarT1.esm.js} +5 -3
- package/dist/{emailManager-Dy6omJVp.d.ts → emailManager-pM7ZPuMa.d.ts} +3 -3
- package/dist/{emailStateMachine-CaoPZtZN.esm.js → emailStateMachine-CTEaYncs.esm.js} +4 -4
- package/dist/events-CP3yOzAl.esm.js +299 -0
- package/dist/events.d.ts +3 -1
- package/dist/events.esm.js +2 -1
- package/dist/extensibility.d.ts +42 -56
- package/dist/extensibility.esm.js +38 -38
- package/dist/{externalFetch-cUjJYyXj.esm.js → externalFetch-CQY41QT1.esm.js} +1 -1
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-DKJUjsV2.esm.js → faceCaptureManagerFactory-BBQzNrku.esm.js} +17 -6
- package/dist/{faceCaptureManagerFactory-ZudYP6Qp.d.ts → faceCaptureManagerFactory-CRGajjZ4.d.ts} +18 -11
- package/dist/{faceCaptureSetup-CZzv26ip.esm.js → faceCaptureSetup-D8_ilXFc.esm.js} +46 -38
- package/dist/{faceMatchManager-Z4UDLwAv.d.ts → faceMatchManager-C5b5WtcY.d.ts} +12 -5
- package/dist/{faceMatchManager-qPJsa5Ac.esm.js → faceMatchManager-CGmNGbov.esm.js} +5 -3
- package/dist/{faceMatchStateMachine-D90ZHY1r.esm.js → faceMatchStateMachine-BuHt7kec.esm.js} +44 -18
- package/dist/{feature-management-BMUPPAzI.esm.js → feature-management-SIBmKJs8.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.d.ts +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-BLLj_Ey1.esm.js → fieldComparisonManager-VgCU4X96.esm.js} +6 -4
- package/dist/{fieldComparisonManager-CUX4gza2.d.ts → fieldComparisonManager-mFOHRhVd.d.ts} +3 -3
- package/dist/fiscal-qr.d.ts +1 -1
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-D0Iy7EKR.d.ts → fiscalQrManager-DFnFVpP9.d.ts} +3 -3
- package/dist/{fiscalQrManager-Bh3rxb7Y.esm.js → fiscalQrManager-DOLq45ph.esm.js} +6 -4
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +51 -13
- package/dist/flow.esm.js +241 -62
- package/dist/{flowCompletionService-DgA2VEq4.esm.js → flowCompletionService-BFCddN3G.esm.js} +24 -3
- package/dist/{flowServices-aJ5kGxBd.esm.js → flowServices-NX4ksmS5.esm.js} +374 -13
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-6e1i9UIR.d.ts → geolocationManager-CENrvxpK.d.ts} +4 -3
- package/dist/{geolocationManager-BA57nCxj.esm.js → geolocationManager-D1Ga7_lB.esm.js} +5 -3
- package/dist/{geolocationStateMachine-3-d1ECCh.esm.js → geolocationStateMachine-oPgI5FIQ.esm.js} +5 -5
- package/dist/government-validation.d.ts +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-D5HkBqfr.esm.js → governmentValidationManager-6JQQkzha.esm.js} +5 -3
- package/dist/{governmentValidationManager-B82zOut8.d.ts → governmentValidationManager-De_vU7bm.d.ts} +4 -4
- package/dist/{governmentValidationStateMachine-BwMClTqC.esm.js → governmentValidationStateMachine-wBunpfQ9.esm.js} +3 -3
- package/dist/home.d.ts +4 -3
- package/dist/home.esm.js +4 -2
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-ocr.esm.js +3 -3
- package/dist/id-selfie-flow.d.ts +6 -5
- package/dist/id-selfie-flow.esm.js +12 -11
- package/dist/id-verification.d.ts +1 -1
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-Dszuq9ng.esm.js → idCaptureDefaults-Drh207VJ.esm.js} +3 -3
- package/dist/{idCaptureManager-NRGuCVv2.d.ts → idCaptureManager-Cqx2y_fC.d.ts} +12 -11
- package/dist/{idCaptureManager-B_TyUA3w.esm.js → idCaptureManager-DjZyIbxc.esm.js} +12 -10
- package/dist/{idCaptureServices-C6FUQ76N.esm.js → idCaptureServices-DWs9Fb58.esm.js} +7 -7
- package/dist/{idCaptureStateMachine-Cr8WdGyp.esm.js → idCaptureStateMachine-BGMkWF9t.esm.js} +22 -20
- package/dist/{idOcrCpfUtils-Nfln1Psb.esm.js → idOcrCpfUtils-D5Gwskxu.esm.js} +1 -1
- package/dist/{idOcrManager-B5xeI2lg.d.ts → idOcrManager-DflRx-_u.d.ts} +5 -4
- package/dist/{idOcrManager-BMK2oou0.esm.js → idOcrManager-im7VfJQi.esm.js} +5 -3
- package/dist/{idOcrStateMachine-RjNycN07.esm.js → idOcrStateMachine-B832arAl.esm.js} +4 -4
- package/dist/{idVerificationManager-BJapZfpy.d.ts → idVerificationManager-B6R8xNZq.d.ts} +4 -3
- package/dist/{idVerificationManager-4wY-Ee4j.esm.js → idVerificationManager-PMGM4hXY.esm.js} +5 -3
- package/dist/{idVerificationStateMachine-Bj00uWvh.esm.js → idVerificationStateMachine-DeeugC00.esm.js} +3 -3
- package/dist/identity-reuse.d.ts +2 -2
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/identity-search.d.ts +97 -0
- package/dist/identity-search.esm.js +97 -0
- package/dist/{identityReuseManager-B1birg5X.d.ts → identityReuseManager-C40ngKeM.d.ts} +82 -15
- package/dist/{identityReuseManager-CCZ-ES2E.esm.js → identityReuseManager-CjFZ7WRa.esm.js} +9 -4
- package/dist/{identityReuseStateMachine-BtpkGpYZ.esm.js → identityReuseStateMachine-CLFjPp13.esm.js} +22 -25
- package/dist/{index-DlVDVTcf.d.ts → index-BKOWUhxG.d.ts} +22 -93
- package/dist/index-DHuAkTe0.d.ts +1 -0
- package/dist/{index-BGnYn_4J.d.ts → index-DxYNO94y.d.ts} +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-BkvXSZfa.esm.js → invokeOnCaptureCallback-lXP41N7b.esm.js} +1 -1
- package/dist/kyb-checks.d.ts +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-CblEL97E.d.ts → kybChecksManager-B7Di9auB.d.ts} +3 -3
- package/dist/{kybChecksManager-x2nBdasv.esm.js → kybChecksManager-eRU3ht0m.esm.js} +3 -2
- package/dist/{kybChecksStateMachine-DdWSo3jQ.esm.js → kybChecksStateMachine-CU0oIYDR.esm.js} +8 -7
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-JNeVXgK8.d.ts → mandatoryConsentManager-C1B2ERZk.d.ts} +6 -5
- package/dist/{mandatoryConsentManager-C9JJGENL.esm.js → mandatoryConsentManager-Dh3pBhOe.esm.js} +5 -3
- package/dist/{mandatoryConsentStateMachine-DLNIGElA.esm.js → mandatoryConsentStateMachine-BjuI72HZ.esm.js} +3 -3
- package/dist/{mediaRecorderOptions-B9-IEVtV.esm.js → mediaRecorderOptions-g1TwTlhd.esm.js} +20 -3
- package/dist/{multipartRecordingService-OmSzHBqh.esm.js → multipartRecordingService-WgK8ieRI.esm.js} +2 -2
- package/dist/{permissionGuards-DFV-Ws0a.esm.js → permissionGuards-pcrrqrPR.esm.js} +1 -1
- package/dist/{permissionServices-D190ATGD.esm.js → permissionServices-DFJlH7K3.esm.js} +1 -1
- package/dist/phone.d.ts +1 -1
- package/dist/phone.esm.js +2 -2
- package/dist/phoneFormat-C3q0Ukh4.esm.js +27 -0
- package/dist/{phoneManager-6nrJkvkG.d.ts → phoneManager-VO1HEoUZ.d.ts} +3 -3
- package/dist/{phoneManager-BylOWecM.esm.js → phoneManager-rA7updqF.esm.js} +5 -3
- package/dist/{phoneServices-Crge7uSV.esm.js → phoneServices-CFXcwCFr.esm.js} +1 -1
- package/dist/{phoneStateMachine-CHnhCS-4.esm.js → phoneStateMachine-DKdY2Scx.esm.js} +4 -4
- package/dist/{processFaceMatch-BveUAHts.esm.js → processFaceMatch-B_DkDTE5.esm.js} +1 -1
- package/dist/qe-signature.d.ts +2 -2
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-BUqAQd8F.esm.js → recordingService-DxiwS8TV.esm.js} +5 -5
- package/dist/redirect-to-mobile.d.ts +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-DUpLyXsq.esm.js → redirectToMobileManager-DjsEtWLq.esm.js} +6 -4
- package/dist/{redirectToMobileManager-Dm9ctRCC.d.ts → redirectToMobileManager-pT6FiPE7.d.ts} +3 -3
- package/dist/{redirectToMobileStateMachine-D0DW4y-f.esm.js → redirectToMobileStateMachine-CMjjUXSu.esm.js} +4 -4
- package/dist/{resolveForm-f9PhUo9j.esm.js → resolveForm-DaaQSVWp.esm.js} +7 -4
- package/dist/{runChildModule-BTMOZdMM.esm.js → runChildModule-CJ_aQO92.esm.js} +8 -6
- package/dist/{sdkVersion-CinXzhdk.esm.js → sdkVersion-C9kbIDeX.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +13 -12
- package/dist/{selfieErrorUtils-D92PpZGe.esm.js → selfieErrorUtils-DUokfsv4.esm.js} +1 -1
- package/dist/{selfieManager-BPOlD-UN.d.ts → selfieManager-DihwheJ6.d.ts} +2 -2
- package/dist/{selfieManager-DX9Ejy4x.esm.js → selfieManager-uJtbzEp9.esm.js} +7 -6
- package/dist/{selfieStateMachine-BfJ5mJ57.esm.js → selfieStateMachine-CKXAmNkA.esm.js} +5 -5
- package/dist/{session-CswNE2eZ.esm.js → session-Bk2K8TEv.esm.js} +4 -4
- package/dist/session.d.ts +2 -2
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-DFtIRfDh.esm.js → sessionInitializer-CUCBGZ_s.esm.js} +120 -135
- package/dist/{setup-Bl3CRduw.esm.js → setup-B3a5KQeI.esm.js} +14 -16
- package/dist/{setup-prV5HQCQ.d.ts → setup-DpOr8H_l.d.ts} +2 -2
- package/dist/signature.d.ts +1 -1
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-QlegdTo3.esm.js → signatureManager-BgAja97K.esm.js} +5 -3
- package/dist/{signatureManager-BpVt_Jv7.d.ts → signatureManager-daT_8fj_.d.ts} +3 -3
- package/dist/{signatureStateMachine-DFbbbFwg.esm.js → signatureStateMachine-CVPmvU2p.esm.js} +3 -3
- package/dist/{spawn-D9jgw9pW.d.ts → spawn-COZKetCS.d.ts} +1 -1
- package/dist/{stats-Bv5PiWvo.esm.js → stats-DoByUnTa.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/thumbmark.esm-CRc0cYvz.esm.js +1242 -0
- package/dist/{tri-BUFivnaE.esm.js → tri-xzRLIIMN.esm.js} +7 -133
- package/dist/tri.d.ts +2 -2
- package/dist/tri.esm-BIjHhBJ2.esm.js +2620 -0
- package/dist/tri.esm.js +2 -2
- package/dist/{trueSightService-CDbmG-Mi.esm.js → trueSightService-BnQDjqUu.esm.js} +7 -4
- package/dist/trust-graph.d.ts +4 -3
- package/dist/trust-graph.esm.js +5 -3
- package/dist/{types-BD9sV5oG.d.ts → types-9wlf1-GE.d.ts} +3 -3
- package/dist/{types-D9vIGFbl.d.ts → types-B-PIc0en.d.ts} +1 -1
- package/dist/{types-BQA7lRDV.d.ts → types-C3rfDzgE.d.ts} +4 -2
- package/dist/types-CE1jkHw3.d.ts +6 -0
- package/dist/{types-BpJ21a4T.d.ts → types-Cpdum4vi.d.ts} +5 -5
- package/dist/{types-BaDx6utW.d.ts → types-DEa3taWc.d.ts} +4 -0
- package/dist/{types-0Rr7etmf.d.ts → types-DFP7eSle.d.ts} +1 -1
- package/dist/{types-LA74KylV.d.ts → types-DJPU3W2M.d.ts} +1 -1
- package/dist/{events-kU5WJU4B.esm.js → types-DYYMdAGv.esm.js} +3 -298
- package/dist/{types-CquDWYfv.d.ts → types-Ddc4Tr_f.d.ts} +33 -4
- package/dist/{urlUtils-B2wagB5v.esm.js → urlUtils-eYiyWjh0.esm.js} +1 -14
- package/dist/video-selfie.d.ts +7 -6
- package/dist/video-selfie.esm.js +14 -13
- package/dist/{videoSelfieCameraWarmer-Dnkiqe0z.esm.js → videoSelfieCameraWarmer-CgqaNI-W.esm.js} +6 -6
- package/dist/{videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js → videoSelfieFlowModuleMachine-IWdxw1TW.esm.js} +1 -1
- package/dist/{videoSelfieStepDetector-B78BE_x9.d.ts → videoSelfieStepDetector-DRrh4P0A.d.ts} +4 -4
- package/dist/{warmup-BO57syF6.d.ts → warmup-BNhIuURi.d.ts} +18 -2
- package/dist/{warmup-DtB0DJpl.esm.js → warmup-BZOMg303.esm.js} +46 -4
- package/dist/wasm.d.ts +9 -3
- package/dist/wasm.esm.js +3 -3
- package/dist/{wasmDsFlagSync-BtiR5pig.esm.js → wasmDsFlagSync-DPK7qGgo.esm.js} +1 -1
- package/dist/{wasmWebClient-BDrax6Eu.esm.js → wasmWebClient-CyLCM31e.esm.js} +22 -32
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-DOYmIiaj.esm.js → watchlistForBusinessManager-BH6M4kqA.esm.js} +5 -3
- package/dist/{watchlistForBusinessManager-DX2AyM4Y.d.ts → watchlistForBusinessManager-l7ZERQcV.d.ts} +3 -3
- package/dist/{watchlistForBusinessStateMachine-D8qIyL8w.esm.js → watchlistForBusinessStateMachine-BMWm5mcP.esm.js} +4 -4
- package/dist/{watchlistManager-BJGLRv-x.esm.js → watchlistManager-BDaVjzLW.esm.js} +5 -3
- package/dist/{watchlistManager-DJQOd8Pw.d.ts → watchlistManager-DQq4GxBO.d.ts} +3 -3
- package/dist/{watchlistStateMachine-DeLfuGSl.esm.js → watchlistStateMachine-Cx-6QAvu.esm.js} +3 -3
- package/dist/workflow.d.ts +230 -44
- package/dist/workflow.esm.js +166 -68
- package/dist/{xstate-actors.esm-8Gzepa_A.esm.js → xstate-actors.esm-BCcwgosu.esm.js} +1 -1
- package/dist/xstate.cjs-D6Ur0X1F.d.ts +7 -0
- package/dist/{xstate.esm-DSajW7CJ.esm.js → xstate.esm-CIqUf_i6.esm.js} +1 -125
- package/package.json +8 -8
- package/dist/Actor-DpTj5PFb.d.ts +0 -1
- package/dist/index-DpTj5PFb.d.ts +0 -1
- package/dist/nationalIds-B91f_RuB.esm.js +0 -99
- package/dist/phoneFormat-DEpESpz2.esm.js +0 -87
- package/dist/step-up.d.ts +0 -378
- package/dist/step-up.esm.js +0 -639
- package/dist/tri.esm-DgtAka_v.esm.js +0 -2145
- package/dist/types-B2M1IPZn.d.ts +0 -6
package/dist/{videoSelfieCameraWarmer-Dnkiqe0z.esm.js → videoSelfieCameraWarmer-CgqaNI-W.esm.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import {
|
|
3
|
+
import { v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-NX4ksmS5.esm.js";
|
|
4
4
|
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-E_Kcre4O.esm.js";
|
|
5
|
-
import { t as checkPermission } from "./permissionServices-
|
|
6
|
-
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
5
|
+
import { t as checkPermission } from "./permissionServices-DFJlH7K3.esm.js";
|
|
6
|
+
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-n9u4dEn_.esm.js";
|
|
7
7
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
8
8
|
import { n as getBackCameraStream } from "./backCameraStream-DS1oDiUq.esm.js";
|
|
9
9
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
|
-
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-
|
|
11
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-
|
|
10
|
+
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-DUokfsv4.esm.js";
|
|
11
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-Drh207VJ.esm.js";
|
|
12
12
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
13
13
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
|
14
14
|
async function postVideoSelfieCompare(endpoint, base64Image) {
|
package/dist/{videoSelfieStepDetector-B78BE_x9.d.ts → videoSelfieStepDetector-DRrh4P0A.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as FlowModuleConfig } from "./types-
|
|
2
|
-
import "./IWasmUtilCapability-
|
|
3
|
-
import { n as DetectionStatus } from "./types-
|
|
1
|
+
import { i as FlowModuleConfig } from "./types-Ddc4Tr_f.js";
|
|
2
|
+
import "./IWasmUtilCapability-BRn0wz8v.js";
|
|
3
|
+
import { n as DetectionStatus } from "./types-9wlf1-GE.js";
|
|
4
4
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
5
|
-
import { t as DetectionOrientation } from "./IIdCaptureCapability-
|
|
5
|
+
import { t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
|
|
6
6
|
//#region src/modules/video-selfie/types.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* The capture steps a Video Selfie session can run, in flow order. Which steps
|
|
@@ -3,6 +3,16 @@ type WasmSource = string | ArrayBuffer | Uint8Array;
|
|
|
3
3
|
type WasmGlueModule = {
|
|
4
4
|
Module?: unknown;
|
|
5
5
|
};
|
|
6
|
+
/**
|
|
7
|
+
* Lazily imports a JavaScript glue module, for example
|
|
8
|
+
* `() => import('@incodetech/wasm-assets/webLib.js')`.
|
|
9
|
+
*
|
|
10
|
+
* Resolve to the glue module unchanged. Do not wrap its `Module` factory to
|
|
11
|
+
* construct, configure or delete WASM API objects such as `UtilityApi`:
|
|
12
|
+
* deleting one ends the page's fingerprint and behavior signal collection
|
|
13
|
+
* for good, and the SDK cannot restart it (ENG-62947). The SDK already
|
|
14
|
+
* silences WASM output unless `showLogs` is `true`.
|
|
15
|
+
*/
|
|
6
16
|
type WasmGlueLoader = () => Promise<WasmGlueModule>;
|
|
7
17
|
type WasmPipeline = 'selfie' | 'onDeviceSelfie' | 'idCapture' | 'videoSelfie' | 'videoSelfieId';
|
|
8
18
|
declare const WASM_MODEL_FILES: {
|
|
@@ -63,9 +73,15 @@ type WasmModuleConfig = {
|
|
|
63
73
|
* `wasmSimdPath`.
|
|
64
74
|
*/
|
|
65
75
|
glueCodeSimdPath?: string;
|
|
66
|
-
/**
|
|
76
|
+
/**
|
|
77
|
+
* Lazy ES-module loader for the standard JavaScript glue. Resolves to the
|
|
78
|
+
* glue module unchanged; see {@link WasmGlueLoader}.
|
|
79
|
+
*/
|
|
67
80
|
loadGlue?: WasmGlueLoader;
|
|
68
|
-
/**
|
|
81
|
+
/**
|
|
82
|
+
* Lazy ES-module loader for the SIMD JavaScript glue. Resolves to the glue
|
|
83
|
+
* module unchanged; see {@link WasmGlueLoader}.
|
|
84
|
+
*/
|
|
69
85
|
loadGlueSimd?: WasmGlueLoader;
|
|
70
86
|
/**
|
|
71
87
|
* Enables the SIMD-first load attempt.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
2
|
-
import { A as WASM_PIPELINE_OPTIONAL_MODEL_NAMES, E as WASM_MODEL_FILES, M as missingWasmModelError, N as resolveWasmSource, O as WASM_PIPELINE_MODELS, P as reportWasmIntegritySummary, _ as emitWasmDiagnostic, b as DEFAULT_WASM_VERSION, c as wasmCallWrapper, f as rearmWasmCallDiagnostics,
|
|
2
|
+
import { A as WASM_PIPELINE_OPTIONAL_MODEL_NAMES, E as WASM_MODEL_FILES, M as missingWasmModelError, N as resolveWasmSource, O as WASM_PIPELINE_MODELS, P as reportWasmIntegritySummary, _ as emitWasmDiagnostic, b as DEFAULT_WASM_VERSION, c as wasmCallWrapper, f as rearmWasmCallDiagnostics, g as acquireWasmStorageFallback, h as onWasmModuleReset, j as buildModelVariantSources, l as notePipelineStatePulled, m as loadWasmModule, n as createWebApiHostAdapter, p as resetWasmCallDiagnostics, w as isDefaultCdnWasmConfig, y as SemaphoreProvider } from "./wasmWebClient-CyLCM31e.esm.js";
|
|
3
3
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
4
4
|
import { t as bindWasmMetadataV2Applier } from "./wasmMetadataVersionSync-U8EFUr1T.esm.js";
|
|
5
5
|
//#region ../infra/src/wasm/wasmEnumMaps.ts
|
|
@@ -449,6 +449,7 @@ var WasmRuntime = class WasmRuntime {
|
|
|
449
449
|
this.wasmModule = null;
|
|
450
450
|
this.workflowApiUtilities = null;
|
|
451
451
|
this.utilityApi = null;
|
|
452
|
+
this.parkedUtilityApi = null;
|
|
452
453
|
this.idCaptureWasmApi = null;
|
|
453
454
|
this.faceProcessingWasmApi = null;
|
|
454
455
|
this.cameraCycleApi = null;
|
|
@@ -473,7 +474,7 @@ var WasmRuntime = class WasmRuntime {
|
|
|
473
474
|
this.wasmModule = wasmModule;
|
|
474
475
|
this.usedSimd_ = simdUsed;
|
|
475
476
|
this.workflowApiUtilities = new this.wasmModule.WorkflowApiUtilities();
|
|
476
|
-
this.utilityApi =
|
|
477
|
+
this.utilityApi = this.takeUtilityApi(this.wasmModule);
|
|
477
478
|
this.utilityApi.setProductionMode(module.showLogs !== true);
|
|
478
479
|
this.utilityApi.smv(this.metadataV2Enabled_);
|
|
479
480
|
installWasmDiagnosticsSink(this.utilityApi);
|
|
@@ -491,6 +492,43 @@ var WasmRuntime = class WasmRuntime {
|
|
|
491
492
|
}
|
|
492
493
|
}
|
|
493
494
|
/**
|
|
495
|
+
* The UtilityApi for `wasmModule`: the parked one when it belongs to that
|
|
496
|
+
* module, else a new one. A parked handle of another module is deleted
|
|
497
|
+
* first; that module is gone, so a failure there must not stop this one.
|
|
498
|
+
*/
|
|
499
|
+
takeUtilityApi(wasmModule) {
|
|
500
|
+
const parked = this.parkedUtilityApi;
|
|
501
|
+
this.parkedUtilityApi = null;
|
|
502
|
+
if (parked?.module === wasmModule) return parked.handle;
|
|
503
|
+
deleteWasmHandle(null, parked?.handle ?? null);
|
|
504
|
+
return new wasmModule.UtilityApi();
|
|
505
|
+
}
|
|
506
|
+
/**
|
|
507
|
+
* Parks the UtilityApi of the module being freed instead of deleting it (see
|
|
508
|
+
* `parkedUtilityApi`). Without a module to tie it to, it is deleted as
|
|
509
|
+
* before.
|
|
510
|
+
*/
|
|
511
|
+
parkUtilityApi(firstFailure, wasmModule, handle) {
|
|
512
|
+
if (handle === null) return firstFailure;
|
|
513
|
+
if (wasmModule === null) return deleteWasmHandle(firstFailure, handle);
|
|
514
|
+
const previous = this.parkedUtilityApi;
|
|
515
|
+
this.parkedUtilityApi = {
|
|
516
|
+
module: wasmModule,
|
|
517
|
+
handle
|
|
518
|
+
};
|
|
519
|
+
return previous !== null && previous.handle !== handle ? deleteWasmHandle(firstFailure, previous.handle) : firstFailure;
|
|
520
|
+
}
|
|
521
|
+
/**
|
|
522
|
+
* Deletes the parked UtilityApi, if any. Runs when `resetWasmModule()` drops
|
|
523
|
+
* the memoized module: its handle can never be reused, and deleting it lets
|
|
524
|
+
* the module be garbage-collected. Never throws.
|
|
525
|
+
*/
|
|
526
|
+
releaseParkedUtilityApi() {
|
|
527
|
+
const parked = this.parkedUtilityApi;
|
|
528
|
+
this.parkedUtilityApi = null;
|
|
529
|
+
deleteWasmHandle(null, parked?.handle ?? null);
|
|
530
|
+
}
|
|
531
|
+
/**
|
|
494
532
|
* Returns initialization status
|
|
495
533
|
* @returns
|
|
496
534
|
*/
|
|
@@ -532,12 +570,15 @@ var WasmRuntime = class WasmRuntime {
|
|
|
532
570
|
this.requireWorkflowApiUtilities("Unable to update pipeline state, cpp API hasn't been initialized").handleDetectionCallAndUpdateState(this.pipelineTypeToWasmEnum(type));
|
|
533
571
|
}
|
|
534
572
|
/**
|
|
535
|
-
* Free allocated memory
|
|
573
|
+
* Free allocated memory. The UtilityApi is parked for the next
|
|
574
|
+
* `initialize()` on the same module rather than deleted (see
|
|
575
|
+
* `parkedUtilityApi`).
|
|
536
576
|
*/
|
|
537
577
|
async freeResources() {
|
|
538
578
|
this.loadedModels.clear();
|
|
539
579
|
const stream = this.unprotectedStream;
|
|
540
580
|
const modelsBuffers = this.modelsBuffers;
|
|
581
|
+
const wasmModule = this.wasmModule;
|
|
541
582
|
const workflowApiUtilities = this.workflowApiUtilities;
|
|
542
583
|
const utilityApi = this.utilityApi;
|
|
543
584
|
const idCaptureWasmApi = this.idCaptureWasmApi;
|
|
@@ -567,7 +608,7 @@ var WasmRuntime = class WasmRuntime {
|
|
|
567
608
|
let firstFailure = releaseCameraCycleResources(stream, cameraCycleApi);
|
|
568
609
|
firstFailure = deleteWasmHandle(firstFailure, modelsBuffers);
|
|
569
610
|
firstFailure = deleteWasmHandle(firstFailure, workflowApiUtilities);
|
|
570
|
-
firstFailure =
|
|
611
|
+
firstFailure = this.parkUtilityApi(firstFailure, wasmModule, utilityApi);
|
|
571
612
|
firstFailure = deleteWasmHandle(firstFailure, idCaptureWasmApi);
|
|
572
613
|
firstFailure = deleteWasmHandle(firstFailure, faceProcessingWasmApi);
|
|
573
614
|
firstFailure = deleteWasmHandle(firstFailure, cameraCycleApi);
|
|
@@ -896,6 +937,7 @@ WasmRuntime.UNINITIALIZED_ENUM_MAP_MESSAGE = "Unable to map pipeline type, cpp A
|
|
|
896
937
|
/** Process-wide runtime. One binary, one heap, one owner. */
|
|
897
938
|
const wasmRuntime = new WasmRuntime();
|
|
898
939
|
bindWasmMetadataV2Applier((enabled) => wasmRuntime.setMetadataV2Enabled(enabled));
|
|
940
|
+
onWasmModuleReset(() => wasmRuntime.releaseParkedUtilityApi());
|
|
899
941
|
//#endregion
|
|
900
942
|
//#region ../infra/src/wasm/warmup.ts
|
|
901
943
|
var warmup_exports = /* @__PURE__ */ __exportAll({
|
package/dist/wasm.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as WASM_MODEL_FILES, c as WasmPipeline, l as WasmSource, o as WasmGlueLoader, r as warmupWasm, s as WasmModelName, t as WarmupConfig } from "./warmup-
|
|
2
|
-
import { c as setWasmConfig, i as initializeWasmUtil, n as WasmConfig, r as ensureWasmPipelines, s as resolveWasmConfigForPipelines, u as upgradeToWasmHttpClient } from "./setup-
|
|
1
|
+
import { a as WASM_MODEL_FILES, c as WasmPipeline, l as WasmSource, o as WasmGlueLoader, r as warmupWasm, s as WasmModelName, t as WarmupConfig } from "./warmup-BNhIuURi.js";
|
|
2
|
+
import { c as setWasmConfig, i as initializeWasmUtil, n as WasmConfig, r as ensureWasmPipelines, s as resolveWasmConfigForPipelines, u as upgradeToWasmHttpClient } from "./setup-DpOr8H_l.js";
|
|
3
3
|
//#region ../infra/src/wasm/wasmDefaults.d.ts
|
|
4
4
|
/** The WASM version bundled and tested with this SDK release. */
|
|
5
|
-
declare const DEFAULT_WASM_VERSION = "v2.14.54-
|
|
5
|
+
declare const DEFAULT_WASM_VERSION = "v2.14.54-post1";
|
|
6
6
|
type UrlWasmConfig = WarmupConfig & {
|
|
7
7
|
wasmPath: string;
|
|
8
8
|
wasmSimdPath: string;
|
|
@@ -25,7 +25,13 @@ type DefineWasmOptions = {
|
|
|
25
25
|
pipelines: readonly WasmPipeline[];
|
|
26
26
|
wasm: WasmSource;
|
|
27
27
|
wasmSimd?: WasmSource;
|
|
28
|
+
/**
|
|
29
|
+
* Imports the standard glue, e.g.
|
|
30
|
+
* `() => import('@incodetech/wasm-assets/webLib.js')`. Return the module
|
|
31
|
+
* unchanged; see {@link WasmGlueLoader}.
|
|
32
|
+
*/
|
|
28
33
|
glue: WasmGlueLoader;
|
|
34
|
+
/** Imports the SIMD glue. Return the module unchanged, like `glue`. */
|
|
29
35
|
glueSimd?: WasmGlueLoader;
|
|
30
36
|
models: Partial<Record<WasmModelName, WasmSource>>;
|
|
31
37
|
/**
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as WASM_PIPELINE_LAZY_MODEL_NAMES, E as WASM_MODEL_FILES, S as buildWasmConfigFromBasePath, T as resolveWasmConfig, b as DEFAULT_WASM_VERSION, k as WASM_PIPELINE_MODEL_NAMES, x as buildDefaultWasmConfig } from "./wasmWebClient-
|
|
2
|
-
import { s as warmupWasm } from "./warmup-
|
|
3
|
-
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { D as WASM_PIPELINE_LAZY_MODEL_NAMES, E as WASM_MODEL_FILES, S as buildWasmConfigFromBasePath, T as resolveWasmConfig, b as DEFAULT_WASM_VERSION, k as WASM_PIPELINE_MODEL_NAMES, x as buildDefaultWasmConfig } from "./wasmWebClient-CyLCM31e.esm.js";
|
|
2
|
+
import { s as warmupWasm } from "./warmup-BZOMg303.esm.js";
|
|
3
|
+
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-B3a5KQeI.esm.js";
|
|
4
4
|
//#region src/defineWasm.ts
|
|
5
5
|
function requiredModels(pipelines) {
|
|
6
6
|
const models = /* @__PURE__ */ new Set();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as utilityWasmApi } from "./WasmUtilProvider-
|
|
1
|
+
import { i as utilityWasmApi } from "./WasmUtilProvider-0xTxgP0R.esm.js";
|
|
2
2
|
//#region ../infra/src/wasm/wasmDsFlagSync.ts
|
|
3
3
|
/**
|
|
4
4
|
* Sets the Deepsight (ds) flag that the WASM utility API receives on every
|
|
@@ -2,7 +2,7 @@ import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.
|
|
|
2
2
|
//#region ../infra/src/wasm/wasmIntegrityManifest.ts
|
|
3
3
|
/** SHA-256 digests of the official WASM release files this SDK loads. */
|
|
4
4
|
const WASM_INTEGRITY_MANIFEST = {
|
|
5
|
-
wasmVersion: "v2.14.54-
|
|
5
|
+
wasmVersion: "v2.14.54-post1",
|
|
6
6
|
files: {
|
|
7
7
|
"models/current/age_estimation_v2_2_2_fp16.ortmodelv2": "70bd372b5e140ea8e9773a25d371cb65e5a9090651fdfe73ab6fc7ce25d59c83",
|
|
8
8
|
"models/current/barcode_enhance_896x224_fp16.ortmodelv2": "bccecd74abf48181efb95bf020784b7e50d37ae255bf89c14c2c5186976279e0",
|
|
@@ -24,14 +24,14 @@ const WASM_INTEGRITY_MANIFEST = {
|
|
|
24
24
|
"models/legacy/mls_regressor_4773007c657b4f05a460321456740d0f_fp16.ortmodelv2": "e41887f75b284ba1f973f2a26209bf365da8a587d266492b642e5b7c36716069",
|
|
25
25
|
"models/legacy/ondevice_physical_liveness_v2_1_fp16.ortmodelv2": "405eee9fd961c48fff608246ef579dc8ce9f0b5ce51361e05dac7d9afcf9162d",
|
|
26
26
|
"models/legacy/selfie_bf_angles_192x192_opset9_fp16.ortmodelv2": "1c8dda528d5111fa7b4272ffabca7cf0a59099f57258aaece7262974aebafc4a",
|
|
27
|
-
"webLib.js": "
|
|
28
|
-
"webLib.wasm": "
|
|
29
|
-
"webLibSimd.js": "
|
|
30
|
-
"webLibSimd.wasm": "
|
|
27
|
+
"webLib.js": "9d31d54105461d31718176d5d6a69b1849d42f0afb73e192d77ebba207207bde",
|
|
28
|
+
"webLib.wasm": "5d3f99aacaabfabc31c4b0f73d4add5cdf6915704af1bca1edac48485a796717",
|
|
29
|
+
"webLibSimd.js": "13d23150b1c4f9aa7ec8ede40191a96c871f3ef43377dfc015bc059a6b70cad4",
|
|
30
|
+
"webLibSimd.wasm": "739459b359528125290e74dc0a560aeb3027000a53e5a3881b19303c1b897715"
|
|
31
31
|
},
|
|
32
32
|
dist: {
|
|
33
|
-
"webLib.js": "
|
|
34
|
-
"webLibSimd.js": "
|
|
33
|
+
"webLib.js": "414f13bcc2edf21ca152e69ad75b24bde8132b8453cd9f1ded2eed89c40a0b09",
|
|
34
|
+
"webLibSimd.js": "68e135b90936732c251485fbaa7699e7528d5ed97a30b9ab4723644c9d3b0db9"
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
//#endregion
|
|
@@ -314,7 +314,7 @@ function deriveSiblingJsPath(wasmPath) {
|
|
|
314
314
|
//#region ../infra/src/wasm/wasmDefaults.ts
|
|
315
315
|
const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
|
|
316
316
|
/** The WASM version bundled and tested with this SDK release. */
|
|
317
|
-
const DEFAULT_WASM_VERSION = "v2.14.54-
|
|
317
|
+
const DEFAULT_WASM_VERSION = "v2.14.54-post1";
|
|
318
318
|
const PATH_KEYS = [
|
|
319
319
|
"wasmPath",
|
|
320
320
|
"wasmSimdPath",
|
|
@@ -425,7 +425,7 @@ const BARCODE_ENHANCE_MODEL_FILE = WASM_MODEL_FILES.barcode;
|
|
|
425
425
|
* NOT part of any warmup model bundle.
|
|
426
426
|
*/
|
|
427
427
|
function getBarcodeEnhanceModelUrl(modelsBasePath, variant = "current") {
|
|
428
|
-
const source = buildModelVariantSources(modelsBasePath ?? `${WASM_CDN_BASE_URL}/v2.14.54-
|
|
428
|
+
const source = buildModelVariantSources(modelsBasePath ?? `${WASM_CDN_BASE_URL}/v2.14.54-post1/models`, BARCODE_ENHANCE_MODEL_FILE);
|
|
429
429
|
return typeof source === "string" ? source : source[variant];
|
|
430
430
|
}
|
|
431
431
|
/**
|
|
@@ -597,27 +597,6 @@ async function importVerifiedGlue(bytes) {
|
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
599
|
//#endregion
|
|
600
|
-
//#region ../infra/src/wasm/wasmStartGate.ts
|
|
601
|
-
/**
|
|
602
|
-
* SDK 2's own addition, not mirrored from ml-wasm-kit.
|
|
603
|
-
*
|
|
604
|
-
* Holds back the WASM module load while another fingerprint module on the
|
|
605
|
-
* page initializes, such as TRI's fpSignals build. ML-Wasm's integration
|
|
606
|
-
* guide: on the legacy build the two modules must be initialized one after
|
|
607
|
-
* the other, since both use `window.wasmArrayBuffer`.
|
|
608
|
-
*/
|
|
609
|
-
let startGate = null;
|
|
610
|
-
/** Sets what the next module load waits for; `null` removes the wait. */
|
|
611
|
-
function setWasmStartGate(gate) {
|
|
612
|
-
startGate = gate;
|
|
613
|
-
}
|
|
614
|
-
/** Settles with the gate. A gate that rejects or throws never blocks the load. */
|
|
615
|
-
async function waitForWasmStartGate() {
|
|
616
|
-
try {
|
|
617
|
-
await startGate?.();
|
|
618
|
-
} catch {}
|
|
619
|
-
}
|
|
620
|
-
//#endregion
|
|
621
600
|
//#region ../infra/src/wasm/wasmStorageFallback.ts
|
|
622
601
|
/**
|
|
623
602
|
* SDK-local compatibility fallback for ml-wasm-kit releases whose embind
|
|
@@ -884,7 +863,6 @@ async function loadWasmModule(config) {
|
|
|
884
863
|
if (loadPromise) return loadPromise;
|
|
885
864
|
const startedAtMs = getTimestamp();
|
|
886
865
|
loadPromise = (async () => {
|
|
887
|
-
await waitForWasmStartGate();
|
|
888
866
|
let storageFallbackLease = null;
|
|
889
867
|
try {
|
|
890
868
|
storageFallbackLease = acquireWasmStorageFallback();
|
|
@@ -950,6 +928,18 @@ async function loadWasmModule(config) {
|
|
|
950
928
|
})();
|
|
951
929
|
return loadPromise;
|
|
952
930
|
}
|
|
931
|
+
const moduleResetListeners = /* @__PURE__ */ new Set();
|
|
932
|
+
/**
|
|
933
|
+
* Runs `listener` every time {@link resetWasmModule} drops the memoized
|
|
934
|
+
* module. `WasmRuntime` uses it to delete the UtilityApi it keeps for that
|
|
935
|
+
* module. Returns the unsubscribe function.
|
|
936
|
+
*/
|
|
937
|
+
function onWasmModuleReset(listener) {
|
|
938
|
+
moduleResetListeners.add(listener);
|
|
939
|
+
return () => {
|
|
940
|
+
moduleResetListeners.delete(listener);
|
|
941
|
+
};
|
|
942
|
+
}
|
|
953
943
|
function emptyCounters() {
|
|
954
944
|
return {
|
|
955
945
|
analyzeFrameCount: 0,
|
|
@@ -1300,4 +1290,4 @@ function ensureReady() {
|
|
|
1300
1290
|
return webClientApi;
|
|
1301
1291
|
}
|
|
1302
1292
|
//#endregion
|
|
1303
|
-
export { WASM_PIPELINE_OPTIONAL_MODEL_NAMES as A, getBarcodeEnhanceModelUrl as C, WASM_PIPELINE_LAZY_MODEL_NAMES as D, WASM_MODEL_FILES as E, setWasmIntegrityObserver as F, missingWasmModelError as M, resolveWasmSource as N, WASM_PIPELINE_MODELS as O, reportWasmIntegritySummary as P, buildWasmConfigFromBasePath as S, resolveWasmConfig as T, emitWasmDiagnostic as _, setWebApiHttpTransport as a, DEFAULT_WASM_VERSION as b, wasmCallWrapper as c, noteUnlockedCallStart as d, rearmWasmCallDiagnostics as f,
|
|
1293
|
+
export { WASM_PIPELINE_OPTIONAL_MODEL_NAMES as A, getBarcodeEnhanceModelUrl as C, WASM_PIPELINE_LAZY_MODEL_NAMES as D, WASM_MODEL_FILES as E, setWasmIntegrityObserver as F, missingWasmModelError as M, resolveWasmSource as N, WASM_PIPELINE_MODELS as O, reportWasmIntegritySummary as P, buildWasmConfigFromBasePath as S, resolveWasmConfig as T, emitWasmDiagnostic as _, setWebApiHttpTransport as a, DEFAULT_WASM_VERSION as b, wasmCallWrapper as c, noteUnlockedCallStart as d, rearmWasmCallDiagnostics as f, acquireWasmStorageFallback as g, onWasmModuleReset as h, initializeWasmWebClient as i, buildModelVariantSources as j, WASM_PIPELINE_MODEL_NAMES as k, notePipelineStatePulled as l, loadWasmModule as m, createWebApiHostAdapter as n, setupWasmConnection as o, resetWasmCallDiagnostics as p, executeWasmRequest as r, ML_CALL_MAX_POLLS as s, WasmWebClientError as t, noteUnlockedCallEnd as u, setWasmDiagnosticsHandler as v, isDefaultCdnWasmConfig as w, buildDefaultWasmConfig as x, SemaphoreProvider as y };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as WatchlistForBusinessValidationErrors, t as WatchlistForBusinessConfig } from "./types-B9C8W01q.js";
|
|
2
|
-
import { a as createWatchlistForBusinessManager, c as watchlistForBusinessMachine, i as WatchlistForBusinessState, n as WatchlistForBusinessFormState, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager, s as WatchlistForBusinessActor, t as WatchlistForBusinessFinishedState } from "./watchlistForBusinessManager-
|
|
2
|
+
import { a as createWatchlistForBusinessManager, c as watchlistForBusinessMachine, i as WatchlistForBusinessState, n as WatchlistForBusinessFormState, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager, s as WatchlistForBusinessActor, t as WatchlistForBusinessFinishedState } from "./watchlistForBusinessManager-l7ZERQcV.js";
|
|
3
3
|
export { type WatchlistForBusinessActor, type WatchlistForBusinessConfig, type WatchlistForBusinessFinishedState, type WatchlistForBusinessFormState, type WatchlistForBusinessManager, type WatchlistForBusinessState, type WatchlistForBusinessValidationErrors, createWatchlistForBusinessManager, createWatchlistForBusinessManagerFromActor, watchlistForBusinessMachine };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-
|
|
2
|
-
import { n as createWatchlistForBusinessManagerFromActor, t as createWatchlistForBusinessManager } from "./watchlistForBusinessManager-
|
|
1
|
+
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-BMWm5mcP.esm.js";
|
|
2
|
+
import { n as createWatchlistForBusinessManagerFromActor, t as createWatchlistForBusinessManager } from "./watchlistForBusinessManager-BH6M4kqA.esm.js";
|
|
3
3
|
export { createWatchlistForBusinessManager, createWatchlistForBusinessManagerFromActor, watchlistForBusinessMachine };
|
package/dist/watchlist.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as WatchlistState, o as watchlistMachine, r as createWatchlistManager, t as WatchlistManager } from "./watchlistManager-
|
|
1
|
+
import { n as WatchlistState, o as watchlistMachine, r as createWatchlistManager, t as WatchlistManager } from "./watchlistManager-DQq4GxBO.js";
|
|
2
2
|
//#region src/modules/watchlist/types.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Configuration options for the global watchlist module.
|
package/dist/watchlist.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as watchlistMachine } from "./watchlistStateMachine-
|
|
2
|
-
import { t as createWatchlistManager } from "./watchlistManager-
|
|
1
|
+
import { t as watchlistMachine } from "./watchlistStateMachine-Cx-6QAvu.esm.js";
|
|
2
|
+
import { t as createWatchlistManager } from "./watchlistManager-BDaVjzLW.esm.js";
|
|
3
3
|
export { createWatchlistManager, watchlistMachine };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { n as eventModuleNames
|
|
1
|
+
import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
|
|
2
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
4
|
+
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
|
+
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
+
import { n as watchlistForBusinessMachine, t as getMaxDateOfIncorporation } from "./watchlistForBusinessStateMachine-BMWm5mcP.esm.js";
|
|
5
7
|
//#region src/modules/watchlist-for-business/watchlistForBusinessActor.ts
|
|
6
8
|
function createWatchlistForBusinessActor(options = {}) {
|
|
7
9
|
return createActor(watchlistForBusinessMachine, { input: { config: options.config ?? {} } }).start();
|
package/dist/{watchlistForBusinessManager-DX2AyM4Y.d.ts → watchlistForBusinessManager-l7ZERQcV.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as ActorRefFrom } from "./spawn-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./Actor-
|
|
1
|
+
import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
|
|
2
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
3
|
+
import "./Actor-DqjOqDfU.js";
|
|
4
4
|
import { n as WatchlistForBusinessValidationErrors, t as WatchlistForBusinessConfig } from "./types-B9C8W01q.js";
|
|
5
5
|
//#region src/modules/watchlist-for-business/watchlistForBusinessStateMachine.d.ts
|
|
6
6
|
declare const watchlistForBusinessMachine: any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
3
|
-
import { i as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
5
|
-
import { r as validateCNPJ, t as COUNTRIES_WITH_CNPJ_VALIDATION } from "./cnpj-
|
|
2
|
+
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
3
|
+
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
5
|
+
import { r as validateCNPJ, t as COUNTRIES_WITH_CNPJ_VALIDATION } from "./cnpj-Bl_olpdX.esm.js";
|
|
6
6
|
//#region ../infra/src/time/epochMsToLocalIsoDate.ts
|
|
7
7
|
/**
|
|
8
8
|
* Converts an epoch-milliseconds timestamp to the user's local calendar date
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { n as eventModuleNames
|
|
1
|
+
import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
|
|
2
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
4
|
+
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
|
+
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
+
import { t as watchlistMachine } from "./watchlistStateMachine-Cx-6QAvu.esm.js";
|
|
5
7
|
//#region src/modules/watchlist/watchlistActor.ts
|
|
6
8
|
function createWatchlistActor() {
|
|
7
9
|
return createActor(watchlistMachine).start();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as ActorRefFrom } from "./spawn-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./Actor-
|
|
1
|
+
import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
|
|
2
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
3
|
+
import "./Actor-DqjOqDfU.js";
|
|
4
4
|
//#region src/modules/watchlist/watchlistStateMachine.d.ts
|
|
5
5
|
type WatchlistResult = 'success' | 'skipped';
|
|
6
6
|
declare const watchlistMachine: any;
|
package/dist/{watchlistStateMachine-DeLfuGSl.esm.js → watchlistStateMachine-Cx-6QAvu.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
-
import { i as assign, t as setup } from "./xstate.esm-
|
|
3
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
2
|
+
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
|
+
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
//#region src/modules/watchlist/watchlistServices.ts
|
|
5
5
|
async function processWatchlist(signal) {
|
|
6
6
|
const res = await api.post(endpoints.processGlobalWatchlist, {}, { signal });
|