@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./Manager-CQQ99QOI.js";
|
|
2
|
-
import { n as Flow } from "./types-
|
|
2
|
+
import { n as Flow } from "./types-CBctcPeF.js";
|
|
3
3
|
import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
|
|
4
4
|
//#region src/internal/flow-events/flowEvents.d.ts
|
|
5
5
|
type FlowStartedEvent = {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as isConfigured, l as setup, o as reset, t as SetupOptions } from "./setup-
|
|
1
|
+
import { a as isConfigured, l as setup, o as reset, t as SetupOptions } from "./setup-CEX95gJ1.js";
|
|
2
2
|
export { type SetupOptions, isConfigured, reset, setup };
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reset, r as isConfigured, s as setup } from "./setup-
|
|
1
|
+
import { i as reset, r as isConfigured, s as setup } from "./setup-CfNAVG-d.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as MandatoryConsentConfig } from "./types-
|
|
2
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
1
|
+
import { r as MandatoryConsentConfig } from "./types-BzuUebkB.js";
|
|
2
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-CZwhsUlO.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-BJnylLZO.d.ts → mandatoryConsentManager-CZwhsUlO.d.ts}
RENAMED
|
@@ -2,7 +2,7 @@ import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorR
|
|
|
2
2
|
import "./StateMachine-EDpYWy0i.js";
|
|
3
3
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
4
4
|
import "./Actor-iTq7YY48.js";
|
|
5
|
-
import { n as MandatoryConsent, r as MandatoryConsentConfig, t as FetchMandatoryConsentResponse } from "./types-
|
|
5
|
+
import { n as MandatoryConsent, r as MandatoryConsentConfig, t as FetchMandatoryConsentResponse } from "./types-BzuUebkB.js";
|
|
6
6
|
//#region src/modules/mandatory-consent/mandatoryConsentStateMachine.d.ts
|
|
7
7
|
type MandatoryConsentContext = {
|
|
8
8
|
config: MandatoryConsentConfig;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as isWasmMotionPrimedForModule } from "./permissionServices-
|
|
1
|
+
import { a as isWasmMotionPrimedForModule } from "./permissionServices-7lzEiOsO.esm.js";
|
|
2
2
|
//#region src/internal/permissions/permissionGuards.ts
|
|
3
3
|
function resolveStoredPermissionResult(fromEvent, fromContext) {
|
|
4
4
|
if (fromEvent === "granted" || fromEvent === "denied" || fromEvent === "prompt" || fromEvent === "refresh") return fromEvent;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as WasmUtilProvider } from "./safeStorage-
|
|
1
|
+
import { r as WasmUtilProvider } from "./safeStorage-1O9k0ulP.esm.js";
|
|
2
2
|
import { n as isAndroidWebView } from "./platform-DkcRc9JV.esm.js";
|
|
3
|
-
import { t as MotionSensorProvider } from "./MotionSensorProvider-
|
|
4
|
-
import {
|
|
3
|
+
import { t as MotionSensorProvider } from "./MotionSensorProvider-BnZ8_1Sk.esm.js";
|
|
4
|
+
import { c as isCameraGrantedInDocument, i as requestCameraAccess, o as stopCameraStream, s as clearCameraGrantedInDocument } from "./camera-sIa9ceW2.esm.js";
|
|
5
5
|
//#region ../infra/src/media/permissions.ts
|
|
6
6
|
async function queryPermission(name) {
|
|
7
7
|
try {
|
package/dist/personhood.d.ts
CHANGED
|
@@ -2,13 +2,13 @@ import { A as StateMachine, i as ActorRefFrom, l as AnyStateMachine } from "./sp
|
|
|
2
2
|
import "./StateMachine-EDpYWy0i.js";
|
|
3
3
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
4
4
|
import "./Actor-iTq7YY48.js";
|
|
5
|
-
import { y as IncodeCanvas } from "./createFaceAvatar-
|
|
6
|
-
import { i as IStorageCapability, t as IWasmUtilCapability } from "./IWasmUtilCapability-
|
|
5
|
+
import { y as IncodeCanvas } from "./createFaceAvatar-CTM9aj9Q.js";
|
|
6
|
+
import { i as IStorageCapability, t as IWasmUtilCapability } from "./IWasmUtilCapability-DaP6pfHq.js";
|
|
7
7
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
8
|
-
import { n as DetectionStatus } from "./types-
|
|
9
|
-
import { t as
|
|
8
|
+
import { n as DetectionStatus } from "./types-DL0CXuWv.js";
|
|
9
|
+
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-D9Dz8kqB.js";
|
|
10
|
+
import { t as FaceDetectionProvider } from "./FaceDetectionProvider-CyLxkzRP.js";
|
|
10
11
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
11
|
-
import { n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-MZOpj7Vp.js";
|
|
12
12
|
//#region src/modules/personhood/types.d.ts
|
|
13
13
|
/**
|
|
14
14
|
* Head pose (degrees) computed per-frame from the WASM face detector.
|
package/dist/personhood.esm.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
2
|
-
import { r as WasmUtilProvider } from "./safeStorage-
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-CfNAVG-d.esm.js";
|
|
2
|
+
import { r as WasmUtilProvider } from "./safeStorage-1O9k0ulP.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
4
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
5
|
-
import {
|
|
5
|
+
import { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-TqmmYye3.esm.js";
|
|
6
6
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
7
|
-
import { _ as getThumbmarkId,
|
|
7
|
+
import { _ as getThumbmarkId, m as isBrowserSimulation, n as getFingerprintEnabled, v as getDeviceFingerprintInfo, y as BrowserEnvironmentProvider } from "./sessionInitializer-CUpgbHzs.esm.js";
|
|
8
8
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
9
9
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
10
10
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
11
|
-
import {
|
|
12
|
-
import { i as requestPermission, t as checkPermission } from "./permissionServices-
|
|
11
|
+
import { i as requestCameraAccess, o as stopCameraStream } from "./camera-sIa9ceW2.esm.js";
|
|
12
|
+
import { i as requestPermission, t as checkPermission } from "./permissionServices-7lzEiOsO.esm.js";
|
|
13
|
+
import { i as initializeDeepsightSession, l as stopStream, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-0bWjPgW5.esm.js";
|
|
13
14
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
14
|
-
import {
|
|
15
|
-
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
15
|
+
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
16
16
|
//#region src/modules/personhood/personhoodServices.ts
|
|
17
17
|
/**
|
|
18
18
|
* Config used for the passive liveness pass. Deliberately stripped down from
|
package/dist/qe-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-DkKQ07vx.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
2
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
2
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-TqmmYye3.esm.js";
|
|
3
3
|
import { C as createEventBus } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as wasmCallWrapper, s as ML_CALL_MAX_POLLS } from "./wasmWebClient-
|
|
2
|
-
import { a as waitForWasm, n as getWasmStatus, o as warmupWasm, r as isWasmReady, s as wasmRuntime } from "./warmup-
|
|
1
|
+
import { c as wasmCallWrapper, s as ML_CALL_MAX_POLLS } from "./wasmWebClient-B7baE-Wf.esm.js";
|
|
2
|
+
import { a as waitForWasm, n as getWasmStatus, o as warmupWasm, r as isWasmReady, s as wasmRuntime } from "./warmup-CUUnwYxe.esm.js";
|
|
3
3
|
//#region ../infra/src/wasm/utilityWasmApi.ts
|
|
4
4
|
/**
|
|
5
5
|
* Utility / metadata domain facade over {@link WasmRuntime}.
|
|
@@ -35,9 +35,11 @@ var UtilityWasmApi = class {
|
|
|
35
35
|
ens(image) {
|
|
36
36
|
return this.runtime.requireUtilityApi("Unable to encrypt the image, cpp API hasn't been initialized").ens(image);
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated Native label inspection was removed in v2.14.49-post1.
|
|
40
|
+
* Protected PRC/POC owns the authoritative decision.
|
|
41
|
+
*/
|
|
42
|
+
isVirtualCamera(_label) {
|
|
41
43
|
return false;
|
|
42
44
|
}
|
|
43
45
|
estimatePerformance() {
|
|
@@ -221,7 +223,7 @@ var BaseWasmProvider = class {
|
|
|
221
223
|
const pipelineType = this.getPipelineType();
|
|
222
224
|
await wasmRuntime.allocateImageBuffers(image.width, image.height);
|
|
223
225
|
await wasmRuntime.handleDetectionCallAndUpdateState(pipelineType);
|
|
224
|
-
return await wasmRuntime.process(
|
|
226
|
+
return await wasmRuntime.process(pipelineType, image);
|
|
225
227
|
}
|
|
226
228
|
/**
|
|
227
229
|
* Resets the pipeline to its initial state.
|
|
@@ -301,7 +303,6 @@ var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
|
|
|
301
303
|
utilityWasmApi.setBackgroundMode(backgroundMode);
|
|
302
304
|
}
|
|
303
305
|
setOnDeviceMode(enabled) {
|
|
304
|
-
this.ensureInitialized();
|
|
305
306
|
wasmRuntime.setOnDeviceMode(enabled);
|
|
306
307
|
}
|
|
307
308
|
setZc(zc) {
|
|
@@ -348,7 +349,6 @@ var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
|
|
|
348
349
|
return utilityWasmApi.estimatePerformance();
|
|
349
350
|
}
|
|
350
351
|
isVirtualCamera(label) {
|
|
351
|
-
this.ensureInitialized();
|
|
352
352
|
return utilityWasmApi.isVirtualCamera(label);
|
|
353
353
|
}
|
|
354
354
|
async prc() {
|
package/dist/selfie.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
2
|
-
import { _ as SelfieCaptureOnlyConfig, a as SelfieCaptureOnlyMachine, c as SelfieActor, g as processFace, h as ProcessFaceResponse, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, v as SelfieConfig } from "./faceCaptureManagerFactory-
|
|
2
|
+
import { _ as SelfieCaptureOnlyConfig, a as SelfieCaptureOnlyMachine, c as SelfieActor, g as processFace, h as ProcessFaceResponse, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, v as SelfieConfig } from "./faceCaptureManagerFactory-DqrYpjA5.js";
|
|
3
3
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
4
|
-
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-
|
|
4
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-DL0CXuWv.js";
|
|
5
|
+
import { n as DeepsightService } from "./StreamCanvasCapture-D9Dz8kqB.js";
|
|
5
6
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
6
|
-
import { t as
|
|
7
|
-
import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-Bg_Xwe4p.js";
|
|
7
|
+
import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-DZ3u_WN9.js";
|
|
8
8
|
//#region src/modules/selfie/selfieCaptureOnlyManager.d.ts
|
|
9
9
|
type SelfieCaptureOnlyState = FaceCaptureManagerState;
|
|
10
10
|
type SelfieCaptureOnlyManager = FaceCaptureManager;
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,53 +1,15 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
2
|
-
import { r as WasmUtilProvider } from "./safeStorage-
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-CfNAVG-d.esm.js";
|
|
2
|
+
import { r as WasmUtilProvider } from "./safeStorage-1O9k0ulP.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
4
|
-
import {
|
|
4
|
+
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
6
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-WeO8-TfR.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-D_EjQnnE.esm.js";
|
|
8
|
+
import { s as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-DQ5-F2oW.esm.js";
|
|
9
|
+
import { r as processFace } from "./selfieErrorUtils-C77GXJH6.esm.js";
|
|
10
|
+
import { t as selfieMachine } from "./selfieStateMachine-TGfI9hNp.esm.js";
|
|
11
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BouB9yUQ.esm.js";
|
|
11
12
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BjzPjJ_p.esm.js";
|
|
12
|
-
//#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
|
|
13
|
-
/**
|
|
14
|
-
* Performs local finalization of a captured face frame: stops local video
|
|
15
|
-
* recording (if any), runs deepsight metadata extraction, and assembles the
|
|
16
|
-
* rich payload delivered to the integrator's `onCapture` callback.
|
|
17
|
-
*/
|
|
18
|
-
async function finalizeFaceCaptureOnly(ctx, signal) {
|
|
19
|
-
const canvas = ctx.capturedImage;
|
|
20
|
-
if (!canvas) throw new Error("selfieCaptureOnly: no captured image");
|
|
21
|
-
let videoBase64;
|
|
22
|
-
try {
|
|
23
|
-
videoBase64 = (await ctx.recordingService?.stopAndGetVideo())?.videoBase64;
|
|
24
|
-
} catch {
|
|
25
|
-
videoBase64 = void 0;
|
|
26
|
-
}
|
|
27
|
-
if (signal.aborted) throw new DOMException("Aborted", "AbortError");
|
|
28
|
-
let metadata = "";
|
|
29
|
-
try {
|
|
30
|
-
if (ctx.deepsightService) {
|
|
31
|
-
const imageData = canvas.getImageData();
|
|
32
|
-
if (imageData) await ctx.deepsightService.analyzeFrame(imageData);
|
|
33
|
-
if (signal.aborted) throw new DOMException("Aborted", "AbortError");
|
|
34
|
-
metadata = ctx.deepsightService.getMetadata();
|
|
35
|
-
}
|
|
36
|
-
} catch (error) {
|
|
37
|
-
if (error?.name === "AbortError") throw error;
|
|
38
|
-
metadata = "";
|
|
39
|
-
}
|
|
40
|
-
const imageBase64 = canvas.getBase64Image() ?? "";
|
|
41
|
-
const blobData = canvas.getBlobData();
|
|
42
|
-
if (!blobData) throw new Error("selfieCaptureOnly: failed to build image blob");
|
|
43
|
-
return {
|
|
44
|
-
imageBase64,
|
|
45
|
-
blob: blobData.blob,
|
|
46
|
-
url: blobData.url,
|
|
47
|
-
metadata,
|
|
48
|
-
videoBase64
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
13
|
/**
|
|
52
14
|
* Selfie state machine variant for the captureOnly flow. Shares the full base
|
|
53
15
|
* face-capture state tree; only the upload/process step is local instead of
|
|
@@ -55,37 +17,13 @@ async function finalizeFaceCaptureOnly(ctx, signal) {
|
|
|
55
17
|
*/
|
|
56
18
|
const selfieCaptureOnlyMachine = faceCaptureMachine.provide({
|
|
57
19
|
actors: {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
* unencrypted. The downstream `encryptedBase64Image`/`recordingId` fields
|
|
62
|
-
* are inert because `uploadFace` no longer reads them.
|
|
63
|
-
*/
|
|
64
|
-
prepareFaceUpload: fromPromise(async () => ({
|
|
65
|
-
encryptedBase64Image: "",
|
|
66
|
-
recordingId: null
|
|
67
|
-
})),
|
|
68
|
-
/**
|
|
69
|
-
* "Upload" becomes local finalize. The rich payload is routed to the
|
|
70
|
-
* typed `captureOnlyResult` context slot by the body-overridden
|
|
71
|
-
* `setUploadResponseFromEvent` action below, rather than the loose
|
|
72
|
-
* `uploadResponse: Record<string, unknown>` channel the base flow uses.
|
|
73
|
-
*/
|
|
74
|
-
uploadFace: fromPromise(async ({ input, signal }) => {
|
|
75
|
-
return await finalizeFaceCaptureOnly(input, signal);
|
|
20
|
+
protectedFaceController: createDefaultProtectedFaceControllerActor({
|
|
21
|
+
target: PROTECTED_CAPTURE_TARGET.selfie,
|
|
22
|
+
delivery: "local"
|
|
76
23
|
}),
|
|
77
24
|
/** No backend processing in captureOnly. */
|
|
78
25
|
processFace: fromPromise(async () => ({}))
|
|
79
26
|
},
|
|
80
|
-
actions: {
|
|
81
|
-
/**
|
|
82
|
-
* Override the regular upload-response handler to populate the typed
|
|
83
|
-
* `captureOnlyResult` slot the captureOnly manager reads on `finished`.
|
|
84
|
-
* The regular `uploadResponse` channel is left undefined — the variant's
|
|
85
|
-
* guards (`hasUploadValidationError`, `isTerminalUploadError`) both
|
|
86
|
-
* return false, so nothing downstream needs it.
|
|
87
|
-
*/
|
|
88
|
-
setUploadResponseFromEvent: assign({ captureOnlyResult: ({ event }) => event.output }) },
|
|
89
27
|
guards: {
|
|
90
28
|
hasUploadValidationError: () => false,
|
|
91
29
|
isTerminalUploadError: () => false
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
2
|
-
import { r as WasmUtilProvider } from "./safeStorage-
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-CfNAVG-d.esm.js";
|
|
2
|
+
import { r as WasmUtilProvider } from "./safeStorage-1O9k0ulP.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-D_EjQnnE.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-TGfI9hNp.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieActor.ts
|
|
8
8
|
function createSelfieActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
3
|
-
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-DqrYpjA5.js";
|
|
4
4
|
//#region src/modules/selfie/selfieManager.d.ts
|
|
5
5
|
type SelfieState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
|
@@ -1,27 +1,34 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
3
|
-
import { n as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import {
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, r as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-WeO8-TfR.esm.js";
|
|
4
|
+
import { u as isOnDeviceMode } from "./FaceDetectionProvider-0bWjPgW5.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
6
|
-
import {
|
|
6
|
+
import { s as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-DQ5-F2oW.esm.js";
|
|
7
|
+
import { i as uploadManualSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-C77GXJH6.esm.js";
|
|
7
8
|
//#region src/modules/selfie/selfieStateMachine.ts
|
|
8
9
|
/**
|
|
9
10
|
* Validates like the camera path does: a 200 that reports lenses, a mask or
|
|
10
11
|
* failed liveness is still a rejection, and throwing lets the child machine
|
|
11
12
|
* spend a retry and map the code to copy.
|
|
12
13
|
*/
|
|
13
|
-
const manualUploadMachine = manualFaceUploadMachine.provide({ actors: {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
14
|
+
const manualUploadMachine = manualFaceUploadMachine.provide({ actors: {
|
|
15
|
+
protectedFaceController: createDefaultProtectedFaceControllerActor({
|
|
16
|
+
target: PROTECTED_CAPTURE_TARGET.selfie,
|
|
17
|
+
delivery: "protected"
|
|
18
|
+
}),
|
|
19
|
+
uploadFile: fromPromise(async ({ input, signal }) => {
|
|
20
|
+
const { base64Image, config, dependencies } = input;
|
|
21
|
+
const validationError = validateUploadResponse({
|
|
22
|
+
config,
|
|
23
|
+
response: await uploadManualSelfie({
|
|
24
|
+
base64Image,
|
|
25
|
+
dependencies,
|
|
26
|
+
signal
|
|
27
|
+
})
|
|
28
|
+
});
|
|
29
|
+
if (validationError) throw new Error(validationError);
|
|
30
|
+
})
|
|
31
|
+
} });
|
|
25
32
|
/**
|
|
26
33
|
* The selfie capture state machine.
|
|
27
34
|
*
|
|
@@ -31,22 +38,6 @@ const manualUploadMachine = manualFaceUploadMachine.provide({ actors: { uploadFi
|
|
|
31
38
|
const selfieMachine = faceCaptureMachine.provide({
|
|
32
39
|
actors: {
|
|
33
40
|
manualUploadMachine,
|
|
34
|
-
prepareFaceUpload: fromPromise(async ({ input }) => {
|
|
35
|
-
const ctx = input;
|
|
36
|
-
return isOnDeviceMode(ctx.config) ? prepareOnDeviceFaceUpload(ctx) : defaultPrepareFaceUpload(ctx);
|
|
37
|
-
}),
|
|
38
|
-
uploadFace: fromPromise(async ({ input, signal }) => {
|
|
39
|
-
const ctx = input;
|
|
40
|
-
if (isOnDeviceMode(ctx.config)) return postOnDeviceFaceResults(ctx, signal);
|
|
41
|
-
return uploadSelfie({
|
|
42
|
-
encryptedBase64Image: ctx.encryptedBase64Image,
|
|
43
|
-
faceCoordinates: ctx.faceCoordinates,
|
|
44
|
-
metadata: ctx.deepsightService?.getMetadata(),
|
|
45
|
-
recordingId: ctx.uploadRecordingId,
|
|
46
|
-
deepsightService: ctx.deepsightService ?? void 0,
|
|
47
|
-
signal
|
|
48
|
-
});
|
|
49
|
-
}),
|
|
50
41
|
processFace: fromPromise(async ({ input, signal }) => {
|
|
51
42
|
if (isOnDeviceMode(input.config)) return {};
|
|
52
43
|
return processFace("selfie", signal);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as getApi } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import {
|
|
3
|
-
import "./sessionInitializer-
|
|
2
|
+
import { g as noteSessionCreated, l as trueSightLog } from "./trueSightService-TqmmYye3.esm.js";
|
|
3
|
+
import "./sessionInitializer-CUpgbHzs.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
5
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
5
|
+
import { i as toIncodeApiError } from "./apiError-CixFeCyt.esm.js";
|
|
6
6
|
//#region src/internal/session/sessionService.ts
|
|
7
7
|
/**
|
|
8
8
|
* HTTP status codes the QR validation endpoint emits, keyed by their semantic
|
package/dist/session.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as DeviceFingerprintResult } from "./types-
|
|
1
|
+
import { t as DeviceFingerprintResult } from "./types-eLtVBhon.js";
|
|
2
2
|
import { n as FinishStatus, r as GetFinishStatusFn, s as getFinishStatus } from "./flowCompletionService-BlAHsKyv.js";
|
|
3
3
|
//#region src/internal/session/sessionService.d.ts
|
|
4
4
|
type CreateSessionOptions = {
|
package/dist/session.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as whenSessionFingerprintSettled, i as initializeSession } from "./sessionInitializer-
|
|
2
|
-
import { t as IncodeApiError } from "./apiError-
|
|
3
|
-
import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-
|
|
4
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
1
|
+
import { c as whenSessionFingerprintSettled, i as initializeSession } from "./sessionInitializer-CUpgbHzs.esm.js";
|
|
2
|
+
import { t as IncodeApiError } from "./apiError-CixFeCyt.esm.js";
|
|
3
|
+
import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-m9j27bHm.esm.js";
|
|
4
|
+
import { n as getFinishStatus } from "./flowCompletionService-DELbVeL5.esm.js";
|
|
5
5
|
export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, bootstrapSession, createSession, getFinishStatus, initializeSession, refreshQrUrlUuid, validateQrUuid, whenSessionFingerprintSettled };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
1
|
+
import { E as updateFeatureManagementUser } from "./feature-management-BEqf3Sr3.esm.js";
|
|
2
2
|
import { c as setToken, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import {
|
|
3
|
+
import { d as fetchFeatureConfig, f as isFeatureEnabled, h as noteEnvironment, l as trueSightLog, p as resetFeatureConfigCache, s as startTrueSightCollection, v as noteTokenActivated } from "./trueSightService-TqmmYye3.esm.js";
|
|
4
4
|
import { v as addEvent, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-CS_0s_Lc.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
7
7
|
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-DkK-f8JT.esm.js";
|
|
8
8
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-B2iFDql1.esm.js";
|
|
@@ -1971,4 +1971,4 @@ function resetSessionInit() {
|
|
|
1971
1971
|
resetDeviceStatsQueue();
|
|
1972
1972
|
}
|
|
1973
1973
|
//#endregion
|
|
1974
|
-
export { getThumbmarkId as _, resetSessionInit as a,
|
|
1974
|
+
export { getThumbmarkId as _, resetSessionInit as a, whenSessionFingerprintSettled as c, resetStandaloneFlowPolicy as d, resolveStandaloneFlowPolicy as f, IpifyProvider as g, getFingerprint as h, initializeSession as i, getStandaloneFlowPolicy as l, isBrowserSimulation as m, getFingerprintEnabled as n, setClientFingerprintEnabled as o, setStandaloneFlowPolicy as p, getSessionFingerprintResult as r, setClientIpLookupEnabled as s, getDisableIpify as t, registerFlowPreloader as u, getDeviceFingerprintInfo as v, BrowserEnvironmentProvider as y };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as WasmPipeline, i as WasmModuleConfig, n as WasmModelsConfig, t as WarmupConfig } from "./warmup-
|
|
1
|
+
import { c as WasmPipeline, i as WasmModuleConfig, n as WasmModelsConfig, t as WarmupConfig } from "./warmup-Cis2p6O0.js";
|
|
2
2
|
import { s as TransactionalRiskIntelligenceSetupConfig } from "./index-BKOWUhxG.js";
|
|
3
3
|
import { c as FeatureManagementRedactedUserInfo } from "./IFeatureManagementCapability-De8wpbGh.js";
|
|
4
4
|
//#region src/internal/environment/environment.d.ts
|
|
@@ -173,11 +173,16 @@ type SetupOptions = {
|
|
|
173
173
|
* collected during face capture (selfie/authentication/id/personhood) — the
|
|
174
174
|
* descriptive device fields and `webglFingerprint` are unaffected.
|
|
175
175
|
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
*
|
|
176
|
+
* This option controls only the client-side JavaScript collection and
|
|
177
|
+
* submission path. It does **not** suppress native fingerprint collection:
|
|
178
|
+
* against the pinned `v2.14.49-post1` runtime, WASM starts collecting during
|
|
179
|
+
* initialization regardless of this flag, and the full fingerprint bucket is
|
|
180
|
+
* serialized into the metadata bundle.
|
|
181
|
+
*
|
|
182
|
+
* This is a behaviour change from `v2.14.07-post7-post3`, where
|
|
183
|
+
* `fingerprint: false` additionally disabled native collection through
|
|
184
|
+
* ml-wasm-kit's `setOnDeviceMode`. That kill switch was never ported to the
|
|
185
|
+
* v2.14.4x line; restoring it is tracked as ENG-55971.
|
|
181
186
|
*
|
|
182
187
|
* Default: `true` (fingerprint submission enabled).
|
|
183
188
|
*/
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as setWasmOnDeviceMode, o as warmupWasm } from "./warmup-
|
|
3
|
-
import { r as WasmUtilProvider, t as resolveLocalStorage } from "./safeStorage-
|
|
1
|
+
import { f as deriveSiblingJsPath, p as WASM_MODEL_FILES, v as buildModelVariantSources } from "./wasmWebClient-B7baE-Wf.esm.js";
|
|
2
|
+
import { i as setWasmOnDeviceMode, o as warmupWasm } from "./warmup-CUUnwYxe.esm.js";
|
|
3
|
+
import { r as WasmUtilProvider, t as resolveLocalStorage } from "./safeStorage-1O9k0ulP.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
|
-
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-
|
|
5
|
+
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-BEqf3Sr3.esm.js";
|
|
6
6
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
7
7
|
import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
8
|
-
import {
|
|
8
|
+
import { C as upgradeToWasmHttpClient$1, S as resetHttpClientState, _ as noteTestingSignals, b as getStoredHttpConfig, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as installFreshHttpClient } from "./trueSightService-TqmmYye3.esm.js";
|
|
9
9
|
import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
|
|
10
|
-
import { a as resetSessionInit,
|
|
10
|
+
import { a as resetSessionInit, d as resetStandaloneFlowPolicy, f as resolveStandaloneFlowPolicy, i as initializeSession, o as setClientFingerprintEnabled, p as setStandaloneFlowPolicy, s as setClientIpLookupEnabled, u as registerFlowPreloader, y as BrowserEnvironmentProvider } from "./sessionInitializer-CUpgbHzs.esm.js";
|
|
11
11
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
12
12
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-DkK-f8JT.esm.js";
|
|
13
13
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
|
|
14
|
-
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-
|
|
14
|
+
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-Brr2fh_c.esm.js";
|
|
15
15
|
//#region ../infra/src/wasm/wasmDefaults.ts
|
|
16
16
|
const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
|
|
17
17
|
/** The WASM version bundled and tested with this SDK release. */
|
|
18
|
-
const DEFAULT_WASM_VERSION = "v2.14.
|
|
18
|
+
const DEFAULT_WASM_VERSION = "v2.14.49-post1";
|
|
19
19
|
const PATH_KEYS = [
|
|
20
20
|
"wasmPath",
|
|
21
21
|
"wasmSimdPath",
|
|
@@ -116,9 +116,9 @@ const BARCODE_ENHANCE_MODEL_FILE = WASM_MODEL_FILES.barcode;
|
|
|
116
116
|
* demand via `IIdCaptureCapability.setBarcodeEnhancementModel` — deliberately
|
|
117
117
|
* NOT part of any warmup model bundle.
|
|
118
118
|
*/
|
|
119
|
-
function getBarcodeEnhanceModelUrl(modelsBasePath) {
|
|
120
|
-
const
|
|
121
|
-
return
|
|
119
|
+
function getBarcodeEnhanceModelUrl(modelsBasePath, variant = "current") {
|
|
120
|
+
const source = buildModelVariantSources(modelsBasePath ?? `${WASM_CDN_BASE_URL}/v2.14.49-post1/models`, BARCODE_ENHANCE_MODEL_FILE);
|
|
121
|
+
return typeof source === "string" ? source : source[variant];
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Merges optional WASM path overrides with CDN defaults. Explicit non-blank
|
|
@@ -142,6 +142,7 @@ function resolveWasmConfig(overrides) {
|
|
|
142
142
|
pipelines: overrides.pipelines,
|
|
143
143
|
pipelineModels: overrides.pipelineModels,
|
|
144
144
|
modelUrls: overrides.modelUrls,
|
|
145
|
+
legacyModelUrls: overrides.legacyModelUrls,
|
|
145
146
|
loadGlue: overrides.loadGlue,
|
|
146
147
|
loadGlueSimd: overrides.loadGlueSimd,
|
|
147
148
|
selfHosted: overrides.selfHosted
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError } from "./wasmWebClient-
|
|
1
|
+
import { a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError } from "./wasmWebClient-B7baE-Wf.esm.js";
|
|
2
2
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
3
3
|
import { i as isApiConfigured, n as getApi, o as setClient, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
4
|
import { S as subscribeEvent, n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-CS_0s_Lc.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
7
7
|
//#region ../infra/src/http/createApi.ts
|
|
8
8
|
var FetchHttpError = class extends Error {
|
|
@@ -1320,7 +1320,7 @@ let cryptoProviderPromise = null;
|
|
|
1320
1320
|
* the service's prewarm).
|
|
1321
1321
|
*/
|
|
1322
1322
|
function loadDiagnosticsCryptoProvider() {
|
|
1323
|
-
cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-
|
|
1323
|
+
cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-BoYzmYY5.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
|
|
1324
1324
|
return cryptoProviderPromise;
|
|
1325
1325
|
}
|
|
1326
1326
|
/**
|
|
@@ -1889,4 +1889,4 @@ function modulePosition(payload) {
|
|
|
1889
1889
|
return `${typeof moduleIndex === "number" ? ` index=${moduleIndex}` : ""}${typeof totalModules === "number" ? ` total=${totalModules}` : ""}`;
|
|
1890
1890
|
}
|
|
1891
1891
|
//#endregion
|
|
1892
|
-
export {
|
|
1892
|
+
export { upgradeToWasmHttpClient as C, resetHttpClientState as S, noteTestingSignals as _, notifyTrueSightManagerStopped as a, getStoredHttpConfig as b, trueSightHintTransition as c, fetchFeatureConfig as d, isFeatureEnabled as f, noteSessionCreated as g, noteEnvironment as h, notifyTrueSightFlowEvent as i, trueSightLog as l, isTrueSightTesting as m, initializeTrueSightDiagnostics as n, resetTrueSight as o, resetFeatureConfigCache as p, noteTrueSightCaptureActivity as r, startTrueSightCollection as s, finalizeTrueSight as t, categoryForEndpoint as u, noteTokenActivated as v, createApi as w, installFreshHttpClient as x, randomUUID as y };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { i as FlowModuleConfig } from "./types-CBctcPeF.js";
|
|
2
|
+
import { t as BaseFaceCaptureConfig } from "./types-DL0CXuWv.js";
|
|
3
|
+
//#region src/modules/authentication/types.d.ts
|
|
4
|
+
type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { AuthenticationConfig as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { s as RiskAddon } from "./types-Bk_6dmDa.js";
|
|
2
|
-
import "./createFaceAvatar-
|
|
2
|
+
import "./createFaceAvatar-CTM9aj9Q.js";
|
|
3
3
|
//#region src/internal/avatar/concealment.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Backend-aligned selfie/auth face-concealment options. The backend returns a
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { y as IncodeCanvas } from "./createFaceAvatar-
|
|
2
|
-
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-
|
|
3
|
-
import { a as IRecordingCapability, i as IStorageCapability, o as RecordingConnection } from "./IWasmUtilCapability-
|
|
1
|
+
import { y as IncodeCanvas } from "./createFaceAvatar-CTM9aj9Q.js";
|
|
2
|
+
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-CBctcPeF.js";
|
|
3
|
+
import { a as IRecordingCapability, i as IStorageCapability, o as RecordingConnection } from "./IWasmUtilCapability-DaP6pfHq.js";
|
|
4
4
|
import { t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
5
|
+
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-D9Dz8kqB.js";
|
|
5
6
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
6
|
-
import { n as
|
|
7
|
-
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-DDWlQzhi.js";
|
|
7
|
+
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-nfpic2z2.js";
|
|
8
8
|
//#region ../infra/src/capabilities/IDigitalCredentialsCapability.d.ts
|
|
9
9
|
/**
|
|
10
10
|
* Digital Credentials capability — wraps the W3C Digital Credentials API
|