@incodetech/core 0.0.0-dev-20261119-6e95a3e4 → 0.0.0-dev-20261120-8911ea46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseWasmProvider-bBNquvYn.d.ts → BaseWasmProvider-CPdofn7R.d.ts} +3 -5
- package/dist/{FaceDetectionProvider-Zcq9To38.esm.js → FaceDetectionProvider-j6gNUeBW.esm.js} +11 -8
- package/dist/{IIdCaptureCapability-C-5M8pP1.d.ts → IIdCaptureCapability-CAxToGns.d.ts} +3 -3
- package/dist/{IWasmUtilCapability-XcOtT1TP.d.ts → IWasmUtilCapability-CLWIYHB4.d.ts} +2 -2
- package/dist/{StreamCanvasCapture-BnBfA6fb.d.ts → StreamCanvasCapture-BqaHTJF0.d.ts} +2 -2
- package/dist/{WasmUtilProvider-BW_4YKrg.esm.js → WasmUtilProvider-ZXMogz8z.esm.js} +20 -4
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-Dp-Zxhsu.esm.js → apiError-T18Ndgre.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-BLpMDZnm.esm.js → authenticationManager-CBmy-j7Y.esm.js} +4 -4
- package/dist/{authenticationManager-DeN8mraQ.d.ts → authenticationManager-DFAnYVFV.d.ts} +1 -1
- package/dist/{authenticationStateMachine-D-fJiVP5.esm.js → authenticationStateMachine-CzP0YKNH.esm.js} +3 -3
- package/dist/avatar.d.ts +1 -1
- package/dist/camera.esm.js +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-Duzd8paN.d.ts → consentManager-DlvhoJYc.d.ts} +4 -4
- package/dist/{createFaceAvatar-BimBTONm.d.ts → createFaceAvatar-Ct9QrQ66.d.ts} +1 -1
- package/dist/curp-validation.d.ts +1 -1
- package/dist/{curpValidationManager-DgUZySoq.d.ts → curpValidationManager-DsDvoViA.d.ts} +1 -1
- package/dist/deepsightCaptureConfig-BYx9pyCH.esm.js +70 -0
- package/dist/{deepsightLoader-DFTvhrkj.esm.js → deepsightLoader-azWKSF0y.esm.js} +6 -5
- package/dist/{desktopCameraElection-DziKgEad.esm.js → desktopCameraElection-Ci8BwEA7.esm.js} +88 -5
- package/dist/device.esm.js +1 -1
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-signature.esm.js +1 -1
- package/dist/{documentCaptureManager-DWFEWV4d.esm.js → documentCaptureManager-YXwSaquq.esm.js} +1 -1
- package/dist/{documentCaptureManager-DLWTqjUr.d.ts → documentCaptureManager-sJWgqtUy.d.ts} +1 -1
- package/dist/{documentCaptureStateMachine-C9wBJ8Y5.esm.js → documentCaptureStateMachine-DKG_aAPi.esm.js} +2 -2
- package/dist/{documentSignatureStateMachine-DymuSDQt.esm.js → documentSignatureStateMachine-DxfJs-C0.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-DUzUQD4C.esm.js → dynamicFormsManager-kHXGaVVA.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-BSgwYu_b.esm.js → dynamicFormsStateMachine-CkNn0K-p.esm.js} +1 -1
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-DnepVWmg.esm.js → ekybManager-BQxmewHe.esm.js} +1 -1
- package/dist/{ekybStateMachine-BsHIcOeh.esm.js → ekybStateMachine-CN8GuppY.esm.js} +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/{ekycPrefillManager-C2zRQsfS.esm.js → ekycPrefillManager-CKLJBjkM.esm.js} +1 -1
- package/dist/{ekycPrefillStateMachine-DSjkcGnU.esm.js → ekycPrefillStateMachine-jVrEkX29.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-Dc1mrzK6.esm.js → electronicSignatureManager-DkwMjvss.esm.js} +1 -1
- package/dist/extensibility.d.ts +14 -14
- package/dist/extensibility.esm.js +15 -15
- package/dist/{faceCaptureManagerFactory-D0pyWORs.d.ts → faceCaptureManagerFactory-CkhNR70A.d.ts} +7 -7
- package/dist/{faceCaptureManagerFactory-D-jyAayV.esm.js → faceCaptureManagerFactory-DKVQS4YB.esm.js} +5 -4
- package/dist/{faceCaptureSetup-CsHOVX87.esm.js → faceCaptureSetup-CjvHMU4G.esm.js} +27 -19
- package/dist/{feature-management-BMopZ94t.esm.js → feature-management-DrkQHH45.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- 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-COesuoKj.esm.js → flowCompletionService-BrU3zRCa.esm.js} +1 -1
- package/dist/{flowServices-BlBapbtQ.esm.js → flowServices-DrhzisMl.esm.js} +5 -5
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-D09RtKVk.esm.js → geolocationManager-Cnkm0i6c.esm.js} +1 -1
- package/dist/{geolocationStateMachine-Co_EtS-E.esm.js → geolocationStateMachine-DPX0DZTc.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 +9 -9
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-CRn9jT4K.esm.js → idCaptureDefaults-D74C8SAy.esm.js} +4 -4
- package/dist/{idCaptureManager-kmR_AuiW.d.ts → idCaptureManager-BMspT5GM.d.ts} +7 -7
- package/dist/{idCaptureManager-DGK6_0Ny.esm.js → idCaptureManager-CgrjoGxG.esm.js} +12 -10
- package/dist/{idCaptureServices-1K5FUU9A.esm.js → idCaptureServices-BkR59dm2.esm.js} +4 -4
- package/dist/{idCaptureStateMachine-6jXPguZA.esm.js → idCaptureStateMachine-iwDI7g7A.esm.js} +32 -26
- package/dist/{index-C0WIMlJE.d.ts → index-DP-EPRCW.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-D9-DzcKo.esm.js → kybChecksManager-DE4gEFC5.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-BSgEOmZs.esm.js → kybChecksStateMachine-KubwqxTh.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/{mandatoryConsentManager-CpriEr0q.d.ts → mandatoryConsentManager-Cebwze5A.d.ts} +5 -5
- package/dist/{permissionGuards-BN_Tyjgt.esm.js → permissionGuards-BymkaEBe.esm.js} +1 -1
- package/dist/{permissionServices-DB7ckY8v.esm.js → permissionServices-CrrStkAz.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-bmaVeo9d.esm.js → recordingService-CjhVv0Md.esm.js} +10 -4
- package/dist/redirect-to-mobile.d.ts +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-DHuFklFc.esm.js → redirectToMobileManager-9c233-vw.esm.js} +2 -1
- package/dist/{redirectToMobileManager-pT6FiPE7.d.ts → redirectToMobileManager-Db99n9Yu.d.ts} +1 -0
- package/dist/{redirectToMobileStateMachine-CIcTgOJd.esm.js → redirectToMobileStateMachine-o-X0kapc.esm.js} +9 -2
- package/dist/{runChildModule-CDTuNUcR.esm.js → runChildModule-BeiOmUu5.esm.js} +1 -1
- package/dist/{sdkVersion-BIDVzFgg.esm.js → sdkVersion-DxhcAXUS.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +10 -9
- package/dist/{selfieErrorUtils-DhIF8BEd.esm.js → selfieErrorUtils-BoJsMhmW.esm.js} +1 -1
- package/dist/{selfieManager-CAaZRbem.d.ts → selfieManager-D6KJWT4p.d.ts} +1 -1
- package/dist/{selfieManager-CqB5Cobk.esm.js → selfieManager-D7ttFZTJ.esm.js} +4 -4
- package/dist/{selfieStateMachine-CcY8XCq_.esm.js → selfieStateMachine-BghuY135.esm.js} +3 -3
- package/dist/{session-Bk5X05oz.esm.js → session-DUZQd1Cr.esm.js} +4 -3
- package/dist/session.d.ts +3 -13
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-Be57jtWP.esm.js → sessionInitializer-CRXargXI.esm.js} +12 -14
- package/dist/{setup-BsC4fyKm.esm.js → setup-BYYbcIPG.esm.js} +8 -7
- package/dist/{setup-O-JVSYKa.d.ts → setup-CcOBfuP_.d.ts} +1 -1
- package/dist/trueSight-Lly6jROP.esm.js +1 -0
- package/dist/{trueSightService-CRHQyUpx.esm.js → trueSightService-DNHK2Cap.esm.js} +3 -3
- package/dist/{types-B2DGXHe6.d.ts → types-BFPsOz4D.d.ts} +32 -2
- package/dist/{types-x5MQKskR.d.ts → types-CTCB59Ik.d.ts} +14 -3
- package/dist/{types-Crg7oL-l.d.ts → types-D5a04Wk2.d.ts} +1 -1
- package/dist/types-DbVeVsR2.d.ts +6 -0
- package/dist/{types-BkWUNheX.d.ts → types-J8DeVSAo.d.ts} +1 -1
- package/dist/{types-Bybof0yq.d.ts → types-XcOG5hmy.d.ts} +5 -5
- package/dist/video-selfie.d.ts +3 -3
- package/dist/video-selfie.esm.js +4 -4
- package/dist/{videoSelfieCameraWarmer-14WBoJRb.esm.js → videoSelfieCameraWarmer-CsO36BMq.esm.js} +6 -6
- package/dist/{videoSelfieStepDetector-DGXi_TXk.d.ts → videoSelfieStepDetector-04BM3Mu1.d.ts} +4 -4
- package/dist/{warmup-BZOMg303.esm.js → warmup-BszvWzNo.esm.js} +137 -39
- package/dist/{warmup-BNhIuURi.d.ts → warmup-SWu5L7cW.d.ts} +1 -0
- package/dist/wasm.d.ts +3 -3
- package/dist/wasm.esm.js +3 -3
- package/dist/wasmDeepsightConfigSync-Cy2tPW0i.esm.js +79 -0
- package/dist/{wasmDsFlagSync-BHm1d2gA.esm.js → wasmDsFlagSync-99aL8DGv.esm.js} +1 -1
- package/dist/{wasmWebClient-CyLCM31e.esm.js → wasmWebClient-IwBSS51s.esm.js} +19 -12
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +19 -18
- package/package.json +3 -3
- package/dist/types-C2uJrJrS.d.ts +0 -6
- package/dist/wasmMetadataVersionSync-U8EFUr1T.esm.js +0 -27
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as getBarcodeEnhanceModelUrl, E as WASM_MODEL_FILES, N as resolveWasmSource } from "./wasmWebClient-
|
|
2
|
-
import { l as wasmRuntime, t as getResolvedModelSource } from "./warmup-
|
|
3
|
-
import { r as BaseWasmProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { C as getBarcodeEnhanceModelUrl, E as WASM_MODEL_FILES, N as resolveWasmSource } from "./wasmWebClient-IwBSS51s.esm.js";
|
|
2
|
+
import { l as wasmRuntime, t as getResolvedModelSource } from "./warmup-BszvWzNo.esm.js";
|
|
3
|
+
import { r as BaseWasmProvider } from "./WasmUtilProvider-ZXMogz8z.esm.js";
|
|
4
4
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
5
5
|
//#region ../infra/src/wasm/idCaptureWasmApi.ts
|
|
6
6
|
var IdCaptureWasmApi = class {
|
|
@@ -116,7 +116,7 @@ var IdCaptureProvider = class extends BaseWasmProvider {
|
|
|
116
116
|
break;
|
|
117
117
|
default: throw new Error(`Unknown model type: ${modelType}`);
|
|
118
118
|
}
|
|
119
|
-
idCaptureWasmApi.setIdCaptureModelType(this.getPipelineType(), wasmModelType);
|
|
119
|
+
idCaptureWasmApi.setIdCaptureModelType(this.getPipelineType(), this.pipelineType === 1 ? 2 : wasmModelType);
|
|
120
120
|
}
|
|
121
121
|
setBarcodeCaptureEnabled(enabled) {
|
|
122
122
|
this.ensureInitialized();
|
|
@@ -4,15 +4,15 @@ import { t as Manager } from "./Manager-DufwKlav.js";
|
|
|
4
4
|
import "./Actor-DqjOqDfU.js";
|
|
5
5
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
6
6
|
import "./index-DHuAkTe0.js";
|
|
7
|
-
import "./createFaceAvatar-
|
|
8
|
-
import { a as RegulationTypes } from "./types-
|
|
9
|
-
import { i as WasmUtilConfig, n as IWasmUtilCapability, r as VirtualCameraCheckOutput, t as FingerprintSignalType } from "./IWasmUtilCapability-
|
|
7
|
+
import "./createFaceAvatar-Ct9QrQ66.js";
|
|
8
|
+
import { a as RegulationTypes } from "./types-BFPsOz4D.js";
|
|
9
|
+
import { i as WasmUtilConfig, n as IWasmUtilCapability, r as VirtualCameraCheckOutput, t as FingerprintSignalType } from "./IWasmUtilCapability-CLWIYHB4.js";
|
|
10
10
|
import { n as PermissionStatus } from "./types-CeEcakO7.js";
|
|
11
|
-
import { t as BaseWasmProvider } from "./BaseWasmProvider-
|
|
12
|
-
import { n as DeepsightService } from "./StreamCanvasCapture-
|
|
11
|
+
import { t as BaseWasmProvider } from "./BaseWasmProvider-CPdofn7R.js";
|
|
12
|
+
import { n as DeepsightService } from "./StreamCanvasCapture-BqaHTJF0.js";
|
|
13
13
|
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
14
|
-
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-
|
|
15
|
-
import { B as DeviceWalletDecryptResponse, E as IdErrorCode, G as DeviceWalletServices, K as DigitalIdProviderId, O as UploadIdResponse, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, Y as IDigitalCredentialsCapability, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, k as IAnalyticsCapability, q as FailureReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-
|
|
14
|
+
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-CAxToGns.js";
|
|
15
|
+
import { B as DeviceWalletDecryptResponse, E as IdErrorCode, G as DeviceWalletServices, K as DigitalIdProviderId, O as UploadIdResponse, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, Y as IDigitalCredentialsCapability, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, k as IAnalyticsCapability, q as FailureReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-XcOG5hmy.js";
|
|
16
16
|
//#region src/internal/http/endpoints.d.ts
|
|
17
17
|
/**
|
|
18
18
|
* Backend `CaptureType` for the `captureType` query param on `add/front-id`,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-BYYbcIPG.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
3
3
|
import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
|
|
4
4
|
import { t as createManagerInstrumentation } from "./events-C3sjvrjL.esm.js";
|
|
@@ -7,12 +7,13 @@ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
|
7
7
|
import { i as assign, s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
8
8
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
9
9
|
import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
|
|
10
|
-
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-
|
|
10
|
+
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-99aL8DGv.esm.js";
|
|
11
11
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
12
|
-
import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-
|
|
12
|
+
import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CrrStkAz.esm.js";
|
|
13
13
|
import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
14
|
+
import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-BYx9pyCH.esm.js";
|
|
15
|
+
import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-iwDI7g7A.esm.js";
|
|
16
|
+
import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-BkR59dm2.esm.js";
|
|
16
17
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DNQX9k5e.esm.js";
|
|
17
18
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
18
19
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -249,7 +250,7 @@ function mapPermissionsState(snapshot, context) {
|
|
|
249
250
|
selectedDocumentType: getEffectiveSelectedDocumentType(context),
|
|
250
251
|
currentMode: context.currentMode,
|
|
251
252
|
tutorialEnabled: context.config.showTutorial === true,
|
|
252
|
-
requiresMotionPermissionUserGesture: requiresMotionPermissionUserGesture(context.config
|
|
253
|
+
requiresMotionPermissionUserGesture: requiresMotionPermissionUserGesture(wantsDeepsightMotion(context.config))
|
|
253
254
|
};
|
|
254
255
|
}
|
|
255
256
|
function getLoadingPhase(snapshot) {
|
|
@@ -265,7 +266,7 @@ function mapLoadingState(snapshot, phase) {
|
|
|
265
266
|
tutorialEnabled: snapshot.context.config.showTutorial === true,
|
|
266
267
|
selectedDocumentType: getEffectiveSelectedDocumentType(snapshot.context),
|
|
267
268
|
currentMode: snapshot.context.currentMode,
|
|
268
|
-
requiresMotionPermissionUserGesture: requiresMotionPermissionUserGesture(snapshot.context.config
|
|
269
|
+
requiresMotionPermissionUserGesture: requiresMotionPermissionUserGesture(wantsDeepsightMotion(snapshot.context.config))
|
|
269
270
|
};
|
|
270
271
|
}
|
|
271
272
|
function getTutorialPhase(snapshot) {
|
|
@@ -282,7 +283,7 @@ function mapTutorialState(snapshot, context) {
|
|
|
282
283
|
phase: getTutorialPhase(snapshot),
|
|
283
284
|
selectedDocumentType: getEffectiveSelectedDocumentType(context),
|
|
284
285
|
currentMode: context.currentMode,
|
|
285
|
-
requiresMotionPermissionUserGesture: requiresMotionPermissionUserGesture(context.config
|
|
286
|
+
requiresMotionPermissionUserGesture: requiresMotionPermissionUserGesture(wantsDeepsightMotion(context.config))
|
|
286
287
|
};
|
|
287
288
|
}
|
|
288
289
|
function mapDigitalUploadState(snapshot) {
|
|
@@ -448,7 +449,7 @@ function createApi({ actor, trackElementClicked, trackCaptureAttemptFinished })
|
|
|
448
449
|
if (snapshot.matches("tutorial")) {
|
|
449
450
|
const { config, permissionResult } = snapshot.context;
|
|
450
451
|
await primeMotionFromUserGestureIfNeeded({
|
|
451
|
-
ds: config
|
|
452
|
+
ds: wantsDeepsightMotion(config),
|
|
452
453
|
cameraGranted: permissionResult === "granted"
|
|
453
454
|
});
|
|
454
455
|
}
|
|
@@ -1055,9 +1056,10 @@ const DEFAULT_ID_CAPTURE_ONLY_CONFIG = {
|
|
|
1055
1056
|
perCountryPerDocOverrides: {}
|
|
1056
1057
|
};
|
|
1057
1058
|
function createIdCaptureOnlyActor(options) {
|
|
1059
|
+
const { deepsightCaptureConfig: _dropped, ...integratorConfig } = options.config;
|
|
1058
1060
|
const mergedConfig = {
|
|
1059
1061
|
...DEFAULT_ID_CAPTURE_ONLY_CONFIG,
|
|
1060
|
-
...
|
|
1062
|
+
...integratorConfig
|
|
1061
1063
|
};
|
|
1062
1064
|
const config = {
|
|
1063
1065
|
...mergedConfig,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-BYYbcIPG.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
|
|
3
|
-
import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-
|
|
3
|
+
import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-DrkQHH45.esm.js";
|
|
4
4
|
import { r as isDesktop } from "./platform-GIg4uPWe.esm.js";
|
|
5
|
-
import { n as isBackFacingTrack } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
6
5
|
import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
|
|
7
|
-
import { n as
|
|
6
|
+
import { n as isBackFacingTrack } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
7
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-D74C8SAy.esm.js";
|
|
8
8
|
//#region src/modules/id/idCameraStream.ts
|
|
9
9
|
async function getIdCameraStream(deviceId) {
|
|
10
10
|
return (await import("./backCameraStream-6qVHvj76.esm.js").then((n) => n.t)).getBackCameraStream(deviceId);
|
package/dist/{idCaptureStateMachine-6jXPguZA.esm.js → idCaptureStateMachine-iwDI7g7A.esm.js}
RENAMED
|
@@ -1,34 +1,36 @@
|
|
|
1
1
|
import { n as getTimestamp, r as revokeObjectURL } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-
|
|
3
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
2
|
+
import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-BYYbcIPG.esm.js";
|
|
3
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-ZXMogz8z.esm.js";
|
|
4
4
|
import { n as eventModuleNames, v as addEvent } from "./types-CBQN04Rh.esm.js";
|
|
5
5
|
import { r as getToken, t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
|
|
6
6
|
import { n as recordExperimentAssignmentOnce, t as createManagerInstrumentation } from "./events-C3sjvrjL.esm.js";
|
|
7
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-
|
|
8
|
-
import
|
|
7
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-DNHK2Cap.esm.js";
|
|
8
|
+
import "./trueSight-Lly6jROP.esm.js";
|
|
9
|
+
import { t as getDisableIpify } from "./sessionInitializer-CRXargXI.esm.js";
|
|
9
10
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
10
|
-
import { s as exposeExperimentOnce } from "./feature-management-
|
|
11
|
+
import { s as exposeExperimentOnce } from "./feature-management-DrkQHH45.esm.js";
|
|
11
12
|
import { t as addDeviceStats } from "./stats-BYIXomqT.esm.js";
|
|
12
13
|
import { d as isSamsungDevice, i as isIOS, l as isMacOsSafari, o as isIPad, s as isIPhone14OrHigher, t as isAndroid } from "./platform-GIg4uPWe.esm.js";
|
|
13
|
-
import "./session-
|
|
14
|
+
import "./session-DUZQd1Cr.esm.js";
|
|
14
15
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
15
16
|
import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
16
17
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
17
18
|
import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-eYiyWjh0.esm.js";
|
|
18
19
|
import { c as isCameraDenialErrorName } from "./camera-CJKApt0x.esm.js";
|
|
19
|
-
import { i as requestMotionPermission, n as invokeRequestPermissionActor, o as requiresMotionPermissionUserGesture, t as checkPermission, u as queryPermission } from "./permissionServices-
|
|
20
|
-
import {
|
|
20
|
+
import { i as requestMotionPermission, n as invokeRequestPermissionActor, o as requiresMotionPermissionUserGesture, t as checkPermission, u as queryPermission } from "./permissionServices-CrrStkAz.esm.js";
|
|
21
|
+
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
22
|
+
import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
|
|
23
|
+
import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-BYx9pyCH.esm.js";
|
|
24
|
+
import { a as cameraCycleProvider, c as deepsightSignalConfigActor, i as runProtectedAttempt, l as PROTECTED_CAPTURE_TARGET, n as createCameraCycleOwnership, r as readIadCameraStepGates, s as flagIdManualReview, t as electDesktopCameraDevice } from "./desktopCameraElection-Ci8BwEA7.esm.js";
|
|
21
25
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
22
|
-
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
26
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-BymkaEBe.esm.js";
|
|
23
27
|
import { t as carryAttempts } from "./attemptCarry-Dew-8qhm.esm.js";
|
|
24
28
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
25
29
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
26
30
|
import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
|
|
27
31
|
import { t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
28
|
-
import { n as
|
|
29
|
-
import {
|
|
30
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-CRn9jT4K.esm.js";
|
|
31
|
-
import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-1K5FUU9A.esm.js";
|
|
32
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-D74C8SAy.esm.js";
|
|
33
|
+
import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-BkR59dm2.esm.js";
|
|
32
34
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
|
|
33
35
|
import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-eFOm2C9q.esm.js";
|
|
34
36
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
@@ -1396,10 +1398,10 @@ const isPermissionGrantedGuard = ({ event }) => {
|
|
|
1396
1398
|
/** iOS refused Motion & Orientation; the camera permission is untouched. */
|
|
1397
1399
|
const isMotionPermissionDeniedGuard = ({ event }) => getPermissionOutput(event) === "motionDenied";
|
|
1398
1400
|
const isReadyForCaptureGuard = ({ context, event }) => {
|
|
1399
|
-
return isReadyForCaptureFromPermission(resolveStoredPermissionResult(getPermissionOutput(event), context.permissionResult), context.config
|
|
1401
|
+
return isReadyForCaptureFromPermission(resolveStoredPermissionResult(getPermissionOutput(event), context.permissionResult), wantsDeepsightMotion(context.config));
|
|
1400
1402
|
};
|
|
1401
1403
|
const needsMotionPrimeOnlyGuard = ({ context, event }) => {
|
|
1402
|
-
return needsMotionPrimeOnlyFromPermission(resolveStoredPermissionResult(getPermissionOutput(event), context.permissionResult), context.config
|
|
1404
|
+
return needsMotionPrimeOnlyFromPermission(resolveStoredPermissionResult(getPermissionOutput(event), context.permissionResult), wantsDeepsightMotion(context.config));
|
|
1403
1405
|
};
|
|
1404
1406
|
const isPermissionDeniedErrorGuard = ({ event }) => {
|
|
1405
1407
|
if ("error" in event) {
|
|
@@ -1409,7 +1411,7 @@ const isPermissionDeniedErrorGuard = ({ event }) => {
|
|
|
1409
1411
|
return false;
|
|
1410
1412
|
};
|
|
1411
1413
|
const isPermissionBlockedGuard = ({ context }) => context.permissionResult === "denied" || context.permissionResult === "refresh";
|
|
1412
|
-
const requiresMotionPermissionUserGestureGuard = ({ context }) => requiresMotionPermissionUserGesture(context.config
|
|
1414
|
+
const requiresMotionPermissionUserGestureGuard = ({ context }) => requiresMotionPermissionUserGesture(wantsDeepsightMotion(context.config));
|
|
1413
1415
|
const hasAttemptsRemainingGuard = ({ context }) => context.attemptsRemaining > 0;
|
|
1414
1416
|
const hasCapturedImageGuard = ({ context }) => {
|
|
1415
1417
|
return context.provider?.getCapturedCanvas() !== null;
|
|
@@ -2040,7 +2042,7 @@ fromPromise(async ({ input }) => {
|
|
|
2040
2042
|
});
|
|
2041
2043
|
fromPromise(async ({ input }) => {
|
|
2042
2044
|
if (!input.dependencies) return;
|
|
2043
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
2045
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-azWKSF0y.esm.js");
|
|
2044
2046
|
return loadDeepsightSession({
|
|
2045
2047
|
ds: input.ds,
|
|
2046
2048
|
storage: input.dependencies.storage,
|
|
@@ -2484,7 +2486,7 @@ function cleanup(service) {
|
|
|
2484
2486
|
service.cleanup();
|
|
2485
2487
|
} catch {}
|
|
2486
2488
|
}
|
|
2487
|
-
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-
|
|
2489
|
+
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-azWKSF0y.esm.js")).loadDeepsightSession(input)) {
|
|
2488
2490
|
let disposed = false;
|
|
2489
2491
|
let preparation;
|
|
2490
2492
|
let service;
|
|
@@ -3079,10 +3081,8 @@ function createIdCaptureOnlyDeliveryActor(ownedController) {
|
|
|
3079
3081
|
let protectedIdAttemptSequence = 0;
|
|
3080
3082
|
function resolveProtectedIdWorkflow(config, currentMode) {
|
|
3081
3083
|
if (config.usSmartCapture === true && (currentMode === "back" || currentMode === "front" && config.modelVersion !== "v3")) return 0;
|
|
3082
|
-
if (config.modelVersion === "v3" || config.usSmartCapture === true) return
|
|
3083
|
-
if (config.settings?.faceQualityCheckEnabled === true) return
|
|
3084
|
-
if (config.settings?.faceQualityCheckEnabled === false) return 6;
|
|
3085
|
-
if (config.modelVersion === "v1") return 6;
|
|
3084
|
+
if (config.modelVersion === "v3" || config.usSmartCapture === true) return 1;
|
|
3085
|
+
if (config.settings?.faceQualityCheckEnabled === true) return 6;
|
|
3086
3086
|
return 0;
|
|
3087
3087
|
}
|
|
3088
3088
|
function resolveProtectedIdTarget(config, currentMode) {
|
|
@@ -3446,7 +3446,8 @@ function createProtectedIdAttemptInput(input) {
|
|
|
3446
3446
|
eh: 0,
|
|
3447
3447
|
i14: isIPhone14OrHigher(),
|
|
3448
3448
|
pa: false,
|
|
3449
|
-
hs
|
|
3449
|
+
hs,
|
|
3450
|
+
...readIadCameraStepGates()
|
|
3450
3451
|
};
|
|
3451
3452
|
},
|
|
3452
3453
|
initiallyBackgrounded: !controller.isVisible(),
|
|
@@ -4112,6 +4113,7 @@ const idCaptureMachine = setup({
|
|
|
4112
4113
|
requestMotionPermission: requestMotionPermissionActor,
|
|
4113
4114
|
protectedAttempt: createProtectedIdAttemptActor(),
|
|
4114
4115
|
protectedControllerLifetime: createProtectedIdControllerLifetimeActor(),
|
|
4116
|
+
deepsightSignalConfig: deepsightSignalConfigActor,
|
|
4115
4117
|
captureOnlyDelivery: createIdCaptureOnlyDeliveryActor(),
|
|
4116
4118
|
uploadProgressTicker: uploadProgressTickerActor,
|
|
4117
4119
|
processId: processIdActor,
|
|
@@ -4704,10 +4706,14 @@ const idCaptureMachine = setup({
|
|
|
4704
4706
|
initial: "idle",
|
|
4705
4707
|
output: ({ context }) => computeIdCaptureOutput(context),
|
|
4706
4708
|
entry: ["attachProtectedController", "bindProtectedControllerLifetime"],
|
|
4707
|
-
invoke: {
|
|
4709
|
+
invoke: [{
|
|
4708
4710
|
id: "protectedControllerLifetime",
|
|
4709
4711
|
src: "protectedControllerLifetime"
|
|
4710
|
-
},
|
|
4712
|
+
}, {
|
|
4713
|
+
id: "deepsightSignalConfig",
|
|
4714
|
+
src: "deepsightSignalConfig",
|
|
4715
|
+
input: ({ context }) => context.config
|
|
4716
|
+
}],
|
|
4711
4717
|
context: ({ input, self }) => {
|
|
4712
4718
|
attachIdProtectedCaptureController(self, createIdProtectedCaptureController());
|
|
4713
4719
|
const carried = carryAttempts(input.config.isSecondId ? "secondIdCapture" : "idCapture", self, (s, previous) => {
|
|
@@ -5142,7 +5148,7 @@ const idCaptureMachine = setup({
|
|
|
5142
5148
|
src: "requestPermission",
|
|
5143
5149
|
input: ({ context, self }) => ({
|
|
5144
5150
|
permissionResult: context.permissionResult === "refresh" ? void 0 : context.permissionResult,
|
|
5145
|
-
requestMotionPermission: context.config
|
|
5151
|
+
requestMotionPermission: wantsDeepsightMotion(context.config),
|
|
5146
5152
|
retryDeniedMotionPermission: context.retryDeniedMotionPermission,
|
|
5147
5153
|
requestAudio: requestsIdSessionAudio(context.config),
|
|
5148
5154
|
acceptStream: (value) => getIdProtectedCaptureController(self).storePreAcquiredStream(value)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./Manager-DufwKlav.js";
|
|
2
|
-
import { n as Flow } from "./types-
|
|
2
|
+
import { n as Flow } from "./types-BFPsOz4D.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-CcOBfuP_.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-BYYbcIPG.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
package/dist/kyb-checks.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
2
|
-
import { t as createKybChecksManager } from "./kybChecksManager-
|
|
1
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-KubwqxTh.esm.js";
|
|
2
|
+
import { t as createKybChecksManager } from "./kybChecksManager-DE4gEFC5.esm.js";
|
|
3
3
|
export { createKybChecksManager, kybChecksMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
2
2
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
3
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-KubwqxTh.esm.js";
|
|
4
4
|
//#region src/modules/kyb-checks/kybChecksActor.ts
|
|
5
5
|
/** Creates and starts a KYB Checks actor, idle until `LOAD`. */
|
|
6
6
|
function createKybChecksActor(options = {}) {
|
package/dist/{kybChecksStateMachine-BSgEOmZs.esm.js → kybChecksStateMachine-KubwqxTh.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
|
|
2
|
-
import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-T18Ndgre.esm.js";
|
|
3
3
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
@@ -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-J8DeVSAo.js";
|
|
2
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-Cebwze5A.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-CpriEr0q.d.ts → mandatoryConsentManager-Cebwze5A.d.ts}
RENAMED
|
@@ -2,7 +2,7 @@ import { A as MachineSnapshot, O as PromiseActorLogic, S as RequiredLogicInput,
|
|
|
2
2
|
import "./xstate.cjs-D6Ur0X1F.js";
|
|
3
3
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
4
4
|
import "./Actor-DqjOqDfU.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-J8DeVSAo.js";
|
|
6
6
|
//#region src/modules/mandatory-consent/mandatoryConsentStateMachine.d.ts
|
|
7
7
|
type MandatoryConsentContext = {
|
|
8
8
|
config: MandatoryConsentConfig;
|
|
@@ -66,14 +66,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
66
66
|
type: "setLoadError";
|
|
67
67
|
params: NonReducibleUnknown;
|
|
68
68
|
};
|
|
69
|
-
resetContext: {
|
|
70
|
-
type: "resetContext";
|
|
71
|
-
params: NonReducibleUnknown;
|
|
72
|
-
};
|
|
73
69
|
toggleSigned: {
|
|
74
70
|
type: "toggleSigned";
|
|
75
71
|
params: NonReducibleUnknown;
|
|
76
72
|
};
|
|
73
|
+
resetContext: {
|
|
74
|
+
type: "resetContext";
|
|
75
|
+
params: NonReducibleUnknown;
|
|
76
|
+
};
|
|
77
77
|
}>, Values<{
|
|
78
78
|
canSubmit: {
|
|
79
79
|
type: "canSubmit";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as isWasmMotionPrimedForModule } from "./permissionServices-
|
|
1
|
+
import { s as isWasmMotionPrimedForModule } from "./permissionServices-CrrStkAz.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,4 +1,4 @@
|
|
|
1
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-ZXMogz8z.esm.js";
|
|
2
2
|
import { n as isAndroidWebView } from "./platform-GIg4uPWe.esm.js";
|
|
3
3
|
import { t as MotionSensorProvider } from "./MotionSensorProvider-X4_2eBGd.esm.js";
|
|
4
4
|
import { a as stopCameraStream, l as isCameraGrantedInDocument, r as requestCameraAccess, s as clearCameraGrantedInDocument } from "./camera-CJKApt0x.esm.js";
|
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-DkwMjvss.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
|
|
2
2
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
3
|
+
import { n as recordsLivenessClip } from "./deepsightCaptureConfig-BYx9pyCH.esm.js";
|
|
3
4
|
import { r as createRecordingCompositor } from "./CameraCompositor-C7N1N61V.esm.js";
|
|
4
5
|
import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-Di_V9TnZ.esm.js";
|
|
5
6
|
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-BO7urYwT.esm.js";
|
|
@@ -384,14 +385,19 @@ var MultipartFaceRecordingService = class {
|
|
|
384
385
|
* on-device workflow never uploads media, only the staged face-results
|
|
385
386
|
* JSON via `WebApi.postFaceResults`. Mirrors V1's
|
|
386
387
|
* `FaceFlowManager.setRecorders()` early return.
|
|
387
|
-
* 2.
|
|
388
|
-
*
|
|
389
|
-
*
|
|
388
|
+
* 2. Capture-only (`localDelivery`) → local video, kept for `onCapture`, when
|
|
389
|
+
* `enableFaceRecording` or `deepsightLiveness === 'VIDEOLIVENESS'` asks
|
|
390
|
+
* for it. The Deepsight 2.0 config is not read.
|
|
391
|
+
* 3. The liveness clip ({@link recordsLivenessClip}: `ds` and `e.t` with a
|
|
392
|
+
* Deepsight 2.0 config, `VIDEOLIVENESS` without one) → local Deepsight
|
|
393
|
+
* recorder. It wins over `enableFaceRecording`.
|
|
394
|
+
* 4. `enableFaceRecording === true` → scoped multipart recorder.
|
|
395
|
+
* 5. otherwise → no recording.
|
|
390
396
|
*/
|
|
391
397
|
function createRecordingService(params) {
|
|
392
398
|
if (params.config.onDeviceFaceResultsSubmissionEnabled === true) return;
|
|
393
399
|
if (params.localDelivery === true) return params.config.enableFaceRecording === true || params.config.deepsightLiveness === "VIDEOLIVENESS" ? new LocalRecordingService(params.wasmUtil, null) : void 0;
|
|
394
|
-
if (params.config
|
|
400
|
+
if (recordsLivenessClip(params.config)) return new LocalRecordingService(params.wasmUtil, params.sessionToken);
|
|
395
401
|
if (params.config.enableFaceRecording === true) return new MultipartFaceRecordingService();
|
|
396
402
|
}
|
|
397
403
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as RedirectToMobileServices, t as RedirectToMobileConfig } from "./types-DNVzoRvi.js";
|
|
2
|
-
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, o as redirectToMobileMachine, r as createRedirectToMobileManager, t as RedirectToMobileManager } from "./redirectToMobileManager-
|
|
2
|
+
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, o as redirectToMobileMachine, r as createRedirectToMobileManager, t as RedirectToMobileManager } from "./redirectToMobileManager-Db99n9Yu.js";
|
|
3
3
|
//#region src/modules/redirect-to-mobile/redirectToMobileServices.d.ts
|
|
4
4
|
declare const defaultRedirectToMobileServices: RedirectToMobileServices;
|
|
5
5
|
//#endregion
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices } from "./redirectToMobileStateMachine-
|
|
2
|
-
import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-
|
|
1
|
+
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices } from "./redirectToMobileStateMachine-o-X0kapc.esm.js";
|
|
2
|
+
import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-9c233-vw.esm.js";
|
|
3
3
|
export { createRedirectToMobileManager, createRedirectToMobileManagerFromActor, defaultRedirectToMobileServices, redirectToMobileMachine };
|
package/dist/{redirectToMobileManager-DHuFklFc.esm.js → redirectToMobileManager-9c233-vw.esm.js}
RENAMED
|
@@ -4,7 +4,7 @@ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.j
|
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
6
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
7
|
-
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices, t as canResendSmsFromContext } from "./redirectToMobileStateMachine-
|
|
7
|
+
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices, t as canResendSmsFromContext } from "./redirectToMobileStateMachine-o-X0kapc.esm.js";
|
|
8
8
|
//#region src/modules/redirect-to-mobile/redirectToMobileActor.ts
|
|
9
9
|
const POLL_INTERVAL_MS = 5e3;
|
|
10
10
|
const QR_REFRESH_INTERVAL_MS = 5e3;
|
|
@@ -65,6 +65,7 @@ function mapState(snapshot) {
|
|
|
65
65
|
status: "redirecting",
|
|
66
66
|
redirectUrl: context.redirectUrl,
|
|
67
67
|
phonePrefix: context.phonePrefix,
|
|
68
|
+
smsPhone: context.smsPhone,
|
|
68
69
|
smsSent: context.smsSent,
|
|
69
70
|
smsFailed: context.smsFailed,
|
|
70
71
|
smsResendTimer: context.smsResendTimer,
|
|
@@ -134,6 +134,7 @@ const redirectToMobileMachine = setup({
|
|
|
134
134
|
error: INVALID_URL_ERROR,
|
|
135
135
|
moduleErrorCode: "INVALID_REDIRECT_URL"
|
|
136
136
|
})),
|
|
137
|
+
setSmsPhone: assign(({ event }) => ({ smsPhone: event.phone })),
|
|
137
138
|
completeSmsSend: assign(() => {
|
|
138
139
|
return {
|
|
139
140
|
smsSent: true,
|
|
@@ -144,6 +145,7 @@ const redirectToMobileMachine = setup({
|
|
|
144
145
|
};
|
|
145
146
|
}),
|
|
146
147
|
resetSmsSent: assign({
|
|
148
|
+
smsPhone: () => "",
|
|
147
149
|
smsSent: () => false,
|
|
148
150
|
smsFailed: () => false,
|
|
149
151
|
smsResendTimer: () => 0,
|
|
@@ -187,6 +189,7 @@ const redirectToMobileMachine = setup({
|
|
|
187
189
|
uuid: "",
|
|
188
190
|
urlUuid: "",
|
|
189
191
|
phonePrefix: "",
|
|
192
|
+
smsPhone: "",
|
|
190
193
|
smsSent: false,
|
|
191
194
|
smsFailed: false,
|
|
192
195
|
smsResendTimer: 0,
|
|
@@ -274,7 +277,10 @@ const redirectToMobileMachine = setup({
|
|
|
274
277
|
actions: "resetSmsSent"
|
|
275
278
|
} },
|
|
276
279
|
states: {
|
|
277
|
-
idle: { on: { SEND_SMS:
|
|
280
|
+
idle: { on: { SEND_SMS: {
|
|
281
|
+
target: "sending",
|
|
282
|
+
actions: "setSmsPhone"
|
|
283
|
+
} } },
|
|
278
284
|
sending: { invoke: {
|
|
279
285
|
id: "sendSms",
|
|
280
286
|
src: "sendSms",
|
|
@@ -302,7 +308,8 @@ const redirectToMobileMachine = setup({
|
|
|
302
308
|
SMS_RESEND_TICK: { actions: "tickSmsResendTimer" },
|
|
303
309
|
SEND_SMS: {
|
|
304
310
|
target: "sending",
|
|
305
|
-
guard: "canResendSms"
|
|
311
|
+
guard: "canResendSms",
|
|
312
|
+
actions: "setSmsPhone"
|
|
306
313
|
}
|
|
307
314
|
}
|
|
308
315
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { C as createEventBus } from "./types-CBQN04Rh.esm.js";
|
|
3
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
3
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-DNHK2Cap.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
6
6
|
//#region src/internal/flow-events/flowEvents.ts
|
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-CkhNR70A.js";
|
|
3
3
|
import { n as PermissionStatus, t as PermissionResult } from "./types-CeEcakO7.js";
|
|
4
|
-
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-
|
|
5
|
-
import { n as DeepsightService } from "./StreamCanvasCapture-
|
|
4
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-CTCB59Ik.js";
|
|
5
|
+
import { n as DeepsightService } from "./StreamCanvasCapture-BqaHTJF0.js";
|
|
6
6
|
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
7
|
-
import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-
|
|
7
|
+
import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-D6KJWT4p.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,15 +1,15 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-BYYbcIPG.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-ZXMogz8z.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
4
4
|
import "./events-C3sjvrjL.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
7
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
8
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
9
|
-
import { s as processFace } from "./FaceDetectionProvider-
|
|
10
|
-
import {
|
|
11
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
12
|
-
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-
|
|
7
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-CjvHMU4G.esm.js";
|
|
8
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DKVQS4YB.esm.js";
|
|
9
|
+
import { s as processFace } from "./FaceDetectionProvider-j6gNUeBW.esm.js";
|
|
10
|
+
import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-Ci8BwEA7.esm.js";
|
|
11
|
+
import { t as selfieMachine } from "./selfieStateMachine-BghuY135.esm.js";
|
|
12
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-D7ttFZTJ.esm.js";
|
|
13
13
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DNQX9k5e.esm.js";
|
|
14
14
|
/**
|
|
15
15
|
* Selfie state machine variant for the captureOnly flow. Shares the full base
|
|
@@ -59,10 +59,11 @@ function createSelfieCaptureOnlyActor(options) {
|
|
|
59
59
|
storage: new BrowserStorageProvider(),
|
|
60
60
|
getWasmUtil: () => WasmUtilProvider.getInstance()
|
|
61
61
|
};
|
|
62
|
+
const { deepsightCaptureConfig: _dropped, ...integratorConfig } = options.config;
|
|
62
63
|
return createActor(selfieCaptureOnlyMachine, { input: {
|
|
63
64
|
config: {
|
|
64
65
|
...DEFAULT_SELFIE_CAPTURE_ONLY_CONFIG,
|
|
65
|
-
...
|
|
66
|
+
...integratorConfig
|
|
66
67
|
},
|
|
67
68
|
dependencies
|
|
68
69
|
} }).start();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
1
|
+
import { u as FACE_ERROR_CODES } from "./FaceDetectionProvider-j6gNUeBW.esm.js";
|
|
2
2
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
3
3
|
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
|
4
4
|
const isFaceErrorCode = (value) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
3
|
-
import { 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-CkhNR70A.js";
|
|
4
4
|
//#region src/modules/selfie/selfieManager.d.ts
|
|
5
5
|
type SelfieState = FaceCaptureManagerState;
|
|
6
6
|
/**
|