@incodetech/core 0.0.0-dev-20261118-bea87396 → 0.0.0-dev-20261118-a5baca6e
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/{FaceDetectionProvider-DyOp7qno.esm.js → FaceDetectionProvider-BWGLAUcT.esm.js} +4 -4
- package/dist/{MotionSensorProvider-DYxh8TjR.esm.js → MotionSensorProvider-X4_2eBGd.esm.js} +15 -0
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-BHbNQK6g.esm.js → apiError-BSvcMDWp.esm.js} +1 -1
- package/dist/authentication.d.ts +2 -2
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DojIy3-r.esm.js → authenticationManager-BdgHmyEG.esm.js} +3 -3
- package/dist/{authenticationManager-eYcurNiS.d.ts → authenticationManager-DeN8mraQ.d.ts} +1 -1
- package/dist/{authenticationStateMachine-CQptatmq.esm.js → authenticationStateMachine-3LoWXg-a.esm.js} +3 -3
- package/dist/camera.d.ts +5 -1
- package/dist/camera.esm.js +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-DlvhoJYc.d.ts → consentManager-Bx_osBME.d.ts} +5 -5
- package/dist/{deepsightLoader-C7tRlbHE.esm.js → deepsightLoader-Bl0pNuNf.esm.js} +4 -4
- package/dist/{desktopCameraElection-Bu2QTynu.esm.js → desktopCameraElection-DGq3YDWU.esm.js} +1 -1
- package/dist/document-capture.d.ts +2 -2
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-signature.esm.js +1 -1
- package/dist/{documentCaptureManager-Bt3-8L6d.esm.js → documentCaptureManager-D9LE-4ey.esm.js} +1 -1
- package/dist/{documentCaptureManager-BhGmZFF7.d.ts → documentCaptureManager-DLWTqjUr.d.ts} +2 -2
- package/dist/{documentCaptureStateMachine-BUy1LJ4r.esm.js → documentCaptureStateMachine-SXXKqpZz.esm.js} +4 -3
- package/dist/{documentSignatureStateMachine-L0CAzXlq.esm.js → documentSignatureStateMachine-i3Ff_Eu-.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-BmYwxjMz.esm.js → dynamicFormsManager-CFdNg1rT.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-BGrwidye.esm.js → dynamicFormsStateMachine-B3QwTmnp.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-C6wd7abj.esm.js → ekybManager-lgZscObl.esm.js} +1 -1
- package/dist/{ekybStateMachine-DcXruUEw.esm.js → ekybStateMachine-BE6HRAfU.esm.js} +1137 -10
- package/dist/{ekybUtils-Cw8Ta9Qi.esm.js → ekybUtils-Z9MhFAer.esm.js} +11 -1
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/{ekycPrefillManager-BF6YIJ_s.d.ts → ekycPrefillManager-BcLhkpp8.d.ts} +4 -4
- package/dist/{ekycPrefillManager-CQeOyK3g.esm.js → ekycPrefillManager-R76m9DQ3.esm.js} +1 -1
- package/dist/{ekycPrefillStateMachine-B9j3N9tg.esm.js → ekycPrefillStateMachine-DzPUs_J0.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-CZJT-cP0.esm.js → electronicSignatureManager-BftT5_MQ.esm.js} +1 -1
- package/dist/extensibility.d.ts +11 -11
- package/dist/extensibility.esm.js +13 -13
- package/dist/{faceCaptureManagerFactory-DhDPxxp-.d.ts → faceCaptureManagerFactory-D0pyWORs.d.ts} +10 -4
- package/dist/{faceCaptureManagerFactory-zl1-x8X3.esm.js → faceCaptureManagerFactory-DF47tZXj.esm.js} +12 -7
- package/dist/{faceCaptureSetup-BHhaHasA.esm.js → faceCaptureSetup-BFPZy6WC.esm.js} +48 -34
- package/dist/{feature-management-Bmj87Idj.esm.js → feature-management-D3tsEbfQ.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-CctBH9ME.esm.js → flowCompletionService-B7VEC-6p.esm.js} +1 -1
- package/dist/{flowServices-BqKFA-KF.esm.js → flowServices-BPUNQ6t0.esm.js} +5 -5
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-iima-ArA.esm.js → geolocationManager-qzZYC2v_.esm.js} +1 -1
- package/dist/{geolocationStateMachine-BgGrUi1V.esm.js → geolocationStateMachine-C8GoJ7wP.esm.js} +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-BlBSgE33.esm.js → idCaptureManager-CmMKMlMv.esm.js} +12 -6
- package/dist/{idCaptureManager-DzAMWmRO.d.ts → idCaptureManager-kmR_AuiW.d.ts} +5 -2
- package/dist/{idCaptureServices-Cd6JUTug.esm.js → idCaptureServices-QCMz4i3g.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-BSNB8Rpp.esm.js → idCaptureStateMachine-CkQBNR5g.esm.js} +57 -40
- package/dist/{idOcrManager-C0C7lFGd.d.ts → idOcrManager-CNGVEZ7B.d.ts} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-CZ-qJ_Aa.d.ts → identityReuseManager-D_jiHp1n.d.ts} +4 -4
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-Cn5RfoVj.esm.js → kybChecksManager-Dm0BvGqp.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-Bw3n70_i.esm.js → kybChecksStateMachine-B0ld1vE7.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-BGGbTEwN.d.ts → mandatoryConsentManager-EQg24XFE.d.ts} +5 -5
- package/dist/{permissionGuards-Dkz3FWte.esm.js → permissionGuards-BN_Tyjgt.esm.js} +1 -1
- package/dist/{permissionServices-IayHAnIi.esm.js → permissionServices-DB7ckY8v.esm.js} +16 -5
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-BsmLJkbX.esm.js → runChildModule-B7yIPr42.esm.js} +1 -1
- package/dist/{sdkVersion-_BuyE9lC.esm.js → sdkVersion-Dyl2s20I.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieErrorUtils-CEjbbyBL.esm.js → selfieErrorUtils-BV5VIq3v.esm.js} +1 -1
- package/dist/{selfieManager-C5a6Fw6W.d.ts → selfieManager-CAaZRbem.d.ts} +1 -1
- package/dist/{selfieManager-BZTasf11.esm.js → selfieManager-CBYgnvRZ.esm.js} +3 -3
- package/dist/{selfieStateMachine-DwgbLrWQ.esm.js → selfieStateMachine-DlTbqoOU.esm.js} +3 -3
- package/dist/{session-zsv6dtH2.esm.js → session-CawSv5pj.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-BgR-PvPZ.esm.js → sessionInitializer-Bauw70jM.esm.js} +3 -3
- package/dist/{setup-BlyLHjUD.esm.js → setup-L_AR4Em0.esm.js} +4 -4
- package/dist/{trueSightService-DN8S9-4m.esm.js → trueSightService-MT5_9XBE.esm.js} +1 -1
- package/dist/{types-BBHnkH6S.d.ts → types-Bybof0yq.d.ts} +8 -1
- package/dist/{types-BEwVKkLJ.d.ts → types-CeEcakO7.d.ts} +7 -1
- package/dist/{types-CaVUb1DL.d.ts → types-Cy6Lx3L6.d.ts} +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-DjFYeAU8.esm.js → videoSelfieCameraWarmer-DDTpSiXF.esm.js} +4 -4
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +18 -18
- package/package.json +3 -3
package/dist/{FaceDetectionProvider-DyOp7qno.esm.js → FaceDetectionProvider-BWGLAUcT.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l as wasmRuntime } from "./warmup-BZOMg303.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-L_AR4Em0.esm.js";
|
|
3
3
|
import { r as BaseWasmProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
4
4
|
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
5
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
6
|
-
import "./sessionInitializer-
|
|
5
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-MT5_9XBE.esm.js";
|
|
6
|
+
import "./sessionInitializer-Bauw70jM.esm.js";
|
|
7
7
|
import { t as addDeviceStats } from "./stats-VqHbD5rn.esm.js";
|
|
8
8
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
9
9
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
@@ -234,7 +234,7 @@ function startDetection(params) {
|
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
236
|
async function initializeDeepsightSession(options) {
|
|
237
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
237
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-Bl0pNuNf.esm.js");
|
|
238
238
|
return loadDeepsightSession({
|
|
239
239
|
ds: options.ds,
|
|
240
240
|
storage: options.storage
|
|
@@ -17,6 +17,21 @@ var MotionSensorProvider = class MotionSensorProvider {
|
|
|
17
17
|
static hasMotionPermissionDeniedInSession() {
|
|
18
18
|
return MotionSensorProvider.readSessionFlag(MOTION_PERMISSION_DENIED_KEY);
|
|
19
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* Forgets a Motion & Orientation denial stored for this page session, so the
|
|
22
|
+
* next `requestPermission()` asks iOS again instead of answering from
|
|
23
|
+
* storage. The stored flag survives a page reload, so without this a user
|
|
24
|
+
* who denied once can never be asked again in the same tab.
|
|
25
|
+
*
|
|
26
|
+
* Call it only right before a request made from a user tap: iOS shows its
|
|
27
|
+
* prompt only during a user gesture. Safari may still answer with its own
|
|
28
|
+
* cached denial, without a prompt, until the browser is relaunched.
|
|
29
|
+
*/
|
|
30
|
+
static clearMotionPermissionDeniedInSession() {
|
|
31
|
+
const storage = resolveSessionStorage();
|
|
32
|
+
if (!storage) return;
|
|
33
|
+
storage.removeItem(MOTION_PERMISSION_DENIED_KEY);
|
|
34
|
+
}
|
|
20
35
|
constructor(thresholds) {
|
|
21
36
|
this._isRunning = false;
|
|
22
37
|
this.acl = null;
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BftT5_MQ.esm.js";
|
|
2
2
|
//#region src/modules/ae-signature/index.ts
|
|
3
3
|
function createAeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
1
|
+
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-D0pyWORs.js";
|
|
2
2
|
import { t as AuthenticationConfig } from "./types-C2uJrJrS.js";
|
|
3
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
3
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-DeN8mraQ.js";
|
|
4
4
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
2
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-3LoWXg-a.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BdgHmyEG.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-DojIy3-r.esm.js → authenticationManager-BdgHmyEG.esm.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-L_AR4Em0.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
4
4
|
import "./events-CsPmTidH.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
7
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
6
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DF47tZXj.esm.js";
|
|
7
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-3LoWXg-a.esm.js";
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
10
10
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
3
|
-
import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-D0pyWORs.js";
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
3
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
5
|
-
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BFPZy6WC.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BWGLAUcT.esm.js";
|
|
5
|
+
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-DGq3YDWU.esm.js";
|
|
6
6
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
7
7
|
const AUTH_ERROR_MAP = {
|
|
8
8
|
SPOOF_ATTEMPT_DETECTED: FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED,
|
package/dist/camera.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
1
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-CeEcakO7.js";
|
|
2
2
|
//#region src/internal/permissions/permissionServices.d.ts
|
|
3
3
|
type RequestPermissionOptions = {
|
|
4
4
|
requestMotion?: boolean;
|
|
@@ -33,6 +33,10 @@ declare function checkPermission(): Promise<PermissionResult>;
|
|
|
33
33
|
* stops the obtained stream. When `requestMotion` is true (deepsight), requests
|
|
34
34
|
* motion OS permission first, then primes WASM sensors while it requests the
|
|
35
35
|
* camera — all in one user gesture chain, as in SDK v1.
|
|
36
|
+
*
|
|
37
|
+
* Public contract: a motion denial reports `'denied'`, the same as a camera
|
|
38
|
+
* denial. The capture machines use `requestPermissionOutcome` instead, which
|
|
39
|
+
* tells the two apart.
|
|
36
40
|
*/
|
|
37
41
|
declare function requestPermission(options?: RequestPermissionOptions): Promise<PermissionResult>;
|
|
38
42
|
//#endregion
|
package/dist/camera.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as requestPermission, t as checkPermission } from "./permissionServices-
|
|
1
|
+
import { a as requestPermission, t as checkPermission } from "./permissionServices-DB7ckY8v.esm.js";
|
|
2
2
|
export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-
|
|
1
|
+
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-Bx_osBME.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -75,14 +75,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
75
75
|
id: string | undefined;
|
|
76
76
|
};
|
|
77
77
|
}>, Values<{
|
|
78
|
-
setError: {
|
|
79
|
-
type: "setError";
|
|
80
|
-
params: NonReducibleUnknown;
|
|
81
|
-
};
|
|
82
78
|
clearError: {
|
|
83
79
|
type: "clearError";
|
|
84
80
|
params: NonReducibleUnknown;
|
|
85
81
|
};
|
|
82
|
+
setError: {
|
|
83
|
+
type: "setError";
|
|
84
|
+
params: NonReducibleUnknown;
|
|
85
|
+
};
|
|
86
86
|
setLoadError: {
|
|
87
87
|
type: "setLoadError";
|
|
88
88
|
params: NonReducibleUnknown;
|
|
@@ -102,7 +102,7 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
102
102
|
}>, {
|
|
103
103
|
type: "canSubmit";
|
|
104
104
|
params: unknown;
|
|
105
|
-
}, never, "error" | "idle" | "finished" | "
|
|
105
|
+
}, never, "error" | "idle" | "finished" | "submitting" | "loading" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
106
106
|
readonly id: "consent";
|
|
107
107
|
readonly initial: "idle";
|
|
108
108
|
readonly context: ({ input }: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
2
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
3
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
4
|
-
import { C as BrowserEnvironmentProvider, S as IpifyProvider, T as SDK_PLATFORM, b as getThumbmarkId, n as getDisableIpify, r as getFingerprintEnabled, v as isBrowserSimulation, w as fingerprintSignalsReporter } from "./sessionInitializer-
|
|
2
|
+
import { u as trueSightLog } from "./trueSightService-MT5_9XBE.esm.js";
|
|
3
|
+
import { t as SDK_VERSION } from "./sdkVersion-Dyl2s20I.esm.js";
|
|
4
|
+
import { C as BrowserEnvironmentProvider, S as IpifyProvider, T as SDK_PLATFORM, b as getThumbmarkId, n as getDisableIpify, r as getFingerprintEnabled, v as isBrowserSimulation, w as fingerprintSignalsReporter } from "./sessionInitializer-Bauw70jM.esm.js";
|
|
5
5
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
6
6
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
7
7
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BHm1d2gA.esm.js";
|
|
8
|
-
import { t as MotionSensorProvider } from "./MotionSensorProvider-
|
|
8
|
+
import { t as MotionSensorProvider } from "./MotionSensorProvider-X4_2eBGd.esm.js";
|
|
9
9
|
import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
10
|
import { n as runVirtualCameraCheck } from "./virtualCameraCheck-eFOm2C9q.esm.js";
|
|
11
11
|
//#region src/internal/deepsight/metadataService.ts
|
package/dist/{desktopCameraElection-Bu2QTynu.esm.js → desktopCameraElection-DGq3YDWU.esm.js}
RENAMED
|
@@ -4,7 +4,7 @@ import { i as utilityWasmApi } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
|
4
4
|
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
5
5
|
import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
6
6
|
import { c as isCameraDenialErrorName, n as enumerateVideoDevices, o as withAudioTracks, r as requestCameraAccess, s as clearCameraGrantedInDocument, u as markCameraGrantedInDocument } from "./camera-CJKApt0x.esm.js";
|
|
7
|
-
import { l as queryCameraPermission } from "./permissionServices-
|
|
7
|
+
import { l as queryCameraPermission } from "./permissionServices-DB7ckY8v.esm.js";
|
|
8
8
|
import { r as selectBestBackDevice, t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
9
9
|
import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
|
|
10
10
|
//#region ../infra/src/capabilities/ICameraCycleCapability.ts
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, u as DocumentUploadStatus } from "./types-
|
|
2
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
1
|
+
import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, u as DocumentUploadStatus } from "./types-Cy6Lx3L6.js";
|
|
2
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-DLWTqjUr.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, type DocumentUploadStatus, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
2
|
-
import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-
|
|
1
|
+
import { r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-SXXKqpZz.esm.js";
|
|
2
|
+
import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-D9LE-4ey.esm.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
|
2
2
|
import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
3
3
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
-
import { a as hasReadAll, i as hasDownloads, n as canSubmitSignature, r as documentSignatureMachine, t as canOpenSign } from "./documentSignatureStateMachine-
|
|
5
|
+
import { a as hasReadAll, i as hasDownloads, n as canSubmitSignature, r as documentSignatureMachine, t as canOpenSign } from "./documentSignatureStateMachine-i3Ff_Eu-.esm.js";
|
|
6
6
|
//#region src/modules/document-signature/documentSignatureActor.ts
|
|
7
7
|
function createDocumentSignatureActor(options) {
|
|
8
8
|
return createActor(documentSignatureMachine, { input: { config: options.config } }).start();
|
package/dist/{documentCaptureManager-Bt3-8L6d.esm.js → documentCaptureManager-D9LE-4ey.esm.js}
RENAMED
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { n as DEFAULT_MAX_FILE_SIZE, r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
6
|
+
import { n as DEFAULT_MAX_FILE_SIZE, r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-SXXKqpZz.esm.js";
|
|
7
7
|
//#region src/modules/document-capture/documentCaptureActor.ts
|
|
8
8
|
function createDocumentCaptureActor(options) {
|
|
9
9
|
return createActor(documentCaptureMachine, { input: { config: options.config } }).start();
|
|
@@ -2,8 +2,8 @@ import { A as MachineSnapshot, O as PromiseActorLogic, S as RequiredLogicInput,
|
|
|
2
2
|
import "./xstate.cjs-D6Ur0X1F.js";
|
|
3
3
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
4
4
|
import "./Actor-DqjOqDfU.js";
|
|
5
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
6
|
-
import { a as DocumentCaptureErrorCode, c as DocumentType, d as FinalizeDocumentResponse, i as DocumentCaptureContext, l as DocumentUploadResponse, o as DocumentCaptureInput, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, t as CapturedDocument, u as DocumentUploadStatus } from "./types-
|
|
5
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-CeEcakO7.js";
|
|
6
|
+
import { a as DocumentCaptureErrorCode, c as DocumentType, d as FinalizeDocumentResponse, i as DocumentCaptureContext, l as DocumentUploadResponse, o as DocumentCaptureInput, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, t as CapturedDocument, u as DocumentUploadStatus } from "./types-Cy6Lx3L6.js";
|
|
7
7
|
//#region src/modules/document-capture/documentCaptureStateMachine.d.ts
|
|
8
8
|
declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
9
9
|
type: "CAPTURE";
|
|
@@ -2,8 +2,8 @@ import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
import { a as stopCameraStream } from "./camera-CJKApt0x.esm.js";
|
|
5
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
6
|
-
import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
5
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-DB7ckY8v.esm.js";
|
|
6
|
+
import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-BN_Tyjgt.esm.js";
|
|
7
7
|
import { t as carryAttempts } from "./attemptCarry-QFQkA3na.esm.js";
|
|
8
8
|
import { n as getBackCameraStream } from "./backCameraStream-6qVHvj76.esm.js";
|
|
9
9
|
//#region src/modules/document-capture/types.ts
|
|
@@ -137,7 +137,8 @@ const documentCaptureMachine = setup({
|
|
|
137
137
|
return checkPermission();
|
|
138
138
|
}),
|
|
139
139
|
requestPermission: fromPromise(async ({ input }) => {
|
|
140
|
-
|
|
140
|
+
const outcome = await invokeRequestPermissionActor(input);
|
|
141
|
+
return outcome === "motionDenied" ? "denied" : outcome;
|
|
141
142
|
}),
|
|
142
143
|
initCamera: fromPromise(async () => {
|
|
143
144
|
const { stream } = await getBackCameraStream(void 0);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, v as addEvent } from "./types-CBQN04Rh.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
3
3
|
import "./events-CsPmTidH.esm.js";
|
|
4
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
4
|
+
import { i as toIncodeApiError } from "./apiError-BSvcMDWp.esm.js";
|
|
5
5
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
7
7
|
//#region src/modules/document-signature/documentSignatureServices.ts
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
2
|
-
import { t as createDynamicFormsManager } from "./dynamicFormsManager-
|
|
1
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-B3QwTmnp.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-CFdNg1rT.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
6
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-B3QwTmnp.esm.js";
|
|
7
7
|
//#region src/modules/dynamic-forms/dynamicFormsActor.ts
|
|
8
8
|
function createDynamicFormsActor(options) {
|
|
9
9
|
return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
|
package/dist/{dynamicFormsStateMachine-BGrwidye.esm.js → dynamicFormsStateMachine-B3QwTmnp.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
2
|
-
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-BSvcMDWp.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
5
5
|
import { n as calendarDateError } from "./calendarDate-DcqGuEht.esm.js";
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
1
|
+
import { h as isSupportedCountry, l as ALL_COUNTRIES, p as SUPPORTED_COUNTRIES, s as toEkybConfig, u as DEV_ONLY_COUNTRIES } from "./ekybUtils-Z9MhFAer.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-BE6HRAfU.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-lgZscObl.esm.js";
|
|
4
4
|
export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
6
|
+
import { t as ekybMachine } from "./ekybStateMachine-BE6HRAfU.esm.js";
|
|
7
7
|
//#region src/modules/ekyb/ekybActor.ts
|
|
8
8
|
/**
|
|
9
9
|
* Creates and starts an eKYB actor.
|