@incodetech/core 0.0.0-dev-20260929-b49bbd0c → 0.0.0-dev-20260929-87a84948
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-hKtP6qpS.esm.js → FaceDetectionProvider-BateaeMt.esm.js} +4 -4
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-BCElLfAr.esm.js → apiError-DTWp4ofQ.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DPUWXXxk.esm.js → authenticationManager-DD3hIALy.esm.js} +3 -3
- package/dist/{authenticationStateMachine-Cc39Ykkx.esm.js → authenticationStateMachine-BA2oRk_Z.esm.js} +3 -3
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-Ca8FHlC4.d.ts → consentManager-Cv_0QKLD.d.ts} +8 -8
- package/dist/{createCameraCycleOwnership-CQIv3cR9.esm.js → createCameraCycleOwnership-26-cuXnc.esm.js} +44 -2
- package/dist/{deepsightLoader-4Ti7lNvp.esm.js → deepsightLoader-BZ2fNuQQ.esm.js} +3 -3
- package/dist/document-capture.d.ts +1 -1
- package/dist/{documentCaptureManager-C8eO0hbv.d.ts → documentCaptureManager-CbAGkHWh.d.ts} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-z_tNQ4Jw.esm.js → dynamicFormsManager-D3f2kzWB.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-DIrb7tOs.esm.js → dynamicFormsStateMachine-Ci5pJ9K2.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-BpqFT8Tc.esm.js → ekybManager-BlgOPmO9.esm.js} +1 -1
- package/dist/{ekybStateMachine-COtLonZW.esm.js → ekybStateMachine-Bmn9nIh5.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-CDDTnxc1.esm.js → electronicSignatureManager-2LL3V9m9.esm.js} +1 -1
- package/dist/extensibility.d.ts +6 -6
- package/dist/extensibility.esm.js +10 -10
- package/dist/{faceCaptureManagerFactory-oUxMV9zI.esm.js → faceCaptureManagerFactory-BouI864o.esm.js} +1 -1
- package/dist/{faceCaptureSetup-Cs-hZXm9.esm.js → faceCaptureSetup-CG12yFfL.esm.js} +4 -4
- package/dist/{feature-management-5sHvTHRx.esm.js → feature-management-CuudH8EU.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.d.ts +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-BS5y4kYp.esm.js → flowCompletionService-BG8n1rJh.esm.js} +1 -1
- package/dist/{flowServices-qVkZm7Ml.esm.js → flowServices-Dg5_XtSo.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-BX4p2B4x.esm.js → geolocationManager-BaQU4prQ.esm.js} +1 -1
- package/dist/{geolocationStateMachine-B_Fi7SWH.esm.js → geolocationStateMachine-C6QawZa3.esm.js} +1 -1
- package/dist/id-selfie-flow.esm.js +7 -7
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-CjaKVRyo.esm.js → idCaptureDefaults-DLGhAZHa.esm.js} +1 -1
- package/dist/{idCaptureManager-BQNdhFid.d.ts → idCaptureManager-BtH7mD0W.d.ts} +8 -1
- package/dist/{idCaptureManager-Cyep9h0f.esm.js → idCaptureManager-CYZbmh1j.esm.js} +18 -5
- package/dist/{idCaptureServices-DRfUda5k.esm.js → idCaptureServices-DnijvEHX.esm.js} +3 -3
- package/dist/{idCaptureStateMachine-CF7iJmpG.esm.js → idCaptureStateMachine-W1g4O5IC.esm.js} +194 -114
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-ooAbp6Kc.d.ts → identityReuseManager-B1birg5X.d.ts} +4 -4
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-qcGR_MQW.d.ts → mandatoryConsentManager--VXK6OFA.d.ts} +4 -4
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-DPY1pi87.esm.js → runChildModule-BJ4ZER7I.esm.js} +1 -1
- package/dist/{sdkVersion-uVDjoGrM.esm.js → sdkVersion-BFh7VlB2.esm.js} +1 -1
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieManager-4iSUYCaG.esm.js → selfieManager-CfMPg04e.esm.js} +3 -3
- package/dist/{selfieStateMachine-CR_gGPCk.esm.js → selfieStateMachine-CpygJrIS.esm.js} +2 -2
- package/dist/{session-DMKlmBum.esm.js → session-C4duQNuh.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-C4kwZzmT.esm.js → sessionInitializer-BdXLSDqp.esm.js} +3 -3
- package/dist/{setup-BpcRuub8.esm.js → setup-Cdfb_Cm6.esm.js} +4 -4
- package/dist/{trueSightService-BDcqmaet.esm.js → trueSightService-P8E4GljH.esm.js} +1 -1
- package/dist/{types-D8MFaAoY2.d.ts → types-BNqkP6RF2.d.ts} +6 -0
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-CJqJKXtw.esm.js → videoSelfieCameraWarmer-DXuMLqKd.esm.js} +3 -3
- package/dist/wasm.esm.js +2 -2
- package/dist/workflow.esm.js +14 -14
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ import { t as BaseWasmProvider } from "./BaseWasmProvider-BL9wIRnN.js";
|
|
|
11
11
|
import { n as DeepsightService } from "./StreamCanvasCapture-CeBBJ_RC.js";
|
|
12
12
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
13
13
|
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-DBsv9-7M.js";
|
|
14
|
-
import { A as DeviceWalletDecision, E as IdErrorCode, F as DeviceWalletProvider, G as DigitalIdProviderId, I as DeviceWalletServices, J as IDigitalCredentialsCapability, K as FailureReason, M as DeviceWalletFailReason, O as UploadIdResponse, P as DeviceWalletPlatform, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DeviceWalletDecryptResponse, k as IAnalyticsCapability, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode } from "./types-
|
|
14
|
+
import { A as DeviceWalletDecision, E as IdErrorCode, F as DeviceWalletProvider, G as DigitalIdProviderId, I as DeviceWalletServices, J as IDigitalCredentialsCapability, K as FailureReason, M as DeviceWalletFailReason, O as UploadIdResponse, P as DeviceWalletPlatform, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DeviceWalletDecryptResponse, k as IAnalyticsCapability, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode } from "./types-BNqkP6RF2.js";
|
|
15
15
|
//#region ../infra/src/providers/wasm/WasmUtilProvider.d.ts
|
|
16
16
|
declare class WasmUtilProvider extends BaseWasmProvider implements IWasmUtilCapability {
|
|
17
17
|
private static instance;
|
|
@@ -683,6 +683,10 @@ declare function createIdCaptureManagerFromActor(actor: AnyIdCaptureActor, visib
|
|
|
683
683
|
continueFromError(): void;
|
|
684
684
|
capture(): void;
|
|
685
685
|
switchToManualCapture(): void;
|
|
686
|
+
switchToAutoCapture(): void;
|
|
687
|
+
/** Pauses live detection; returns false when capture can no longer enter Help. */
|
|
688
|
+
openHelp(): boolean;
|
|
689
|
+
closeHelp(): void;
|
|
686
690
|
continueToBack(): void;
|
|
687
691
|
continueToFront(): void;
|
|
688
692
|
skipBack(): void;
|
|
@@ -744,6 +748,9 @@ declare function createIdCaptureManager(options: CreateIdCaptureActorOptions): M
|
|
|
744
748
|
continueFromError(): void;
|
|
745
749
|
capture(): void;
|
|
746
750
|
switchToManualCapture(): void;
|
|
751
|
+
switchToAutoCapture(): void;
|
|
752
|
+
openHelp(): boolean;
|
|
753
|
+
closeHelp(): void;
|
|
747
754
|
continueToBack(): void;
|
|
748
755
|
continueToFront(): void;
|
|
749
756
|
skipBack(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-Cdfb_Cm6.esm.js";
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
@@ -6,8 +6,8 @@ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-DyNj8RY_.esm.js";
|
|
|
6
6
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
7
7
|
import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-B9IqVf3c.esm.js";
|
|
8
8
|
import { t as getDeviceClass } from "./getDeviceClass-5NYZg9s6.esm.js";
|
|
9
|
-
import { l as createIdProtectedCaptureController, m as mapDeviceWalletScreenName, n as provideIdProtectedCaptureController, p as BrowserDigitalCredentialsProvider, t as idCaptureMachine, u as findIdProtectedCaptureController } from "./idCaptureStateMachine-
|
|
10
|
-
import { b as resolveIdCaptureThresholds, v as resolveCaptureOptimizingTreatment, y as resolveCountdownStepMs } from "./idCaptureServices-
|
|
9
|
+
import { l as createIdProtectedCaptureController, m as mapDeviceWalletScreenName, n as provideIdProtectedCaptureController, p as BrowserDigitalCredentialsProvider, t as idCaptureMachine, u as findIdProtectedCaptureController } from "./idCaptureStateMachine-W1g4O5IC.esm.js";
|
|
10
|
+
import { b as resolveIdCaptureThresholds, v as resolveCaptureOptimizingTreatment, y as resolveCountdownStepMs } from "./idCaptureServices-DnijvEHX.esm.js";
|
|
11
11
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
12
12
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
13
13
|
function isHoldingState(value) {
|
|
@@ -83,7 +83,7 @@ function getPermissionStatus(snapshot) {
|
|
|
83
83
|
function getCaptureStatus(snapshot) {
|
|
84
84
|
const matches = {
|
|
85
85
|
initializing: snapshot.matches({ capture: "initializing" }),
|
|
86
|
-
detecting: snapshot.matches({ capture: "detecting" }) || snapshot.matches({ capture: "choosingDetectionStrategy" }) || snapshot.matches({ capture: { detectingWithOptimization: "searching" } }),
|
|
86
|
+
detecting: snapshot.matches({ capture: "detecting" }) || snapshot.matches({ capture: "help" }) || snapshot.matches({ capture: "choosingDetectionStrategy" }) || snapshot.matches({ capture: { detectingWithOptimization: "searching" } }),
|
|
87
87
|
manualCaptureWaiting: snapshot.matches({ capture: "manualCaptureWaiting" }),
|
|
88
88
|
capturing: snapshot.matches({ capture: "capturing" }),
|
|
89
89
|
capturingManual: snapshot.matches({ capture: "capturingManual" }),
|
|
@@ -485,6 +485,18 @@ function createApi({ actor, trackElementClicked, trackCaptureAttemptFinished })
|
|
|
485
485
|
trackElementClicked?.("switchToManualCapture");
|
|
486
486
|
actor.send({ type: "SWITCH_TO_MANUAL_CAPTURE" });
|
|
487
487
|
},
|
|
488
|
+
switchToAutoCapture() {
|
|
489
|
+
trackElementClicked?.("secondaryCTA.takePhotoAutomatically");
|
|
490
|
+
actor.send({ type: "SWITCH_TO_AUTO_CAPTURE" });
|
|
491
|
+
},
|
|
492
|
+
/** Pauses live detection; returns false when capture can no longer enter Help. */
|
|
493
|
+
openHelp() {
|
|
494
|
+
actor.send({ type: "OPEN_HELP" });
|
|
495
|
+
return actor.getSnapshot().matches({ capture: "help" });
|
|
496
|
+
},
|
|
497
|
+
closeHelp() {
|
|
498
|
+
actor.send({ type: "CLOSE_HELP" });
|
|
499
|
+
},
|
|
488
500
|
continueToBack() {
|
|
489
501
|
trackElementClicked?.("continueToBack");
|
|
490
502
|
actor.send({ type: "CONTINUE_TO_BACK" });
|
|
@@ -646,7 +658,8 @@ function getCaptureSubstateScreen(snapshot, screens) {
|
|
|
646
658
|
case "checkingStream":
|
|
647
659
|
case "initializing":
|
|
648
660
|
case "initializingDeepsight": return "idCapture.loader.preparingcamera";
|
|
649
|
-
case "detecting":
|
|
661
|
+
case "detecting":
|
|
662
|
+
case "help": return getCaptureLiveCueScreen(screens, context.detectionStatus);
|
|
650
663
|
case "manualCaptureWaiting": return `${screens.capturePrefix}.manual`;
|
|
651
664
|
case "capturing": return `${screens.capturePrefix}.takingphoto`;
|
|
652
665
|
case "capturingManual": return `${screens.capturePrefix}.manual`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
-
import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-Cdfb_Cm6.esm.js";
|
|
2
|
+
import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-CuudH8EU.esm.js";
|
|
3
3
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
|
|
5
5
|
import { i as isDesktop } from "./platform-DkcRc9JV.esm.js";
|
|
@@ -9,7 +9,7 @@ import { l as queryCameraPermission } from "./permissionServices-B9IqVf3c.esm.js
|
|
|
9
9
|
import { i as createRecordingCompositor, n as WorkerEncoderRecordingProvider, t as MultipartRecordingService } from "./multipartRecordingService-CMjkhS2x.esm.js";
|
|
10
10
|
import { n as getBackCameraStream, o as isBackFacingTrack } from "./backCameraStream-CMvXj4X4.esm.js";
|
|
11
11
|
import { t as getDeviceClass } from "./getDeviceClass-5NYZg9s6.esm.js";
|
|
12
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-
|
|
12
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-DLGhAZHa.esm.js";
|
|
13
13
|
//#region src/internal/camera/cameraServices.ts
|
|
14
14
|
function createCameraServices(camera) {
|
|
15
15
|
return {
|
package/dist/{idCaptureStateMachine-CF7iJmpG.esm.js → idCaptureStateMachine-W1g4O5IC.esm.js}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { c as trueSightHintTransition, l as trueSightLog, m as isTrueSightTesting, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
1
|
+
import { c as trueSightHintTransition, l as trueSightLog, m as isTrueSightTesting, r as noteTrueSightCaptureActivity } from "./trueSightService-P8E4GljH.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-Q_iUpxa8.esm.js";
|
|
3
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
3
|
+
import { l as BrowserStorageProvider } from "./setup-Cdfb_Cm6.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
|
-
import { s as exposeExperimentOnce } from "./feature-management-
|
|
5
|
+
import { s as exposeExperimentOnce } from "./feature-management-CuudH8EU.esm.js";
|
|
6
6
|
import { n as revokeObjectURL, t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
7
7
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
8
|
-
import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce } from "./events-ijlbX_Wx.esm.js";
|
|
9
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
8
|
+
import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce, v as addEvent } from "./events-ijlbX_Wx.esm.js";
|
|
9
|
+
import { t as getDisableIpify } from "./sessionInitializer-BdXLSDqp.esm.js";
|
|
10
10
|
import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
|
|
11
11
|
import { t as addDeviceStats } from "./stats-Dz3XWA64.esm.js";
|
|
12
12
|
import { a as isIOS, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-DkcRc9JV.esm.js";
|
|
13
|
-
import "./session-
|
|
13
|
+
import "./session-C4duQNuh.esm.js";
|
|
14
14
|
import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
15
15
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
16
16
|
import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-D6phjq1-.esm.js";
|
|
17
17
|
import { r as getCameraReacquisitionConstraints } from "./camera-sIa9ceW2.esm.js";
|
|
18
18
|
import { i as requestMotionPermission, n as invokeRequestPermissionActor, o as requiresMotionPermissionUserGesture, t as checkPermission } from "./permissionServices-B9IqVf3c.esm.js";
|
|
19
|
-
import { a as flagIdManualReview, n as runProtectedAttempt, o as PROTECTED_CAPTURE_TARGET, r as cameraCycleProvider, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-
|
|
19
|
+
import { a as flagIdManualReview, n as runProtectedAttempt, o as PROTECTED_CAPTURE_TARGET, r as cameraCycleProvider, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-26-cuXnc.esm.js";
|
|
20
20
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
21
21
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DS36X5Hh.esm.js";
|
|
22
22
|
import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-CMjkhS2x.esm.js";
|
|
@@ -26,8 +26,8 @@ import { a as isBackCameraLabel } from "./backCameraStream-CMvXj4X4.esm.js";
|
|
|
26
26
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
27
27
|
import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-CW8mFdt9.esm.js";
|
|
28
28
|
import { t as getDeviceClass } from "./getDeviceClass-5NYZg9s6.esm.js";
|
|
29
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-
|
|
30
|
-
import { C as getIdCameraStream, S as OPTIMIZING_WATCHDOG_MARGIN_MS, _ as ID_ERROR_CODES, a as getRealQualityValue, b as resolveIdCaptureThresholds, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId, x as CAPTURE_OPTIMIZING, y as resolveCountdownStepMs } from "./idCaptureServices-
|
|
29
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-DLGhAZHa.esm.js";
|
|
30
|
+
import { C as getIdCameraStream, S as OPTIMIZING_WATCHDOG_MARGIN_MS, _ as ID_ERROR_CODES, a as getRealQualityValue, b as resolveIdCaptureThresholds, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId, x as CAPTURE_OPTIMIZING, y as resolveCountdownStepMs } from "./idCaptureServices-DnijvEHX.esm.js";
|
|
31
31
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
32
32
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
33
33
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -1398,7 +1398,7 @@ fromPromise(async ({ input }) => {
|
|
|
1398
1398
|
});
|
|
1399
1399
|
fromPromise(async ({ input }) => {
|
|
1400
1400
|
if (!input.dependencies) return;
|
|
1401
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1401
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-BZ2fNuQQ.esm.js");
|
|
1402
1402
|
return loadDeepsightSession({
|
|
1403
1403
|
ds: input.ds,
|
|
1404
1404
|
storage: input.dependencies.storage,
|
|
@@ -1841,7 +1841,7 @@ function cleanup(service) {
|
|
|
1841
1841
|
service.cleanup();
|
|
1842
1842
|
} catch {}
|
|
1843
1843
|
}
|
|
1844
|
-
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-
|
|
1844
|
+
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-BZ2fNuQQ.esm.js")).loadDeepsightSession(input)) {
|
|
1845
1845
|
let disposed = false;
|
|
1846
1846
|
let preparation;
|
|
1847
1847
|
let service;
|
|
@@ -2513,6 +2513,8 @@ function createProtectedIdCallbackSession(input) {
|
|
|
2513
2513
|
let countdownTimers = [];
|
|
2514
2514
|
let qualityElements;
|
|
2515
2515
|
let isCapturing = false;
|
|
2516
|
+
let active = true;
|
|
2517
|
+
let paused = false;
|
|
2516
2518
|
let lastReportedSide = null;
|
|
2517
2519
|
let blurSignals = 0;
|
|
2518
2520
|
let bestFrameSignals = 0;
|
|
@@ -2563,114 +2565,139 @@ function createProtectedIdCallbackSession(input) {
|
|
|
2563
2565
|
send: setDetectionStatus,
|
|
2564
2566
|
isSuppressed: () => isReportedIdSideWrong(input.context.currentMode, lastReportedSide)
|
|
2565
2567
|
});
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
}
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
input.send({ type: "PROTECTED_OPTIMIZING" });
|
|
2614
|
-
}
|
|
2615
|
-
}, input.context.captureWindowMs);
|
|
2616
|
-
}
|
|
2617
|
-
},
|
|
2618
|
-
onBestFrame: (blur, glare, orientation) => {
|
|
2619
|
-
bestFrameSignals += 1;
|
|
2620
|
-
bestBlur = bestBlur === void 0 ? blur : Math.min(bestBlur, blur);
|
|
2621
|
-
qualityElements = {
|
|
2622
|
-
glare,
|
|
2623
|
-
sharpness: blur
|
|
2624
|
-
};
|
|
2625
|
-
if (orientation === "horizontal" || orientation === "vertical") input.send({
|
|
2626
|
-
type: "ORIENTATION_CHANGE",
|
|
2627
|
-
orientation
|
|
2628
|
-
});
|
|
2629
|
-
},
|
|
2630
|
-
onCapture: (canvas) => {
|
|
2631
|
-
isCapturing = false;
|
|
2568
|
+
const callbacks = {
|
|
2569
|
+
onFarAway: () => {
|
|
2570
|
+
if (!active || paused) return;
|
|
2571
|
+
if (!isCapturing) notifications.show("farAway");
|
|
2572
|
+
},
|
|
2573
|
+
onDetectionStarted: () => {},
|
|
2574
|
+
onMaskChange: (_show, _mask, _top, orientation) => {
|
|
2575
|
+
if (!active || paused) return;
|
|
2576
|
+
input.send({
|
|
2577
|
+
type: "ORIENTATION_CHANGE",
|
|
2578
|
+
orientation
|
|
2579
|
+
});
|
|
2580
|
+
},
|
|
2581
|
+
onBlur: () => {
|
|
2582
|
+
if (!active || paused) return;
|
|
2583
|
+
blurSignals += 1;
|
|
2584
|
+
if (!isCapturing) notifications.show("blur");
|
|
2585
|
+
},
|
|
2586
|
+
onGlare: () => {
|
|
2587
|
+
if (!active || paused) return;
|
|
2588
|
+
if (!isCapturing) notifications.show("glare");
|
|
2589
|
+
},
|
|
2590
|
+
onIdNotDetected: () => {
|
|
2591
|
+
if (!active || paused) return;
|
|
2592
|
+
if (!isCapturing) setDetectionStatus("idNotDetected");
|
|
2593
|
+
},
|
|
2594
|
+
onSwitchToManualCapture: () => {
|
|
2595
|
+
if (!active || paused) return;
|
|
2596
|
+
isCapturing = false;
|
|
2597
|
+
notifications.clear();
|
|
2598
|
+
clearOptimizingBoundary();
|
|
2599
|
+
clearCountdown();
|
|
2600
|
+
input.send({ type: input.controller.hasCommit() ? "PROTECTED_RELEASE_STASHED_COMMIT" : "SWITCH_TO_MANUAL_CAPTURE" });
|
|
2601
|
+
},
|
|
2602
|
+
onCapturing: () => {
|
|
2603
|
+
if (!active || paused) return;
|
|
2604
|
+
const wasCapturing = isCapturing;
|
|
2605
|
+
notifications.clear();
|
|
2606
|
+
lastReportedSide = null;
|
|
2607
|
+
isCapturing = true;
|
|
2608
|
+
setDetectionStatus("capturing");
|
|
2609
|
+
if (!wasCapturing) logDiagnostic("capture-window", {
|
|
2610
|
+
aggregationMs: input.context.config.thresholds?.framesAggregationInterval ?? DEFAULT_ID_CAPTURE_THRESHOLDS.framesAggregationInterval,
|
|
2611
|
+
blurSignals
|
|
2612
|
+
});
|
|
2613
|
+
if (!wasCapturing && input.context.captureFeedbackMode === "countdown") startCountdown();
|
|
2614
|
+
if (input.context.captureFeedbackMode === "optimizing" && input.context.config.supportsOptimizingStatus === true && input.context.captureWindowMs != null) {
|
|
2632
2615
|
clearOptimizingBoundary();
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
});
|
|
2641
|
-
input.controller.storeAutoCaptureFrame(canvas);
|
|
2642
|
-
input.send({
|
|
2643
|
-
type: "PROTECTED_AUTO_CAPTURE",
|
|
2644
|
-
qualityElements
|
|
2645
|
-
});
|
|
2646
|
-
},
|
|
2647
|
-
onIdTypeChange: (idType) => {
|
|
2648
|
-
input.send({
|
|
2649
|
-
type: "ID_TYPE_CHANGE",
|
|
2650
|
-
idType
|
|
2651
|
-
});
|
|
2652
|
-
},
|
|
2653
|
-
onIdSideChange: (side) => {
|
|
2654
|
-
if (isCapturing) return;
|
|
2655
|
-
lastReportedSide = side;
|
|
2656
|
-
if (isReportedIdSideWrong(input.context.currentMode, lastReportedSide)) notifications.clear();
|
|
2657
|
-
input.send({
|
|
2658
|
-
type: "ID_SIDE_CHANGE",
|
|
2659
|
-
side
|
|
2660
|
-
});
|
|
2661
|
-
},
|
|
2662
|
-
onCapturingCounterValueChange: () => {},
|
|
2663
|
-
onBarcodeDecoded: (decoded) => {
|
|
2664
|
-
input.send({
|
|
2665
|
-
type: "BARCODE_DECODED",
|
|
2666
|
-
decoded
|
|
2667
|
-
});
|
|
2616
|
+
optimizingBoundary = timer.setTimeout(() => {
|
|
2617
|
+
optimizingBoundary = null;
|
|
2618
|
+
const presentation = input.controller.getPresentationCanvas();
|
|
2619
|
+
if (presentation) {
|
|
2620
|
+
presentation.release();
|
|
2621
|
+
input.send({ type: "PROTECTED_OPTIMIZING" });
|
|
2622
|
+
}
|
|
2623
|
+
}, input.context.captureWindowMs);
|
|
2668
2624
|
}
|
|
2669
2625
|
},
|
|
2670
|
-
|
|
2671
|
-
|
|
2626
|
+
onBestFrame: (blur, glare, orientation) => {
|
|
2627
|
+
if (!active || paused) return;
|
|
2628
|
+
bestFrameSignals += 1;
|
|
2629
|
+
bestBlur = bestBlur === void 0 ? blur : Math.min(bestBlur, blur);
|
|
2630
|
+
qualityElements = {
|
|
2631
|
+
glare,
|
|
2632
|
+
sharpness: blur
|
|
2633
|
+
};
|
|
2634
|
+
if (orientation === "horizontal" || orientation === "vertical") input.send({
|
|
2635
|
+
type: "ORIENTATION_CHANGE",
|
|
2636
|
+
orientation
|
|
2637
|
+
});
|
|
2638
|
+
},
|
|
2639
|
+
onCapture: (canvas) => {
|
|
2640
|
+
if (!active || paused) return;
|
|
2641
|
+
isCapturing = false;
|
|
2672
2642
|
clearOptimizingBoundary();
|
|
2673
2643
|
clearCountdown();
|
|
2644
|
+
logDiagnostic("capture-selected", {
|
|
2645
|
+
blurSignals,
|
|
2646
|
+
bestFrameSignals,
|
|
2647
|
+
bestBlur,
|
|
2648
|
+
selectedBlur: qualityElements?.sharpness,
|
|
2649
|
+
selectedGlare: qualityElements?.glare
|
|
2650
|
+
});
|
|
2651
|
+
input.controller.storeAutoCaptureFrame(canvas);
|
|
2652
|
+
input.send({
|
|
2653
|
+
type: "PROTECTED_AUTO_CAPTURE",
|
|
2654
|
+
qualityElements
|
|
2655
|
+
});
|
|
2656
|
+
},
|
|
2657
|
+
onIdTypeChange: (idType) => {
|
|
2658
|
+
if (!active || paused) return;
|
|
2659
|
+
input.send({
|
|
2660
|
+
type: "ID_TYPE_CHANGE",
|
|
2661
|
+
idType
|
|
2662
|
+
});
|
|
2663
|
+
},
|
|
2664
|
+
onIdSideChange: (side) => {
|
|
2665
|
+
if (!active || paused) return;
|
|
2666
|
+
if (isCapturing) return;
|
|
2667
|
+
lastReportedSide = side;
|
|
2668
|
+
if (isReportedIdSideWrong(input.context.currentMode, lastReportedSide)) notifications.clear();
|
|
2669
|
+
input.send({
|
|
2670
|
+
type: "ID_SIDE_CHANGE",
|
|
2671
|
+
side
|
|
2672
|
+
});
|
|
2673
|
+
},
|
|
2674
|
+
onCapturingCounterValueChange: () => {},
|
|
2675
|
+
onBarcodeDecoded: (decoded) => {
|
|
2676
|
+
if (!active || paused) return;
|
|
2677
|
+
input.send({
|
|
2678
|
+
type: "BARCODE_DECODED",
|
|
2679
|
+
decoded
|
|
2680
|
+
});
|
|
2681
|
+
}
|
|
2682
|
+
};
|
|
2683
|
+
const pause = () => {
|
|
2684
|
+
paused = true;
|
|
2685
|
+
notifications.clear();
|
|
2686
|
+
clearOptimizingBoundary();
|
|
2687
|
+
clearCountdown();
|
|
2688
|
+
isCapturing = false;
|
|
2689
|
+
qualityElements = void 0;
|
|
2690
|
+
lastReportedSide = null;
|
|
2691
|
+
};
|
|
2692
|
+
return {
|
|
2693
|
+
callbacks,
|
|
2694
|
+
pause,
|
|
2695
|
+
resume: () => {
|
|
2696
|
+
paused = false;
|
|
2697
|
+
},
|
|
2698
|
+
dispose: () => {
|
|
2699
|
+
active = false;
|
|
2700
|
+
pause();
|
|
2674
2701
|
}
|
|
2675
2702
|
};
|
|
2676
2703
|
}
|
|
@@ -2754,6 +2781,11 @@ function createProtectedIdAttemptInput(input) {
|
|
|
2754
2781
|
...timing
|
|
2755
2782
|
});
|
|
2756
2783
|
},
|
|
2784
|
+
pauseDetection: callbackSession.pause,
|
|
2785
|
+
resumeDetection(reset) {
|
|
2786
|
+
if (reset) provider.resetDetectionState();
|
|
2787
|
+
callbackSession.resume();
|
|
2788
|
+
},
|
|
2757
2789
|
async configureWorkflow() {
|
|
2758
2790
|
await provider.initialize({});
|
|
2759
2791
|
configureIdCaptureProvider({
|
|
@@ -3812,6 +3844,25 @@ const idCaptureMachine = setup({
|
|
|
3812
3844
|
type: "RELEASE",
|
|
3813
3845
|
reason: "retry"
|
|
3814
3846
|
}),
|
|
3847
|
+
pauseProtectedDetection: sendTo("protectedAttempt", { type: "PAUSE_DETECTION" }),
|
|
3848
|
+
resumeProtectedDetection: sendTo("protectedAttempt", ({ context }) => ({
|
|
3849
|
+
type: "RESUME_DETECTION",
|
|
3850
|
+
reset: !context.manualCaptureTriggered
|
|
3851
|
+
})),
|
|
3852
|
+
resetAutomaticCapture: assign({
|
|
3853
|
+
manualCaptureTriggered: false,
|
|
3854
|
+
detectionStatus: "idle",
|
|
3855
|
+
counterValue: 0,
|
|
3856
|
+
decodedBarcode: null,
|
|
3857
|
+
barcodeFastPathAttempted: false,
|
|
3858
|
+
qualityElements: void 0
|
|
3859
|
+
}),
|
|
3860
|
+
trackSwitchToAutoCapture: ({ context }) => {
|
|
3861
|
+
addEvent({
|
|
3862
|
+
code: context.currentMode === "back" ? "switchToAutoCaptureBackId" : "switchToAutoCaptureFrontId",
|
|
3863
|
+
module: eventModuleNames.idCapture
|
|
3864
|
+
});
|
|
3865
|
+
},
|
|
3815
3866
|
forwardProtectedBackground: sendTo("protectedAttempt", { type: "BACKGROUND" }),
|
|
3816
3867
|
forwardProtectedForeground: sendTo("protectedAttempt", { type: "FOREGROUND" }),
|
|
3817
3868
|
storeProtectedAutoQuality: assign(({ event }) => event.type === "PROTECTED_AUTO_CAPTURE" ? { qualityElements: event.qualityElements } : {}),
|
|
@@ -4752,6 +4803,7 @@ const idCaptureMachine = setup({
|
|
|
4752
4803
|
}],
|
|
4753
4804
|
entry: [assign({ detectionStatus: () => "detecting" })],
|
|
4754
4805
|
on: {
|
|
4806
|
+
OPEN_HELP: { target: "help" },
|
|
4755
4807
|
DETECTION_UPDATE: { actions: "setDetectionStatus" },
|
|
4756
4808
|
PROTECTED_AUTO_CAPTURE: { actions: ["storeProtectedAutoQuality", "requestProtectedAutoCommit"] },
|
|
4757
4809
|
PROTECTED_AUTO_COMMITTED_SIGNAL: {
|
|
@@ -4816,6 +4868,7 @@ const idCaptureMachine = setup({
|
|
|
4816
4868
|
initial: "searching",
|
|
4817
4869
|
states: {
|
|
4818
4870
|
searching: { on: {
|
|
4871
|
+
OPEN_HELP: { target: "#idCapture.capture.help" },
|
|
4819
4872
|
DETECTION_UPDATE: { actions: "setDetectionStatus" },
|
|
4820
4873
|
ID_SIDE_CHANGE: { actions: assign({ detectionStatus: ({ context, event }) => getDetectionStatusFromSideChange(context, event.side) }) },
|
|
4821
4874
|
BARCODE_DECODED: [{
|
|
@@ -4853,7 +4906,34 @@ const idCaptureMachine = setup({
|
|
|
4853
4906
|
}
|
|
4854
4907
|
}
|
|
4855
4908
|
},
|
|
4909
|
+
help: {
|
|
4910
|
+
entry: "pauseProtectedDetection",
|
|
4911
|
+
on: {
|
|
4912
|
+
CLOSE_HELP: [{
|
|
4913
|
+
guard: "hasManualCaptureTriggered",
|
|
4914
|
+
target: "manualCaptureWaiting",
|
|
4915
|
+
actions: "resumeProtectedDetection"
|
|
4916
|
+
}, {
|
|
4917
|
+
target: "choosingDetectionStrategy",
|
|
4918
|
+
actions: ["resetAutomaticCapture", "resumeProtectedDetection"]
|
|
4919
|
+
}],
|
|
4920
|
+
SWITCH_TO_MANUAL_CAPTURE: { actions: assign({
|
|
4921
|
+
manualCaptureTriggered: true,
|
|
4922
|
+
detectionStatus: "manualCapture"
|
|
4923
|
+
}) },
|
|
4924
|
+
SWITCH_TO_AUTO_CAPTURE: {
|
|
4925
|
+
guard: "hasManualCaptureTriggered",
|
|
4926
|
+
target: "releasingForRetry",
|
|
4927
|
+
actions: ["trackSwitchToAutoCapture", "resetAutomaticCapture"]
|
|
4928
|
+
}
|
|
4929
|
+
}
|
|
4930
|
+
},
|
|
4856
4931
|
manualCaptureWaiting: { on: {
|
|
4932
|
+
OPEN_HELP: { target: "help" },
|
|
4933
|
+
SWITCH_TO_AUTO_CAPTURE: {
|
|
4934
|
+
target: "releasingForRetry",
|
|
4935
|
+
actions: ["trackSwitchToAutoCapture", "resetAutomaticCapture"]
|
|
4936
|
+
},
|
|
4857
4937
|
MANUAL_CAPTURE: { actions: "requestProtectedManualCommit" },
|
|
4858
4938
|
PROTECTED_MANUAL_COMMITTED_SIGNAL: {
|
|
4859
4939
|
target: "capturingManual",
|
package/dist/identity-reuse.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as identityReuseMachine, d as IdentityReuseConfig, f as ReusableDocument, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as SubmitResponse, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-
|
|
1
|
+
import { c as identityReuseMachine, d as IdentityReuseConfig, f as ReusableDocument, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as SubmitResponse, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-B1birg5X.js";
|
|
2
2
|
export { type FetchCompanyNameResponse, type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -120,10 +120,6 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
|
|
|
120
120
|
type: "setError";
|
|
121
121
|
params: NonReducibleUnknown;
|
|
122
122
|
};
|
|
123
|
-
clearError: {
|
|
124
|
-
type: "clearError";
|
|
125
|
-
params: NonReducibleUnknown;
|
|
126
|
-
};
|
|
127
123
|
setSelectedDocument: {
|
|
128
124
|
type: "setSelectedDocument";
|
|
129
125
|
params: NonReducibleUnknown;
|
|
@@ -132,6 +128,10 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
|
|
|
132
128
|
type: "setCompanyName";
|
|
133
129
|
params: NonReducibleUnknown;
|
|
134
130
|
};
|
|
131
|
+
clearError: {
|
|
132
|
+
type: "clearError";
|
|
133
|
+
params: NonReducibleUnknown;
|
|
134
|
+
};
|
|
135
135
|
}>, Values<{
|
|
136
136
|
hasDocuments: {
|
|
137
137
|
type: "hasDocuments";
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reset, r as isConfigured, s as setup } from "./setup-
|
|
1
|
+
import { i as reset, r as isConfigured, s as setup } from "./setup-Cdfb_Cm6.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { r as MandatoryConsentConfig } from "./types-B8aLmVz7.js";
|
|
2
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager
|
|
2
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager--VXK6OFA.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-qcGR_MQW.d.ts → mandatoryConsentManager--VXK6OFA.d.ts}
RENAMED
|
@@ -60,14 +60,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
60
60
|
type: "clearError";
|
|
61
61
|
params: NonReducibleUnknown;
|
|
62
62
|
};
|
|
63
|
-
resetContext: {
|
|
64
|
-
type: "resetContext";
|
|
65
|
-
params: NonReducibleUnknown;
|
|
66
|
-
};
|
|
67
63
|
toggleSigned: {
|
|
68
64
|
type: "toggleSigned";
|
|
69
65
|
params: NonReducibleUnknown;
|
|
70
66
|
};
|
|
67
|
+
resetContext: {
|
|
68
|
+
type: "resetContext";
|
|
69
|
+
params: NonReducibleUnknown;
|
|
70
|
+
};
|
|
71
71
|
}>, {
|
|
72
72
|
type: "canSubmit";
|
|
73
73
|
params: unknown;
|
package/dist/qe-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, 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, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-2LL3V9m9.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
1
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-P8E4GljH.esm.js";
|
|
2
2
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
3
3
|
import { C as createEventBus } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-Q_iUpxa8.esm.js";
|
|
2
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
2
|
+
import { l as BrowserStorageProvider } from "./setup-Cdfb_Cm6.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
6
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
8
|
-
import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-
|
|
6
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-CG12yFfL.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BouI864o.esm.js";
|
|
8
|
+
import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-26-cuXnc.esm.js";
|
|
9
9
|
import { r as processFace } from "./selfieErrorUtils-CtHekDP4.esm.js";
|
|
10
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
11
|
-
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-
|
|
10
|
+
import { t as selfieMachine } from "./selfieStateMachine-CpygJrIS.esm.js";
|
|
11
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-CfMPg04e.esm.js";
|
|
12
12
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BjzPjJ_p.esm.js";
|
|
13
13
|
/**
|
|
14
14
|
* Selfie state machine variant for the captureOnly flow. Shares the full base
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-Q_iUpxa8.esm.js";
|
|
2
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
2
|
+
import { l as BrowserStorageProvider } from "./setup-Cdfb_Cm6.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BouI864o.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-CpygJrIS.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieActor.ts
|
|
8
8
|
function createSelfieActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
3
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { c as isOnDeviceMode } from "./FaceDetectionProvider-
|
|
3
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-CG12yFfL.esm.js";
|
|
4
|
+
import { c as isOnDeviceMode } from "./FaceDetectionProvider-BateaeMt.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
6
6
|
import { n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-CtHekDP4.esm.js";
|
|
7
7
|
/**
|