@incodetech/core 2.5.0-rc.1 → 2.5.0-rc.3
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-D0DbKUKC.esm.js → FaceDetectionProvider-CCJo4bco.esm.js} +11 -5
- package/dist/{IWasmUtilCapability-BRn0wz8v.d.ts → IWasmUtilCapability-XcOtT1TP.d.ts} +5 -4
- package/dist/{StreamCanvasCapture-BOwciHDC.d.ts → StreamCanvasCapture-Y6cQ0Y4s.d.ts} +16 -1
- package/dist/{WasmUtilProvider-0xTxgP0R.esm.js → WasmUtilProvider-BW_4YKrg.esm.js} +7 -0
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-DJHHF70K.esm.js → apiError-DxhYr0v7.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CkjV81NT.esm.js → authenticationManager-BXdvE7lC.esm.js} +4 -4
- package/dist/{authenticationManager-B0WPJjvz.d.ts → authenticationManager-CFHIObef.d.ts} +1 -1
- package/dist/{authenticationStateMachine-BoPwxHAI.esm.js → authenticationStateMachine-Bf0ApKso.esm.js} +3 -3
- package/dist/camera.esm.js +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-B2F_VeAo.d.ts → consentManager-B0YKqYtZ.d.ts} +9 -9
- package/dist/{deepsightLoader-ngnhyO6B.esm.js → deepsightLoader-C7TAHJXG.esm.js} +5 -5
- package/dist/{desktopCameraElection-BKFjsQpO.esm.js → desktopCameraElection-ByUXdW6A.esm.js} +2 -2
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-BKaJVQxg.esm.js → documentCaptureManager-C9g-btPN.esm.js} +1 -1
- package/dist/{documentCaptureManager-BZBmcOKI.d.ts → documentCaptureManager-CoGcEiMK.d.ts} +1 -1
- package/dist/{documentCaptureStateMachine-BYLb5Azk.esm.js → documentCaptureStateMachine-B0b1h_GT.esm.js} +2 -2
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-CC3t8bqX.esm.js → dynamicFormsManager-DWeIy62Y.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-Vsn6kszV.esm.js → dynamicFormsStateMachine-dJEw3-L4.esm.js} +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-DgNO6c0e.esm.js → ekybManager-JBglywM8.esm.js} +1 -1
- package/dist/{ekybStateMachine-DHybwePr.esm.js → ekybStateMachine-CUq0RRXx.esm.js} +1 -1
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/{ekycPrefillManager-DOTl3Y2w.d.ts → ekycPrefillManager-BcLhkpp8.d.ts} +4 -4
- package/dist/{ekycPrefillManager-Drq_nYJ3.esm.js → ekycPrefillManager-CMGSavny.esm.js} +1 -1
- package/dist/{ekycPrefillStateMachine-CycO-K3B.esm.js → ekycPrefillStateMachine-43l5cV8s.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-hn-_ADP5.esm.js → electronicSignatureManager-C86sxqsy.esm.js} +1 -1
- package/dist/extensibility.d.ts +12 -12
- package/dist/extensibility.esm.js +14 -14
- package/dist/{faceCaptureManagerFactory-BZjGT392.d.ts → faceCaptureManagerFactory-DqDNQb8X.d.ts} +10 -4
- package/dist/{faceCaptureManagerFactory-B2POCGth.esm.js → faceCaptureManagerFactory-dgc5H8hd.esm.js} +3 -3
- package/dist/{faceCaptureSetup-DCBK1osx.esm.js → faceCaptureSetup-BcE26nwo.esm.js} +6 -6
- package/dist/{feature-management-BFfuXr1M.esm.js → feature-management-So4L3K2G.esm.js} +3 -2
- 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-Crry_GxY.esm.js → flowCompletionService-DVqGjUJ5.esm.js} +1 -1
- package/dist/{flowServices-Cj8SQjQT.esm.js → flowServices-m20VxXpw.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-qpTiVlc6.esm.js → geolocationManager-B7tr1Mjr.esm.js} +1 -1
- package/dist/{geolocationStateMachine-Dk10UW9G.esm.js → geolocationStateMachine-Bj7PzCgO.esm.js} +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +8 -8
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-Drh207VJ.esm.js → idCaptureDefaults-CRn9jT4K.esm.js} +1 -1
- package/dist/{idCaptureManager-RrDMn2tS.esm.js → idCaptureManager-BY8Ms5-x.esm.js} +5 -5
- package/dist/{idCaptureManager-C4Xk02cS.d.ts → idCaptureManager-DBVw9Etw.d.ts} +10 -3
- package/dist/{idCaptureServices-BqDlOnzD.esm.js → idCaptureServices-DxRuZzik.esm.js} +3 -3
- package/dist/{idCaptureStateMachine-DFa1GOap.esm.js → idCaptureStateMachine-jIgD_6K9.esm.js} +13 -13
- package/dist/{idOcrManager-C0C7lFGd.d.ts → idOcrManager-DflRx-_u.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-CcEXyOlg.esm.js → kybChecksManager-0_CnXLk4.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-DEKqDA2G.esm.js → kybChecksStateMachine-CothByiQ.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-Bh1asNJh.d.ts → mandatoryConsentManager-DszYRM5U.d.ts} +7 -7
- package/dist/{permissionGuards-pcrrqrPR.esm.js → permissionGuards-DoAed6-z.esm.js} +1 -1
- package/dist/{permissionServices-DFJlH7K3.esm.js → permissionServices-Ex5xc1h7.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-CJzb91Cf.esm.js → runChildModule-BeAXn155.esm.js} +1 -1
- package/dist/{sdkVersion-k-QlBWlU.esm.js → sdkVersion-CK98LU4K.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +8 -8
- package/dist/{selfieErrorUtils-F449y_PI.esm.js → selfieErrorUtils-Bd3iBR1y.esm.js} +1 -1
- package/dist/{selfieManager-aPdwxSFt.d.ts → selfieManager-Btqla0Id.d.ts} +1 -1
- package/dist/{selfieManager-Ba2YqjfY.esm.js → selfieManager-u0dnwOE7.esm.js} +4 -4
- package/dist/{selfieStateMachine-CTjb-Qr4.esm.js → selfieStateMachine-BvMe5dxz.esm.js} +3 -3
- package/dist/{session-DPL5QWRx.esm.js → session--fux_Vkl.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-43LQITNU.esm.js → sessionInitializer-BhXyYkt8.esm.js} +4 -4
- package/dist/{setup-DpOr8H_l.d.ts → setup-O-JVSYKa.d.ts} +4 -3
- package/dist/{setup-lcBOfaNE.esm.js → setup-uIE9pmGh.esm.js} +5 -5
- package/dist/{trueSightService-Bs6xqUXD.esm.js → trueSightService-DhNRlYgN.esm.js} +1 -1
- package/dist/{types-CE1jkHw3.d.ts → types-BxLFoqzR.d.ts} +1 -1
- package/dist/{types-YA7ieDOx.d.ts → types-CYrtpEe5.d.ts} +2 -2
- package/dist/{types-9wlf1-GE.d.ts → types-CoAp9UmW.d.ts} +1 -1
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +4 -4
- package/dist/{videoSelfieCameraWarmer-a7GBfmEZ.esm.js → videoSelfieCameraWarmer-e9InU88j.esm.js} +5 -5
- package/dist/{videoSelfieStepDetector-DRrh4P0A.d.ts → videoSelfieStepDetector-VJFqUQmL.d.ts} +2 -2
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +1 -1
- package/dist/{wasmDsFlagSync-DPK7qGgo.esm.js → wasmDsFlagSync-BHm1d2gA.esm.js} +1 -1
- package/dist/workflow.esm.js +16 -16
- package/package.json +3 -3
package/dist/{FaceDetectionProvider-D0DbKUKC.esm.js → FaceDetectionProvider-CCJo4bco.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-
|
|
3
|
-
import { r as BaseWasmProvider } from "./WasmUtilProvider-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-uIE9pmGh.esm.js";
|
|
3
|
+
import { r as BaseWasmProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
4
4
|
import { t as api, u as endpoints } from "./api-CZpuJuZl.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-DhNRlYgN.esm.js";
|
|
6
|
+
import "./sessionInitializer-BhXyYkt8.esm.js";
|
|
7
7
|
import { t as addDeviceStats } from "./stats-DoByUnTa.esm.js";
|
|
8
8
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
9
9
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
@@ -235,7 +235,7 @@ function startDetection(params) {
|
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
async function initializeDeepsightSession(options) {
|
|
238
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
238
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-C7TAHJXG.esm.js");
|
|
239
239
|
return loadDeepsightSession({
|
|
240
240
|
ds: options.ds,
|
|
241
241
|
storage: options.storage
|
|
@@ -378,6 +378,12 @@ var FaceDetectionProvider = class extends BaseWasmProvider {
|
|
|
378
378
|
this.applyDefaults(config.autocaptureInterval ?? 0);
|
|
379
379
|
if (config.videoSelfie === true) this.setVideoSelfieMode(true);
|
|
380
380
|
}
|
|
381
|
+
/**
|
|
382
|
+
* @deprecated Unsupported since ml-wasm-kit v2.14.49-post1; scheduled for
|
|
383
|
+
* removal in 3.0.0. Calls fail deterministically without passing the canvas
|
|
384
|
+
* to native code. Use `ICameraCycleCapability.captureProtectedFrame` (the
|
|
385
|
+
* protected camera cycle's manual capture) instead.
|
|
386
|
+
*/
|
|
381
387
|
processPhoto(canvas) {
|
|
382
388
|
faceProcessingWasmApi.processPhoto(canvas);
|
|
383
389
|
}
|
|
@@ -133,10 +133,11 @@ type IWasmUtilCapability = {
|
|
|
133
133
|
getPipelineState(): string;
|
|
134
134
|
estimatePerformance(): string;
|
|
135
135
|
/**
|
|
136
|
-
* @deprecated
|
|
137
|
-
* 3.0.0. The
|
|
138
|
-
*
|
|
139
|
-
*
|
|
136
|
+
* @deprecated Always returns `false` (since SDK 2.3.0); scheduled for removal
|
|
137
|
+
* in 3.0.0. The camera-label check runs natively in the pre-capture checks of
|
|
138
|
+
* the protected camera step (`ICameraCycleCapability.startCameraCycle`), and
|
|
139
|
+
* the signed capture metadata carries its verdict. That native check is
|
|
140
|
+
* authoritative; nothing is decided from this return value.
|
|
140
141
|
*/
|
|
141
142
|
isVirtualCamera(label: string | null): boolean;
|
|
142
143
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { y as IncodeCanvas } from "./createFaceAvatar-BimBTONm.js";
|
|
2
|
-
import "./IWasmUtilCapability-
|
|
2
|
+
import "./IWasmUtilCapability-XcOtT1TP.js";
|
|
3
3
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
4
4
|
//#region ../infra/src/capabilities/IMotionSensorCapability.d.ts
|
|
5
5
|
type MotionStatus = 'PASS' | 'FAIL' | 'UNCLEAR';
|
|
@@ -9,6 +9,13 @@ type MotionPermissionState = 'granted' | 'denied' | 'not-required';
|
|
|
9
9
|
type MetadataService = {
|
|
10
10
|
initialize(sdkVersion: string, disableIpify?: boolean, disableFingerprint?: boolean): Promise<void>;
|
|
11
11
|
updateCameraInfo(videoTrack: MediaStreamTrack): void;
|
|
12
|
+
/**
|
|
13
|
+
* Asks the deprecated `isVirtualCamera()` shim about the track's label (or,
|
|
14
|
+
* with no track, about every video device label). Always resolves `false`:
|
|
15
|
+
* the shim has returned `false` since SDK 2.3.0. The camera-label check that
|
|
16
|
+
* counts runs natively in the WASM pre-capture checks of the protected
|
|
17
|
+
* camera step, and its verdict travels in the signed capture metadata.
|
|
18
|
+
*/
|
|
12
19
|
checkForVirtualCameraByLabel(videoTrack: MediaStreamTrack | null): Promise<boolean>;
|
|
13
20
|
analyzeFrame(imageData: ImageData): Promise<void>;
|
|
14
21
|
setMotionStatus(status: string): void;
|
|
@@ -55,6 +62,14 @@ type DeepsightService = {
|
|
|
55
62
|
requestMotionPermission(): Promise<'granted' | 'denied' | 'not-required'>;
|
|
56
63
|
startMotionSensors(): Promise<void>;
|
|
57
64
|
stopMotionSensors(): void;
|
|
65
|
+
/**
|
|
66
|
+
* Records the track's label and settings for the capture metadata, then
|
|
67
|
+
* resolves the JavaScript label verdict, which is always `false`: the
|
|
68
|
+
* `isVirtualCamera()` shim behind it has returned `false` since SDK 2.3.0.
|
|
69
|
+
* The camera-label check that counts runs natively in the WASM pre-capture
|
|
70
|
+
* checks of the protected camera step, and its verdict travels in the
|
|
71
|
+
* signed capture metadata.
|
|
72
|
+
*/
|
|
58
73
|
checkVirtualCamera(videoTrack: MediaStreamTrack): Promise<boolean>;
|
|
59
74
|
performVirtualCameraCheck(sessionToken: string | null, source: FrameSource): Promise<void>;
|
|
60
75
|
/**
|
|
@@ -529,6 +529,13 @@ var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
|
|
|
529
529
|
this.ensureInitialized();
|
|
530
530
|
return utilityWasmApi.estimatePerformance();
|
|
531
531
|
}
|
|
532
|
+
/**
|
|
533
|
+
* @deprecated Always returns `false` (since SDK 2.3.0); scheduled for removal
|
|
534
|
+
* in 3.0.0. The camera-label check runs natively in the pre-capture checks of
|
|
535
|
+
* the protected camera step (`ICameraCycleCapability.startCameraCycle`), and
|
|
536
|
+
* the signed capture metadata carries its verdict. That native check is
|
|
537
|
+
* authoritative; nothing is decided from this return value.
|
|
538
|
+
*/
|
|
532
539
|
isVirtualCamera(label) {
|
|
533
540
|
return utilityWasmApi.isVirtualCamera(label);
|
|
534
541
|
}
|
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-C86sxqsy.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-
|
|
2
|
-
import { t as AuthenticationConfig } from "./types-
|
|
3
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DqDNQb8X.js";
|
|
2
|
+
import { t as AuthenticationConfig } from "./types-BxLFoqzR.js";
|
|
3
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CFHIObef.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-Bf0ApKso.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BXdvE7lC.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-CkjV81NT.esm.js → authenticationManager-BXdvE7lC.esm.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-uIE9pmGh.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
4
4
|
import "./events-CP3yOzAl.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-dgc5H8hd.esm.js";
|
|
7
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-Bf0ApKso.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-DqDNQb8X.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-BcE26nwo.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-CCJo4bco.esm.js";
|
|
5
|
+
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-ByUXdW6A.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.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-Ex5xc1h7.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-B0YKqYtZ.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -79,10 +79,18 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
79
79
|
type: "setError";
|
|
80
80
|
params: NonReducibleUnknown;
|
|
81
81
|
};
|
|
82
|
+
clearError: {
|
|
83
|
+
type: "clearError";
|
|
84
|
+
params: NonReducibleUnknown;
|
|
85
|
+
};
|
|
82
86
|
setLoadError: {
|
|
83
87
|
type: "setLoadError";
|
|
84
88
|
params: NonReducibleUnknown;
|
|
85
89
|
};
|
|
90
|
+
resetContext: {
|
|
91
|
+
type: "resetContext";
|
|
92
|
+
params: NonReducibleUnknown;
|
|
93
|
+
};
|
|
86
94
|
setConsentData: {
|
|
87
95
|
type: "setConsentData";
|
|
88
96
|
params: NonReducibleUnknown;
|
|
@@ -91,18 +99,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
91
99
|
type: "toggleCheckbox";
|
|
92
100
|
params: NonReducibleUnknown;
|
|
93
101
|
};
|
|
94
|
-
clearError: {
|
|
95
|
-
type: "clearError";
|
|
96
|
-
params: NonReducibleUnknown;
|
|
97
|
-
};
|
|
98
|
-
resetContext: {
|
|
99
|
-
type: "resetContext";
|
|
100
|
-
params: NonReducibleUnknown;
|
|
101
|
-
};
|
|
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,10 +1,10 @@
|
|
|
1
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
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-
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
2
|
+
import { u as trueSightLog } from "./trueSightService-DhNRlYgN.esm.js";
|
|
3
|
+
import { t as SDK_VERSION } from "./sdkVersion-CK98LU4K.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-BhXyYkt8.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
|
-
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-
|
|
7
|
+
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BHm1d2gA.esm.js";
|
|
8
8
|
import { t as MotionSensorProvider } from "./MotionSensorProvider-DYxh8TjR.esm.js";
|
|
9
9
|
import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
10
|
import { n as runVirtualCameraCheck } from "./virtualCameraCheck-eFOm2C9q.esm.js";
|
package/dist/{desktopCameraElection-BKFjsQpO.esm.js → desktopCameraElection-ByUXdW6A.esm.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { d as getCameraCycleOwnershipDomain, l as wasmRuntime, u as CAMERA_CYCLE_OWNERSHIP_DOMAIN } from "./warmup-BZOMg303.esm.js";
|
|
3
|
-
import { i as utilityWasmApi } from "./WasmUtilProvider-
|
|
3
|
+
import { i as utilityWasmApi } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
4
4
|
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
5
5
|
import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
6
6
|
import { l as markCameraGrantedInDocument, n as enumerateVideoDevices, o as clearCameraGrantedInDocument, s as isCameraDenialErrorName } from "./camera-E_Kcre4O.esm.js";
|
|
7
|
-
import { l as queryCameraPermission } from "./permissionServices-
|
|
7
|
+
import { l as queryCameraPermission } from "./permissionServices-Ex5xc1h7.esm.js";
|
|
8
8
|
import { r as selectBestBackDevice, t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
9
9
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
10
10
|
//#region ../infra/src/capabilities/ICameraCycleCapability.ts
|
|
@@ -1,3 +1,3 @@
|
|
|
1
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-CyNndVAT.js";
|
|
2
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
2
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-CoGcEiMK.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-B0b1h_GT.esm.js";
|
|
2
|
+
import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-C9g-btPN.esm.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
package/dist/{documentCaptureManager-BKaJVQxg.esm.js → documentCaptureManager-C9g-btPN.esm.js}
RENAMED
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.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-B0b1h_GT.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();
|
|
@@ -263,7 +263,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
263
263
|
type: "fileSizeOkForNonGallery";
|
|
264
264
|
params: unknown;
|
|
265
265
|
};
|
|
266
|
-
}>, never, "uploading" | "closed" | "success" | "finished" | "
|
|
266
|
+
}>, never, "uploading" | "closed" | "success" | "finished" | "capturing" | "failure" | "initCamera" | "tutorial" | "preview" | "nextPage" | "finalizing" | {
|
|
267
267
|
permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
|
|
268
268
|
}, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
269
269
|
readonly id: "documentCapture";
|
|
@@ -2,8 +2,8 @@ import { t as api, u as endpoints } from "./api-CZpuJuZl.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-E_Kcre4O.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-Ex5xc1h7.esm.js";
|
|
6
|
+
import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DoAed6-z.esm.js";
|
|
7
7
|
import { t as carryAttempts } from "./attemptCarry-BecGGZK8.esm.js";
|
|
8
8
|
import { n as getBackCameraStream } from "./backCameraStream-DS1oDiUq.esm.js";
|
|
9
9
|
//#region src/modules/document-capture/types.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-dJEw3-L4.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-DWeIy62Y.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.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-dJEw3-L4.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-Vsn6kszV.esm.js → dynamicFormsStateMachine-dJEw3-L4.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-CZpuJuZl.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-DxhYr0v7.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 { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { c as ALL_COUNTRIES, f as SUPPORTED_COUNTRIES, l as DEV_ONLY_COUNTRIES, m as isSupportedCountry, o as toEkybConfig } from "./ekybUtils-Cw8Ta9Qi.esm.js";
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-CUq0RRXx.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-JBglywM8.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-CP3yOzAl.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-CUq0RRXx.esm.js";
|
|
7
7
|
//#region src/modules/ekyb/ekybActor.ts
|
|
8
8
|
/**
|
|
9
9
|
* Creates and starts an eKYB actor.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
2
|
-
import { n as getFlow } from "./flowServices-
|
|
2
|
+
import { n as getFlow } from "./flowServices-m20VxXpw.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 { a as sortModulesByOrder, c as ALL_COUNTRIES, d as FIELD_ORDER, i as requiresAddressValidation, m as isSupportedCountry, n as hasAtLeastOneAddressField, o as toEkybConfig, p as UBO_FIELD_LABELS, r as isFieldOptional, s as ADDRESS_FIELDS, u as FIELD_NAME_MAPPING } from "./ekybUtils-Cw8Ta9Qi.esm.js";
|
package/dist/ekyc-prefill.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as EkycFormValues, c as EkycValidationErrors, s as EkycValidationError } from "./types-DEa3taWc.js";
|
|
2
2
|
import { a as EkycPrefillFieldDef, c as EkycPrefillModuleConfig, i as EkycPrefillErrorKind, l as EkycPrefillServedField, n as EkycPrefillConfigField, s as EkycPrefillInputFormat, t as EkycPrefillConfig } from "./types-B-PIc0en.js";
|
|
3
|
-
import { a as EkycPrefillFormState, c as EkycPrefillManager, d as EkycPrefillSubmittingState, f as createEkycPrefillManager, h as ekycPrefillMachine, i as EkycPrefillFinishedState, l as EkycPrefillMisconfiguredState, n as EkycPrefillClosedState, o as EkycPrefillIdleState, r as EkycPrefillErrorState, s as EkycPrefillLimitReachedState, t as EkycPrefillAnyOfState, u as EkycPrefillState } from "./ekycPrefillManager-
|
|
3
|
+
import { a as EkycPrefillFormState, c as EkycPrefillManager, d as EkycPrefillSubmittingState, f as createEkycPrefillManager, h as ekycPrefillMachine, i as EkycPrefillFinishedState, l as EkycPrefillMisconfiguredState, n as EkycPrefillClosedState, o as EkycPrefillIdleState, r as EkycPrefillErrorState, s as EkycPrefillLimitReachedState, t as EkycPrefillAnyOfState, u as EkycPrefillState } from "./ekycPrefillManager-BcLhkpp8.js";
|
|
4
4
|
//#region src/modules/ekyc-prefill/ekycPrefillConfig.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Normalizes the served `EKYC_PREFILL` configuration. Idempotent, so a
|
package/dist/ekyc-prefill.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
2
|
-
import { t as createEkycPrefillManager } from "./ekycPrefillManager-
|
|
1
|
+
import { i as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-43l5cV8s.esm.js";
|
|
2
|
+
import { t as createEkycPrefillManager } from "./ekycPrefillManager-CMGSavny.esm.js";
|
|
3
3
|
export { createEkycPrefillManager, ekycPrefillMachine, toEkycPrefillConfig };
|
|
@@ -45,10 +45,6 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
45
45
|
id: string | undefined;
|
|
46
46
|
};
|
|
47
47
|
}>, Values<{
|
|
48
|
-
clearError: {
|
|
49
|
-
type: "clearError";
|
|
50
|
-
params: NonReducibleUnknown;
|
|
51
|
-
};
|
|
52
48
|
applyForm: {
|
|
53
49
|
type: "applyForm";
|
|
54
50
|
params: NonReducibleUnknown;
|
|
@@ -81,6 +77,10 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
81
77
|
type: "setSubmitError";
|
|
82
78
|
params: NonReducibleUnknown;
|
|
83
79
|
};
|
|
80
|
+
clearError: {
|
|
81
|
+
type: "clearError";
|
|
82
|
+
params: NonReducibleUnknown;
|
|
83
|
+
};
|
|
84
84
|
}>, Values<{
|
|
85
85
|
isValid: {
|
|
86
86
|
type: "isValid";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
2
2
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
|
-
import { n as isAnyOfMissing, r as validateForm, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
3
|
+
import { n as isAnyOfMissing, r as validateForm, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-43l5cV8s.esm.js";
|
|
4
4
|
//#region src/modules/ekyc-prefill/ekycPrefillActor.ts
|
|
5
5
|
/** Creates and starts an eKYC Pre-fill actor, idle until `LOAD`. */
|
|
6
6
|
function createEkycPrefillActor(options = {}) {
|
package/dist/{ekycPrefillStateMachine-CycO-K3B.esm.js → ekycPrefillStateMachine-43l5cV8s.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
2
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError } from "./apiError-DxhYr0v7.esm.js";
|
|
3
3
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-C86sxqsy.esm.js";
|
|
2
2
|
export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
|
2
2
|
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
3
3
|
import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
|
|
4
4
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
5
|
-
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-
|
|
5
|
+
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-DxhYr0v7.esm.js";
|
|
6
6
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
7
7
|
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
8
8
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -5,33 +5,33 @@ import "./Actor-DqjOqDfU.js";
|
|
|
5
5
|
import { c as ElectronicSignatureFileDataHolder } from "./types-D0gekt4U.js";
|
|
6
6
|
import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-5tYz-a4o.js";
|
|
7
7
|
import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-BxfCsyA7.js";
|
|
8
|
-
import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-
|
|
8
|
+
import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-DqDNQb8X.js";
|
|
9
9
|
import "./createFaceAvatar-BimBTONm.js";
|
|
10
|
-
import { a as IStorageCapability } from "./IWasmUtilCapability-
|
|
11
|
-
import "./StreamCanvasCapture-
|
|
12
|
-
import { i as createIdCaptureManagerFromActor, n as IdCaptureManager, q as WasmUtilProvider, r as IdCaptureState, y as IdCaptureActor } from "./idCaptureManager-
|
|
13
|
-
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-
|
|
10
|
+
import { a as IStorageCapability } from "./IWasmUtilCapability-XcOtT1TP.js";
|
|
11
|
+
import "./StreamCanvasCapture-Y6cQ0Y4s.js";
|
|
12
|
+
import { i as createIdCaptureManagerFromActor, n as IdCaptureManager, q as WasmUtilProvider, r as IdCaptureState, y as IdCaptureActor } from "./idCaptureManager-DBVw9Etw.js";
|
|
13
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CFHIObef.js";
|
|
14
14
|
import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-BcYhxO63.js";
|
|
15
|
-
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-
|
|
15
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-B0YKqYtZ.js";
|
|
16
16
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-crZcIUSY.js";
|
|
17
17
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-Ci2iVuog.js";
|
|
18
18
|
import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CdWTbsew.js";
|
|
19
19
|
import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-lJrveDS4.js";
|
|
20
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
20
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-CoGcEiMK.js";
|
|
21
21
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-C45pTncO.js";
|
|
22
22
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-BflWuTe4.js";
|
|
23
|
-
import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-
|
|
23
|
+
import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-BcLhkpp8.js";
|
|
24
24
|
import { i as createEkycManagerFromActor, n as EkycState, o as EkycActor, t as EkycManager } from "./ekycManager-BKVQazAb.js";
|
|
25
25
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-pM7ZPuMa.js";
|
|
26
|
-
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-
|
|
27
|
-
import { i as CaptureIdResponse } from "./types-
|
|
26
|
+
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-Btqla0Id.js";
|
|
27
|
+
import { i as CaptureIdResponse } from "./types-CYrtpEe5.js";
|
|
28
28
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-VO1HEoUZ.js";
|
|
29
29
|
import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DQq4GxBO.js";
|
|
30
30
|
import { i as WatchlistForBusinessState, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager, s as WatchlistForBusinessActor } from "./watchlistForBusinessManager-l7ZERQcV.js";
|
|
31
31
|
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-CZ-qJ_Aa.js";
|
|
32
32
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-mFOHRhVd.js";
|
|
33
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
34
|
-
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-
|
|
33
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-DszYRM5U.js";
|
|
34
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-DflRx-_u.js";
|
|
35
35
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-pT6FiPE7.js";
|
|
36
36
|
import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-daT_8fj_.js";
|
|
37
37
|
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-CENrvxpK.js";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
3
|
-
import { x as getDeviceFingerprintInfo, y as getFingerprint } from "./sessionInitializer-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-uIE9pmGh.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
3
|
+
import { x as getDeviceFingerprintInfo, y as getFingerprint } from "./sessionInitializer-BhXyYkt8.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
6
|
-
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-
|
|
6
|
+
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-C86sxqsy.esm.js";
|
|
7
7
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-DKNOi9-z.esm.js";
|
|
8
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
9
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-BcE26nwo.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BXdvE7lC.esm.js";
|
|
10
10
|
import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-DaUklfNj.esm.js";
|
|
11
11
|
import { n as createConsentManagerFromActor } from "./consentManager-BPocwpm2.esm.js";
|
|
12
12
|
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-BfA29Aji.esm.js";
|
|
13
13
|
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-CbvBDoE1.esm.js";
|
|
14
14
|
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-BRqSCR9R.esm.js";
|
|
15
15
|
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-Bd1ooIDB.esm.js";
|
|
16
|
-
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-
|
|
17
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
18
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
16
|
+
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-C9g-btPN.esm.js";
|
|
17
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DWeIy62Y.esm.js";
|
|
18
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-JBglywM8.esm.js";
|
|
19
19
|
import { n as createEkycManagerFromActor } from "./ekycManager-nRT0rxei.esm.js";
|
|
20
|
-
import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-
|
|
20
|
+
import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-CMGSavny.esm.js";
|
|
21
21
|
import { n as createEmailManagerFromActor } from "./emailManager-Co4jarT1.esm.js";
|
|
22
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
23
|
-
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
22
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-u0dnwOE7.esm.js";
|
|
23
|
+
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-BY8Ms5-x.esm.js";
|
|
24
24
|
import { n as createPhoneManagerFromActor } from "./phoneManager-rA7updqF.esm.js";
|
|
25
25
|
import { n as createWatchlistManagerFromActor } from "./watchlistManager-BDaVjzLW.esm.js";
|
|
26
26
|
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-BH6M4kqA.esm.js";
|
|
@@ -30,10 +30,10 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
|
|
|
30
30
|
import { n as createIdOcrManagerFromActor } from "./idOcrManager-im7VfJQi.esm.js";
|
|
31
31
|
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-DjsEtWLq.esm.js";
|
|
32
32
|
import { n as createSignatureManagerFromActor } from "./signatureManager-BgAja97K.esm.js";
|
|
33
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
33
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-B7tr1Mjr.esm.js";
|
|
34
34
|
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-6JQQkzha.esm.js";
|
|
35
35
|
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-PMGM4hXY.esm.js";
|
|
36
36
|
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-CGmNGbov.esm.js";
|
|
37
37
|
import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-D4G-4xKE.esm.js";
|
|
38
|
-
import { n as createKybChecksManagerFromActor } from "./kybChecksManager-
|
|
38
|
+
import { n as createKybChecksManagerFromActor } from "./kybChecksManager-0_CnXLk4.esm.js";
|
|
39
39
|
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createEkycPrefillManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createKybChecksManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistForBusinessManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
package/dist/{faceCaptureManagerFactory-BZjGT392.d.ts → faceCaptureManagerFactory-DqDNQb8X.d.ts}
RENAMED
|
@@ -6,12 +6,12 @@ import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapabil
|
|
|
6
6
|
import "./index-DHuAkTe0.js";
|
|
7
7
|
import { c as FaceAttributesThresholds, d as FaceDetectionCallbacks, f as FaceDetectionConfig, h as IFaceDetectionCapability, l as FaceChecksConfig, m as FacePositionConstraints, p as FaceDetectionThresholds, s as FaceFeed, t as AvatarId, u as FaceCoordinates, v as WebApiHostRequestConfig, y as IncodeCanvas } from "./createFaceAvatar-BimBTONm.js";
|
|
8
8
|
import { i as FlowModuleConfig } from "./types-Ddc4Tr_f.js";
|
|
9
|
-
import "./IWasmUtilCapability-
|
|
9
|
+
import "./IWasmUtilCapability-XcOtT1TP.js";
|
|
10
10
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
11
|
-
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-
|
|
12
|
-
import { t as AuthenticationConfig } from "./types-
|
|
11
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-CoAp9UmW.js";
|
|
12
|
+
import { t as AuthenticationConfig } from "./types-BxLFoqzR.js";
|
|
13
13
|
import { t as BaseWasmProvider } from "./BaseWasmProvider-bBNquvYn.js";
|
|
14
|
-
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
14
|
+
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-Y6cQ0Y4s.js";
|
|
15
15
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
16
16
|
//#region src/modules/authentication/authenticationStateMachine.d.ts
|
|
17
17
|
declare const _authenticationMachine: AnyStateMachine;
|
|
@@ -155,6 +155,12 @@ declare class FaceDetectionProvider extends BaseWasmProvider implements IFaceDet
|
|
|
155
155
|
* current consumer.
|
|
156
156
|
*/
|
|
157
157
|
private currentOnCaptureWrapper;
|
|
158
|
+
/**
|
|
159
|
+
* @deprecated Unsupported since ml-wasm-kit v2.14.49-post1; scheduled for
|
|
160
|
+
* removal in 3.0.0. Calls fail deterministically without passing the canvas
|
|
161
|
+
* to native code. Use `ICameraCycleCapability.captureProtectedFrame` (the
|
|
162
|
+
* protected camera cycle's manual capture) instead.
|
|
163
|
+
*/
|
|
158
164
|
processPhoto(canvas: HTMLCanvasElement): void;
|
|
159
165
|
postFaceResults(config?: WebApiHostRequestConfig): Promise<unknown>;
|
|
160
166
|
setCallbacks(callbacks: FaceDetectionCallbacks): void;
|
package/dist/{faceCaptureManagerFactory-B2POCGth.esm.js → faceCaptureManagerFactory-dgc5H8hd.esm.js}
RENAMED
|
@@ -3,10 +3,10 @@ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.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 { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
|
|
6
|
-
import { r as concealmentToAvatar } from "./faceCaptureSetup-
|
|
7
|
-
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-
|
|
6
|
+
import { r as concealmentToAvatar } from "./faceCaptureSetup-BcE26nwo.esm.js";
|
|
7
|
+
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BHm1d2gA.esm.js";
|
|
8
8
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
9
|
-
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-
|
|
9
|
+
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-Ex5xc1h7.esm.js";
|
|
10
10
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
11
11
|
function getPermissionStatus(snapshot) {
|
|
12
12
|
if (!snapshot.matches("permissions")) return;
|