@incodetech/core 2.5.0-rc.0 → 2.5.0-rc.2
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-n9u4dEn_.esm.js → FaceDetectionProvider-YoIHxNx5.esm.js} +11 -5
- package/dist/{IWasmUtilCapability-BRn0wz8v.d.ts → IWasmUtilCapability-XcOtT1TP.d.ts} +5 -4
- package/dist/{StreamCanvasCapture-C9jtgBdT.esm.js → StreamCanvasCapture-CXd87trH.esm.js} +18 -3
- package/dist/{StreamCanvasCapture-ixfy84ys.d.ts → StreamCanvasCapture-Y6cQ0Y4s.d.ts} +23 -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-CtArBUt-.esm.js → apiError-Xv7JYZ3O.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DRaugLgH.d.ts → authenticationManager-CFHIObef.d.ts} +1 -1
- package/dist/{authenticationManager-9N3eg3Uh.esm.js → authenticationManager-d2xl-T17.esm.js} +4 -4
- package/dist/{authenticationStateMachine-DoK5RKIS.esm.js → authenticationStateMachine-DGPj6Ulz.esm.js} +3 -3
- package/dist/camera.esm.js +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-vI6QHkHU.d.ts → consentManager-Duzd8paN.d.ts} +1 -1
- package/dist/{deepsightLoader-zG373VVx.esm.js → deepsightLoader-DntM8kzo.esm.js} +5 -5
- package/dist/{desktopCameraElection-BKFjsQpO.esm.js → desktopCameraElection-ByUXdW6A.esm.js} +2 -2
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-BKaJVQxg.esm.js → documentCaptureManager-C9g-btPN.esm.js} +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-BfQKWG7a.esm.js → dynamicFormsManager-CL92Vbti.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-CRq01QNK.esm.js → dynamicFormsStateMachine-BmQ4sn39.esm.js} +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-B489iXyO.esm.js → ekybManager-BvXwvkPc.esm.js} +1 -1
- package/dist/{ekybStateMachine-DZxg8T0H.esm.js → ekybStateMachine-DR5nY0Eq.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-BQ_KKUv5.d.ts} +33 -33
- package/dist/{ekycPrefillManager-BXWDF7vT.esm.js → ekycPrefillManager-nWDA9LF6.esm.js} +1 -1
- package/dist/{ekycPrefillStateMachine-CuWTVze1.esm.js → ekycPrefillStateMachine-ZdRWr7rY.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-BcE0XMrN.esm.js → electronicSignatureManager-C6AccKC1.esm.js} +1 -1
- package/dist/extensibility.d.ts +12 -12
- package/dist/extensibility.esm.js +15 -15
- package/dist/{faceCaptureManagerFactory-CRGajjZ4.d.ts → faceCaptureManagerFactory-DqDNQb8X.d.ts} +10 -4
- package/dist/{faceCaptureManagerFactory-BBQzNrku.esm.js → faceCaptureManagerFactory-Jd6ee8Tc.esm.js} +3 -3
- package/dist/{faceCaptureSetup-D8_ilXFc.esm.js → faceCaptureSetup-Bj-gQdm4.esm.js} +6 -6
- package/dist/{feature-management-SIBmKJs8.esm.js → feature-management-q3FudL5-.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-DOLq45ph.esm.js → fiscalQrManager-D4G-4xKE.esm.js} +1 -1
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-BFCddN3G.esm.js → flowCompletionService-BBSNBh4t.esm.js} +1 -1
- package/dist/{flowServices-NX4ksmS5.esm.js → flowServices-vTnxn4j6.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-D1Ga7_lB.esm.js → geolocationManager-Bjn6updp.esm.js} +1 -1
- package/dist/{geolocationStateMachine-oPgI5FIQ.esm.js → geolocationStateMachine-CbRzb7eI.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 +9 -9
- 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-Cqx2y_fC.d.ts → idCaptureManager-DBVw9Etw.d.ts} +10 -3
- package/dist/{idCaptureManager-DjZyIbxc.esm.js → idCaptureManager-wbzfGVKi.esm.js} +5 -5
- package/dist/{idCaptureServices-DWs9Fb58.esm.js → idCaptureServices-CoqKecdG.esm.js} +3 -3
- package/dist/{idCaptureStateMachine-BGMkWF9t.esm.js → idCaptureStateMachine-DcqkRLVj.esm.js} +14 -14
- package/dist/{idOcrManager-DflRx-_u.d.ts → idOcrManager-C0C7lFGd.d.ts} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-C40ngKeM.d.ts → identityReuseManager-CZ-qJ_Aa.d.ts} +4 -4
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-eRU3ht0m.esm.js → kybChecksManager-VCLYYSqj.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-CU0oIYDR.esm.js → kybChecksStateMachine-Bu_aDC8f.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-C1B2ERZk.d.ts → mandatoryConsentManager-CCkV4Cm3.d.ts} +1 -1
- 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-CJ_aQO92.esm.js → runChildModule-DueLi8nh.esm.js} +1 -1
- package/dist/{sdkVersion-C9kbIDeX.esm.js → sdkVersion-BK9SMxvn.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +8 -8
- package/dist/{selfieErrorUtils-DUokfsv4.esm.js → selfieErrorUtils-2Qy1MzfU.esm.js} +1 -1
- package/dist/{selfieManager-DihwheJ6.d.ts → selfieManager-Btqla0Id.d.ts} +1 -1
- package/dist/{selfieManager-uJtbzEp9.esm.js → selfieManager-Up8d42qB.esm.js} +4 -4
- package/dist/{selfieStateMachine-CKXAmNkA.esm.js → selfieStateMachine-DBLajsnI.esm.js} +3 -3
- package/dist/{session-Bk2K8TEv.esm.js → session-B_MnhDlJ.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-CUCBGZ_s.esm.js → sessionInitializer-CYM32Wsm.esm.js} +4 -4
- package/dist/{setup-B3a5KQeI.esm.js → setup-Cmyufbm0.esm.js} +5 -5
- package/dist/{trueSightService-BnQDjqUu.esm.js → trueSightService-DLp63zbA.esm.js} +1 -1
- package/dist/{types-CE1jkHw3.d.ts → types-BxLFoqzR.d.ts} +1 -1
- package/dist/{types-Cpdum4vi.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-CgqaNI-W.esm.js → videoSelfieCameraWarmer-CMPUd3VM.esm.js} +6 -6
- package/dist/{videoSelfieStepDetector-DRrh4P0A.d.ts → videoSelfieStepDetector-VJFqUQmL.d.ts} +2 -2
- 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 +1 -1
package/dist/{FaceDetectionProvider-n9u4dEn_.esm.js → FaceDetectionProvider-YoIHxNx5.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-Cmyufbm0.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-DLp63zbA.esm.js";
|
|
6
|
+
import "./sessionInitializer-CYM32Wsm.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-DntM8kzo.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,7 @@
|
|
|
1
1
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
2
2
|
//#region ../infra/src/media/StreamCanvasCapture.ts
|
|
3
|
+
/** How often a paused capture video asks to play again. */
|
|
4
|
+
const PLAY_RETRY_INTERVAL_MS = 500;
|
|
3
5
|
var StreamCanvasCapture = class {
|
|
4
6
|
constructor(stream, options) {
|
|
5
7
|
this.hasFrame = false;
|
|
@@ -24,10 +26,9 @@ var StreamCanvasCapture = class {
|
|
|
24
26
|
this.canvas.width = this.video.videoWidth;
|
|
25
27
|
this.canvas.height = this.video.videoHeight;
|
|
26
28
|
}
|
|
29
|
+
this.ensurePlaying();
|
|
27
30
|
});
|
|
28
|
-
|
|
29
|
-
this.video.play();
|
|
30
|
-
} catch {}
|
|
31
|
+
this.ensurePlaying();
|
|
31
32
|
if (options?.continuous !== false) this.rafLoop(intervalMs);
|
|
32
33
|
}
|
|
33
34
|
addEventListener(type, listener, options) {
|
|
@@ -94,8 +95,22 @@ var StreamCanvasCapture = class {
|
|
|
94
95
|
};
|
|
95
96
|
this.rafId = window.requestAnimationFrame(loop);
|
|
96
97
|
}
|
|
98
|
+
/**
|
|
99
|
+
* Starts (or restarts) playback of the hidden video. Rejections are expected
|
|
100
|
+
* on Safari 17 and earlier and are retried from {@link tick}, at most every
|
|
101
|
+
* {@link PLAY_RETRY_INTERVAL_MS}, while the video stays paused.
|
|
102
|
+
*/
|
|
103
|
+
ensurePlaying() {
|
|
104
|
+
if (this.disposed || !this.video.paused) return;
|
|
105
|
+
this.lastPlayAttemptMs = Date.now();
|
|
106
|
+
try {
|
|
107
|
+
const result = this.video.play();
|
|
108
|
+
if (result && typeof result.catch === "function") result.catch(() => {});
|
|
109
|
+
} catch {}
|
|
110
|
+
}
|
|
97
111
|
tick() {
|
|
98
112
|
if (!this.ctx) return;
|
|
113
|
+
if (this.video.paused && this.video.readyState >= HTMLMediaElement.HAVE_METADATA && (this.lastPlayAttemptMs === void 0 || Date.now() - this.lastPlayAttemptMs >= PLAY_RETRY_INTERVAL_MS)) this.ensurePlaying();
|
|
99
114
|
if (this.video.readyState < HTMLMediaElement.HAVE_CURRENT_DATA) return;
|
|
100
115
|
const videoWidth = this.video.videoWidth;
|
|
101
116
|
const videoHeight = this.video.videoHeight;
|
|
@@ -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
|
/**
|
|
@@ -107,6 +122,7 @@ declare class StreamCanvasCapture {
|
|
|
107
122
|
private lastTickTimeMs;
|
|
108
123
|
private hasFrame;
|
|
109
124
|
private disposed;
|
|
125
|
+
private lastPlayAttemptMs;
|
|
110
126
|
private eventTarget;
|
|
111
127
|
constructor(stream: CameraStream, options?: StreamCanvasCaptureOptions);
|
|
112
128
|
addEventListener(type: keyof StreamCanvasCaptureEventMap, listener: EventListenerOrEventListenerObject | null, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -124,6 +140,12 @@ declare class StreamCanvasCapture {
|
|
|
124
140
|
*/
|
|
125
141
|
dispose(): void;
|
|
126
142
|
private rafLoop;
|
|
143
|
+
/**
|
|
144
|
+
* Starts (or restarts) playback of the hidden video. Rejections are expected
|
|
145
|
+
* on Safari 17 and earlier and are retried from {@link tick}, at most every
|
|
146
|
+
* {@link PLAY_RETRY_INTERVAL_MS}, while the video stays paused.
|
|
147
|
+
*/
|
|
148
|
+
private ensurePlaying;
|
|
127
149
|
private tick;
|
|
128
150
|
}
|
|
129
151
|
//#endregion
|
|
@@ -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-C6AccKC1.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-DGPj6Ulz.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-d2xl-T17.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -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
|
/**
|
package/dist/{authenticationManager-9N3eg3Uh.esm.js → authenticationManager-d2xl-T17.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-Cmyufbm0.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-Jd6ee8Tc.esm.js";
|
|
7
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DGPj6Ulz.esm.js";
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
10
10
|
const dependencies = options.dependencies ?? {
|
|
@@ -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-Bj-gQdm4.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-YoIHxNx5.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-Duzd8paN.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -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" | "loading" | "submitting" | "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-DLp63zbA.esm.js";
|
|
3
|
+
import { t as SDK_VERSION } from "./sdkVersion-BK9SMxvn.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-CYM32Wsm.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
|
-
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();
|
|
@@ -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-BmQ4sn39.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-CL92Vbti.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-BmQ4sn39.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-CRq01QNK.esm.js → dynamicFormsStateMachine-BmQ4sn39.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-Xv7JYZ3O.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-DR5nY0Eq.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-BvXwvkPc.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-DR5nY0Eq.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-vTnxn4j6.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-BQ_KKUv5.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-ZdRWr7rY.esm.js";
|
|
2
|
+
import { t as createEkycPrefillManager } from "./ekycPrefillManager-nWDA9LF6.esm.js";
|
|
3
3
|
export { createEkycPrefillManager, ekycPrefillMachine, toEkycPrefillConfig };
|
|
@@ -28,15 +28,10 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
28
28
|
} | {
|
|
29
29
|
type: "CLOSE";
|
|
30
30
|
}, {
|
|
31
|
-
[x: string]: ActorRefFromLogic<PromiseActorLogic<
|
|
31
|
+
[x: string]: ActorRefFromLogic<PromiseActorLogic<void, {
|
|
32
32
|
hasPhone: boolean;
|
|
33
|
-
}, EventObject>> | undefined;
|
|
33
|
+
}, EventObject>> | ActorRefFromLogic<PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>> | undefined;
|
|
34
34
|
}, Values<{
|
|
35
|
-
submit: {
|
|
36
|
-
src: "submit";
|
|
37
|
-
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
38
|
-
id: string | undefined;
|
|
39
|
-
};
|
|
40
35
|
loadPhoneRules: {
|
|
41
36
|
src: "loadPhoneRules";
|
|
42
37
|
logic: PromiseActorLogic<void, {
|
|
@@ -44,11 +39,12 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
44
39
|
}, EventObject>;
|
|
45
40
|
id: string | undefined;
|
|
46
41
|
};
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
42
|
+
submit: {
|
|
43
|
+
src: "submit";
|
|
44
|
+
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
45
|
+
id: string | undefined;
|
|
51
46
|
};
|
|
47
|
+
}>, Values<{
|
|
52
48
|
applyForm: {
|
|
53
49
|
type: "applyForm";
|
|
54
50
|
params: NonReducibleUnknown;
|
|
@@ -81,11 +77,11 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
81
77
|
type: "setSubmitError";
|
|
82
78
|
params: NonReducibleUnknown;
|
|
83
79
|
};
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
params: unknown;
|
|
80
|
+
clearError: {
|
|
81
|
+
type: "clearError";
|
|
82
|
+
params: NonReducibleUnknown;
|
|
88
83
|
};
|
|
84
|
+
}>, Values<{
|
|
89
85
|
phoneRulesFailed: {
|
|
90
86
|
type: "phoneRulesFailed";
|
|
91
87
|
params: unknown;
|
|
@@ -98,6 +94,10 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
98
94
|
type: "canRender";
|
|
99
95
|
params: unknown;
|
|
100
96
|
};
|
|
97
|
+
isValid: {
|
|
98
|
+
type: "isValid";
|
|
99
|
+
params: unknown;
|
|
100
|
+
};
|
|
101
101
|
isBadRequest: {
|
|
102
102
|
type: "isBadRequest";
|
|
103
103
|
params: unknown;
|
|
@@ -117,13 +117,17 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
117
117
|
readonly initial: "idle";
|
|
118
118
|
readonly context: ({ input }: {
|
|
119
119
|
spawn: {
|
|
120
|
-
<TSrc extends "
|
|
121
|
-
src: "
|
|
122
|
-
logic: PromiseActorLogic<
|
|
120
|
+
<TSrc extends "loadPhoneRules" | "submit">(logic: TSrc, ...[options]: ({
|
|
121
|
+
src: "loadPhoneRules";
|
|
122
|
+
logic: PromiseActorLogic<void, {
|
|
123
|
+
hasPhone: boolean;
|
|
124
|
+
}, EventObject>;
|
|
123
125
|
id: string | undefined;
|
|
124
126
|
} extends (infer T) ? T extends {
|
|
125
|
-
src: "
|
|
126
|
-
logic: PromiseActorLogic<
|
|
127
|
+
src: "loadPhoneRules";
|
|
128
|
+
logic: PromiseActorLogic<void, {
|
|
129
|
+
hasPhone: boolean;
|
|
130
|
+
}, EventObject>;
|
|
127
131
|
id: string | undefined;
|
|
128
132
|
} ? T extends {
|
|
129
133
|
src: TSrc;
|
|
@@ -133,16 +137,12 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
133
137
|
input?: InputFrom<T["logic"]> | undefined;
|
|
134
138
|
syncSnapshot?: boolean;
|
|
135
139
|
} & { [K in RequiredActorOptions<T>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T>>> : never : never : never) | ({
|
|
136
|
-
src: "
|
|
137
|
-
logic: PromiseActorLogic<
|
|
138
|
-
hasPhone: boolean;
|
|
139
|
-
}, EventObject>;
|
|
140
|
+
src: "submit";
|
|
141
|
+
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
140
142
|
id: string | undefined;
|
|
141
143
|
} extends (infer T_1) ? T_1 extends {
|
|
142
|
-
src: "
|
|
143
|
-
logic: PromiseActorLogic<
|
|
144
|
-
hasPhone: boolean;
|
|
145
|
-
}, EventObject>;
|
|
144
|
+
src: "submit";
|
|
145
|
+
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
146
146
|
id: string | undefined;
|
|
147
147
|
} ? T_1 extends {
|
|
148
148
|
src: TSrc;
|
|
@@ -152,11 +152,6 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
152
152
|
input?: InputFrom<T_1["logic"]> | undefined;
|
|
153
153
|
syncSnapshot?: boolean;
|
|
154
154
|
} & { [K_1 in RequiredActorOptions<T_1>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_1>>> : never : never : never)): ActorRefFromLogic<GetConcreteByKey<Values<{
|
|
155
|
-
submit: {
|
|
156
|
-
src: "submit";
|
|
157
|
-
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
158
|
-
id: string | undefined;
|
|
159
|
-
};
|
|
160
155
|
loadPhoneRules: {
|
|
161
156
|
src: "loadPhoneRules";
|
|
162
157
|
logic: PromiseActorLogic<void, {
|
|
@@ -164,6 +159,11 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
164
159
|
}, EventObject>;
|
|
165
160
|
id: string | undefined;
|
|
166
161
|
};
|
|
162
|
+
submit: {
|
|
163
|
+
src: "submit";
|
|
164
|
+
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
165
|
+
id: string | undefined;
|
|
166
|
+
};
|
|
167
167
|
}>, "src", TSrc>["logic"]>;
|
|
168
168
|
<TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: ({
|
|
169
169
|
id?: never;
|
|
@@ -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-ZdRWr7rY.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-CuWTVze1.esm.js → ekycPrefillStateMachine-ZdRWr7rY.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-Xv7JYZ3O.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-C6AccKC1.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-Xv7JYZ3O.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,14 +5,14 @@ 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-Duzd8paN.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";
|
|
@@ -20,18 +20,18 @@ import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor,
|
|
|
20
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-BQ_KKUv5.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
|
-
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-
|
|
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-CCkV4Cm3.js";
|
|
34
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-C0C7lFGd.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";
|