@incodetech/core 0.0.0-dev-20260723-e73d5099 → 0.0.0-dev-20260723-be346272
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/authentication.esm.js +2 -2
- package/dist/{authenticationManager-Cmio9w7i.esm.js → authenticationManager-B9Qm5yqf.esm.js} +2 -2
- package/dist/{authenticationStateMachine-CrkXvIhE.esm.js → authenticationStateMachine-C_zvYGnY.esm.js} +2 -2
- package/dist/{deepsightLoader-Be2xONxN.esm.js → deepsightLoader-DLTccYCv.esm.js} +1 -1
- package/dist/document-upload.d.ts +4 -4
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-CObZ7foB.esm.js → ekybManager-BJk_XfA7.esm.js} +1 -1
- package/dist/{ekybStateMachine-Cw4pz_hf.esm.js → ekybStateMachine-CUADos0H.esm.js} +1 -1
- package/dist/extensibility.d.ts +1 -1
- package/dist/extensibility.esm.js +6 -6
- package/dist/{faceCaptureManagerFactory-CeUzH_6U.esm.js → faceCaptureManagerFactory-C7hNylWL.esm.js} +1 -1
- package/dist/{faceCaptureSetup-CtiVwaPe.esm.js → faceCaptureSetup-Bso0SOrU.esm.js} +2 -2
- package/dist/flow.esm.js +1 -1
- package/dist/{flowServices-Caz-Bdol.esm.js → flowServices-BEPX-eK1.esm.js} +2 -2
- package/dist/id.d.ts +1 -1
- package/dist/id.esm.js +2 -2
- package/dist/{idCaptureManager-Dqn6U25Q.esm.js → idCaptureManager-BDCJwgrN.esm.js} +3 -4
- package/dist/{idCaptureManager-DTe_5dcI.d.ts → idCaptureManager-DOYaK3vb.d.ts} +0 -6
- package/dist/{idCaptureStateMachine-B7atraNp.esm.js → idCaptureStateMachine-DZjn9cjg.esm.js} +8 -50
- package/dist/index.esm.js +1 -1
- package/dist/{onDeviceFaceResults-CbO3AqMC.esm.js → onDeviceFaceResults-D7Ymps8b.esm.js} +1 -1
- package/dist/personhood.esm.js +2 -2
- package/dist/{recordingService-YhyXG0Ch.esm.js → recordingService-OzNK87cy.esm.js} +1 -1
- package/dist/selfie.esm.js +4 -4
- package/dist/{selfieManager-CgmJu62N.esm.js → selfieManager-CTfo3Af7.esm.js} +2 -2
- package/dist/{selfieStateMachine-C_piZ4gb.esm.js → selfieStateMachine-CBHAhVhb.esm.js} +2 -2
- package/dist/session-D9poVEP5.esm.js +1 -0
- package/dist/session.esm.js +2 -2
- package/dist/{sessionInitializer-B5tU3IQv.esm.js → sessionInitializer-Cn9Ol4oc.esm.js} +1 -1
- package/dist/{setup-Cx9IY17e.esm.js → setup-BUSg9dNN.esm.js} +1 -1
- package/dist/video-selfie.esm.js +2 -2
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.d.ts +4 -4
- package/dist/workflow.esm.js +5 -5
- package/package.json +1 -1
- package/dist/session-CoL4WBRi.esm.js +0 -1
|
@@ -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-C_zvYGnY.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-B9Qm5yqf.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-Cmio9w7i.esm.js → authenticationManager-B9Qm5yqf.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
|
|
3
3
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
4
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C7hNylWL.esm.js";
|
|
5
5
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-C_zvYGnY.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
8
|
function createAuthenticationActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -3,8 +3,8 @@ import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
|
3
3
|
import { t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
|
|
4
4
|
import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-Bso0SOrU.esm.js";
|
|
7
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-D7Ymps8b.esm.js";
|
|
8
8
|
import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
|
|
9
9
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
10
10
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
2
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
3
3
|
import { t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
|
|
4
|
-
import { c as isBrowserSimulation, d as getThumbmarkId, l as IpifyProvider, n as getFingerprintEnabled, p as BrowserEnvironmentProvider, t as getDisableIpify } from "./sessionInitializer-
|
|
4
|
+
import { c as isBrowserSimulation, d as getThumbmarkId, l as IpifyProvider, n as getFingerprintEnabled, p as BrowserEnvironmentProvider, t as getDisableIpify } from "./sessionInitializer-Cn9Ol4oc.esm.js";
|
|
5
5
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
|
|
6
6
|
import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
|
|
7
7
|
import { t as MotionSensorProvider } from "./MotionSensorProvider-DYvM90IX.esm.js";
|
|
@@ -38,10 +38,6 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
|
|
|
38
38
|
id: string | undefined;
|
|
39
39
|
};
|
|
40
40
|
}>, Values<{
|
|
41
|
-
setError: {
|
|
42
|
-
type: "setError";
|
|
43
|
-
params: NonReducibleUnknown;
|
|
44
|
-
};
|
|
45
41
|
setStream: {
|
|
46
42
|
type: "setStream";
|
|
47
43
|
params: NonReducibleUnknown;
|
|
@@ -54,6 +50,10 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
|
|
|
54
50
|
type: "setProgress";
|
|
55
51
|
params: NonReducibleUnknown;
|
|
56
52
|
};
|
|
53
|
+
setError: {
|
|
54
|
+
type: "setError";
|
|
55
|
+
params: NonReducibleUnknown;
|
|
56
|
+
};
|
|
57
57
|
clearError: {
|
|
58
58
|
type: "clearError";
|
|
59
59
|
params: NonReducibleUnknown;
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-
|
|
2
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
1
|
+
import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-CUADos0H.esm.js";
|
|
2
|
+
import { t as createEkybManager } from "./ekybManager-BJk_XfA7.esm.js";
|
|
3
3
|
export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
4
|
+
import { t as ekybMachine } from "./ekybStateMachine-CUADos0H.esm.js";
|
|
5
5
|
//#region src/modules/ekyb/ekybActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYB actor.
|
|
@@ -3,7 +3,7 @@ import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
|
3
3
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
5
|
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DEYnZoez.esm.js";
|
|
6
|
-
import { t as getFlow } from "./flowServices-
|
|
6
|
+
import { t as getFlow } from "./flowServices-BEPX-eK1.esm.js";
|
|
7
7
|
//#region src/modules/ekyb/ekybConstants.ts
|
|
8
8
|
/**
|
|
9
9
|
* Countries available in all environments.
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as D
|
|
|
18
18
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-CBX0tM04.js";
|
|
19
19
|
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
|
|
20
20
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
|
|
21
|
-
import { P as CaptureIdResponse, i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-
|
|
21
|
+
import { P as CaptureIdResponse, i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-DOYaK3vb.js";
|
|
22
22
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
|
|
23
23
|
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
|
|
24
24
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
|
-
import { f as getDeviceFingerprintInfo, l as IpifyProvider, t as getDisableIpify, u as FingerprintProvider } from "./sessionInitializer-
|
|
2
|
+
import { f as getDeviceFingerprintInfo, l as IpifyProvider, t as getDisableIpify, u as FingerprintProvider } from "./sessionInitializer-Cn9Ol4oc.esm.js";
|
|
3
3
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
5
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-CFsD4BgV.esm.js";
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-Bso0SOrU.esm.js";
|
|
7
7
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
8
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
8
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-B9Qm5yqf.esm.js";
|
|
9
9
|
import { n as createConsentManagerFromActor } from "./consentManager-0EiBXYtL.esm.js";
|
|
10
10
|
import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-Bu32le9u.esm.js";
|
|
11
11
|
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-Dw7euiiZ.esm.js";
|
|
12
12
|
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-BGj9U3E0.esm.js";
|
|
13
13
|
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-DBRQX16v.esm.js";
|
|
14
14
|
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-Fi2O2RUM.esm.js";
|
|
15
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
15
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-BJk_XfA7.esm.js";
|
|
16
16
|
import { n as createEkycManagerFromActor } from "./ekycManager-CI7sN4Ln.esm.js";
|
|
17
17
|
import { n as createEmailManagerFromActor } from "./emailManager-Dmt1YrtS.esm.js";
|
|
18
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
19
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
18
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-CTfo3Af7.esm.js";
|
|
19
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-BDCJwgrN.esm.js";
|
|
20
20
|
import { n as createPhoneManagerFromActor } from "./phoneManager-C3aqq6jS.esm.js";
|
|
21
21
|
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-BjMJHKLP.esm.js";
|
|
22
22
|
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-USUE9qDr.esm.js";
|
package/dist/{faceCaptureManagerFactory-CeUzH_6U.esm.js → faceCaptureManagerFactory-C7hNylWL.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-Dy8PyVO5.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { c as createManager } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { n as concealmentToAvatar } from "./faceCaptureSetup-
|
|
4
|
+
import { n as concealmentToAvatar } from "./faceCaptureSetup-Bso0SOrU.esm.js";
|
|
5
5
|
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
|
|
6
6
|
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CkHL1BjH.esm.js";
|
|
7
7
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
@@ -2,12 +2,12 @@ import { r as getToken } from "./api-BDTZNnca.esm.js";
|
|
|
2
2
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
3
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
4
4
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
|
|
5
|
-
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-
|
|
5
|
+
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-D7Ymps8b.esm.js";
|
|
6
6
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
7
7
|
import { t as createFaceAvatar } from "./createFaceAvatar-CwVapQiu.esm.js";
|
|
8
8
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
9
9
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-5Cu6a8iN.esm.js";
|
|
10
|
-
import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-
|
|
10
|
+
import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-OzNK87cy.esm.js";
|
|
11
11
|
//#region src/internal/avatar/concealment.ts
|
|
12
12
|
/**
|
|
13
13
|
* Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as addEvent } from "./events-Dy8PyVO5.esm.js";
|
|
2
2
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
4
|
-
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
4
|
+
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-BEPX-eK1.esm.js";
|
|
5
5
|
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-D5oIlcza.esm.js";
|
|
6
6
|
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Crz1nHwJ.esm.js";
|
|
7
7
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { g as updateFeatureManagementUser } from "./feature-management-Dw96qEMs.esm.js";
|
|
2
2
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
4
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
4
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-Cn9Ol4oc.esm.js";
|
|
5
5
|
import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
|
|
6
|
-
import "./session-
|
|
6
|
+
import "./session-D9poVEP5.esm.js";
|
|
7
7
|
import { r as videoSelfieWasmPipelines } from "./videoSelfieSteps-DHcibfYH.esm.js";
|
|
8
8
|
//#region src/modules/flow/flowUtils.ts
|
|
9
9
|
const WASM_MODULE_PIPELINES = {
|
package/dist/id.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
2
2
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
3
3
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BT-aiBYV.js";
|
|
4
|
-
import { $ as IdErrorCode, A as createIdCaptureActor, B as IdCaptureConfig, C as CreateIdCaptureOnlyActorOptions, D as idCaptureOnlyMachine, E as IdCaptureOnlyMachine, F as CaptureOnlyResponse, G as IdCaptureInput, H as IdCaptureDependencies, I as CapturedImage, J as IdCaptureOutput, K as IdCaptureMode, L as DetectionArea, M as idCaptureMachine, N as AddBarcodeV3Response, O as CreateIdCaptureActorOptions, P as CaptureIdResponse, Q as IdError, R as DetectionStatus, S as validateUploadResponse, T as createIdCaptureOnlyActor, U as IdCaptureEvent, V as IdCaptureContext, W as IdCaptureGeometry, X as IdCapturedImageData, Y as IdCaptureThresholds, Z as IdDocumentType, _ as startRecordingSession, a as AddBarcodeParams, at as MANUAL_UPLOAD_MAX_RETRIES, b as uploadIdImage, c as StartRecordingParams, ct as ManualUploadTab, d as ValidationError, et as IdFlowStep, f as addBarcode, g as processId, h as preloadIdRecordingProvider, it as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, j as IdCaptureMachine, k as IdCaptureActor, l as UploadIdImageParams, lt as DetectionOrientation, m as initializeIdCapture, n as IdCaptureManager, nt as UploadIdResponse, o as IdCaptureInitResult, ot as ManualUploadContext, p as barcodeToBase64, q as IdCaptureOnlyConfig, r as IdCaptureState, rt as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, s as InitializeIdCaptureParams, st as ManualUploadSide, t as createIdCaptureManager, tt as RecordingSession, u as UploadManualIdFileParams, ut as IdCaptureSettings, v as stopRecording, w as IdCaptureOnlyActor, x as uploadManualIdFile, y as stopStream, z as ID_ERROR_CODES } from "./idCaptureManager-
|
|
4
|
+
import { $ as IdErrorCode, A as createIdCaptureActor, B as IdCaptureConfig, C as CreateIdCaptureOnlyActorOptions, D as idCaptureOnlyMachine, E as IdCaptureOnlyMachine, F as CaptureOnlyResponse, G as IdCaptureInput, H as IdCaptureDependencies, I as CapturedImage, J as IdCaptureOutput, K as IdCaptureMode, L as DetectionArea, M as idCaptureMachine, N as AddBarcodeV3Response, O as CreateIdCaptureActorOptions, P as CaptureIdResponse, Q as IdError, R as DetectionStatus, S as validateUploadResponse, T as createIdCaptureOnlyActor, U as IdCaptureEvent, V as IdCaptureContext, W as IdCaptureGeometry, X as IdCapturedImageData, Y as IdCaptureThresholds, Z as IdDocumentType, _ as startRecordingSession, a as AddBarcodeParams, at as MANUAL_UPLOAD_MAX_RETRIES, b as uploadIdImage, c as StartRecordingParams, ct as ManualUploadTab, d as ValidationError, et as IdFlowStep, f as addBarcode, g as processId, h as preloadIdRecordingProvider, it as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, j as IdCaptureMachine, k as IdCaptureActor, l as UploadIdImageParams, lt as DetectionOrientation, m as initializeIdCapture, n as IdCaptureManager, nt as UploadIdResponse, o as IdCaptureInitResult, ot as ManualUploadContext, p as barcodeToBase64, q as IdCaptureOnlyConfig, r as IdCaptureState, rt as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, s as InitializeIdCaptureParams, st as ManualUploadSide, t as createIdCaptureManager, tt as RecordingSession, u as UploadManualIdFileParams, ut as IdCaptureSettings, v as stopRecording, w as IdCaptureOnlyActor, x as uploadManualIdFile, y as stopStream, z as ID_ERROR_CODES } from "./idCaptureManager-DOYaK3vb.js";
|
|
5
5
|
//#region src/modules/id/idCaptureOnlyManager.d.ts
|
|
6
6
|
type IdCaptureOnlyManager = IdCaptureManager;
|
|
7
7
|
/**
|
package/dist/id.esm.js
CHANGED
|
@@ -2,8 +2,8 @@ import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
|
|
|
2
2
|
import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
4
4
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
5
|
-
import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as barcodeToBase64, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, r as addBarcode, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-
|
|
6
|
-
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
5
|
+
import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as barcodeToBase64, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, r as addBarcode, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-DZjn9cjg.esm.js";
|
|
6
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-BDCJwgrN.esm.js";
|
|
7
7
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-B-QfsCQY.esm.js";
|
|
8
8
|
//#region src/modules/id/idCaptureOnlyStateMachine.ts
|
|
9
9
|
function buildSubImage(canvas) {
|
|
@@ -4,7 +4,7 @@ import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.
|
|
|
4
4
|
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
|
|
5
5
|
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CkHL1BjH.esm.js";
|
|
6
6
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
7
|
-
import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
7
|
+
import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-DZjn9cjg.esm.js";
|
|
8
8
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
9
9
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
10
10
|
function isHoldingState(value) {
|
|
@@ -117,15 +117,14 @@ function getCaptureStatus(snapshot) {
|
|
|
117
117
|
manualCaptureWaiting: snapshot.matches({ capture: "manualCaptureWaiting" }),
|
|
118
118
|
capturing: snapshot.matches({ capture: "capturing" }),
|
|
119
119
|
capturingManual: snapshot.matches({ capture: "capturingManual" }),
|
|
120
|
-
capturingBarcode: snapshot.matches({ capture: "capturingBarcode" }),
|
|
121
120
|
uploading: snapshot.matches({ capture: "uploading" }),
|
|
122
|
-
submittingBarcode: snapshot.matches({ capture: "submittingBarcode" })
|
|
121
|
+
submittingBarcode: snapshot.matches({ capture: "submittingBarcode" }),
|
|
123
122
|
uploadError: snapshot.matches({ capture: "uploadError" }),
|
|
124
123
|
success: snapshot.matches({ capture: "success" })
|
|
125
124
|
};
|
|
126
125
|
if (matches.initializing) return "initializing";
|
|
127
126
|
if (matches.detecting || matches.manualCaptureWaiting) return "detecting";
|
|
128
|
-
if (matches.capturing || matches.capturingManual
|
|
127
|
+
if (matches.capturing || matches.capturingManual) return "capturing";
|
|
129
128
|
if (matches.uploading || matches.submittingBarcode) return "uploading";
|
|
130
129
|
if (matches.uploadError) return "uploadError";
|
|
131
130
|
if (matches.success) return "success";
|
|
@@ -520,12 +520,6 @@ type IdCaptureContext = {
|
|
|
520
520
|
* submit path; cleared on side flip / retry.
|
|
521
521
|
*/
|
|
522
522
|
decodedBarcode: Pdf417DecodeResult | null;
|
|
523
|
-
/**
|
|
524
|
-
* Whether the pre-capture barcode fast path has fired this attempt. One-shot:
|
|
525
|
-
* once attempted, a repeat decode falls through to the best-frame submit
|
|
526
|
-
* path. Reset on side flip / retry.
|
|
527
|
-
*/
|
|
528
|
-
barcodeFastPathAttempted: boolean;
|
|
529
523
|
recordingSession: RecordingSession | undefined;
|
|
530
524
|
attemptsRemaining: number;
|
|
531
525
|
/**
|
package/dist/{idCaptureStateMachine-B7atraNp.esm.js → idCaptureStateMachine-DZjn9cjg.esm.js}
RENAMED
|
@@ -3,21 +3,20 @@ import { r as getToken, t as api } from "./api-BDTZNnca.esm.js";
|
|
|
3
3
|
import { x as revokeObjectURL } from "./events-Dy8PyVO5.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
5
5
|
import { t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
|
|
6
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
6
|
+
import { t as getDisableIpify } from "./sessionInitializer-Cn9Ol4oc.esm.js";
|
|
7
7
|
import { n as isDesktop } from "./platform-Cd_yWGNG.esm.js";
|
|
8
8
|
import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
9
9
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
10
10
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
|
|
11
|
-
import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-
|
|
12
|
-
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
11
|
+
import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-D7Ymps8b.esm.js";
|
|
13
12
|
import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
|
|
14
13
|
import { n as getBackCameraStream } from "./backCameraStream-6XQp9RxG.esm.js";
|
|
15
14
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
16
15
|
import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
|
|
17
16
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
18
17
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-5Cu6a8iN.esm.js";
|
|
19
|
-
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-
|
|
20
|
-
import "./session-
|
|
18
|
+
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-OzNK87cy.esm.js";
|
|
19
|
+
import "./session-D9poVEP5.esm.js";
|
|
21
20
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS$1, r as IdCaptureProvider } from "./idCaptureDefaults-DCrjeNl5.esm.js";
|
|
22
21
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
23
22
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -1190,15 +1189,6 @@ const shouldSkipProcessIdGuard = ({ context }) => context.skipProcessId === true
|
|
|
1190
1189
|
*/
|
|
1191
1190
|
const shouldSubmitBarcodeGuard = ({ context }) => context.currentMode === "back" && context.config.usSmartCapture === true && !!context.decodedBarcode?.text;
|
|
1192
1191
|
/**
|
|
1193
|
-
* US Smart Capture pre-capture fast path: submit the decoded PDF417 barcode the
|
|
1194
|
-
* instant it is decoded, before the best-frame auto-capture completes. Reads the
|
|
1195
|
-
* barcode from the EVENT — the guard runs before the store action, so
|
|
1196
|
-
* `context.decodedBarcode` isn't populated yet. One-shot per attempt via
|
|
1197
|
-
* `barcodeFastPathAttempted` (a later best-frame decode falls through to the
|
|
1198
|
-
* regular `shouldSubmitBarcode` path).
|
|
1199
|
-
*/
|
|
1200
|
-
const canRunBarcodeFastPathGuard = ({ context, event }) => context.currentMode === "back" && context.config.usSmartCapture === true && !context.barcodeFastPathAttempted && !!event.decoded?.text;
|
|
1201
|
-
/**
|
|
1202
1192
|
* Bug 4 fix: when `expiredExhausted` is reached via the per-upload-expired
|
|
1203
1193
|
* exhaustion path with a back side captured (or the entire single-side back
|
|
1204
1194
|
* flow), we want `processId` to run once on Continue so the backend
|
|
@@ -1606,13 +1596,12 @@ const processIdActor = fromPromise(async ({ input, signal }) => {
|
|
|
1606
1596
|
return processId(input.isSecondId, "", signal);
|
|
1607
1597
|
});
|
|
1608
1598
|
const submitBarcodeActor = fromPromise(async ({ input, signal }) => {
|
|
1609
|
-
|
|
1599
|
+
return addBarcode({
|
|
1610
1600
|
rawBarcode: input.rawBarcode,
|
|
1611
1601
|
metrics: input.metrics,
|
|
1612
1602
|
processId: input.processId,
|
|
1613
1603
|
signal
|
|
1614
|
-
})
|
|
1615
|
-
return response;
|
|
1604
|
+
});
|
|
1616
1605
|
});
|
|
1617
1606
|
const startRecordingActor = fromPromise(async ({ input }) => {
|
|
1618
1607
|
if (!input.stream) return;
|
|
@@ -1626,7 +1615,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
|
|
|
1626
1615
|
});
|
|
1627
1616
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
1628
1617
|
if (!input.dependencies) return;
|
|
1629
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1618
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-DLTccYCv.esm.js");
|
|
1630
1619
|
return loadDeepsightSession({
|
|
1631
1620
|
ds: input.ds,
|
|
1632
1621
|
storage: input.dependencies.storage,
|
|
@@ -1700,7 +1689,6 @@ function getResetContextValues(context) {
|
|
|
1700
1689
|
captureOnlyImages: {},
|
|
1701
1690
|
uploadResponse: void 0,
|
|
1702
1691
|
decodedBarcode: null,
|
|
1703
|
-
barcodeFastPathAttempted: false,
|
|
1704
1692
|
recordingSession: void 0,
|
|
1705
1693
|
attemptsRemaining: context.config.captureAttempts,
|
|
1706
1694
|
expiredAttempts: 0,
|
|
@@ -2082,7 +2070,6 @@ const idCaptureMachine = setup({
|
|
|
2082
2070
|
storeCapturedImage: assign(({ context, event }) => getStoreCapturedImageValues(context, event)),
|
|
2083
2071
|
storeBarcodeResponse: assign(({ context, event }) => getBarcodeResponseValues(context, event)),
|
|
2084
2072
|
storeDecodedBarcode: assign({ decodedBarcode: ({ event }) => event.decoded }),
|
|
2085
|
-
setBarcodeFastPathAttempted: assign({ barcodeFastPathAttempted: true }),
|
|
2086
2073
|
setDetectionStatus: assign({ detectionStatus: ({ event, context }) => getDetectionStatusFromUpdate(context, event) }),
|
|
2087
2074
|
setCounterValue: assign({ counterValue: ({ event }) => {
|
|
2088
2075
|
if ("value" in event) return event.value;
|
|
@@ -2161,7 +2148,6 @@ const idCaptureMachine = setup({
|
|
|
2161
2148
|
wasExpiredFromUpload: wasExpiredFromUploadGuard,
|
|
2162
2149
|
shouldSkipProcessId: shouldSkipProcessIdGuard,
|
|
2163
2150
|
shouldSubmitBarcode: shouldSubmitBarcodeGuard,
|
|
2164
|
-
canRunBarcodeFastPath: canRunBarcodeFastPathGuard,
|
|
2165
2151
|
isProcessingExpiredExhausted: isProcessingExpiredExhaustedGuard,
|
|
2166
2152
|
shouldProcessAfterExhaustion: shouldProcessAfterExhaustionGuard,
|
|
2167
2153
|
forceFinishAfterProcessing: forceFinishAfterProcessingGuard,
|
|
@@ -2192,7 +2178,6 @@ const idCaptureMachine = setup({
|
|
|
2192
2178
|
captureOnlyImages: {},
|
|
2193
2179
|
uploadResponse: void 0,
|
|
2194
2180
|
decodedBarcode: null,
|
|
2195
|
-
barcodeFastPathAttempted: false,
|
|
2196
2181
|
recordingSession: void 0,
|
|
2197
2182
|
attemptsRemaining: input.config.captureAttempts,
|
|
2198
2183
|
expiredAttempts: 0,
|
|
@@ -2625,11 +2610,7 @@ const idCaptureMachine = setup({
|
|
|
2625
2610
|
target: "capturing",
|
|
2626
2611
|
actions: assign({ qualityElements: ({ event }) => event.qualityElements })
|
|
2627
2612
|
},
|
|
2628
|
-
BARCODE_DECODED:
|
|
2629
|
-
target: "capturingBarcode",
|
|
2630
|
-
guard: "canRunBarcodeFastPath",
|
|
2631
|
-
actions: ["storeDecodedBarcode", "setBarcodeFastPathAttempted"]
|
|
2632
|
-
}, { actions: "storeDecodedBarcode" }],
|
|
2613
|
+
BARCODE_DECODED: { actions: "storeDecodedBarcode" },
|
|
2633
2614
|
MANUAL_CAPTURE: { target: "capturingManual" },
|
|
2634
2615
|
SWITCH_TO_MANUAL_CAPTURE: {
|
|
2635
2616
|
target: "manualCaptureWaiting",
|
|
@@ -2683,29 +2664,6 @@ const idCaptureMachine = setup({
|
|
|
2683
2664
|
},
|
|
2684
2665
|
onError: { target: "uploading" }
|
|
2685
2666
|
} },
|
|
2686
|
-
capturingBarcode: {
|
|
2687
|
-
entry: [
|
|
2688
|
-
"captureImage",
|
|
2689
|
-
"storeCapturedCanvasInProvider",
|
|
2690
|
-
"storeCapturedImage"
|
|
2691
|
-
],
|
|
2692
|
-
always: [{ target: "submittingBarcodePreCapture" }]
|
|
2693
|
-
},
|
|
2694
|
-
submittingBarcodePreCapture: { invoke: {
|
|
2695
|
-
id: "submitBarcode",
|
|
2696
|
-
src: "submitBarcode",
|
|
2697
|
-
input: ({ context }) => ({
|
|
2698
|
-
rawBarcode: context.decodedBarcode?.text ?? "",
|
|
2699
|
-
metrics: context.decodedBarcode,
|
|
2700
|
-
processId: true,
|
|
2701
|
-
minDurationMs: 1e3
|
|
2702
|
-
}),
|
|
2703
|
-
onDone: {
|
|
2704
|
-
target: "success",
|
|
2705
|
-
actions: "storeBarcodeResponse"
|
|
2706
|
-
},
|
|
2707
|
-
onError: { target: "detecting" }
|
|
2708
|
-
} },
|
|
2709
2667
|
capturingManual: {
|
|
2710
2668
|
entry: [
|
|
2711
2669
|
"captureLatestFrame",
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reset, o as setup, r as isConfigured } from "./setup-
|
|
1
|
+
import { i as reset, o as setup, r as isConfigured } from "./setup-BUSg9dNN.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -516,7 +516,7 @@ async function stopRecording(session) {
|
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
518
|
async function initializeDeepsightSession(options) {
|
|
519
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
519
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-DLTccYCv.esm.js");
|
|
520
520
|
return loadDeepsightSession({
|
|
521
521
|
ds: options.ds,
|
|
522
522
|
storage: options.storage
|
package/dist/personhood.esm.js
CHANGED
|
@@ -4,13 +4,13 @@ import { t as api } from "./api-BDTZNnca.esm.js";
|
|
|
4
4
|
import { a as createApi$1, t as getStoredHttpConfig } from "./clientLifecycle-BX83zwtT.esm.js";
|
|
5
5
|
import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
7
|
-
import { c as isBrowserSimulation, d as getThumbmarkId, f as getDeviceFingerprintInfo, n as getFingerprintEnabled, p as BrowserEnvironmentProvider } from "./sessionInitializer-
|
|
7
|
+
import { c as isBrowserSimulation, d as getThumbmarkId, f as getDeviceFingerprintInfo, n as getFingerprintEnabled, p as BrowserEnvironmentProvider } from "./sessionInitializer-Cn9Ol4oc.esm.js";
|
|
8
8
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
9
9
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
10
10
|
import { i as requestPermission, t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
|
|
11
11
|
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
|
|
12
12
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
13
|
-
import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-
|
|
13
|
+
import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-D7Ymps8b.esm.js";
|
|
14
14
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
15
15
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
16
16
|
//#region ../infra/src/crypto/randomUUID.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
3
|
import { t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
|
|
4
|
-
import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-
|
|
4
|
+
import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-D7Ymps8b.esm.js";
|
|
5
5
|
import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-CUsftWlH.esm.js";
|
|
6
6
|
//#region src/internal/manualReview/manualReviewService.ts
|
|
7
7
|
async function flagFaceManualReview() {
|
package/dist/selfie.esm.js
CHANGED
|
@@ -2,12 +2,12 @@ import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
|
2
2
|
import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
|
|
3
3
|
import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
6
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
5
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-Bso0SOrU.esm.js";
|
|
6
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C7hNylWL.esm.js";
|
|
7
7
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
8
8
|
import { r as processFace } from "./selfieErrorUtils-BAEYvNVr.esm.js";
|
|
9
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
10
|
-
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-
|
|
9
|
+
import { t as selfieMachine } from "./selfieStateMachine-CBHAhVhb.esm.js";
|
|
10
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-CTfo3Af7.esm.js";
|
|
11
11
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-B-QfsCQY.esm.js";
|
|
12
12
|
//#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
|
|
13
13
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
|
|
3
3
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
4
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C7hNylWL.esm.js";
|
|
5
5
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-CBHAhVhb.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 { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
3
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-
|
|
3
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-Bso0SOrU.esm.js";
|
|
4
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-D7Ymps8b.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
6
6
|
import { i as uploadSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-BAEYvNVr.esm.js";
|
|
7
7
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./sessionInitializer-Cn9Ol4oc.esm.js";
|
package/dist/session.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as getApi } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
|
-
import { i as initializeSession } from "./sessionInitializer-
|
|
3
|
+
import { i as initializeSession } from "./sessionInitializer-Cn9Ol4oc.esm.js";
|
|
4
4
|
import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-B-PkYxln.esm.js";
|
|
5
|
-
import "./session-
|
|
5
|
+
import "./session-D9poVEP5.esm.js";
|
|
6
6
|
import { n as getFinishStatus } from "./flowCompletionService-D5oIlcza.esm.js";
|
|
7
7
|
//#region src/internal/session/sessionService.ts
|
|
8
8
|
/**
|
|
@@ -1614,7 +1614,7 @@ function isBrowserSimulation(browserEnv) {
|
|
|
1614
1614
|
}
|
|
1615
1615
|
//#endregion
|
|
1616
1616
|
//#region src/internal/version/sdkVersion.ts
|
|
1617
|
-
const SDK_VERSION = "0.0.0-dev-20260723-
|
|
1617
|
+
const SDK_VERSION = "0.0.0-dev-20260723-be346272";
|
|
1618
1618
|
//#endregion
|
|
1619
1619
|
//#region src/internal/fingerprint/fingerprintService.ts
|
|
1620
1620
|
function formatOsVersion(os) {
|
|
@@ -7,7 +7,7 @@ import { i as upgradeToWasmHttpClient$1, n as installFreshHttpClient, r as reset
|
|
|
7
7
|
import { _ as setAnalyticsBatcher, g as resetAnalyticsBatcher, h as getAnalyticsBatcher } from "./events-Dy8PyVO5.esm.js";
|
|
8
8
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
9
9
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
|
|
10
|
-
import { a as resetSessionInit, i as initializeSession, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled } from "./sessionInitializer-
|
|
10
|
+
import { a as resetSessionInit, i as initializeSession, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled } from "./sessionInitializer-Cn9Ol4oc.esm.js";
|
|
11
11
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
|
|
12
12
|
//#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
|
|
13
13
|
var BrowserPageLifecycleProvider = class {
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-BUSg9dNN.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
4
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
@@ -7,7 +7,7 @@ import { c as createManager, o as createActor, r as assign, t as setup } from ".
|
|
|
7
7
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
8
8
|
import { t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
|
|
9
9
|
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
|
|
10
|
-
import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-
|
|
10
|
+
import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-D7Ymps8b.esm.js";
|
|
11
11
|
import { n as getBackCameraStream } from "./backCameraStream-6XQp9RxG.esm.js";
|
|
12
12
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
13
13
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as warmupWasm } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
2
|
import { a as resolveWasmConfig, n as buildDefaultWasmConfig, r as buildWasmConfigFromBasePath, t as DEFAULT_WASM_VERSION } from "./wasmDefaults-B4DUtYET.esm.js";
|
|
3
|
-
import { a as setWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines } from "./setup-
|
|
3
|
+
import { a as setWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines } from "./setup-BUSg9dNN.esm.js";
|
|
4
4
|
export { DEFAULT_WASM_VERSION, buildDefaultWasmConfig, buildWasmConfigFromBasePath, ensureWasmPipelines, initializeWasmUtil, resolveWasmConfig, setWasmConfig, upgradeToWasmHttpClient, warmupWasm };
|
package/dist/workflow.d.ts
CHANGED
|
@@ -320,6 +320,10 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
|
|
|
320
320
|
id: string | undefined;
|
|
321
321
|
};
|
|
322
322
|
}>, Values<{
|
|
323
|
+
setError: {
|
|
324
|
+
type: "setError";
|
|
325
|
+
params: NonReducibleUnknown;
|
|
326
|
+
};
|
|
323
327
|
setLoadingResult: {
|
|
324
328
|
type: "setLoadingResult";
|
|
325
329
|
params: NonReducibleUnknown;
|
|
@@ -348,10 +352,6 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
|
|
|
348
352
|
type: "setFinishStatusFailed";
|
|
349
353
|
params: NonReducibleUnknown;
|
|
350
354
|
};
|
|
351
|
-
setError: {
|
|
352
|
-
type: "setError";
|
|
353
|
-
params: NonReducibleUnknown;
|
|
354
|
-
};
|
|
355
355
|
setModuleError: {
|
|
356
356
|
type: "setModuleError";
|
|
357
357
|
params: NonReducibleUnknown;
|
package/dist/workflow.esm.js
CHANGED
|
@@ -2,25 +2,25 @@ import { g as updateFeatureManagementUser } from "./feature-management-Dw96qEMs.
|
|
|
2
2
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
3
3
|
import { m as addEvent, n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
5
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
5
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-Cn9Ol4oc.esm.js";
|
|
6
6
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
7
7
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
8
8
|
import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
|
|
9
9
|
import { n as electronicSignatureMachine } from "./electronicSignatureManager-DGFwHdro.esm.js";
|
|
10
10
|
import "./ae-signature.esm.js";
|
|
11
11
|
import { t as antifraudMachine } from "./antifraudStateMachine-VB-aXHct.esm.js";
|
|
12
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
12
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-C_zvYGnY.esm.js";
|
|
13
13
|
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Di_bLlkP.esm.js";
|
|
14
14
|
import { t as consentMachine } from "./consentStateMachine-STURxpEc.esm.js";
|
|
15
15
|
import { t as curpValidationMachine } from "./curpValidationStateMachine-Dq6l4oeZ.esm.js";
|
|
16
16
|
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-BuQML-pk.esm.js";
|
|
17
17
|
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-BXgH9gGq.esm.js";
|
|
18
18
|
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DiPpuHgF.esm.js";
|
|
19
|
-
import { n as toEkybConfig, t as ekybMachine } from "./ekybStateMachine-
|
|
19
|
+
import { n as toEkybConfig, t as ekybMachine } from "./ekybStateMachine-CUADos0H.esm.js";
|
|
20
20
|
import { n as toEkycConfig, t as ekycMachine } from "./ekycStateMachine-DFQdmBXl.esm.js";
|
|
21
21
|
import { t as emailMachine } from "./emailStateMachine-DQS-QMgQ.esm.js";
|
|
22
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
23
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
22
|
+
import { t as selfieMachine } from "./selfieStateMachine-CBHAhVhb.esm.js";
|
|
23
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-DZjn9cjg.esm.js";
|
|
24
24
|
import { t as phoneMachine } from "./phoneStateMachine-CLGcLA8t.esm.js";
|
|
25
25
|
import { n as identityReuseMachine } from "./identityReuseStateMachine-B0IFF3R7.esm.js";
|
|
26
26
|
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-BP3npRnI.esm.js";
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./sessionInitializer-B5tU3IQv.esm.js";
|