@incodetech/core 0.0.0-dev-20261013-3baddda4 → 0.0.0-dev-20261013-503bba69
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/{FaceDetectionProvider-DaIuajF4.esm.js → FaceDetectionProvider-Cjvg7syA.esm.js} +9 -8
- package/dist/{IWasmUtilCapability-VC40Kx9N.d.ts → IWasmUtilCapability-CPX0RGdQ.d.ts} +23 -1
- package/dist/{MotionSensorProvider-MQ80-spU.esm.js → MotionSensorProvider-DYxh8TjR.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-CeBBJ_RC.d.ts → StreamCanvasCapture-DVmzJux5.d.ts} +1 -1
- package/dist/{safeStorage-DDAHV26l.esm.js → WasmUtilProvider-CIdnE7Fx.esm.js} +87 -36
- package/dist/{addressSearch-CoXo7lfZ.esm.js → addressSearch-uNaH2m0e.esm.js} +2 -2
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-nkA1Xfm1.esm.js → antifraudManager-CRIfvdbK.esm.js} +1 -1
- package/dist/{antifraudStateMachine-bbi6-rKP.esm.js → antifraudStateMachine-CMSC0FxQ.esm.js} +1 -1
- package/dist/{apiError-HBTurDxb.esm.js → apiError-17zE9Esu.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-MVD0mrCo.d.ts → authenticationManager-CANv5-W5.d.ts} +1 -1
- package/dist/{authenticationManager-DNbMuHKw.esm.js → authenticationManager-ioEDxaVR.esm.js} +4 -4
- package/dist/{authenticationStateMachine-DjgGDDVb.esm.js → authenticationStateMachine-DFEJDs_Z.esm.js} +3 -3
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-B-qjOJde.esm.js → certificateIssuanceManager-BL0aSh6K.esm.js} +1 -1
- package/dist/{certificateIssuanceStateMachine-DwLGw_a2.esm.js → certificateIssuanceStateMachine-jVHO9TMw.esm.js} +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-BhGljt6D.esm.js → consentManager-CO3c_dWq.esm.js} +1 -1
- package/dist/{consentManager-Cv_0QKLD.d.ts → consentManager-Ca8FHlC4.d.ts} +8 -8
- package/dist/{consentStateMachine-fvRt5D6e.esm.js → consentStateMachine-DNJ878_I.esm.js} +1 -1
- package/dist/{createCameraCycleOwnership-BvOOxU85.esm.js → createCameraCycleOwnership-D7hj1Z1w.esm.js} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-hxUaa6y_.esm.js → crossDocumentDataMatchManager-BIMwos3V.esm.js} +2 -2
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-u6dRo9Bq.esm.js → curpValidationManager-gzGFKami.esm.js} +1 -1
- package/dist/{curpValidationStateMachine-Sf4rGn_0.esm.js → curpValidationStateMachine-DOMJypnG.esm.js} +1 -1
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-C5Vw3fdd.esm.js → customFieldsManager-DG5JBxi1.esm.js} +2 -2
- package/dist/{customWatchlistManager-szjmQvYu.esm.js → customWatchlistManager-Bob-U0Rw.esm.js} +1 -1
- package/dist/{customWatchlistStateMachine-BtlZ6qoX.esm.js → customWatchlistStateMachine-CUAp1Ls5.esm.js} +1 -1
- package/dist/deepsightLoader-B4WdVaws.esm.js +55 -0
- package/dist/{deepsightLoader-BoJRAebU.esm.js → deepsightService-DFLGztHC.esm.js} +50 -55
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-CV_bOPkN.esm.js → documentCaptureManager-CgHmGbnp.esm.js} +1 -1
- package/dist/{documentCaptureManager-DkyDtm3Y.d.ts → documentCaptureManager-D4zKJlKC.d.ts} +1 -1
- package/dist/{documentCaptureStateMachine-CY4BH_nx.esm.js → documentCaptureStateMachine-Dl5oWDqY.esm.js} +3 -3
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-Dt4HMBeb.esm.js → dynamicFormsManager-3K1gm0ZU.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-Bge_B1Hv.esm.js → dynamicFormsStateMachine-B7t5QJBM.esm.js} +2 -2
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-DZX-a7Lb.esm.js → ekybManager-DK1HkbWP.esm.js} +1 -1
- package/dist/{ekybStateMachine-yECVR5sQ.esm.js → ekybStateMachine-CH8cNXuY.esm.js} +3 -3
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-DsfBcNxs.esm.js → ekycManager-TI_yKOoM.esm.js} +1 -1
- package/dist/{ekycStateMachine-DPMzZNhD.esm.js → ekycStateMachine-C1FUhd7b.esm.js} +2 -2
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-CRhZCQ7x.esm.js → electronicSignatureManager-CFUaO3ZL.esm.js} +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-ppIDOf_n.esm.js → emailManager-BdyXbrHP.esm.js} +1 -1
- package/dist/{emailStateMachine-NiunNxhH.esm.js → emailStateMachine-D6NZlJ42.esm.js} +2 -2
- package/dist/{endpoints-Bs3D8B_G.esm.js → endpoints-DHzlkQNe.esm.js} +1 -0
- package/dist/extensibility.d.ts +11 -11
- package/dist/extensibility.esm.js +34 -34
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-BjQUMlDA.esm.js → faceCaptureManagerFactory-Bstu9R9J.esm.js} +3 -3
- package/dist/{faceCaptureManagerFactory-D-XSP04N.d.ts → faceCaptureManagerFactory-jKQ2QtY-.d.ts} +4 -4
- package/dist/{faceCaptureSetup-Bl_EuaOE.esm.js → faceCaptureSetup-B4825Fli.esm.js} +9 -9
- package/dist/{faceMatchManager-BSR94HnV.esm.js → faceMatchManager-Pvbkm2JR.esm.js} +1 -1
- package/dist/{faceMatchStateMachine-BA9LVrWJ.esm.js → faceMatchStateMachine-BblhQmxi.esm.js} +1 -1
- package/dist/{feature-management-DciN4YxS.esm.js → feature-management-Czd7Gipr.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-B2y1ko1f.esm.js → fieldComparisonManager-BOxgR4_4.esm.js} +2 -2
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-gmU-xLHP.esm.js → fiscalQrManager-AjTkTp00.esm.js} +3 -3
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-BEMCpV8W.esm.js → flowCompletionService-BRi40ftj.esm.js} +2 -2
- package/dist/{flowServices-9Z12L5HE.esm.js → flowServices-DbIbOJtq.esm.js} +5 -5
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-D9DmZwE_.esm.js → geolocationManager-DYLncXrx.esm.js} +1 -1
- package/dist/{geolocationStateMachine-Bzh7vZdj.esm.js → geolocationStateMachine-fLik9xFz.esm.js} +2 -2
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-UuH2s-oi.esm.js → governmentValidationManager-LaFaCk6B.esm.js} +1 -1
- package/dist/{governmentValidationStateMachine-BvvrC_3A.esm.js → governmentValidationStateMachine-CzpcpO5C.esm.js} +1 -1
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +9 -9
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-r7IQojm_.esm.js → idCaptureDefaults-BwOIQw2X.esm.js} +2 -2
- package/dist/{idCaptureManager-CO5mNBes.esm.js → idCaptureManager-C2zLJ69k.esm.js} +5 -5
- package/dist/{idCaptureManager-BXYldO77.d.ts → idCaptureManager-DW3eER4t.d.ts} +6 -3
- package/dist/{idCaptureServices-CJYYb3GZ.esm.js → idCaptureServices-iEpGrOXB.esm.js} +6 -6
- package/dist/{idCaptureStateMachine-kws5Iew-.esm.js → idCaptureStateMachine-DjWgUcCP.esm.js} +19 -19
- package/dist/{idOcrManager-124LjyWj.esm.js → idOcrManager-CDLIIhlN.esm.js} +1 -1
- package/dist/{idOcrStateMachine-Bd0-Hp9V.esm.js → idOcrStateMachine-CUQbfm4-.esm.js} +1 -1
- package/dist/{idVerificationManager-BYVW3pLG.esm.js → idVerificationManager-BOU9eYa_.esm.js} +1 -1
- package/dist/{idVerificationStateMachine-BtrFQSDe.esm.js → idVerificationStateMachine-C6wBC4Vt.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-fu5okQhu.esm.js → identityReuseManager-Buqq2Vo9.esm.js} +1 -1
- package/dist/{identityReuseManager-B1birg5X.d.ts → identityReuseManager-ooAbp6Kc.d.ts} +4 -4
- package/dist/{identityReuseStateMachine-CCYWIgGl.esm.js → identityReuseStateMachine-BQyB9Xfx.esm.js} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-tCHVwjtG.esm.js → mandatoryConsentManager-Cz4F6Cw5.esm.js} +1 -1
- package/dist/{mandatoryConsentManager-DDixKrq0.d.ts → mandatoryConsentManager-ntGT3XBv.d.ts} +4 -4
- package/dist/{mandatoryConsentStateMachine-CZKXCn6v.esm.js → mandatoryConsentStateMachine-oBLMpfOh.esm.js} +1 -1
- package/dist/{multipartRecordingService-CMjkhS2x.esm.js → multipartRecordingService-DbeQpXdU.esm.js} +2 -2
- package/dist/{permissionGuards-DGU1uh4i.esm.js → permissionGuards-Bf4LbHjC.esm.js} +1 -1
- package/dist/{permissionServices-CPwDYRp8.esm.js → permissionServices-d2UW0r_L.esm.js} +2 -2
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-B6Uu_237.esm.js → phoneManager-zOtD81hJ.esm.js} +1 -1
- package/dist/{phoneStateMachine-pue0_Jsi.esm.js → phoneStateMachine-DdWAztmc.esm.js} +2 -2
- package/dist/qe-signature.esm.js +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-CQlyUyc8.esm.js → redirectToMobileManager-GDAQDXJ7.esm.js} +2 -2
- package/dist/{redirectToMobileStateMachine-tGbjPhIm.esm.js → redirectToMobileStateMachine-Me8BB5_q.esm.js} +2 -2
- package/dist/{runChildModule-DNcEOinP.esm.js → runChildModule-Vrd574vg.esm.js} +1 -1
- package/dist/safeStorage-UxDrnjwa.esm.js +35 -0
- package/dist/{sdkVersion-CMhTC6HD.esm.js → sdkVersion-CMD4kIIl.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +8 -8
- package/dist/{selfieErrorUtils-DUauJ4QZ.esm.js → selfieErrorUtils-Bg3LwGtn.esm.js} +1 -1
- package/dist/{selfieManager-CizvitYB.d.ts → selfieManager-1J0IEyFq.d.ts} +1 -1
- package/dist/{selfieManager-BS_MKTyK.esm.js → selfieManager-BkrnVETR.esm.js} +4 -4
- package/dist/{selfieStateMachine-h796FRap.esm.js → selfieStateMachine-BFWsNR0D.esm.js} +3 -3
- package/dist/{session-DPXuhs86.esm.js → session-FJsbrwMk.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-CgJXR6Ij.esm.js → sessionInitializer-DeX1HThw.esm.js} +197 -7
- package/dist/{setup-uaZQCBCN.esm.js → setup-CudMagYk.esm.js} +100 -96
- package/dist/{setup-CDyTzfIx.d.ts → setup-oKDzNC62.d.ts} +6 -2
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-CEYKCuO4.esm.js → signatureManager-C8AWDhm-.esm.js} +1 -1
- package/dist/{signatureStateMachine-C6Wh9ylX.esm.js → signatureStateMachine-CZH_61VF.esm.js} +1 -1
- package/dist/{stats-Dz3XWA64.esm.js → stats-DmG_tkGk.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/{trueSightService-DBOnvNML.esm.js → trueSightService-DKYskSg2.esm.js} +759 -759
- package/dist/{types-66IWBtU4.d.ts → types-C71Zo6vl.d.ts} +1 -1
- package/dist/{types-D0VzhBS7.d.ts → types-CwCWyBEi.d.ts} +2 -2
- package/dist/{types-nJoHpLPM.d.ts → types-zpO4fU6a.d.ts} +1 -1
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +7 -7
- package/dist/{videoSelfieCameraWarmer-Cz3xSwBG.esm.js → videoSelfieCameraWarmer-CMJCMKgy.esm.js} +8 -8
- package/dist/{videoSelfieStepDetector-D0Ws77pD.d.ts → videoSelfieStepDetector-C5QHOvWb.d.ts} +2 -2
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +2 -2
- package/dist/{wasmDsFlagSync-BWpBwxxe.esm.js → wasmDsFlagSync-BXCGqP48.esm.js} +1 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-cbMppk5K.esm.js → watchlistForBusinessManager-DPGQREtt.esm.js} +1 -1
- package/dist/{watchlistForBusinessStateMachine-DsLzqEQG.esm.js → watchlistForBusinessStateMachine-CzXANJ86.esm.js} +1 -1
- package/dist/{watchlistManager-F1bI2Ad4.esm.js → watchlistManager-BiLCz7So.esm.js} +1 -1
- package/dist/{watchlistStateMachine-DU28IiMQ.esm.js → watchlistStateMachine-jtLi-KvK.esm.js} +1 -1
- package/dist/workflow.esm.js +35 -35
- package/package.json +3 -3
- package/dist/virtualCameraCheck-CW8mFdt9.esm.js +0 -48
package/dist/{FaceDetectionProvider-DaIuajF4.esm.js → FaceDetectionProvider-Cjvg7syA.esm.js}
RENAMED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
1
|
+
import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-DKYskSg2.esm.js";
|
|
2
2
|
import { s as wasmRuntime } from "./warmup-DMtbyb2l.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as ensureWasmPipelines } from "./setup-uaZQCBCN.esm.js";
|
|
3
|
+
import { r as BaseWasmProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
|
|
5
4
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
6
|
-
import "./
|
|
7
|
-
import { t as endpoints } from "./endpoints-
|
|
8
|
-
import
|
|
5
|
+
import { t as ensureWasmPipelines } from "./setup-CudMagYk.esm.js";
|
|
6
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
7
|
+
import "./sessionInitializer-DeX1HThw.esm.js";
|
|
8
|
+
import { t as addDeviceStats } from "./stats-DmG_tkGk.esm.js";
|
|
9
9
|
import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-DkcRc9JV.esm.js";
|
|
10
10
|
import { i as requestCameraAccess, o as stopCameraStream, r as getCameraReacquisitionConstraints } from "./camera-sIa9ceW2.esm.js";
|
|
11
11
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
12
|
-
import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-
|
|
12
|
+
import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-DbeQpXdU.esm.js";
|
|
13
13
|
import { i as hasBackCamera, n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-CMvXj4X4.esm.js";
|
|
14
|
+
import "./deepsightService-DFLGztHC.esm.js";
|
|
14
15
|
import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
|
|
15
16
|
//#region src/internal/faceCapture/onDeviceFaceResults.ts
|
|
16
17
|
/**
|
|
@@ -271,7 +272,7 @@ function startDetection(params) {
|
|
|
271
272
|
};
|
|
272
273
|
}
|
|
273
274
|
async function initializeDeepsightSession(options) {
|
|
274
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
275
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-B4WdVaws.esm.js");
|
|
275
276
|
return loadDeepsightSession({
|
|
276
277
|
ds: options.ds,
|
|
277
278
|
storage: options.storage
|
|
@@ -38,6 +38,11 @@ type VirtualCameraCheckOutput = {
|
|
|
38
38
|
itr: boolean | null;
|
|
39
39
|
skipped: boolean | null;
|
|
40
40
|
};
|
|
41
|
+
/**
|
|
42
|
+
* Fingerprint signal buckets the native module can report, one per row of the
|
|
43
|
+
* `/omni/add/device-fingerprint-signals` backend table.
|
|
44
|
+
*/
|
|
45
|
+
type FingerprintSignalType = 'device' | 'behaviour' | 'pid';
|
|
41
46
|
type IWasmUtilCapability = {
|
|
42
47
|
/**
|
|
43
48
|
* Whether the provider has been initialized and is ready to be used.
|
|
@@ -86,6 +91,23 @@ type IWasmUtilCapability = {
|
|
|
86
91
|
*/
|
|
87
92
|
setProductionMode(productionMode: boolean): Promise<void>;
|
|
88
93
|
getMetadata(): string;
|
|
94
|
+
/**
|
|
95
|
+
* Turns native behaviour-signals collection on or off (`sbc`). It is on by
|
|
96
|
+
* default; pass `false` to honor a fingerprint opt-out.
|
|
97
|
+
*/
|
|
98
|
+
setBehaviourSignalsCollection(enabled: boolean): void;
|
|
99
|
+
/**
|
|
100
|
+
* Reads one encrypted fingerprint signal bucket from the native module,
|
|
101
|
+
* waiting for the one-time async prefetch first. Resolves to an empty string
|
|
102
|
+
* when the bucket has no data. Behaviour reads drain the native buffer.
|
|
103
|
+
*/
|
|
104
|
+
getFingerprintSignals(type: FingerprintSignalType): Promise<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Starts the one-time async prefetch that {@link getFingerprintSignals}
|
|
107
|
+
* waits for, ahead of the first read. Idempotent: later calls (and reads)
|
|
108
|
+
* join the same collection.
|
|
109
|
+
*/
|
|
110
|
+
prefetchFingerprintSignals(): Promise<void>;
|
|
89
111
|
analyzeFrame(image: ImageData): Promise<void>;
|
|
90
112
|
getCheck(): string;
|
|
91
113
|
/**
|
|
@@ -115,4 +137,4 @@ type IWasmUtilCapability = {
|
|
|
115
137
|
dispose(): Promise<void>;
|
|
116
138
|
};
|
|
117
139
|
//#endregion
|
|
118
|
-
export { IStorageCapability as i,
|
|
140
|
+
export { IStorageCapability as a, WasmUtilConfig as i, IWasmUtilCapability as n, VirtualCameraCheckOutput as r, FingerprintSignalType as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as resolveSessionStorage } from "./safeStorage-
|
|
1
|
+
import { n as resolveSessionStorage } from "./safeStorage-UxDrnjwa.esm.js";
|
|
2
2
|
//#region ../infra/src/providers/browser/MotionSensorProvider.ts
|
|
3
3
|
const MOTION_PERMISSION_GRANTED_KEY = "motionSensorsPermissionsGranted";
|
|
4
4
|
const MOTION_PERMISSION_DENIED_KEY = "motionSensorsPermissionsDenied";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { y as IncodeCanvas } from "./createFaceAvatar-DXgmQmQy.js";
|
|
2
|
-
import "./IWasmUtilCapability-
|
|
2
|
+
import "./IWasmUtilCapability-CPX0RGdQ.js";
|
|
3
3
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
4
4
|
//#region ../infra/src/capabilities/IMotionSensorCapability.d.ts
|
|
5
5
|
type MotionStatus = 'PASS' | 'FAIL' | 'UNCLEAR';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
1
2
|
import { c as wasmCallWrapper, s as ML_CALL_MAX_POLLS } from "./wasmWebClient-kbYZ2sxw.esm.js";
|
|
2
3
|
import { a as waitForWasm, n as getWasmStatus, o as warmupWasm, r as isWasmReady, s as wasmRuntime } from "./warmup-DMtbyb2l.esm.js";
|
|
3
4
|
//#region ../infra/src/wasm/utilityWasmApi.ts
|
|
@@ -17,8 +18,11 @@ import { a as waitForWasm, n as getWasmStatus, o as warmupWasm, r as isWasmReady
|
|
|
17
18
|
* Both are deliberately **unguarded** setters: they never throw, so the SDK can
|
|
18
19
|
* record them during setup and have them honored once WASM comes up.
|
|
19
20
|
*
|
|
21
|
+
* `fpPrefetch_` is a third, derived piece of JS state: the memoized `ppf` poll
|
|
22
|
+
* that `getFPData` awaits, keyed by the embind handle it was started on.
|
|
23
|
+
*
|
|
20
24
|
* `prc`/`poc`/`rsp` are the only methods here that hold the ML semaphore.
|
|
21
|
-
* `ssl`/`stl`/`osv`/`oev`/`ckvcks` and everything else are unlocked **by design**
|
|
25
|
+
* `ssl`/`stl`/`osv`/`oev`/`ckvcks`/`sbc`/`ppf` and everything else are unlocked **by design**
|
|
22
26
|
* (decision D6) — never add locking.
|
|
23
27
|
*
|
|
24
28
|
* Method names, argument order and the pre-initialization error strings are
|
|
@@ -26,10 +30,27 @@ import { a as waitForWasm, n as getWasmStatus, o as warmupWasm, r as isWasmReady
|
|
|
26
30
|
* stays a diff against upstream (`docs/processes/WASM_VERSION_MIGRATION.md`).
|
|
27
31
|
* `setSdkPlatform`'s message says "device type" on purpose — do not "fix" it.
|
|
28
32
|
*/
|
|
33
|
+
/**
|
|
34
|
+
* Upstream `SignalDataType` (`MetadataController.h`): the `signalsType` argument
|
|
35
|
+
* of `getFPData`. `SIGNAL_NETWORK = 4` is reserved upstream and not mirrored.
|
|
36
|
+
*/
|
|
37
|
+
const SignalDataType = {
|
|
38
|
+
Device: 1,
|
|
39
|
+
Behaviour: 2,
|
|
40
|
+
Pid: 3
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Poll bound for the `ppf` fingerprint prefetch. Larger than
|
|
44
|
+
* {@link ML_CALL_MAX_POLLS} because the prefetch waits on async browser APIs
|
|
45
|
+
* (storage estimate, persistent ID) rather than camera frames, and it is
|
|
46
|
+
* unlocked, so a stuck poll cannot freeze detection — it only delays signals.
|
|
47
|
+
*/
|
|
48
|
+
const FP_PREFETCH_MAX_POLLS = 1e4;
|
|
29
49
|
var UtilityWasmApi = class {
|
|
30
50
|
constructor(runtime = wasmRuntime) {
|
|
31
51
|
this.runtime = runtime;
|
|
32
52
|
this.inspectorOpened_ = false;
|
|
53
|
+
this.fpPrefetch_ = null;
|
|
33
54
|
this.dsEnabled_ = false;
|
|
34
55
|
}
|
|
35
56
|
ens(image) {
|
|
@@ -104,6 +125,52 @@ var UtilityWasmApi = class {
|
|
|
104
125
|
utilityApi.setInspectorOpened(this.inspectorOpened_);
|
|
105
126
|
return utilityApi.getMetadata();
|
|
106
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* Behaviour-signals collection switch (`sbc`). Collection is on by default
|
|
130
|
+
* in the native module; `false` stops and discards new behaviour events.
|
|
131
|
+
*/
|
|
132
|
+
sbc(enabled) {
|
|
133
|
+
this.runtime.requireUtilityApi("Unable to sbc, cpp API hasn't been initialized").sbc(enabled);
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Reads one fingerprint signal bucket (see {@link SignalDataType}), encrypted
|
|
137
|
+
* by the native module. Waits for the one-time async prefetch (`ppf`) first.
|
|
138
|
+
* An empty string means the bucket has no data.
|
|
139
|
+
*
|
|
140
|
+
* @throws If the WASM C++ API has not been initialized yet.
|
|
141
|
+
*/
|
|
142
|
+
async getFPData(signalsType = SignalDataType.Device) {
|
|
143
|
+
const message = "Unable to get fingerprint data, cpp API hasn't been initialized";
|
|
144
|
+
const handle = this.runtime.requireUtilityApi(message);
|
|
145
|
+
await this.prefetchFingerprintData(handle, message);
|
|
146
|
+
return this.runtime.requireUtilityApi(message).getFPData(signalsType);
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Starts (or joins) the one-time async prefetch (`ppf`) that {@link getFPData}
|
|
150
|
+
* awaits, so the collection can run before the first read needs it.
|
|
151
|
+
*
|
|
152
|
+
* @throws If the WASM C++ API has not been initialized yet.
|
|
153
|
+
*/
|
|
154
|
+
prefetchFPData() {
|
|
155
|
+
const message = "Unable to prefetch fingerprint data, cpp API hasn't been initialized";
|
|
156
|
+
return this.prefetchFingerprintData(this.runtime.requireUtilityApi(message), message);
|
|
157
|
+
}
|
|
158
|
+
prefetchFingerprintData(handle, message) {
|
|
159
|
+
if (this.fpPrefetch_?.handle === handle) return this.fpPrefetch_.promise;
|
|
160
|
+
const promise = wasmCallWrapper(this.runtime.mlCallSemaphore, () => this.runtime.requireUtilityApi(message).ppf(), false, {
|
|
161
|
+
maxPolls: FP_PREFETCH_MAX_POLLS,
|
|
162
|
+
label: "ppf"
|
|
163
|
+
});
|
|
164
|
+
const entry = {
|
|
165
|
+
handle,
|
|
166
|
+
promise
|
|
167
|
+
};
|
|
168
|
+
this.fpPrefetch_ = entry;
|
|
169
|
+
promise.catch(() => {
|
|
170
|
+
if (this.fpPrefetch_ === entry) this.fpPrefetch_ = null;
|
|
171
|
+
});
|
|
172
|
+
return promise;
|
|
173
|
+
}
|
|
107
174
|
async prc() {
|
|
108
175
|
const message = "Unable to prc, cpp API hasn't been initialized";
|
|
109
176
|
this.runtime.requireUtilityApi(message);
|
|
@@ -244,6 +311,12 @@ var BaseWasmProvider = class {
|
|
|
244
311
|
};
|
|
245
312
|
//#endregion
|
|
246
313
|
//#region ../infra/src/providers/wasm/WasmUtilProvider.ts
|
|
314
|
+
var WasmUtilProvider_exports = /* @__PURE__ */ __exportAll({ WasmUtilProvider: () => WasmUtilProvider });
|
|
315
|
+
const SIGNAL_TYPE_TO_WASM = {
|
|
316
|
+
device: SignalDataType.Device,
|
|
317
|
+
behaviour: SignalDataType.Behaviour,
|
|
318
|
+
pid: SignalDataType.Pid
|
|
319
|
+
};
|
|
247
320
|
var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
|
|
248
321
|
static async getInstance() {
|
|
249
322
|
if (WasmUtilProvider.instance) return WasmUtilProvider.instance;
|
|
@@ -331,6 +404,18 @@ var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
|
|
|
331
404
|
this.ensureInitialized();
|
|
332
405
|
return utilityWasmApi.getMetadata();
|
|
333
406
|
}
|
|
407
|
+
setBehaviourSignalsCollection(enabled) {
|
|
408
|
+
this.ensureInitialized();
|
|
409
|
+
utilityWasmApi.sbc(enabled);
|
|
410
|
+
}
|
|
411
|
+
async getFingerprintSignals(type) {
|
|
412
|
+
this.ensureInitialized();
|
|
413
|
+
return utilityWasmApi.getFPData(SIGNAL_TYPE_TO_WASM[type]);
|
|
414
|
+
}
|
|
415
|
+
async prefetchFingerprintSignals() {
|
|
416
|
+
this.ensureInitialized();
|
|
417
|
+
await utilityWasmApi.prefetchFPData();
|
|
418
|
+
}
|
|
334
419
|
async analyzeFrame(image) {
|
|
335
420
|
this.ensureInitialized();
|
|
336
421
|
await utilityWasmApi.analyzeFrame(image);
|
|
@@ -384,38 +469,4 @@ var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
|
|
|
384
469
|
}
|
|
385
470
|
};
|
|
386
471
|
//#endregion
|
|
387
|
-
|
|
388
|
-
/**
|
|
389
|
-
* Storage resolvers that tolerate hosts which make Web Storage unreachable.
|
|
390
|
-
*
|
|
391
|
-
* Two hostile shapes occur in the field, and they fail differently:
|
|
392
|
-
*
|
|
393
|
-
* 1. **Deleted bare global** — a page mitigates self-XSS with
|
|
394
|
-
* `delete window.localStorage` and keeps a module-private reference. Since
|
|
395
|
-
* `window` *is* the global object, the identifier stops resolving: a bare
|
|
396
|
-
* read throws `ReferenceError`. `typeof` is the only safe probe, because it
|
|
397
|
-
* is the one operator that tolerates an unresolvable identifier.
|
|
398
|
-
* 2. **Blocked storage** — a webview or a cross-origin/partitioned context
|
|
399
|
-
* makes the accessor itself throw (`SecurityError`). Here `typeof` is *not*
|
|
400
|
-
* enough: it invokes the getter, so the throw escapes the guard.
|
|
401
|
-
*
|
|
402
|
-
* Handling only one shape leaves the other live, so always go through these
|
|
403
|
-
* resolvers instead of touching the globals directly. A `null` return means
|
|
404
|
-
* "no storage in this host" — callers degrade, they do not throw.
|
|
405
|
-
*/
|
|
406
|
-
function resolveLocalStorage() {
|
|
407
|
-
try {
|
|
408
|
-
return typeof localStorage === "undefined" ? null : localStorage;
|
|
409
|
-
} catch {
|
|
410
|
-
return null;
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
function resolveSessionStorage() {
|
|
414
|
-
try {
|
|
415
|
-
return typeof sessionStorage === "undefined" ? null : sessionStorage;
|
|
416
|
-
} catch {
|
|
417
|
-
return null;
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
//#endregion
|
|
421
|
-
export { utilityWasmApi as a, BaseWasmProvider as i, resolveSessionStorage as n, WasmUtilProvider as r, resolveLocalStorage as t };
|
|
472
|
+
export { utilityWasmApi as i, WasmUtilProvider_exports as n, BaseWasmProvider as r, WasmUtilProvider as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
3
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
4
|
import { t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
5
5
|
const usStateOptions = Object.values({
|
|
6
6
|
AL: {
|
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-CFUaO3ZL.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-CMSC0FxQ.esm.js";
|
|
2
|
+
import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-CRIfvdbK.esm.js";
|
|
3
3
|
export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CfLLkAh7.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
4
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
4
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-CMSC0FxQ.esm.js";
|
|
5
5
|
//#region src/modules/antifraud/antifraudActor.ts
|
|
6
6
|
function createAntifraudActor() {
|
|
7
7
|
return createActor(antifraudMachine).start();
|
package/dist/{antifraudStateMachine-bbi6-rKP.esm.js → antifraudStateMachine-CMSC0FxQ.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
3
3
|
import { t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
5
5
|
//#region src/modules/antifraud/antifraudServices.ts
|
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-jKQ2QtY-.js";
|
|
2
|
+
import { t as AuthenticationConfig } from "./types-C71Zo6vl.js";
|
|
3
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CANv5-W5.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-DFEJDs_Z.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-ioEDxaVR.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-C9T5amUN.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-jKQ2QtY-.js";
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
package/dist/{authenticationManager-DNbMuHKw.esm.js → authenticationManager-ioEDxaVR.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { l as BrowserStorageProvider } from "./setup-uaZQCBCN.esm.js";
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
|
|
3
2
|
import { n as eventModuleNames } from "./events-CfLLkAh7.esm.js";
|
|
3
|
+
import { l as BrowserStorageProvider } from "./setup-CudMagYk.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Bstu9R9J.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DFEJDs_Z.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
8
|
function createAuthenticationActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
3
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-
|
|
5
|
-
import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-B4825Fli.esm.js";
|
|
4
|
+
import { d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-Cjvg7syA.esm.js";
|
|
5
|
+
import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-D7hj1Z1w.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/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-d2UW0r_L.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-jVHO9TMw.esm.js";
|
|
2
|
+
import { n as createCertificateIssuanceManagerFromActor, t as createCertificateIssuanceManager } from "./certificateIssuanceManager-BL0aSh6K.esm.js";
|
|
3
3
|
export { MIN_PASSWORD_LENGTH, PASSWORD_VALIDATION_KEYS, REQUIREMENT_I18N_KEYS, certificateIssuanceMachine, createCertificateIssuanceManager, createCertificateIssuanceManagerFromActor, emptyPasswordValidations, isPasswordValid, validatePassword };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CfLLkAh7.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
3
|
-
import { r as isPasswordValid, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-
|
|
3
|
+
import { r as isPasswordValid, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-jVHO9TMw.esm.js";
|
|
4
4
|
//#region src/modules/certificate-issuance/certificateIssuanceActor.ts
|
|
5
5
|
/**
|
|
6
6
|
* Creates and starts a certificate issuance actor.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as getApi, r as getToken } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
5
5
|
import { t as externalFetch } from "./externalFetch-CEp51O83.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-Ca8FHlC4.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-DNJ878_I.esm.js";
|
|
2
|
+
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-CO3c_dWq.esm.js";
|
|
3
3
|
export { consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CfLLkAh7.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
4
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
4
|
+
import { t as consentMachine } from "./consentStateMachine-DNJ878_I.esm.js";
|
|
5
5
|
//#region src/modules/consent/consentActor.ts
|
|
6
6
|
function createConsentActor(options) {
|
|
7
7
|
return createActor(consentMachine, { input: { config: options.config } }).start();
|
|
@@ -77,14 +77,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
77
77
|
type: "setError";
|
|
78
78
|
params: NonReducibleUnknown;
|
|
79
79
|
};
|
|
80
|
-
clearError: {
|
|
81
|
-
type: "clearError";
|
|
82
|
-
params: NonReducibleUnknown;
|
|
83
|
-
};
|
|
84
|
-
resetContext: {
|
|
85
|
-
type: "resetContext";
|
|
86
|
-
params: NonReducibleUnknown;
|
|
87
|
-
};
|
|
88
80
|
setConsentData: {
|
|
89
81
|
type: "setConsentData";
|
|
90
82
|
params: NonReducibleUnknown;
|
|
@@ -93,6 +85,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
93
85
|
type: "toggleCheckbox";
|
|
94
86
|
params: NonReducibleUnknown;
|
|
95
87
|
};
|
|
88
|
+
clearError: {
|
|
89
|
+
type: "clearError";
|
|
90
|
+
params: NonReducibleUnknown;
|
|
91
|
+
};
|
|
92
|
+
resetContext: {
|
|
93
|
+
type: "resetContext";
|
|
94
|
+
params: NonReducibleUnknown;
|
|
95
|
+
};
|
|
96
96
|
}>, {
|
|
97
97
|
type: "canSubmit";
|
|
98
98
|
params: unknown;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
5
5
|
//#region src/modules/consent/consentServices.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as CAMERA_CYCLE_OWNERSHIP_DOMAIN, l as getCameraCycleOwnershipDomain, s as wasmRuntime } from "./warmup-DMtbyb2l.esm.js";
|
|
2
2
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
3
3
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
5
5
|
import { t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
6
6
|
//#region ../infra/src/capabilities/ICameraCycleCapability.ts
|
|
7
7
|
/**
|
|
@@ -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-BIMwos3V.esm.js";
|
|
2
2
|
export { createCrossDocumentDataMatchManager, createCrossDocumentDataMatchManagerFromActor, crossDocumentDataMatchMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CfLLkAh7.esm.js";
|
|
3
|
-
import { t as
|
|
2
|
+
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
4
4
|
import { s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
6
6
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a 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 { a as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-DOMJypnG.esm.js";
|
|
2
|
+
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-gzGFKami.esm.js";
|
|
3
3
|
export { ENTER_CURP_FIELD, GENERATE_CURP_FIELDS, createCurpValidationManager, createCurpValidationManagerFromActor, curpValidationMachine, mexicanStates };
|
package/dist/{curpValidationManager-u6dRo9Bq.esm.js → curpValidationManager-gzGFKami.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CfLLkAh7.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
4
|
-
import { i as isValidCurp, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
4
|
+
import { i as isValidCurp, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-DOMJypnG.esm.js";
|
|
5
5
|
//#region src/modules/curp-validation/curpValidationActor.ts
|
|
6
6
|
function createCurpValidationActor(options) {
|
|
7
7
|
return createActor(curpValidationMachine, { input: { config: options.config } }).start();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
5
5
|
//#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-DG5JBxi1.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-CUAp1Ls5.esm.js";
|
|
2
|
+
import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-Bob-U0Rw.esm.js";
|
|
3
3
|
export { createCustomWatchlistManager, createCustomWatchlistManagerFromActor, customWatchlistMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CfLLkAh7.esm.js";
|
|
2
|
+
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
5
5
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
7
7
|
import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
package/dist/{customWatchlistManager-szjmQvYu.esm.js → customWatchlistManager-Bob-U0Rw.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CfLLkAh7.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
4
|
-
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-
|
|
4
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-CUAp1Ls5.esm.js";
|
|
5
5
|
//#region src/modules/custom-watchlist/customWatchlistActor.ts
|
|
6
6
|
function createCustomWatchlistActor() {
|
|
7
7
|
return createActor(customWatchlistMachine).start();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
5
5
|
//#region src/modules/custom-watchlist/customWatchlistServices.ts
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { l as trueSightLog } from "./trueSightService-DKYskSg2.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
|
|
3
|
+
import { t as SDK_VERSION } from "./sdkVersion-CMD4kIIl.esm.js";
|
|
4
|
+
import { _ as IpifyProvider, b as BrowserEnvironmentProvider, n as getFingerprintEnabled, t as getDisableIpify } from "./sessionInitializer-DeX1HThw.esm.js";
|
|
5
|
+
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BXCGqP48.esm.js";
|
|
6
|
+
import { t as MotionSensorProvider } from "./MotionSensorProvider-DYxh8TjR.esm.js";
|
|
7
|
+
import { t as createDeepsightService } from "./deepsightService-DFLGztHC.esm.js";
|
|
8
|
+
//#region ../infra/src/providers/browser/VisibilityProvider.ts
|
|
9
|
+
var VisibilityProvider = class {
|
|
10
|
+
constructor() {
|
|
11
|
+
this._wasBackgrounded = false;
|
|
12
|
+
this.visibilityChangeHandler = this.onVisibilityChange.bind(this);
|
|
13
|
+
document.addEventListener("visibilitychange", this.visibilityChangeHandler);
|
|
14
|
+
}
|
|
15
|
+
get wasBackgrounded() {
|
|
16
|
+
return this._wasBackgrounded;
|
|
17
|
+
}
|
|
18
|
+
reset() {
|
|
19
|
+
this._wasBackgrounded = false;
|
|
20
|
+
}
|
|
21
|
+
cleanup() {
|
|
22
|
+
document.removeEventListener("visibilitychange", this.visibilityChangeHandler);
|
|
23
|
+
}
|
|
24
|
+
onVisibilityChange() {
|
|
25
|
+
if (document.hidden) this._wasBackgrounded = true;
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region src/internal/deepsight/deepsightLoader.ts
|
|
30
|
+
async function loadDeepsightSession(options) {
|
|
31
|
+
try {
|
|
32
|
+
return await loadDeepsightSessionInternal(options);
|
|
33
|
+
} catch (error) {
|
|
34
|
+
trueSightLog("warning", "deepsight", "other", `deepsight load failed error=${String(error)}`);
|
|
35
|
+
throw error;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
async function loadDeepsightSessionInternal(options) {
|
|
39
|
+
setWasmDsFlagSync(options.ds === true);
|
|
40
|
+
const service = createDeepsightService({
|
|
41
|
+
sdkVersion: SDK_VERSION,
|
|
42
|
+
wasmUtil: await WasmUtilProvider.getInstance(),
|
|
43
|
+
visibility: new VisibilityProvider(),
|
|
44
|
+
browserEnv: new BrowserEnvironmentProvider(),
|
|
45
|
+
motionSensor: new MotionSensorProvider(),
|
|
46
|
+
ipLookup: new IpifyProvider()
|
|
47
|
+
});
|
|
48
|
+
const disableIpify = options.disableIpify ?? getDisableIpify();
|
|
49
|
+
const disableFingerprint = options.disableFingerprint ?? !getFingerprintEnabled();
|
|
50
|
+
await service.initialize(disableIpify, disableFingerprint);
|
|
51
|
+
await service.startMotionSensors();
|
|
52
|
+
return service;
|
|
53
|
+
}
|
|
54
|
+
//#endregion
|
|
55
|
+
export { loadDeepsightSession };
|