@incodetech/core 2.5.0-rc.3 → 2.5.0-rc.5
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/{CameraCompositor-ppyMYVoY.esm.js → CameraCompositor-BAP_KRUT.esm.js} +54 -0
- package/dist/{FaceDetectionProvider-CCJo4bco.esm.js → FaceDetectionProvider-VT31r1ov.esm.js} +5 -5
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-DxhYr0v7.esm.js → apiError-D2biqI0c.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CFHIObef.d.ts → authenticationManager-DWFnFadt.d.ts} +1 -1
- package/dist/{authenticationManager-BXdvE7lC.esm.js → authenticationManager-Db2AIYOY.esm.js} +3 -3
- package/dist/{authenticationStateMachine-Bf0ApKso.esm.js → authenticationStateMachine-D5S7dLqB.esm.js} +3 -3
- package/dist/{backCameraStream-DS1oDiUq.esm.js → backCameraStream-Bn9Z5wM5.esm.js} +1 -1
- package/dist/{camera-E_Kcre4O.esm.js → camera-wzsqfd3B.esm.js} +9 -1
- package/dist/camera.d.ts +2 -2
- package/dist/camera.esm.js +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-B0YKqYtZ.d.ts → consentManager-Duzd8paN.d.ts} +5 -5
- package/dist/{deepsightLoader-C7TAHJXG.esm.js → deepsightLoader-Ckm6t3kD.esm.js} +3 -3
- package/dist/{desktopCameraElection-ByUXdW6A.esm.js → desktopCameraElection-q3cVTQ6a.esm.js} +19 -7
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-C9g-btPN.esm.js → documentCaptureManager-D5oiXpwG.esm.js} +1 -1
- package/dist/{documentCaptureManager-CoGcEiMK.d.ts → documentCaptureManager-Dd3T6bcs.d.ts} +5 -5
- package/dist/{documentCaptureStateMachine-B0b1h_GT.esm.js → documentCaptureStateMachine-zyJcTCBx.esm.js} +4 -4
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-DWeIy62Y.esm.js → dynamicFormsManager-BVajFTAr.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-dJEw3-L4.esm.js → dynamicFormsStateMachine-CojKBZSx.esm.js} +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-JBglywM8.esm.js → ekybManager-IjDkBive.esm.js} +1 -1
- package/dist/{ekybStateMachine-CUq0RRXx.esm.js → ekybStateMachine-DrWUhTG5.esm.js} +1 -1
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/{ekycPrefillManager-CMGSavny.esm.js → ekycPrefillManager-9Rdv8tsm.esm.js} +1 -1
- package/dist/{ekycPrefillManager-BcLhkpp8.d.ts → ekycPrefillManager-CUFTaI8e.d.ts} +30 -30
- package/dist/{ekycPrefillStateMachine-43l5cV8s.esm.js → ekycPrefillStateMachine-DVe575y0.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-C86sxqsy.esm.js → electronicSignatureManager-BDOrUs1S.esm.js} +1 -1
- package/dist/extensibility.d.ts +9 -9
- package/dist/extensibility.esm.js +14 -14
- package/dist/{faceCaptureManagerFactory-dgc5H8hd.esm.js → faceCaptureManagerFactory-D7o4vaSt.esm.js} +2 -2
- package/dist/{faceCaptureManagerFactory-DqDNQb8X.d.ts → faceCaptureManagerFactory-DLFzd1nq.d.ts} +2 -2
- package/dist/{faceCaptureSetup-BcE26nwo.esm.js → faceCaptureSetup-B6pAu2Lo.esm.js} +21 -10
- package/dist/{feature-management-So4L3K2G.esm.js → feature-management-Y7TclYIm.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-D4G-4xKE.esm.js → fiscalQrManager-2ZBUw08-.esm.js} +2 -2
- package/dist/flow.d.ts +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-DVqGjUJ5.esm.js → flowCompletionService-C0gr4duW.esm.js} +1 -1
- package/dist/{flowServices-m20VxXpw.esm.js → flowServices-B-_9AUG2.esm.js} +8 -9
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-B7tr1Mjr.esm.js → geolocationManager-BFT5MLUp.esm.js} +1 -1
- package/dist/{geolocationManager-CENrvxpK.d.ts → geolocationManager-Del2ddmt.d.ts} +1 -1
- package/dist/{geolocationStateMachine-Bj7PzCgO.esm.js → geolocationStateMachine-B0mxG9gS.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 +7 -7
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-BY8Ms5-x.esm.js → idCaptureManager-kiSWD5_7.esm.js} +5 -5
- package/dist/{idCaptureServices-DxRuZzik.esm.js → idCaptureServices-DABHaQGi.esm.js} +6 -5
- package/dist/{idCaptureStateMachine-jIgD_6K9.esm.js → idCaptureStateMachine-B6Djl8nt.esm.js} +22 -12
- package/dist/{idOcrManager-DflRx-_u.d.ts → idOcrManager-C3BHGgSb.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-0_CnXLk4.esm.js → kybChecksManager-CAzYmH8L.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-CothByiQ.esm.js → kybChecksStateMachine-DWYRi__r.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-DszYRM5U.d.ts → mandatoryConsentManager-CCkV4Cm3.d.ts} +5 -5
- package/dist/{permissionGuards-DoAed6-z.esm.js → permissionGuards-CR0Z10rU.esm.js} +1 -1
- package/dist/{permissionServices-Ex5xc1h7.esm.js → permissionServices-BMQItC9y.esm.js} +6 -3
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-DxiwS8TV.esm.js → recordingService-yptkVJTO.esm.js} +3 -2
- package/dist/{runChildModule-BeAXn155.esm.js → runChildModule-CfTDIDFy.esm.js} +1 -1
- package/dist/{sdkVersion-CK98LU4K.esm.js → sdkVersion-B0u1yI4T.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieErrorUtils-Bd3iBR1y.esm.js → selfieErrorUtils-KMGgzEY8.esm.js} +1 -1
- package/dist/{selfieManager-u0dnwOE7.esm.js → selfieManager-CRAV_PgJ.esm.js} +3 -3
- package/dist/{selfieManager-Btqla0Id.d.ts → selfieManager-CvWeyYup.d.ts} +1 -1
- package/dist/{selfieStateMachine-BvMe5dxz.esm.js → selfieStateMachine-jd3k1iLj.esm.js} +3 -3
- package/dist/{session--fux_Vkl.esm.js → session-BkAhUvu7.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-BhXyYkt8.esm.js → sessionInitializer-BzPWbuZe.esm.js} +14 -60
- package/dist/{setup-uIE9pmGh.esm.js → setup-Cg1JJe3W.esm.js} +5 -5
- package/dist/{trueSightService-DhNRlYgN.esm.js → trueSightService-CzUm08rX.esm.js} +1 -1
- package/dist/{types-CoAp9UmW.d.ts → types-BRmwbyAu.d.ts} +2 -0
- package/dist/{types-BxLFoqzR.d.ts → types-Bc1-m6MR.d.ts} +1 -1
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +4 -4
- package/dist/{videoSelfieCameraWarmer-e9InU88j.esm.js → videoSelfieCameraWarmer-Dmkf-4Dt.esm.js} +6 -6
- package/dist/{videoSelfieStepDetector-VJFqUQmL.d.ts → videoSelfieStepDetector-DStjqQQm.d.ts} +14 -1
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +16 -16
- package/package.json +1 -1
|
@@ -73,6 +73,7 @@ function cameraCompositorWorkerMain(scope) {
|
|
|
73
73
|
let videoEncoder = null;
|
|
74
74
|
let audioEncoder = null;
|
|
75
75
|
let hasAudioSource = false;
|
|
76
|
+
let activeAudioReader = null;
|
|
76
77
|
let audioWanted = false;
|
|
77
78
|
let audioFormat = null;
|
|
78
79
|
let audioInHeader = false;
|
|
@@ -450,14 +451,20 @@ function cameraCompositorWorkerMain(scope) {
|
|
|
450
451
|
};
|
|
451
452
|
const pumpAudio = async (readable) => {
|
|
452
453
|
const reader = readable.getReader();
|
|
454
|
+
activeAudioReader = reader;
|
|
453
455
|
try {
|
|
454
456
|
for (;;) {
|
|
455
457
|
const { value, done } = await reader.read();
|
|
456
458
|
if (done) return;
|
|
459
|
+
if (reader !== activeAudioReader) {
|
|
460
|
+
value.close();
|
|
461
|
+
return;
|
|
462
|
+
}
|
|
457
463
|
if (paused || recording !== "on") value.close();
|
|
458
464
|
else encodeAudio(value);
|
|
459
465
|
}
|
|
460
466
|
} catch (error) {
|
|
467
|
+
if (reader !== activeAudioReader) return;
|
|
461
468
|
audioWanted = false;
|
|
462
469
|
scope.postMessage({
|
|
463
470
|
type: "record-error",
|
|
@@ -549,6 +556,15 @@ function cameraCompositorWorkerMain(scope) {
|
|
|
549
556
|
case "source":
|
|
550
557
|
switchSource(message.readable);
|
|
551
558
|
break;
|
|
559
|
+
case "audio": {
|
|
560
|
+
if (!encodeConfig || !hasAudioSource) break;
|
|
561
|
+
const previous = activeAudioReader;
|
|
562
|
+
activeAudioReader = null;
|
|
563
|
+
previous?.cancel().catch(() => {});
|
|
564
|
+
audio.offsetUs = null;
|
|
565
|
+
pumpAudio(message.readable);
|
|
566
|
+
break;
|
|
567
|
+
}
|
|
552
568
|
case "pause":
|
|
553
569
|
paused = true;
|
|
554
570
|
break;
|
|
@@ -708,6 +724,44 @@ var CameraCompositor = class {
|
|
|
708
724
|
if (previousVideoTrack) previousVideoTrack.stop();
|
|
709
725
|
}
|
|
710
726
|
/**
|
|
727
|
+
* Stops the microphone while no attempt records, so it is not held between
|
|
728
|
+
* attempts. Only the in-worker encoder can take a new microphone later
|
|
729
|
+
* (`switchAudio`); a `MediaRecorder` must keep its tracks, so there the
|
|
730
|
+
* microphone stays until `stop()`.
|
|
731
|
+
*/
|
|
732
|
+
releaseAudio() {
|
|
733
|
+
if (!this.encodesInWorker || !this.audioTrack) return;
|
|
734
|
+
this.composite?.removeTrack(this.audioTrack);
|
|
735
|
+
this.audioTrack.stop();
|
|
736
|
+
this.audioTrack = null;
|
|
737
|
+
}
|
|
738
|
+
/**
|
|
739
|
+
* Gives the in-worker encoder the microphone of `stream` after
|
|
740
|
+
* `releaseAudio`. Otherwise the composite keeps its microphone and the audio
|
|
741
|
+
* tracks of `stream` are stopped, because nothing else would end them.
|
|
742
|
+
*/
|
|
743
|
+
switchAudio(stream) {
|
|
744
|
+
const [track, ...unused] = stream.getAudioTracks();
|
|
745
|
+
for (const extra of unused) extra.stop();
|
|
746
|
+
if (!track) return;
|
|
747
|
+
if (!this.encodesInWorker || this.audioTrack || !this.composite) {
|
|
748
|
+
track.stop();
|
|
749
|
+
return;
|
|
750
|
+
}
|
|
751
|
+
try {
|
|
752
|
+
const processor = createTrackProcessor(track);
|
|
753
|
+
this.postToWorker({
|
|
754
|
+
type: "audio",
|
|
755
|
+
readable: processor.readable
|
|
756
|
+
}, [processor.readable]);
|
|
757
|
+
} catch {
|
|
758
|
+
track.stop();
|
|
759
|
+
return;
|
|
760
|
+
}
|
|
761
|
+
this.audioTrack = track;
|
|
762
|
+
this.composite.addTrack(track);
|
|
763
|
+
}
|
|
764
|
+
/**
|
|
711
765
|
* True when this compositor records by itself: the worker transport started
|
|
712
766
|
* with `encodeInWorker` and the browser has `VideoEncoder`. Use the
|
|
713
767
|
* `*WorkerRecording` methods instead of a `MediaRecorder` then; the
|
package/dist/{FaceDetectionProvider-CCJo4bco.esm.js → FaceDetectionProvider-VT31r1ov.esm.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { l as wasmRuntime } from "./warmup-BZOMg303.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-Cg1JJe3W.esm.js";
|
|
3
3
|
import { r as BaseWasmProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
4
4
|
import { t as api, u as endpoints } from "./api-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-CzUm08rX.esm.js";
|
|
6
|
+
import "./sessionInitializer-BzPWbuZe.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";
|
|
10
|
-
import { r as hasBackCamera } from "./backCameraStream-
|
|
10
|
+
import { r as hasBackCamera } from "./backCameraStream-Bn9Z5wM5.esm.js";
|
|
11
11
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
12
12
|
import { n as saveProcessFaceMatch } from "./processFaceMatch-B_DkDTE5.esm.js";
|
|
13
13
|
//#region src/internal/faceCapture/onDeviceFaceResults.ts
|
|
@@ -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-Ckm6t3kD.esm.js");
|
|
239
239
|
return loadDeepsightSession({
|
|
240
240
|
ds: options.ds,
|
|
241
241
|
storage: options.storage
|
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-BDOrUs1S.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-DLFzd1nq.js";
|
|
2
|
+
import { t as AuthenticationConfig } from "./types-Bc1-m6MR.js";
|
|
3
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-DWFnFadt.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-D5S7dLqB.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-Db2AIYOY.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-DLFzd1nq.js";
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
package/dist/{authenticationManager-BXdvE7lC.esm.js → authenticationManager-Db2AIYOY.esm.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-Cg1JJe3W.esm.js";
|
|
2
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-D7o4vaSt.esm.js";
|
|
7
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-D5S7dLqB.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-B6pAu2Lo.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-VT31r1ov.esm.js";
|
|
5
|
+
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-q3cVTQ6a.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,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
2
2
|
import { a as isIOS, c as isIPhone14OrHigher, d as isSafari, i as isDesktop, t as isAndroid } from "./platform-aPh7gTWh.esm.js";
|
|
3
|
-
import { a as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-
|
|
3
|
+
import { a as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-wzsqfd3B.esm.js";
|
|
4
4
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
5
5
|
import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
|
|
6
6
|
import { n as isBackFacingTrack, r as selectBestBackDevice, t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
@@ -136,6 +136,14 @@ async function requestCameraWithFallback(baseConstraints, fallbacks = DEFAULT_RE
|
|
|
136
136
|
}
|
|
137
137
|
throw new Error("All camera resolution fallbacks failed");
|
|
138
138
|
}
|
|
139
|
+
/**
|
|
140
|
+
* The video tracks of `video` with the audio tracks of `audio`, as one stream.
|
|
141
|
+
* Returns `video` itself when `audio` has no audio track.
|
|
142
|
+
*/
|
|
143
|
+
function withAudioTracks(video, audio) {
|
|
144
|
+
const audioTracks = audio?.getAudioTracks() ?? [];
|
|
145
|
+
return audioTracks.length > 0 ? new MediaStream([...video.getVideoTracks(), ...audioTracks]) : video;
|
|
146
|
+
}
|
|
139
147
|
function stopCameraStream(stream) {
|
|
140
148
|
for (const track of stream.getTracks()) track.stop();
|
|
141
149
|
}
|
|
@@ -147,4 +155,4 @@ async function applyTrackConstraints(track, constraints) {
|
|
|
147
155
|
await track.applyConstraints(constraints);
|
|
148
156
|
}
|
|
149
157
|
//#endregion
|
|
150
|
-
export { stopCameraStream as a,
|
|
158
|
+
export { stopCameraStream as a, isCameraDenialErrorName as c, requestCameraWithFallback as i, isCameraGrantedInDocument as l, enumerateVideoDevices as n, withAudioTracks as o, requestCameraAccess as r, clearCameraGrantedInDocument as s, applyTrackConstraints as t, markCameraGrantedInDocument as u };
|
package/dist/camera.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ type RequestPermissionOptions = {
|
|
|
4
4
|
requestMotion?: boolean;
|
|
5
5
|
/**
|
|
6
6
|
* Also request microphone access in the same `getUserMedia` call. Used by
|
|
7
|
-
* Video Selfie,
|
|
8
|
-
*
|
|
7
|
+
* Video Selfie, and by ID and selfie when they record a merged session with
|
|
8
|
+
* sound. Defaults to `false`, so other flows keep `{ video: true }` exactly.
|
|
9
9
|
*/
|
|
10
10
|
requestAudio?: boolean;
|
|
11
11
|
};
|
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-BMQItC9y.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 };
|
|
@@ -87,10 +87,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
87
87
|
type: "setLoadError";
|
|
88
88
|
params: NonReducibleUnknown;
|
|
89
89
|
};
|
|
90
|
-
resetContext: {
|
|
91
|
-
type: "resetContext";
|
|
92
|
-
params: NonReducibleUnknown;
|
|
93
|
-
};
|
|
94
90
|
setConsentData: {
|
|
95
91
|
type: "setConsentData";
|
|
96
92
|
params: NonReducibleUnknown;
|
|
@@ -99,10 +95,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
99
95
|
type: "toggleCheckbox";
|
|
100
96
|
params: NonReducibleUnknown;
|
|
101
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" | "loading" | "submitting" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
106
106
|
readonly id: "consent";
|
|
107
107
|
readonly initial: "idle";
|
|
108
108
|
readonly context: ({ input }: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
2
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
3
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
4
|
-
import { C as
|
|
2
|
+
import { u as trueSightLog } from "./trueSightService-CzUm08rX.esm.js";
|
|
3
|
+
import { t as SDK_VERSION } from "./sdkVersion-B0u1yI4T.esm.js";
|
|
4
|
+
import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, _ as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, w as SDK_PLATFORM, x as IpifyProvider, y as getThumbmarkId } from "./sessionInitializer-BzPWbuZe.esm.js";
|
|
5
5
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
6
6
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
7
7
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BHm1d2gA.esm.js";
|
package/dist/{desktopCameraElection-ByUXdW6A.esm.js → desktopCameraElection-q3cVTQ6a.esm.js}
RENAMED
|
@@ -3,8 +3,8 @@ import { d as getCameraCycleOwnershipDomain, l as wasmRuntime, u as CAMERA_CYCLE
|
|
|
3
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
|
-
import {
|
|
7
|
-
import { l as queryCameraPermission } from "./permissionServices-
|
|
6
|
+
import { c as isCameraDenialErrorName, n as enumerateVideoDevices, o as withAudioTracks, r as requestCameraAccess, s as clearCameraGrantedInDocument, u as markCameraGrantedInDocument } from "./camera-wzsqfd3B.esm.js";
|
|
7
|
+
import { l as queryCameraPermission } from "./permissionServices-BMQItC9y.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
|
|
@@ -295,6 +295,7 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
295
295
|
let pendingDeliveryEvent = null;
|
|
296
296
|
let visibilityGeneration = 0;
|
|
297
297
|
let hostStream = null;
|
|
298
|
+
let audioStream = null;
|
|
298
299
|
let resourcesReleased = false;
|
|
299
300
|
let cycleTransferred = false;
|
|
300
301
|
let commandQueue = Promise.resolve();
|
|
@@ -343,6 +344,7 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
343
344
|
}
|
|
344
345
|
});
|
|
345
346
|
};
|
|
347
|
+
const withMic = (videoStream) => withAudioTracks(videoStream, audioStream);
|
|
346
348
|
const releaseResources = () => {
|
|
347
349
|
if (resourcesReleased) return;
|
|
348
350
|
resourcesReleased = true;
|
|
@@ -363,6 +365,8 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
363
365
|
finalizeDeferred = false;
|
|
364
366
|
stopTracks(hostStream);
|
|
365
367
|
hostStream = null;
|
|
368
|
+
stopTracks(audioStream);
|
|
369
|
+
audioStream = null;
|
|
366
370
|
if (cycleTransferred) input.cycleOwnership.releaseByAttempt();
|
|
367
371
|
else input.cycleOwnership.releaseByController();
|
|
368
372
|
};
|
|
@@ -451,8 +455,8 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
451
455
|
onFirstFrame: () => {
|
|
452
456
|
startupTiming.firstFrameMs ??= Math.max(0, now() - cameraStepStartedAt);
|
|
453
457
|
},
|
|
454
|
-
onCameraReady: (
|
|
455
|
-
stopTracks(
|
|
458
|
+
onCameraReady: (claimedAudio) => {
|
|
459
|
+
stopTracks(claimedAudio);
|
|
456
460
|
step.outcome ??= { ready: true };
|
|
457
461
|
},
|
|
458
462
|
onCameraFailed: (error) => {
|
|
@@ -484,10 +488,18 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
484
488
|
await input.configureWorkflow();
|
|
485
489
|
startupTiming.configureMs = Math.max(0, now() - configureStartedAt);
|
|
486
490
|
if (!active) return;
|
|
491
|
+
if (input.recordAudio) try {
|
|
492
|
+
const mic = await requestCameraAccess({ audio: true });
|
|
493
|
+
if (!active) {
|
|
494
|
+
stopTracks(mic);
|
|
495
|
+
return;
|
|
496
|
+
}
|
|
497
|
+
audioStream = mic;
|
|
498
|
+
} catch {}
|
|
487
499
|
recorderOperationInFlight = true;
|
|
488
500
|
const recorderStartedAt = now();
|
|
489
501
|
try {
|
|
490
|
-
await input.recorder.start(displayStream);
|
|
502
|
+
await input.recorder.start(withMic(displayStream));
|
|
491
503
|
recorderStarted = input.recorder.mode !== "none";
|
|
492
504
|
} catch {
|
|
493
505
|
try {
|
|
@@ -610,7 +622,7 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
610
622
|
}
|
|
611
623
|
try {
|
|
612
624
|
recorderOperationInFlight = true;
|
|
613
|
-
await input.recorder.resumeAfterPoc(displayStream);
|
|
625
|
+
await input.recorder.resumeAfterPoc(withMic(displayStream));
|
|
614
626
|
recorderResumedAfterPoc = true;
|
|
615
627
|
postPocDisplayStream = displayStream;
|
|
616
628
|
} catch {
|
|
@@ -793,7 +805,7 @@ const runProtectedAttempt = ({ input, sendBack, receive }) => {
|
|
|
793
805
|
}
|
|
794
806
|
recorderOperationInFlight = true;
|
|
795
807
|
try {
|
|
796
|
-
await input.recorder.resumeFromBackground(resumedStream);
|
|
808
|
+
await input.recorder.resumeFromBackground(withMic(resumedStream));
|
|
797
809
|
if (!active) return;
|
|
798
810
|
if (receivedVisibilityGeneration !== visibilityGeneration) {
|
|
799
811
|
recorderOperationInFlight = false;
|
|
@@ -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-Dd3T6bcs.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-zyJcTCBx.esm.js";
|
|
2
|
+
import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-D5oiXpwG.esm.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
package/dist/{documentCaptureManager-C9g-btPN.esm.js → documentCaptureManager-D5oiXpwG.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-zyJcTCBx.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();
|
|
@@ -102,14 +102,14 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
102
102
|
id: string | undefined;
|
|
103
103
|
};
|
|
104
104
|
}>, Values<{
|
|
105
|
-
decrementAttemptsRemaining: {
|
|
106
|
-
type: "decrementAttemptsRemaining";
|
|
107
|
-
params: NonReducibleUnknown;
|
|
108
|
-
};
|
|
109
105
|
clearError: {
|
|
110
106
|
type: "clearError";
|
|
111
107
|
params: NonReducibleUnknown;
|
|
112
108
|
};
|
|
109
|
+
decrementAttemptsRemaining: {
|
|
110
|
+
type: "decrementAttemptsRemaining";
|
|
111
|
+
params: NonReducibleUnknown;
|
|
112
|
+
};
|
|
113
113
|
setStream: {
|
|
114
114
|
type: "setStream";
|
|
115
115
|
params: NonReducibleUnknown;
|
|
@@ -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" | "initCamera" | "tutorial" | "capturing" | "preview" | "failure" | "nextPage" | "finalizing" | {
|
|
267
267
|
permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
|
|
268
268
|
}, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
269
269
|
readonly id: "documentCapture";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
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
|
-
import { a as stopCameraStream } from "./camera-
|
|
5
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
6
|
-
import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
4
|
+
import { a as stopCameraStream } from "./camera-wzsqfd3B.esm.js";
|
|
5
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-BMQItC9y.esm.js";
|
|
6
|
+
import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-CR0Z10rU.esm.js";
|
|
7
7
|
import { t as carryAttempts } from "./attemptCarry-BecGGZK8.esm.js";
|
|
8
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
8
|
+
import { n as getBackCameraStream } from "./backCameraStream-Bn9Z5wM5.esm.js";
|
|
9
9
|
//#region src/modules/document-capture/types.ts
|
|
10
10
|
const PROCESSING_TYPE_MAP = {
|
|
11
11
|
processV5CLogbook: "v5cMultiPageLogbook",
|
|
@@ -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-CojKBZSx.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-BVajFTAr.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-CojKBZSx.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-dJEw3-L4.esm.js → dynamicFormsStateMachine-CojKBZSx.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-D2biqI0c.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-DrWUhTG5.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-IjDkBive.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-DrWUhTG5.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-B-_9AUG2.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-CUFTaI8e.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-DVe575y0.esm.js";
|
|
2
|
+
import { t as createEkycPrefillManager } from "./ekycPrefillManager-9Rdv8tsm.esm.js";
|
|
3
3
|
export { createEkycPrefillManager, ekycPrefillMachine, toEkycPrefillConfig };
|
|
@@ -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-DVe575y0.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 = {}) {
|