@incodetech/core 2.4.1-agentic.9 → 2.5.0-agentic
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-CPdofn7R.d.ts} +3 -5
- package/dist/{CameraCompositor-DN7NkJzV.esm.js → CameraCompositor-C7N1N61V.esm.js} +55 -1
- package/dist/{FaceDetectionProvider-CHpscouN.esm.js → FaceDetectionProvider-Dv9iXub0.esm.js} +21 -13
- package/dist/{IIdCaptureCapability-CGcEt2Cw.d.ts → IIdCaptureCapability-CAxToGns.d.ts} +3 -3
- package/dist/{IWasmUtilCapability-Cqiaxydi.d.ts → IWasmUtilCapability-CLWIYHB4.d.ts} +7 -6
- package/dist/Manager-BvXAwDv9.esm.js +125 -0
- package/dist/{Manager-C9T5amUN.d.ts → Manager-DufwKlav.d.ts} +1 -7
- package/dist/{MotionSensorProvider-DYxh8TjR.esm.js → MotionSensorProvider-X4_2eBGd.esm.js} +15 -0
- package/dist/{MultipartRecordingProvider-BfQPSgSO.esm.js → MultipartRecordingProvider-BtMQZEbg.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-C3xNfOsv.d.ts → StreamCanvasCapture-BqaHTJF0.d.ts} +25 -3
- package/dist/{StreamCanvasCapture-C9jtgBdT.esm.js → StreamCanvasCapture-CXd87trH.esm.js} +18 -3
- package/dist/{WasmUtilProvider-Dp2V-Uct.esm.js → WasmUtilProvider-DVFDFlIL.esm.js} +63 -6
- package/dist/{WorkerEncoderRecordingProvider-CyCrQnZR.esm.js → WorkerEncoderRecordingProvider-BO7urYwT.esm.js} +1 -1
- package/dist/{addressSearch-D6cKPWmk.esm.js → addressSearch-BKlynuBr.esm.js} +6 -7
- 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-CbIwM35x.esm.js → antifraudManager-BI2zr7YX.esm.js} +5 -3
- package/dist/{antifraudManager-DbGCvlJs.d.ts → antifraudManager-BxfCsyA7.d.ts} +3 -3
- package/dist/{antifraudStateMachine-qNNXrlsP.esm.js → antifraudStateMachine-TWUu8wLN.esm.js} +4 -6
- package/dist/{api-C_P9YXbL.esm.js → api-BNxrW8xK.esm.js} +4 -1
- package/dist/{apiError-BeWqIYu8.esm.js → apiError-BAfdBGxH.esm.js} +1 -1
- package/dist/{attemptCarry-BaAXPR_w.esm.js → attemptCarry-DWM8lV9V.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DKLRA91K.d.ts → authenticationManager-BJElkTsj.d.ts} +2 -2
- package/dist/{authenticationManager-CTHFl6dl.esm.js → authenticationManager-DFzByAYo.esm.js} +7 -6
- package/dist/{authenticationStateMachine-D-SOzH8C.esm.js → authenticationStateMachine-CKTOhwwc.esm.js} +50 -18
- package/dist/avatar.d.ts +1 -1
- package/dist/{backCameraStream-DS1oDiUq.esm.js → backCameraStream-6qVHvj76.esm.js} +2 -2
- package/dist/{browser-pQZA35G2-DJEJnmCd.esm.js → browser-pQZA35G2-CG3C-xGt.esm.js} +1 -1
- package/dist/calendarDate-DcqGuEht.esm.js +35 -0
- package/dist/{callback-645_omgz.d.ts → callback-BmjJ1G-5.d.ts} +1 -1
- package/dist/camera-9yYDUOsO.d.ts +5 -0
- package/dist/{camera-E_Kcre4O.esm.js → camera-CJKApt0x.esm.js} +10 -3
- package/dist/camera.d.ts +7 -3
- 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-P44yBRop.esm.js} +5 -3
- package/dist/{certificateIssuanceStateMachine-uSD9IkcV.esm.js → certificateIssuanceStateMachine-BPBrILt6.esm.js} +3 -3
- 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-D43w2ms-.esm.js} +5 -3
- package/dist/{consentManager-7aHaehwF.d.ts → consentManager-Duzd8paN.d.ts} +4 -3
- package/dist/{consentStateMachine-BAiLDE3D.esm.js → consentStateMachine-CLK8PfM4.esm.js} +6 -9
- package/dist/{cpf-BIADjddF.esm.js → cpf-DDXMTLYr.esm.js} +1 -1
- package/dist/{createFaceAvatar-lYX0VTYs.d.ts → createFaceAvatar-Ct9QrQ66.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-Cag_bcyW.esm.js} +6 -5
- 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-C6WmQToS.esm.js} +6 -4
- package/dist/{curpValidationManager-Crz3bnCo.d.ts → curpValidationManager-CmL52FU8.d.ts} +4 -4
- package/dist/{curpValidationStateMachine-DyAEyScb.esm.js → curpValidationStateMachine-BbJ4YAzE.esm.js} +16 -17
- 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-BBy6X9nh.esm.js} +15 -17
- package/dist/{customFieldsManager-CF-cO8ap.d.ts → customFieldsManager-CdWTbsew.d.ts} +3 -3
- package/dist/{customWatchlistManager-B4cmxi__.esm.js → customWatchlistManager-CtBMy2EF.esm.js} +5 -3
- package/dist/{customWatchlistManager-DolUswyR.d.ts → customWatchlistManager-lJrveDS4.d.ts} +3 -3
- package/dist/{customWatchlistStateMachine-ZZoDGRAZ.esm.js → customWatchlistStateMachine-SS2ssNCg.esm.js} +4 -6
- package/dist/deepsightCaptureConfig-Nm_K8twx.esm.js +70 -0
- package/dist/{deepsightLoader-je1YxHgT.esm.js → deepsightLoader-BInnND1H.esm.js} +7 -6
- package/dist/{definitionSource-BHNxbuiv.esm.js → definitionSource-B-Z2EgJJ.esm.js} +51 -1
- package/dist/{desktopCameraElection-m2dAj6Zu.esm.js → desktopCameraElection-JNBOXqvK.esm.js} +110 -13
- package/dist/device.d.ts +3 -3
- package/dist/device.esm.js +16 -16
- package/dist/document-capture.d.ts +2 -2
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-signature.d.ts +123 -0
- package/dist/document-signature.esm.js +149 -0
- package/dist/{documentCaptureManager-v57klTso.esm.js → documentCaptureManager-CGDtkfWj.esm.js} +5 -3
- package/dist/{documentCaptureManager-DDfviFg0.d.ts → documentCaptureManager-sJWgqtUy.d.ts} +7 -6
- package/dist/{documentCaptureStateMachine-CgCtimSa.esm.js → documentCaptureStateMachine-flAt9D4q.esm.js} +11 -13
- package/dist/documentSignatureStateMachine-DrRyICFT.esm.js +219 -0
- package/dist/dynamic-forms.d.ts +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-9kwY8Bf5.d.ts → dynamicFormsManager-C45pTncO.d.ts} +3 -3
- package/dist/{dynamicFormsManager-BKWJZfkn.esm.js → dynamicFormsManager-CxLq2KzT.esm.js} +5 -3
- package/dist/{dynamicFormsStateMachine-CQN8p1ux.esm.js → dynamicFormsStateMachine-By-maT_4.esm.js} +12 -13
- package/dist/ekyb.d.ts +3 -3
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-BLOkwmWO.d.ts → ekybManager-BflWuTe4.d.ts} +3 -3
- package/dist/{ekybManager-BD6HTwFJ.esm.js → ekybManager-CE19Pcdb.esm.js} +5 -3
- package/dist/{ekybStateMachine-3kceTymI.esm.js → ekybStateMachine-q7JQ-x9l.esm.js} +1214 -91
- package/dist/{ekybUtils-Cw8Ta9Qi.esm.js → ekybUtils-Z9MhFAer.esm.js} +11 -1
- 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-p3uenUEi.esm.js} +39 -16
- package/dist/{ekycPrefillManager-DLNmToWT.d.ts → ekycPrefillManager-BcLhkpp8.d.ts} +10 -9
- package/dist/{ekycPrefillManager-D_8NJzZf.esm.js → ekycPrefillManager-gPX3XE7u.esm.js} +3 -2
- package/dist/{ekycPrefillStateMachine-C-JAvkH3.esm.js → ekycPrefillStateMachine-SBnBKPGA.esm.js} +12 -13
- package/dist/{ekycRules-BLX7Elcb.esm.js → ekycRules-BH_Ll_0A.esm.js} +201 -38
- package/dist/{ekycStateMachine-qvQ-b4IY.esm.js → ekycStateMachine-D0NAHzS7.esm.js} +1031 -132
- package/dist/{ekycUtils-Drx8ImpN.esm.js → ekycUtils-DEvtEyBI.esm.js} +55 -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-C1M-Yxf2.esm.js} +11 -17
- package/dist/email.d.ts +1 -1
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-BSaGg1Gl.esm.js → emailManager-DWnhEsUf.esm.js} +5 -3
- package/dist/{emailManager-Dy6omJVp.d.ts → emailManager-pM7ZPuMa.d.ts} +3 -3
- package/dist/{emailStateMachine-CaoPZtZN.esm.js → emailStateMachine--T9PHflK.esm.js} +5 -7
- package/dist/events-ChMS-UzR.esm.js +299 -0
- package/dist/events.d.ts +4 -1
- package/dist/events.esm.js +2 -1
- package/dist/extensibility.d.ts +42 -42
- package/dist/extensibility.esm.js +38 -38
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-DKJUjsV2.esm.js → faceCaptureManagerFactory-18QW0lmV.esm.js} +29 -12
- package/dist/{faceCaptureManagerFactory-ZudYP6Qp.d.ts → faceCaptureManagerFactory-CHqmyOjM.d.ts} +35 -16
- package/dist/{faceCaptureSetup-CZzv26ip.esm.js → faceCaptureSetup-CFToXwHy.esm.js} +115 -74
- package/dist/{faceMatchManager-Z4UDLwAv.d.ts → faceMatchManager-C5b5WtcY.d.ts} +12 -5
- package/dist/{faceMatchManager-qPJsa5Ac.esm.js → faceMatchManager-DIStK4qi.esm.js} +5 -3
- package/dist/{faceMatchStateMachine-D90ZHY1r.esm.js → faceMatchStateMachine-DagrRdo2.esm.js} +49 -34
- package/dist/{feature-management-BMUPPAzI.esm.js → feature-management-BlscKbeV.esm.js} +3 -2
- 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-BnWBtMN7.esm.js} +7 -7
- 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-Bh3rxb7Y.esm.js → fiscalQrManager-BxXaLhin.esm.js} +9 -8
- package/dist/{fiscalQrManager-D0Iy7EKR.d.ts → fiscalQrManager-DFnFVpP9.d.ts} +3 -3
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +50 -14
- package/dist/flow.esm.js +214 -58
- package/dist/{flowCompletionService-DgA2VEq4.esm.js → flowCompletionService-DNLssMAg.esm.js} +2 -2
- package/dist/{flowServices-aJ5kGxBd.esm.js → flowServices-Bzq3piUR.esm.js} +378 -18
- 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-DoLbpx5e.esm.js} +5 -3
- package/dist/{geolocationStateMachine-3-d1ECCh.esm.js → geolocationStateMachine-d5_E7gAm.esm.js} +8 -10
- package/dist/{getDeviceClass-DoIWuKI8.esm.js → getDeviceClass-Dcy9erbl.esm.js} +1 -1
- package/dist/government-validation.d.ts +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-D5HkBqfr.esm.js → governmentValidationManager-CaZxyEOO.esm.js} +5 -3
- package/dist/{governmentValidationManager-B82zOut8.d.ts → governmentValidationManager-De_vU7bm.d.ts} +4 -4
- package/dist/{governmentValidationStateMachine-BwMClTqC.esm.js → governmentValidationStateMachine-DeHHhlcf.esm.js} +4 -6
- 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 +7 -6
- package/dist/id-selfie-flow.esm.js +14 -13
- package/dist/id-verification.d.ts +1 -1
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +5 -5
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-Dszuq9ng.esm.js → idCaptureDefaults-R3rHuTOE.esm.js} +4 -4
- package/dist/{idCaptureManager-NRGuCVv2.d.ts → idCaptureManager-CgkQW3Xc.d.ts} +24 -13
- package/dist/{idCaptureManager-B_TyUA3w.esm.js → idCaptureManager-D_YGMeCW.esm.js} +30 -22
- package/dist/{idCaptureServices-C6FUQ76N.esm.js → idCaptureServices-CP6AxsFW.esm.js} +17 -25
- package/dist/{idCaptureStateMachine-Cr8WdGyp.esm.js → idCaptureStateMachine-BdBtGQZP.esm.js} +114 -96
- package/dist/{idOcrCpfUtils-Nfln1Psb.esm.js → idOcrCpfUtils-D5Gwskxu.esm.js} +1 -1
- package/dist/{idOcrManager-B5xeI2lg.d.ts → idOcrManager-C0C7lFGd.d.ts} +4 -3
- package/dist/{idOcrManager-BMK2oou0.esm.js → idOcrManager-XTbpfHoF.esm.js} +5 -3
- package/dist/{idOcrStateMachine-RjNycN07.esm.js → idOcrStateMachine-B-00PgPh.esm.js} +13 -10
- package/dist/{idVerificationManager-4wY-Ee4j.esm.js → idVerificationManager-B4NYLlUl.esm.js} +5 -3
- package/dist/{idVerificationManager-BJapZfpy.d.ts → idVerificationManager-B6R8xNZq.d.ts} +4 -3
- package/dist/{idVerificationStateMachine-Bj00uWvh.esm.js → idVerificationStateMachine-B48Ikl-7.esm.js} +4 -6
- 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 +96 -0
- package/dist/{identityReuseManager-B1birg5X.d.ts → identityReuseManager-CZ-qJ_Aa.d.ts} +84 -17
- package/dist/{identityReuseManager-CCZ-ES2E.esm.js → identityReuseManager-tFeYm_So.esm.js} +9 -4
- package/dist/{identityReuseStateMachine-BtpkGpYZ.esm.js → identityReuseStateMachine-Ckf39qFu.esm.js} +24 -31
- package/dist/{index-DlVDVTcf.d.ts → index-CNck5TLp.d.ts} +1 -1
- package/dist/{index-BGnYn_4J.d.ts → index-CoePktWH.d.ts} +2 -2
- package/dist/index-DHuAkTe0.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-BkvXSZfa.esm.js → invokeOnCaptureCallback-DNQX9k5e.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-DP76y-Qz.esm.js} +3 -2
- package/dist/{kybChecksStateMachine-DdWSo3jQ.esm.js → kybChecksStateMachine-OKLT8Zoc.esm.js} +11 -14
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-C9JJGENL.esm.js → mandatoryConsentManager-NX1lz6nk.esm.js} +5 -3
- package/dist/{mandatoryConsentManager-JNeVXgK8.d.ts → mandatoryConsentManager-kzr5kdc_.d.ts} +5 -4
- package/dist/{mandatoryConsentStateMachine-DLNIGElA.esm.js → mandatoryConsentStateMachine-D1J2NQSI.esm.js} +6 -9
- package/dist/{mediaRecorderOptions-B9-IEVtV.esm.js → mediaRecorderOptions-Di_V9TnZ.esm.js} +21 -4
- package/dist/{multipartRecordingService-OmSzHBqh.esm.js → multipartRecordingService-Cz-cWrpV.esm.js} +2 -2
- package/dist/{permissionGuards-DFV-Ws0a.esm.js → permissionGuards-Cyh71hOt.esm.js} +1 -1
- package/dist/{permissionServices-D190ATGD.esm.js → permissionServices-BrtDMB0Z.esm.js} +23 -9
- 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-BylOWecM.esm.js → phoneManager-D1QPNbu0.esm.js} +5 -3
- package/dist/{phoneManager-6nrJkvkG.d.ts → phoneManager-VO1HEoUZ.d.ts} +3 -3
- package/dist/{phoneServices-Crge7uSV.esm.js → phoneServices-DC7AuUed.esm.js} +3 -7
- package/dist/{phoneStateMachine-CHnhCS-4.esm.js → phoneStateMachine-CxCPxTIy.esm.js} +4 -4
- package/dist/{platform-aPh7gTWh.esm.js → platform-GIg4uPWe.esm.js} +1 -4
- package/dist/{processFaceMatch-BveUAHts.esm.js → processFaceMatch-BQoiqLVh.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-CSCvD2tB.esm.js} +17 -10
- package/dist/redirect-to-mobile.d.ts +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-Dm9ctRCC.d.ts → redirectToMobileManager-Db99n9Yu.d.ts} +4 -3
- package/dist/{redirectToMobileManager-DUpLyXsq.esm.js → redirectToMobileManager-Dcpg5GfP.esm.js} +7 -4
- package/dist/{redirectToMobileStateMachine-D0DW4y-f.esm.js → redirectToMobileStateMachine-BMehrtVP.esm.js} +18 -21
- package/dist/{resolveForm-f9PhUo9j.esm.js → resolveForm-DaaQSVWp.esm.js} +7 -4
- package/dist/{runChildModule-BTMOZdMM.esm.js → runChildModule-DNEmc7of.esm.js} +8 -6
- package/dist/{sdkVersion-CinXzhdk.esm.js → sdkVersion-etdZfyCR.esm.js} +1 -1
- package/dist/selfie.d.ts +6 -6
- package/dist/selfie.esm.js +15 -13
- package/dist/{selfieErrorUtils-D92PpZGe.esm.js → selfieErrorUtils-DT-uhK20.esm.js} +1 -1
- package/dist/{selfieManager-DX9Ejy4x.esm.js → selfieManager-CdS6a7Q8.esm.js} +7 -6
- package/dist/{selfieManager-BPOlD-UN.d.ts → selfieManager-DrBYj5kA.d.ts} +2 -2
- package/dist/{selfieStateMachine-BfJ5mJ57.esm.js → selfieStateMachine-ChCl3nyf.esm.js} +5 -5
- package/dist/{session-CswNE2eZ.esm.js → session-VXYuRYzb.esm.js} +5 -4
- package/dist/session.d.ts +3 -13
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-DFtIRfDh.esm.js → sessionInitializer-BT_CmYcX.esm.js} +54 -79
- package/dist/{setup-Bl3CRduw.esm.js → setup-BXrgDdfx.esm.js} +14 -12
- package/dist/{setup-prV5HQCQ.d.ts → setup-rcXgYUcY.d.ts} +6 -5
- package/dist/signature.d.ts +1 -1
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-QlegdTo3.esm.js → signatureManager-B737Gkvk.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-B-QG7fk0.esm.js} +5 -7
- package/dist/{spawn-D9jgw9pW.d.ts → spawn-COZKetCS.d.ts} +1 -1
- package/dist/{stats-Bv5PiWvo.esm.js → stats-CrqhpKkP.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/step-up.d.ts +3 -2
- package/dist/step-up.esm.js +2 -1
- package/dist/{tri-BUFivnaE.esm.js → tri-BD9z6z0w.esm.js} +6 -3
- package/dist/tri.d.ts +1 -1
- package/dist/tri.esm-DYdFtcDH.esm.js +3105 -0
- package/dist/tri.esm.js +1 -1
- package/dist/trueSight-BymJD5cW.esm.js +1 -0
- package/dist/{trueSightService-CDbmG-Mi.esm.js → trueSightService-BwyLhIAo.esm.js} +10 -8
- package/dist/trust-graph.d.ts +87 -27
- package/dist/trust-graph.esm.js +6 -25
- package/dist/trustGraphStateMachine-BxvReuo1.esm.js +58 -0
- package/dist/{types-CquDWYfv.d.ts → types-4Re9FSOw.d.ts} +68 -6
- package/dist/{types-D9vIGFbl.d.ts → types-B-PIc0en.d.ts} +1 -1
- package/dist/types-BNkzXOXE.d.ts +45 -0
- package/dist/types-BtrJ5fkm.d.ts +6 -0
- package/dist/{types-LA74KylV.d.ts → types-C1056-J1.d.ts} +1 -1
- package/dist/{types-BQA7lRDV.d.ts → types-C3rfDzgE.d.ts} +4 -2
- package/dist/{events-kU5WJU4B.esm.js → types-CBQN04Rh.esm.js} +5 -299
- package/dist/{types-BD9sV5oG.d.ts → types-CEGG70FK.d.ts} +16 -3
- package/dist/types-CXTDuzUJ.d.ts +16 -0
- package/dist/{types-BEwVKkLJ.d.ts → types-CeEcakO7.d.ts} +7 -1
- package/dist/{types-CyNndVAT.d.ts → types-Cy6Lx3L6.d.ts} +2 -2
- package/dist/{types-BaDx6utW.d.ts → types-DEa3taWc.d.ts} +4 -0
- package/dist/{types-0Rr7etmf.d.ts → types-DHpz4Y37.d.ts} +1 -1
- package/dist/{types-BpJ21a4T.d.ts → types-b0l9b83G.d.ts} +14 -7
- package/dist/video-selfie.d.ts +8 -7
- package/dist/video-selfie.esm.js +14 -13
- package/dist/{videoSelfieCameraWarmer-Dnkiqe0z.esm.js → videoSelfieCameraWarmer-DgRlU_8q.esm.js} +10 -10
- package/dist/{videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js → videoSelfieFlowModuleMachine-IWdxw1TW.esm.js} +1 -1
- package/dist/{videoSelfieStepDetector-B78BE_x9.d.ts → videoSelfieStepDetector-DC_Qh7qI.d.ts} +19 -9
- package/dist/{warmup-DtB0DJpl.esm.js → warmup-BN8dG2KX.esm.js} +192 -42
- package/dist/{warmup-BO57syF6.d.ts → warmup-SWu5L7cW.d.ts} +19 -2
- package/dist/wasm.d.ts +9 -3
- package/dist/wasm.esm.js +3 -3
- package/dist/wasmDeepsightConfigSync-DukEcrU8.esm.js +77 -0
- package/dist/{wasmDsFlagSync-BtiR5pig.esm.js → wasmDsFlagSync-DwBfTlgB.esm.js} +1 -1
- package/dist/{wasmWebClient-BDrax6Eu.esm.js → wasmWebClient-B2P6Vlvv.esm.js} +32 -13
- 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-DxeSH80T.esm.js} +5 -3
- package/dist/{watchlistForBusinessManager-DX2AyM4Y.d.ts → watchlistForBusinessManager-l7ZERQcV.d.ts} +3 -3
- package/dist/{watchlistForBusinessStateMachine-D8qIyL8w.esm.js → watchlistForBusinessStateMachine-BC9UWLuZ.esm.js} +12 -9
- package/dist/{watchlistManager-BJGLRv-x.esm.js → watchlistManager-BHzmC9OC.esm.js} +5 -3
- package/dist/{watchlistManager-DJQOd8Pw.d.ts → watchlistManager-DQq4GxBO.d.ts} +3 -3
- package/dist/{watchlistStateMachine-DeLfuGSl.esm.js → watchlistStateMachine-Bxzn16iJ.esm.js} +4 -6
- package/dist/workflow.d.ts +6 -5
- package/dist/workflow.esm.js +68 -49
- 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 +13 -3
- package/dist/Actor-DpTj5PFb.d.ts +0 -1
- package/dist/camera-9wWD-pwg.d.ts +0 -4
- 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/tri.esm-DgtAka_v.esm.js +0 -2145
- package/dist/types-B2M1IPZn.d.ts +0 -6
- package/dist/wasmMetadataVersionSync-U8EFUr1T.esm.js +0 -27
package/dist/{desktopCameraElection-m2dAj6Zu.esm.js → desktopCameraElection-JNBOXqvK.esm.js}
RENAMED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { d as getCameraCycleOwnershipDomain, l as wasmRuntime, u as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
2
|
+
import { d as CAMERA_CYCLE_OWNERSHIP_DOMAIN, f as getCameraCycleOwnershipDomain, l as wasmRuntime, u as resetWasmOtherStateSync } from "./warmup-BN8dG2KX.esm.js";
|
|
3
|
+
import { r as setWasmDeepsightConfigSync } from "./wasmDeepsightConfigSync-DukEcrU8.esm.js";
|
|
4
|
+
import { i as utilityWasmApi } from "./WasmUtilProvider-DVFDFlIL.esm.js";
|
|
5
|
+
import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
|
|
6
|
+
import { u as trueSightLog } from "./trueSightService-BwyLhIAo.esm.js";
|
|
7
|
+
import "./trueSight-BymJD5cW.esm.js";
|
|
8
|
+
import { m as getFeatureGate } from "./feature-management-BlscKbeV.esm.js";
|
|
9
|
+
import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
10
|
+
import { c as isCameraDenialErrorName, n as enumerateVideoDevices, o as withAudioTracks, r as requestCameraAccess, s as clearCameraGrantedInDocument, u as markCameraGrantedInDocument } from "./camera-CJKApt0x.esm.js";
|
|
11
|
+
import { l as queryCameraPermission } from "./permissionServices-BrtDMB0Z.esm.js";
|
|
12
|
+
import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
|
|
13
|
+
import { t as deepsightCaptureConfigText } from "./deepsightCaptureConfig-Nm_K8twx.esm.js";
|
|
8
14
|
import { r as selectBestBackDevice, t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
9
|
-
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
10
15
|
//#region ../infra/src/capabilities/ICameraCycleCapability.ts
|
|
11
16
|
/**
|
|
12
17
|
* Fixed protected-endpoint identifiers owned by ml-wasm-kit.
|
|
@@ -23,6 +28,57 @@ const PROTECTED_CAPTURE_TARGET = {
|
|
|
23
28
|
backSecondId: 6
|
|
24
29
|
};
|
|
25
30
|
//#endregion
|
|
31
|
+
//#region src/internal/deepsight/deepsightSignalConfigActor.ts
|
|
32
|
+
/**
|
|
33
|
+
* Holds the WASM engine's Deepsight 2.0 signal config (`sdsc`) and, with it,
|
|
34
|
+
* the capture-metadata document (`smv`) for one module run. The face and ID
|
|
35
|
+
* machines invoke it at their root with the module's configuration, so it
|
|
36
|
+
* starts with the module, before any camera step, and stops when the machine
|
|
37
|
+
* reaches a final state or is stopped. A module with a config sets its text
|
|
38
|
+
* and selects v2; a module without one sets `''` and v1. At the end it clears
|
|
39
|
+
* both (`''`, v1) unless a later module has set its own. A machine that
|
|
40
|
+
* crashes skips the clear; the next module's set replaces what it left.
|
|
41
|
+
*
|
|
42
|
+
* At the start it also clears the results an earlier module left in the
|
|
43
|
+
* engine (`resetOther`): without it, a challenge this module's config turns
|
|
44
|
+
* off would upload the earlier module's result. The engine runs the reset
|
|
45
|
+
* behind the ML lock, after the earlier module's camera step and post-capture
|
|
46
|
+
* work have settled and before this module's first `rsp` or camera step, which
|
|
47
|
+
* queue behind it.
|
|
48
|
+
*
|
|
49
|
+
* Every step is best-effort: a throw from a callback actor would put the
|
|
50
|
+
* face or ID machine into its error state, which ignores every later event,
|
|
51
|
+
* so a failed set, reset or clear is logged to TrueSight and the module runs
|
|
52
|
+
* on.
|
|
53
|
+
*/
|
|
54
|
+
const deepsightSignalConfigActor = fromCallback(({ input }) => {
|
|
55
|
+
resetEarlierModuleResults();
|
|
56
|
+
let handle;
|
|
57
|
+
try {
|
|
58
|
+
handle = setWasmDeepsightConfigSync(deepsightCaptureConfigText(input));
|
|
59
|
+
} catch {
|
|
60
|
+
logSignalConfigFailure("deepsight signal config not set");
|
|
61
|
+
return () => {};
|
|
62
|
+
}
|
|
63
|
+
return () => {
|
|
64
|
+
try {
|
|
65
|
+
handle.clear();
|
|
66
|
+
} catch {
|
|
67
|
+
logSignalConfigFailure("deepsight signal config not cleared");
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
});
|
|
71
|
+
function resetEarlierModuleResults() {
|
|
72
|
+
try {
|
|
73
|
+
resetWasmOtherStateSync().catch(() => logSignalConfigFailure("deepsight engine results not reset"));
|
|
74
|
+
} catch {
|
|
75
|
+
logSignalConfigFailure("deepsight engine results not reset");
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
function logSignalConfigFailure(message) {
|
|
79
|
+
trueSightLog("warning", "deepsight", "other", message);
|
|
80
|
+
}
|
|
81
|
+
//#endregion
|
|
26
82
|
//#region src/internal/manualReview/manualReviewService.ts
|
|
27
83
|
async function flagFaceManualReview() {
|
|
28
84
|
try {
|
|
@@ -295,6 +351,7 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
295
351
|
let pendingDeliveryEvent = null;
|
|
296
352
|
let visibilityGeneration = 0;
|
|
297
353
|
let hostStream = null;
|
|
354
|
+
let audioStream = null;
|
|
298
355
|
let resourcesReleased = false;
|
|
299
356
|
let cycleTransferred = false;
|
|
300
357
|
let commandQueue = Promise.resolve();
|
|
@@ -343,6 +400,7 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
343
400
|
}
|
|
344
401
|
});
|
|
345
402
|
};
|
|
403
|
+
const withMic = (videoStream) => withAudioTracks(videoStream, audioStream);
|
|
346
404
|
const releaseResources = () => {
|
|
347
405
|
if (resourcesReleased) return;
|
|
348
406
|
resourcesReleased = true;
|
|
@@ -363,6 +421,8 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
363
421
|
finalizeDeferred = false;
|
|
364
422
|
stopTracks(hostStream);
|
|
365
423
|
hostStream = null;
|
|
424
|
+
stopTracks(audioStream);
|
|
425
|
+
audioStream = null;
|
|
366
426
|
if (cycleTransferred) input.cycleOwnership.releaseByAttempt();
|
|
367
427
|
else input.cycleOwnership.releaseByController();
|
|
368
428
|
};
|
|
@@ -451,8 +511,8 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
451
511
|
onFirstFrame: () => {
|
|
452
512
|
startupTiming.firstFrameMs ??= Math.max(0, now() - cameraStepStartedAt);
|
|
453
513
|
},
|
|
454
|
-
onCameraReady: (
|
|
455
|
-
stopTracks(
|
|
514
|
+
onCameraReady: (claimedAudio) => {
|
|
515
|
+
stopTracks(claimedAudio);
|
|
456
516
|
step.outcome ??= { ready: true };
|
|
457
517
|
},
|
|
458
518
|
onCameraFailed: (error) => {
|
|
@@ -484,10 +544,18 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
484
544
|
await input.configureWorkflow();
|
|
485
545
|
startupTiming.configureMs = Math.max(0, now() - configureStartedAt);
|
|
486
546
|
if (!active) return;
|
|
547
|
+
if (input.recordAudio) try {
|
|
548
|
+
const mic = await requestCameraAccess({ audio: true });
|
|
549
|
+
if (!active) {
|
|
550
|
+
stopTracks(mic);
|
|
551
|
+
return;
|
|
552
|
+
}
|
|
553
|
+
audioStream = mic;
|
|
554
|
+
} catch {}
|
|
487
555
|
recorderOperationInFlight = true;
|
|
488
556
|
const recorderStartedAt = now();
|
|
489
557
|
try {
|
|
490
|
-
await input.recorder.start(displayStream);
|
|
558
|
+
await input.recorder.start(withMic(displayStream));
|
|
491
559
|
recorderStarted = input.recorder.mode !== "none";
|
|
492
560
|
} catch {
|
|
493
561
|
try {
|
|
@@ -610,7 +678,7 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
610
678
|
}
|
|
611
679
|
try {
|
|
612
680
|
recorderOperationInFlight = true;
|
|
613
|
-
await input.recorder.resumeAfterPoc(displayStream);
|
|
681
|
+
await input.recorder.resumeAfterPoc(withMic(displayStream));
|
|
614
682
|
recorderResumedAfterPoc = true;
|
|
615
683
|
postPocDisplayStream = displayStream;
|
|
616
684
|
} catch {
|
|
@@ -793,7 +861,7 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
793
861
|
}
|
|
794
862
|
recorderOperationInFlight = true;
|
|
795
863
|
try {
|
|
796
|
-
await input.recorder.resumeFromBackground(resumedStream);
|
|
864
|
+
await input.recorder.resumeFromBackground(withMic(resumedStream));
|
|
797
865
|
if (!active) return;
|
|
798
866
|
if (receivedVisibilityGeneration !== visibilityGeneration) {
|
|
799
867
|
recorderOperationInFlight = false;
|
|
@@ -905,6 +973,35 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
905
973
|
};
|
|
906
974
|
fromCallback(runProtectedAttempt);
|
|
907
975
|
//#endregion
|
|
976
|
+
//#region src/internal/cameraCycle/iadCameraStepGates.ts
|
|
977
|
+
/** Statsig gate for the kit's desktop camera-open timing check (`gc`). */
|
|
978
|
+
const IAD_CAMERA_OPEN_TIMING_GATE = "iad_camera_open_timing";
|
|
979
|
+
/** Statsig gate for the kit's Continuity camera-switch verdict (`cc`). */
|
|
980
|
+
const IAD_CONTINUITY_GATE = "iad_continuity";
|
|
981
|
+
/**
|
|
982
|
+
* The two opt-in checks of ml-wasm-kit v2.14.55 that a camera step turns on
|
|
983
|
+
* through its options, read from the same Statsig gates as SDK 1. Both are
|
|
984
|
+
* off in the kit, and off here when feature management is disabled or not
|
|
985
|
+
* initialized, because a gate then reads `false`.
|
|
986
|
+
*
|
|
987
|
+
* - `gc`: on desktop, with `ds`, no audio and the camera already granted, the
|
|
988
|
+
* kit waits 5 s before the first open and times the cold and warm opens
|
|
989
|
+
* into `gid`, in place of that step's pre-capture frame duplication.
|
|
990
|
+
* - `cc`: with `ds`, on every platform, `poc` detects a camera-source switch
|
|
991
|
+
* anywhere in the attempt's live stream, from the camera open after the
|
|
992
|
+
* pre-capture checks to the post-capture check, on auto and manual capture,
|
|
993
|
+
* and sets the scored `ci`.
|
|
994
|
+
*
|
|
995
|
+
* Read when each camera step builds its options, so a gate that becomes ready
|
|
996
|
+
* after `setup()` reaches the next step.
|
|
997
|
+
*/
|
|
998
|
+
function readIadCameraStepGates() {
|
|
999
|
+
return {
|
|
1000
|
+
gc: getFeatureGate(IAD_CAMERA_OPEN_TIMING_GATE).enabled,
|
|
1001
|
+
cc: getFeatureGate(IAD_CONTINUITY_GATE).enabled
|
|
1002
|
+
};
|
|
1003
|
+
}
|
|
1004
|
+
//#endregion
|
|
908
1005
|
//#region ../infra/src/providers/wasm/createCameraCycleOwnership.ts
|
|
909
1006
|
/** Creates an attempt lease in the underlying runtime's ownership domain. */
|
|
910
1007
|
function createCameraCycleOwnership(cycle) {
|
|
@@ -970,4 +1067,4 @@ async function electDesktopCameraDevice(facing) {
|
|
|
970
1067
|
return devices.find((device) => device.label !== "" && !isBackCameraLabel(device.label))?.deviceId ?? "";
|
|
971
1068
|
}
|
|
972
1069
|
//#endregion
|
|
973
|
-
export {
|
|
1070
|
+
export { cameraCycleProvider as a, deepsightSignalConfigActor as c, runProtectedAttempt as i, PROTECTED_CAPTURE_TARGET as l, createCameraCycleOwnership as n, flagFaceManualReview as o, readIadCameraStepGates as r, flagIdManualReview as s, electDesktopCameraDevice as t };
|
package/dist/device.d.ts
CHANGED
|
@@ -37,13 +37,13 @@ declare function isApplePlatform(): boolean;
|
|
|
37
37
|
* Whether capture/WASM are known to work in the current browser.
|
|
38
38
|
*
|
|
39
39
|
* Native Android and iOS WebViews are supported; third-party in-app browsers
|
|
40
|
-
* are not, on either platform. Outside a WebView,
|
|
41
|
-
* every platform and Safari is supported on Apple platforms.
|
|
40
|
+
* are not, on either platform. Outside a WebView, Chrome, Brave, and Edge are
|
|
41
|
+
* supported on every platform and Safari is supported on Apple platforms.
|
|
42
42
|
*
|
|
43
43
|
* The rejections run first, because a browser that is unsupported on its own is
|
|
44
44
|
* still unsupported when it hosts the page as a WebView (ENG-51674).
|
|
45
45
|
*
|
|
46
|
-
* Identity comes from the user agent, plus `navigator.
|
|
46
|
+
* Identity comes from the user agent, plus `navigator.island`
|
|
47
47
|
* and Client Hint brands where available. `navigator.island` is load-bearing:
|
|
48
48
|
* Island can be configured (or itself strip) the "Island Browser" UA token and
|
|
49
49
|
* still report Chrome-only Client Hint brands, so the UA and brands alone are
|
package/dist/device.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as isIOSWebView, c as isIslandBrowser, f as isTabletWithoutAndroid, i as isIOS, n as isAndroidWebView, o as isIPad } from "./platform-GIg4uPWe.esm.js";
|
|
2
2
|
import { n as getUserAgentBrands, t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
3
|
-
import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
|
|
4
3
|
import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
5
|
-
import { t as getDeviceClass } from "./getDeviceClass-
|
|
4
|
+
import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
|
|
5
|
+
import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
|
|
6
6
|
//#region src/internal/device/browserSupportClassification.ts
|
|
7
7
|
/**
|
|
8
8
|
* Third-party in-app browsers. These are real WebViews — `isAndroidWebView` and
|
|
@@ -13,19 +13,19 @@ const IN_APP_BROWSER_TOKEN = /\b(?:FBAN|FBAV|FB_IAB|FB4A|Instagram|LinkedInApp|T
|
|
|
13
13
|
/**
|
|
14
14
|
* Client Hint brands for the Chromium builds that are supported. `Chromium`
|
|
15
15
|
* covers vanilla and automation builds, which do not carry the Google Chrome
|
|
16
|
-
* brand.
|
|
17
|
-
* rejected, rather than being supported until someone denylists it.
|
|
16
|
+
* brand. Forks reporting no supported brand are rejected.
|
|
18
17
|
*/
|
|
19
|
-
const SUPPORTED_CHROMIUM_BRANDS = /* @__PURE__ */ new Set([
|
|
18
|
+
const SUPPORTED_CHROMIUM_BRANDS = /* @__PURE__ */ new Set([
|
|
19
|
+
"Google Chrome",
|
|
20
|
+
"Chromium",
|
|
21
|
+
"Brave",
|
|
22
|
+
"Microsoft Edge"
|
|
23
|
+
]);
|
|
20
24
|
/**
|
|
21
25
|
* Forks that report a Chrome-compatible UA *and* claim a supported brand. A
|
|
22
26
|
* second guard on top of the allowlist, not a substitute for it.
|
|
23
27
|
*/
|
|
24
|
-
const UNSUPPORTED_CHROMIUM_BRANDS = /* @__PURE__ */ new Set([
|
|
25
|
-
"Brave",
|
|
26
|
-
"Microsoft Edge",
|
|
27
|
-
"Opera"
|
|
28
|
-
]);
|
|
28
|
+
const UNSUPPORTED_CHROMIUM_BRANDS = /* @__PURE__ */ new Set(["Opera"]);
|
|
29
29
|
/** iOS/iPadOS/macOS — the only platforms where Safari is a supported option. */
|
|
30
30
|
function isApplePlatform() {
|
|
31
31
|
const userAgent = getUserAgent();
|
|
@@ -35,13 +35,13 @@ function isApplePlatform() {
|
|
|
35
35
|
* Whether capture/WASM are known to work in the current browser.
|
|
36
36
|
*
|
|
37
37
|
* Native Android and iOS WebViews are supported; third-party in-app browsers
|
|
38
|
-
* are not, on either platform. Outside a WebView,
|
|
39
|
-
* every platform and Safari is supported on Apple platforms.
|
|
38
|
+
* are not, on either platform. Outside a WebView, Chrome, Brave, and Edge are
|
|
39
|
+
* supported on every platform and Safari is supported on Apple platforms.
|
|
40
40
|
*
|
|
41
41
|
* The rejections run first, because a browser that is unsupported on its own is
|
|
42
42
|
* still unsupported when it hosts the page as a WebView (ENG-51674).
|
|
43
43
|
*
|
|
44
|
-
* Identity comes from the user agent, plus `navigator.
|
|
44
|
+
* Identity comes from the user agent, plus `navigator.island`
|
|
45
45
|
* and Client Hint brands where available. `navigator.island` is load-bearing:
|
|
46
46
|
* Island can be configured (or itself strip) the "Island Browser" UA token and
|
|
47
47
|
* still report Chrome-only Client Hint brands, so the UA and brands alone are
|
|
@@ -51,11 +51,11 @@ function isApplePlatform() {
|
|
|
51
51
|
*/
|
|
52
52
|
function isSupportedBrowser() {
|
|
53
53
|
const userAgent = getUserAgent();
|
|
54
|
-
if (
|
|
54
|
+
if (isIslandBrowser() || IN_APP_BROWSER_TOKEN.test(userAgent)) return false;
|
|
55
55
|
if (isAndroidWebView(userAgent) || isIOSWebView(userAgent)) return true;
|
|
56
56
|
const browser = getBrowser();
|
|
57
57
|
if (browser === "safari") return isApplePlatform();
|
|
58
|
-
if (browser !== "chrome") return false;
|
|
58
|
+
if (browser !== "chrome" && browser !== "edge") return false;
|
|
59
59
|
const brands = getUserAgentBrands();
|
|
60
60
|
if (brands === void 0) return true;
|
|
61
61
|
return brands.some((brand) => SUPPORTED_CHROMIUM_BRANDS.has(brand)) && !brands.some((brand) => UNSUPPORTED_CHROMIUM_BRANDS.has(brand));
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, u as DocumentUploadStatus } from "./types-
|
|
2
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
1
|
+
import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, u as DocumentUploadStatus } from "./types-Cy6Lx3L6.js";
|
|
2
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-sJWgqtUy.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, type DocumentUploadStatus, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
2
|
-
import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-
|
|
1
|
+
import { r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-flAt9D4q.esm.js";
|
|
2
|
+
import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-CGDtkfWj.esm.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
|
|
2
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
3
|
+
import "./Actor-DqjOqDfU.js";
|
|
4
|
+
import { i as SignatureMethod, n as SignatureDocument, r as SignatureDocumentFormat, t as DocumentSignatureConfig } from "./types-BNkzXOXE.js";
|
|
5
|
+
//#region src/modules/document-signature/documentSignatureStateMachine.d.ts
|
|
6
|
+
type DocumentSignatureErrorCode = 'NO_DOCUMENTS' | 'LOAD_FAILED';
|
|
7
|
+
declare const documentSignatureMachine: any;
|
|
8
|
+
type DocumentSignatureMachine = typeof documentSignatureMachine;
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/modules/document-signature/documentSignatureActor.d.ts
|
|
11
|
+
type CreateDocumentSignatureActorOptions = {
|
|
12
|
+
config: DocumentSignatureConfig;
|
|
13
|
+
};
|
|
14
|
+
type DocumentSignatureActor = ActorRefFrom<DocumentSignatureMachine>;
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/modules/document-signature/documentSignatureManager.d.ts
|
|
17
|
+
/** Fields shared by every screen that shows the documents. */
|
|
18
|
+
type DocumentSignatureReadingFields = {
|
|
19
|
+
title: string | undefined;
|
|
20
|
+
subtitle: string | undefined;
|
|
21
|
+
consentText: string | undefined;
|
|
22
|
+
documents: SignatureDocument[];
|
|
23
|
+
/** Documents the user has scrolled to the end, by id. */
|
|
24
|
+
reachedEndIds: string[];
|
|
25
|
+
/** True when every document has been scrolled to its end. */
|
|
26
|
+
allRead: boolean;
|
|
27
|
+
/** True when the Sign button is enabled. */
|
|
28
|
+
canSign: boolean;
|
|
29
|
+
};
|
|
30
|
+
type DocumentSignatureSheetFields = {
|
|
31
|
+
method: SignatureMethod;
|
|
32
|
+
typedName: string;
|
|
33
|
+
maxTypedNameLength: number;
|
|
34
|
+
canSubmit: boolean;
|
|
35
|
+
};
|
|
36
|
+
type DocumentSignatureState = {
|
|
37
|
+
status: 'idle';
|
|
38
|
+
} | {
|
|
39
|
+
status: 'loading';
|
|
40
|
+
} | ({
|
|
41
|
+
status: 'reading';
|
|
42
|
+
} & DocumentSignatureReadingFields) | ({
|
|
43
|
+
status: 'signing';
|
|
44
|
+
} & DocumentSignatureReadingFields & DocumentSignatureSheetFields) | ({
|
|
45
|
+
status: 'submitting';
|
|
46
|
+
} & DocumentSignatureReadingFields & DocumentSignatureSheetFields) | {
|
|
47
|
+
status: 'signed';
|
|
48
|
+
documents: SignatureDocument[];
|
|
49
|
+
/** True when the screen shows download links and waits for `continue()`. */
|
|
50
|
+
hasDownloads: boolean;
|
|
51
|
+
} | {
|
|
52
|
+
status: 'signFailed';
|
|
53
|
+
} | {
|
|
54
|
+
status: 'finished';
|
|
55
|
+
} | {
|
|
56
|
+
status: 'error';
|
|
57
|
+
error: DocumentSignatureErrorCode;
|
|
58
|
+
};
|
|
59
|
+
declare function createDocumentSignatureManager(options: CreateDocumentSignatureActorOptions): Manager<DocumentSignatureState> & {
|
|
60
|
+
/** Loads the session's documents. */
|
|
61
|
+
load(): void;
|
|
62
|
+
/**
|
|
63
|
+
* Reports that a document's end is on screen. Repeated calls are ignored.
|
|
64
|
+
* Pass `scrolled: true` when the user scrolled there: then reaching the last
|
|
65
|
+
* end opens the sign sheet.
|
|
66
|
+
*/
|
|
67
|
+
reachedEnd(documentId: string, scrolled?: boolean): void;
|
|
68
|
+
/** Opens the sign sheet. Ignored until `canSign` is true. */
|
|
69
|
+
openSign(): void;
|
|
70
|
+
/** Closes the sign sheet without signing. */
|
|
71
|
+
closeSign(): void;
|
|
72
|
+
/** Switches between drawing and typing the name. */
|
|
73
|
+
selectMethod(method: SignatureMethod): void;
|
|
74
|
+
/** Reports the total stroke length, in CSS pixels, of the drawn signature. */
|
|
75
|
+
setDrawing(inkLength: number): void;
|
|
76
|
+
/** Updates the typed name. */
|
|
77
|
+
setTypedName(typedName: string): void;
|
|
78
|
+
/**
|
|
79
|
+
* Signs every document. For a drawn signature, pass the PNG as base64
|
|
80
|
+
* without the `data:` prefix. For a typed name, call it without arguments.
|
|
81
|
+
*/
|
|
82
|
+
submit(signatureBase64?: string): void;
|
|
83
|
+
/** After a failed sign or a failed load, loads the documents again. */
|
|
84
|
+
retry(): void;
|
|
85
|
+
/** Leaves the signed screen and finishes the module. Only needed when it shows download links. */
|
|
86
|
+
continue(): void;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Creates a Document Signature manager from a pre-built actor.
|
|
90
|
+
* Use it when you override the machine with `.provide()`.
|
|
91
|
+
*/
|
|
92
|
+
declare function createDocumentSignatureManagerFromActor(actor: DocumentSignatureActor): Manager<DocumentSignatureState> & {
|
|
93
|
+
/** Loads the session's documents. */
|
|
94
|
+
load(): void;
|
|
95
|
+
/**
|
|
96
|
+
* Reports that a document's end is on screen. Repeated calls are ignored.
|
|
97
|
+
* Pass `scrolled: true` when the user scrolled there: then reaching the last
|
|
98
|
+
* end opens the sign sheet.
|
|
99
|
+
*/
|
|
100
|
+
reachedEnd(documentId: string, scrolled?: boolean): void;
|
|
101
|
+
/** Opens the sign sheet. Ignored until `canSign` is true. */
|
|
102
|
+
openSign(): void;
|
|
103
|
+
/** Closes the sign sheet without signing. */
|
|
104
|
+
closeSign(): void;
|
|
105
|
+
/** Switches between drawing and typing the name. */
|
|
106
|
+
selectMethod(method: SignatureMethod): void;
|
|
107
|
+
/** Reports the total stroke length, in CSS pixels, of the drawn signature. */
|
|
108
|
+
setDrawing(inkLength: number): void;
|
|
109
|
+
/** Updates the typed name. */
|
|
110
|
+
setTypedName(typedName: string): void;
|
|
111
|
+
/**
|
|
112
|
+
* Signs every document. For a drawn signature, pass the PNG as base64
|
|
113
|
+
* without the `data:` prefix. For a typed name, call it without arguments.
|
|
114
|
+
*/
|
|
115
|
+
submit(signatureBase64?: string): void;
|
|
116
|
+
/** After a failed sign or a failed load, loads the documents again. */
|
|
117
|
+
retry(): void;
|
|
118
|
+
/** Leaves the signed screen and finishes the module. Only needed when it shows download links. */
|
|
119
|
+
continue(): void;
|
|
120
|
+
};
|
|
121
|
+
type DocumentSignatureManager = ReturnType<typeof createDocumentSignatureManager>;
|
|
122
|
+
//#endregion
|
|
123
|
+
export { type DocumentSignatureActor, type DocumentSignatureConfig, type DocumentSignatureErrorCode, type DocumentSignatureManager, type DocumentSignatureReadingFields, type DocumentSignatureSheetFields, type DocumentSignatureState, type SignatureDocument, type SignatureDocumentFormat, type SignatureMethod, createDocumentSignatureManager, createDocumentSignatureManagerFromActor, documentSignatureMachine };
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-ChMS-UzR.esm.js";
|
|
3
|
+
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
|
+
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
+
import { a as hasReadAll, i as hasDownloads, n as canSubmitSignature, r as documentSignatureMachine, t as canOpenSign } from "./documentSignatureStateMachine-DrRyICFT.esm.js";
|
|
6
|
+
//#region src/modules/document-signature/documentSignatureActor.ts
|
|
7
|
+
function createDocumentSignatureActor(options) {
|
|
8
|
+
return createActor(documentSignatureMachine, { input: { config: options.config } }).start();
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
//#region src/modules/document-signature/documentSignatureManager.ts
|
|
12
|
+
function readingFields(context) {
|
|
13
|
+
return {
|
|
14
|
+
title: context.config.title,
|
|
15
|
+
subtitle: context.config.subTitle,
|
|
16
|
+
consentText: context.config.consentText,
|
|
17
|
+
documents: context.documents,
|
|
18
|
+
reachedEndIds: context.reachedEndIds,
|
|
19
|
+
allRead: hasReadAll(context),
|
|
20
|
+
canSign: canOpenSign(context)
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function sheetFields(context) {
|
|
24
|
+
return {
|
|
25
|
+
method: context.method,
|
|
26
|
+
typedName: context.typedName,
|
|
27
|
+
maxTypedNameLength: 100,
|
|
28
|
+
canSubmit: canSubmitSignature(context)
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function mapState(snapshot) {
|
|
32
|
+
const typed = snapshot;
|
|
33
|
+
const { context } = typed;
|
|
34
|
+
if (typed.matches("loading")) return { status: "loading" };
|
|
35
|
+
if (typed.matches("reading")) return {
|
|
36
|
+
status: "reading",
|
|
37
|
+
...readingFields(context)
|
|
38
|
+
};
|
|
39
|
+
if (typed.matches("signing")) return {
|
|
40
|
+
status: "signing",
|
|
41
|
+
...readingFields(context),
|
|
42
|
+
...sheetFields(context)
|
|
43
|
+
};
|
|
44
|
+
if (typed.matches("submitting")) return {
|
|
45
|
+
status: "submitting",
|
|
46
|
+
...readingFields(context),
|
|
47
|
+
...sheetFields(context)
|
|
48
|
+
};
|
|
49
|
+
if (typed.matches("signed")) return {
|
|
50
|
+
status: "signed",
|
|
51
|
+
documents: context.documents,
|
|
52
|
+
hasDownloads: hasDownloads(context)
|
|
53
|
+
};
|
|
54
|
+
if (typed.matches("signFailed")) return { status: "signFailed" };
|
|
55
|
+
if (typed.matches("finished")) return { status: "finished" };
|
|
56
|
+
if (typed.matches("error")) return {
|
|
57
|
+
status: "error",
|
|
58
|
+
error: context.error ?? "LOAD_FAILED"
|
|
59
|
+
};
|
|
60
|
+
return { status: "idle" };
|
|
61
|
+
}
|
|
62
|
+
function createApi({ actor, trackElementClicked }) {
|
|
63
|
+
return {
|
|
64
|
+
/** Loads the session's documents. */
|
|
65
|
+
load() {
|
|
66
|
+
actor.send({ type: "LOAD" });
|
|
67
|
+
},
|
|
68
|
+
/**
|
|
69
|
+
* Reports that a document's end is on screen. Repeated calls are ignored.
|
|
70
|
+
* Pass `scrolled: true` when the user scrolled there: then reaching the last
|
|
71
|
+
* end opens the sign sheet.
|
|
72
|
+
*/
|
|
73
|
+
reachedEnd(documentId, scrolled = false) {
|
|
74
|
+
actor.send({
|
|
75
|
+
type: "DOCUMENT_REACHED_END",
|
|
76
|
+
documentId,
|
|
77
|
+
scrolled
|
|
78
|
+
});
|
|
79
|
+
},
|
|
80
|
+
/** Opens the sign sheet. Ignored until `canSign` is true. */
|
|
81
|
+
openSign() {
|
|
82
|
+
trackElementClicked?.("sign");
|
|
83
|
+
actor.send({ type: "OPEN_SIGN" });
|
|
84
|
+
},
|
|
85
|
+
/** Closes the sign sheet without signing. */
|
|
86
|
+
closeSign() {
|
|
87
|
+
actor.send({ type: "CLOSE_SIGN" });
|
|
88
|
+
},
|
|
89
|
+
/** Switches between drawing and typing the name. */
|
|
90
|
+
selectMethod(method) {
|
|
91
|
+
actor.send({
|
|
92
|
+
type: "SELECT_METHOD",
|
|
93
|
+
method
|
|
94
|
+
});
|
|
95
|
+
},
|
|
96
|
+
/** Reports the total stroke length, in CSS pixels, of the drawn signature. */
|
|
97
|
+
setDrawing(inkLength) {
|
|
98
|
+
actor.send({
|
|
99
|
+
type: "DRAWING_CHANGED",
|
|
100
|
+
inkLength
|
|
101
|
+
});
|
|
102
|
+
},
|
|
103
|
+
/** Updates the typed name. */
|
|
104
|
+
setTypedName(typedName) {
|
|
105
|
+
actor.send({
|
|
106
|
+
type: "TYPED_NAME_CHANGED",
|
|
107
|
+
typedName
|
|
108
|
+
});
|
|
109
|
+
},
|
|
110
|
+
/**
|
|
111
|
+
* Signs every document. For a drawn signature, pass the PNG as base64
|
|
112
|
+
* without the `data:` prefix. For a typed name, call it without arguments.
|
|
113
|
+
*/
|
|
114
|
+
submit(signatureBase64) {
|
|
115
|
+
trackElementClicked?.("confirmAndSign");
|
|
116
|
+
actor.send({
|
|
117
|
+
type: "SUBMIT",
|
|
118
|
+
signatureBase64
|
|
119
|
+
});
|
|
120
|
+
},
|
|
121
|
+
/** After a failed sign or a failed load, loads the documents again. */
|
|
122
|
+
retry() {
|
|
123
|
+
trackElementClicked?.("tryAgain");
|
|
124
|
+
actor.send({ type: "RETRY" });
|
|
125
|
+
},
|
|
126
|
+
/** Leaves the signed screen and finishes the module. Only needed when it shows download links. */
|
|
127
|
+
continue() {
|
|
128
|
+
trackElementClicked?.("continue");
|
|
129
|
+
actor.send({ type: "CONTINUE" });
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
function createDocumentSignatureManager(options) {
|
|
134
|
+
return createDocumentSignatureManagerFromActor(createDocumentSignatureActor(options));
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Creates a Document Signature manager from a pre-built actor.
|
|
138
|
+
* Use it when you override the machine with `.provide()`.
|
|
139
|
+
*/
|
|
140
|
+
function createDocumentSignatureManagerFromActor(actor) {
|
|
141
|
+
return createManager({
|
|
142
|
+
actor,
|
|
143
|
+
mapState,
|
|
144
|
+
createApi,
|
|
145
|
+
instrumentation: createManagerInstrumentation(eventModuleNames.documentSignature)
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
//#endregion
|
|
149
|
+
export { createDocumentSignatureManager, createDocumentSignatureManagerFromActor, documentSignatureMachine };
|
package/dist/{documentCaptureManager-v57klTso.esm.js → documentCaptureManager-CGDtkfWj.esm.js}
RENAMED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { n as eventModuleNames
|
|
1
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-ChMS-UzR.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 DEFAULT_MAX_FILE_SIZE, r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-flAt9D4q.esm.js";
|
|
5
7
|
//#region src/modules/document-capture/documentCaptureActor.ts
|
|
6
8
|
function createDocumentCaptureActor(options) {
|
|
7
9
|
return createActor(documentCaptureMachine, { input: { config: options.config } }).start();
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
1
|
+
import { A as MachineSnapshot, O as PromiseActorLogic, S as RequiredLogicInput, T as Values, _ as IsNotNever, a as ActorRefFromLogic, b as NonReducibleUnknown, c as AnyEventObject, d as DoneActorEvent, g as InputFrom, h as GetConcreteByKey, i as ActorRefFrom, j as StateMachine, m as EventObject, o as AnyActorLogic, p as ErrorActorEvent, r as ActorRef, s as AnyActorRef, t as ActionFunction, u as ConditionalRequired, w as StateValue, x as RequiredActorOptions, y as MetaObject } from "./spawn-COZKetCS.js";
|
|
2
|
+
import "./xstate.cjs-D6Ur0X1F.js";
|
|
3
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
4
|
+
import "./Actor-DqjOqDfU.js";
|
|
5
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-CeEcakO7.js";
|
|
6
|
+
import { a as DocumentCaptureErrorCode, c as DocumentType, d as FinalizeDocumentResponse, i as DocumentCaptureContext, l as DocumentUploadResponse, o as DocumentCaptureInput, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, t as CapturedDocument, u as DocumentUploadStatus } from "./types-Cy6Lx3L6.js";
|
|
6
7
|
//#region src/modules/document-capture/documentCaptureStateMachine.d.ts
|
|
7
8
|
declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
8
9
|
type: "CAPTURE";
|
|
@@ -262,7 +263,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
262
263
|
type: "fileSizeOkForNonGallery";
|
|
263
264
|
params: unknown;
|
|
264
265
|
};
|
|
265
|
-
}>, never, "uploading" | "closed" | "success" | "finished" | "
|
|
266
|
+
}>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "tutorial" | "capturing" | "preview" | "failure" | "nextPage" | "finalizing" | {
|
|
266
267
|
permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
|
|
267
268
|
}, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
268
269
|
readonly id: "documentCapture";
|