@incodetech/core 0.0.0-dev-20260819-588cf821 → 0.0.0-dev-20260819-8e2b6120
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-CYEBHxM-.esm.js → BrowserDiagnosticsCryptoProvider-CIFvfYjU.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-DjfnJEmY.esm.js → apiError-CmLuTu8c.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-Bo5oW5Rh.d.ts → authenticationManager-CG7g38ad.d.ts} +1 -1
- package/dist/{authenticationManager-Djd5VRUN.esm.js → authenticationManager-DrtfRp1Z.esm.js} +2 -2
- package/dist/{authenticationStateMachine-CWI30EGE.esm.js → authenticationStateMachine-CmRwiE9P.esm.js} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/{curpValidationManager-BAE-uh7L.d.ts → curpValidationManager-DrMLHzVF.d.ts} +1 -1
- package/dist/{deepsightLoader-Cx7VIdZs.esm.js → deepsightLoader-BtPlGn0u.esm.js} +3 -3
- package/dist/document-capture.d.ts +1 -1
- package/dist/{documentCaptureManager-B3t0ydtg.d.ts → documentCaptureManager-BykkLCQD.d.ts} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-7O0OYLKC.esm.js → dynamicFormsManager-K2fns0Ev.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-BhxBhuUG.esm.js → dynamicFormsStateMachine-XXg2mOsk.esm.js} +1 -1
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-DU3ehxwx.esm.js → ekybManager-CG4KreIp.esm.js} +1 -1
- package/dist/{ekybStateMachine-B5r4Ovj1.esm.js → ekybStateMachine-L-QYBjhK.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-eINhsO8o.esm.js → electronicSignatureManager-DRIGL3o_.esm.js} +1 -1
- package/dist/extensibility.d.ts +10 -10
- package/dist/extensibility.esm.js +10 -10
- package/dist/{faceCaptureManagerFactory-C8MlI6-0.d.ts → faceCaptureManagerFactory-D6qnBVUw.d.ts} +3 -3
- package/dist/{faceCaptureManagerFactory-CE-6YvEi.esm.js → faceCaptureManagerFactory-PDJ6EyX8.esm.js} +1 -1
- package/dist/{faceCaptureSetup-DlttCnYM.esm.js → faceCaptureSetup-vjurLoly.esm.js} +2 -2
- package/dist/{feature-management-Cd9XIX1T.esm.js → feature-management-C1AcD5rd.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +5 -5
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-CwmhqmA6.esm.js → flowCompletionService-oTn3ibc4.esm.js} +1 -1
- package/dist/{flowServices-BtS-fOVI.esm.js → flowServices-Dhk1DZqo.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-BqsxPcAd.esm.js → geolocationManager-DI8eqB0U.esm.js} +1 -1
- package/dist/{geolocationStateMachine-BxXAG2Et.esm.js → geolocationStateMachine-CdCv3jmy.esm.js} +1 -1
- package/dist/government-validation.d.ts +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-DUzWUMjT.d.ts → governmentValidationManager-D02vT4yY.d.ts} +11 -44
- package/dist/governmentValidationManager-DnVUyppQ.esm.js +79 -0
- package/dist/governmentValidationStateMachine-CNzJ5UQb.esm.js +54 -0
- package/dist/home.d.ts +1 -1
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-Bn1CF1jN.esm.js → idCaptureManager-BBvsIuTk.esm.js} +2 -2
- package/dist/{idCaptureManager-BfgptftY.d.ts → idCaptureManager-CfE4iEi0.d.ts} +2 -2
- package/dist/{idCaptureServices-CZwsPLMG.esm.js → idCaptureServices-B8O7BWFE.esm.js} +3 -3
- package/dist/{idCaptureStateMachine-CUZyF8Bl.esm.js → idCaptureStateMachine-jQwNzDxH.esm.js} +8 -8
- package/dist/{index-LHJIYIKJ.d.ts → index-LA6R9BLR.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/{mandatoryConsentManager-Cz98fh9O.d.ts → mandatoryConsentManager-CwDsLyCw.d.ts} +1 -1
- package/dist/{onDeviceFaceResults-B7628vP4.esm.js → onDeviceFaceResults-BEaYEAQR.esm.js} +3 -3
- package/dist/personhood.d.ts +1 -1
- package/dist/personhood.esm.js +3 -3
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-D8KodYem.esm.js → recordingService-BRONjqTm.esm.js} +1 -1
- package/dist/{runChildModule-CL2hhhUD.esm.js → runChildModule-D3A5YiBu.esm.js} +1 -1
- package/dist/{sdkVersion-BHGhwczw.esm.js → sdkVersion-CtvWM_fR.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +4 -4
- package/dist/{selfieManager-DDlagDor.esm.js → selfieManager-SsncUMZ7.esm.js} +2 -2
- package/dist/{selfieManager-yz6zt2t0.d.ts → selfieManager-dki4G9tK.d.ts} +1 -1
- package/dist/{selfieStateMachine-CEZ0hvCQ.esm.js → selfieStateMachine-C2sW_CdL.esm.js} +2 -2
- package/dist/{session-BDsfrJHD.esm.js → session-DMNhhabt.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-BMj0ulTi.esm.js → sessionInitializer-B6oG_vuC.esm.js} +4 -4
- package/dist/{setup-6Ab1eT8N.esm.js → setup-BeHCJ_bb.esm.js} +5 -5
- package/dist/trueSight-ChG3BEfd.esm.js +1 -0
- package/dist/{trueSightService-CFXnK5HX.esm.js → trueSightService-CyI6jCxv.esm.js} +2 -2
- package/dist/{types-DNNUCM_n.d.ts → types-BqezaTnP.d.ts} +0 -2
- package/dist/{types-BNs7Klh_.d.ts → types-C6pPfQxo.d.ts} +1 -1
- package/dist/{types-DqtyPNWa.d.ts → types-D10PIjOT.d.ts} +1 -1
- package/dist/types-DQpi7nkW.d.ts +6 -0
- package/dist/{types-CaqgEfzk.d.ts → types-KeV54Tt6.d.ts} +1 -1
- package/dist/{types-rpRSIpv4.d.ts → types-isCyg__O.d.ts} +1 -1
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-CEFb7dCk.esm.js → videoSelfieCameraWarmer-1XBjf6Me.esm.js} +2 -2
- package/dist/{videoSelfieStepDetector-CcBSD8Gc.d.ts → videoSelfieStepDetector-tHovquP4.d.ts} +2 -2
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +16 -16
- package/package.json +3 -3
- package/dist/governmentValidationManager-Dheo7fh_.esm.js +0 -123
- package/dist/governmentValidationStateMachine-BYKYUdza.esm.js +0 -226
- package/dist/trueSight-B-rervIk.esm.js +0 -1
- package/dist/types-Dm7dzIXw.d.ts +0 -6
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
|
|
2
|
+
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
+
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-CNzJ5UQb.esm.js";
|
|
5
|
+
//#region src/modules/government-validation/governmentValidationActor.ts
|
|
6
|
+
function createGovernmentValidationActor(options) {
|
|
7
|
+
return createActor(governmentValidationMachine, { input: { config: options.config } }).start();
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/modules/government-validation/governmentValidationManager.ts
|
|
11
|
+
/**
|
|
12
|
+
* Maps a Government Validation state-machine snapshot to the exact Figma
|
|
13
|
+
* "Tracked Events" screen name. Source: Government Record Verification
|
|
14
|
+
* Figma file (`https://www.figma.com/design/5J4kaLMl19s8cLyRMUMW32/Government-Record-Verification---Latest-Design?node-id=25911-4095`).
|
|
15
|
+
* Family is `GovernmentRecordValidation.*` (PascalCase verbatim from
|
|
16
|
+
* Figma).
|
|
17
|
+
*
|
|
18
|
+
* The module runs as a backend-only step (no result screen, no OTP
|
|
19
|
+
* sub-flow — see docs/_devhub/Module-Government-Validation.md): only the
|
|
20
|
+
* `loading` state maps to a tracked screen, used while the standard loader
|
|
21
|
+
* is shown. `idle` and `finished` are intentionally unmapped — Figma does
|
|
22
|
+
* not define screens for them and `finished` collapses into
|
|
23
|
+
* `moduleClosed`.
|
|
24
|
+
*/
|
|
25
|
+
function getGovernmentValidationScreenName(snapshot) {
|
|
26
|
+
const stateName = topLevelStateName(snapshot.value);
|
|
27
|
+
if (stateName === void 0) return void 0;
|
|
28
|
+
switch (stateName) {
|
|
29
|
+
case "loading": return "GovernmentRecordValidation.analyzing.default";
|
|
30
|
+
default: return;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The validation outcome itself (success, failure, "unavailable for this
|
|
35
|
+
* country") is never treated as an error — it's recorded server-side once
|
|
36
|
+
* the request reaches the BE, and the flow always advances regardless. So
|
|
37
|
+
* this only fires for the one case the BE never sees: the request failing
|
|
38
|
+
* client-side (offline, timeout, DNS/CORS) before it reaches the backend at
|
|
39
|
+
* all — the state machine's `onError` transition is the sole place that
|
|
40
|
+
* sets `context.error`. Without this, that failure would be invisible both
|
|
41
|
+
* server-side (request never arrived) and client-side (no more `error`
|
|
42
|
+
* state name to drive the default instrumentation heuristic now that the
|
|
43
|
+
* result screen is gone). The UI stays silent either way — this only
|
|
44
|
+
* affects analytics/session events, never what's rendered.
|
|
45
|
+
*/
|
|
46
|
+
function getGovernmentValidationErrorName(snapshot) {
|
|
47
|
+
return snapshot.context.error !== void 0 ? "error.requestFailed" : void 0;
|
|
48
|
+
}
|
|
49
|
+
function getGovernmentValidationErrorPayload(snapshot) {
|
|
50
|
+
return snapshot.context.error !== void 0 ? { reason: "requestFailed" } : void 0;
|
|
51
|
+
}
|
|
52
|
+
function mapState(snapshot) {
|
|
53
|
+
const typedSnapshot = snapshot;
|
|
54
|
+
if (typedSnapshot.matches("loading")) return { status: "loading" };
|
|
55
|
+
if (typedSnapshot.matches("finished")) return { status: "finished" };
|
|
56
|
+
return { status: "idle" };
|
|
57
|
+
}
|
|
58
|
+
function createApi({ actor }) {
|
|
59
|
+
return { load() {
|
|
60
|
+
actor.send({ type: "LOAD" });
|
|
61
|
+
} };
|
|
62
|
+
}
|
|
63
|
+
function createGovernmentValidationManager(options) {
|
|
64
|
+
return createGovernmentValidationManagerFromActor(createGovernmentValidationActor(options));
|
|
65
|
+
}
|
|
66
|
+
function createGovernmentValidationManagerFromActor(actor) {
|
|
67
|
+
return createManager({
|
|
68
|
+
actor,
|
|
69
|
+
mapState,
|
|
70
|
+
createApi,
|
|
71
|
+
instrumentation: createManagerInstrumentation(eventModuleNames.governmentValidation, {
|
|
72
|
+
getEventScreenName: getGovernmentValidationScreenName,
|
|
73
|
+
getErrorName: getGovernmentValidationErrorName,
|
|
74
|
+
getErrorPayload: getGovernmentValidationErrorPayload
|
|
75
|
+
})
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
//#endregion
|
|
79
|
+
export { createGovernmentValidationManagerFromActor as n, createGovernmentValidationManager as t };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
3
|
+
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
|
+
//#region src/modules/government-validation/governmentValidationServices.ts
|
|
6
|
+
async function processGovernmentValidation(signal) {
|
|
7
|
+
const res = await api.post(endpoints.governmentValidation, {}, { signal });
|
|
8
|
+
if (!res.ok) throw new Error(`POST ${endpoints.governmentValidation} failed: ${res.status} ${res.statusText}`);
|
|
9
|
+
return res.data;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region src/modules/government-validation/governmentValidationStateMachine.ts
|
|
13
|
+
/**
|
|
14
|
+
* Government Record Validation runs as a backend-only step (see
|
|
15
|
+
* docs/_devhub/Module-Government-Validation.md): the SDK shows the standard
|
|
16
|
+
* loader while the call resolves, then advances to `finished` regardless of
|
|
17
|
+
* the validation outcome (success, failure, or unavailable for the
|
|
18
|
+
* country). The outcome is recorded server-side (BE logs / session events)
|
|
19
|
+
* for CS and debugging — nothing is surfaced to the end user, so there is
|
|
20
|
+
* no result screen and no OTP sub-flow here.
|
|
21
|
+
*/
|
|
22
|
+
const governmentValidationMachine = setup({
|
|
23
|
+
types: {
|
|
24
|
+
context: {},
|
|
25
|
+
events: {},
|
|
26
|
+
input: {}
|
|
27
|
+
},
|
|
28
|
+
actors: { processValidation: fromPromise(async ({ signal }) => {
|
|
29
|
+
return processGovernmentValidation(signal);
|
|
30
|
+
}) },
|
|
31
|
+
actions: { setError: assign(({ event }) => ({ error: String(event.error) })) }
|
|
32
|
+
}).createMachine({
|
|
33
|
+
id: "governmentValidation",
|
|
34
|
+
initial: "idle",
|
|
35
|
+
context: ({ input }) => ({
|
|
36
|
+
config: input.config,
|
|
37
|
+
error: void 0
|
|
38
|
+
}),
|
|
39
|
+
states: {
|
|
40
|
+
idle: { on: { LOAD: { target: "loading" } } },
|
|
41
|
+
loading: { invoke: {
|
|
42
|
+
id: "processValidation",
|
|
43
|
+
src: "processValidation",
|
|
44
|
+
onDone: { target: "finished" },
|
|
45
|
+
onError: {
|
|
46
|
+
target: "finished",
|
|
47
|
+
actions: "setError"
|
|
48
|
+
}
|
|
49
|
+
} },
|
|
50
|
+
finished: { type: "final" }
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
//#endregion
|
|
54
|
+
export { governmentValidationMachine as t };
|
package/dist/home.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as StateMachine, C as StateValue, a as ActorRefFromLogic, c as AnyEventObject, g as IsNotNever, h as InputFrom, k as MachineSnapshot, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, v as MetaObject, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
|
|
2
2
|
import "./StateMachine-EDpYWy0i.js";
|
|
3
3
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
4
|
-
import { t as EmptyConfig } from "./types-
|
|
4
|
+
import { t as EmptyConfig } from "./types-BqezaTnP.js";
|
|
5
5
|
//#region src/modules/home/types.d.ts
|
|
6
6
|
type HomeConfig = EmptyConfig;
|
|
7
7
|
//#endregion
|
package/dist/id-selfie-flow.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import "./Actor-iTq7YY48.js";
|
|
|
4
4
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
5
5
|
import { t as DetectionOrientation } from "./IIdCaptureCapability-DDWlQzhi.js";
|
|
6
6
|
import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
|
|
7
|
-
import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-
|
|
7
|
+
import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-tHovquP4.js";
|
|
8
8
|
//#region src/modules/id-selfie-flow/types.d.ts
|
|
9
9
|
/**
|
|
10
10
|
* The capture steps an ID + Selfie flow session can run, in flow order. A
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-BeHCJ_bb.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
|
-
import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-
|
|
4
|
+
import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-Dhk1DZqo.esm.js";
|
|
5
5
|
import { c as createManager, n as sendTo, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
6
6
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
7
|
-
import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-
|
|
7
|
+
import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-BEaYEAQR.esm.js";
|
|
8
8
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
9
9
|
import { a as uploadSelfie, r as processFace } from "./selfieErrorUtils-ArUCoICg.esm.js";
|
|
10
10
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
11
11
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-Dowxd3J3.esm.js";
|
|
12
|
-
import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-
|
|
13
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
14
|
-
import { a as delay, c as isWrongVideoSelfieIdSide, n as defaultAcquireCamera, r as CameraCompositor, s as isSelfieValidationError } from "./videoSelfieCameraWarmer-
|
|
12
|
+
import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-B8O7BWFE.esm.js";
|
|
13
|
+
import { n as getFinishStatus } from "./flowCompletionService-oTn3ibc4.esm.js";
|
|
14
|
+
import { a as delay, c as isWrongVideoSelfieIdSide, n as defaultAcquireCamera, r as CameraCompositor, s as isSelfieValidationError } from "./videoSelfieCameraWarmer-1XBjf6Me.esm.js";
|
|
15
15
|
//#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
|
|
16
16
|
/** Default autocapture window for the selfie step. */
|
|
17
17
|
const SELFIE_AUTOCAPTURE_MS = 1e4;
|
package/dist/id.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapabil
|
|
|
2
2
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
3
3
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
4
4
|
import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-DDWlQzhi.js";
|
|
5
|
-
import { A as ManualUploadSide, C as RecordingSession, D as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, E as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, O as MANUAL_UPLOAD_MAX_RETRIES, S as IdFlowStep, _ as IdCaptureThresholds, a as DetectionArea, b as IdError, c as IdCaptureConfig, d as IdCaptureEvent, f as IdCaptureGeometry, g as IdCaptureOutput, h as IdCaptureOnlyConfig, i as CapturedImage, j as ManualUploadTab, k as ManualUploadContext, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, r as CaptureOnlyResponse, s as ID_ERROR_CODES, t as AddBarcodeV3Response, u as IdCaptureDependencies, v as IdCapturedImageData, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-
|
|
6
|
-
import { A as createIdCaptureActor, C as CreateIdCaptureOnlyActorOptions, D as idCaptureOnlyMachine, E as IdCaptureOnlyMachine, M as idCaptureMachine, O as CreateIdCaptureActorOptions, S as validateUploadResponse, T as createIdCaptureOnlyActor, _ as startRecordingSession, a as AddBarcodeParams, b as uploadIdImage, c as StartRecordingParams, d as ValidationError, f as addBarcode, g as processId, h as preloadIdRecordingProvider, j as IdCaptureMachine, k as IdCaptureActor, l as UploadIdImageParams, m as initializeIdCapture, n as IdCaptureManager, o as IdCaptureInitResult, p as barcodeToBase64, r as IdCaptureState, s as InitializeIdCaptureParams, t as createIdCaptureManager, u as UploadManualIdFileParams, v as stopRecording, w as IdCaptureOnlyActor, x as uploadManualIdFile, y as stopStream } from "./idCaptureManager-
|
|
5
|
+
import { A as ManualUploadSide, C as RecordingSession, D as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, E as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, O as MANUAL_UPLOAD_MAX_RETRIES, S as IdFlowStep, _ as IdCaptureThresholds, a as DetectionArea, b as IdError, c as IdCaptureConfig, d as IdCaptureEvent, f as IdCaptureGeometry, g as IdCaptureOutput, h as IdCaptureOnlyConfig, i as CapturedImage, j as ManualUploadTab, k as ManualUploadContext, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, r as CaptureOnlyResponse, s as ID_ERROR_CODES, t as AddBarcodeV3Response, u as IdCaptureDependencies, v as IdCapturedImageData, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-isCyg__O.js";
|
|
6
|
+
import { A as createIdCaptureActor, C as CreateIdCaptureOnlyActorOptions, D as idCaptureOnlyMachine, E as IdCaptureOnlyMachine, M as idCaptureMachine, O as CreateIdCaptureActorOptions, S as validateUploadResponse, T as createIdCaptureOnlyActor, _ as startRecordingSession, a as AddBarcodeParams, b as uploadIdImage, c as StartRecordingParams, d as ValidationError, f as addBarcode, g as processId, h as preloadIdRecordingProvider, j as IdCaptureMachine, k as IdCaptureActor, l as UploadIdImageParams, m as initializeIdCapture, n as IdCaptureManager, o as IdCaptureInitResult, p as barcodeToBase64, r as IdCaptureState, s as InitializeIdCaptureParams, t as createIdCaptureManager, u as UploadManualIdFileParams, v as stopRecording, w as IdCaptureOnlyActor, x as uploadManualIdFile, y as stopStream } from "./idCaptureManager-CfE4iEi0.js";
|
|
7
7
|
//#region src/modules/id/idCaptureOnlyManager.d.ts
|
|
8
8
|
type IdCaptureOnlyManager = IdCaptureManager;
|
|
9
9
|
/**
|
package/dist/id.esm.js
CHANGED
|
@@ -2,9 +2,9 @@ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-C8847M9W.e
|
|
|
2
2
|
import { n as eventModuleNames } from "./events-DYiyoSlx.esm.js";
|
|
3
3
|
import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
|
-
import { a as MANUAL_UPLOAD_MAX_RETRIES, i as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
6
|
-
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
7
|
-
import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, n as barcodeToBase64, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-
|
|
5
|
+
import { a as MANUAL_UPLOAD_MAX_RETRIES, i as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine } from "./idCaptureStateMachine-jQwNzDxH.esm.js";
|
|
6
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-BBvsIuTk.esm.js";
|
|
7
|
+
import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, n as barcodeToBase64, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-B8O7BWFE.esm.js";
|
|
8
8
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-GpvMuz9o.esm.js";
|
|
9
9
|
//#region src/modules/id/idCaptureOnlyStateMachine.ts
|
|
10
10
|
function buildSubImage(canvas) {
|
|
@@ -5,8 +5,8 @@ import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.
|
|
|
5
5
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Dd7Yj25O.esm.js";
|
|
6
6
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
|
|
7
7
|
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-Dgtg_4Lv.esm.js";
|
|
8
|
-
import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
9
|
-
import { m as resolveIdCaptureThresholds, p as resolveCaptureResultPreviewTreatment } from "./idCaptureServices-
|
|
8
|
+
import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-jQwNzDxH.esm.js";
|
|
9
|
+
import { m as resolveIdCaptureThresholds, p as resolveCaptureResultPreviewTreatment } from "./idCaptureServices-B8O7BWFE.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) {
|
|
@@ -5,11 +5,11 @@ import "./Actor-iTq7YY48.js";
|
|
|
5
5
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
6
6
|
import "./index-B8weJxmL.js";
|
|
7
7
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
8
|
-
import { a as RegulationTypes } from "./types-
|
|
8
|
+
import { a as RegulationTypes } from "./types-BqezaTnP.js";
|
|
9
9
|
import { n as PermissionStatus } from "./types-BEwVKkLJ.js";
|
|
10
10
|
import { t as DeepsightService } from "./deepsightService-Dr7sNZ5r.js";
|
|
11
11
|
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-DDWlQzhi.js";
|
|
12
|
-
import { A as ManualUploadSide, C as RecordingSession, T as IAnalyticsCapability, a as DetectionArea, c as IdCaptureConfig, d as IdCaptureEvent, g as IdCaptureOutput, h as IdCaptureOnlyConfig, j as ManualUploadTab, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, t as AddBarcodeV3Response, u as IdCaptureDependencies, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-
|
|
12
|
+
import { A as ManualUploadSide, C as RecordingSession, T as IAnalyticsCapability, a as DetectionArea, c as IdCaptureConfig, d as IdCaptureEvent, g as IdCaptureOutput, h as IdCaptureOnlyConfig, j as ManualUploadTab, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, t as AddBarcodeV3Response, u as IdCaptureDependencies, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-isCyg__O.js";
|
|
13
13
|
//#region src/modules/id/idCaptureStateMachine.d.ts
|
|
14
14
|
declare const idCaptureMachine: AnyStateMachine;
|
|
15
15
|
type IdCaptureMachine = StateMachine<IdCaptureContext, IdCaptureEvent, any, any, any, any, any, any, any, IdCaptureInput, any, any, any, any>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-
|
|
1
|
+
import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-C1AcD5rd.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
4
4
|
import { i as isDesktop } from "./platform-Q4r1nvWX.esm.js";
|
|
5
5
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
7
7
|
import { s as queryCameraPermission } from "./permissionServices-Dgtg_4Lv.esm.js";
|
|
8
|
-
import { h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-
|
|
8
|
+
import { h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-BEaYEAQR.esm.js";
|
|
9
9
|
import { a as isBackFacingTrack, n as getBackCameraStream } from "./backCameraStream-DtkmDQo7.esm.js";
|
|
10
10
|
import { t as getDeviceClass } from "./getDeviceClass-Sh0zhEv7.esm.js";
|
|
11
|
-
import { n as preloadOpenViduProvider } from "./recordingService-
|
|
11
|
+
import { n as preloadOpenViduProvider } from "./recordingService-BRONjqTm.esm.js";
|
|
12
12
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-Dowxd3J3.esm.js";
|
|
13
13
|
//#region src/internal/camera/cameraServices.ts
|
|
14
14
|
function createCameraServices(camera) {
|
package/dist/{idCaptureStateMachine-CUZyF8Bl.esm.js → idCaptureStateMachine-jQwNzDxH.esm.js}
RENAMED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
|
-
import { s as exposeExperimentOnce } from "./feature-management-
|
|
2
|
+
import { s as exposeExperimentOnce } from "./feature-management-C1AcD5rd.esm.js";
|
|
3
3
|
import { n as revokeObjectURL } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
4
4
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
5
|
-
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
5
|
+
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-CyI6jCxv.esm.js";
|
|
6
6
|
import { n as eventModuleNames, s as recordExperimentAssignmentOnce } from "./events-DYiyoSlx.esm.js";
|
|
7
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
8
|
-
import "./trueSight-
|
|
7
|
+
import { t as getDisableIpify } from "./sessionInitializer-B6oG_vuC.esm.js";
|
|
8
|
+
import "./trueSight-ChG3BEfd.esm.js";
|
|
9
9
|
import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
|
|
10
10
|
import { t as isAndroid } from "./platform-Q4r1nvWX.esm.js";
|
|
11
|
-
import "./session-
|
|
11
|
+
import "./session-DMNhhabt.esm.js";
|
|
12
12
|
import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
13
13
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
14
14
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-Dgtg_4Lv.esm.js";
|
|
15
|
-
import { _ as StreamCanvasProcessingSession } from "./onDeviceFaceResults-
|
|
15
|
+
import { _ as StreamCanvasProcessingSession } from "./onDeviceFaceResults-BEaYEAQR.esm.js";
|
|
16
16
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
17
17
|
import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
|
|
18
18
|
import { t as getBrowser } from "./getBrowser-DNrQeL4T.esm.js";
|
|
@@ -20,7 +20,7 @@ import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
|
20
20
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
21
21
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DJNYwEOq.esm.js";
|
|
22
22
|
import { r as flagIdManualReview, t as imageFileToDataUrl } from "./imageFile-DutiOU7n.esm.js";
|
|
23
|
-
import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, g as getIdCameraStream, h as CAPTURE_RESULT_PREVIEW, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-
|
|
23
|
+
import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, g as getIdCameraStream, h as CAPTURE_RESULT_PREVIEW, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-B8O7BWFE.esm.js";
|
|
24
24
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
25
25
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
26
26
|
function isKnownFailReason(reason) {
|
|
@@ -1284,7 +1284,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
|
|
|
1284
1284
|
});
|
|
1285
1285
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
1286
1286
|
if (!input.dependencies) return;
|
|
1287
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1287
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-BtPlGn0u.esm.js");
|
|
1288
1288
|
return loadDeepsightSession({
|
|
1289
1289
|
ds: input.ds,
|
|
1290
1290
|
storage: input.dependencies.storage,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./Manager-CQQ99QOI.js";
|
|
2
|
-
import { n as Flow } from "./types-
|
|
2
|
+
import { n as Flow } from "./types-BqezaTnP.js";
|
|
3
3
|
import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
|
|
4
4
|
//#region src/internal/flow-events/flowEvents.d.ts
|
|
5
5
|
type FlowStartedEvent = {
|
package/dist/index.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-BeHCJ_bb.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as MandatoryConsentConfig } from "./types-
|
|
2
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
1
|
+
import { r as MandatoryConsentConfig } from "./types-D10PIjOT.js";
|
|
2
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-CwDsLyCw.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-Cz98fh9O.d.ts → mandatoryConsentManager-CwDsLyCw.d.ts}
RENAMED
|
@@ -2,7 +2,7 @@ import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorR
|
|
|
2
2
|
import "./StateMachine-EDpYWy0i.js";
|
|
3
3
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
4
4
|
import "./Actor-iTq7YY48.js";
|
|
5
|
-
import { n as MandatoryConsent, r as MandatoryConsentConfig, t as FetchMandatoryConsentResponse } from "./types-
|
|
5
|
+
import { n as MandatoryConsent, r as MandatoryConsentConfig, t as FetchMandatoryConsentResponse } from "./types-D10PIjOT.js";
|
|
6
6
|
//#region src/modules/mandatory-consent/mandatoryConsentStateMachine.d.ts
|
|
7
7
|
type MandatoryConsentContext = {
|
|
8
8
|
config: MandatoryConsentConfig;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as mlWasmJSApi_default, i as BaseWasmProvider } from "./safeStorage-2nOSCCnG.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-CyI6jCxv.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
5
|
-
import "./trueSight-
|
|
5
|
+
import "./trueSight-ChG3BEfd.esm.js";
|
|
6
6
|
import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
|
|
7
7
|
import { i as isDesktop, s as isIPhone14OrHigher } from "./platform-Q4r1nvWX.esm.js";
|
|
8
8
|
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
|
|
@@ -523,7 +523,7 @@ async function stopRecording(session) {
|
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
525
|
async function initializeDeepsightSession(options) {
|
|
526
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
526
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-BtPlGn0u.esm.js");
|
|
527
527
|
return loadDeepsightSession({
|
|
528
528
|
ds: options.ds,
|
|
529
529
|
storage: options.storage
|
package/dist/personhood.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
|
6
6
|
import { y as IncodeCanvas } from "./createFaceAvatar-pUEkdk4X.js";
|
|
7
7
|
import { i as IStorageCapability, t as IWasmUtilCapability } from "./IWasmUtilCapability-5-Pncgma.js";
|
|
8
8
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
9
|
-
import { n as DetectionStatus } from "./types-
|
|
9
|
+
import { n as DetectionStatus } from "./types-KeV54Tt6.js";
|
|
10
10
|
import { t as FaceDetectionProvider } from "./FaceDetectionProvider-Cn1wS-sA.js";
|
|
11
11
|
import { n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-Dr7sNZ5r.js";
|
|
12
12
|
//#region src/modules/personhood/types.d.ts
|
package/dist/personhood.esm.js
CHANGED
|
@@ -2,15 +2,15 @@ import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
|
|
|
2
2
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-C8847M9W.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-CyI6jCxv.esm.js";
|
|
6
6
|
import { n as eventModuleNames } from "./events-DYiyoSlx.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-B6oG_vuC.esm.js";
|
|
8
8
|
import { t as endpoints } from "./endpoints-CCzL3XD_.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
11
|
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
|
|
12
12
|
import { i as requestPermission, t as checkPermission } from "./permissionServices-Dgtg_4Lv.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-BEaYEAQR.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 QE_CONSENT_KEYS, c as getDefaultConsentChecks, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-DRIGL3o_.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 isAndroid } from "./platform-Q4r1nvWX.esm.js";
|
|
2
|
-
import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-
|
|
2
|
+
import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-BEaYEAQR.esm.js";
|
|
3
3
|
import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-vXDI73LZ.esm.js";
|
|
4
4
|
//#region ../infra/src/media/VideoTrimmer.ts
|
|
5
5
|
async function getDurationBySeek(videoBlob) {
|
|
@@ -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-CyI6jCxv.esm.js";
|
|
3
3
|
import { C as createEventBus } from "./events-DYiyoSlx.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.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-D6qnBVUw.js";
|
|
3
3
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
4
4
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
5
|
-
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-
|
|
5
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-KeV54Tt6.js";
|
|
6
6
|
import { t as DeepsightService } from "./deepsightService-Dr7sNZ5r.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-dki4G9tK.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
|
@@ -3,11 +3,11 @@ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-C8847M9W.e
|
|
|
3
3
|
import { n as eventModuleNames } from "./events-DYiyoSlx.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-vjurLoly.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-PDJ6EyX8.esm.js";
|
|
8
8
|
import { r as processFace } from "./selfieErrorUtils-ArUCoICg.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-C2sW_CdL.esm.js";
|
|
10
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-SsncUMZ7.esm.js";
|
|
11
11
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-GpvMuz9o.esm.js";
|
|
12
12
|
//#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
|
|
13
13
|
/**
|
|
@@ -2,8 +2,8 @@ import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
|
|
|
2
2
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-C8847M9W.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-DYiyoSlx.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-PDJ6EyX8.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-C2sW_CdL.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-D6qnBVUw.js";
|
|
4
4
|
//#region src/modules/selfie/selfieManager.d.ts
|
|
5
5
|
type SelfieState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
|
@@ -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 { 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-vjurLoly.esm.js";
|
|
4
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BEaYEAQR.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-ArUCoICg.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieStateMachine.ts
|
|
@@ -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-CyI6jCxv.esm.js";
|
|
3
|
+
import "./sessionInitializer-B6oG_vuC.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
5
|
-
import "./trueSight-
|
|
6
|
-
import { r as toIncodeApiError } from "./apiError-
|
|
5
|
+
import "./trueSight-ChG3BEfd.esm.js";
|
|
6
|
+
import { r as toIncodeApiError } from "./apiError-CmLuTu8c.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.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as DeviceFingerprintResult } from "./types-
|
|
1
|
+
import { t as DeviceFingerprintResult } from "./types-C6pPfQxo.js";
|
|
2
2
|
import { n as FinishStatus, r as GetFinishStatusFn, s as getFinishStatus } from "./flowCompletionService-BlAHsKyv.js";
|
|
3
3
|
//#region src/internal/session/sessionService.d.ts
|
|
4
4
|
type CreateSessionOptions = {
|
package/dist/session.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { 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-B6oG_vuC.esm.js";
|
|
2
|
+
import { t as IncodeApiError } from "./apiError-CmLuTu8c.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-DMNhhabt.esm.js";
|
|
4
|
+
import { n as getFinishStatus } from "./flowCompletionService-oTn3ibc4.esm.js";
|
|
5
5
|
export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, bootstrapSession, createSession, getFinishStatus, initializeSession, refreshQrUrlUuid, validateQrUuid };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
1
|
+
import { E as updateFeatureManagementUser } from "./feature-management-C1AcD5rd.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-CyI6jCxv.esm.js";
|
|
4
4
|
import { v as addEvent, y as getAnalyticsBatcher } from "./events-DYiyoSlx.esm.js";
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-CtvWM_fR.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
7
|
-
import "./trueSight-
|
|
7
|
+
import "./trueSight-ChG3BEfd.esm.js";
|
|
8
8
|
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-B0nFKawG.esm.js";
|
|
9
9
|
import { n as UAParser, t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
|
|
10
10
|
import { a as isIOS } from "./platform-Q4r1nvWX.esm.js";
|
|
@@ -2,17 +2,17 @@ import { a as resolveWasmConfig } from "./wasmDefaults-BrwMccqW.esm.js";
|
|
|
2
2
|
import { o as setWasmOnDeviceMode, r as WasmUtilProvider, s as warmupWasm } from "./safeStorage-2nOSCCnG.esm.js";
|
|
3
3
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-C8847M9W.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
|
-
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-
|
|
5
|
+
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-C1AcD5rd.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 { 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-
|
|
8
|
+
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-CyI6jCxv.esm.js";
|
|
9
9
|
import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-DYiyoSlx.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-B6oG_vuC.esm.js";
|
|
11
11
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
12
|
-
import "./trueSight-
|
|
12
|
+
import "./trueSight-ChG3BEfd.esm.js";
|
|
13
13
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-B0nFKawG.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-Dhk1DZqo.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-CyI6jCxv.esm.js";
|
|
@@ -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-DYiyoSlx.esm.js";
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-CtvWM_fR.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-CCzL3XD_.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-CIFvfYjU.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
|
|
1324
1324
|
return cryptoProviderPromise;
|
|
1325
1325
|
}
|
|
1326
1326
|
/**
|