@incodetech/core 0.0.0-dev-20260911-aec162f0 → 0.0.0-dev-20260914-8aef7789
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-Cn1wS-sA.d.ts → BaseWasmProvider-CO0GfaHM.d.ts} +7 -37
- package/dist/{BrowserDiagnosticsCryptoProvider-8sT0QLgq.esm.js → BrowserDiagnosticsCryptoProvider-BoYzmYY5.esm.js} +1 -1
- package/dist/{onDeviceFaceResults-hle2Ci9l.esm.js → FaceDetectionProvider-0bWjPgW5.esm.js} +219 -340
- package/dist/FaceDetectionProvider-CyLxkzRP.d.ts +36 -0
- package/dist/{IIdCaptureCapability-DDWlQzhi.d.ts → IIdCaptureCapability-nfpic2z2.d.ts} +7 -3
- package/dist/{IWasmUtilCapability-SNPhmIwB.d.ts → IWasmUtilCapability-DaP6pfHq.d.ts} +10 -4
- package/dist/{MotionSensorProvider-Vlyhbcty.esm.js → MotionSensorProvider-BnZ8_1Sk.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-D2XcXCZ4.esm.js → StreamCanvasCapture-C9jtgBdT.esm.js} +2 -2
- package/dist/{deepsightService-MZOpj7Vp.d.ts → StreamCanvasCapture-D9Dz8kqB.d.ts} +54 -41
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-XdhqSAmg.esm.js → apiError-CixFeCyt.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DqBOkMzk.esm.js → authenticationManager-CN26fkJa.esm.js} +4 -4
- package/dist/{authenticationManager-BCkV6CSG.d.ts → authenticationManager-D7UUqgnN.d.ts} +1 -1
- package/dist/{authenticationStateMachine-Cto_G5bN.esm.js → authenticationStateMachine-CUXpIxAD.esm.js} +6 -62
- package/dist/avatar.d.ts +1 -1
- package/dist/avatar.esm.js +1 -1
- package/dist/{backCameraStream-DE_5qY04.esm.js → backCameraStream-BOtyQowf.esm.js} +75 -18
- package/dist/{camera-_2sXMXiF.esm.js → camera-sIa9ceW2.esm.js} +19 -1
- package/dist/camera.esm.js +1 -1
- package/dist/{canvas-E1zGkel4.esm.js → canvas-BxFzWTt-.esm.js} +19 -0
- package/dist/createCameraCycleOwnership-DQ5-F2oW.esm.js +826 -0
- package/dist/{createFaceAvatar-DQKaRise.esm.js → createFaceAvatar-BNHdeFj8.esm.js} +2 -2
- package/dist/{createFaceAvatar-pUEkdk4X.d.ts → createFaceAvatar-CTM9aj9Q.d.ts} +12 -6
- package/dist/curp-validation.d.ts +1 -1
- package/dist/{curpValidationManager-cSd2MrOQ.d.ts → curpValidationManager-CTJB2RsD.d.ts} +1 -1
- package/dist/{deepsightLoader-Dwr1zKFa.esm.js → deepsightLoader-Dhz9T_KJ.esm.js} +19 -53
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-BTpHZMgW.esm.js → documentCaptureManager-BwcbMwo5.esm.js} +1 -1
- package/dist/{documentCaptureStateMachine-CPizkpcg.esm.js → documentCaptureStateMachine-F8SCOtL_.esm.js} +4 -4
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-Cmh84Nz4.esm.js → dynamicFormsManager-CNBrBOR3.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-DZr7Ugvy.esm.js → dynamicFormsStateMachine-Bo2qrjHB.esm.js} +1 -1
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-Dc2tT9fu.esm.js → ekybManager-D8DdfRAD.esm.js} +1 -1
- package/dist/{ekybStateMachine-GSEMOiHn.esm.js → ekybStateMachine-oPCbEFob.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-CpLuqw7T.esm.js → electronicSignatureManager-DkKQ07vx.esm.js} +1 -1
- package/dist/extensibility.d.ts +11 -58
- package/dist/extensibility.esm.js +13 -13
- package/dist/{faceCaptureManagerFactory-kDmbL0I7.esm.js → faceCaptureManagerFactory-D_EjQnnE.esm.js} +19 -4
- package/dist/{faceCaptureManagerFactory-CzUr_ZPq.d.ts → faceCaptureManagerFactory-DqrYpjA5.d.ts} +24 -12
- package/dist/{faceCaptureSetup-CAGBnLVx.esm.js → faceCaptureSetup-WeO8-TfR.esm.js} +999 -382
- package/dist/{feature-management-B6CtmH1O.esm.js → feature-management-BEqf3Sr3.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-DI6uOffY.esm.js → fiscalQrManager-Bp_-3LJr.esm.js} +3 -3
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +6 -6
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-BpoZDpAn.esm.js → flowCompletionService-DELbVeL5.esm.js} +1 -1
- package/dist/{flowServices-BVnSStkh.esm.js → flowServices-Brr2fh_c.esm.js} +5 -5
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CLm86P8G.esm.js → geolocationManager-CtVZDjng.esm.js} +1 -1
- package/dist/{geolocationStateMachine-Bi3vy7Wl.esm.js → geolocationStateMachine-tjsYcMhr.esm.js} +1 -1
- package/dist/home.d.ts +1 -1
- package/dist/id-selfie-flow.d.ts +3 -3
- package/dist/id-selfie-flow.esm.js +10 -10
- package/dist/id.d.ts +4 -4
- package/dist/id.esm.js +35 -44
- package/dist/{idCaptureDefaults-BLsd7shz.esm.js → idCaptureDefaults-C66YvkgN.esm.js} +19 -14
- package/dist/{idCaptureManager-DW1GeEUk.d.ts → idCaptureManager-DE_jyr5X.d.ts} +98 -37
- package/dist/{idCaptureManager-BUTdcmaD.esm.js → idCaptureManager-zjul9YdZ.esm.js} +27 -17
- package/dist/{idCaptureServices-fzIhBqAK.esm.js → idCaptureServices-UXYCBZPK.esm.js} +80 -20
- package/dist/{idCaptureStateMachine-Cp2_revF.esm.js → idCaptureStateMachine-D3pqfK2Z.esm.js} +1954 -1082
- package/dist/{index-1PoJuUJ-.d.ts → index-BGxFwnld.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/{mandatoryConsentManager-BJnylLZO.d.ts → mandatoryConsentManager-CZwhsUlO.d.ts} +1 -1
- package/dist/{permissionGuards-DxbvOoZJ.esm.js → permissionGuards-o1JLtewE.esm.js} +1 -1
- package/dist/{permissionServices-f7nBnW5P.esm.js → permissionServices-7lzEiOsO.esm.js} +3 -3
- package/dist/personhood.d.ts +5 -5
- package/dist/personhood.esm.js +8 -8
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-BPlX2IDO.esm.js → runChildModule-BDlvNMrA.esm.js} +1 -1
- package/dist/{safeStorage-Dp9m6aOh.esm.js → safeStorage-1O9k0ulP.esm.js} +8 -8
- package/dist/{sdkVersion-Dr9_E3d9.esm.js → sdkVersion-CS_0s_Lc.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +12 -74
- package/dist/{selfieManager-BdP-RgH4.esm.js → selfieManager-BouB9yUQ.esm.js} +4 -4
- package/dist/{selfieManager-Bg_Xwe4p.d.ts → selfieManager-DZ3u_WN9.d.ts} +1 -1
- package/dist/{selfieStateMachine-B8vFeT39.esm.js → selfieStateMachine-TGfI9hNp.esm.js} +22 -31
- package/dist/{session-C2THUsQZ.esm.js → session-m9j27bHm.esm.js} +3 -3
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-CEycxhm4.esm.js → sessionInitializer-CUpgbHzs.esm.js} +4 -4
- package/dist/{setup-D6yz9se2.d.ts → setup-CEX95gJ1.d.ts} +11 -6
- package/dist/{setup-BHJ3-fhX.esm.js → setup-CfNAVG-d.esm.js} +12 -11
- package/dist/{trueSightService-DLzYznkh.esm.js → trueSightService-TqmmYye3.esm.js} +4 -4
- package/dist/types-BhHF-CuL.d.ts +6 -0
- package/dist/{types-DJ2OM9rw.d.ts → types-BzuUebkB.d.ts} +1 -1
- package/dist/{types-DzmqFoCH.d.ts → types-CBctcPeF.d.ts} +1 -1
- package/dist/{types-BBI4-s9u2.d.ts → types-CoOlCUp82.d.ts} +5 -5
- package/dist/{types-hSqUyXyw.d.ts → types-DL0CXuWv.d.ts} +3 -3
- package/dist/types-Ds928RiU.d.ts +1 -0
- package/dist/{types-_pWNFY1F.d.ts → types-eLtVBhon.d.ts} +1 -1
- package/dist/video-selfie.d.ts +3 -3
- package/dist/video-selfie.esm.js +5 -5
- package/dist/{videoSelfieCameraWarmer-D5E12WjL.esm.js → videoSelfieCameraWarmer-C-cESczy.esm.js} +9 -9
- package/dist/{videoSelfieStepDetector-B8TvFDNK.d.ts → videoSelfieStepDetector-CdXIFh9s.d.ts} +4 -4
- package/dist/virtualCameraCheck-WOloJ-do.esm.js +48 -0
- package/dist/{warmup-BOM-sD-6.esm.js → warmup-CUUnwYxe.esm.js} +282 -90
- package/dist/{warmup-CXHBgvFC.d.ts → warmup-Cis2p6O0.d.ts} +13 -2
- package/dist/wasm.d.ts +9 -3
- package/dist/wasm.esm.js +10 -4
- package/dist/{wasmDsFlagSync-C3k_VK9o.esm.js → wasmDsFlagSync-BJtLh2XK.esm.js} +1 -1
- package/dist/{wasmWebClient-BJCaFeBL.esm.js → wasmWebClient-B7baE-Wf.esm.js} +223 -2
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +15 -15
- package/package.json +1 -1
- package/dist/imageFile-CLaua6xO.esm.js +0 -69
- package/dist/types-m4t_cT5J.d.ts +0 -6
- package/dist/{Face2DProvider-UUQt_vRC.esm.js → Face2DProvider-BF48sz5c.esm.js} +1 -1
- package/dist/{PrivacyLensProvider-D8PS7AJa.esm.js → PrivacyLensProvider-EwnC_C5n.esm.js} +1 -1
- package/dist/{selfieErrorUtils-C6gC06J7.esm.js → selfieErrorUtils-C77GXJH6.esm.js} +1 -1
|
@@ -3,8 +3,8 @@ import { i as markAvatarTimeline } from "./avatarStats-CdUOb3VD.esm.js";
|
|
|
3
3
|
async function importProviderModule(variant) {
|
|
4
4
|
switch (variant) {
|
|
5
5
|
case "avatar-3d": return import("./3dAvatarProvider-g02DTFqT.esm.js");
|
|
6
|
-
case "avatar-2d": return import("./Face2DProvider-
|
|
7
|
-
case "privacy-lens": return import("./PrivacyLensProvider-
|
|
6
|
+
case "avatar-2d": return import("./Face2DProvider-BF48sz5c.esm.js");
|
|
7
|
+
case "privacy-lens": return import("./PrivacyLensProvider-EwnC_C5n.esm.js");
|
|
8
8
|
default: throw new Error(`Unknown avatar variant: ${String(variant)}`);
|
|
9
9
|
}
|
|
10
10
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as WasmModuleConfig, n as WasmModelsConfig } from "./warmup-
|
|
1
|
+
import { i as WasmModuleConfig, n as WasmModelsConfig } from "./warmup-Cis2p6O0.js";
|
|
2
2
|
//#region ../infra/src/media/canvas.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Class representing a canvas element for image capture and manipulation.
|
|
@@ -83,6 +83,15 @@ declare class IncodeCanvas {
|
|
|
83
83
|
* Updates the Blob representation of the current canvas image.
|
|
84
84
|
*/
|
|
85
85
|
updateBlob(jpegQuality?: number, includeDataURLPrefix?: boolean): void;
|
|
86
|
+
/**
|
|
87
|
+
* Creates a JPEG Blob without synchronously encoding the canvas as base64.
|
|
88
|
+
* Returns `null` when the canvas is invalid, encoding is unavailable, or the
|
|
89
|
+
* browser cannot produce a Blob.
|
|
90
|
+
*/
|
|
91
|
+
updateBlobAsync(jpegQuality?: number): Promise<{
|
|
92
|
+
blob: Blob;
|
|
93
|
+
url: string;
|
|
94
|
+
} | null>;
|
|
86
95
|
/**
|
|
87
96
|
* Converts a base64 string to a Blob and creates a URL for it.
|
|
88
97
|
*/
|
|
@@ -363,11 +372,8 @@ interface IFaceDetectionCapability extends IMLProviderCapability<FaceDetectionCo
|
|
|
363
372
|
*/
|
|
364
373
|
forceCapture(): void;
|
|
365
374
|
/**
|
|
366
|
-
*
|
|
367
|
-
*
|
|
368
|
-
* results inside WASM for the next {@link postFaceResults} call. No-op for
|
|
369
|
-
* default (non-on-device) configurations; callers should guard with the
|
|
370
|
-
* `onDeviceFaceResultsSubmissionEnabled` flag.
|
|
375
|
+
* @deprecated Unsupported by ml-wasm-kit v2.14.49-post1. Calls fail
|
|
376
|
+
* deterministically without passing the canvas to native code.
|
|
371
377
|
*/
|
|
372
378
|
processPhoto(canvas: HTMLCanvasElement): void;
|
|
373
379
|
/**
|
|
@@ -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-CTJB2RsD.js";
|
|
2
2
|
//#region src/modules/curp-validation/curpValidationUtils.d.ts
|
|
3
3
|
type MexicanState = {
|
|
4
4
|
value: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
2
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
3
3
|
import "./Actor-iTq7YY48.js";
|
|
4
|
-
import { i as FlowModuleConfig } from "./types-
|
|
4
|
+
import { i as FlowModuleConfig } from "./types-CBctcPeF.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 */
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import { r as WasmUtilProvider } from "./safeStorage-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { _ as getThumbmarkId, b as BrowserEnvironmentProvider, g as IpifyProvider, m as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify } from "./sessionInitializer-CEycxhm4.esm.js";
|
|
5
|
-
import { t as addDeviceStats } from "./stats-DkK-f8JT.esm.js";
|
|
1
|
+
import { r as WasmUtilProvider } from "./safeStorage-1O9k0ulP.esm.js";
|
|
2
|
+
import { l as trueSightLog } from "./trueSightService-TqmmYye3.esm.js";
|
|
3
|
+
import { _ as getThumbmarkId, g as IpifyProvider, m as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, y as BrowserEnvironmentProvider } from "./sessionInitializer-CUpgbHzs.esm.js";
|
|
6
4
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-B2iFDql1.esm.js";
|
|
7
5
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
8
|
-
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-
|
|
9
|
-
import { t as MotionSensorProvider } from "./MotionSensorProvider-
|
|
10
|
-
import {
|
|
11
|
-
import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
|
|
6
|
+
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BJtLh2XK.esm.js";
|
|
7
|
+
import { t as MotionSensorProvider } from "./MotionSensorProvider-BnZ8_1Sk.esm.js";
|
|
8
|
+
import { i as requestCameraAccess, o as stopCameraStream } from "./camera-sIa9ceW2.esm.js";
|
|
12
9
|
import { t as createHiddenVideoElement } from "./video-BtSWtHy1.esm.js";
|
|
13
10
|
import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
11
|
+
import { n as runVirtualCameraCheck } from "./virtualCameraCheck-WOloJ-do.esm.js";
|
|
14
12
|
//#region src/internal/deepsight/metadataService.ts
|
|
15
13
|
function createMetadataService(wasmUtil, visibility, browserEnv, ipLookup) {
|
|
16
14
|
return {
|
|
@@ -133,49 +131,17 @@ function createMotionStatusService(motionSensor) {
|
|
|
133
131
|
};
|
|
134
132
|
}
|
|
135
133
|
//#endregion
|
|
136
|
-
//#region src/internal/virtualCameraCheck.ts
|
|
137
|
-
/**
|
|
138
|
-
* Sends the analyzed frame image to the backend for logging.
|
|
139
|
-
*/
|
|
140
|
-
async function logFrame({ source, base64Image, token }) {
|
|
141
|
-
try {
|
|
142
|
-
return (await api.post("/omni/log/frame/v2", { base64Image }, {
|
|
143
|
-
query: { source },
|
|
144
|
-
headers: { "X-Incode-Hardware-Id": token }
|
|
145
|
-
})).data;
|
|
146
|
-
} catch {
|
|
147
|
-
return;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
/**
|
|
151
|
-
* Runs the WASM virtual camera check and handles logging and stats.
|
|
152
|
-
*/
|
|
153
|
-
async function runVirtualCameraCheck({ wasmUtil, source, token }) {
|
|
154
|
-
const output = {
|
|
155
|
-
canvas: null,
|
|
156
|
-
itr: null,
|
|
157
|
-
skipped: null
|
|
158
|
-
};
|
|
159
|
-
await wasmUtil.poc(output);
|
|
160
|
-
if (output.skipped !== false) return;
|
|
161
|
-
if (output.canvas && token) {
|
|
162
|
-
const base64Image = new IncodeCanvas(output.canvas).getBase64Image();
|
|
163
|
-
if (base64Image) await logFrame({
|
|
164
|
-
source,
|
|
165
|
-
base64Image,
|
|
166
|
-
token
|
|
167
|
-
});
|
|
168
|
-
}
|
|
169
|
-
if (output.itr === true) {
|
|
170
|
-
addDeviceStats({ virtualCameraDetected: true });
|
|
171
|
-
wasmUtil.setZc("FAIL");
|
|
172
|
-
} else if (output.itr === false) wasmUtil.setZc("PASS");
|
|
173
|
-
}
|
|
174
|
-
//#endregion
|
|
175
134
|
//#region src/internal/deepsight/deepsightService.ts
|
|
176
135
|
function createDeepsightService(config) {
|
|
177
136
|
const metadata = createMetadataService(config.wasmUtil, config.visibility, config.browserEnv, config.ipLookup);
|
|
178
137
|
const motion = createMotionStatusService(config.motionSensor);
|
|
138
|
+
const finalizeCaptureMetadata = () => {
|
|
139
|
+
metadata.preparePipelineState();
|
|
140
|
+
const motionStatus = motion.check();
|
|
141
|
+
metadata.setMotionStatus(motionStatus);
|
|
142
|
+
metadata.getCheck();
|
|
143
|
+
metadata.setBackgroundMode(false);
|
|
144
|
+
};
|
|
179
145
|
return {
|
|
180
146
|
metadata,
|
|
181
147
|
motion,
|
|
@@ -216,11 +182,11 @@ function createDeepsightService(config) {
|
|
|
216
182
|
async analyzeFrame(imageData) {
|
|
217
183
|
await motion.start();
|
|
218
184
|
await metadata.analyzeFrame(imageData);
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
185
|
+
finalizeCaptureMetadata();
|
|
186
|
+
},
|
|
187
|
+
async finalizeProtectedCaptureMetadata() {
|
|
188
|
+
await motion.start();
|
|
189
|
+
finalizeCaptureMetadata();
|
|
224
190
|
},
|
|
225
191
|
getMetadata() {
|
|
226
192
|
return metadata.getMetadata();
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
2
|
-
import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-
|
|
1
|
+
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-F8SCOtL_.esm.js";
|
|
2
|
+
import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-BwcbMwo5.esm.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
package/dist/{documentCaptureManager-BTpHZMgW.esm.js → documentCaptureManager-BwcbMwo5.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.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-BuFLFuzz.esm.js";
|
|
4
|
-
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
4
|
+
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-F8SCOtL_.esm.js";
|
|
5
5
|
//#region src/modules/document-capture/documentCaptureActor.ts
|
|
6
6
|
function createDocumentCaptureActor(options) {
|
|
7
7
|
return createActor(documentCaptureMachine, { input: { config: options.config } }).start();
|
|
@@ -2,10 +2,10 @@ import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
|
2
2
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
5
|
-
import {
|
|
6
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { o as stopCameraStream } from "./camera-sIa9ceW2.esm.js";
|
|
6
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-7lzEiOsO.esm.js";
|
|
7
|
+
import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-o1JLtewE.esm.js";
|
|
8
|
+
import { n as getBackCameraStream } from "./backCameraStream-BOtyQowf.esm.js";
|
|
9
9
|
//#region src/modules/document-capture/types.ts
|
|
10
10
|
const PROCESSING_TYPE_MAP = {
|
|
11
11
|
processV5CLogbook: "v5cMultiPageLogbook",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
2
|
-
import { t as createDynamicFormsManager } from "./dynamicFormsManager-
|
|
1
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Bo2qrjHB.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-CNBrBOR3.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.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-BuFLFuzz.esm.js";
|
|
4
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
4
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Bo2qrjHB.esm.js";
|
|
5
5
|
//#region src/modules/dynamic-forms/dynamicFormsActor.ts
|
|
6
6
|
function createDynamicFormsActor(options) {
|
|
7
7
|
return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
|
package/dist/{dynamicFormsStateMachine-DZr7Ugvy.esm.js → dynamicFormsStateMachine-Bo2qrjHB.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
3
|
-
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-
|
|
3
|
+
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-CixFeCyt.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
6
|
import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
package/dist/ekyb.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./StateMachine-EDpYWy0i.js";
|
|
2
2
|
import { c as AddressSuggestion } from "./types-Bk_6dmDa.js";
|
|
3
|
-
import { i as FlowModuleConfig } from "./types-
|
|
3
|
+
import { i as FlowModuleConfig } from "./types-CBctcPeF.js";
|
|
4
4
|
import { a as EkybValidationError, n as EkybCountry, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-BfHiko5D.js";
|
|
5
5
|
import { n as EkybState, o as ekybMachine, r as createEkybManager, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
|
|
6
6
|
//#region src/modules/ekyb/ekybServices.d.ts
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
1
|
+
import { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-Brr2fh_c.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-oPCbEFob.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-D8DdfRAD.esm.js";
|
|
4
4
|
export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.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-BuFLFuzz.esm.js";
|
|
4
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
4
|
+
import { t as ekybMachine } from "./ekybStateMachine-oPCbEFob.esm.js";
|
|
5
5
|
//#region src/modules/ekyb/ekybActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYB actor.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
3
|
-
import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-
|
|
3
|
+
import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-Brr2fh_c.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
6
|
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-BRSu_aGA.esm.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-DkKQ07vx.esm.js";
|
|
2
2
|
export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -2,7 +2,7 @@ import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
5
|
-
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-
|
|
5
|
+
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-CixFeCyt.esm.js";
|
|
6
6
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
7
7
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
8
8
|
import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -5,16 +5,15 @@ import "./Actor-iTq7YY48.js";
|
|
|
5
5
|
import { c as ElectronicSignatureFileDataHolder } from "./types-D0gekt4U.js";
|
|
6
6
|
import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-Ds-KEVTq.js";
|
|
7
7
|
import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-BY36bS12.js";
|
|
8
|
-
import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-
|
|
9
|
-
import "./createFaceAvatar-
|
|
10
|
-
import { i as IStorageCapability
|
|
11
|
-
import
|
|
12
|
-
import "./
|
|
13
|
-
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BCkV6CSG.js";
|
|
8
|
+
import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-DqrYpjA5.js";
|
|
9
|
+
import "./createFaceAvatar-CTM9aj9Q.js";
|
|
10
|
+
import { i as IStorageCapability } from "./IWasmUtilCapability-DaP6pfHq.js";
|
|
11
|
+
import "./StreamCanvasCapture-D9Dz8kqB.js";
|
|
12
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-D7UUqgnN.js";
|
|
14
13
|
import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-DCgEidHz.js";
|
|
15
14
|
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-BhYFeKiG.js";
|
|
16
15
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
|
|
17
|
-
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-
|
|
16
|
+
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-CTJB2RsD.js";
|
|
18
17
|
import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-8-W2KY4n.js";
|
|
19
18
|
import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-PBWHr_oM.js";
|
|
20
19
|
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-DensIj5F.js";
|
|
@@ -22,15 +21,15 @@ import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as D
|
|
|
22
21
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
|
|
23
22
|
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
|
|
24
23
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
|
|
25
|
-
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-
|
|
26
|
-
import { i as CaptureIdResponse } from "./types-
|
|
27
|
-
import {
|
|
24
|
+
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-DZ3u_WN9.js";
|
|
25
|
+
import { i as CaptureIdResponse } from "./types-CoOlCUp82.js";
|
|
26
|
+
import { d as IdCaptureActor, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState, z as WasmUtilProvider } from "./idCaptureManager-DE_jyr5X.js";
|
|
28
27
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
|
|
29
28
|
import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DLXef90v.js";
|
|
30
29
|
import { i as WatchlistForBusinessState, l as WatchlistForBusinessActor, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager } from "./watchlistForBusinessManager-CsnJnG-C.js";
|
|
31
30
|
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
|
|
32
31
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
|
|
33
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
32
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-CZwhsUlO.js";
|
|
34
33
|
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-BF_cXZq8.js";
|
|
35
34
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BD2PvT5B.js";
|
|
36
35
|
import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-DGBSWz2_.js";
|
|
@@ -39,7 +38,7 @@ import { a as GovernmentValidationActor, i as createGovernmentValidationManagerF
|
|
|
39
38
|
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-BB4Pj_N6.js";
|
|
40
39
|
import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-BnvrZM2F.js";
|
|
41
40
|
import { a as FiscalQrActor, i as createFiscalQrManagerFromActor, n as FiscalQrState, t as FiscalQrManager } from "./fiscalQrManager-CHcBJwUM.js";
|
|
42
|
-
import "./types-
|
|
41
|
+
import "./types-eLtVBhon.js";
|
|
43
42
|
//#region src/modules/authentication/authenticationUploadService.d.ts
|
|
44
43
|
type AuthenticationUploadResponse = {
|
|
45
44
|
overallStatus: 'PASS' | 'FAIL';
|
|
@@ -92,52 +91,6 @@ declare class BrowserStorageProvider implements IStorageCapability {
|
|
|
92
91
|
clear(): Promise<void>;
|
|
93
92
|
}
|
|
94
93
|
//#endregion
|
|
95
|
-
//#region ../infra/src/providers/wasm/WasmUtilProvider.d.ts
|
|
96
|
-
declare class WasmUtilProvider extends BaseWasmProvider implements IWasmUtilCapability {
|
|
97
|
-
private static instance;
|
|
98
|
-
private static initPromise;
|
|
99
|
-
static getInstance(): Promise<WasmUtilProvider>;
|
|
100
|
-
static resetInstance(): void;
|
|
101
|
-
constructor();
|
|
102
|
-
initialize(config: WasmUtilConfig): Promise<void>;
|
|
103
|
-
processFrame(_image: ImageData): Promise<void>;
|
|
104
|
-
encryptImage(image: string): string;
|
|
105
|
-
setSdkVersion(version: string): void;
|
|
106
|
-
setSdkPlatform(platform: string): void;
|
|
107
|
-
setDeviceInfo(deviceInfo: object, overrideExisting?: boolean): void;
|
|
108
|
-
setBrowserInfo(browserInfo: object, overrideExisting?: boolean): void;
|
|
109
|
-
setCameraInfo(cameraInfo: object, overrideExisting?: boolean): void;
|
|
110
|
-
setMotionStatus(status: string): void;
|
|
111
|
-
setBackgroundMode(backgroundMode: boolean): void;
|
|
112
|
-
setOnDeviceMode(enabled: boolean): void;
|
|
113
|
-
setZc(zc: string): void;
|
|
114
|
-
setInspectorOpened(opened: boolean): void;
|
|
115
|
-
getInspectorOpened(): boolean;
|
|
116
|
-
/**
|
|
117
|
-
* Toggles the WASM module's production mode. When `true`, the native module
|
|
118
|
-
* suppresses its verbose debug logging/console output; when `false`, those
|
|
119
|
-
* logs are emitted. The SDK forces this to `true` by default and only flips
|
|
120
|
-
* it off when the caller opts in via `setup({ wasm: { showLogs: true } })`.
|
|
121
|
-
*
|
|
122
|
-
* @param productionMode - `true` to silence WASM logs, `false` to emit them.
|
|
123
|
-
*/
|
|
124
|
-
setProductionMode(productionMode: boolean): Promise<void>;
|
|
125
|
-
getMetadata(): string;
|
|
126
|
-
analyzeFrame(image: ImageData): Promise<void>;
|
|
127
|
-
getCheck(): string;
|
|
128
|
-
getPipelineState(): string;
|
|
129
|
-
estimatePerformance(): string;
|
|
130
|
-
isVirtualCamera(label: string | null): boolean;
|
|
131
|
-
prc(): Promise<void>;
|
|
132
|
-
poc(output: VirtualCameraCheckOutput): Promise<void>;
|
|
133
|
-
rsp(): Promise<void>;
|
|
134
|
-
ssl(): void;
|
|
135
|
-
stl(): void;
|
|
136
|
-
osv(): void;
|
|
137
|
-
oev(): void;
|
|
138
|
-
ckvcks(data: ArrayBuffer): void;
|
|
139
|
-
}
|
|
140
|
-
//#endregion
|
|
141
94
|
//#region ../infra/src/capabilities/IFingerprintCapability.d.ts
|
|
142
95
|
type DeviceFingerprintInfo = {
|
|
143
96
|
device: {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
2
|
-
import { r as WasmUtilProvider } from "./safeStorage-
|
|
3
|
-
import { h as getFingerprint,
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-CfNAVG-d.esm.js";
|
|
2
|
+
import { r as WasmUtilProvider } from "./safeStorage-1O9k0ulP.esm.js";
|
|
3
|
+
import { h as getFingerprint, v as getDeviceFingerprintInfo } from "./sessionInitializer-CUpgbHzs.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
|
-
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-
|
|
6
|
+
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-DkKQ07vx.esm.js";
|
|
7
7
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-Bg9ynGum.esm.js";
|
|
8
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
9
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-WeO8-TfR.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CN26fkJa.esm.js";
|
|
10
10
|
import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-Bfvkq7Cy.esm.js";
|
|
11
11
|
import { n as createConsentManagerFromActor } from "./consentManager-B5Vqdez-.esm.js";
|
|
12
12
|
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-QMOGwHXR.esm.js";
|
|
13
13
|
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-D1ppROcF.esm.js";
|
|
14
14
|
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-2j_PBq4U.esm.js";
|
|
15
15
|
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-DUVrEdw9.esm.js";
|
|
16
|
-
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-
|
|
17
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
18
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
16
|
+
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-BwcbMwo5.esm.js";
|
|
17
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-CNBrBOR3.esm.js";
|
|
18
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-D8DdfRAD.esm.js";
|
|
19
19
|
import { n as createEkycManagerFromActor } from "./ekycManager-CmQBpeiI.esm.js";
|
|
20
20
|
import { n as createEmailManagerFromActor } from "./emailManager-B5ek_UfM.esm.js";
|
|
21
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
22
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
21
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-BouB9yUQ.esm.js";
|
|
22
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-zjul9YdZ.esm.js";
|
|
23
23
|
import { n as createPhoneManagerFromActor } from "./phoneManager-N1-sbrY4.esm.js";
|
|
24
24
|
import { n as createWatchlistManagerFromActor } from "./watchlistManager-CI8BHFob.esm.js";
|
|
25
25
|
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-CpuuB1J2.esm.js";
|
|
@@ -29,9 +29,9 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
|
|
|
29
29
|
import { n as createIdOcrManagerFromActor } from "./idOcrManager-DHU22hVn.esm.js";
|
|
30
30
|
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-DsFzdTwA.esm.js";
|
|
31
31
|
import { n as createSignatureManagerFromActor } from "./signatureManager-ChsB-nMD.esm.js";
|
|
32
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
32
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-CtVZDjng.esm.js";
|
|
33
33
|
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-TjC9iVjH.esm.js";
|
|
34
34
|
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-CyaixD0D.esm.js";
|
|
35
35
|
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-Caal2zyV.esm.js";
|
|
36
|
-
import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-
|
|
36
|
+
import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-Bp_-3LJr.esm.js";
|
|
37
37
|
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistForBusinessManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
package/dist/{faceCaptureManagerFactory-kDmbL0I7.esm.js → faceCaptureManagerFactory-D_EjQnnE.esm.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-
|
|
4
|
+
import { i as concealmentToAvatar } from "./faceCaptureSetup-WeO8-TfR.esm.js";
|
|
5
|
+
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BJtLh2XK.esm.js";
|
|
6
6
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
7
|
-
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-
|
|
7
|
+
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-7lzEiOsO.esm.js";
|
|
8
8
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
9
9
|
function getPermissionStatus(snapshot) {
|
|
10
10
|
if (!snapshot.matches("permissions")) return;
|
|
@@ -447,6 +447,12 @@ function getFaceCaptureErrorPayload(snapshot) {
|
|
|
447
447
|
* `docs/patterns/CAPABILITY.md`). Pass a fake/no-op to override (tests do).
|
|
448
448
|
*/
|
|
449
449
|
function createFaceCaptureManagerFromActor(actor, moduleName, visibilityObserver = new BrowserVisibilityObserverProvider()) {
|
|
450
|
+
const protectedVisibilityActor = actor;
|
|
451
|
+
const initialVisible = visibilityObserver.isVisible();
|
|
452
|
+
protectedVisibilityActor.send({
|
|
453
|
+
type: "PROTECTED_VISIBILITY",
|
|
454
|
+
visible: initialVisible
|
|
455
|
+
});
|
|
450
456
|
return createManager({
|
|
451
457
|
actor,
|
|
452
458
|
mapState,
|
|
@@ -455,7 +461,16 @@ function createFaceCaptureManagerFromActor(actor, moduleName, visibilityObserver
|
|
|
455
461
|
getEventScreenName: (snapshot) => getFaceCaptureScreenName(snapshot, moduleName),
|
|
456
462
|
getErrorName: getFaceCaptureErrorName,
|
|
457
463
|
getErrorPayload: getFaceCaptureErrorPayload,
|
|
458
|
-
visibilityObserver
|
|
464
|
+
visibilityObserver: {
|
|
465
|
+
isVisible: () => visibilityObserver.isVisible(),
|
|
466
|
+
onVisibilityChange: (listener) => visibilityObserver.onVisibilityChange((visible) => {
|
|
467
|
+
protectedVisibilityActor.send({
|
|
468
|
+
type: "PROTECTED_VISIBILITY",
|
|
469
|
+
visible
|
|
470
|
+
});
|
|
471
|
+
listener(visible);
|
|
472
|
+
})
|
|
473
|
+
}
|
|
459
474
|
})
|
|
460
475
|
});
|
|
461
476
|
}
|
package/dist/{faceCaptureManagerFactory-CzUr_ZPq.d.ts → faceCaptureManagerFactory-DqrYpjA5.d.ts}
RENAMED
|
@@ -4,15 +4,16 @@ import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
|
4
4
|
import "./Actor-iTq7YY48.js";
|
|
5
5
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
6
6
|
import "./index-B8weJxmL.js";
|
|
7
|
-
import { s as FaceFeed, t as AvatarId, u as FaceCoordinates, y as IncodeCanvas } from "./createFaceAvatar-
|
|
8
|
-
import { i as FlowModuleConfig } from "./types-
|
|
9
|
-
import "./IWasmUtilCapability-
|
|
7
|
+
import { s as FaceFeed, t as AvatarId, u as FaceCoordinates, y as IncodeCanvas } from "./createFaceAvatar-CTM9aj9Q.js";
|
|
8
|
+
import { i as FlowModuleConfig } from "./types-CBctcPeF.js";
|
|
9
|
+
import "./IWasmUtilCapability-DaP6pfHq.js";
|
|
10
10
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
11
|
-
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-
|
|
12
|
-
import { t as AuthenticationConfig } from "./types-
|
|
13
|
-
import
|
|
11
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-DL0CXuWv.js";
|
|
12
|
+
import { t as AuthenticationConfig } from "./types-BhHF-CuL.js";
|
|
13
|
+
import "./types-Ds928RiU.js";
|
|
14
|
+
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-D9Dz8kqB.js";
|
|
15
|
+
import { t as FaceDetectionProvider } from "./FaceDetectionProvider-CyLxkzRP.js";
|
|
14
16
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
15
|
-
import { n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-MZOpj7Vp.js";
|
|
16
17
|
//#region src/modules/authentication/authenticationStateMachine.d.ts
|
|
17
18
|
declare const _authenticationMachine: AnyStateMachine;
|
|
18
19
|
type AuthenticationMachine = typeof _authenticationMachine;
|
|
@@ -95,6 +96,10 @@ type RecordingService = {
|
|
|
95
96
|
stop(): Promise<{
|
|
96
97
|
recordingId: string | null;
|
|
97
98
|
}>;
|
|
99
|
+
/** Best-effort page-background handling for protected camera cycles. */
|
|
100
|
+
pauseForBackground?(): void;
|
|
101
|
+
/** Resumes the same recorder after its protected presentation track recovers. */
|
|
102
|
+
resumeFromBackground?(stream: MediaStream): Promise<void>;
|
|
98
103
|
/**
|
|
99
104
|
* Stops the recorder and returns the raw (un-encrypted, not uploaded)
|
|
100
105
|
* video as base64. Used by the captureOnly flow, which hands video bytes
|
|
@@ -135,8 +140,10 @@ type FaceCaptureContext = {
|
|
|
135
140
|
dependencies: FaceCaptureDependencies;
|
|
136
141
|
authHint: string | undefined;
|
|
137
142
|
stream: CameraStream | undefined;
|
|
138
|
-
|
|
139
|
-
|
|
143
|
+
/** @deprecated Protected capture authority is private and this is always absent. */
|
|
144
|
+
provider?: FaceDetectionProvider | undefined;
|
|
145
|
+
/** @deprecated Protected capture authority is private and this is always absent. */
|
|
146
|
+
frameCapturer?: StreamCanvasCapture | undefined;
|
|
140
147
|
usingBackCamera: boolean;
|
|
141
148
|
error: string | FaceErrorObject | undefined;
|
|
142
149
|
detectionStatus: DetectionStatus;
|
|
@@ -144,12 +151,17 @@ type FaceCaptureContext = {
|
|
|
144
151
|
faceCoordinates: FaceCoordinates | undefined;
|
|
145
152
|
uploadResponse: Record<string, unknown> | undefined;
|
|
146
153
|
processResponse: Record<string, unknown> | undefined;
|
|
147
|
-
|
|
154
|
+
/** @deprecated Recorder ownership is private and this is always absent. */
|
|
155
|
+
recordingService?: RecordingService | undefined;
|
|
148
156
|
attemptsRemaining: number;
|
|
149
157
|
uploadError: FaceErrorCode | undefined;
|
|
150
158
|
permissionResult: PermissionResult | 'refresh' | undefined;
|
|
151
|
-
|
|
152
|
-
|
|
159
|
+
/** @deprecated Detection callback ownership is private and this is always absent. */
|
|
160
|
+
resetDetection?: (() => void) | undefined;
|
|
161
|
+
/** @deprecated Deepsight ownership is private and this is always absent. */
|
|
162
|
+
deepsightService?: DeepsightService | undefined;
|
|
163
|
+
/** Internal semantic readiness marker; no service instance is exposed. */
|
|
164
|
+
deepsightReady?: boolean;
|
|
153
165
|
encryptedBase64Image: string | undefined;
|
|
154
166
|
uploadRecordingId: string | null | undefined;
|
|
155
167
|
manualCaptureTriggered: boolean;
|