@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/tri.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { createTRISession,
|
|
1
|
+
import { a as resetTRI, c as startTRI, l as stopTRI, r as isTRIStarted, s as setupTRI, t as createTRISession } from "./tri-xzRLIIMN.esm.js";
|
|
2
|
+
export { createTRISession, isTRIStarted, resetTRI, setupTRI, startTRI, stopTRI };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { T as resolveWasmConfig, _ as emitWasmDiagnostic, a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError } from "./wasmWebClient-
|
|
1
|
+
import { T as resolveWasmConfig, _ as emitWasmDiagnostic, a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError } from "./wasmWebClient-CyLCM31e.esm.js";
|
|
2
2
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-
|
|
5
|
-
import
|
|
3
|
+
import { S as subscribeEvent, n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
4
|
+
import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
5
|
+
import "./events-CP3yOzAl.esm.js";
|
|
6
|
+
import { t as SDK_VERSION } from "./sdkVersion-C9kbIDeX.esm.js";
|
|
6
7
|
import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
7
8
|
/** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
|
|
8
9
|
const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
|
|
@@ -1302,6 +1303,8 @@ const MODULE_SUBSYSTEMS = {
|
|
|
1302
1303
|
[eventModuleNames.geolocation]: "module.geolocation",
|
|
1303
1304
|
[eventModuleNames.ekyb]: "module.e-kyb",
|
|
1304
1305
|
[eventModuleNames.identityReuse]: "module.identity-reuse",
|
|
1306
|
+
[eventModuleNames.identityReusePath]: "module.identity-reuse-path",
|
|
1307
|
+
[eventModuleNames.identitySearch]: "module.identity-search",
|
|
1305
1308
|
[eventModuleNames.antifraud]: "module.antifraud",
|
|
1306
1309
|
[eventModuleNames.aeSignature]: "module.ae-signature",
|
|
1307
1310
|
[eventModuleNames.qeSignature]: "module.qe-signature",
|
package/dist/trust-graph.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { b as NonReducibleUnknown, c as AnyEventObject, j as StateMachine, m as EventObject, y as MetaObject } from "./spawn-COZKetCS.js";
|
|
2
|
+
import "./xstate.cjs-D6Ur0X1F.js";
|
|
3
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
3
4
|
//#region src/modules/trust-graph/trustGraphManager.d.ts
|
|
4
5
|
type TrustGraphIdleState = {
|
|
5
6
|
status: 'idle';
|
|
@@ -55,7 +56,7 @@ type TrustGraphContext = Record<string, never>;
|
|
|
55
56
|
* external event (e.g. `LOAD`) would therefore never complete inside a flow,
|
|
56
57
|
* leaving an empty shell on screen and the session permanently incomplete.
|
|
57
58
|
*
|
|
58
|
-
* Mirror the `noOpFlowModuleMachine` / `
|
|
59
|
+
* Mirror the `noOpFlowModuleMachine` / `workflowIdentitySearchMachine` headless pattern:
|
|
59
60
|
* start directly in the `final` state.
|
|
60
61
|
*/
|
|
61
62
|
declare const trustGraphMachine: StateMachine<TrustGraphContext, AnyEventObject, {}, never, never, never, never, "finished", string, NonReducibleUnknown, NonReducibleUnknown, EventObject, MetaObject, {
|
package/dist/trust-graph.esm.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames
|
|
2
|
-
import {
|
|
1
|
+
import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
|
|
3
|
+
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
|
+
import { s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
5
|
//#region src/modules/trust-graph/trustGraphStateMachine.ts
|
|
4
6
|
/**
|
|
5
7
|
* Trust-graph is a headless "skip" module: it has no UI and the SDK performs no
|
|
@@ -12,7 +14,7 @@ import { s as createActor, t as setup, u as createManager } from "./xstate.esm-D
|
|
|
12
14
|
* external event (e.g. `LOAD`) would therefore never complete inside a flow,
|
|
13
15
|
* leaving an empty shell on screen and the session permanently incomplete.
|
|
14
16
|
*
|
|
15
|
-
* Mirror the `noOpFlowModuleMachine` / `
|
|
17
|
+
* Mirror the `noOpFlowModuleMachine` / `workflowIdentitySearchMachine` headless pattern:
|
|
16
18
|
* start directly in the `final` state.
|
|
17
19
|
*/
|
|
18
20
|
const trustGraphMachine = setup({ types: { context: {} } }).createMachine({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as AvatarAssetsOverrides } from "./createFaceAvatar-
|
|
2
|
-
import { n as Flow, s as SelfieConcealmentOption } from "./types-
|
|
3
|
-
import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-
|
|
1
|
+
import { a as AvatarAssetsOverrides } from "./createFaceAvatar-BimBTONm.js";
|
|
2
|
+
import { n as Flow, s as SelfieConcealmentOption } from "./types-Ddc4Tr_f.js";
|
|
3
|
+
import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-BRn0wz8v.js";
|
|
4
4
|
//#region src/internal/faceCapture/types.d.ts
|
|
5
5
|
type CameraResolution = {
|
|
6
6
|
width?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as FieldDef } from "./textRules-D4NRinKY.js";
|
|
2
|
-
import { a as EkycFormValues, c as EkycValidationErrors, l as EkycValidationRule } from "./types-
|
|
2
|
+
import { a as EkycFormValues, c as EkycValidationErrors, l as EkycValidationRule } from "./types-DEa3taWc.js";
|
|
3
3
|
//#region src/modules/ekyc-prefill/types.d.ts
|
|
4
4
|
/** One input of the served configuration. */
|
|
5
5
|
type EkycPrefillServedField = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as AnyStateMachine } from "./spawn-
|
|
2
|
-
import "./Manager-
|
|
1
|
+
import { l as AnyStateMachine } from "./spawn-COZKetCS.js";
|
|
2
|
+
import "./Manager-DufwKlav.js";
|
|
3
3
|
//#region src/internal/orchestration/types.d.ts
|
|
4
4
|
/** Eager module: a pre-imported state machine. */
|
|
5
5
|
type EagerModule = AnyStateMachine;
|
|
@@ -42,9 +42,11 @@ type RunChildModuleInput = {
|
|
|
42
42
|
type RunChildModuleEvent = {
|
|
43
43
|
type: 'MODULE_COMPLETE';
|
|
44
44
|
output?: unknown;
|
|
45
|
+
fromChild: true;
|
|
45
46
|
} | {
|
|
46
47
|
type: 'MODULE_ERROR';
|
|
47
48
|
error: unknown;
|
|
49
|
+
fromChild: true;
|
|
48
50
|
};
|
|
49
51
|
//#endregion
|
|
50
52
|
export { WorkflowModuleRegistry as a, RunChildModuleInput as i, ModuleRegistry as n, RunChildModuleEvent as r, ModuleConfigMappers as t };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { i as FlowModuleConfig } from "./types-Ddc4Tr_f.js";
|
|
2
|
+
import { t as BaseFaceCaptureConfig } from "./types-9wlf1-GE.js";
|
|
3
|
+
//#region src/modules/authentication/types.d.ts
|
|
4
|
+
type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { AuthenticationConfig as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { y as IncodeCanvas } from "./createFaceAvatar-
|
|
2
|
-
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-
|
|
3
|
-
import { a as IStorageCapability } from "./IWasmUtilCapability-
|
|
1
|
+
import { y as IncodeCanvas } from "./createFaceAvatar-BimBTONm.js";
|
|
2
|
+
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-Ddc4Tr_f.js";
|
|
3
|
+
import { a as IStorageCapability } from "./IWasmUtilCapability-BRn0wz8v.js";
|
|
4
4
|
import { t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
5
|
-
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
5
|
+
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-ixfy84ys.js";
|
|
6
6
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
7
|
-
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-
|
|
7
|
+
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
|
|
8
8
|
import { n as IGeolocationCapability, t as GeolocationCoords } from "./IGeolocationCapability-r49Qo7rR.js";
|
|
9
9
|
//#region ../infra/src/capabilities/IDigitalCredentialsCapability.d.ts
|
|
10
10
|
/**
|
|
@@ -29,6 +29,8 @@ type EkycDisplayModes = Partial<Record<keyof EkycVerificationFields, EkycFieldDi
|
|
|
29
29
|
type EkycModuleConfig = {
|
|
30
30
|
source: string;
|
|
31
31
|
enablePhoneRisk?: boolean;
|
|
32
|
+
/** The backend runs the checks from earlier modules' data; the SDK skips the step. */
|
|
33
|
+
autoExecution?: boolean;
|
|
32
34
|
checkName?: boolean;
|
|
33
35
|
nameSource?: string;
|
|
34
36
|
checkEmail?: boolean;
|
|
@@ -93,6 +95,8 @@ type EkycConfig = {
|
|
|
93
95
|
source?: string;
|
|
94
96
|
fieldsCountry?: string;
|
|
95
97
|
enablePhoneRisk?: boolean;
|
|
98
|
+
/** The backend runs the checks from earlier modules' data; the SDK skips the step. */
|
|
99
|
+
autoExecution?: boolean;
|
|
96
100
|
/** Each group's display mode; a group that is absent is editable. */
|
|
97
101
|
displayModes?: EkycDisplayModes;
|
|
98
102
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { t as api } from "./api-C_P9YXbL.esm.js";
|
|
3
2
|
//#region src/internal/events/eventBus.ts
|
|
4
3
|
function createEventBus() {
|
|
5
4
|
const listeners = [];
|
|
@@ -139,188 +138,6 @@ function addEvent(event) {
|
|
|
139
138
|
analyticsBatcher.enqueue(entry);
|
|
140
139
|
}
|
|
141
140
|
//#endregion
|
|
142
|
-
//#region src/internal/events/AnalyticsBatchingService.ts
|
|
143
|
-
const DEFAULT_MAX_BATCH_SIZE = 50;
|
|
144
|
-
const MAX_STATE_BATCH_SIZE = 50;
|
|
145
|
-
const DEFAULT_MAX_BATCH_AGE_MS = 1e3;
|
|
146
|
-
const DEFAULT_MAX_RETRIES = 2;
|
|
147
|
-
const RETRY_BASE_DELAY_MS = 250;
|
|
148
|
-
function isTransientStatus(status) {
|
|
149
|
-
return status === 0 || status >= 500 || status === 408 || status === 429;
|
|
150
|
-
}
|
|
151
|
-
function createAnalyticsBatchingService(options) {
|
|
152
|
-
const { endpoint, authToken, pageLifecycle, timer, apiBaseUrl, apiClient = api, maxBatchSize = DEFAULT_MAX_BATCH_SIZE, maxBatchAgeMs = DEFAULT_MAX_BATCH_AGE_MS, maxRetries = DEFAULT_MAX_RETRIES } = options;
|
|
153
|
-
let buffer = [];
|
|
154
|
-
let stateBuffer = [];
|
|
155
|
-
let stateToken = null;
|
|
156
|
-
let stateBatches = [];
|
|
157
|
-
let stateRequestInFlight = false;
|
|
158
|
-
let started = false;
|
|
159
|
-
let disposed = false;
|
|
160
|
-
let ageTimerHandle = null;
|
|
161
|
-
let unsubscribeLifecycle = null;
|
|
162
|
-
let warnedNullToken = false;
|
|
163
|
-
function clearAgeTimer() {
|
|
164
|
-
if (ageTimerHandle !== null) {
|
|
165
|
-
timer.clearTimeout(ageTimerHandle);
|
|
166
|
-
ageTimerHandle = null;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
function armAgeTimerIfNeeded() {
|
|
170
|
-
if (ageTimerHandle === null) ageTimerHandle = timer.setTimeout(() => {
|
|
171
|
-
ageTimerHandle = null;
|
|
172
|
-
flush();
|
|
173
|
-
}, maxBatchAgeMs);
|
|
174
|
-
}
|
|
175
|
-
function dropTokenless() {
|
|
176
|
-
if (!warnedNullToken) {
|
|
177
|
-
warnedNullToken = true;
|
|
178
|
-
console.warn("[AnalyticsBatchingService] Dropping batch: no auth token at flush time.");
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
function sendBatch(batch, attempt) {
|
|
182
|
-
let promise;
|
|
183
|
-
try {
|
|
184
|
-
promise = apiClient.post(endpoint, batch, { keepalive: true });
|
|
185
|
-
} catch (error) {
|
|
186
|
-
handleSendError(batch, error, attempt);
|
|
187
|
-
return;
|
|
188
|
-
}
|
|
189
|
-
promise.catch((error) => handleSendError(batch, error, attempt));
|
|
190
|
-
}
|
|
191
|
-
function handleSendError(batch, error, attempt) {
|
|
192
|
-
if (disposed) return;
|
|
193
|
-
if (!isTransientStatus(error && typeof error === "object" && "status" in error ? Number(error.status) || 0 : 0)) return;
|
|
194
|
-
if (attempt >= maxRetries) return;
|
|
195
|
-
const delay = RETRY_BASE_DELAY_MS * 2 ** attempt;
|
|
196
|
-
timer.setTimeout(() => {
|
|
197
|
-
if (disposed) return;
|
|
198
|
-
sendBatch(batch, attempt + 1);
|
|
199
|
-
}, delay);
|
|
200
|
-
}
|
|
201
|
-
function flush() {
|
|
202
|
-
if (disposed || buffer.length === 0) return;
|
|
203
|
-
const batch = buffer;
|
|
204
|
-
buffer = [];
|
|
205
|
-
clearAgeTimer();
|
|
206
|
-
if (!authToken()) {
|
|
207
|
-
dropTokenless();
|
|
208
|
-
return;
|
|
209
|
-
}
|
|
210
|
-
sendBatch(batch, 0);
|
|
211
|
-
}
|
|
212
|
-
function syncStateToken() {
|
|
213
|
-
const token = authToken();
|
|
214
|
-
if (token !== stateToken) {
|
|
215
|
-
stateBuffer = [];
|
|
216
|
-
stateBatches = [];
|
|
217
|
-
stateToken = token;
|
|
218
|
-
}
|
|
219
|
-
return token;
|
|
220
|
-
}
|
|
221
|
-
function sendNextStateBatch() {
|
|
222
|
-
if (disposed || !started || stateRequestInFlight || stateBatches.length === 0) return;
|
|
223
|
-
const token = syncStateToken();
|
|
224
|
-
const batch = stateBatches.shift();
|
|
225
|
-
if (!batch || !token) return;
|
|
226
|
-
stateRequestInFlight = true;
|
|
227
|
-
const onSettled = () => {
|
|
228
|
-
stateRequestInFlight = false;
|
|
229
|
-
sendNextStateBatch();
|
|
230
|
-
};
|
|
231
|
-
try {
|
|
232
|
-
apiClient.post(endpoint, batch.events, {
|
|
233
|
-
keepalive: true,
|
|
234
|
-
headers: { "X-Incode-Hardware-Id": batch.token }
|
|
235
|
-
}).then(onSettled, onSettled);
|
|
236
|
-
} catch {
|
|
237
|
-
Promise.resolve().then(onSettled);
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
function flushStateChanges() {
|
|
241
|
-
if (disposed) return;
|
|
242
|
-
const token = syncStateToken();
|
|
243
|
-
if (!token || stateBuffer.length === 0) return;
|
|
244
|
-
stateBatches.push({
|
|
245
|
-
events: stateBuffer,
|
|
246
|
-
token
|
|
247
|
-
});
|
|
248
|
-
stateBuffer = [];
|
|
249
|
-
sendNextStateBatch();
|
|
250
|
-
}
|
|
251
|
-
function sendBeacon(batch, token) {
|
|
252
|
-
const url = `${apiBaseUrl().replace(/\/$/, "")}${endpoint}`;
|
|
253
|
-
const body = JSON.stringify({
|
|
254
|
-
token,
|
|
255
|
-
events: batch
|
|
256
|
-
});
|
|
257
|
-
pageLifecycle.sendBeacon(url, body);
|
|
258
|
-
}
|
|
259
|
-
function handlePageHide() {
|
|
260
|
-
if (disposed) return;
|
|
261
|
-
const token = syncStateToken();
|
|
262
|
-
const pendingStates = stateBatches;
|
|
263
|
-
stateBatches = [];
|
|
264
|
-
if (token && stateBuffer.length > 0) pendingStates.push({
|
|
265
|
-
events: stateBuffer,
|
|
266
|
-
token
|
|
267
|
-
});
|
|
268
|
-
stateBuffer = [];
|
|
269
|
-
for (const batch of pendingStates) sendBeacon(batch.events, batch.token);
|
|
270
|
-
if (buffer.length === 0) return;
|
|
271
|
-
const batch = buffer;
|
|
272
|
-
buffer = [];
|
|
273
|
-
clearAgeTimer();
|
|
274
|
-
if (!token) {
|
|
275
|
-
dropTokenless();
|
|
276
|
-
return;
|
|
277
|
-
}
|
|
278
|
-
sendBeacon(batch, token);
|
|
279
|
-
}
|
|
280
|
-
function enqueue(entry) {
|
|
281
|
-
if (disposed) return;
|
|
282
|
-
if (entry.code === "stateChanged") {
|
|
283
|
-
if (!syncStateToken()) return;
|
|
284
|
-
stateBuffer.push(entry);
|
|
285
|
-
if (stateBuffer.length === MAX_STATE_BATCH_SIZE) flushStateChanges();
|
|
286
|
-
return;
|
|
287
|
-
}
|
|
288
|
-
buffer.push(entry);
|
|
289
|
-
if (entry.code === "captureAttemptFinished" || entry.code === "moduleClosed" || entry.code === "errorTriggered" || entry.code === "background") flushStateChanges();
|
|
290
|
-
if (!started) return;
|
|
291
|
-
if (buffer.length >= maxBatchSize) {
|
|
292
|
-
flush();
|
|
293
|
-
return;
|
|
294
|
-
}
|
|
295
|
-
armAgeTimerIfNeeded();
|
|
296
|
-
}
|
|
297
|
-
function start() {
|
|
298
|
-
if (started || disposed) return;
|
|
299
|
-
started = true;
|
|
300
|
-
unsubscribeLifecycle = pageLifecycle.onPageHide(handlePageHide);
|
|
301
|
-
if (buffer.length > 0) flush();
|
|
302
|
-
sendNextStateBatch();
|
|
303
|
-
}
|
|
304
|
-
function dispose() {
|
|
305
|
-
if (disposed) return;
|
|
306
|
-
disposed = true;
|
|
307
|
-
clearAgeTimer();
|
|
308
|
-
unsubscribeLifecycle?.();
|
|
309
|
-
unsubscribeLifecycle = null;
|
|
310
|
-
buffer = [];
|
|
311
|
-
stateBuffer = [];
|
|
312
|
-
stateBatches = [];
|
|
313
|
-
stateToken = null;
|
|
314
|
-
}
|
|
315
|
-
return {
|
|
316
|
-
enqueue,
|
|
317
|
-
start,
|
|
318
|
-
flush,
|
|
319
|
-
flushStateChanges,
|
|
320
|
-
dispose
|
|
321
|
-
};
|
|
322
|
-
}
|
|
323
|
-
//#endregion
|
|
324
141
|
//#region src/internal/events/helpers.ts
|
|
325
142
|
function screenEvent(params) {
|
|
326
143
|
addEvent({
|
|
@@ -423,120 +240,6 @@ function experimentAssigned(module, payload, screen) {
|
|
|
423
240
|
});
|
|
424
241
|
}
|
|
425
242
|
//#endregion
|
|
426
|
-
//#region src/internal/events/experimentAssignment.ts
|
|
427
|
-
const assignedExperiments = /* @__PURE__ */ new Set();
|
|
428
|
-
/**
|
|
429
|
-
* Records an `experimentAssigned` interview-event, but only the first time
|
|
430
|
-
* for a given `dedupeKey` (pass the experiment's `storeParam`) since the
|
|
431
|
-
* last `resetExperimentAssignments()` call.
|
|
432
|
-
*/
|
|
433
|
-
function recordExperimentAssignmentOnce(module, dedupeKey, payload, screenName) {
|
|
434
|
-
if (assignedExperiments.has(dedupeKey)) return;
|
|
435
|
-
assignedExperiments.add(dedupeKey);
|
|
436
|
-
experimentAssigned(module, payload, screenName);
|
|
437
|
-
}
|
|
438
|
-
/** Clears the assignment dedup guard. Called from `reset()`. */
|
|
439
|
-
function resetExperimentAssignments() {
|
|
440
|
-
assignedExperiments.clear();
|
|
441
|
-
}
|
|
442
|
-
//#endregion
|
|
443
|
-
//#region src/internal/events/managerInstrumentation.ts
|
|
444
|
-
function stateValueToScreenSegment(value) {
|
|
445
|
-
if (typeof value === "string" || typeof value === "number") {
|
|
446
|
-
const segment = String(value).trim();
|
|
447
|
-
return segment.length > 0 ? segment : void 0;
|
|
448
|
-
}
|
|
449
|
-
if (typeof value !== "object" || value === null) return;
|
|
450
|
-
const entries = Object.entries(value).sort(([left], [right]) => {
|
|
451
|
-
if (left < right) return -1;
|
|
452
|
-
if (left > right) return 1;
|
|
453
|
-
return 0;
|
|
454
|
-
});
|
|
455
|
-
if (entries.length === 0) return;
|
|
456
|
-
const branches = entries.map(([key, nestedValue]) => {
|
|
457
|
-
const trimmedKey = key.trim();
|
|
458
|
-
const nestedSegment = stateValueToScreenSegment(nestedValue);
|
|
459
|
-
if (trimmedKey.length === 0) return nestedSegment;
|
|
460
|
-
if (nestedSegment === void 0) return trimmedKey;
|
|
461
|
-
return `${trimmedKey}.${nestedSegment}`;
|
|
462
|
-
}).filter((branch) => branch !== void 0 && branch.length > 0);
|
|
463
|
-
if (branches.length === 0) return;
|
|
464
|
-
return branches.join("+");
|
|
465
|
-
}
|
|
466
|
-
function buildScreenName(moduleName, screenName) {
|
|
467
|
-
const trimmedModuleName = typeof moduleName === "string" ? moduleName.trim() : "";
|
|
468
|
-
const trimmedScreen = screenName.trim();
|
|
469
|
-
if (trimmedModuleName.length === 0) return trimmedScreen;
|
|
470
|
-
if (trimmedScreen.length === 0) return trimmedModuleName;
|
|
471
|
-
return `${trimmedModuleName}.${trimmedScreen}`;
|
|
472
|
-
}
|
|
473
|
-
function getDefaultManagerScreenName(snapshot) {
|
|
474
|
-
return stateValueToScreenSegment(snapshot.value);
|
|
475
|
-
}
|
|
476
|
-
function getManagerScreenName(moduleName, snapshot, options) {
|
|
477
|
-
const eventScreen = options?.getEventScreenName?.(snapshot);
|
|
478
|
-
if (eventScreen !== void 0) {
|
|
479
|
-
const trimmed = eventScreen.trim();
|
|
480
|
-
return trimmed.length > 0 ? trimmed : void 0;
|
|
481
|
-
}
|
|
482
|
-
const mappedScreen = options?.getScreenName?.(snapshot) ?? getDefaultManagerScreenName(snapshot);
|
|
483
|
-
if (mappedScreen === void 0) return;
|
|
484
|
-
return buildScreenName(moduleName, mappedScreen);
|
|
485
|
-
}
|
|
486
|
-
function isErrorLikeSegment(segment) {
|
|
487
|
-
const lower = segment.toLowerCase();
|
|
488
|
-
return lower === "error" || lower.includes("error") || lower.includes("failed") || lower.includes("failure");
|
|
489
|
-
}
|
|
490
|
-
function getDefaultManagerErrorName(snapshot) {
|
|
491
|
-
const screenSegment = stateValueToScreenSegment(snapshot.value);
|
|
492
|
-
if (screenSegment === void 0) return;
|
|
493
|
-
const trimmedSegment = screenSegment.trim();
|
|
494
|
-
if (trimmedSegment.length === 0) return;
|
|
495
|
-
if (trimmedSegment.toLowerCase() === "error") return "error.unknown";
|
|
496
|
-
if (!isErrorLikeSegment(trimmedSegment)) return;
|
|
497
|
-
return `error.${trimmedSegment}`;
|
|
498
|
-
}
|
|
499
|
-
function createManagerInstrumentation(moduleName, options) {
|
|
500
|
-
const visibilityObserver = options?.visibilityObserver;
|
|
501
|
-
return {
|
|
502
|
-
moduleName,
|
|
503
|
-
onModuleOpened: moduleOpened,
|
|
504
|
-
onModuleClosed: moduleClosed,
|
|
505
|
-
onScreenOpened: screenOpened,
|
|
506
|
-
onScreenClosed: options?.getEventStateName ? (moduleName, screenName) => {
|
|
507
|
-
getAnalyticsBatcher()?.flushStateChanges?.();
|
|
508
|
-
screenClosed(moduleName, screenName);
|
|
509
|
-
} : screenClosed,
|
|
510
|
-
onStateChanged: (moduleName, screenName, stateName) => stateChanged(moduleName, screenName, { stateName }),
|
|
511
|
-
onErrorTriggered: (moduleName, errorName, screenName, payload) => errorTriggered(moduleName, screenName, {
|
|
512
|
-
errorName,
|
|
513
|
-
...payload
|
|
514
|
-
}),
|
|
515
|
-
subscribeVisibility: visibilityObserver ? (onChange) => visibilityObserver.onVisibilityChange(onChange) : void 0,
|
|
516
|
-
getInitialVisibility: visibilityObserver ? () => visibilityObserver.isVisible() : void 0,
|
|
517
|
-
onBackground: visibilityObserver ? background : void 0,
|
|
518
|
-
onForeground: visibilityObserver ? foreground : void 0,
|
|
519
|
-
onElementClicked: (moduleName, screenName, payload) => elementClicked(moduleName, screenName, payload),
|
|
520
|
-
onCaptureAttemptFinished: (moduleName, screenName, payload) => captureAttemptFinished(moduleName, screenName, payload),
|
|
521
|
-
getScreenName: (snapshot) => getManagerScreenName(moduleName, snapshot, {
|
|
522
|
-
getEventScreenName: options?.getEventScreenName,
|
|
523
|
-
getScreenName: options?.getScreenName
|
|
524
|
-
}),
|
|
525
|
-
getStateName: (snapshot) => {
|
|
526
|
-
const stateName = options?.getEventStateName?.(snapshot);
|
|
527
|
-
if (stateName === void 0) return;
|
|
528
|
-
const trimmed = stateName.trim();
|
|
529
|
-
return trimmed.length > 0 ? trimmed : void 0;
|
|
530
|
-
},
|
|
531
|
-
getErrorName: (snapshot) => {
|
|
532
|
-
const mappedError = options?.getErrorName?.(snapshot) ?? getDefaultManagerErrorName(snapshot);
|
|
533
|
-
if (mappedError === void 0) return;
|
|
534
|
-
return buildScreenName(moduleName, mappedError);
|
|
535
|
-
},
|
|
536
|
-
getErrorPayload: (snapshot) => options?.getErrorPayload?.(snapshot)
|
|
537
|
-
};
|
|
538
|
-
}
|
|
539
|
-
//#endregion
|
|
540
243
|
//#region src/internal/events/types.ts
|
|
541
244
|
const eventModuleNames = {
|
|
542
245
|
selfie: "SELFIE",
|
|
@@ -575,6 +278,8 @@ const eventModuleNames = {
|
|
|
575
278
|
geolocation: "Geolocation",
|
|
576
279
|
ekyb: "eKYB",
|
|
577
280
|
identityReuse: "IDENTITY_REUSE",
|
|
281
|
+
identitySearch: "IDENTITY_SEARCH",
|
|
282
|
+
identityReusePath: "IDENTITY_REUSE_PATH",
|
|
578
283
|
antifraud: "antifraud",
|
|
579
284
|
aeSignature: "AdSign",
|
|
580
285
|
qeSignature: "QSign",
|
|
@@ -725,4 +430,4 @@ const cameraScreenNamesMapper = {
|
|
|
725
430
|
document: "document"
|
|
726
431
|
};
|
|
727
432
|
//#endregion
|
|
728
|
-
export {
|
|
433
|
+
export { createEventBus as C, subscribeEvent as S, stateChanged as _, videoSelfieEvents as a, resetAnalyticsBatcher as b, elementClicked as c, foreground as d, moduleClosed as f, screenOpened as g, screenEvent as h, tutorialScreenNamesMapper as i, errorTriggered as l, screenClosed as m, eventModuleNames as n, background as o, moduleOpened as p, eventScreenNames as r, captureAttemptFinished as s, cameraScreenNamesMapper as t, experimentAssigned as u, addEvent as v, setAnalyticsBatcher as x, getAnalyticsBatcher as y };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as RiskAddon } from "./types-
|
|
2
|
-
import "./createFaceAvatar-
|
|
1
|
+
import { u as RiskAddon } from "./types-DEa3taWc.js";
|
|
2
|
+
import "./createFaceAvatar-BimBTONm.js";
|
|
3
3
|
import { t as WatchlistForBusinessConfig } from "./types-B9C8W01q.js";
|
|
4
4
|
import { n as KybChecksConfig } from "./types-CTaL0XJz.js";
|
|
5
|
-
import { c as EkycPrefillModuleConfig } from "./types-
|
|
5
|
+
import { c as EkycPrefillModuleConfig } from "./types-B-PIc0en.js";
|
|
6
6
|
//#region src/internal/avatar/concealment.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* Backend-aligned selfie/auth face-concealment options. The backend returns a
|
|
@@ -87,6 +87,17 @@ type FlowModuleConfig = {
|
|
|
87
87
|
* + docs/features/FACE_AVATAR.md).
|
|
88
88
|
*/
|
|
89
89
|
selfieConcealmentOption?: SelfieConcealmentOption;
|
|
90
|
+
/**
|
|
91
|
+
* Set by the SDK on the AUTHENTICATION step of a Flow with identity
|
|
92
|
+
* reuse. The backend never sends it, and `modulesConfig` can't set it. A
|
|
93
|
+
* spoof then ends the module at once, with no retry, with
|
|
94
|
+
* `SPOOF_ATTEMPT_DETECTED`. When the attempts run out, the module ends
|
|
95
|
+
* with `NO_MORE_ATTEMPTS` only if an attempt came back
|
|
96
|
+
* USER_IS_NOT_RECOGNIZED; otherwise it ends with the last attempt's code,
|
|
97
|
+
* such as `BAD_PHOTO_QUALITY`. The flow fails on the spoof and on the last
|
|
98
|
+
* attempt's code, and moves on after `NO_MORE_ATTEMPTS`.
|
|
99
|
+
*/
|
|
100
|
+
identityReuseOutcomes?: boolean;
|
|
90
101
|
};
|
|
91
102
|
ADDRESS: {
|
|
92
103
|
disableSkipPoa: boolean;
|
|
@@ -131,7 +142,9 @@ type FlowModuleConfig = {
|
|
|
131
142
|
EKYB_CHECKS: KybChecksConfig;
|
|
132
143
|
EKYC_PREFILL: EkycPrefillModuleConfig;
|
|
133
144
|
EXTERNAL_VERIFICATION: {
|
|
134
|
-
source: 'US_DRIVERS_LICENSE_1' | 'US_TELCO_1' | 'US_TELCO_2' | 'US_CONSUMER_1' | 'US_CREDIT_BUREAU_1' | 'US_CREDIT_TELCO' | 'MX_CONSUMER_1' | 'BR_GOVT_1' | 'CA_RES_CREDIT' | 'UK_CREDIT_BUREAU_1' | 'ES_1' | 'CL_1' | 'AR_1' | 'GR_1' | 'GT_1' | 'BR_CPF_1' | 'RISK_ADDONS_ONLY';
|
|
145
|
+
source: 'US_DRIVERS_LICENSE_1' | 'US_TELCO_1' | 'US_TELCO_2' | 'US_CONSUMER_1' | 'US_CREDIT_BUREAU_1' | 'US_CREDIT_TELCO' | 'MX_CONSUMER_1' | 'BR_GOVT_1' | 'CA_RES_CREDIT' | 'UK_CREDIT_BUREAU_1' | 'ES_1' | 'CL_1' | 'AR_1' | 'GR_1' | 'GT_1' | 'BR_CPF_1' | 'HK_RESIDENT_REGISTER' | 'RISK_ADDONS_ONLY';
|
|
146
|
+
/** The backend runs the checks from earlier modules' data; the SDK skips the step. */
|
|
147
|
+
autoExecution?: boolean;
|
|
135
148
|
checkName: boolean;
|
|
136
149
|
nameSource: 'userInput' | 'document' | 'poa' | 'phoneModuleInput' | 'emailModuleInput';
|
|
137
150
|
checkEmail: boolean;
|
|
@@ -202,6 +215,13 @@ type FlowModuleConfig = {
|
|
|
202
215
|
TUTORIAL_ID: TutorialIdConfig;
|
|
203
216
|
ID: TutorialIdConfig;
|
|
204
217
|
SECOND_ID: TutorialIdConfig;
|
|
218
|
+
/**
|
|
219
|
+
* The backend's ID Validation module (key `ID` right after TUTORIAL_ID),
|
|
220
|
+
* kept as its own step in a Flow with identity reuse. It runs only after a
|
|
221
|
+
* shared identity, and validates the imported document. Every other Flow
|
|
222
|
+
* merges it into the `ID` step.
|
|
223
|
+
*/
|
|
224
|
+
ID_VALIDATION: TutorialIdConfig;
|
|
205
225
|
/** @deprecated Third ID step is deprecated; SDK skips this step and continues flow */
|
|
206
226
|
THIRD_ID: {
|
|
207
227
|
documentType: string;
|
|
@@ -344,6 +364,8 @@ type FlowModuleConfig = {
|
|
|
344
364
|
FISCAL_QR: EmptyConfig;
|
|
345
365
|
GENERATE_QR: EmptyConfig;
|
|
346
366
|
HOME: EmptyConfig;
|
|
367
|
+
IDENTITY_REUSE: EmptyConfig;
|
|
368
|
+
IDENTITY_SEARCH: EmptyConfig;
|
|
347
369
|
INSTANT_VERIFY: EmptyConfig;
|
|
348
370
|
IP_ADDRESS: EmptyConfig;
|
|
349
371
|
NAME_CAPTURE: EmptyConfig;
|
|
@@ -392,6 +414,13 @@ type Flow = {
|
|
|
392
414
|
getEnableIdOnlyIdentity?: boolean;
|
|
393
415
|
ds?: boolean;
|
|
394
416
|
oauth2Secured?: boolean;
|
|
417
|
+
/**
|
|
418
|
+
* True when the integrator sent the identity search hint through the
|
|
419
|
+
* backend API at session start. A Flow with identity reuse then skips the
|
|
420
|
+
* EMAIL and PHONE steps in front of the group, since the hint stands in for
|
|
421
|
+
* the contact.
|
|
422
|
+
*/
|
|
423
|
+
identitySearchHintProvided?: boolean;
|
|
395
424
|
};
|
|
396
425
|
//#endregion
|
|
397
426
|
export { RegulationTypes as a, FlowModuleConfig as i, Flow as n, TutorialIdConfig as o, FlowModule as r, SelfieConcealmentOption as s, EmptyConfig as t };
|
|
@@ -22,18 +22,5 @@ function stripUrlQueryAndFragment(url) {
|
|
|
22
22
|
return url.split(/[?#]/, 1)[0];
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
/**
|
|
26
|
-
* Exact origin (`scheme://host[:port]`) of an absolute `http:` or `https:`
|
|
27
|
-
* URL, or `undefined` for anything else (relative, unparsable, other schemes).
|
|
28
|
-
*/
|
|
29
|
-
function getHttpUrlOrigin(url) {
|
|
30
|
-
try {
|
|
31
|
-
const parsed = new URL(url);
|
|
32
|
-
if (parsed.protocol !== "https:" && parsed.protocol !== "http:") return;
|
|
33
|
-
return parsed.origin;
|
|
34
|
-
} catch {
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
25
|
//#endregion
|
|
39
|
-
export { stripUrlQueryAndFragment as
|
|
26
|
+
export { stripUrlQueryAndFragment as i, getUrlSearchParam as n, resolveAgainstPageOrigin as r, buildUrlWithSearchParams as t };
|
package/dist/video-selfie.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { c as WasmPipeline } from "./warmup-
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import "./
|
|
1
|
+
import { c as WasmPipeline } from "./warmup-BNhIuURi.js";
|
|
2
|
+
import { b as NonReducibleUnknown, c as AnyEventObject, j as StateMachine, m as EventObject, v as MachineContext, y as MetaObject } from "./spawn-COZKetCS.js";
|
|
3
|
+
import "./xstate.cjs-D6Ur0X1F.js";
|
|
4
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
5
|
+
import "./Actor-DqjOqDfU.js";
|
|
5
6
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
6
7
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
7
|
-
import { t as DetectionOrientation } from "./IIdCaptureCapability-
|
|
8
|
-
import { a as FacingMode, c as VideoSelfieStep, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieSpeechResult, t as StepDetector } from "./videoSelfieStepDetector-
|
|
8
|
+
import { t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
|
|
9
|
+
import { a as FacingMode, c as VideoSelfieStep, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieSpeechResult, t as StepDetector } from "./videoSelfieStepDetector-DRrh4P0A.js";
|
|
9
10
|
//#region ../infra/src/capabilities/ITimerCapability.d.ts
|
|
10
11
|
type TimerHandle = ReturnType<typeof setTimeout>;
|
|
11
12
|
type ITimerCapability = {
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
3
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-B3a5KQeI.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-0xTxgP0R.esm.js";
|
|
3
|
+
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
5
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import { b as videoSelfieWasmPipelines, v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-NX4ksmS5.esm.js";
|
|
7
|
+
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
8
|
+
import { i as assign, l as raise, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
9
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
9
10
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
10
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
11
|
-
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-
|
|
12
|
-
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-
|
|
13
|
-
import { r as createRecordingCompositor } from "./CameraCompositor-
|
|
14
|
-
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-
|
|
15
|
-
import { t as MultipartRecordingService } from "./multipartRecordingService-
|
|
16
|
-
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-
|
|
11
|
+
import { t as carryAttempts } from "./attemptCarry-BecGGZK8.esm.js";
|
|
12
|
+
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-CxZyPRyh.esm.js";
|
|
13
|
+
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-CgqaNI-W.esm.js";
|
|
14
|
+
import { r as createRecordingCompositor } from "./CameraCompositor-ppyMYVoY.esm.js";
|
|
15
|
+
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-CsDED9UU.esm.js";
|
|
16
|
+
import { t as MultipartRecordingService } from "./multipartRecordingService-WgK8ieRI.esm.js";
|
|
17
|
+
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-IWdxw1TW.esm.js";
|
|
17
18
|
//#region ../../node_modules/.pnpm/audio-recorder-polyfill@0.4.1/node_modules/audio-recorder-polyfill/wave-encoder/index.js
|
|
18
19
|
var wave_encoder_default = () => {
|
|
19
20
|
let BYTES_PER_SAMPLE = 2;
|