@incodetech/core 0.0.0-dev-20260729-e2dda0b0 → 0.0.0-dev-20260729-37d96d3d
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/ae-signature.esm.js +1 -1
- package/dist/{apiError-GA6MbJpI.esm.js → apiError-DVMm9USR.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-B7v0Jy-x.esm.js → authenticationManager-CZZkbrbS.esm.js} +2 -2
- package/dist/{authenticationStateMachine-DAh9ziFC.esm.js → authenticationStateMachine-DaBaRj0q.esm.js} +2 -2
- package/dist/{backCameraStream-6XQp9RxG.esm.js → backCameraStream-BqiXcU28.esm.js} +11 -1
- package/dist/camera.esm.js +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-BhYFeKiG.d.ts → consentManager-uhDPdU6i.d.ts} +8 -8
- package/dist/{deepsightLoader-CHG26pOB.esm.js → deepsightLoader-CMjjYlDH.esm.js} +3 -3
- package/dist/device.esm.js +1 -15
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-upload.d.ts +4 -4
- package/dist/document-upload.esm.js +1 -1
- package/dist/{documentCaptureManager-FvcNYpkS.esm.js → documentCaptureManager-BXBNX-pQ.esm.js} +1 -1
- package/dist/{documentCaptureManager-BK_4RbHt.d.ts → documentCaptureManager-BiKjyojT.d.ts} +4 -4
- package/dist/{documentCaptureStateMachine-BlzN0-mU.esm.js → documentCaptureStateMachine-DAR7pkTk.esm.js} +3 -3
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-CfJixpOW.esm.js → dynamicFormsManager-bhrXytht.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-DrPO1i45.esm.js → dynamicFormsStateMachine-DZNivd_Y.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-DVCqaSzz.esm.js → ekybManager-CwhMYgxw.esm.js} +1 -1
- package/dist/{ekybStateMachine-C3y-Qx1a.esm.js → ekybStateMachine-CDY3t9pl.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-D0X7P-de.esm.js → electronicSignatureManager-Bv4NSqFL.esm.js} +1 -1
- package/dist/extensibility.d.ts +4 -4
- package/dist/extensibility.esm.js +9 -9
- package/dist/{faceCaptureManagerFactory-D2pR3ZnX.esm.js → faceCaptureManagerFactory-BdQ0rekz.esm.js} +2 -2
- package/dist/{faceCaptureSetup-DbhDPMjb.esm.js → faceCaptureSetup-BEIJq6g-.esm.js} +4 -4
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-BdZR6HyE.esm.js → flowCompletionService-BDHnpF5D.esm.js} +1 -1
- package/dist/{flowServices-CPti9am-.esm.js → flowServices-D9XwX7i7.esm.js} +3 -3
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-DW27-LTL.esm.js → geolocationManager-DPpJIcS4.esm.js} +1 -1
- package/dist/{geolocationStateMachine-Cz3Q6az0.esm.js → geolocationStateMachine-Cw1ZPxPV.esm.js} +1 -1
- package/dist/getBrowser-DNrQeL4T.esm.js +16 -0
- package/dist/id.d.ts +1 -1
- package/dist/id.esm.js +2 -2
- package/dist/{idCaptureManager-CPzgzVu8.esm.js → idCaptureManager-DMuuFXqa.esm.js} +2 -2
- package/dist/{idCaptureManager-C-WjmsN4.d.ts → idCaptureManager-Z8N6jdU0.d.ts} +2 -0
- package/dist/{idCaptureStateMachine-CAKztWBq.esm.js → idCaptureStateMachine-ihg_YbB8.esm.js} +67 -24
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-CzsVFG33.d.ts → mandatoryConsentManager-DOZSFZA2.d.ts} +4 -4
- package/dist/{onDeviceFaceResults-CVhk1BWp.esm.js → onDeviceFaceResults-BJDw5FPn.esm.js} +4 -4
- package/dist/{permissionGuards-UMiLlPfq.esm.js → permissionGuards-D0cdQjk6.esm.js} +1 -1
- package/dist/{permissionServices-C4qKxOl4.esm.js → permissionServices-GFikEK6S.esm.js} +2 -17
- package/dist/personhood.esm.js +4 -4
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-BGPq5vGr.esm.js → recordingService-DgRIIgz0.esm.js} +1 -1
- package/dist/{runChildModule-fagPe5Ct.esm.js → runChildModule-BygT7eDD.esm.js} +1 -1
- package/dist/selfie.esm.js +4 -4
- package/dist/{selfieManager-DTiBsQNn.esm.js → selfieManager-CXX0Bdsp.esm.js} +2 -2
- package/dist/{selfieStateMachine-CxabK5_3.esm.js → selfieStateMachine-BOtVaHGI.esm.js} +2 -2
- package/dist/{session-Ccob4IUP.esm.js → session-BjWDH0Yu.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-DEd0CQ74.esm.js → sessionInitializer-B9Z-7bmu.esm.js} +2 -2
- package/dist/{setup-BR4G3NHV.esm.js → setup-BFV4zwpB.esm.js} +4 -4
- package/dist/trueSight-BhOPRXqt.esm.js +1 -0
- package/dist/{trueSightService-DKC-gmQC.esm.js → trueSightService-1pUahMUt.esm.js} +1 -1
- package/dist/video-selfie.esm.js +5 -5
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +15 -15
- package/package.json +1 -1
- package/dist/trueSight-4L5GCqKy.esm.js +0 -1
package/dist/{idCaptureStateMachine-CAKztWBq.esm.js → idCaptureStateMachine-ihg_YbB8.esm.js}
RENAMED
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { n as revokeObjectURL } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
3
3
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
|
-
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
5
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
4
|
+
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-1pUahMUt.esm.js";
|
|
5
|
+
import { t as getDisableIpify } from "./sessionInitializer-B9Z-7bmu.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
7
|
-
import "./trueSight-
|
|
7
|
+
import "./trueSight-BhOPRXqt.esm.js";
|
|
8
8
|
import { t as addDeviceStats } from "./stats-6sK3f5pc.esm.js";
|
|
9
|
-
import { n as isDesktop } from "./platform-Cd_yWGNG.esm.js";
|
|
10
|
-
import "./session-
|
|
9
|
+
import { n as isDesktop, t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
|
|
10
|
+
import "./session-BjWDH0Yu.esm.js";
|
|
11
11
|
import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
12
12
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
13
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
14
|
-
import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-
|
|
13
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-GFikEK6S.esm.js";
|
|
14
|
+
import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-BJDw5FPn.esm.js";
|
|
15
15
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
16
16
|
import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
|
|
17
|
-
import {
|
|
17
|
+
import { t as getBrowser } from "./getBrowser-DNrQeL4T.esm.js";
|
|
18
|
+
import { n as getBackCameraStream } from "./backCameraStream-BqiXcU28.esm.js";
|
|
18
19
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
19
20
|
import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
|
|
20
21
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
21
|
-
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
22
|
-
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-
|
|
22
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D0cdQjk6.esm.js";
|
|
23
|
+
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-DgRIIgz0.esm.js";
|
|
23
24
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS$1, r as IdCaptureProvider } from "./idCaptureDefaults-BDS43fFL.esm.js";
|
|
24
25
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
25
26
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -490,10 +491,13 @@ async function initializeIdCapture(params) {
|
|
|
490
491
|
...DEFAULT_ID_CAPTURE_SETTINGS,
|
|
491
492
|
...config.settings
|
|
492
493
|
});
|
|
493
|
-
if (deepsightService) try {
|
|
494
|
+
if (deepsightService && !params.stream) try {
|
|
494
495
|
await deepsightService.performPrcCheck({ constraints: getPrcCameraConstraints() });
|
|
495
496
|
} catch {}
|
|
496
|
-
const { stream, fallbackLevel } =
|
|
497
|
+
const { stream, fallbackLevel } = params.stream ? {
|
|
498
|
+
stream: params.stream,
|
|
499
|
+
fallbackLevel: params.cameraFallbackLevel
|
|
500
|
+
} : await getIdCameraStream();
|
|
497
501
|
const videoTrack = stream.getVideoTracks()[0];
|
|
498
502
|
let captureResolution;
|
|
499
503
|
if (videoTrack) {
|
|
@@ -1101,18 +1105,23 @@ const manualUploadMachine = setup({
|
|
|
1101
1105
|
});
|
|
1102
1106
|
//#endregion
|
|
1103
1107
|
//#region src/modules/id/idCaptureGuards.ts
|
|
1108
|
+
function getPermissionOutput(event) {
|
|
1109
|
+
if (!("output" in event)) return;
|
|
1110
|
+
const { output } = event;
|
|
1111
|
+
if (typeof output === "object" && output !== null && "permissionResult" in output) return output.permissionResult;
|
|
1112
|
+
return output;
|
|
1113
|
+
}
|
|
1104
1114
|
const hasShowTutorialGuard = ({ context }) => context.config.showTutorial;
|
|
1105
1115
|
const hasAgeAssuranceGuard = ({ context }) => context.config.ageAssurance === true;
|
|
1106
1116
|
const hasShowDocumentChooserGuard = ({ context }) => !context.config.onlyBack && (context.config.showDocumentChooserScreen ?? false);
|
|
1107
1117
|
const isPermissionGrantedGuard = ({ event }) => {
|
|
1108
|
-
|
|
1109
|
-
return false;
|
|
1118
|
+
return getPermissionOutput(event) === "granted";
|
|
1110
1119
|
};
|
|
1111
1120
|
const isReadyForCaptureGuard = ({ context, event }) => {
|
|
1112
|
-
return isReadyForCaptureFromPermission(resolveStoredPermissionResult(
|
|
1121
|
+
return isReadyForCaptureFromPermission(resolveStoredPermissionResult(getPermissionOutput(event), context.permissionResult), context.config.ds);
|
|
1113
1122
|
};
|
|
1114
1123
|
const needsMotionPrimeOnlyGuard = ({ context, event }) => {
|
|
1115
|
-
return needsMotionPrimeOnlyFromPermission(resolveStoredPermissionResult(
|
|
1124
|
+
return needsMotionPrimeOnlyFromPermission(resolveStoredPermissionResult(getPermissionOutput(event), context.permissionResult), context.config.ds);
|
|
1116
1125
|
};
|
|
1117
1126
|
const isPermissionDeniedErrorGuard = ({ event }) => {
|
|
1118
1127
|
if ("error" in event) {
|
|
@@ -1122,6 +1131,7 @@ const isPermissionDeniedErrorGuard = ({ event }) => {
|
|
|
1122
1131
|
return false;
|
|
1123
1132
|
};
|
|
1124
1133
|
const hasStreamGuard = ({ context }) => context.stream !== void 0;
|
|
1134
|
+
const hasInitializedCameraGuard = ({ context }) => context.stream !== void 0 && context.provider !== void 0;
|
|
1125
1135
|
const hasAttemptsRemainingGuard = ({ context }) => context.attemptsRemaining > 0;
|
|
1126
1136
|
const hasCapturedImageGuard = ({ context }) => {
|
|
1127
1137
|
return context.provider?.getCapturedCanvas() !== null;
|
|
@@ -1312,8 +1322,24 @@ function computeIdCaptureOutput(context) {
|
|
|
1312
1322
|
const checkPermissionActor = fromPromise(async () => {
|
|
1313
1323
|
return checkPermission();
|
|
1314
1324
|
});
|
|
1325
|
+
async function requestIdCapturePermission(input) {
|
|
1326
|
+
if (!isAndroid() || getBrowser() !== "firefox") return invokeRequestPermissionActor(input);
|
|
1327
|
+
if (input.requestMotionPermission) {
|
|
1328
|
+
const motionResult = await invokeRequestPermissionActor({
|
|
1329
|
+
...input,
|
|
1330
|
+
permissionResult: "granted"
|
|
1331
|
+
});
|
|
1332
|
+
if (motionResult !== "granted") return motionResult;
|
|
1333
|
+
}
|
|
1334
|
+
const { stream, fallbackLevel } = await getIdCameraStream();
|
|
1335
|
+
return {
|
|
1336
|
+
permissionResult: "granted",
|
|
1337
|
+
stream,
|
|
1338
|
+
cameraFallbackLevel: fallbackLevel
|
|
1339
|
+
};
|
|
1340
|
+
}
|
|
1315
1341
|
const requestPermissionActor = fromPromise(async ({ input }) => {
|
|
1316
|
-
return
|
|
1342
|
+
return requestIdCapturePermission(input);
|
|
1317
1343
|
});
|
|
1318
1344
|
const initializeCameraActor = fromPromise(async ({ input }) => {
|
|
1319
1345
|
return initializeIdCapture(input);
|
|
@@ -1636,7 +1662,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
|
|
|
1636
1662
|
});
|
|
1637
1663
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
1638
1664
|
if (!input.dependencies) return;
|
|
1639
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1665
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-CMjjYlDH.esm.js");
|
|
1640
1666
|
return loadDeepsightSession({
|
|
1641
1667
|
ds: input.ds,
|
|
1642
1668
|
storage: input.dependencies.storage,
|
|
@@ -1680,6 +1706,15 @@ function performStopMediaRecording(context) {
|
|
|
1680
1706
|
function getStreamFromEvent(event) {
|
|
1681
1707
|
if ("output" in event) return event.output.stream;
|
|
1682
1708
|
}
|
|
1709
|
+
function getPermissionResultFromEvent(event) {
|
|
1710
|
+
if (!("output" in event)) return;
|
|
1711
|
+
const { output } = event;
|
|
1712
|
+
if (output === "granted" || output === "denied" || output === "prompt") return output;
|
|
1713
|
+
if (typeof output === "object" && output !== null && "permissionResult" in output) {
|
|
1714
|
+
const result = output.permissionResult;
|
|
1715
|
+
if (result === "granted" || result === "denied" || result === "prompt") return result;
|
|
1716
|
+
}
|
|
1717
|
+
}
|
|
1683
1718
|
function getProviderFromEvent(event) {
|
|
1684
1719
|
if ("output" in event) return event.output.provider;
|
|
1685
1720
|
}
|
|
@@ -2046,6 +2081,11 @@ const idCaptureMachine = setup({
|
|
|
2046
2081
|
captureResolution: ({ event }) => getCaptureResolutionFromEvent(event),
|
|
2047
2082
|
cameraFallbackLevel: ({ event }) => getCameraFallbackLevelFromEvent(event)
|
|
2048
2083
|
}),
|
|
2084
|
+
setPermissionResultAndStream: assign({
|
|
2085
|
+
permissionResult: ({ context, event }) => getPermissionResultFromEvent(event) ?? context.permissionResult,
|
|
2086
|
+
stream: ({ context, event }) => getStreamFromEvent(event) ?? context.stream,
|
|
2087
|
+
cameraFallbackLevel: ({ context, event }) => getCameraFallbackLevelFromEvent(event) ?? context.cameraFallbackLevel
|
|
2088
|
+
}),
|
|
2049
2089
|
trackTutorialId: () => {},
|
|
2050
2090
|
trackContinue: () => {},
|
|
2051
2091
|
trackCameraId: ({ context }) => {},
|
|
@@ -2147,6 +2187,7 @@ const idCaptureMachine = setup({
|
|
|
2147
2187
|
needsMotionPrimeOnly: needsMotionPrimeOnlyGuard,
|
|
2148
2188
|
isPermissionDeniedError: isPermissionDeniedErrorGuard,
|
|
2149
2189
|
hasStream: hasStreamGuard,
|
|
2190
|
+
hasInitializedCamera: hasInitializedCameraGuard,
|
|
2150
2191
|
hasAttemptsRemaining: hasAttemptsRemainingGuard,
|
|
2151
2192
|
hasCapturedImage: hasCapturedImageGuard,
|
|
2152
2193
|
hasUploadValidationError: hasUploadValidationErrorGuard,
|
|
@@ -2519,16 +2560,16 @@ const idCaptureMachine = setup({
|
|
|
2519
2560
|
{
|
|
2520
2561
|
target: "#idCapture.capture",
|
|
2521
2562
|
guard: "isReadyForCapture",
|
|
2522
|
-
actions:
|
|
2563
|
+
actions: "setPermissionResultAndStream"
|
|
2523
2564
|
},
|
|
2524
2565
|
{
|
|
2525
2566
|
target: "denied",
|
|
2526
|
-
guard: ({ event }) => event
|
|
2527
|
-
actions:
|
|
2567
|
+
guard: ({ event }) => getPermissionResultFromEvent(event) === "denied",
|
|
2568
|
+
actions: "setPermissionResultAndStream"
|
|
2528
2569
|
},
|
|
2529
2570
|
{
|
|
2530
2571
|
target: "waitingForUser",
|
|
2531
|
-
actions:
|
|
2572
|
+
actions: "setPermissionResultAndStream"
|
|
2532
2573
|
}
|
|
2533
2574
|
],
|
|
2534
2575
|
onError: { target: "denied" }
|
|
@@ -2549,7 +2590,7 @@ const idCaptureMachine = setup({
|
|
|
2549
2590
|
},
|
|
2550
2591
|
{
|
|
2551
2592
|
target: "detecting",
|
|
2552
|
-
guard: "
|
|
2593
|
+
guard: "hasInitializedCamera"
|
|
2553
2594
|
},
|
|
2554
2595
|
{ target: "initializing" }
|
|
2555
2596
|
] },
|
|
@@ -2578,7 +2619,9 @@ const idCaptureMachine = setup({
|
|
|
2578
2619
|
src: "initializeCamera",
|
|
2579
2620
|
input: ({ context }) => ({
|
|
2580
2621
|
config: context.config,
|
|
2581
|
-
deepsightService: context.deepsightService
|
|
2622
|
+
deepsightService: context.deepsightService,
|
|
2623
|
+
stream: context.stream,
|
|
2624
|
+
cameraFallbackLevel: context.cameraFallbackLevel
|
|
2582
2625
|
}),
|
|
2583
2626
|
onDone: {
|
|
2584
2627
|
target: "detecting",
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reset, o as setup, r as isConfigured } from "./setup-
|
|
1
|
+
import { i as reset, o as setup, r as isConfigured } from "./setup-BFV4zwpB.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { r as MandatoryConsentConfig } from "./types-BX_XkMsQ.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-DOZSFZA2.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-CzsVFG33.d.ts → mandatoryConsentManager-DOZSFZA2.d.ts}
RENAMED
|
@@ -61,14 +61,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
61
61
|
type: "clearError";
|
|
62
62
|
params: NonReducibleUnknown;
|
|
63
63
|
};
|
|
64
|
-
resetContext: {
|
|
65
|
-
type: "resetContext";
|
|
66
|
-
params: NonReducibleUnknown;
|
|
67
|
-
};
|
|
68
64
|
toggleSigned: {
|
|
69
65
|
type: "toggleSigned";
|
|
70
66
|
params: NonReducibleUnknown;
|
|
71
67
|
};
|
|
68
|
+
resetContext: {
|
|
69
|
+
type: "resetContext";
|
|
70
|
+
params: NonReducibleUnknown;
|
|
71
|
+
};
|
|
72
72
|
}>, {
|
|
73
73
|
type: "canSubmit";
|
|
74
74
|
params: unknown;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { n as BaseWasmProvider, o as mlWasmJSApi_default } from "./WasmUtilProvider-D13sxEmA.esm.js";
|
|
2
2
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
3
|
+
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-1pUahMUt.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
5
|
-
import "./trueSight-
|
|
5
|
+
import "./trueSight-BhOPRXqt.esm.js";
|
|
6
6
|
import { t as addDeviceStats } from "./stats-6sK3f5pc.esm.js";
|
|
7
7
|
import { a as isIPhone14OrHigher, n as isDesktop } from "./platform-Cd_yWGNG.esm.js";
|
|
8
8
|
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
|
|
9
9
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
10
10
|
import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
|
|
11
|
-
import { n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-
|
|
11
|
+
import { n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-BqiXcU28.esm.js";
|
|
12
12
|
//#region ../infra/src/scheduling/yieldUntilNextPaint.ts
|
|
13
13
|
/**
|
|
14
14
|
* Resolves after the browser has had a chance to commit and paint a queued
|
|
@@ -521,7 +521,7 @@ async function stopRecording(session) {
|
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
async function initializeDeepsightSession(options) {
|
|
524
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
524
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-CMjjYlDH.esm.js");
|
|
525
525
|
return loadDeepsightSession({
|
|
526
526
|
ds: options.ds,
|
|
527
527
|
storage: options.storage
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as isWasmMotionPrimedForModule } from "./permissionServices-
|
|
1
|
+
import { a as isWasmMotionPrimedForModule } from "./permissionServices-GFikEK6S.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,17 +1,6 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-D13sxEmA.esm.js";
|
|
2
2
|
import { t as MotionSensorProvider } from "./MotionSensorProvider-DYvM90IX.esm.js";
|
|
3
3
|
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
|
|
4
|
-
//#region ../infra/src/media/cameraPermissionSession.ts
|
|
5
|
-
const CAMERA_PERMISSIONS_GRANTED_KEY = "cameraPermissionsGranted";
|
|
6
|
-
function isCameraGrantedInSession() {
|
|
7
|
-
if (typeof sessionStorage === "undefined") return false;
|
|
8
|
-
return sessionStorage.getItem(CAMERA_PERMISSIONS_GRANTED_KEY) === "true";
|
|
9
|
-
}
|
|
10
|
-
function markCameraPermissionsGrantedInSession() {
|
|
11
|
-
if (typeof sessionStorage === "undefined") return;
|
|
12
|
-
sessionStorage.setItem(CAMERA_PERMISSIONS_GRANTED_KEY, String(true));
|
|
13
|
-
}
|
|
14
|
-
//#endregion
|
|
15
4
|
//#region ../infra/src/media/permissions.ts
|
|
16
5
|
async function queryPermission(name) {
|
|
17
6
|
try {
|
|
@@ -39,7 +28,7 @@ function isWasmMotionPrimedForModule() {
|
|
|
39
28
|
//#endregion
|
|
40
29
|
//#region src/internal/permissions/permissionServices.ts
|
|
41
30
|
function isCameraGrantedForMotionPrime(options) {
|
|
42
|
-
return options.cameraGranted === true
|
|
31
|
+
return options.cameraGranted === true;
|
|
43
32
|
}
|
|
44
33
|
async function resolveMotionOsPermission(motionSensor) {
|
|
45
34
|
if (motionSensor.hasBeenRequestedThisSession()) return "granted";
|
|
@@ -64,10 +53,7 @@ async function primeMotionFromUserGestureIfNeeded(options) {
|
|
|
64
53
|
}
|
|
65
54
|
async function checkPermission() {
|
|
66
55
|
const queryResult = await queryCameraPermission();
|
|
67
|
-
if (queryResult === "granted")
|
|
68
|
-
markCameraPermissionsGrantedInSession();
|
|
69
|
-
return "granted";
|
|
70
|
-
}
|
|
56
|
+
if (queryResult === "granted") return "granted";
|
|
71
57
|
if (queryResult === "denied") return "denied";
|
|
72
58
|
return "prompt";
|
|
73
59
|
}
|
|
@@ -104,7 +90,6 @@ async function requestPermission(options = {}) {
|
|
|
104
90
|
video: true,
|
|
105
91
|
audio: options.requestAudio ?? false
|
|
106
92
|
}));
|
|
107
|
-
markCameraPermissionsGrantedInSession();
|
|
108
93
|
return "granted";
|
|
109
94
|
} catch (error) {
|
|
110
95
|
const name = error instanceof Error ? error.name : void 0;
|
package/dist/personhood.esm.js
CHANGED
|
@@ -2,15 +2,15 @@ import { t as WasmUtilProvider } from "./WasmUtilProvider-D13sxEmA.esm.js";
|
|
|
2
2
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.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 { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-
|
|
5
|
+
import { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-1pUahMUt.esm.js";
|
|
6
6
|
import { n as eventModuleNames } from "./events-CMFCCu1H.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-B9Z-7bmu.esm.js";
|
|
8
8
|
import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
9
9
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
10
10
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
11
|
-
import { i as requestPermission, t as checkPermission } from "./permissionServices-
|
|
11
|
+
import { i as requestPermission, t as checkPermission } from "./permissionServices-GFikEK6S.esm.js";
|
|
12
12
|
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
|
|
13
|
-
import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-
|
|
13
|
+
import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-BJDw5FPn.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 areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-Bv4NSqFL.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
3
3
|
import { t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
|
|
4
|
-
import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-
|
|
4
|
+
import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-BJDw5FPn.esm.js";
|
|
5
5
|
import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-CUsftWlH.esm.js";
|
|
6
6
|
//#region src/internal/manualReview/manualReviewService.ts
|
|
7
7
|
async function flagFaceManualReview() {
|
|
@@ -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-1pUahMUt.esm.js";
|
|
3
3
|
import { y as createEventBus } from "./events-CMFCCu1H.esm.js";
|
|
4
4
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
package/dist/selfie.esm.js
CHANGED
|
@@ -3,11 +3,11 @@ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.e
|
|
|
3
3
|
import { n as eventModuleNames } from "./events-CMFCCu1H.esm.js";
|
|
4
4
|
import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-BEIJq6g-.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BdQ0rekz.esm.js";
|
|
8
8
|
import { r as processFace } from "./selfieErrorUtils-DCRRRj38.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-BOtVaHGI.esm.js";
|
|
10
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-CXX0Bdsp.esm.js";
|
|
11
11
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-Cgl54qED.esm.js";
|
|
12
12
|
//#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
|
|
13
13
|
/**
|
|
@@ -2,8 +2,8 @@ import { t as WasmUtilProvider } from "./WasmUtilProvider-D13sxEmA.esm.js";
|
|
|
2
2
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-CMFCCu1H.esm.js";
|
|
4
4
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BdQ0rekz.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-BOtVaHGI.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieActor.ts
|
|
8
8
|
function createSelfieActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
3
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-
|
|
3
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-BEIJq6g-.esm.js";
|
|
4
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BJDw5FPn.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
6
6
|
import { i as uploadSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-DCRRRj38.esm.js";
|
|
7
7
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
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-1pUahMUt.esm.js";
|
|
3
|
+
import "./sessionInitializer-B9Z-7bmu.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
5
|
-
import "./trueSight-
|
|
6
|
-
import { r as toIncodeApiError } from "./apiError-
|
|
5
|
+
import "./trueSight-BhOPRXqt.esm.js";
|
|
6
|
+
import { r as toIncodeApiError } from "./apiError-DVMm9USR.esm.js";
|
|
7
7
|
//#region src/internal/session/sessionService.ts
|
|
8
8
|
/**
|
|
9
9
|
* 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-B9Z-7bmu.esm.js";
|
|
2
|
+
import { t as IncodeApiError } from "./apiError-DVMm9USR.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-BjWDH0Yu.esm.js";
|
|
4
|
+
import { n as getFinishStatus } from "./flowCompletionService-BDHnpF5D.esm.js";
|
|
5
5
|
export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, bootstrapSession, createSession, getFinishStatus, initializeSession, refreshQrUrlUuid, validateQrUuid };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { g as updateFeatureManagementUser } from "./feature-management-Dw96qEMs.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, v as SDK_VERSION } from "./trueSightService-
|
|
3
|
+
import { _ as noteTokenActivated, d as fetchFeatureConfig, f as isFeatureEnabled, l as trueSightLog, m as noteEnvironment, p as resetFeatureConfigCache, s as startTrueSightCollection, v as SDK_VERSION } from "./trueSightService-1pUahMUt.esm.js";
|
|
4
4
|
import { h as getAnalyticsBatcher, m as addEvent } from "./events-CMFCCu1H.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
6
|
-
import "./trueSight-
|
|
6
|
+
import "./trueSight-BhOPRXqt.esm.js";
|
|
7
7
|
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-6sK3f5pc.esm.js";
|
|
8
8
|
import { n as UAParser, t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
|
|
9
9
|
import { r as isIOS } from "./platform-Cd_yWGNG.esm.js";
|
|
@@ -5,14 +5,14 @@ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.j
|
|
|
5
5
|
import { _ as applyEnvironment, c as getIsFeatureManagementLocked, f as optOutFeatureManagement, m as resetFeatureManagementProviderInstance, p as resetFeatureManagement, u as initializeFeatureManagement, v as getEnvironment, y as resetEnvironment } from "./feature-management-Dw96qEMs.esm.js";
|
|
6
6
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
7
7
|
import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
8
|
-
import { C as upgradeToWasmHttpClient$1, S as resetHttpClientState, b as getStoredHttpConfig, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as installFreshHttpClient } from "./trueSightService-
|
|
8
|
+
import { C as upgradeToWasmHttpClient$1, S as resetHttpClientState, b as getStoredHttpConfig, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as installFreshHttpClient } from "./trueSightService-1pUahMUt.esm.js";
|
|
9
9
|
import { _ as setAnalyticsBatcher, g as resetAnalyticsBatcher, h as getAnalyticsBatcher } from "./events-CMFCCu1H.esm.js";
|
|
10
|
-
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-
|
|
10
|
+
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-B9Z-7bmu.esm.js";
|
|
11
11
|
import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
12
|
-
import "./trueSight-
|
|
12
|
+
import "./trueSight-BhOPRXqt.esm.js";
|
|
13
13
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-6sK3f5pc.esm.js";
|
|
14
14
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
|
|
15
|
-
import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-
|
|
15
|
+
import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-D9XwX7i7.esm.js";
|
|
16
16
|
//#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
|
|
17
17
|
var BrowserPageLifecycleProvider = class {
|
|
18
18
|
sendBeacon(url, body, contentType = "application/json") {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./trueSightService-1pUahMUt.esm.js";
|
|
@@ -724,7 +724,7 @@ function epochMsToIsoString(epochMs) {
|
|
|
724
724
|
}
|
|
725
725
|
//#endregion
|
|
726
726
|
//#region src/internal/version/sdkVersion.ts
|
|
727
|
-
const SDK_VERSION = "0.0.0-dev-20260729-
|
|
727
|
+
const SDK_VERSION = "0.0.0-dev-20260729-37d96d3d";
|
|
728
728
|
//#endregion
|
|
729
729
|
//#region src/internal/trueSight/recordBuilder.ts
|
|
730
730
|
/**
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-D13sxEmA.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-BFV4zwpB.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-DOfmJylF.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-D9XwX7i7.esm.js";
|
|
7
7
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
9
|
-
import { t as checkPermission } from "./permissionServices-
|
|
9
|
+
import { t as checkPermission } from "./permissionServices-GFikEK6S.esm.js";
|
|
10
10
|
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
|
|
11
|
-
import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-
|
|
12
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
11
|
+
import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-BJDw5FPn.esm.js";
|
|
12
|
+
import { n as getBackCameraStream } from "./backCameraStream-BqiXcU28.esm.js";
|
|
13
13
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
14
14
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
15
15
|
import { i as uploadSelfie, r as processFace, t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-DCRRRj38.esm.js";
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as resolveWasmConfig, n as buildDefaultWasmConfig, r as buildWasmConfigFromBasePath, t as DEFAULT_WASM_VERSION } from "./wasmDefaults-DJiEvV7f.esm.js";
|
|
2
2
|
import { a as warmupWasm } from "./WasmUtilProvider-D13sxEmA.esm.js";
|
|
3
|
-
import { a as setWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines } from "./setup-
|
|
3
|
+
import { a as setWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines } from "./setup-BFV4zwpB.esm.js";
|
|
4
4
|
export { DEFAULT_WASM_VERSION, buildDefaultWasmConfig, buildWasmConfigFromBasePath, ensureWasmPipelines, initializeWasmUtil, resolveWasmConfig, setWasmConfig, upgradeToWasmHttpClient, warmupWasm };
|
package/dist/workflow.esm.js
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import { g as updateFeatureManagementUser } from "./feature-management-Dw96qEMs.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { l as trueSightLog } from "./trueSightService-
|
|
3
|
+
import { l as trueSightLog } from "./trueSightService-1pUahMUt.esm.js";
|
|
4
4
|
import { m as addEvent, n as eventModuleNames, o as createManagerInstrumentation } from "./events-CMFCCu1H.esm.js";
|
|
5
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
5
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-B9Z-7bmu.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
7
|
-
import "./trueSight-
|
|
8
|
-
import { r as toIncodeApiError } from "./apiError-
|
|
9
|
-
import { g as toEkybConfig } from "./flowServices-
|
|
7
|
+
import "./trueSight-BhOPRXqt.esm.js";
|
|
8
|
+
import { r as toIncodeApiError } from "./apiError-DVMm9USR.esm.js";
|
|
9
|
+
import { g as toEkybConfig } from "./flowServices-D9XwX7i7.esm.js";
|
|
10
10
|
import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
|
|
11
11
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
12
12
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
13
|
-
import { n as electronicSignatureMachine } from "./electronicSignatureManager-
|
|
13
|
+
import { n as electronicSignatureMachine } from "./electronicSignatureManager-Bv4NSqFL.esm.js";
|
|
14
14
|
import "./ae-signature.esm.js";
|
|
15
15
|
import { t as antifraudMachine } from "./antifraudStateMachine-NuzlVVte.esm.js";
|
|
16
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
16
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DaBaRj0q.esm.js";
|
|
17
17
|
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-N__sTAgu.esm.js";
|
|
18
18
|
import { t as consentMachine } from "./consentStateMachine-DWL-X0Jb.esm.js";
|
|
19
19
|
import { t as curpValidationMachine } from "./curpValidationStateMachine-42RbYcam.esm.js";
|
|
20
20
|
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-BbDtH5kk.esm.js";
|
|
21
|
-
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
22
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
23
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
21
|
+
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-DAR7pkTk.esm.js";
|
|
22
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DZNivd_Y.esm.js";
|
|
23
|
+
import { t as ekybMachine } from "./ekybStateMachine-CDY3t9pl.esm.js";
|
|
24
24
|
import { t as ekycMachine } from "./ekycStateMachine-Yl3sQmhm.esm.js";
|
|
25
25
|
import { t as emailMachine } from "./emailStateMachine-CLtrh2Ot.esm.js";
|
|
26
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
27
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
26
|
+
import { t as selfieMachine } from "./selfieStateMachine-BOtVaHGI.esm.js";
|
|
27
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-ihg_YbB8.esm.js";
|
|
28
28
|
import { t as phoneMachine } from "./phoneStateMachine-FJ-_x1G4.esm.js";
|
|
29
29
|
import { t as watchlistMachine } from "./watchlistStateMachine-DZSOauwp.esm.js";
|
|
30
30
|
import { n as identityReuseMachine } from "./identityReuseStateMachine-DG8kbKuy.esm.js";
|
|
31
31
|
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-CjKpOQXU.esm.js";
|
|
32
32
|
import { t as idOcrStateMachine } from "./idOcrStateMachine-s08FLvEh.esm.js";
|
|
33
33
|
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-jI5XPtZJ.esm.js";
|
|
34
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
34
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-Cw1ZPxPV.esm.js";
|
|
35
35
|
import { t as idVerificationMachine } from "./idVerificationStateMachine-tAF7pvC8.esm.js";
|
|
36
36
|
import { t as faceMatchMachine } from "./faceMatchStateMachine-ubds4WlI.esm.js";
|
|
37
|
-
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-
|
|
38
|
-
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
37
|
+
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-BDHnpF5D.esm.js";
|
|
38
|
+
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BygT7eDD.esm.js";
|
|
39
39
|
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-CtG3bIdM.esm.js";
|
|
40
40
|
import "./qe-signature.esm.js";
|
|
41
41
|
import { t as signatureMachine } from "./signatureStateMachine-Dx92l8pR.esm.js";
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./trueSightService-DKC-gmQC.esm.js";
|