@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,10 +1,10 @@
|
|
|
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
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
7
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
6
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DKVQS4YB.esm.js";
|
|
7
|
+
import { t as selfieMachine } from "./selfieStateMachine-BghuY135.esm.js";
|
|
8
8
|
//#region src/modules/selfie/selfieActor.ts
|
|
9
9
|
function createSelfieActor(options) {
|
|
10
10
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
3
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
5
|
-
import { n as validateUploadResponse } from "./selfieErrorUtils-
|
|
3
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-CjvHMU4G.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-j6gNUeBW.esm.js";
|
|
5
|
+
import { n as validateUploadResponse } from "./selfieErrorUtils-BoJsMhmW.esm.js";
|
|
6
6
|
/**
|
|
7
7
|
* The selfie capture state machine.
|
|
8
8
|
*
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { n as getApi, u as endpoints } from "./api-jplFqPcE.esm.js";
|
|
2
|
-
import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
2
|
+
import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-DNHK2Cap.esm.js";
|
|
3
|
+
import "./trueSight-Lly6jROP.esm.js";
|
|
4
|
+
import "./sessionInitializer-CRXargXI.esm.js";
|
|
5
|
+
import { i as toIncodeApiError } from "./apiError-T18Ndgre.esm.js";
|
|
5
6
|
//#region src/internal/session/sessionService.ts
|
|
6
7
|
/**
|
|
7
8
|
* HTTP status codes the QR validation endpoint emits, keyed by their semantic
|
package/dist/session.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import { t as DeviceFingerprintResult } from "./types-
|
|
1
|
+
import "./warmup-SWu5L7cW.js";
|
|
2
|
+
import { t as DeviceFingerprintResult } from "./types-D5a04Wk2.js";
|
|
3
3
|
import { n as FinishStatus, r as GetFinishStatusFn, s as getFinishStatus } from "./flowCompletionService-BlAHsKyv.js";
|
|
4
4
|
//#region src/internal/session/sessionService.d.ts
|
|
5
5
|
type CreateSessionOptions = {
|
|
@@ -229,17 +229,7 @@ type FeatureName = 'VIDEO_SELFIE_V2' | 'USE_CLIENT_GLARE' | 'USE_OPEN_VIDU' | 'D
|
|
|
229
229
|
* unresolvable config all proceed (fail-open; the proxy's
|
|
230
230
|
* `truesight.api.enabled` is the environment authority).
|
|
231
231
|
*/
|
|
232
|
-
'TRUESIGHT_DIAGNOSTICS'
|
|
233
|
-
/**
|
|
234
|
-
* Deepsight 2.0 capture metadata (ENG-61789). `enabled: true` makes the WASM
|
|
235
|
-
* emit the v2 capture-metadata document (ml-wasm-kit `smv(true)`); absent,
|
|
236
|
-
* `false` or an unresolvable config keep the v1 document (fail-closed). Read
|
|
237
|
-
* once per session in `sessionInitializer.ts` and latched on the WASM runtime,
|
|
238
|
-
* which replays it after every re-initialization. Delivered by provisioning;
|
|
239
|
-
* the key name is the SDK's assumption pending confirmation from the
|
|
240
|
-
* provisioning owners.
|
|
241
|
-
*/
|
|
242
|
-
'DEEPSIGHT_V2';
|
|
232
|
+
'TRUESIGHT_DIAGNOSTICS';
|
|
243
233
|
type FeatureConfig = {
|
|
244
234
|
enabled: boolean;
|
|
245
235
|
feature: FeatureName;
|
package/dist/session.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as getToken } from "./api-jplFqPcE.esm.js";
|
|
2
2
|
import { r as subscribeHttpErrors } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
3
|
-
import { d as whenSessionFingerprintSettled, i as initializeSession } from "./sessionInitializer-
|
|
3
|
+
import { d as whenSessionFingerprintSettled, i as initializeSession } from "./sessionInitializer-CRXargXI.esm.js";
|
|
4
4
|
import { n as onConnectivityChange, r as resumeConnectivity, t as isConnectivityLost } from "./connectivity-BCuEoQ-n.esm.js";
|
|
5
|
-
import { t as IncodeApiError } from "./apiError-
|
|
6
|
-
import { a as continueSession, c as validateQrUuid, i as bootstrapSession, n as QrValidationError, o as createSession, r as SESSION_CONTINUE_ERROR_CODES, s as refreshQrUrlUuid, t as QR_VALIDATION_ERROR_CODES } from "./session-
|
|
7
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
5
|
+
import { t as IncodeApiError } from "./apiError-T18Ndgre.esm.js";
|
|
6
|
+
import { a as continueSession, c as validateQrUuid, i as bootstrapSession, n as QrValidationError, o as createSession, r as SESSION_CONTINUE_ERROR_CODES, s as refreshQrUrlUuid, t as QR_VALIDATION_ERROR_CODES } from "./session-DUZQd1Cr.esm.js";
|
|
7
|
+
import { n as getFinishStatus } from "./flowCompletionService-BrU3zRCa.esm.js";
|
|
8
8
|
//#region src/internal/session/sessionExpired.ts
|
|
9
9
|
var SessionExpiredError = class extends Error {
|
|
10
10
|
constructor() {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { n as
|
|
2
|
+
import { n as resetWasmDeepsightConfigSync } from "./wasmDeepsightConfigSync-Cy2tPW0i.esm.js";
|
|
3
3
|
import { S as subscribeEvent, v as addEvent, y as getAnalyticsBatcher } from "./types-CBQN04Rh.esm.js";
|
|
4
4
|
import { c as setToken, r as getToken, t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
|
|
5
5
|
import "./events-C3sjvrjL.esm.js";
|
|
6
|
-
import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-
|
|
7
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
8
|
-
import
|
|
6
|
+
import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-DNHK2Cap.esm.js";
|
|
7
|
+
import { t as SDK_VERSION } from "./sdkVersion-DxhcAXUS.esm.js";
|
|
8
|
+
import "./trueSight-Lly6jROP.esm.js";
|
|
9
|
+
import { E as updateFeatureManagementUser } from "./feature-management-DrkQHH45.esm.js";
|
|
9
10
|
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-BYIXomqT.esm.js";
|
|
10
11
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
11
12
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
@@ -300,7 +301,7 @@ function createFingerprintSignalsReporter(deps) {
|
|
|
300
301
|
}
|
|
301
302
|
const fingerprintSignalsReporter = createFingerprintSignalsReporter({
|
|
302
303
|
getWasmUtil: async () => {
|
|
303
|
-
return (await import("./WasmUtilProvider-
|
|
304
|
+
return (await import("./WasmUtilProvider-ZXMogz8z.esm.js").then((n) => n.n)).WasmUtilProvider.getInstance();
|
|
304
305
|
},
|
|
305
306
|
getToken: () => getToken(),
|
|
306
307
|
post: async (url, body, headers) => (await api.post(url, body, { headers })).data,
|
|
@@ -886,7 +887,7 @@ function deviceHashSkipReason(activationOptedOut) {
|
|
|
886
887
|
function startSessionWasm(token, config) {
|
|
887
888
|
(async () => {
|
|
888
889
|
try {
|
|
889
|
-
const warmupModule = await import("./warmup-
|
|
890
|
+
const warmupModule = await import("./warmup-BszvWzNo.esm.js").then((n) => n.c);
|
|
890
891
|
const warmup = warmupModule.warmupWasm({
|
|
891
892
|
...config,
|
|
892
893
|
pipelines: []
|
|
@@ -936,12 +937,12 @@ function createFingerprintSettled() {
|
|
|
936
937
|
function whenSessionFingerprintSettled() {
|
|
937
938
|
return fingerprintSettled?.promise ?? Promise.resolve(cachedFingerprintResult);
|
|
938
939
|
}
|
|
939
|
-
/** Best-effort: the
|
|
940
|
-
function
|
|
940
|
+
/** Best-effort: the reset must never fail session teardown. */
|
|
941
|
+
function resetModuleDeepsightConfig() {
|
|
941
942
|
try {
|
|
942
|
-
|
|
943
|
+
resetWasmDeepsightConfigSync();
|
|
943
944
|
} catch (error) {
|
|
944
|
-
trueSightLog("warning", "session", "orchestration", `
|
|
945
|
+
trueSightLog("warning", "session", "orchestration", `deepsight config not reset error=${String(error)}`);
|
|
945
946
|
}
|
|
946
947
|
}
|
|
947
948
|
/**
|
|
@@ -1015,18 +1016,15 @@ async function initializeSession(options = {}) {
|
|
|
1015
1016
|
sessionInitPromise = (async () => {
|
|
1016
1017
|
let features;
|
|
1017
1018
|
let serverDisableIpify = false;
|
|
1018
|
-
let captureMetadataV2 = false;
|
|
1019
1019
|
try {
|
|
1020
1020
|
features = await retryAfterReconnect(() => fetchFeatureConfig(signal), signal);
|
|
1021
1021
|
serverDisableIpify = isFeatureEnabled("DISABLE_IPIFY", features.features);
|
|
1022
|
-
captureMetadataV2 = isFeatureEnabled("DEEPSIGHT_V2", features.features);
|
|
1023
1022
|
startTrueSightCollection(features);
|
|
1024
1023
|
} catch {
|
|
1025
1024
|
features = { sessionIdentifier: "" };
|
|
1026
1025
|
trueSightLog("warning", "session", "orchestration", "feature-config fetch failed");
|
|
1027
1026
|
startTrueSightCollection();
|
|
1028
1027
|
}
|
|
1029
|
-
applyCaptureMetadataFormat(captureMetadataV2);
|
|
1030
1028
|
const disableIpify = resolveDisableIpify(serverDisableIpify);
|
|
1031
1029
|
fingerprintPromise = submitSessionFingerprint(fingerprintEnabled, {
|
|
1032
1030
|
disableIpify,
|
|
@@ -1151,7 +1149,7 @@ function getFingerprintEnabled() {
|
|
|
1151
1149
|
* Useful for testing or when starting a new session.
|
|
1152
1150
|
*/
|
|
1153
1151
|
function resetSessionInit() {
|
|
1154
|
-
|
|
1152
|
+
resetModuleDeepsightConfig();
|
|
1155
1153
|
fingerprintSignalsReporter.resetSession();
|
|
1156
1154
|
incodeDeviceHashWaiter.reset();
|
|
1157
1155
|
sessionInitialized = false;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { F as setWasmIntegrityObserver, T as resolveWasmConfig, b as DEFAULT_WASM_VERSION, v as setWasmDiagnosticsHandler } from "./wasmWebClient-
|
|
2
|
-
import { a as setWasmOnDeviceMode,
|
|
3
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { F as setWasmIntegrityObserver, T as resolveWasmConfig, b as DEFAULT_WASM_VERSION, v as setWasmDiagnosticsHandler } from "./wasmWebClient-IwBSS51s.esm.js";
|
|
2
|
+
import { a as setWasmOnDeviceMode, h as rearmWasmDiagnostics, m as getWasmDiagnosticsMode, n as getWarmupFacts, p as drainWasmDiagnostics, s as warmupWasm } from "./warmup-BszvWzNo.esm.js";
|
|
3
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-ZXMogz8z.esm.js";
|
|
4
4
|
import { b as resetAnalyticsBatcher, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./types-CBQN04Rh.esm.js";
|
|
5
5
|
import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
|
|
6
6
|
import { i as createAnalyticsBatchingService, r as resetExperimentAssignments } from "./events-C3sjvrjL.esm.js";
|
|
7
|
-
import { S as noteTestingSignals, d as categoryForEndpoint, f as getStoredHttpConfig, h as upgradeToWasmHttpClient$1, m as resetHttpClientState, n as initializeTrueSightDiagnostics, o as resetTrueSight, p as installFreshHttpClient, s as setTrueSightExternalDrain, t as finalizeTrueSight, u as trueSightLog } from "./trueSightService-
|
|
8
|
-
import
|
|
7
|
+
import { S as noteTestingSignals, d as categoryForEndpoint, f as getStoredHttpConfig, h as upgradeToWasmHttpClient$1, m as resetHttpClientState, n as initializeTrueSightDiagnostics, o as resetTrueSight, p as installFreshHttpClient, s as setTrueSightExternalDrain, t as finalizeTrueSight, u as trueSightLog } from "./trueSightService-DNHK2Cap.esm.js";
|
|
8
|
+
import "./trueSight-Lly6jROP.esm.js";
|
|
9
|
+
import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, a as resetSessionInit, c as setClientIpLookupEnabled, g as setStandaloneFlowPolicy, h as resolveStandaloneFlowPolicy, i as initializeSession, l as setClientWasmConfig, m as resetStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as registerFlowPreloader, s as setClientHostingApp, u as setClientWasmDisabled } from "./sessionInitializer-CRXargXI.esm.js";
|
|
9
10
|
import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.esm.js";
|
|
10
11
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
11
|
-
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-
|
|
12
|
+
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-DrkQHH45.esm.js";
|
|
12
13
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-BYIXomqT.esm.js";
|
|
13
14
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-xzRLIIMN.esm.js";
|
|
14
|
-
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-
|
|
15
|
+
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-DrhzisMl.esm.js";
|
|
15
16
|
//#region ../infra/src/wasm/wasmRuntimeProfile.ts
|
|
16
17
|
/**
|
|
17
18
|
* The WASM facts TrueSight reports as `session.webProfile.wasm`
|
|
@@ -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-SWu5L7cW.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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./trueSightService-DNHK2Cap.esm.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { T as resolveWasmConfig, _ as emitWasmDiagnostic, a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError } from "./wasmWebClient-
|
|
1
|
+
import { T as resolveWasmConfig, _ as emitWasmDiagnostic, a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError } from "./wasmWebClient-IwBSS51s.esm.js";
|
|
2
2
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
3
3
|
import { S as subscribeEvent, n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
4
4
|
import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
|
|
5
5
|
import "./events-C3sjvrjL.esm.js";
|
|
6
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
6
|
+
import { t as SDK_VERSION } from "./sdkVersion-DxhcAXUS.esm.js";
|
|
7
7
|
import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
8
8
|
/** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
|
|
9
9
|
const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
|
|
@@ -2201,4 +2201,4 @@ function modulePosition(payload) {
|
|
|
2201
2201
|
return `${typeof moduleIndex === "number" ? ` index=${moduleIndex}` : ""}${typeof totalModules === "number" ? ` total=${totalModules}` : ""}`;
|
|
2202
2202
|
}
|
|
2203
2203
|
//#endregion
|
|
2204
|
-
export { noteTokenActivated as C, noteTestingSignals as S, isFeatureEnabled as _, notifyTrueSightManagerStopped as a, noteEnvironment as b, startTrueSightCollection as c, categoryForEndpoint as d, getStoredHttpConfig as f, fetchFeatureConfig as g, upgradeToWasmHttpClient as h, notifyTrueSightFlowEvent as i, trueSightHintTransition as l, resetHttpClientState as m, initializeTrueSightDiagnostics as n, resetTrueSight as o, installFreshHttpClient as p, noteTrueSightCaptureActivity as r, setTrueSightExternalDrain as s, finalizeTrueSight as t, trueSightLog as u, resetFeatureConfigCache as v, noteSessionCreated as x, isTrueSightTesting as y };
|
|
2204
|
+
export { noteTokenActivated as C, noteTestingSignals as S, isFeatureEnabled as _, notifyTrueSightManagerStopped as a, noteEnvironment as b, startTrueSightCollection as c, categoryForEndpoint as d, getStoredHttpConfig as f, fetchFeatureConfig as g, upgradeToWasmHttpClient as h, notifyTrueSightFlowEvent as i, trueSightHintTransition as l, resetHttpClientState as m, initializeTrueSightDiagnostics as n, resetTrueSight as o, installFreshHttpClient as p, noteTrueSightCaptureActivity as r, setTrueSightExternalDrain as s, finalizeTrueSight as t, trueSightLog as u, resetFeatureConfigCache as v, utf8ByteLength as w, noteSessionCreated as x, isTrueSightTesting as y };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as DocumentSignatureConfig } from "./types-BNkzXOXE.js";
|
|
2
2
|
import { u as RiskAddon } from "./types-DEa3taWc.js";
|
|
3
|
-
import "./createFaceAvatar-
|
|
3
|
+
import "./createFaceAvatar-Ct9QrQ66.js";
|
|
4
4
|
import { t as WatchlistForBusinessConfig } from "./types-B9C8W01q.js";
|
|
5
5
|
import { n as KybChecksConfig } from "./types-CTaL0XJz.js";
|
|
6
6
|
import { c as EkycPrefillModuleConfig } from "./types-B-PIc0en.js";
|
|
@@ -24,6 +24,20 @@ declare const SELFIE_CONCEALMENT_OPTIONS: {
|
|
|
24
24
|
};
|
|
25
25
|
type SelfieConcealmentOption = (typeof SELFIE_CONCEALMENT_OPTIONS)[keyof typeof SELFIE_CONCEALMENT_OPTIONS];
|
|
26
26
|
//#endregion
|
|
27
|
+
//#region src/internal/deepsight/deepsightCaptureConfig.d.ts
|
|
28
|
+
/**
|
|
29
|
+
* A module's Deepsight 2.0 signal config, `deepsightCaptureConfig` on its
|
|
30
|
+
* SELFIE, AUTHENTICATION or ID configuration. The backend sends it only when
|
|
31
|
+
* the organization's provisioning enables Deepsight 2.0 and the module has
|
|
32
|
+
* Deepsight on. The WASM engine reads its challenge and motion keys from the
|
|
33
|
+
* text the module hands it ({@link deepsightCaptureConfigText}); the SDK
|
|
34
|
+
* reads the liveness clip (`e.t`, {@link recordsLivenessClip}) and motion
|
|
35
|
+
* (`b.p`, `b.y`, {@link wantsDeepsightMotion}) itself. A key is on only when
|
|
36
|
+
* every level of it is an object and its `a` is the boolean `true`, so a
|
|
37
|
+
* missing or malformed key is off.
|
|
38
|
+
*/
|
|
39
|
+
type DeepsightCaptureConfig = Readonly<Record<string, unknown>>;
|
|
40
|
+
//#endregion
|
|
27
41
|
//#region src/modules/flow/types.d.ts
|
|
28
42
|
type EmptyConfig = Record<string, never>;
|
|
29
43
|
type RegulationTypes = 'US' | 'Worldwide' | 'Other' | 'US_Illinois' | 'US_Texas' | 'US_California' | 'US_Washington';
|
|
@@ -58,6 +72,18 @@ type TutorialIdConfig = {
|
|
|
58
72
|
* for the resulting session.
|
|
59
73
|
*/
|
|
60
74
|
extractIdFace?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Deepsight 2.0 signal config for this module, sent by the backend only when
|
|
77
|
+
* provisioning enables Deepsight 2.0 and Deepsight is on. While the module
|
|
78
|
+
* runs with one on a WASM binary that can apply it (`sdsc`), it uploads the
|
|
79
|
+
* v2 capture-metadata document and every
|
|
80
|
+
* camera step of the module (both sides and every retry) applies it; see
|
|
81
|
+
* `DeepsightCaptureConfig`. With one, its `b.p`/`b.y` decide the motion
|
|
82
|
+
* prompt; ID recording ignores it. `null`, absent, or anything but a JSON
|
|
83
|
+
* object of at most 4096 bytes as JSON text means no config, and the v1
|
|
84
|
+
* document.
|
|
85
|
+
*/
|
|
86
|
+
deepsightCaptureConfig?: DeepsightCaptureConfig | null;
|
|
61
87
|
perCountryPerDocOverrides: Record<string, Record<string, {
|
|
62
88
|
onlyFront: boolean;
|
|
63
89
|
onlyBack: boolean;
|
|
@@ -99,6 +125,8 @@ type FlowModuleConfig = {
|
|
|
99
125
|
* attempt's code, and moves on after `NO_MORE_ATTEMPTS`.
|
|
100
126
|
*/
|
|
101
127
|
identityReuseOutcomes?: boolean;
|
|
128
|
+
/** Deepsight 2.0 signal config; see `TutorialIdConfig.deepsightCaptureConfig`. */
|
|
129
|
+
deepsightCaptureConfig?: DeepsightCaptureConfig | null;
|
|
102
130
|
};
|
|
103
131
|
ADDRESS: {
|
|
104
132
|
disableSkipPoa: boolean;
|
|
@@ -287,6 +315,8 @@ type FlowModuleConfig = {
|
|
|
287
315
|
* `BaseFaceCaptureConfig.selfieConcealmentOption` + docs/features/FACE_AVATAR.md).
|
|
288
316
|
*/
|
|
289
317
|
selfieConcealmentOption?: SelfieConcealmentOption;
|
|
318
|
+
/** Deepsight 2.0 signal config; see `TutorialIdConfig.deepsightCaptureConfig`. */
|
|
319
|
+
deepsightCaptureConfig?: DeepsightCaptureConfig | null;
|
|
290
320
|
};
|
|
291
321
|
SIGNATURE: {
|
|
292
322
|
title: string;
|
|
@@ -425,4 +455,4 @@ type Flow = {
|
|
|
425
455
|
identitySearchHintProvided?: boolean;
|
|
426
456
|
};
|
|
427
457
|
//#endregion
|
|
428
|
-
export { RegulationTypes as a, FlowModuleConfig as i, Flow as n, TutorialIdConfig as o, FlowModule as r,
|
|
458
|
+
export { RegulationTypes as a, SelfieConcealmentOption as c, FlowModuleConfig as i, Flow as n, TutorialIdConfig as o, FlowModule as r, DeepsightCaptureConfig as s, EmptyConfig as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as AvatarAssetsOverrides } from "./createFaceAvatar-
|
|
2
|
-
import { n as Flow, s as
|
|
3
|
-
import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-
|
|
1
|
+
import { a as AvatarAssetsOverrides } from "./createFaceAvatar-Ct9QrQ66.js";
|
|
2
|
+
import { c as SelfieConcealmentOption, n as Flow, s as DeepsightCaptureConfig } from "./types-BFPsOz4D.js";
|
|
3
|
+
import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-CLWIYHB4.js";
|
|
4
4
|
//#region src/internal/faceCapture/types.d.ts
|
|
5
5
|
type CameraResolution = {
|
|
6
6
|
width?: number;
|
|
@@ -51,6 +51,17 @@ type BaseFaceCaptureConfig = {
|
|
|
51
51
|
/** Records microphone audio with the face recording, for the merged session video. */
|
|
52
52
|
mergeSessionRecordings?: boolean;
|
|
53
53
|
ds?: Flow['ds'];
|
|
54
|
+
/**
|
|
55
|
+
* Deepsight 2.0 signal config of the SELFIE or AUTHENTICATION module, sent
|
|
56
|
+
* by the backend only when provisioning enables Deepsight 2.0 and Deepsight
|
|
57
|
+
* is on. While the module runs with one on a WASM binary that can apply it
|
|
58
|
+
* (`sdsc`), it uploads the v2 capture-metadata document and every camera
|
|
59
|
+
* step, retries included, applies it. With one, `ds` and its `e.t` decide
|
|
60
|
+
* the liveness clip and its `b.p`/`b.y` the motion prompt. `null`, absent,
|
|
61
|
+
* or anything but a JSON object of at most 4096 bytes as JSON text means no
|
|
62
|
+
* config, and the v1 document; see `DeepsightModuleConfig`.
|
|
63
|
+
*/
|
|
64
|
+
deepsightCaptureConfig?: DeepsightCaptureConfig | null;
|
|
54
65
|
/**
|
|
55
66
|
* When true, face analysis runs on-device via the OnDevice WASM workflow
|
|
56
67
|
* (6 models) and only the results JSON is submitted to the backend
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { i as FlowModuleConfig } from "./types-BFPsOz4D.js";
|
|
2
|
+
import { t as BaseFaceCaptureConfig } from "./types-CTCB59Ik.js";
|
|
3
|
+
//#region src/modules/authentication/types.d.ts
|
|
4
|
+
type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { AuthenticationConfig as t };
|
|
@@ -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 IStorageCapability } from "./IWasmUtilCapability-
|
|
1
|
+
import { y as IncodeCanvas } from "./createFaceAvatar-Ct9QrQ66.js";
|
|
2
|
+
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-BFPsOz4D.js";
|
|
3
|
+
import { a as IStorageCapability } from "./IWasmUtilCapability-CLWIYHB4.js";
|
|
4
4
|
import { t as PermissionResult } from "./types-CeEcakO7.js";
|
|
5
|
-
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
5
|
+
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-BqaHTJF0.js";
|
|
6
6
|
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
7
|
-
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-
|
|
7
|
+
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-CAxToGns.js";
|
|
8
8
|
import { n as IGeolocationCapability, t as GeolocationCoords } from "./IGeolocationCapability-r49Qo7rR.js";
|
|
9
9
|
//#region ../infra/src/capabilities/IDigitalCredentialsCapability.d.ts
|
|
10
10
|
/**
|
package/dist/video-selfie.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as WasmPipeline } from "./warmup-
|
|
1
|
+
import { c as WasmPipeline } from "./warmup-SWu5L7cW.js";
|
|
2
2
|
import { b as NonReducibleUnknown, c as AnyEventObject, j as StateMachine, m as EventObject, v as MachineContext, y as MetaObject } from "./spawn-COZKetCS.js";
|
|
3
3
|
import "./xstate.cjs-D6Ur0X1F.js";
|
|
4
4
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
5
5
|
import "./Actor-DqjOqDfU.js";
|
|
6
6
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
7
7
|
import { n as FacingMode, t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
8
|
-
import { t as DetectionOrientation } from "./IIdCaptureCapability-
|
|
9
|
-
import { a as VideoSelfieConfig, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieSpeechResult, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-
|
|
8
|
+
import { t as DetectionOrientation } from "./IIdCaptureCapability-CAxToGns.js";
|
|
9
|
+
import { a as VideoSelfieConfig, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieSpeechResult, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-04BM3Mu1.js";
|
|
10
10
|
//#region ../infra/src/capabilities/ITimerCapability.d.ts
|
|
11
11
|
type TimerHandle = ReturnType<typeof setTimeout>;
|
|
12
12
|
type ITimerCapability = {
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-BYYbcIPG.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-ZXMogz8z.esm.js";
|
|
3
3
|
import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
5
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
6
|
-
import { b as videoSelfieWasmPipelines, v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-
|
|
6
|
+
import { b as videoSelfieWasmPipelines, v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-DrhzisMl.esm.js";
|
|
7
7
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
8
8
|
import { i as assign, l as raise, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
9
9
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
10
10
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
11
11
|
import { t as carryAttempts } from "./attemptCarry-Dew-8qhm.esm.js";
|
|
12
12
|
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-CxZyPRyh.esm.js";
|
|
13
|
-
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-
|
|
13
|
+
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-CsO36BMq.esm.js";
|
|
14
14
|
import { r as createRecordingCompositor } from "./CameraCompositor-C7N1N61V.esm.js";
|
|
15
15
|
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-BO7urYwT.esm.js";
|
|
16
16
|
import { t as MultipartRecordingService } from "./multipartRecordingService-BYa7i1Vr.esm.js";
|
package/dist/{videoSelfieCameraWarmer-14WBoJRb.esm.js → videoSelfieCameraWarmer-CsO36BMq.esm.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-jplFqPcE.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import { v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-
|
|
3
|
+
import { v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-DrhzisMl.esm.js";
|
|
4
4
|
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-CJKApt0x.esm.js";
|
|
5
|
-
import { t as checkPermission } from "./permissionServices-
|
|
6
|
-
import {
|
|
5
|
+
import { t as checkPermission } from "./permissionServices-CrrStkAz.esm.js";
|
|
6
|
+
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
7
|
+
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-j6gNUeBW.esm.js";
|
|
7
8
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
8
9
|
import { n as getBackCameraStream } from "./backCameraStream-6qVHvj76.esm.js";
|
|
9
|
-
import {
|
|
10
|
-
import { t as
|
|
11
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CRn9jT4K.esm.js";
|
|
10
|
+
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-BoJsMhmW.esm.js";
|
|
11
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-D74C8SAy.esm.js";
|
|
12
12
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
|
|
13
13
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
|
14
14
|
async function postVideoSelfieCompare(endpoint, base64Image) {
|
package/dist/{videoSelfieStepDetector-DGXi_TXk.d.ts → videoSelfieStepDetector-04BM3Mu1.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as FlowModuleConfig } from "./types-
|
|
2
|
-
import "./IWasmUtilCapability-
|
|
3
|
-
import { n as DetectionStatus } from "./types-
|
|
1
|
+
import { i as FlowModuleConfig } from "./types-BFPsOz4D.js";
|
|
2
|
+
import "./IWasmUtilCapability-CLWIYHB4.js";
|
|
3
|
+
import { n as DetectionStatus } from "./types-CTCB59Ik.js";
|
|
4
4
|
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
5
|
-
import { t as DetectionOrientation } from "./IIdCaptureCapability-
|
|
5
|
+
import { t as DetectionOrientation } from "./IIdCaptureCapability-CAxToGns.js";
|
|
6
6
|
//#region src/modules/video-selfie/types.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* The capture steps a Video Selfie session can run, in flow order. Which steps
|