@incodetech/core 0.0.0-dev-20261109-eee1ec68 → 0.0.0-dev-20261109-64d36744
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-C1JBp2_U.esm.js → FaceDetectionProvider-Qu3EP9Kz.esm.js} +4 -4
- package/dist/{MultipartRecordingProvider-D9mauUdS.esm.js → MultipartRecordingProvider-BfQPSgSO.esm.js} +5 -0
- package/dist/{WorkerEncoderRecordingProvider-B1ODYtgN.esm.js → WorkerEncoderRecordingProvider-CyCrQnZR.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-C9u6em_q.esm.js → apiError-BSRsaU1Z.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CncHzemM.esm.js → authenticationManager-BbXb38OI.esm.js} +3 -3
- package/dist/{authenticationStateMachine-C31czbW5.esm.js → authenticationStateMachine-2cbbQpzG.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-sjhjBNVr.d.ts → consentManager-7aHaehwF.d.ts} +5 -5
- package/dist/{deepsightLoader-D7DkvNrd.esm.js → deepsightLoader-5kb9xOWU.esm.js} +3 -3
- package/dist/document-capture.d.ts +1 -1
- package/dist/{documentCaptureManager-DDfviFg0.d.ts → documentCaptureManager-CD5iQiUI.d.ts} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-Df58K1mo.esm.js → dynamicFormsManager-BJOCqttV.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-Chj2igi3.esm.js → dynamicFormsStateMachine-BzbywVKu.esm.js} +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-DMCMFuas.esm.js → ekybManager-DeZmt4Bs.esm.js} +1 -1
- package/dist/{ekybStateMachine-AhyZh-PJ.esm.js → ekybStateMachine-CkMZZN0I.esm.js} +1 -1
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/{ekycPrefillManager-DSri71qP.esm.js → ekycPrefillManager-CWx9Hot6.esm.js} +1 -1
- package/dist/{ekycPrefillManager-DHfC1T9s.d.ts → ekycPrefillManager-DtGTW-Kk.d.ts} +4 -4
- package/dist/{ekycPrefillStateMachine-BzAJKmTA.esm.js → ekycPrefillStateMachine-BhzsAHgN.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-cJlpVcL9.esm.js → electronicSignatureManager-BC1QfWgW.esm.js} +1 -1
- package/dist/extensibility.d.ts +5 -5
- package/dist/extensibility.esm.js +12 -12
- package/dist/{faceCaptureManagerFactory-GbtR7CGP.esm.js → faceCaptureManagerFactory-BuH-ZRo3.esm.js} +1 -1
- package/dist/{faceCaptureSetup-334yLko3.esm.js → faceCaptureSetup-CnmaoXBN.esm.js} +5 -5
- package/dist/{feature-management-DU3fZuq7.esm.js → feature-management-CV3fR1Pw.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-DuVm6mPn.esm.js → flowCompletionService-CfHYdO6Q.esm.js} +1 -1
- package/dist/{flowServices-B_nPW4Y2.esm.js → flowServices-BAZmgw0N.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CXl6yht3.esm.js → geolocationManager-BlVnV9di.esm.js} +1 -1
- package/dist/{geolocationStateMachine-DFUJ1Vok.esm.js → geolocationStateMachine-B-F71Yls.esm.js} +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-Mg_G1psx.esm.js → idCaptureManager-B9f_kNdD.esm.js} +3 -3
- package/dist/{idCaptureServices-DeeXw2Zf.esm.js → idCaptureServices-hkOxHnkn.esm.js} +4 -4
- package/dist/{idCaptureStateMachine-DWWV88Ko.esm.js → idCaptureStateMachine-DWcdmoz7.esm.js} +8 -8
- package/dist/{idOcrManager-BAf6O4OR.d.ts → idOcrManager-B5xeI2lg.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-DQGtwn2V.esm.js → kybChecksManager-DBAN4Q6j.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-jtXXpJAK.esm.js → kybChecksStateMachine-Dt9MhMMn.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-CkOhncTJ.d.ts → mandatoryConsentManager-JNeVXgK8.d.ts} +5 -5
- package/dist/{multipartRecordingService-2iVLb-2Y.esm.js → multipartRecordingService-OmSzHBqh.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-DKXaaOHO.esm.js → recordingService-BUqAQd8F.esm.js} +2 -2
- package/dist/{runChildModule-faNgzpI7.esm.js → runChildModule-CEt0mNZs.esm.js} +1 -1
- package/dist/{sdkVersion-EJvvQhVf.esm.js → sdkVersion-CwFnA3Zj.esm.js} +1 -1
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieErrorUtils-Bh6jbKLx.esm.js → selfieErrorUtils-BfDkYDXk.esm.js} +1 -1
- package/dist/{selfieManager-C9FPtYuH.esm.js → selfieManager-QzhhV-0a.esm.js} +3 -3
- package/dist/{selfieStateMachine-DAharBoV.esm.js → selfieStateMachine-DRPRU_ZU.esm.js} +3 -3
- package/dist/{session-CpVR3dCo.esm.js → session-yp5zx6mw.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-CN9nxoVe.esm.js → sessionInitializer-BtPLbp2E.esm.js} +3 -3
- package/dist/{setup-B1tp_4Xh.esm.js → setup-CyRmjz4t.esm.js} +4 -4
- package/dist/{trueSightService-slf68anv.esm.js → trueSightService-d1gT8juZ.esm.js} +1 -1
- package/dist/video-selfie.d.ts +2 -1
- package/dist/video-selfie.esm.js +5 -5
- package/dist/{videoSelfieCameraWarmer-CKmHIv_c.esm.js → videoSelfieCameraWarmer-v8NxvLg1.esm.js} +11 -9
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +15 -15
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-CyRmjz4t.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
3
|
-
import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-
|
|
3
|
+
import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-CV3fR1Pw.esm.js";
|
|
4
4
|
import { i as isDesktop } from "./platform-aPh7gTWh.esm.js";
|
|
5
5
|
import { n as isBackFacingTrack } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
6
6
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
@@ -435,8 +435,8 @@ async function startRecordingSession(params) {
|
|
|
435
435
|
}
|
|
436
436
|
const [compositorModule, recorderModule, serviceModule] = await Promise.all([
|
|
437
437
|
import("./CameraCompositor-DN7NkJzV.esm.js").then((n) => n.n),
|
|
438
|
-
import("./WorkerEncoderRecordingProvider-
|
|
439
|
-
import("./multipartRecordingService-
|
|
438
|
+
import("./WorkerEncoderRecordingProvider-CyCrQnZR.esm.js").then((n) => n.n),
|
|
439
|
+
import("./multipartRecordingService-OmSzHBqh.esm.js").then((n) => n.n)
|
|
440
440
|
]);
|
|
441
441
|
const recordingSource = params.stream.clone();
|
|
442
442
|
const compositor = compositorModule.createRecordingCompositor();
|
package/dist/{idCaptureStateMachine-DWWV88Ko.esm.js → idCaptureStateMachine-DWcdmoz7.esm.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { n as getTimestamp, r as revokeObjectURL } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-
|
|
2
|
+
import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-CyRmjz4t.esm.js";
|
|
3
3
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BP6-08Yn.esm.js";
|
|
4
4
|
import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce, y as addEvent } from "./events-kU5WJU4B.esm.js";
|
|
5
5
|
import { r as getToken, t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
6
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-
|
|
7
|
-
import { n as getDisableIpify } from "./sessionInitializer-
|
|
6
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-d1gT8juZ.esm.js";
|
|
7
|
+
import { n as getDisableIpify } from "./sessionInitializer-BtPLbp2E.esm.js";
|
|
8
8
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
9
|
-
import { s as exposeExperimentOnce } from "./feature-management-
|
|
9
|
+
import { s as exposeExperimentOnce } from "./feature-management-CV3fR1Pw.esm.js";
|
|
10
10
|
import { t as addDeviceStats } from "./stats-Bv5PiWvo.esm.js";
|
|
11
11
|
import { a as isIOS, c as isIPhone14OrHigher, f as isSamsungDevice, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-aPh7gTWh.esm.js";
|
|
12
|
-
import "./session-
|
|
12
|
+
import "./session-yp5zx6mw.esm.js";
|
|
13
13
|
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-DSajW7CJ.esm.js";
|
|
14
14
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
15
15
|
import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-eYiyWjh0.esm.js";
|
|
@@ -26,7 +26,7 @@ import { t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
|
26
26
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
27
27
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
28
28
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-CnAGmc1o.esm.js";
|
|
29
|
-
import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-
|
|
29
|
+
import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-hkOxHnkn.esm.js";
|
|
30
30
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
31
31
|
import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-eFOm2C9q.esm.js";
|
|
32
32
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
@@ -2044,7 +2044,7 @@ fromPromise(async ({ input }) => {
|
|
|
2044
2044
|
});
|
|
2045
2045
|
fromPromise(async ({ input }) => {
|
|
2046
2046
|
if (!input.dependencies) return;
|
|
2047
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
2047
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-5kb9xOWU.esm.js");
|
|
2048
2048
|
return loadDeepsightSession({
|
|
2049
2049
|
ds: input.ds,
|
|
2050
2050
|
storage: input.dependencies.storage,
|
|
@@ -2487,7 +2487,7 @@ function cleanup(service) {
|
|
|
2487
2487
|
service.cleanup();
|
|
2488
2488
|
} catch {}
|
|
2489
2489
|
}
|
|
2490
|
-
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-
|
|
2490
|
+
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-5kb9xOWU.esm.js")).loadDeepsightSession(input)) {
|
|
2491
2491
|
let disposed = false;
|
|
2492
2492
|
let preparation;
|
|
2493
2493
|
let service;
|
|
@@ -109,7 +109,7 @@ declare const idOcrStateMachine: StateMachine<IdOcrContext, {
|
|
|
109
109
|
type: "shouldProceedWithoutSubmitToSecondId";
|
|
110
110
|
params: unknown;
|
|
111
111
|
};
|
|
112
|
-
}>, never, "error" | "idle" | "success" | "finished" | "
|
|
112
|
+
}>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
113
113
|
readonly id: "idOcr";
|
|
114
114
|
readonly initial: "idle";
|
|
115
115
|
readonly context: ({ input }: {
|
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-CyRmjz4t.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
package/dist/kyb-checks.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
2
|
-
import { t as createKybChecksManager } from "./kybChecksManager-
|
|
1
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-Dt9MhMMn.esm.js";
|
|
2
|
+
import { t as createKybChecksManager } from "./kybChecksManager-DBAN4Q6j.esm.js";
|
|
3
3
|
export { createKybChecksManager, kybChecksMachine };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
2
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
2
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-Dt9MhMMn.esm.js";
|
|
3
3
|
//#region src/modules/kyb-checks/kybChecksActor.ts
|
|
4
4
|
/** Creates and starts a KYB Checks actor, idle until `LOAD`. */
|
|
5
5
|
function createKybChecksActor(options = {}) {
|
package/dist/{kybChecksStateMachine-jtXXpJAK.esm.js → kybChecksStateMachine-Dt9MhMMn.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
2
|
-
import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-BSRsaU1Z.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-DSajW7CJ.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { r as MandatoryConsentConfig } from "./types-LA74KylV.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-JNeVXgK8.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-CkOhncTJ.d.ts → mandatoryConsentManager-JNeVXgK8.d.ts}
RENAMED
|
@@ -65,14 +65,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
65
65
|
type: "setLoadError";
|
|
66
66
|
params: NonReducibleUnknown;
|
|
67
67
|
};
|
|
68
|
-
toggleSigned: {
|
|
69
|
-
type: "toggleSigned";
|
|
70
|
-
params: NonReducibleUnknown;
|
|
71
|
-
};
|
|
72
68
|
resetContext: {
|
|
73
69
|
type: "resetContext";
|
|
74
70
|
params: NonReducibleUnknown;
|
|
75
71
|
};
|
|
72
|
+
toggleSigned: {
|
|
73
|
+
type: "toggleSigned";
|
|
74
|
+
params: NonReducibleUnknown;
|
|
75
|
+
};
|
|
76
76
|
}>, Values<{
|
|
77
77
|
canSubmit: {
|
|
78
78
|
type: "canSubmit";
|
|
@@ -82,7 +82,7 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
82
82
|
type: "hasConsent";
|
|
83
83
|
params: unknown;
|
|
84
84
|
};
|
|
85
|
-
}>, never, "error" | "idle" | "closed" | "finished" | "
|
|
85
|
+
}>, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
86
86
|
readonly id: "mandatoryConsent";
|
|
87
87
|
readonly initial: "idle";
|
|
88
88
|
readonly context: ({ input }: {
|
package/dist/{multipartRecordingService-2iVLb-2Y.esm.js → multipartRecordingService-OmSzHBqh.esm.js}
RENAMED
|
@@ -2,7 +2,7 @@ import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
|
2
2
|
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
4
|
import { t as BrowserNetworkStatusProvider } from "./BrowserNetworkStatusProvider-BrDXBEDd.esm.js";
|
|
5
|
-
import { t as MultipartRecordingProvider } from "./MultipartRecordingProvider-
|
|
5
|
+
import { t as MultipartRecordingProvider } from "./MultipartRecordingProvider-BfQPSgSO.esm.js";
|
|
6
6
|
//#region src/internal/recordings/videoSelfieUploadService.ts
|
|
7
7
|
/**
|
|
8
8
|
* Opens a scoped multipart video upload session. Idempotent server-side: if
|
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-BC1QfWgW.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -2,8 +2,8 @@ import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
|
2
2
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
3
3
|
import { r as createRecordingCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
|
|
4
4
|
import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-B9-IEVtV.esm.js";
|
|
5
|
-
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-
|
|
6
|
-
import { t as MultipartRecordingService } from "./multipartRecordingService-
|
|
5
|
+
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-CyCrQnZR.esm.js";
|
|
6
|
+
import { t as MultipartRecordingService } from "./multipartRecordingService-OmSzHBqh.esm.js";
|
|
7
7
|
//#region ../infra/src/media/VideoTrimmer.ts
|
|
8
8
|
/** A trim that runs longer than this uploads the full recording instead. */
|
|
9
9
|
const TRIM_TIMEOUT_MS = 1e4;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { w as createEventBus } from "./events-kU5WJU4B.esm.js";
|
|
3
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
3
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-d1gT8juZ.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
6
|
//#region src/internal/flow-events/flowEvents.ts
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-CyRmjz4t.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BP6-08Yn.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-kU5WJU4B.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
8
|
-
import { s as processFace } from "./FaceDetectionProvider-
|
|
6
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-CnmaoXBN.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BuH-ZRo3.esm.js";
|
|
8
|
+
import { s as processFace } from "./FaceDetectionProvider-Qu3EP9Kz.esm.js";
|
|
9
9
|
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-K3INt8tJ.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-DRPRU_ZU.esm.js";
|
|
11
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-QzhhV-0a.esm.js";
|
|
12
12
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BkvXSZfa.esm.js";
|
|
13
13
|
/**
|
|
14
14
|
* Selfie state machine variant for the captureOnly flow. Shares the full base
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
1
|
+
import { u as FACE_ERROR_CODES } from "./FaceDetectionProvider-Qu3EP9Kz.esm.js";
|
|
2
2
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
3
3
|
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
|
4
4
|
const isFaceErrorCode = (value) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-CyRmjz4t.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BP6-08Yn.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-kU5WJU4B.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BuH-ZRo3.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-DRPRU_ZU.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieActor.ts
|
|
8
8
|
function createSelfieActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
3
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
5
|
-
import { n as validateUploadResponse } from "./selfieErrorUtils-
|
|
3
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-CnmaoXBN.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-Qu3EP9Kz.esm.js";
|
|
5
|
+
import { n as validateUploadResponse } from "./selfieErrorUtils-BfDkYDXk.esm.js";
|
|
6
6
|
/**
|
|
7
7
|
* The selfie capture state machine.
|
|
8
8
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as getApi, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
2
|
-
import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-
|
|
3
|
-
import "./sessionInitializer-
|
|
4
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
2
|
+
import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-d1gT8juZ.esm.js";
|
|
3
|
+
import "./sessionInitializer-BtPLbp2E.esm.js";
|
|
4
|
+
import { i as toIncodeApiError } from "./apiError-BSRsaU1Z.esm.js";
|
|
5
5
|
//#region src/internal/session/sessionService.ts
|
|
6
6
|
/**
|
|
7
7
|
* HTTP status codes the QR validation endpoint emits, keyed by their semantic
|
package/dist/session.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as getToken } from "./api-C_P9YXbL.esm.js";
|
|
2
2
|
import { r as subscribeHttpErrors } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
3
|
-
import { a as initializeSession, f as whenSessionFingerprintSettled } from "./sessionInitializer-
|
|
3
|
+
import { a as initializeSession, f as whenSessionFingerprintSettled } from "./sessionInitializer-BtPLbp2E.esm.js";
|
|
4
4
|
import { n as onConnectivityChange, r as resumeConnectivity, t as isConnectivityLost } from "./connectivity-BCuEoQ-n.esm.js";
|
|
5
|
-
import { t as IncodeApiError } from "./apiError-
|
|
6
|
-
import { a as continueSession, c as validateQrUuid, i as bootstrapSession, n as QrValidationError, o as createSession, r as SESSION_CONTINUE_ERROR_CODES, s as refreshQrUrlUuid, t as QR_VALIDATION_ERROR_CODES } from "./session-
|
|
7
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
5
|
+
import { t as IncodeApiError } from "./apiError-BSRsaU1Z.esm.js";
|
|
6
|
+
import { a as continueSession, c as validateQrUuid, i as bootstrapSession, n as QrValidationError, o as createSession, r as SESSION_CONTINUE_ERROR_CODES, s as refreshQrUrlUuid, t as QR_VALIDATION_ERROR_CODES } from "./session-yp5zx6mw.esm.js";
|
|
7
|
+
import { n as getFinishStatus } from "./flowCompletionService-CfHYdO6Q.esm.js";
|
|
8
8
|
//#region src/internal/session/sessionExpired.ts
|
|
9
9
|
var SessionExpiredError = class extends Error {
|
|
10
10
|
constructor() {
|
|
@@ -2,10 +2,10 @@ import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.
|
|
|
2
2
|
import { n as setWasmMetadataV2Enabled } from "./wasmMetadataVersionSync-U8EFUr1T.esm.js";
|
|
3
3
|
import { C as subscribeEvent, b as getAnalyticsBatcher, y as addEvent } from "./events-kU5WJU4B.esm.js";
|
|
4
4
|
import { c as setToken, r as getToken, t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
5
|
-
import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-
|
|
6
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-d1gT8juZ.esm.js";
|
|
6
|
+
import { t as SDK_VERSION } from "./sdkVersion-CwFnA3Zj.esm.js";
|
|
7
7
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
8
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
8
|
+
import { E as updateFeatureManagementUser } from "./feature-management-CV3fR1Pw.esm.js";
|
|
9
9
|
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-Bv5PiWvo.esm.js";
|
|
10
10
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
11
11
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
@@ -3,14 +3,14 @@ import { a as setWasmOnDeviceMode, f as drainWasmDiagnostics, m as rearmWasmDiag
|
|
|
3
3
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BP6-08Yn.esm.js";
|
|
4
4
|
import { S as setAnalyticsBatcher, b as getAnalyticsBatcher, c as resetExperimentAssignments, v as createAnalyticsBatchingService, x as resetAnalyticsBatcher } from "./events-kU5WJU4B.esm.js";
|
|
5
5
|
import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
6
|
-
import { S as noteTestingSignals, d as categoryForEndpoint, f as getStoredHttpConfig, h as upgradeToWasmHttpClient$1, m as resetHttpClientState, n as initializeTrueSightDiagnostics, o as resetTrueSight, p as installFreshHttpClient, s as setTrueSightExternalDrain, t as finalizeTrueSight, u as trueSightLog } from "./trueSightService-
|
|
7
|
-
import { C as BrowserEnvironmentProvider, _ as setStandaloneFlowPolicy, a as initializeSession, c as setClientHostingApp, d as setClientWasmDisabled, g as resolveStandaloneFlowPolicy, h as resetStandaloneFlowPolicy, l as setClientIpLookupEnabled, m as registerFlowPreloader, o as resetSessionInit, s as setClientFingerprintEnabled, u as setClientWasmConfig, w as fingerprintSignalsReporter } from "./sessionInitializer-
|
|
6
|
+
import { S as noteTestingSignals, d as categoryForEndpoint, f as getStoredHttpConfig, h as upgradeToWasmHttpClient$1, m as resetHttpClientState, n as initializeTrueSightDiagnostics, o as resetTrueSight, p as installFreshHttpClient, s as setTrueSightExternalDrain, t as finalizeTrueSight, u as trueSightLog } from "./trueSightService-d1gT8juZ.esm.js";
|
|
7
|
+
import { C as BrowserEnvironmentProvider, _ as setStandaloneFlowPolicy, a as initializeSession, c as setClientHostingApp, d as setClientWasmDisabled, g as resolveStandaloneFlowPolicy, h as resetStandaloneFlowPolicy, l as setClientIpLookupEnabled, m as registerFlowPreloader, o as resetSessionInit, s as setClientFingerprintEnabled, u as setClientWasmConfig, w as fingerprintSignalsReporter } from "./sessionInitializer-BtPLbp2E.esm.js";
|
|
8
8
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
9
9
|
import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.esm.js";
|
|
10
|
-
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-
|
|
10
|
+
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-CV3fR1Pw.esm.js";
|
|
11
11
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-Bv5PiWvo.esm.js";
|
|
12
12
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-xzRLIIMN.esm.js";
|
|
13
|
-
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-
|
|
13
|
+
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-BAZmgw0N.esm.js";
|
|
14
14
|
//#region ../infra/src/wasm/wasmRuntimeProfile.ts
|
|
15
15
|
/**
|
|
16
16
|
* The WASM facts TrueSight reports as `session.webProfile.wasm`
|
|
@@ -2,7 +2,7 @@ import { a as setWebApiHttpTransport, g as emitWasmDiagnostic, i as initializeWa
|
|
|
2
2
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
3
3
|
import { C as subscribeEvent, n as eventModuleNames } from "./events-kU5WJU4B.esm.js";
|
|
4
4
|
import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-CwFnA3Zj.esm.js";
|
|
6
6
|
import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
7
7
|
/** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
|
|
8
8
|
const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
|
package/dist/video-selfie.d.ts
CHANGED
|
@@ -299,7 +299,8 @@ type VideoSelfieCameraWarmer = {
|
|
|
299
299
|
/**
|
|
300
300
|
* Stop a warmed-but-unused stream. Call on unmount when capture never started
|
|
301
301
|
* so the camera light doesn't stay on. No-op once the stream has been consumed
|
|
302
|
-
* by the recording machine.
|
|
302
|
+
* by the recording machine. After `dispose()`, `warm()` does nothing and
|
|
303
|
+
* `acquireCamera` always acquires a fresh stream.
|
|
303
304
|
*/
|
|
304
305
|
dispose(): void;
|
|
305
306
|
};
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-CyRmjz4t.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BP6-08Yn.esm.js";
|
|
3
3
|
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
5
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
6
|
-
import { f as facingModeForStep, m as videoSelfieWasmPipelines, p as resolveVideoSelfieSteps } from "./flowServices-
|
|
6
|
+
import { f as facingModeForStep, m as videoSelfieWasmPipelines, p as resolveVideoSelfieSteps } from "./flowServices-BAZmgw0N.esm.js";
|
|
7
7
|
import { i as assign, l as raise, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
9
9
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
10
10
|
import { t as carryAttempts } from "./attemptCarry-BaAXPR_w.esm.js";
|
|
11
11
|
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-k-U-cL5m.esm.js";
|
|
12
|
-
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-
|
|
12
|
+
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-v8NxvLg1.esm.js";
|
|
13
13
|
import { r as createRecordingCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
|
|
14
|
-
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-
|
|
15
|
-
import { t as MultipartRecordingService } from "./multipartRecordingService-
|
|
14
|
+
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-CyCrQnZR.esm.js";
|
|
15
|
+
import { t as MultipartRecordingService } from "./multipartRecordingService-OmSzHBqh.esm.js";
|
|
16
16
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js";
|
|
17
17
|
//#region ../../node_modules/.pnpm/audio-recorder-polyfill@0.4.1/node_modules/audio-recorder-polyfill/wave-encoder/index.js
|
|
18
18
|
var wave_encoder_default = () => {
|
package/dist/{videoSelfieCameraWarmer-CKmHIv_c.esm.js → videoSelfieCameraWarmer-v8NxvLg1.esm.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import { f as facingModeForStep, p as resolveVideoSelfieSteps } from "./flowServices-
|
|
3
|
+
import { f as facingModeForStep, p as resolveVideoSelfieSteps } from "./flowServices-BAZmgw0N.esm.js";
|
|
4
4
|
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-E_Kcre4O.esm.js";
|
|
5
5
|
import { t as checkPermission } from "./permissionServices-RawRSsLZ.esm.js";
|
|
6
|
-
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
6
|
+
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-Qu3EP9Kz.esm.js";
|
|
7
7
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
8
8
|
import { n as getBackCameraStream } from "./backCameraStream-DS1oDiUq.esm.js";
|
|
9
9
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
|
-
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-
|
|
10
|
+
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-BfDkYDXk.esm.js";
|
|
11
11
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CnAGmc1o.esm.js";
|
|
12
12
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
13
13
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
|
@@ -470,10 +470,10 @@ function createVideoSelfieCameraWarmer(config, steps = resolveVideoSelfieSteps(c
|
|
|
470
470
|
const firstFacing = facingModeForStep(steps[0] ?? "selfie");
|
|
471
471
|
let warming = null;
|
|
472
472
|
let warmed = null;
|
|
473
|
-
let
|
|
473
|
+
let handedOff = null;
|
|
474
474
|
return {
|
|
475
475
|
warm() {
|
|
476
|
-
if (warming) return;
|
|
476
|
+
if (warming || handedOff) return;
|
|
477
477
|
warming = (async () => {
|
|
478
478
|
try {
|
|
479
479
|
if (await checkPermission() !== "granted") return null;
|
|
@@ -485,8 +485,8 @@ function createVideoSelfieCameraWarmer(config, steps = resolveVideoSelfieSteps(c
|
|
|
485
485
|
})();
|
|
486
486
|
},
|
|
487
487
|
async acquireCamera(facingMode, withAudio) {
|
|
488
|
-
if (!
|
|
489
|
-
|
|
488
|
+
if (!handedOff && facingMode === firstFacing && withAudio) {
|
|
489
|
+
handedOff = "consumed";
|
|
490
490
|
const stream = warmed ?? (warming ? await warming : null);
|
|
491
491
|
warmed = null;
|
|
492
492
|
if (stream) return stream;
|
|
@@ -494,12 +494,14 @@ function createVideoSelfieCameraWarmer(config, steps = resolveVideoSelfieSteps(c
|
|
|
494
494
|
return defaultAcquireCamera(facingMode, withAudio);
|
|
495
495
|
},
|
|
496
496
|
dispose() {
|
|
497
|
-
if (
|
|
497
|
+
if (handedOff) return;
|
|
498
|
+
handedOff = "disposed";
|
|
498
499
|
if (warmed) {
|
|
499
500
|
stopStream(warmed);
|
|
500
501
|
warmed = null;
|
|
501
502
|
} else if (warming) warming.then((stream) => {
|
|
502
|
-
|
|
503
|
+
stopStream(stream);
|
|
504
|
+
warmed = null;
|
|
503
505
|
});
|
|
504
506
|
}
|
|
505
507
|
};
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E as WASM_PIPELINE_LAZY_MODEL_NAMES, O as WASM_PIPELINE_MODEL_NAMES, T as WASM_MODEL_FILES, b as buildDefaultWasmConfig, w as resolveWasmConfig, x as buildWasmConfigFromBasePath, y as DEFAULT_WASM_VERSION } from "./wasmWebClient-CowdFxEv.esm.js";
|
|
2
2
|
import { s as warmupWasm } from "./warmup-BUnab2eW.esm.js";
|
|
3
|
-
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-
|
|
3
|
+
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-CyRmjz4t.esm.js";
|
|
4
4
|
//#region src/defineWasm.ts
|
|
5
5
|
function requiredModels(pipelines) {
|
|
6
6
|
const models = /* @__PURE__ */ new Set();
|
package/dist/workflow.esm.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation, y as addEvent } from "./events-kU5WJU4B.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
|
|
3
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
4
|
-
import { a as initializeSession, i as getSessionFingerprintResult } from "./sessionInitializer-
|
|
5
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
3
|
+
import { u as trueSightLog } from "./trueSightService-d1gT8juZ.esm.js";
|
|
4
|
+
import { a as initializeSession, i as getSessionFingerprintResult } from "./sessionInitializer-BtPLbp2E.esm.js";
|
|
5
|
+
import { E as updateFeatureManagementUser } from "./feature-management-CV3fR1Pw.esm.js";
|
|
6
6
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
7
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
7
|
+
import { i as toIncodeApiError } from "./apiError-BSRsaU1Z.esm.js";
|
|
8
8
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
9
9
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
10
|
-
import { r as electronicSignatureMachine } from "./electronicSignatureManager-
|
|
10
|
+
import { r as electronicSignatureMachine } from "./electronicSignatureManager-BC1QfWgW.esm.js";
|
|
11
11
|
import "./ae-signature.esm.js";
|
|
12
12
|
import { t as antifraudMachine } from "./antifraudStateMachine-qNNXrlsP.esm.js";
|
|
13
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
13
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-2cbbQpzG.esm.js";
|
|
14
14
|
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Y7Z6m3gN.esm.js";
|
|
15
15
|
import { t as consentMachine } from "./consentStateMachine-BAiLDE3D.esm.js";
|
|
16
16
|
import { t as curpValidationMachine } from "./curpValidationStateMachine-DyAEyScb.esm.js";
|
|
17
17
|
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-ZZoDGRAZ.esm.js";
|
|
18
18
|
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-KOm625UU.esm.js";
|
|
19
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
19
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BzbywVKu.esm.js";
|
|
20
20
|
import { o as toEkybConfig } from "./ekybUtils-Cw8Ta9Qi.esm.js";
|
|
21
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
21
|
+
import { t as ekybMachine } from "./ekybStateMachine-CkMZZN0I.esm.js";
|
|
22
22
|
import { t as ekycMachine } from "./ekycStateMachine-DlN1RCob.esm.js";
|
|
23
23
|
import { l as toEkycConfig } from "./ekycUtils-K6VJXnOg.esm.js";
|
|
24
|
-
import { t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
24
|
+
import { t as ekycPrefillMachine } from "./ekycPrefillStateMachine-BhzsAHgN.esm.js";
|
|
25
25
|
import { t as emailMachine } from "./emailStateMachine-CaoPZtZN.esm.js";
|
|
26
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
27
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
26
|
+
import { t as selfieMachine } from "./selfieStateMachine-DRPRU_ZU.esm.js";
|
|
27
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-DWcdmoz7.esm.js";
|
|
28
28
|
import { t as phoneMachine } from "./phoneStateMachine-CHnhCS-4.esm.js";
|
|
29
29
|
import { t as watchlistMachine } from "./watchlistStateMachine-DeLfuGSl.esm.js";
|
|
30
30
|
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-D8qIyL8w.esm.js";
|
|
@@ -33,13 +33,13 @@ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DLN
|
|
|
33
33
|
import { t as idOcrStateMachine } from "./idOcrStateMachine-RjNycN07.esm.js";
|
|
34
34
|
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-CErQ89QO.esm.js";
|
|
35
35
|
import { t as signatureMachine } from "./signatureStateMachine-DFbbbFwg.esm.js";
|
|
36
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
36
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-B-F71Yls.esm.js";
|
|
37
37
|
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-BwMClTqC.esm.js";
|
|
38
38
|
import { t as idVerificationMachine } from "./idVerificationStateMachine-Bj00uWvh.esm.js";
|
|
39
39
|
import { t as faceMatchMachine } from "./faceMatchStateMachine-D90ZHY1r.esm.js";
|
|
40
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
41
|
-
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-
|
|
42
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
40
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-Dt9MhMMn.esm.js";
|
|
41
|
+
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-CfHYdO6Q.esm.js";
|
|
42
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CEt0mNZs.esm.js";
|
|
43
43
|
import { n as isAdvanceableError } from "./advanceableErrors-k-U-cL5m.esm.js";
|
|
44
44
|
import "./qe-signature.esm.js";
|
|
45
45
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/core",
|
|
3
|
-
"version": "0.0.0-dev-20261109-
|
|
3
|
+
"version": "0.0.0-dev-20261109-64d36744",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -286,9 +286,9 @@
|
|
|
286
286
|
"tsdown": "^0.22.8",
|
|
287
287
|
"typescript": "^5.9.3",
|
|
288
288
|
"vitest": "4.1.10",
|
|
289
|
-
"@incodetech/config": "1.0.2",
|
|
290
289
|
"@incodetech/form-definitions": "0.0.0",
|
|
291
|
-
"@incodetech/infra": "1.5.0"
|
|
290
|
+
"@incodetech/infra": "1.5.0",
|
|
291
|
+
"@incodetech/config": "1.0.2"
|
|
292
292
|
},
|
|
293
293
|
"scripts": {
|
|
294
294
|
"build": "tsdown -c tsdown.config.ts && pnpm check:dist-types",
|