@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
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
2
|
-
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-
|
|
1
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-D1J2NQSI.esm.js";
|
|
2
|
+
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-NX1lz6nk.esm.js";
|
|
3
3
|
export { createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-C9JJGENL.esm.js → mandatoryConsentManager-NX1lz6nk.esm.js}
RENAMED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { n as eventModuleNames
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
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 { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-D1J2NQSI.esm.js";
|
|
4
6
|
//#region src/modules/mandatory-consent/mandatoryConsentActor.ts
|
|
5
7
|
function createMandatoryConsentActor(options) {
|
|
6
8
|
return createActor(mandatoryConsentMachine, { input: { config: options.config } }).start();
|
package/dist/{mandatoryConsentManager-JNeVXgK8.d.ts → mandatoryConsentManager-kzr5kdc_.d.ts}
RENAMED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
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, g as InputFrom, h as GetConcreteByKey, i as ActorRefFrom, j as StateMachine, m as EventObject, o as AnyActorLogic, r as ActorRef, s as AnyActorRef, 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 MandatoryConsent, r as MandatoryConsentConfig, t as FetchMandatoryConsentResponse } from "./types-C1056-J1.js";
|
|
5
6
|
//#region src/modules/mandatory-consent/mandatoryConsentStateMachine.d.ts
|
|
6
7
|
type MandatoryConsentContext = {
|
|
7
8
|
config: MandatoryConsentConfig;
|
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
-
import { i as assign, t as setup } from "./xstate.esm-
|
|
3
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
|
|
2
|
+
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
|
+
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
//#region src/modules/mandatory-consent/mandatoryConsentServices.ts
|
|
5
5
|
async function fetchMandatoryConsent(regulationType, language, type, signal) {
|
|
6
|
-
|
|
6
|
+
return (await api.get(endpoints.getConsents, {
|
|
7
7
|
signal,
|
|
8
8
|
query: {
|
|
9
9
|
type,
|
|
10
10
|
language: language ?? "en",
|
|
11
11
|
regulationType
|
|
12
12
|
}
|
|
13
|
-
});
|
|
14
|
-
if (!res.ok) throw new Error(`GET ${endpoints.getConsents} failed: ${res.status} ${res.statusText}`);
|
|
15
|
-
return res.data;
|
|
13
|
+
})).data;
|
|
16
14
|
}
|
|
17
15
|
async function submitMandatoryConsent(params, signal) {
|
|
18
|
-
|
|
19
|
-
if (!res.ok) throw new Error(`POST ${endpoints.submitMlConsent} failed: ${res.status} ${res.statusText}`);
|
|
16
|
+
await api.post(endpoints.submitMlConsent, params, { signal });
|
|
20
17
|
}
|
|
21
18
|
//#endregion
|
|
22
19
|
//#region src/modules/mandatory-consent/mandatoryConsentStateMachine.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as isIOS } from "./platform-GIg4uPWe.esm.js";
|
|
2
2
|
//#region ../infra/src/media/mediaRecorderOptions.ts
|
|
3
3
|
/**
|
|
4
4
|
* Picks a `MediaRecorder` mime type the current browser actually supports.
|
|
@@ -23,11 +23,28 @@ function getMultipartRecorderMimeType() {
|
|
|
23
23
|
return getSupportedMediaRecorderMimeType();
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
27
|
-
*
|
|
26
|
+
* Mime type for a recording of the camera track itself (the Deepsight video
|
|
27
|
+
* liveness clip, `LocalRecordingProvider`). Such a track keeps the camera's
|
|
28
|
+
* sensor orientation, so the container has to carry the rotation. WebM has no
|
|
29
|
+
* rotation field, and Safari on iOS 18.4 and 18.5 writes the sensor frames
|
|
30
|
+
* into WebM without turning them (WebKit bug 290223), so the face lies
|
|
31
|
+
* sideways and Deepsight finds none. MP4 carries the rotation matrix, so iOS
|
|
32
|
+
* records MP4 whenever it can; other platforms keep the WebM-first order.
|
|
33
|
+
*
|
|
34
|
+
* The multipart recordings keep WebM: they record the compositor's canvas,
|
|
35
|
+
* whose pixels are already drawn upright.
|
|
36
|
+
*/
|
|
37
|
+
function getCameraRecorderMimeType() {
|
|
38
|
+
if (isIOS() && MediaRecorder.isTypeSupported("video/mp4")) return "video/mp4";
|
|
39
|
+
return getSupportedMediaRecorderMimeType();
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* `MediaRecorder` options for a recording of the camera track — a higher
|
|
43
|
+
* bitrate on iOS, lower elsewhere — paired with
|
|
44
|
+
* {@link getCameraRecorderMimeType}.
|
|
28
45
|
*/
|
|
29
46
|
function getAdaptiveMediaRecorderOptions() {
|
|
30
|
-
const mimeType =
|
|
47
|
+
const mimeType = getCameraRecorderMimeType();
|
|
31
48
|
if (isIOS()) return {
|
|
32
49
|
mimeType,
|
|
33
50
|
videoBitsPerSecond: 1e6,
|
package/dist/{multipartRecordingService-OmSzHBqh.esm.js → multipartRecordingService-Cz-cWrpV.esm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
+
import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
4
|
import { t as BrowserNetworkStatusProvider } from "./BrowserNetworkStatusProvider-BrDXBEDd.esm.js";
|
|
5
|
-
import { t as MultipartRecordingProvider } from "./MultipartRecordingProvider-
|
|
5
|
+
import { t as MultipartRecordingProvider } from "./MultipartRecordingProvider-BtMQZEbg.esm.js";
|
|
6
6
|
//#region src/internal/recordings/videoSelfieUploadService.ts
|
|
7
7
|
/**
|
|
8
8
|
* Opens a scoped multipart video upload session. Idempotent server-side: if
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as isWasmMotionPrimedForModule } from "./permissionServices-
|
|
1
|
+
import { s as isWasmMotionPrimedForModule } from "./permissionServices-BrtDMB0Z.esm.js";
|
|
2
2
|
//#region src/internal/permissions/permissionGuards.ts
|
|
3
3
|
function resolveStoredPermissionResult(fromEvent, fromContext) {
|
|
4
4
|
if (fromEvent === "granted" || fromEvent === "denied" || fromEvent === "prompt" || fromEvent === "refresh") return fromEvent;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
2
|
-
import { n as isAndroidWebView } from "./platform-
|
|
3
|
-
import { t as MotionSensorProvider } from "./MotionSensorProvider-
|
|
4
|
-
import { a as stopCameraStream,
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-DVFDFlIL.esm.js";
|
|
2
|
+
import { n as isAndroidWebView } from "./platform-GIg4uPWe.esm.js";
|
|
3
|
+
import { t as MotionSensorProvider } from "./MotionSensorProvider-X4_2eBGd.esm.js";
|
|
4
|
+
import { a as stopCameraStream, l as isCameraGrantedInDocument, r as requestCameraAccess, s as clearCameraGrantedInDocument } from "./camera-CJKApt0x.esm.js";
|
|
5
5
|
//#region ../infra/src/media/permissions.ts
|
|
6
6
|
async function queryPermission(name) {
|
|
7
7
|
try {
|
|
@@ -40,7 +40,9 @@ function isWasmMotionPrimedForModule() {
|
|
|
40
40
|
* That stays correct because every production caller that can write those
|
|
41
41
|
* flags runs within manager or machine permission orchestration and is followed
|
|
42
42
|
* by an actor transition. The mapped value is therefore re-derived before the
|
|
43
|
-
* UI can act on it.
|
|
43
|
+
* UI can act on it. That includes the retry from `motionDenied`, which clears
|
|
44
|
+
* the denied flag inside the `requesting` actor (`invokeRequestPermissionActor`)
|
|
45
|
+
* and resolves before `onDone`. Keep that true: a writer reachable without a transition
|
|
44
46
|
* would let this value go stale, and it would then have to move into context
|
|
45
47
|
* and be assigned explicitly.
|
|
46
48
|
*/
|
|
@@ -138,13 +140,21 @@ async function requestMotionPermission() {
|
|
|
138
140
|
* stops the obtained stream. When `requestMotion` is true (deepsight), requests
|
|
139
141
|
* motion OS permission first, then primes WASM sensors while it requests the
|
|
140
142
|
* camera — all in one user gesture chain, as in SDK v1.
|
|
143
|
+
*
|
|
144
|
+
* Public contract: a motion denial reports `'denied'`, the same as a camera
|
|
145
|
+
* denial. The capture machines use `requestPermissionOutcome` instead, which
|
|
146
|
+
* tells the two apart.
|
|
141
147
|
*/
|
|
142
148
|
async function requestPermission(options = {}) {
|
|
149
|
+
const outcome = await requestPermissionOutcome(options);
|
|
150
|
+
return outcome === "motionDenied" ? "denied" : outcome;
|
|
151
|
+
}
|
|
152
|
+
async function requestPermissionOutcome(options) {
|
|
143
153
|
try {
|
|
144
154
|
let motionPrimed;
|
|
145
155
|
if (options.requestMotion) {
|
|
146
156
|
const motionSensor = new MotionSensorProvider();
|
|
147
|
-
if (await resolveMotionOsPermission(motionSensor) === "denied") return "
|
|
157
|
+
if (await resolveMotionOsPermission(motionSensor) === "denied") return "motionDenied";
|
|
148
158
|
if (!isWasmMotionPrimedForModule()) motionPrimed = primeWasmMotionSensor(motionSensor);
|
|
149
159
|
}
|
|
150
160
|
const [stream] = await Promise.all([requestCameraAccess({
|
|
@@ -160,16 +170,20 @@ async function requestPermission(options = {}) {
|
|
|
160
170
|
}
|
|
161
171
|
}
|
|
162
172
|
async function invokeRequestPermissionActor(input) {
|
|
163
|
-
if (!input.requestMotionPermission) return requestPermission();
|
|
173
|
+
if (!input.requestMotionPermission) return requestPermission({ requestAudio: input.requestAudio });
|
|
174
|
+
if (input.retryDeniedMotionPermission) MotionSensorProvider.clearMotionPermissionDeniedInSession();
|
|
164
175
|
if (input.permissionResult === "granted") {
|
|
165
176
|
if (!isWasmMotionPrimedForModule()) {
|
|
166
177
|
const motionSensor = new MotionSensorProvider();
|
|
167
|
-
if (await resolveMotionOsPermission(motionSensor) === "denied") return "
|
|
178
|
+
if (await resolveMotionOsPermission(motionSensor) === "denied") return "motionDenied";
|
|
168
179
|
if (!await primeWasmMotionSensor(motionSensor)) return "denied";
|
|
169
180
|
}
|
|
170
181
|
return "granted";
|
|
171
182
|
}
|
|
172
|
-
return
|
|
183
|
+
return requestPermissionOutcome({
|
|
184
|
+
requestMotion: true,
|
|
185
|
+
requestAudio: input.requestAudio
|
|
186
|
+
});
|
|
173
187
|
}
|
|
174
188
|
//#endregion
|
|
175
189
|
export { requestPermission as a, resetWasmMotionPrimedForModule as c, requestMotionPermission as i, queryCameraPermission as l, invokeRequestPermissionActor as n, requiresMotionPermissionUserGesture as o, primeMotionFromUserGestureIfNeeded as r, isWasmMotionPrimedForModule as s, checkPermission as t, queryPermission as u };
|
package/dist/phone.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PhoneState, o as phoneMachine, r as createPhoneManager, s as PhoneConfig, t as PhoneManager } from "./phoneManager-
|
|
1
|
+
import { n as PhoneState, o as phoneMachine, r as createPhoneManager, s as PhoneConfig, t as PhoneManager } from "./phoneManager-VO1HEoUZ.js";
|
|
2
2
|
export { type PhoneConfig, type PhoneManager, type PhoneState, createPhoneManager, phoneMachine };
|
package/dist/phone.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as phoneMachine } from "./phoneStateMachine-
|
|
2
|
-
import { t as createPhoneManager } from "./phoneManager-
|
|
1
|
+
import { t as phoneMachine } from "./phoneStateMachine-CxCPxTIy.esm.js";
|
|
2
|
+
import { t as createPhoneManager } from "./phoneManager-D1QPNbu0.esm.js";
|
|
3
3
|
export { createPhoneManager, phoneMachine };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { t as getPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
2
|
+
//#region src/internal/forms/checks/allowedCharacters.ts
|
|
3
|
+
const CLASS_PATTERNS = {
|
|
4
|
+
letter: "\\p{L}\\p{M}",
|
|
5
|
+
digit: "0-9",
|
|
6
|
+
space: " "
|
|
7
|
+
};
|
|
8
|
+
const escapeForClass = (chars) => chars.replace(/[\\\]^-]/g, "\\$&");
|
|
9
|
+
/**
|
|
10
|
+
* `allowedCharacters`: only characters from `classes`, plus any in `extra`.
|
|
11
|
+
* With `ascii`, `letter` means A-Z in either case instead of any script.
|
|
12
|
+
*/
|
|
13
|
+
function hasAllowedCharacters(value, classes, extra = "", ascii = false) {
|
|
14
|
+
const set = classes.map((c) => ascii && c === "letter" ? "A-Za-z" : CLASS_PATTERNS[c]).join("");
|
|
15
|
+
return new RegExp(`^[${set}${escapeForClass(extra)}]+$`, "u").test(value);
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region src/shared/phoneFormat.ts
|
|
19
|
+
/**
|
|
20
|
+
* The phone in E.164, or the value as typed when the rules are not loaded
|
|
21
|
+
* (`loadPhoneValidation()`) or the number is not valid.
|
|
22
|
+
*/
|
|
23
|
+
function formatPhoneE164(phone, country) {
|
|
24
|
+
return getPhoneValidation()?.formatE164(phone, country) ?? phone;
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
export { hasAllowedCharacters as n, formatPhoneE164 as t };
|
|
@@ -1,8 +1,10 @@
|
|
|
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 { n as loadPhoneValidation, t as getPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
3
|
-
import {
|
|
4
|
+
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
|
+
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
4
6
|
import { n as isOtpComplete } from "./otp-D2k3PeSL.esm.js";
|
|
5
|
-
import { t as phoneMachine } from "./phoneStateMachine-
|
|
7
|
+
import { t as phoneMachine } from "./phoneStateMachine-CxCPxTIy.esm.js";
|
|
6
8
|
//#region src/modules/phone/phoneActor.ts
|
|
7
9
|
function createPhoneActor(options) {
|
|
8
10
|
return createActor(phoneMachine, { input: { config: options.config } }).start();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as ActorRefFrom } from "./spawn-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./Actor-
|
|
1
|
+
import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
|
|
2
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
3
|
+
import "./Actor-DqjOqDfU.js";
|
|
4
4
|
import { t as OtpValidationErrors } from "./otp-CEWfTj9v.js";
|
|
5
5
|
//#region ../infra/src/capabilities/IPhoneValidationCapability.d.ts
|
|
6
6
|
type IPhoneValidationCapability = {
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
import { r as getToken, t as api, u as endpoints } from "./api-
|
|
1
|
+
import { r as getToken, t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
|
|
2
2
|
//#region src/modules/phone/phoneServices.ts
|
|
3
3
|
function getPhoneServerFailureReason(error, invalidStatus) {
|
|
4
4
|
if (error.status === invalidStatus) return "invalidPhone";
|
|
5
5
|
return "serverError";
|
|
6
6
|
}
|
|
7
7
|
async function fetchPhone(signal) {
|
|
8
|
-
|
|
9
|
-
if (!res.ok) throw new Error(`GET ${endpoints.getPhone} failed: ${res.status} ${res.statusText}`);
|
|
10
|
-
return res.data;
|
|
8
|
+
return (await api.get(endpoints.getPhone, { signal })).data;
|
|
11
9
|
}
|
|
12
10
|
async function requestStartInfo(signal) {
|
|
13
|
-
|
|
14
|
-
if (!res.ok) throw new Error(`GET ${endpoints.startInfo} failed: ${res.status} ${res.statusText}`);
|
|
15
|
-
return res.data;
|
|
11
|
+
return (await api.get(endpoints.startInfo, { signal })).data;
|
|
16
12
|
}
|
|
17
13
|
let prefetchedStartInfo;
|
|
18
14
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
3
|
-
import { i as fetchStartInfo, n as addPhoneInstantVerify, o as sendOtp, r as fetchPhone, s as verifyOtp, t as addPhone } from "./phoneServices-
|
|
4
|
-
import { i as assign, t as setup } from "./xstate.esm-
|
|
5
|
-
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-
|
|
6
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
3
|
+
import { i as fetchStartInfo, n as addPhoneInstantVerify, o as sendOtp, r as fetchPhone, s as verifyOtp, t as addPhone } from "./phoneServices-DC7AuUed.esm.js";
|
|
4
|
+
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
6
|
+
import { t as carryAttempts } from "./attemptCarry-DWM8lV9V.esm.js";
|
|
7
7
|
import { n as isOtpComplete, t as computeOtpValidationErrors } from "./otp-D2k3PeSL.esm.js";
|
|
8
8
|
//#region src/modules/phone/phoneStateMachine.ts
|
|
9
9
|
const RESEND_TIMER_SECONDS = 30;
|
|
@@ -92,9 +92,6 @@ function isMacOsSafari(userAgent) {
|
|
|
92
92
|
const ua = userAgent || (typeof navigator !== "undefined" ? navigator.userAgent : "");
|
|
93
93
|
return /Mac OS/.test(ua) && !isIOS(ua) && isSafari(ua);
|
|
94
94
|
}
|
|
95
|
-
function isBraveBrowser() {
|
|
96
|
-
return typeof navigator !== "undefined" && "brave" in navigator;
|
|
97
|
-
}
|
|
98
95
|
function isIslandBrowser() {
|
|
99
96
|
return typeof navigator !== "undefined" && "island" in navigator;
|
|
100
97
|
}
|
|
@@ -142,4 +139,4 @@ function isIPhone14OrHigher() {
|
|
|
142
139
|
return IPHONE_14_PLUS_DIMENSIONS.some((dims) => dims.outerHeight === outerHeight && dims.outerWidth === outerWidth || dims.innerHeight === innerHeight && dims.innerWidth === innerWidth);
|
|
143
140
|
}
|
|
144
141
|
//#endregion
|
|
145
|
-
export {
|
|
142
|
+
export { isIOSWebView as a, isIslandBrowser as c, isSamsungDevice as d, isTabletWithoutAndroid as f, isIOS as i, isMacOsSafari as l, isAndroidWebView as n, isIPad as o, isDesktop as r, isIPhone14OrHigher as s, isAndroid as t, isSafari as u };
|
package/dist/qe-signature.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
1
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
2
2
|
import { S as getDefaultConsentChecks, a as ElectronicSignatureConfig, b as areAllConsented, f as NAMIRIAL_QES_CONSENT_KEYS, h as QE_CONSENT_KEYS, i as ConsentKey, m as NamirialQesConsentKey, p as NAMIRIAL_QES_PROVIDER_CODE, r as ConsentChecks, s as ElectronicSignatureDocument, u as ElectronicSignatureProviderTerms } from "./types-D0gekt4U.js";
|
|
3
|
-
import { n as ElectronicSignatureState, o as electronicSignatureMachine } from "./electronicSignatureManager-
|
|
3
|
+
import { n as ElectronicSignatureState, o as electronicSignatureMachine } from "./electronicSignatureManager-5tYz-a4o.js";
|
|
4
4
|
import "./electronic-signature.js";
|
|
5
5
|
//#region src/modules/qe-signature/index.d.ts
|
|
6
6
|
type QeSignatureConfig = Omit<ElectronicSignatureConfig, 'variant'>;
|
package/dist/qe-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-C1M-Yxf2.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
|
|
2
2
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
3
|
+
import { n as recordsLivenessClip } from "./deepsightCaptureConfig-Nm_K8twx.esm.js";
|
|
4
|
+
import { r as createRecordingCompositor } from "./CameraCompositor-C7N1N61V.esm.js";
|
|
5
|
+
import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-Di_V9TnZ.esm.js";
|
|
6
|
+
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-BO7urYwT.esm.js";
|
|
7
|
+
import { t as MultipartRecordingService } from "./multipartRecordingService-Cz-cWrpV.esm.js";
|
|
7
8
|
//#region ../infra/src/media/VideoTrimmer.ts
|
|
8
9
|
/** A trim that runs longer than this uploads the full recording instead. */
|
|
9
10
|
const TRIM_TIMEOUT_MS = 1e4;
|
|
@@ -335,7 +336,7 @@ var MultipartFaceRecordingService = class {
|
|
|
335
336
|
if (!compositor) return;
|
|
336
337
|
if (this.needsVideoSourceReplacement) {
|
|
337
338
|
const recordingSource = stream.clone();
|
|
338
|
-
|
|
339
|
+
compositor.switchAudio(recordingSource);
|
|
339
340
|
compositor.switchVideo(recordingSource);
|
|
340
341
|
this.needsVideoSourceReplacement = false;
|
|
341
342
|
this.recordingSource = recordingSource;
|
|
@@ -373,6 +374,7 @@ var MultipartFaceRecordingService = class {
|
|
|
373
374
|
for (const track of tracks) try {
|
|
374
375
|
track.stop();
|
|
375
376
|
} catch {}
|
|
377
|
+
if (options.keepAudio) this.compositor?.releaseAudio();
|
|
376
378
|
}
|
|
377
379
|
};
|
|
378
380
|
/**
|
|
@@ -383,14 +385,19 @@ var MultipartFaceRecordingService = class {
|
|
|
383
385
|
* on-device workflow never uploads media, only the staged face-results
|
|
384
386
|
* JSON via `WebApi.postFaceResults`. Mirrors V1's
|
|
385
387
|
* `FaceFlowManager.setRecorders()` early return.
|
|
386
|
-
* 2.
|
|
387
|
-
*
|
|
388
|
-
*
|
|
388
|
+
* 2. Capture-only (`localDelivery`) → local video, kept for `onCapture`, when
|
|
389
|
+
* `enableFaceRecording` or `deepsightLiveness === 'VIDEOLIVENESS'` asks
|
|
390
|
+
* for it. The Deepsight 2.0 config is not read.
|
|
391
|
+
* 3. The liveness clip ({@link recordsLivenessClip}: `ds` and `e.t` with a
|
|
392
|
+
* Deepsight 2.0 config, `VIDEOLIVENESS` without one) → local Deepsight
|
|
393
|
+
* recorder. It wins over `enableFaceRecording`.
|
|
394
|
+
* 4. `enableFaceRecording === true` → scoped multipart recorder.
|
|
395
|
+
* 5. otherwise → no recording.
|
|
389
396
|
*/
|
|
390
397
|
function createRecordingService(params) {
|
|
391
398
|
if (params.config.onDeviceFaceResultsSubmissionEnabled === true) return;
|
|
392
399
|
if (params.localDelivery === true) return params.config.enableFaceRecording === true || params.config.deepsightLiveness === "VIDEOLIVENESS" ? new LocalRecordingService(params.wasmUtil, null) : void 0;
|
|
393
|
-
if (params.config
|
|
400
|
+
if (recordsLivenessClip(params.config)) return new LocalRecordingService(params.wasmUtil, params.sessionToken);
|
|
394
401
|
if (params.config.enableFaceRecording === true) return new MultipartFaceRecordingService();
|
|
395
402
|
}
|
|
396
403
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as RedirectToMobileServices, t as RedirectToMobileConfig } from "./types-DNVzoRvi.js";
|
|
2
|
-
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, o as redirectToMobileMachine, r as createRedirectToMobileManager, t as RedirectToMobileManager } from "./redirectToMobileManager-
|
|
2
|
+
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, o as redirectToMobileMachine, r as createRedirectToMobileManager, t as RedirectToMobileManager } from "./redirectToMobileManager-Db99n9Yu.js";
|
|
3
3
|
//#region src/modules/redirect-to-mobile/redirectToMobileServices.d.ts
|
|
4
4
|
declare const defaultRedirectToMobileServices: RedirectToMobileServices;
|
|
5
5
|
//#endregion
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices } from "./redirectToMobileStateMachine-
|
|
2
|
-
import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-
|
|
1
|
+
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices } from "./redirectToMobileStateMachine-BMehrtVP.esm.js";
|
|
2
|
+
import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-Dcpg5GfP.esm.js";
|
|
3
3
|
export { createRedirectToMobileManager, createRedirectToMobileManagerFromActor, defaultRedirectToMobileServices, redirectToMobileMachine };
|
package/dist/{redirectToMobileManager-Dm9ctRCC.d.ts → redirectToMobileManager-Db99n9Yu.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as ActorRefFrom } from "./spawn-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./Actor-
|
|
1
|
+
import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
|
|
2
|
+
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
3
|
+
import "./Actor-DqjOqDfU.js";
|
|
4
4
|
import { n as RedirectToMobileErrorCode, r as RedirectToMobileServices, t as RedirectToMobileConfig } from "./types-DNVzoRvi.js";
|
|
5
5
|
//#region src/modules/redirect-to-mobile/redirectToMobileStateMachine.d.ts
|
|
6
6
|
declare const redirectToMobileMachine: any;
|
|
@@ -24,6 +24,7 @@ type RedirectToMobileRedirectingState = {
|
|
|
24
24
|
status: 'redirecting';
|
|
25
25
|
redirectUrl: string;
|
|
26
26
|
phonePrefix: string;
|
|
27
|
+
smsPhone: string;
|
|
27
28
|
smsSent: boolean;
|
|
28
29
|
smsFailed: boolean;
|
|
29
30
|
smsResendTimer: number;
|
package/dist/{redirectToMobileManager-DUpLyXsq.esm.js → redirectToMobileManager-Dcpg5GfP.esm.js}
RENAMED
|
@@ -1,8 +1,10 @@
|
|
|
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 BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { n as
|
|
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 fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
7
|
+
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices, t as canResendSmsFromContext } from "./redirectToMobileStateMachine-BMehrtVP.esm.js";
|
|
6
8
|
//#region src/modules/redirect-to-mobile/redirectToMobileActor.ts
|
|
7
9
|
const POLL_INTERVAL_MS = 5e3;
|
|
8
10
|
const QR_REFRESH_INTERVAL_MS = 5e3;
|
|
@@ -63,6 +65,7 @@ function mapState(snapshot) {
|
|
|
63
65
|
status: "redirecting",
|
|
64
66
|
redirectUrl: context.redirectUrl,
|
|
65
67
|
phonePrefix: context.phonePrefix,
|
|
68
|
+
smsPhone: context.smsPhone,
|
|
66
69
|
smsSent: context.smsSent,
|
|
67
70
|
smsFailed: context.smsFailed,
|
|
68
71
|
smsResendTimer: context.smsResendTimer,
|
|
@@ -1,36 +1,26 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import { i as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-
|
|
3
|
+
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
4
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
5
5
|
import { i as resolveAgainstPageOrigin, r as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-B2wagB5v.esm.js";
|
|
6
6
|
//#region src/modules/redirect-to-mobile/redirectToMobileServices.ts
|
|
7
7
|
async function fetchRedirectUrl(signal) {
|
|
8
|
-
|
|
9
|
-
if (!res.ok) throw new Error(`GET ${endpoints.onboardingUrl} failed: ${res.status} ${res.statusText}`);
|
|
10
|
-
return res.data;
|
|
8
|
+
return (await api.get(endpoints.onboardingUrl, { signal })).data;
|
|
11
9
|
}
|
|
12
10
|
async function fetchOnboardingStatus(signal) {
|
|
13
|
-
|
|
14
|
-
if (!res.ok) throw new Error(`GET ${endpoints.onboardingStatus} failed: ${res.status} ${res.statusText}`);
|
|
15
|
-
return res.data;
|
|
11
|
+
return (await api.get(endpoints.onboardingStatus, { signal })).data;
|
|
16
12
|
}
|
|
17
13
|
async function sendRedirectSms(params, signal) {
|
|
18
|
-
|
|
19
|
-
if (!res.ok) throw new Error(`POST ${endpoints.sendRedirectSms} failed: ${res.status} ${res.statusText}`);
|
|
14
|
+
await api.post(endpoints.sendRedirectSms, params, { signal });
|
|
20
15
|
}
|
|
21
16
|
async function addPhoneForRedirect(phone, signal) {
|
|
22
|
-
|
|
23
|
-
if (!res.ok) throw new Error(`POST ${endpoints.phone} failed: ${res.status} ${res.statusText}`);
|
|
17
|
+
await api.post(endpoints.phone, { phone }, { signal });
|
|
24
18
|
}
|
|
25
19
|
async function refreshQrUuid(onboardingId, signal) {
|
|
26
|
-
|
|
27
|
-
if (!res.ok) throw new Error(`POST ${endpoints.qrRefreshUuid} failed: ${res.status} ${res.statusText}`);
|
|
28
|
-
return res.data;
|
|
20
|
+
return (await api.post(endpoints.qrRefreshUuid, { onboardingId }, { signal })).data;
|
|
29
21
|
}
|
|
30
22
|
async function fetchStartInfo(signal) {
|
|
31
|
-
|
|
32
|
-
if (!res.ok) throw new Error(`GET ${endpoints.startInfo} failed: ${res.status} ${res.statusText}`);
|
|
33
|
-
return res.data;
|
|
23
|
+
return (await api.get(endpoints.startInfo, { signal })).data;
|
|
34
24
|
}
|
|
35
25
|
const defaultRedirectToMobileServices = {
|
|
36
26
|
fetchRedirectUrl,
|
|
@@ -144,6 +134,7 @@ const redirectToMobileMachine = setup({
|
|
|
144
134
|
error: INVALID_URL_ERROR,
|
|
145
135
|
moduleErrorCode: "INVALID_REDIRECT_URL"
|
|
146
136
|
})),
|
|
137
|
+
setSmsPhone: assign(({ event }) => ({ smsPhone: event.phone })),
|
|
147
138
|
completeSmsSend: assign(() => {
|
|
148
139
|
return {
|
|
149
140
|
smsSent: true,
|
|
@@ -154,6 +145,7 @@ const redirectToMobileMachine = setup({
|
|
|
154
145
|
};
|
|
155
146
|
}),
|
|
156
147
|
resetSmsSent: assign({
|
|
148
|
+
smsPhone: () => "",
|
|
157
149
|
smsSent: () => false,
|
|
158
150
|
smsFailed: () => false,
|
|
159
151
|
smsResendTimer: () => 0,
|
|
@@ -197,6 +189,7 @@ const redirectToMobileMachine = setup({
|
|
|
197
189
|
uuid: "",
|
|
198
190
|
urlUuid: "",
|
|
199
191
|
phonePrefix: "",
|
|
192
|
+
smsPhone: "",
|
|
200
193
|
smsSent: false,
|
|
201
194
|
smsFailed: false,
|
|
202
195
|
smsResendTimer: 0,
|
|
@@ -284,7 +277,10 @@ const redirectToMobileMachine = setup({
|
|
|
284
277
|
actions: "resetSmsSent"
|
|
285
278
|
} },
|
|
286
279
|
states: {
|
|
287
|
-
idle: { on: { SEND_SMS:
|
|
280
|
+
idle: { on: { SEND_SMS: {
|
|
281
|
+
target: "sending",
|
|
282
|
+
actions: "setSmsPhone"
|
|
283
|
+
} } },
|
|
288
284
|
sending: { invoke: {
|
|
289
285
|
id: "sendSms",
|
|
290
286
|
src: "sendSms",
|
|
@@ -312,7 +308,8 @@ const redirectToMobileMachine = setup({
|
|
|
312
308
|
SMS_RESEND_TICK: { actions: "tickSmsResendTimer" },
|
|
313
309
|
SEND_SMS: {
|
|
314
310
|
target: "sending",
|
|
315
|
-
guard: "canResendSms"
|
|
311
|
+
guard: "canResendSms",
|
|
312
|
+
actions: "setSmsPhone"
|
|
316
313
|
}
|
|
317
314
|
}
|
|
318
315
|
}
|
|
@@ -3,6 +3,7 @@ const DYNAMIC_REQUIRED_KEY = "verification.errors.fieldRequiredDynamic";
|
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region src/internal/forms/checkSupport.ts
|
|
5
5
|
const GROUP_POLICIES = /* @__PURE__ */ new Set(["hide", "forceShow"]);
|
|
6
|
+
const OMIT_WHEN_EMPTY = "payload.omitWhenEmpty";
|
|
6
7
|
/**
|
|
7
8
|
* Compares `major.minor` vocabulary versions. The compiler's twin is
|
|
8
9
|
* `compareVersions` in `packages/form-definitions/scripts/lib/checks.mjs`;
|
|
@@ -14,10 +15,11 @@ function compareVocabulary(a, b) {
|
|
|
14
15
|
return aMajor - bMajor || aMinor - bMinor;
|
|
15
16
|
}
|
|
16
17
|
/**
|
|
17
|
-
* Whether this build can use a definition. Any id
|
|
18
|
-
* the definition unsupported, so the caller falls
|
|
19
|
-
* definition or current form. Presentation hints
|
|
20
|
-
* never fail: an unknown hint falls back to the
|
|
18
|
+
* Whether this build can use a definition. Any id or versioned flag it
|
|
19
|
+
* doesn't implement makes the definition unsupported, so the caller falls
|
|
20
|
+
* back to its bundled definition or current form. Presentation hints
|
|
21
|
+
* (widget, keyboard, autofill) never fail: an unknown hint falls back to the
|
|
22
|
+
* platform default.
|
|
21
23
|
*/
|
|
22
24
|
function checkSupport(definition, ids) {
|
|
23
25
|
const problems = [];
|
|
@@ -44,6 +46,7 @@ function checkSupport(definition, ids) {
|
|
|
44
46
|
field.rules?.forEach((rule, i) => need("rule", ids.rules, rule.id, `${path}.rules[${i}]`));
|
|
45
47
|
field.input?.format?.forEach((t, i) => need("transform", ids.transforms, t.id, `${path}.input.format[${i}]`));
|
|
46
48
|
field.payload?.transforms?.forEach((t, i) => need("transform", ids.transforms, t.id, `${path}.payload.transforms[${i}]`));
|
|
49
|
+
if (field.payload?.omitWhenEmpty === true) need("flag", ids.flags, OMIT_WHEN_EMPTY, `${path}.${OMIT_WHEN_EMPTY}`);
|
|
47
50
|
if (field.optionsRef) need("optionList", ids.optionLists, field.optionsRef, `${path}.optionsRef`);
|
|
48
51
|
if (field.suggestionsRef) need("optionList", ids.optionLists, field.suggestionsRef, `${path}.suggestionsRef`);
|
|
49
52
|
field.requiredWhen?.forEach((condition, i) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import {
|
|
3
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
4
|
-
import { s as createActor } from "./xstate.esm-
|
|
5
|
-
import { t as fromCallback } from "./xstate-actors.esm-
|
|
2
|
+
import { C as createEventBus } from "./types-CBQN04Rh.esm.js";
|
|
3
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-BwyLhIAo.esm.js";
|
|
4
|
+
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
+
import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
6
6
|
//#region src/internal/flow-events/flowEvents.ts
|
|
7
7
|
function createFlowEventBus() {
|
|
8
8
|
const eventBus = createEventBus();
|
|
@@ -205,13 +205,15 @@ const runChildModule = /* @__PURE__ */ fromCallback(({ sendBack, input }) => {
|
|
|
205
205
|
complete: () => {
|
|
206
206
|
sendBack({
|
|
207
207
|
type: "MODULE_COMPLETE",
|
|
208
|
-
output: actor.getSnapshot().output
|
|
208
|
+
output: actor.getSnapshot().output,
|
|
209
|
+
fromChild: true
|
|
209
210
|
});
|
|
210
211
|
},
|
|
211
212
|
error: (err) => {
|
|
212
213
|
sendBack({
|
|
213
214
|
type: "MODULE_ERROR",
|
|
214
|
-
error: err
|
|
215
|
+
error: err,
|
|
216
|
+
fromChild: true
|
|
215
217
|
});
|
|
216
218
|
}
|
|
217
219
|
});
|