@incodetech/core 0.0.0-dev-20261119-74bbb0d7 → 0.0.0-dev-20261120-aba4c7f3
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/{BaseWasmProvider-bBNquvYn.d.ts → BaseWasmProvider-CPdofn7R.d.ts} +3 -5
- package/dist/{FaceDetectionProvider-DjWqFNmF.esm.js → FaceDetectionProvider-BIAAdlsm.esm.js} +14 -11
- package/dist/{IIdCaptureCapability-C-5M8pP1.d.ts → IIdCaptureCapability-CAxToGns.d.ts} +3 -3
- package/dist/{IWasmUtilCapability-XcOtT1TP.d.ts → IWasmUtilCapability-CLWIYHB4.d.ts} +2 -2
- package/dist/{StreamCanvasCapture-BnBfA6fb.d.ts → StreamCanvasCapture-BqaHTJF0.d.ts} +2 -2
- package/dist/{WasmUtilProvider-BW_4YKrg.esm.js → WasmUtilProvider-ZXMogz8z.esm.js} +20 -4
- package/dist/{addressSearch-BzAy6lhp.esm.js → addressSearch-DWmjXbWT.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-Bw5nw5fh.esm.js → antifraudManager-DK7niagq.esm.js} +2 -2
- package/dist/{antifraudStateMachine-kOfsaAuT.esm.js → antifraudStateMachine-IJYLXOQm.esm.js} +1 -1
- package/dist/{api-DSZSaaWr.esm.js → api-jplFqPcE.esm.js} +0 -1
- package/dist/{apiError-Bt-oW2YU.esm.js → apiError-BBp0FpOX.esm.js} +1 -1
- package/dist/{attemptCarry-QFQkA3na.esm.js → attemptCarry-Dew-8qhm.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DeN8mraQ.d.ts → authenticationManager-DFAnYVFV.d.ts} +1 -1
- package/dist/{authenticationManager-DdZAb-IX.esm.js → authenticationManager-ZmyV5m8F.esm.js} +5 -5
- package/dist/{authenticationStateMachine-BCkbErCC.esm.js → authenticationStateMachine-CPc1vY1v.esm.js} +3 -3
- package/dist/avatar.d.ts +1 -1
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-QUJKoV5l.esm.js → certificateIssuanceManager-CfKhx7Uk.esm.js} +2 -2
- package/dist/{certificateIssuanceStateMachine-DkvJwSlO.esm.js → certificateIssuanceStateMachine-4NpYY6ct.esm.js} +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-DRMJ3O4r.esm.js → consentManager-DE41ov_W.esm.js} +2 -2
- package/dist/{consentManager-Duzd8paN.d.ts → consentManager-vI6QHkHU.d.ts} +1 -1
- package/dist/{consentStateMachine-Br0JbW7k.esm.js → consentStateMachine-nbLSJMsQ.esm.js} +1 -1
- package/dist/{createFaceAvatar-BimBTONm.d.ts → createFaceAvatar-Ct9QrQ66.d.ts} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-BIQ-SYcR.esm.js → crossDocumentDataMatchManager-nc34iG9x.esm.js} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-DgUZySoq.d.ts → curpValidationManager-DsDvoViA.d.ts} +1 -1
- package/dist/{curpValidationManager-BKUDQ55W.esm.js → curpValidationManager-d4nO3Zfo.esm.js} +2 -2
- package/dist/{curpValidationStateMachine-BwUBkyyi.esm.js → curpValidationStateMachine-BvYQMsR4.esm.js} +2 -2
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-CPhONu5i.esm.js → customFieldsManager-CpTcHrli.esm.js} +2 -2
- package/dist/{customWatchlistManager-cN57usIW.esm.js → customWatchlistManager-DuxZ8mvG.esm.js} +2 -2
- package/dist/{customWatchlistStateMachine-C1Xq1ugl.esm.js → customWatchlistStateMachine-CD7ChTlQ.esm.js} +1 -1
- package/dist/deepsightCaptureConfig-CC-Wv3Ez.esm.js +70 -0
- package/dist/{deepsightLoader-0ZynxKZH.esm.js → deepsightLoader-BF03-DqF.esm.js} +6 -5
- package/dist/{desktopCameraElection-DGq3YDWU.esm.js → desktopCameraElection-Broke4b4.esm.js} +89 -6
- package/dist/device.esm.js +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-signature.esm.js +2 -2
- package/dist/{documentCaptureManager-D9LE-4ey.esm.js → documentCaptureManager-YXwSaquq.esm.js} +2 -2
- package/dist/{documentCaptureStateMachine-SXXKqpZz.esm.js → documentCaptureStateMachine-DKG_aAPi.esm.js} +4 -4
- package/dist/{documentSignatureStateMachine-qQ6QSUrz.esm.js → documentSignatureStateMachine-BjTx2J0y.esm.js} +3 -3
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-BSTtfPx6.esm.js → dynamicFormsManager-LNs6_imW.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-DpIhIBel.esm.js → dynamicFormsStateMachine-CsMQ7VwV.esm.js} +2 -2
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-D8vRkoU8.esm.js → ekybManager-Lkyqx-J1.esm.js} +2 -2
- package/dist/{ekybStateMachine-DtF0NbqQ.esm.js → ekybStateMachine-F8Y3pr55.esm.js} +3 -3
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-DWCL912J.esm.js → ekycManager-M5DdfcTh.esm.js} +2 -2
- package/dist/{ekycPrefillManager-BcLhkpp8.d.ts → ekycPrefillManager-BF6YIJ_s.d.ts} +4 -4
- package/dist/{ekycPrefillManager-xAEcfy7R.esm.js → ekycPrefillManager-CpyVSTy_.esm.js} +1 -1
- package/dist/{ekycPrefillStateMachine-DJpzY3re.esm.js → ekycPrefillStateMachine-BpTw0KLu.esm.js} +2 -2
- package/dist/{ekycStateMachine-DjiGyQtm.esm.js → ekycStateMachine-Ciq6djgB.esm.js} +2 -2
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-B2oRMitx.esm.js → electronicSignatureManager-Cadf41a4.esm.js} +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-CfvR6pQN.esm.js → emailManager-CiOnKOO9.esm.js} +2 -2
- package/dist/{emailStateMachine-C4FouMzc.esm.js → emailStateMachine-D7nLw8oT.esm.js} +2 -2
- package/dist/{events-CsPmTidH.esm.js → events-C3sjvrjL.esm.js} +1 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +14 -14
- package/dist/extensibility.esm.js +36 -36
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-BPmWHtiP.esm.js → faceCaptureManagerFactory-BQqZvwy3.esm.js} +6 -5
- package/dist/{faceCaptureManagerFactory-D0pyWORs.d.ts → faceCaptureManagerFactory-CkhNR70A.d.ts} +7 -7
- package/dist/{faceCaptureSetup-D-N4uYzA.esm.js → faceCaptureSetup-DVHOFJyR.esm.js} +30 -22
- package/dist/{faceMatchManager-CsPFaja4.esm.js → faceMatchManager-_4dkN81c.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-Co2S7iN8.esm.js → faceMatchStateMachine-Ds0C7W8O.esm.js} +2 -2
- package/dist/{feature-management-Dk6GtPmQ.esm.js → feature-management-CNH0MiTf.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-Chn80m_n.esm.js → fieldComparisonManager-Hk1Yu21X.esm.js} +2 -2
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-CpX6MOy_.esm.js → fiscalQrManager-BW1DFWJz.esm.js} +2 -2
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +6 -8
- package/dist/flow.esm.js +8 -31
- package/dist/{flowCompletionService-EE2AqgK2.esm.js → flowCompletionService-Dm6U_s7_.esm.js} +3 -24
- package/dist/{flowServices-Co1rX0YL.esm.js → flowServices-B9c3lo2o.esm.js} +7 -7
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-B5k0M_Ce.esm.js → geolocationManager-fWWAZbMH.esm.js} +2 -2
- package/dist/{geolocationStateMachine-CpQp2JNM.esm.js → geolocationStateMachine-B1S0ONCE.esm.js} +3 -3
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-D2KGYDws.esm.js → governmentValidationManager-DZV4V3UF.esm.js} +2 -2
- package/dist/{governmentValidationStateMachine-DRG-5jwQ.esm.js → governmentValidationStateMachine-COOKNOL2.esm.js} +1 -1
- package/dist/home.d.ts +1 -1
- package/dist/home.esm.js +1 -1
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-selfie-flow.d.ts +3 -3
- package/dist/id-selfie-flow.esm.js +9 -9
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-CRn9jT4K.esm.js → idCaptureDefaults-D74C8SAy.esm.js} +4 -4
- package/dist/{idCaptureManager-BioOdXmE.esm.js → idCaptureManager-BFn3lavf.esm.js} +14 -12
- package/dist/{idCaptureManager-kmR_AuiW.d.ts → idCaptureManager-BMspT5GM.d.ts} +7 -7
- package/dist/{idCaptureServices-BGXAOyn4.esm.js → idCaptureServices-ql5Y-UVr.esm.js} +6 -6
- package/dist/{idCaptureStateMachine-BXyANZ-t.esm.js → idCaptureStateMachine-h6pWsf8Y.esm.js} +36 -30
- package/dist/{idOcrManager-C-_bzBSX.esm.js → idOcrManager-CQKIdcsS.esm.js} +2 -2
- package/dist/{idOcrManager-C0C7lFGd.d.ts → idOcrManager-DflRx-_u.d.ts} +1 -1
- package/dist/{idOcrStateMachine-BNtBkAXC.esm.js → idOcrStateMachine-BcaWS8WW.esm.js} +1 -1
- package/dist/{idVerificationManager-CdvGdtg2.esm.js → idVerificationManager-CIHF9-ww.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-mozw0CIg.esm.js → idVerificationStateMachine-BWD7bHsy.esm.js} +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/identity-search.esm.js +1 -1
- package/dist/{identityReuseManager-Z1Re4UGd.esm.js → identityReuseManager-euJVzHHT.esm.js} +2 -2
- package/dist/{identityReuseStateMachine-C_3fSFCw.esm.js → identityReuseStateMachine-Ct85j-vQ.esm.js} +1 -1
- package/dist/{index-C0WIMlJE.d.ts → index-DP-EPRCW.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-BgrVxWlZ.esm.js → kybChecksManager-D0wCX2qw.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-C8FYNkvk.esm.js → kybChecksStateMachine-DeNaLlEp.esm.js} +2 -2
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-CpriEr0q.d.ts → mandatoryConsentManager-ClXFPkWx.d.ts} +2 -2
- package/dist/{mandatoryConsentManager-CKzzbbRe.esm.js → mandatoryConsentManager-uwEeoZ0T.esm.js} +2 -2
- package/dist/{mandatoryConsentStateMachine-DpK7fg3E.esm.js → mandatoryConsentStateMachine-CHdyE9CM.esm.js} +1 -1
- package/dist/{multipartRecordingService-CEtaAPz4.esm.js → multipartRecordingService-BYa7i1Vr.esm.js} +1 -1
- package/dist/{permissionGuards-BN_Tyjgt.esm.js → permissionGuards-BymkaEBe.esm.js} +1 -1
- package/dist/{permissionServices-DB7ckY8v.esm.js → permissionServices-CrrStkAz.esm.js} +1 -1
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-D8-l6-0y.esm.js → phoneManager-D0uiwYeN.esm.js} +2 -2
- package/dist/{phoneServices-C9lFIuCM.esm.js → phoneServices-CQ3JkB9f.esm.js} +1 -1
- package/dist/{phoneStateMachine-CGLBgJJR.esm.js → phoneStateMachine-BF29rVyh.esm.js} +2 -2
- package/dist/{processFaceMatch-B1Mhqkep.esm.js → processFaceMatch-BSCDDCky.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-CLGnDCDl.esm.js → recordingService-wL5a4wto.esm.js} +12 -6
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-ruPN_Tsw.esm.js → redirectToMobileManager-DHuFklFc.esm.js} +2 -2
- package/dist/{redirectToMobileStateMachine-BCAPZCy8.esm.js → redirectToMobileStateMachine-CIcTgOJd.esm.js} +1 -1
- package/dist/{runChildModule-Bxu-po-V.esm.js → runChildModule-Bt6n5ERu.esm.js} +1 -1
- package/dist/{sdkVersion-DwsW9y9D.esm.js → sdkVersion-Dy6Uvtpf.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +11 -10
- package/dist/{selfieErrorUtils-DKC75bAw.esm.js → selfieErrorUtils-CQravaIM.esm.js} +1 -1
- package/dist/{selfieManager-Ct7_daEC.esm.js → selfieManager-CT6BOnED.esm.js} +5 -5
- package/dist/{selfieManager-CAaZRbem.d.ts → selfieManager-D6KJWT4p.d.ts} +1 -1
- package/dist/{selfieStateMachine-DtIDTGP5.esm.js → selfieStateMachine-C8htw3-V.esm.js} +3 -3
- package/dist/{session-DgthPaRY.esm.js → session-BzbNqiPf.esm.js} +5 -4
- package/dist/session.d.ts +3 -13
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-BhO9UoAi.esm.js → sessionInitializer-HWshq7qA.esm.js} +15 -17
- package/dist/{setup-O-JVSYKa.d.ts → setup-CcOBfuP_.d.ts} +1 -1
- package/dist/{setup-CWr3k--N.esm.js → setup-DXuzze-j.esm.js} +11 -10
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-B6dRieBV.esm.js → signatureManager-DEMg0H8L.esm.js} +2 -2
- package/dist/{signatureStateMachine-DSW5-ZO0.esm.js → signatureStateMachine-b0c5l498.esm.js} +1 -1
- package/dist/{stats-VqHbD5rn.esm.js → stats-BYIXomqT.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/trueSight-DDfC-xa_.esm.js +1 -0
- package/dist/{trueSightService-CsUlw_TB.esm.js → trueSightService-2YfoxZBT.esm.js} +5 -5
- package/dist/trust-graph.esm.js +1 -1
- package/dist/{types-B2DGXHe6.d.ts → types-BFPsOz4D.d.ts} +32 -2
- package/dist/{types-x5MQKskR.d.ts → types-CTCB59Ik.d.ts} +14 -3
- package/dist/{types-Crg7oL-l.d.ts → types-D5a04Wk2.d.ts} +1 -1
- package/dist/types-DbVeVsR2.d.ts +6 -0
- package/dist/{types-BkWUNheX.d.ts → types-J8DeVSAo.d.ts} +1 -1
- package/dist/{types-Bybof0yq.d.ts → types-XcOG5hmy.d.ts} +5 -5
- package/dist/video-selfie.d.ts +3 -3
- package/dist/video-selfie.esm.js +7 -7
- package/dist/{videoSelfieCameraWarmer-DfEvzvd1.esm.js → videoSelfieCameraWarmer-eXXyxmCP.esm.js} +7 -7
- package/dist/{videoSelfieStepDetector-DGXi_TXk.d.ts → videoSelfieStepDetector-04BM3Mu1.d.ts} +4 -4
- package/dist/{warmup-BZOMg303.esm.js → warmup-BszvWzNo.esm.js} +137 -39
- package/dist/{warmup-BNhIuURi.d.ts → warmup-SWu5L7cW.d.ts} +1 -0
- package/dist/wasm.d.ts +3 -3
- package/dist/wasm.esm.js +3 -3
- package/dist/wasmDeepsightConfigSync-Cy2tPW0i.esm.js +79 -0
- package/dist/{wasmDsFlagSync-BHm1d2gA.esm.js → wasmDsFlagSync-99aL8DGv.esm.js} +1 -1
- package/dist/{wasmWebClient-CyLCM31e.esm.js → wasmWebClient-IwBSS51s.esm.js} +19 -12
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-CfLnsL8p.esm.js → watchlistForBusinessManager-BcLeuXbh.esm.js} +2 -2
- package/dist/{watchlistForBusinessStateMachine-EzlC_4I4.esm.js → watchlistForBusinessStateMachine-BjC4lqRq.esm.js} +1 -1
- package/dist/{watchlistManager-CGXbemnp.esm.js → watchlistManager-DLE2UhXW.esm.js} +2 -2
- package/dist/{watchlistStateMachine-CsNEmiXL.esm.js → watchlistStateMachine-CZ6mEnQz.esm.js} +1 -1
- package/dist/workflow.d.ts +41 -226
- package/dist/workflow.esm.js +59 -142
- package/package.json +3 -3
- package/dist/types-C2uJrJrS.d.ts +0 -6
- package/dist/wasmMetadataVersionSync-U8EFUr1T.esm.js +0 -27
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as WasmPipeline } from "./warmup-
|
|
2
|
-
import { _ as MLProviderConfig } from "./createFaceAvatar-
|
|
1
|
+
import { c as WasmPipeline } from "./warmup-SWu5L7cW.js";
|
|
2
|
+
import { _ as MLProviderConfig } from "./createFaceAvatar-Ct9QrQ66.js";
|
|
3
3
|
//#region ../infra/src/wasm/WasmPipelineType.d.ts
|
|
4
4
|
declare enum WasmPipelineType {
|
|
5
5
|
IdBlurGlarePipeline = 0,
|
|
@@ -8,9 +8,7 @@ declare enum WasmPipelineType {
|
|
|
8
8
|
SelfieWithAggregationMetrics = 3,
|
|
9
9
|
SelfieWithQualityMetrics = 4,
|
|
10
10
|
OnDeviceSelfieWorkflow = 5,
|
|
11
|
-
|
|
12
|
-
IdBarcodeAndTextQualityCoreWorkflow = 7,
|
|
13
|
-
IdFaceQualityCoreWorkflow = 8
|
|
11
|
+
IdFaceQualityPipeline = 6
|
|
14
12
|
}
|
|
15
13
|
//#endregion
|
|
16
14
|
//#region ../infra/src/providers/wasm/BaseWasmProvider.d.ts
|
package/dist/{FaceDetectionProvider-DjWqFNmF.esm.js → FaceDetectionProvider-BIAAdlsm.esm.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { l as wasmRuntime } from "./warmup-
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
3
|
-
import { r as BaseWasmProvider } from "./WasmUtilProvider-
|
|
4
|
-
import { t as api, u as endpoints } from "./api-
|
|
5
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
6
|
-
import "./
|
|
7
|
-
import { t as addDeviceStats } from "./stats-
|
|
1
|
+
import { l as wasmRuntime } from "./warmup-BszvWzNo.esm.js";
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-DXuzze-j.esm.js";
|
|
3
|
+
import { r as BaseWasmProvider } from "./WasmUtilProvider-ZXMogz8z.esm.js";
|
|
4
|
+
import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
|
|
5
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-2YfoxZBT.esm.js";
|
|
6
|
+
import "./trueSight-DDfC-xa_.esm.js";
|
|
7
|
+
import { t as addDeviceStats } from "./stats-BYIXomqT.esm.js";
|
|
8
|
+
import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
|
|
8
9
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
9
10
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
10
11
|
import { r as hasBackCamera } from "./backCameraStream-6qVHvj76.esm.js";
|
|
11
|
-
import {
|
|
12
|
-
import { n as saveProcessFaceMatch } from "./processFaceMatch-B1Mhqkep.esm.js";
|
|
12
|
+
import { n as saveProcessFaceMatch } from "./processFaceMatch-BSCDDCky.esm.js";
|
|
13
13
|
//#region src/internal/faceCapture/onDeviceFaceResults.ts
|
|
14
14
|
/**
|
|
15
15
|
* On-device still-face capture is owned by the protected camera-cycle actor.
|
|
@@ -234,7 +234,7 @@ function startDetection(params) {
|
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
236
|
async function initializeDeepsightSession(options) {
|
|
237
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
237
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-BF03-DqF.esm.js");
|
|
238
238
|
return loadDeepsightSession({
|
|
239
239
|
ds: options.ds,
|
|
240
240
|
storage: options.storage
|
|
@@ -251,7 +251,10 @@ var FaceProcessingWasmApi = class {
|
|
|
251
251
|
this.runtime.requireFaceProcessingApi("Unable to set face position constraints, cpp API hasn't been initialized").setFacePositionConstraints(this.runtime.pipelineTypeToWasmEnum(type), minX, minY, maxX, maxY);
|
|
252
252
|
}
|
|
253
253
|
async setFaceDetectionThresholds(type, brightnessThreshold, blurrinessThreshold, tiltRotationAngleThreshold, minMagicCropSize, autocaptureInterval, minFaceQualityScore, faceOcclusionThreshold, getReadyDelay, framesAggregationInterval, minFramesWithFace) {
|
|
254
|
-
this.runtime.requireFaceProcessingApi("Unable to set face detection thresholds, cpp API hasn't been initialized")
|
|
254
|
+
const faceProcessingWasmApi = this.runtime.requireFaceProcessingApi("Unable to set face detection thresholds, cpp API hasn't been initialized");
|
|
255
|
+
const wasmType = this.runtime.pipelineTypeToWasmEnum(type);
|
|
256
|
+
faceProcessingWasmApi.setFaceProcessingThresholds(wasmType, brightnessThreshold, blurrinessThreshold, tiltRotationAngleThreshold, minMagicCropSize, minFaceQualityScore, faceOcclusionThreshold, getReadyDelay, framesAggregationInterval, minFramesWithFace);
|
|
257
|
+
faceProcessingWasmApi.setAutocaptureInterval(wasmType, autocaptureInterval);
|
|
255
258
|
}
|
|
256
259
|
async setFaceAttributesThresholds(type, headwearThreshold, lensesThreshold, closedEyesThreshold, maskThreshold) {
|
|
257
260
|
this.runtime.requireFaceProcessingApi("Unable to set face attributes thresholds, cpp API hasn't been initialized").setFaceAttributesThresholds(this.runtime.pipelineTypeToWasmEnum(type), headwearThreshold, lensesThreshold, closedEyesThreshold, maskThreshold);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import { _ as MLProviderConfig, g as IMLProviderCapability, y as IncodeCanvas } from "./createFaceAvatar-
|
|
1
|
+
import "./warmup-SWu5L7cW.js";
|
|
2
|
+
import { _ as MLProviderConfig, g as IMLProviderCapability, y as IncodeCanvas } from "./createFaceAvatar-Ct9QrQ66.js";
|
|
3
3
|
//#region ../infra/src/wasm/mlWasmBridgeTypes.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Decoded PDF417 barcode surfaced from the WASM ID-capture pipeline during
|
|
@@ -73,7 +73,7 @@ interface IdCaptureCallbacks {
|
|
|
73
73
|
onGlare?: () => void;
|
|
74
74
|
onCapturing?: () => void;
|
|
75
75
|
/**
|
|
76
|
-
* Receives the
|
|
76
|
+
* Receives the best-shot canvas the native ID workflow passes, if any.
|
|
77
77
|
* The canvas is presentation-only; protected submission remains native-owned.
|
|
78
78
|
*/
|
|
79
79
|
onCapture?: (canvas?: HTMLCanvasElement | null) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as WasmPipeline } from "./warmup-
|
|
2
|
-
import { _ as MLProviderConfig } from "./createFaceAvatar-
|
|
1
|
+
import { c as WasmPipeline } from "./warmup-SWu5L7cW.js";
|
|
2
|
+
import { _ as MLProviderConfig } from "./createFaceAvatar-Ct9QrQ66.js";
|
|
3
3
|
//#region ../infra/src/capabilities/IStorageCapability.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Storage capability interface for abstracting storage operations.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { y as IncodeCanvas } from "./createFaceAvatar-
|
|
2
|
-
import "./IWasmUtilCapability-
|
|
1
|
+
import { y as IncodeCanvas } from "./createFaceAvatar-Ct9QrQ66.js";
|
|
2
|
+
import "./IWasmUtilCapability-CLWIYHB4.js";
|
|
3
3
|
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
4
4
|
//#region ../infra/src/capabilities/IMotionSensorCapability.d.ts
|
|
5
5
|
type MotionStatus = 'PASS' | 'FAIL' | 'UNCLEAR';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
2
|
-
import { c as wasmCallWrapper, d as noteUnlockedCallStart, s as ML_CALL_MAX_POLLS, u as noteUnlockedCallEnd } from "./wasmWebClient-
|
|
3
|
-
import { i as isWasmReady, l as wasmRuntime, o as waitForWasm, r as getWasmStatus, s as warmupWasm } from "./warmup-
|
|
2
|
+
import { c as wasmCallWrapper, d as noteUnlockedCallStart, s as ML_CALL_MAX_POLLS, u as noteUnlockedCallEnd } from "./wasmWebClient-IwBSS51s.esm.js";
|
|
3
|
+
import { i as isWasmReady, l as wasmRuntime, o as waitForWasm, r as getWasmStatus, s as warmupWasm } from "./warmup-BszvWzNo.esm.js";
|
|
4
4
|
//#region ../infra/src/wasm/utilityWasmApi.ts
|
|
5
5
|
/**
|
|
6
6
|
* Utility / metadata domain facade over {@link WasmRuntime}.
|
|
@@ -42,6 +42,11 @@ import { i as isWasmReady, l as wasmRuntime, o as waitForWasm, r as getWasmStatu
|
|
|
42
42
|
* realm state (ADR 0009 §6). The SDK-facing unguarded entry is
|
|
43
43
|
* `wasmMetadataVersionSync.ts`.
|
|
44
44
|
*
|
|
45
|
+
* `sdsc` (ml-wasm-kit #761, first in v2.14.55, the pinned release) works the
|
|
46
|
+
* same way through `WasmRuntime.setDeepsightConfig`; its SDK-facing unguarded
|
|
47
|
+
* entry is `wasmDeepsightConfigSync.ts`. On a self-hosted binary without
|
|
48
|
+
* `sdsc` the runtime skips the call.
|
|
49
|
+
*
|
|
45
50
|
* Method names, argument order and the pre-initialization error strings are
|
|
46
51
|
* copied verbatim from the mirrored upstream `wasmApi.ts` so a WASM version bump
|
|
47
52
|
* stays a diff against upstream (`docs/processes/WASM_VERSION_MIGRATION.md`).
|
|
@@ -179,19 +184,30 @@ var UtilityWasmApi = class {
|
|
|
179
184
|
* Capture-metadata format selector (`smv`, ml-wasm-kit v2.14.54-pre6):
|
|
180
185
|
* `true` selects the v2 document, `false` the v1 document (the module
|
|
181
186
|
* default). Guarded like upstream; the selection is latched on the runtime
|
|
182
|
-
* so it survives re-initialization (ADR 0009 §6)
|
|
187
|
+
* so it survives re-initialization (ADR 0009 §6), and the runtime applies
|
|
188
|
+
* v2 only on a binary with `sdsc`.
|
|
183
189
|
*/
|
|
184
190
|
smv(enabled) {
|
|
185
191
|
this.runtime.requireUtilityApi("Unable to smv, cpp API hasn't been initialized");
|
|
186
192
|
this.runtime.setMetadataV2Enabled(enabled);
|
|
187
193
|
}
|
|
188
194
|
/**
|
|
195
|
+
* The current module's Deepsight 2.0 signal config (`sdsc`, ml-wasm-kit
|
|
196
|
+
* #761): its `deepsightCaptureConfig` as JSON text, `""` to clear it.
|
|
197
|
+
* Guarded like upstream; the value is latched on the runtime so it survives
|
|
198
|
+
* re-initialization, like {@link smv}.
|
|
199
|
+
*/
|
|
200
|
+
sdsc(config) {
|
|
201
|
+
this.runtime.requireUtilityApi("Unable to sdsc, cpp API hasn't been initialized");
|
|
202
|
+
this.runtime.setDeepsightConfig(config);
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
189
205
|
* Reads one fingerprint signal bucket (see {@link SignalDataType}), encrypted
|
|
190
206
|
* by the native module. Device and Behaviour wait for the one-time async
|
|
191
207
|
* prefetch (`ppf`) first. Pid waits only until the persistent-id resolver is
|
|
192
208
|
* done (`ppi`), or the prefetch settles, whichever is first: the prefetch
|
|
193
209
|
* still drives the resolver, and its failure still rejects the read. On a
|
|
194
|
-
* build without `ppi` (
|
|
210
|
+
* build without `ppi` (before v2.14.55) Pid waits for the
|
|
195
211
|
* prefetch like the other buckets.
|
|
196
212
|
* An empty string means the bucket has no data.
|
|
197
213
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
3
|
import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
//#region src/internal/formDefinitionsRollout/formDefinitionsRollout.ts
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-Cadf41a4.esm.js";
|
|
2
2
|
//#region src/modules/ae-signature/index.ts
|
|
3
3
|
function createAeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
package/dist/antifraud.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
2
|
-
import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-
|
|
1
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-IJYLXOQm.esm.js";
|
|
2
|
+
import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-DK7niagq.esm.js";
|
|
3
3
|
export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-C3sjvrjL.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
6
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-IJYLXOQm.esm.js";
|
|
7
7
|
//#region src/modules/antifraud/antifraudActor.ts
|
|
8
8
|
function createAntifraudActor() {
|
|
9
9
|
return createActor(antifraudMachine).start();
|
package/dist/{antifraudStateMachine-kOfsaAuT.esm.js → antifraudStateMachine-IJYLXOQm.esm.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
|
|
2
2
|
import { t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
//#region src/modules/antifraud/antifraudServices.ts
|
|
@@ -81,7 +81,6 @@ const endpoints = {
|
|
|
81
81
|
documentLegacy: "/omni/add/document",
|
|
82
82
|
cfdi: "/omni/process/cfdi",
|
|
83
83
|
finishStatus: "/omni/finish-status",
|
|
84
|
-
redirectionUrl: "/omni/redirection-url",
|
|
85
84
|
sessionTotalScoreStatus: "/omni/session/total-score-status",
|
|
86
85
|
updateSession: "/omni/update",
|
|
87
86
|
onboardingUrl: "/omni/onboarding-url",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as getToken } from "./api-
|
|
1
|
+
import { r as getToken } from "./api-jplFqPcE.esm.js";
|
|
2
2
|
import { a as watchConnectivity } from "./connectivity-BCuEoQ-n.esm.js";
|
|
3
3
|
//#region src/internal/session/attemptCarry.ts
|
|
4
4
|
const carried = /* @__PURE__ */ new Map();
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
2
|
-
import { t as AuthenticationConfig } from "./types-
|
|
3
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-CkhNR70A.js";
|
|
2
|
+
import { t as AuthenticationConfig } from "./types-DbVeVsR2.js";
|
|
3
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-DFAnYVFV.js";
|
|
4
4
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
2
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-CPc1vY1v.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-ZmyV5m8F.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
3
|
-
import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-CkhNR70A.js";
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
package/dist/{authenticationManager-DdZAb-IX.esm.js → authenticationManager-ZmyV5m8F.esm.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-DXuzze-j.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-ZXMogz8z.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
4
|
-
import "./events-
|
|
4
|
+
import "./events-C3sjvrjL.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
7
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
6
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BQqZvwy3.esm.js";
|
|
7
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-CPc1vY1v.esm.js";
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
10
10
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
3
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
5
|
-
import {
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-DVHOFJyR.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BIAAdlsm.esm.js";
|
|
5
|
+
import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-Broke4b4.esm.js";
|
|
6
6
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
7
7
|
const AUTH_ERROR_MAP = {
|
|
8
8
|
SPOOF_ATTEMPT_DETECTED: FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED,
|
package/dist/avatar.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as createFaceAvatar, n as FaceAvatarHandle, o as AvatarFaceState, r as FaceAvatarOptions, t as AvatarId } from "./createFaceAvatar-
|
|
1
|
+
import { i as createFaceAvatar, n as FaceAvatarHandle, o as AvatarFaceState, r as FaceAvatarOptions, t as AvatarId } from "./createFaceAvatar-Ct9QrQ66.js";
|
|
2
2
|
export { type AvatarFaceState, type AvatarId, type FaceAvatarHandle, type FaceAvatarOptions, createFaceAvatar };
|
package/dist/camera.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as requestPermission, t as checkPermission } from "./permissionServices-
|
|
1
|
+
import { a as requestPermission, t as checkPermission } from "./permissionServices-CrrStkAz.esm.js";
|
|
2
2
|
export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-
|
|
2
|
-
import { n as createCertificateIssuanceManagerFromActor, t as createCertificateIssuanceManager } from "./certificateIssuanceManager-
|
|
1
|
+
import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-4NpYY6ct.esm.js";
|
|
2
|
+
import { n as createCertificateIssuanceManagerFromActor, t as createCertificateIssuanceManager } from "./certificateIssuanceManager-CfKhx7Uk.esm.js";
|
|
3
3
|
export { MIN_PASSWORD_LENGTH, PASSWORD_VALIDATION_KEYS, REQUIREMENT_I18N_KEYS, certificateIssuanceMachine, createCertificateIssuanceManager, createCertificateIssuanceManagerFromActor, emptyPasswordValidations, isPasswordValid, validatePassword };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-C3sjvrjL.esm.js";
|
|
3
3
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
-
import { r as isPasswordValid, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-
|
|
5
|
+
import { r as isPasswordValid, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-4NpYY6ct.esm.js";
|
|
6
6
|
//#region src/modules/certificate-issuance/certificateIssuanceActor.ts
|
|
7
7
|
/**
|
|
8
8
|
* Creates and starts a certificate issuance actor.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as getApi, r as getToken, u as endpoints } from "./api-
|
|
1
|
+
import { n as getApi, r as getToken, u as endpoints } from "./api-jplFqPcE.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
import { t as externalFetch } from "./externalFetch-CQY41QT1.esm.js";
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-
|
|
1
|
+
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-vI6QHkHU.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
package/dist/consent.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
2
|
-
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-
|
|
1
|
+
import { t as consentMachine } from "./consentStateMachine-nbLSJMsQ.esm.js";
|
|
2
|
+
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-DE41ov_W.esm.js";
|
|
3
3
|
export { consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-C3sjvrjL.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
6
|
+
import { t as consentMachine } from "./consentStateMachine-nbLSJMsQ.esm.js";
|
|
7
7
|
//#region src/modules/consent/consentActor.ts
|
|
8
8
|
function createConsentActor(options) {
|
|
9
9
|
return createActor(consentMachine, { input: { config: options.config } }).start();
|
|
@@ -102,7 +102,7 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
102
102
|
}>, {
|
|
103
103
|
type: "canSubmit";
|
|
104
104
|
params: unknown;
|
|
105
|
-
}, never, "error" | "idle" | "finished" | "
|
|
105
|
+
}, never, "error" | "idle" | "finished" | "submitting" | "loading" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
106
106
|
readonly id: "consent";
|
|
107
107
|
readonly initial: "idle";
|
|
108
108
|
readonly context: ({ input }: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
//#region src/modules/consent/consentServices.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as WasmModuleConfig, n as WasmModelsConfig } from "./warmup-
|
|
1
|
+
import { i as WasmModuleConfig, n as WasmModelsConfig } from "./warmup-SWu5L7cW.js";
|
|
2
2
|
//#region ../infra/src/media/canvas.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Class representing a canvas element for image capture and manipulation.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-
|
|
1
|
+
import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-nc34iG9x.esm.js";
|
|
2
2
|
export { createCrossDocumentDataMatchManager, createCrossDocumentDataMatchManagerFromActor, crossDocumentDataMatchMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
3
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
|
|
3
|
+
import { t as createManagerInstrumentation } from "./events-C3sjvrjL.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-
|
|
1
|
+
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-DsDvoViA.js";
|
|
2
2
|
//#region src/modules/curp-validation/curpValidationUtils.d.ts
|
|
3
3
|
type MexicanState = {
|
|
4
4
|
value: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
2
|
-
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-
|
|
1
|
+
import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-BvYQMsR4.esm.js";
|
|
2
|
+
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-d4nO3Zfo.esm.js";
|
|
3
3
|
export { ENTER_CURP_FIELD, GENERATE_CURP_FIELDS, createCurpValidationManager, createCurpValidationManagerFromActor, curpValidationMachine, mexicanStates };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
|
|
2
2
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
3
3
|
import "./Actor-DqjOqDfU.js";
|
|
4
|
-
import { i as FlowModuleConfig } from "./types-
|
|
4
|
+
import { i as FlowModuleConfig } from "./types-BFPsOz4D.js";
|
|
5
5
|
//#region src/modules/curp-validation/types.d.ts
|
|
6
6
|
type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
|
|
7
7
|
/** Maximum validation retries before auto-advancing. @default 1 */
|
package/dist/{curpValidationManager-BKUDQ55W.esm.js → curpValidationManager-d4nO3Zfo.esm.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-C3sjvrjL.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
6
|
import { t as isValidCurp } from "./curp-DZGvefg3.esm.js";
|
|
7
|
-
import { r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
7
|
+
import { r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-BvYQMsR4.esm.js";
|
|
8
8
|
//#region src/modules/curp-validation/curpValidationActor.ts
|
|
9
9
|
function createCurpValidationActor(options) {
|
|
10
10
|
return createActor(curpValidationMachine, { input: { config: options.config } }).start();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as getLocalIsoDate } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
+
import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
5
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
5
|
+
import { t as carryAttempts } from "./attemptCarry-Dew-8qhm.esm.js";
|
|
6
6
|
import { t as isValidCurp } from "./curp-DZGvefg3.esm.js";
|
|
7
7
|
import { n as calendarDateError } from "./calendarDate-DcqGuEht.esm.js";
|
|
8
8
|
//#region src/modules/curp-validation/curpValidationUtils.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-
|
|
1
|
+
import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-CpTcHrli.esm.js";
|
|
2
2
|
export { createCustomFieldsManager, createCustomFieldsManagerFromActor, customFieldsMachine };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-
|
|
2
|
-
import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-
|
|
1
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-CD7ChTlQ.esm.js";
|
|
2
|
+
import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-DuxZ8mvG.esm.js";
|
|
3
3
|
export { createCustomWatchlistManager, createCustomWatchlistManagerFromActor, customWatchlistMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
3
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
|
|
3
|
+
import { t as createManagerInstrumentation } from "./events-C3sjvrjL.esm.js";
|
|
4
4
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
5
5
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
6
6
|
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
package/dist/{customWatchlistManager-cN57usIW.esm.js → customWatchlistManager-DuxZ8mvG.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-C3sjvrjL.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-
|
|
6
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-CD7ChTlQ.esm.js";
|
|
7
7
|
//#region src/modules/custom-watchlist/customWatchlistActor.ts
|
|
8
8
|
function createCustomWatchlistActor() {
|
|
9
9
|
return createActor(customWatchlistMachine).start();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
//#region src/modules/custom-watchlist/customWatchlistServices.ts
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { u as trueSightLog, w as utf8ByteLength } from "./trueSightService-2YfoxZBT.esm.js";
|
|
2
|
+
import "./trueSight-DDfC-xa_.esm.js";
|
|
3
|
+
import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
|
|
4
|
+
//#region src/internal/deepsight/deepsightCaptureConfig.ts
|
|
5
|
+
/**
|
|
6
|
+
* The WASM engine's cap on the config text (ml-wasm-kit
|
|
7
|
+
* `DSConfig::MAX_JSON_BYTES`): the engine treats longer text as no config.
|
|
8
|
+
*/
|
|
9
|
+
const MAX_CONFIG_TEXT_BYTES = 4096;
|
|
10
|
+
/**
|
|
11
|
+
* The text a module hands the WASM engine (`sdsc`): its config as
|
|
12
|
+
* `JSON.stringify` gives it, or `''` when it has none (see
|
|
13
|
+
* {@link DeepsightModuleConfig}), which also selects the v1 capture-metadata
|
|
14
|
+
* document.
|
|
15
|
+
*/
|
|
16
|
+
function deepsightCaptureConfigText(config) {
|
|
17
|
+
return presentConfig(config)?.text ?? "";
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Whether a SELFIE or AUTHENTICATION attempt records the Deepsight liveness
|
|
21
|
+
* clip, the local recording linked to the face upload. With a config: `ds`
|
|
22
|
+
* and `e.t` on. Without one: `deepsightLiveness === 'VIDEOLIVENESS'`, as
|
|
23
|
+
* before. The backend derives both from the same severity rule, so they agree
|
|
24
|
+
* in real flows.
|
|
25
|
+
*/
|
|
26
|
+
function recordsLivenessClip(config) {
|
|
27
|
+
const present = presentConfig(config);
|
|
28
|
+
if (present === void 0) return config.deepsightLiveness === "VIDEOLIVENESS";
|
|
29
|
+
return config.ds === true && isOn(present.fields, "e", "t");
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Whether a module asks for motion: the iOS motion prompt, the motion
|
|
33
|
+
* permission sheet and the WASM sensors (`rsp`/`ssl`). With a config: `ds`
|
|
34
|
+
* on, `b.p` or `b.y` on, and a phone or tablet. Without one: `ds`, as before.
|
|
35
|
+
*/
|
|
36
|
+
function wantsDeepsightMotion(config) {
|
|
37
|
+
if (config.ds !== true) return false;
|
|
38
|
+
const present = presentConfig(config);
|
|
39
|
+
if (present === void 0) return true;
|
|
40
|
+
return (isOn(present.fields, "b", "p") || isOn(present.fields, "b", "y")) && getDeviceClass() !== "desktop";
|
|
41
|
+
}
|
|
42
|
+
function presentConfig(config) {
|
|
43
|
+
const field = config.deepsightCaptureConfig;
|
|
44
|
+
if (typeof field !== "object" || field === null || Array.isArray(field)) return;
|
|
45
|
+
const text = stringifyConfig(field);
|
|
46
|
+
if (text === void 0 || !text.startsWith("{") || utf8ByteLength(text) > MAX_CONFIG_TEXT_BYTES) return;
|
|
47
|
+
return {
|
|
48
|
+
fields: JSON.parse(text),
|
|
49
|
+
text
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function isOn(config, group, key) {
|
|
53
|
+
const settings = objectAt(config, group);
|
|
54
|
+
return settings !== void 0 && objectAt(settings, key)?.a === true;
|
|
55
|
+
}
|
|
56
|
+
function objectAt(value, key) {
|
|
57
|
+
const field = value[key];
|
|
58
|
+
return typeof field === "object" && field !== null && !Array.isArray(field) ? field : void 0;
|
|
59
|
+
}
|
|
60
|
+
function stringifyConfig(config) {
|
|
61
|
+
try {
|
|
62
|
+
const text = JSON.stringify(config);
|
|
63
|
+
return typeof text === "string" ? text : void 0;
|
|
64
|
+
} catch {
|
|
65
|
+
trueSightLog("warning", "deepsight", "other", "deepsight capture config not serializable");
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
//#endregion
|
|
70
|
+
export { recordsLivenessClip as n, wantsDeepsightMotion as r, deepsightCaptureConfigText as t };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
2
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
3
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
4
|
-
import
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-ZXMogz8z.esm.js";
|
|
2
|
+
import { u as trueSightLog } from "./trueSightService-2YfoxZBT.esm.js";
|
|
3
|
+
import { t as SDK_VERSION } from "./sdkVersion-Dy6Uvtpf.esm.js";
|
|
4
|
+
import "./trueSight-DDfC-xa_.esm.js";
|
|
5
|
+
import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, _ as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, w as SDK_PLATFORM, x as IpifyProvider, y as getThumbmarkId } from "./sessionInitializer-HWshq7qA.esm.js";
|
|
5
6
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
6
7
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
7
|
-
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-
|
|
8
|
+
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-99aL8DGv.esm.js";
|
|
8
9
|
import { t as MotionSensorProvider } from "./MotionSensorProvider-X4_2eBGd.esm.js";
|
|
9
10
|
import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
11
|
import { n as runVirtualCameraCheck } from "./virtualCameraCheck-eFOm2C9q.esm.js";
|