@incodetech/core 0.0.0-dev-20260903-cb11a9ab → 0.0.0-dev-20260908-bc61c595
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/{BrowserDiagnosticsCryptoProvider-Bdp-zwAD.esm.js → BrowserDiagnosticsCryptoProvider-COg8iELF.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-DtdWBO9B.esm.js → apiError-gVQs-Oxi.esm.js} +1 -1
- package/dist/authentication.d.ts +2 -2
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-Be64Kl4X.d.ts → authenticationManager-BCkV6CSG.d.ts} +1 -1
- package/dist/{authenticationManager-5OHZKAk-.esm.js → authenticationManager-CXRIdm8K.esm.js} +3 -3
- package/dist/{authenticationStateMachine-QPAhHZNa.esm.js → authenticationStateMachine-EBxmokh-.esm.js} +2 -2
- package/dist/{deepsightLoader-CP8TjQ0_.esm.js → deepsightLoader-CbUkJe2L.esm.js} +2 -2
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-C_uLv-j7.esm.js → dynamicFormsManager-ClAZl2ot.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-CLWUWc-G.esm.js → dynamicFormsStateMachine-Be2f9LsF.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-Ca6y67Lj.esm.js → ekybManager-CvzO6TGV.esm.js} +1 -1
- package/dist/{ekybStateMachine-BMs1zUp-.esm.js → ekybStateMachine-2jA6bLAR.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-FRR-mgfN.esm.js → electronicSignatureManager-AI_PS64z.esm.js} +1 -1
- package/dist/extensibility.d.ts +6 -6
- package/dist/extensibility.esm.js +10 -10
- package/dist/{faceCaptureManagerFactory-CzEyW5zU.d.ts → faceCaptureManagerFactory-CzUr_ZPq.d.ts} +3 -3
- package/dist/{faceCaptureManagerFactory-Da_Q_58Y.esm.js → faceCaptureManagerFactory-DVxdlwpM.esm.js} +1 -1
- package/dist/{faceCaptureSetup-1iPMffsU.esm.js → faceCaptureSetup--6GLJ4eE.esm.js} +19 -3
- package/dist/{feature-management-BimUsGVX.esm.js → feature-management-4Nknz-8m.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-B3Hzat5g.esm.js → flowCompletionService-jtw6OcpK.esm.js} +1 -1
- package/dist/{flowServices-CMpx1GCZ.esm.js → flowServices-CYrJcJVa.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-D5fnHjEI.esm.js → geolocationManager-DGRfvEeJ.esm.js} +1 -1
- package/dist/{geolocationStateMachine-BAKVk8Az.esm.js → geolocationStateMachine-Bo0lnnfK.esm.js} +1 -1
- package/dist/id-selfie-flow.esm.js +7 -7
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +5 -5
- package/dist/{idCaptureDefaults-1s-kgOKZ.esm.js → idCaptureDefaults-DeQq5Rg9.esm.js} +1 -1
- package/dist/{idCaptureManager-B2UfP1pP.d.ts → idCaptureManager-BBbaa0Vu.d.ts} +6 -1
- package/dist/{idCaptureManager-DH7XlO99.esm.js → idCaptureManager-CUG6brDu.esm.js} +31 -6
- package/dist/{idCaptureServices-DUe66Z6j.esm.js → idCaptureServices-Sa62Ym8B.esm.js} +13 -8
- package/dist/{idCaptureStateMachine-Cc67bc4h.esm.js → idCaptureStateMachine-ZET2TjQh.esm.js} +19 -10
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-BFDI7iFK.d.ts → identityReuseManager-v2TH5g7e.d.ts} +4 -4
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-CSh8HjSF.d.ts → mandatoryConsentManager-BxrRrlBs.d.ts} +4 -4
- package/dist/{onDeviceFaceResults-D8HU4XDW.esm.js → onDeviceFaceResults-Def2ASND.esm.js} +7 -6
- package/dist/personhood.esm.js +4 -4
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-DVa0f22q.esm.js → runChildModule-ApFDPyJN.esm.js} +1 -1
- package/dist/{sdkVersion-Bh4p324K.esm.js → sdkVersion-R4ye437D.esm.js} +1 -1
- package/dist/selfie.d.ts +2 -2
- package/dist/selfie.esm.js +5 -5
- package/dist/{selfieManager-CJ8SCm7y.esm.js → selfieManager-BLhKtKhE.esm.js} +3 -3
- package/dist/{selfieManager-CvJ2RUGy.d.ts → selfieManager-Bg_Xwe4p.d.ts} +1 -1
- package/dist/{selfieStateMachine-SiIxh7T9.esm.js → selfieStateMachine-vBVZRCB2.esm.js} +2 -2
- package/dist/{session-BNS--jmg.esm.js → session-DgSfkImL.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-CrOp8xKD.esm.js → sessionInitializer-C53gDEY6.esm.js} +3 -3
- package/dist/{setup-CG44R4qH.esm.js → setup-BoKqVO-H.esm.js} +4 -4
- package/dist/{trueSightService-BfGQ9MOL.esm.js → trueSightService-D8pETNRD.esm.js} +2 -2
- package/dist/video-selfie.esm.js +4 -4
- package/dist/{videoSelfieCameraWarmer-DBOEzmED.esm.js → videoSelfieCameraWarmer-B33daRoY.esm.js} +3 -3
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +14 -14
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-BoKqVO-H.esm.js";
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-CyCdsfox.esm.js";
|
|
6
6
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
7
7
|
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-J5S1dEIf.esm.js";
|
|
8
|
-
import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
9
|
-
import {
|
|
8
|
+
import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-ZET2TjQh.esm.js";
|
|
9
|
+
import { g as resolveIdCaptureThresholds, h as resolveCaptureOptimizingTreatment } from "./idCaptureServices-Sa62Ym8B.esm.js";
|
|
10
10
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
11
11
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
12
12
|
function isHoldingState(value) {
|
|
@@ -253,6 +253,29 @@ function shouldCaptureBack(context) {
|
|
|
253
253
|
function shouldCaptureFront(context) {
|
|
254
254
|
return context.config.usSmartCapture === true && context.currentMode === "back" && context.uploadResponse?.forceFrontIdCapture === true;
|
|
255
255
|
}
|
|
256
|
+
/**
|
|
257
|
+
* Resolves the document method represented by camera-facing manager states.
|
|
258
|
+
*
|
|
259
|
+
* Machine context keeps `selectedDocumentType` as the literal chooser
|
|
260
|
+
* selection. Direct-entry flows never dispatch `SELECT_DOCUMENT`, so resolve
|
|
261
|
+
* their effective type only at the public manager boundary. An explicit
|
|
262
|
+
* selection always wins, including non-camera methods. Without one, infer only
|
|
263
|
+
* from the machine's already-derived available camera methods: capture-mode
|
|
264
|
+
* flags such as `onlyBack` and `usSmartCapture` must not manufacture an ID
|
|
265
|
+
* method for a Digital-ID-only or otherwise malformed configuration.
|
|
266
|
+
*/
|
|
267
|
+
function getEffectiveSelectedDocumentType(context) {
|
|
268
|
+
if (context.selectedDocumentType !== void 0) return context.selectedDocumentType;
|
|
269
|
+
let isIdAvailable = false;
|
|
270
|
+
let isPassportAvailable = false;
|
|
271
|
+
for (const docType of context.availableDocumentTypes ?? []) {
|
|
272
|
+
if (docType === "id") isIdAvailable = true;
|
|
273
|
+
if (docType === "passport") isPassportAvailable = true;
|
|
274
|
+
}
|
|
275
|
+
if (isIdAvailable && isPassportAvailable) return context.currentMode === "passport" ? "passport" : "id";
|
|
276
|
+
if (isIdAvailable) return "id";
|
|
277
|
+
if (isPassportAvailable) return "passport";
|
|
278
|
+
}
|
|
256
279
|
function mapCaptureState(snapshot, context) {
|
|
257
280
|
const captureStatus = getCaptureStatus(snapshot) ?? "initializing";
|
|
258
281
|
const { uploadError, uploadResponse } = context;
|
|
@@ -265,6 +288,8 @@ function mapCaptureState(snapshot, context) {
|
|
|
265
288
|
attemptsRemaining: context.attemptsRemaining,
|
|
266
289
|
uploadError,
|
|
267
290
|
currentMode: context.currentMode,
|
|
291
|
+
selectedDocumentType: getEffectiveSelectedDocumentType(context),
|
|
292
|
+
tutorialEnabled: context.config.showTutorial === true,
|
|
268
293
|
counterValue: context.counterValue,
|
|
269
294
|
orientation: context.orientation,
|
|
270
295
|
idType: context.idType,
|
|
@@ -289,7 +314,7 @@ function mapPermissionsState(snapshot, context) {
|
|
|
289
314
|
return {
|
|
290
315
|
status: "permissions",
|
|
291
316
|
permissionStatus: getPermissionStatus(snapshot) ?? "idle",
|
|
292
|
-
selectedDocumentType: context
|
|
317
|
+
selectedDocumentType: getEffectiveSelectedDocumentType(context),
|
|
293
318
|
currentMode: context.currentMode,
|
|
294
319
|
tutorialEnabled: context.config.showTutorial === true
|
|
295
320
|
};
|
|
@@ -305,7 +330,7 @@ function mapLoadingState(snapshot, phase) {
|
|
|
305
330
|
status: "loading",
|
|
306
331
|
phase,
|
|
307
332
|
tutorialEnabled: snapshot.context.config.showTutorial === true,
|
|
308
|
-
selectedDocumentType: snapshot.context
|
|
333
|
+
selectedDocumentType: getEffectiveSelectedDocumentType(snapshot.context),
|
|
309
334
|
currentMode: snapshot.context.currentMode
|
|
310
335
|
};
|
|
311
336
|
}
|
|
@@ -320,7 +345,7 @@ function mapTutorialState(snapshot, context) {
|
|
|
320
345
|
return {
|
|
321
346
|
status: "tutorial",
|
|
322
347
|
phase: getTutorialPhase(snapshot),
|
|
323
|
-
selectedDocumentType: context
|
|
348
|
+
selectedDocumentType: getEffectiveSelectedDocumentType(context),
|
|
324
349
|
currentMode: context.currentMode
|
|
325
350
|
};
|
|
326
351
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
-
import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-BoKqVO-H.esm.js";
|
|
2
|
+
import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-4Nknz-8m.esm.js";
|
|
3
3
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
5
5
|
import { i as isDesktop } from "./platform-DkcRc9JV.esm.js";
|
|
@@ -10,7 +10,7 @@ import { n as startRecording, r as stopRecording$1, t as createRecordingSession
|
|
|
10
10
|
import { a as isBackFacingTrack, n as getBackCameraStream } from "./backCameraStream-DE_5qY04.esm.js";
|
|
11
11
|
import { t as getDeviceClass } from "./getDeviceClass-q9LxdYDh.esm.js";
|
|
12
12
|
import { t as MultipartRecordingService } from "./multipartRecordingService-B3C_zlev.esm.js";
|
|
13
|
-
import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-
|
|
13
|
+
import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-DeQq5Rg9.esm.js";
|
|
14
14
|
//#region src/internal/camera/cameraServices.ts
|
|
15
15
|
function createCameraServices(camera) {
|
|
16
16
|
return {
|
|
@@ -605,7 +605,7 @@ function createMultipartSessionHandle(service, compositor, recordingSource, reso
|
|
|
605
605
|
multipartIdSessions.set(session, {
|
|
606
606
|
compositor,
|
|
607
607
|
needsVideoSourceReplacement: false,
|
|
608
|
-
|
|
608
|
+
recorderPaused: false,
|
|
609
609
|
recordingSource,
|
|
610
610
|
service
|
|
611
611
|
});
|
|
@@ -623,9 +623,9 @@ async function startRecordingSession(params) {
|
|
|
623
623
|
multipartSession.recordingSource = recordingSource;
|
|
624
624
|
const resumeResult = await multipartSession.compositor.resume();
|
|
625
625
|
if (resumeResult !== "resumed") throw new Error(`ID recording camera did not resume: ${resumeResult}`);
|
|
626
|
-
if (multipartSession.recorderPausedForRetry && !multipartSession.service.resume()) throw new Error("ID recording did not resume");
|
|
627
|
-
multipartSession.recorderPausedForRetry = false;
|
|
628
626
|
}
|
|
627
|
+
if (multipartSession?.recorderPaused && !multipartSession.service.resume()) throw new Error("ID recording did not resume");
|
|
628
|
+
if (multipartSession) multipartSession.recorderPaused = false;
|
|
629
629
|
return params.existing;
|
|
630
630
|
}
|
|
631
631
|
const hasAudio = params.stream.getAudioTracks().length > 0;
|
|
@@ -667,10 +667,15 @@ async function startRecordingSession(params) {
|
|
|
667
667
|
hasAudio
|
|
668
668
|
};
|
|
669
669
|
}
|
|
670
|
+
function pauseRecordingForAttempt(session) {
|
|
671
|
+
const multipartSession = multipartIdSessions.get(session);
|
|
672
|
+
if (!multipartSession) return;
|
|
673
|
+
multipartSession.recorderPaused = multipartSession.service.pause();
|
|
674
|
+
}
|
|
670
675
|
function prepareRecordingForCameraRetry(session) {
|
|
671
676
|
const multipartSession = multipartIdSessions.get(session);
|
|
672
677
|
if (!multipartSession) return;
|
|
673
|
-
multipartSession.
|
|
678
|
+
if (!multipartSession.recorderPaused) multipartSession.recorderPaused = multipartSession.service.pause();
|
|
674
679
|
multipartSession.compositor.pause();
|
|
675
680
|
multipartSession.recordingSource.getVideoTracks().forEach((track) => track.stop());
|
|
676
681
|
multipartSession.needsVideoSourceReplacement = true;
|
|
@@ -765,4 +770,4 @@ async function addBarcode(params) {
|
|
|
765
770
|
return res.data;
|
|
766
771
|
}
|
|
767
772
|
//#endregion
|
|
768
|
-
export {
|
|
773
|
+
export { CAPTURE_OPTIMIZING as _, preloadIdRecordingProvider as a, startRecordingSession as c, uploadIdImage as d, uploadManualIdFile as f, resolveIdCaptureThresholds as g, resolveCaptureOptimizingTreatment as h, pauseRecordingForAttempt as i, stopRecording as l, ID_ERROR_CODES as m, barcodeToBase64 as n, prepareRecordingForCameraRetry as o, validateUploadResponse as p, initializeIdCapture as r, processId as s, addBarcode as t, stopStream as u, OPTIMIZING_WATCHDOG_MARGIN_MS as v, getIdCameraStream as y };
|
package/dist/{idCaptureStateMachine-Cc67bc4h.esm.js → idCaptureStateMachine-ZET2TjQh.esm.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-BoKqVO-H.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import { s as exposeExperimentOnce } from "./feature-management-
|
|
3
|
+
import { s as exposeExperimentOnce } from "./feature-management-4Nknz-8m.esm.js";
|
|
4
4
|
import { n as revokeObjectURL } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
5
5
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
6
|
-
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
6
|
+
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-D8pETNRD.esm.js";
|
|
7
7
|
import { n as eventModuleNames, s as recordExperimentAssignmentOnce } from "./events-ijlbX_Wx.esm.js";
|
|
8
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
8
|
+
import { t as getDisableIpify } from "./sessionInitializer-C53gDEY6.esm.js";
|
|
9
9
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
10
10
|
import { t as addDeviceStats } from "./stats-DkK-f8JT.esm.js";
|
|
11
11
|
import { a as isIOS, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-DkcRc9JV.esm.js";
|
|
12
|
-
import "./session-
|
|
12
|
+
import "./session-DgSfkImL.esm.js";
|
|
13
13
|
import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
14
14
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
15
15
|
import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-D6phjq1-.esm.js";
|
|
@@ -22,7 +22,7 @@ import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
|
22
22
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
23
23
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-BHw_SD3h.esm.js";
|
|
24
24
|
import { r as flagIdManualReview, t as imageFileToDataUrl } from "./imageFile-CLaua6xO.esm.js";
|
|
25
|
-
import { _ as
|
|
25
|
+
import { _ as CAPTURE_OPTIMIZING, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as resolveIdCaptureThresholds, i as pauseRecordingForAttempt, l as stopRecording, m as ID_ERROR_CODES, o as prepareRecordingForCameraRetry, p as validateUploadResponse, r as initializeIdCapture, s as processId, t as addBarcode, u as stopStream, v as OPTIMIZING_WATCHDOG_MARGIN_MS, y as getIdCameraStream } from "./idCaptureServices-Sa62Ym8B.esm.js";
|
|
26
26
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
27
27
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
28
28
|
function isKnownFailReason(reason) {
|
|
@@ -2123,7 +2123,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
|
|
|
2123
2123
|
});
|
|
2124
2124
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
2125
2125
|
if (!input.dependencies) return;
|
|
2126
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
2126
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-CbUkJe2L.esm.js");
|
|
2127
2127
|
return loadDeepsightSession({
|
|
2128
2128
|
ds: input.ds,
|
|
2129
2129
|
storage: input.dependencies.storage,
|
|
@@ -2170,6 +2170,9 @@ function performReportCaptureOptimizingAssignment(context) {
|
|
|
2170
2170
|
function performStopMediaRecording(context) {
|
|
2171
2171
|
if (context.recordingSession) stopRecording(context.recordingSession);
|
|
2172
2172
|
}
|
|
2173
|
+
function performPauseRecordingForAttempt(context) {
|
|
2174
|
+
if (context.recordingSession) pauseRecordingForAttempt(context.recordingSession);
|
|
2175
|
+
}
|
|
2173
2176
|
function performPrepareRecordingForCameraRetry(context) {
|
|
2174
2177
|
if (context.recordingSession) prepareRecordingForCameraRetry(context.recordingSession);
|
|
2175
2178
|
}
|
|
@@ -2748,6 +2751,9 @@ const idCaptureMachine = setup({
|
|
|
2748
2751
|
stopMediaRecording: ({ context }) => {
|
|
2749
2752
|
performStopMediaRecording(context);
|
|
2750
2753
|
},
|
|
2754
|
+
pauseRecordingForAttempt: ({ context }) => {
|
|
2755
|
+
performPauseRecordingForAttempt(context);
|
|
2756
|
+
},
|
|
2751
2757
|
discardFailedRecordingSession: assign(({ context }) => {
|
|
2752
2758
|
performStopMediaRecording(context);
|
|
2753
2759
|
return { recordingSession: void 0 };
|
|
@@ -3675,7 +3681,8 @@ const idCaptureMachine = setup({
|
|
|
3675
3681
|
entry: [
|
|
3676
3682
|
"captureImage",
|
|
3677
3683
|
"storeCapturedCanvasInProvider",
|
|
3678
|
-
"storeCapturedImage"
|
|
3684
|
+
"storeCapturedImage",
|
|
3685
|
+
"pauseRecordingForAttempt"
|
|
3679
3686
|
],
|
|
3680
3687
|
always: [
|
|
3681
3688
|
{
|
|
@@ -3713,7 +3720,8 @@ const idCaptureMachine = setup({
|
|
|
3713
3720
|
entry: [
|
|
3714
3721
|
"captureImage",
|
|
3715
3722
|
"storeCapturedCanvasInProvider",
|
|
3716
|
-
"storeCapturedImage"
|
|
3723
|
+
"storeCapturedImage",
|
|
3724
|
+
"pauseRecordingForAttempt"
|
|
3717
3725
|
],
|
|
3718
3726
|
always: [{ target: "submittingBarcodePreCapture" }]
|
|
3719
3727
|
},
|
|
@@ -3736,7 +3744,8 @@ const idCaptureMachine = setup({
|
|
|
3736
3744
|
entry: [
|
|
3737
3745
|
"captureLatestFrame",
|
|
3738
3746
|
"storeCapturedCanvasInProvider",
|
|
3739
|
-
"storeCapturedImage"
|
|
3747
|
+
"storeCapturedImage",
|
|
3748
|
+
"pauseRecordingForAttempt"
|
|
3740
3749
|
],
|
|
3741
3750
|
always: [
|
|
3742
3751
|
{
|
package/dist/identity-reuse.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-
|
|
1
|
+
import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-v2TH5g7e.js";
|
|
2
2
|
export { type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -108,14 +108,14 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
|
|
|
108
108
|
type: "setError";
|
|
109
109
|
params: NonReducibleUnknown;
|
|
110
110
|
};
|
|
111
|
-
setSelectedDocument: {
|
|
112
|
-
type: "setSelectedDocument";
|
|
113
|
-
params: NonReducibleUnknown;
|
|
114
|
-
};
|
|
115
111
|
clearError: {
|
|
116
112
|
type: "clearError";
|
|
117
113
|
params: NonReducibleUnknown;
|
|
118
114
|
};
|
|
115
|
+
setSelectedDocument: {
|
|
116
|
+
type: "setSelectedDocument";
|
|
117
|
+
params: NonReducibleUnknown;
|
|
118
|
+
};
|
|
119
119
|
}>, Values<{
|
|
120
120
|
hasDocuments: {
|
|
121
121
|
type: "hasDocuments";
|
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-BoKqVO-H.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { r as MandatoryConsentConfig } from "./types-DJ2OM9rw.js";
|
|
2
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
2
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-BxrRrlBs.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-CSh8HjSF.d.ts → mandatoryConsentManager-BxrRrlBs.d.ts}
RENAMED
|
@@ -57,14 +57,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
57
57
|
type: "setError";
|
|
58
58
|
params: NonReducibleUnknown;
|
|
59
59
|
};
|
|
60
|
-
clearError: {
|
|
61
|
-
type: "clearError";
|
|
62
|
-
params: NonReducibleUnknown;
|
|
63
|
-
};
|
|
64
60
|
toggleSigned: {
|
|
65
61
|
type: "toggleSigned";
|
|
66
62
|
params: NonReducibleUnknown;
|
|
67
63
|
};
|
|
64
|
+
clearError: {
|
|
65
|
+
type: "clearError";
|
|
66
|
+
params: NonReducibleUnknown;
|
|
67
|
+
};
|
|
68
68
|
resetContext: {
|
|
69
69
|
type: "resetContext";
|
|
70
70
|
params: NonReducibleUnknown;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-BoKqVO-H.esm.js";
|
|
2
2
|
import { i as BaseWasmProvider, l as wasmRuntime } from "./safeStorage-0bZuUtSP.esm.js";
|
|
3
3
|
import { r as getToken } from "./api-Bx3gKW_y.esm.js";
|
|
4
|
-
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
5
|
-
import "./sessionInitializer-
|
|
4
|
+
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-D8pETNRD.esm.js";
|
|
5
|
+
import "./sessionInitializer-C53gDEY6.esm.js";
|
|
6
6
|
import { t as addDeviceStats } from "./stats-DkK-f8JT.esm.js";
|
|
7
7
|
import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-DkcRc9JV.esm.js";
|
|
8
8
|
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
|
|
@@ -516,7 +516,7 @@ async function stopRecording(session) {
|
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
518
|
async function initializeDeepsightSession(options) {
|
|
519
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
519
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-CbUkJe2L.esm.js");
|
|
520
520
|
return loadDeepsightSession({
|
|
521
521
|
ds: options.ds,
|
|
522
522
|
storage: options.storage
|
|
@@ -551,8 +551,9 @@ const isOnDeviceMode = (config) => config.onDeviceFaceResultsSubmissionEnabled =
|
|
|
551
551
|
* The default (non-on-device) prepare-upload body shared by selfie and auth.
|
|
552
552
|
* Prepares any recording metadata required by the image upload, runs deepsight
|
|
553
553
|
* virtual-camera + frame checks, tracks the capture attempt, and encrypts the
|
|
554
|
-
* captured image. Scoped multipart recordings
|
|
555
|
-
*
|
|
554
|
+
* captured image. Scoped multipart recordings pause while an attempt is being
|
|
555
|
+
* uploaded, resume after a rejection, and are finalized by the state machine
|
|
556
|
+
* after backend acceptance.
|
|
556
557
|
*
|
|
557
558
|
* Lifted out of `faceCaptureSetup.ts`'s base `prepareFaceUpload` actor so the
|
|
558
559
|
* default path can be reused by both variants while leaving room for an
|
package/dist/personhood.esm.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-BoKqVO-H.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-0bZuUtSP.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
4
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
5
|
-
import { C as createApi$1, v as randomUUID, y as getStoredHttpConfig } from "./trueSightService-
|
|
5
|
+
import { C as createApi$1, v as randomUUID, y as getStoredHttpConfig } from "./trueSightService-D8pETNRD.esm.js";
|
|
6
6
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
7
|
-
import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-
|
|
7
|
+
import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-C53gDEY6.esm.js";
|
|
8
8
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
9
9
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
10
10
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
11
11
|
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
|
|
12
12
|
import { i as requestPermission, t as checkPermission } from "./permissionServices-J5S1dEIf.esm.js";
|
|
13
|
-
import { f as stopStream, l as startDetection, p as FaceDetectionProvider, s as initializeDeepsightSession } from "./onDeviceFaceResults-
|
|
13
|
+
import { f as stopStream, l as startDetection, p as FaceDetectionProvider, s as initializeDeepsightSession } from "./onDeviceFaceResults-Def2ASND.esm.js";
|
|
14
14
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
15
15
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
16
16
|
//#region src/modules/personhood/personhoodServices.ts
|
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-AI_PS64z.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
2
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
2
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-D8pETNRD.esm.js";
|
|
3
3
|
import { C as createEventBus } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
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-CzUr_ZPq.js";
|
|
3
3
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
4
4
|
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-hSqUyXyw.js";
|
|
5
5
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
6
6
|
import { t as DeepsightService } from "./deepsightService-MZOpj7Vp.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-Bg_Xwe4p.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,13 +1,13 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-BoKqVO-H.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-0bZuUtSP.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { i as assign, s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup
|
|
7
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup--6GLJ4eE.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DVxdlwpM.esm.js";
|
|
8
8
|
import { r as processFace } from "./selfieErrorUtils-C3lAFggs.esm.js";
|
|
9
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
10
|
-
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-
|
|
9
|
+
import { t as selfieMachine } from "./selfieStateMachine-vBVZRCB2.esm.js";
|
|
10
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BLhKtKhE.esm.js";
|
|
11
11
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BjzPjJ_p.esm.js";
|
|
12
12
|
//#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
|
|
13
13
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-BoKqVO-H.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-0bZuUtSP.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DVxdlwpM.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-vBVZRCB2.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieActor.ts
|
|
8
8
|
function createSelfieActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
3
|
-
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-CzUr_ZPq.js";
|
|
4
4
|
//#region src/modules/selfie/selfieManager.d.ts
|
|
5
5
|
type SelfieState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
3
|
-
import { n as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup
|
|
4
|
-
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-
|
|
3
|
+
import { n as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup--6GLJ4eE.esm.js";
|
|
4
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-Def2ASND.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
6
6
|
import { a as uploadSelfie, i as uploadManualSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-C3lAFggs.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieStateMachine.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as getApi } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-
|
|
3
|
-
import "./sessionInitializer-
|
|
2
|
+
import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-D8pETNRD.esm.js";
|
|
3
|
+
import "./sessionInitializer-C53gDEY6.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
5
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
5
|
+
import { i as toIncodeApiError } from "./apiError-gVQs-Oxi.esm.js";
|
|
6
6
|
//#region src/internal/session/sessionService.ts
|
|
7
7
|
/**
|
|
8
8
|
* HTTP status codes the QR validation endpoint emits, keyed by their semantic
|
package/dist/session.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as initializeSession } from "./sessionInitializer-
|
|
2
|
-
import { t as IncodeApiError } from "./apiError-
|
|
3
|
-
import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-
|
|
4
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
1
|
+
import { i as initializeSession } from "./sessionInitializer-C53gDEY6.esm.js";
|
|
2
|
+
import { t as IncodeApiError } from "./apiError-gVQs-Oxi.esm.js";
|
|
3
|
+
import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-DgSfkImL.esm.js";
|
|
4
|
+
import { n as getFinishStatus } from "./flowCompletionService-jtw6OcpK.esm.js";
|
|
5
5
|
export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, bootstrapSession, createSession, getFinishStatus, initializeSession, refreshQrUrlUuid, validateQrUuid };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
1
|
+
import { E as updateFeatureManagementUser } from "./feature-management-4Nknz-8m.esm.js";
|
|
2
2
|
import { c as setToken, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { _ as noteTokenActivated, d as fetchFeatureConfig, f as isFeatureEnabled, l as trueSightLog, m as noteEnvironment, p as resetFeatureConfigCache, s as startTrueSightCollection } from "./trueSightService-
|
|
3
|
+
import { _ as noteTokenActivated, d as fetchFeatureConfig, f as isFeatureEnabled, l as trueSightLog, m as noteEnvironment, p as resetFeatureConfigCache, s as startTrueSightCollection } from "./trueSightService-D8pETNRD.esm.js";
|
|
4
4
|
import { v as addEvent, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-R4ye437D.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
7
7
|
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-DkK-f8JT.esm.js";
|
|
8
8
|
import { n as UAParser, t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { d as deriveSiblingJsPath, f as WASM_MODEL_FILES } from "./wasmWebClient-BJCaFeBL.esm.js";
|
|
2
2
|
import { c as warmupWasm, r as WasmUtilProvider, s as setWasmOnDeviceMode, t as resolveLocalStorage } from "./safeStorage-0bZuUtSP.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
|
-
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-
|
|
4
|
+
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-4Nknz-8m.esm.js";
|
|
5
5
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
6
6
|
import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
7
|
-
import { S as upgradeToWasmHttpClient$1, b as installFreshHttpClient, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as resetHttpClientState, y as getStoredHttpConfig } from "./trueSightService-
|
|
7
|
+
import { S as upgradeToWasmHttpClient$1, b as installFreshHttpClient, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as resetHttpClientState, y as getStoredHttpConfig } from "./trueSightService-D8pETNRD.esm.js";
|
|
8
8
|
import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
|
|
9
|
-
import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy, v as BrowserEnvironmentProvider } from "./sessionInitializer-
|
|
9
|
+
import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy, v as BrowserEnvironmentProvider } from "./sessionInitializer-C53gDEY6.esm.js";
|
|
10
10
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
11
11
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-DkK-f8JT.esm.js";
|
|
12
12
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
|
|
13
|
-
import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-
|
|
13
|
+
import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-CYrJcJVa.esm.js";
|
|
14
14
|
//#region ../infra/src/wasm/wasmDefaults.ts
|
|
15
15
|
const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
|
|
16
16
|
/** The WASM version bundled and tested with this SDK release. */
|
|
@@ -2,7 +2,7 @@ import { a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWa
|
|
|
2
2
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
3
3
|
import { i as isApiConfigured, n as getApi, o as setClient, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
4
|
import { S as subscribeEvent, n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-R4ye437D.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
7
7
|
//#region ../infra/src/http/createApi.ts
|
|
8
8
|
var FetchHttpError = class extends Error {
|
|
@@ -1320,7 +1320,7 @@ let cryptoProviderPromise = null;
|
|
|
1320
1320
|
* the service's prewarm).
|
|
1321
1321
|
*/
|
|
1322
1322
|
function loadDiagnosticsCryptoProvider() {
|
|
1323
|
-
cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-
|
|
1323
|
+
cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-COg8iELF.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
|
|
1324
1324
|
return cryptoProviderPromise;
|
|
1325
1325
|
}
|
|
1326
1326
|
/**
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-BoKqVO-H.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-0bZuUtSP.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
4
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
6
|
-
import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-
|
|
6
|
+
import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-CYrJcJVa.esm.js";
|
|
7
7
|
import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
9
9
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
10
10
|
import { t as MultipartRecordingService } from "./multipartRecordingService-B3C_zlev.esm.js";
|
|
11
|
-
import { i as CameraCompositor } from "./idCaptureDefaults-
|
|
11
|
+
import { i as CameraCompositor } from "./idCaptureDefaults-DeQq5Rg9.esm.js";
|
|
12
12
|
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-CpF2cBy6.esm.js";
|
|
13
|
-
import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-
|
|
13
|
+
import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-B33daRoY.esm.js";
|
|
14
14
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BUe2uACW.esm.js";
|
|
15
15
|
//#region src/modules/video-selfie/videoSelfieWasm.ts
|
|
16
16
|
function warmupVideoSelfieWasm(config, steps = resolveVideoSelfieSteps(config)) {
|
package/dist/{videoSelfieCameraWarmer-DBOEzmED.esm.js → videoSelfieCameraWarmer-B33daRoY.esm.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
4
|
-
import { l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-
|
|
4
|
+
import { l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-CYrJcJVa.esm.js";
|
|
5
5
|
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
|
|
6
6
|
import { t as checkPermission } from "./permissionServices-J5S1dEIf.esm.js";
|
|
7
|
-
import { a as encryptSelfieImage, l as startDetection, p as FaceDetectionProvider } from "./onDeviceFaceResults-
|
|
7
|
+
import { a as encryptSelfieImage, l as startDetection, p as FaceDetectionProvider } from "./onDeviceFaceResults-Def2ASND.esm.js";
|
|
8
8
|
import { a as StreamCanvasProcessingSession } from "./recordingsRepository-CCWy13M-.esm.js";
|
|
9
9
|
import { n as getBackCameraStream } from "./backCameraStream-DE_5qY04.esm.js";
|
|
10
10
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
11
11
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
12
12
|
import { a as uploadSelfie, r as processFace, t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-C3lAFggs.esm.js";
|
|
13
13
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
14
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-
|
|
14
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-DeQq5Rg9.esm.js";
|
|
15
15
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
|
16
16
|
async function postVideoSelfieCompare(endpoint, base64Image) {
|
|
17
17
|
return (await api.post(endpoint, { base64Image })).data;
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as WASM_MODEL_FILES, h as WASM_PIPELINE_MODEL_NAMES, p as WASM_PIPELINE_LAZY_MODEL_NAMES } from "./wasmWebClient-BJCaFeBL.esm.js";
|
|
2
|
-
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, d as buildDefaultWasmConfig, f as buildWasmConfigFromBasePath, m as resolveWasmConfig, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines, u as DEFAULT_WASM_VERSION } from "./setup-
|
|
2
|
+
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, d as buildDefaultWasmConfig, f as buildWasmConfigFromBasePath, m as resolveWasmConfig, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines, u as DEFAULT_WASM_VERSION } from "./setup-BoKqVO-H.esm.js";
|
|
3
3
|
import { c as warmupWasm } from "./safeStorage-0bZuUtSP.esm.js";
|
|
4
4
|
//#region src/defineWasm.ts
|
|
5
5
|
function requiredModels(pipelines) {
|