@incodetech/core 0.0.0-dev-20260717-8aab9f6d → 0.0.0-dev-20260717-17d23610
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.d.ts +2 -2
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-G-k-13Fe.d.ts → authenticationManager-BCm7eGoK.d.ts} +1 -1
- package/dist/{authenticationManager-CCsoE3a3.esm.js → authenticationManager-C5nO8GhV.esm.js} +2 -2
- package/dist/{authenticationStateMachine-DfscLUkp.esm.js → authenticationStateMachine-C2Rxpvux.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-3Pbtj-RV.d.ts → consentManager-uhDPdU6i.d.ts} +4 -4
- package/dist/curp-validation.d.ts +1 -1
- package/dist/{curpValidationManager--HSBTwOy.d.ts → curpValidationManager-DRQrbEhj.d.ts} +1 -1
- package/dist/{deepsightLoader-Dv4RBBlg.esm.js → deepsightLoader-OXrP5BZB.esm.js} +1 -1
- package/dist/document-upload.d.ts +4 -4
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-CwzaAdjM.esm.js → ekybManager-CQEK0tV2.esm.js} +1 -1
- package/dist/{ekybStateMachine-BOG89tFg.esm.js → ekybStateMachine-Di32xFWm.esm.js} +1 -1
- package/dist/extensibility.d.ts +8 -8
- package/dist/extensibility.esm.js +6 -6
- package/dist/{faceCaptureManagerFactory-BWD3O4Eg.d.ts → faceCaptureManagerFactory-DPf1rRsd.d.ts} +2 -2
- package/dist/{faceCaptureManagerFactory-aKmM3ism.esm.js → faceCaptureManagerFactory-DWbsV9Hb.esm.js} +1 -1
- package/dist/{faceCaptureSetup-CbLgaydb.esm.js → faceCaptureSetup-D0OgPQ4h.esm.js} +2 -2
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +1 -1
- package/dist/{flowServices-CaH1ElaI.esm.js → flowServices-VcegkvP8.esm.js} +2 -2
- package/dist/home.d.ts +1 -1
- package/dist/id.d.ts +1 -1
- package/dist/id.esm.js +2 -2
- package/dist/{idCaptureManager-Cmcwu1iM.d.ts → idCaptureManager-QSB3ejX0.d.ts} +1 -1
- package/dist/{idCaptureManager-Cni6kB_4.esm.js → idCaptureManager-qzGxTU-i.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-CZWjw6Qa.esm.js → idCaptureStateMachine-5NIUTkyD.esm.js} +5 -5
- package/dist/{index-DQ2fdqoI.d.ts → index-Ci9wEPiD.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-Bztc-cm2.d.ts → mandatoryConsentManager-BYyb8A34.d.ts} +5 -5
- package/dist/{onDeviceFaceResults-wRyQ24qM.esm.js → onDeviceFaceResults-BCVwIXUb.esm.js} +1 -1
- package/dist/personhood.d.ts +1 -1
- package/dist/personhood.esm.js +2 -2
- package/dist/{recordingService-5by5uVOf.esm.js → recordingService-DmC3aGiF.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +5 -5
- package/dist/{selfieUploadService-B4LnSIf6.esm.js → selfieErrorUtils-wgI_IxO1.esm.js} +20 -1
- package/dist/{selfieManager-D57f1R4V.esm.js → selfieManager-BpKCOb4e.esm.js} +2 -2
- package/dist/{selfieManager-CN8wJ14s.d.ts → selfieManager-Dq9wNlcg.d.ts} +1 -1
- package/dist/{selfieStateMachine-nqQV3aNZ.esm.js → selfieStateMachine-O16pT4th.esm.js} +3 -13
- package/dist/session-Cc3O3VPK.esm.js +1 -0
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +2 -2
- package/dist/{sessionInitializer-CCiF0nzE.esm.js → sessionInitializer-DNt98Rr1.esm.js} +1 -1
- package/dist/{setup-DmEcArzU.esm.js → setup-BEpnb0QN.esm.js} +1 -1
- package/dist/{types-BnEHzP1K.d.ts → types-BjTTkLmd.d.ts} +1 -1
- package/dist/{types-ctqh-iS4.d.ts → types-DMMk51Ec.d.ts} +1 -1
- package/dist/video-selfie.d.ts +39 -20
- package/dist/video-selfie.esm.js +307 -57
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.d.ts +5 -5
- package/dist/workflow.esm.js +5 -5
- package/package.json +3 -3
- package/dist/session-dUSz_co4.esm.js +0 -1
package/dist/authentication.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { S as authenticationMachine, b as createAuthenticationActor, v as AuthenticationActor, x as AuthenticationConfig, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
2
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { S as authenticationMachine, b as createAuthenticationActor, v as AuthenticationActor, x as AuthenticationConfig, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DPf1rRsd.js";
|
|
2
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-BCm7eGoK.js";
|
|
3
3
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
2
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-C2Rxpvux.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-C5nO8GhV.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
3
|
-
import { n as FaceCaptureManagerState, t as FaceCaptureManager, v as AuthenticationActor, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { n as FaceCaptureManagerState, t as FaceCaptureManager, v as AuthenticationActor, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DPf1rRsd.js";
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
package/dist/{authenticationManager-CCsoE3a3.esm.js → authenticationManager-C5nO8GhV.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DAshwHhX.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-DWbsV9Hb.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-C2Rxpvux.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-DLQ0g4-R.esm.js";
|
|
|
3
3
|
import { t as addDeviceStats } from "./stats-Bu6bL_CX.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-D0OgPQ4h.esm.js";
|
|
7
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BCVwIXUb.esm.js";
|
|
8
8
|
import { t as getDeviceClass } from "./getDeviceClass-CkgnSJel.esm.js";
|
|
9
9
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
10
10
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-
|
|
1
|
+
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-uhDPdU6i.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -82,6 +82,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
82
82
|
type: "clearError";
|
|
83
83
|
params: NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
|
+
resetContext: {
|
|
86
|
+
type: "resetContext";
|
|
87
|
+
params: NonReducibleUnknown;
|
|
88
|
+
};
|
|
85
89
|
setConsentData: {
|
|
86
90
|
type: "setConsentData";
|
|
87
91
|
params: NonReducibleUnknown;
|
|
@@ -90,10 +94,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
90
94
|
type: "toggleCheckbox";
|
|
91
95
|
params: NonReducibleUnknown;
|
|
92
96
|
};
|
|
93
|
-
resetContext: {
|
|
94
|
-
type: "resetContext";
|
|
95
|
-
params: NonReducibleUnknown;
|
|
96
|
-
};
|
|
97
97
|
}>, {
|
|
98
98
|
type: "canSubmit";
|
|
99
99
|
params: unknown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager
|
|
1
|
+
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-DRQrbEhj.js";
|
|
2
2
|
//#region src/modules/curp-validation/curpValidationUtils.d.ts
|
|
3
3
|
type MexicanState = {
|
|
4
4
|
value: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
2
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
3
3
|
import "./Actor-iTq7YY48.js";
|
|
4
|
-
import { i as FlowModuleConfig } from "./types-
|
|
4
|
+
import { i as FlowModuleConfig } from "./types-BjTTkLmd.js";
|
|
5
5
|
//#region src/modules/curp-validation/types.d.ts
|
|
6
6
|
type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
|
|
7
7
|
/** Maximum validation retries before auto-advancing. @default 1 */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DAshwHhX.esm.js";
|
|
2
2
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
3
3
|
import { t as addDeviceStats } from "./stats-Bu6bL_CX.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-DNt98Rr1.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,6 +38,10 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
|
|
|
38
38
|
id: string | undefined;
|
|
39
39
|
};
|
|
40
40
|
}>, Values<{
|
|
41
|
+
setError: {
|
|
42
|
+
type: "setError";
|
|
43
|
+
params: NonReducibleUnknown;
|
|
44
|
+
};
|
|
41
45
|
setStream: {
|
|
42
46
|
type: "setStream";
|
|
43
47
|
params: NonReducibleUnknown;
|
|
@@ -50,10 +54,6 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
|
|
|
50
54
|
type: "setProgress";
|
|
51
55
|
params: NonReducibleUnknown;
|
|
52
56
|
};
|
|
53
|
-
setError: {
|
|
54
|
-
type: "setError";
|
|
55
|
-
params: NonReducibleUnknown;
|
|
56
|
-
};
|
|
57
57
|
clearError: {
|
|
58
58
|
type: "clearError";
|
|
59
59
|
params: NonReducibleUnknown;
|
package/dist/ekyb.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./StateMachine-EDpYWy0i.js";
|
|
2
2
|
import { c as AddressSuggestion } from "./types-Bk_6dmDa.js";
|
|
3
|
-
import { i as FlowModuleConfig } from "./types-
|
|
3
|
+
import { i as FlowModuleConfig } from "./types-BjTTkLmd.js";
|
|
4
4
|
import { c as EkybCountry, d as EkybValidationErrors, f as UboEntry, l as EkybFieldDef, n as EkybState, o as ekybMachine, r as createEkybManager, s as EkybConfig, t as EkybManager, u as EkybValidationError } from "./ekybManager-CBX0tM04.js";
|
|
5
5
|
//#region src/modules/ekyb/ekybServices.d.ts
|
|
6
6
|
type EkybFlowConfig = FlowModuleConfig['EKYB'];
|
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-Di32xFWm.esm.js";
|
|
2
|
+
import { t as createEkybManager } from "./ekybManager-CQEK0tV2.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-Di32xFWm.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-DLQ0g4-R.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-DH-IPF-w.esm.js";
|
|
6
|
-
import { t as getFlow } from "./flowServices-
|
|
6
|
+
import { t as getFlow } from "./flowServices-VcegkvP8.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
|
@@ -3,26 +3,26 @@ import { n as fromCallback } from "./callback-645_omgz.js";
|
|
|
3
3
|
import "./StateMachine-EDpYWy0i.js";
|
|
4
4
|
import "./Actor-iTq7YY48.js";
|
|
5
5
|
import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-BY36bS12.js";
|
|
6
|
-
import { _ as SendFaceImageResponse, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, v as AuthenticationActor } from "./faceCaptureManagerFactory-
|
|
6
|
+
import { _ as SendFaceImageResponse, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, v as AuthenticationActor } from "./faceCaptureManagerFactory-DPf1rRsd.js";
|
|
7
7
|
import { n as BaseWasmProvider } from "./FaceDetectionProvider-BHweGBEM.js";
|
|
8
8
|
import { t as IStorageCapability } from "./IStorageCapability-B8IGxCwe.js";
|
|
9
|
-
import { c as VirtualCameraCheckOutput, l as WasmUtilConfig, s as IWasmUtilCapability } from "./types-
|
|
10
|
-
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-
|
|
11
|
-
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-
|
|
12
|
-
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-
|
|
9
|
+
import { c as VirtualCameraCheckOutput, l as WasmUtilConfig, s as IWasmUtilCapability } from "./types-DMMk51Ec.js";
|
|
10
|
+
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-Dq9wNlcg.js";
|
|
11
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BCm7eGoK.js";
|
|
12
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-uhDPdU6i.js";
|
|
13
13
|
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-C-3PWS2h.js";
|
|
14
14
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
|
|
15
|
-
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager
|
|
15
|
+
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-DRQrbEhj.js";
|
|
16
16
|
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-CBP2DkPr.js";
|
|
17
17
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-Dposae2l.js";
|
|
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 { d as IdCaptureActor, h as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-
|
|
21
|
+
import { d as IdCaptureActor, h as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-QSB3ejX0.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";
|
|
25
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
25
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-BYyb8A34.js";
|
|
26
26
|
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-B-JyjyPb.js";
|
|
27
27
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-NVQM3o5P.js";
|
|
28
28
|
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-BOuGkRoP.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DAshwHhX.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-DNt98Rr1.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-CL2YhiVX.esm.js";
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-D0OgPQ4h.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-C5nO8GhV.esm.js";
|
|
9
9
|
import { n as createConsentManagerFromActor } from "./consentManager-D3GyyH5u.esm.js";
|
|
10
10
|
import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-Cwm0MesJ.esm.js";
|
|
11
11
|
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-9rdIO8Qk.esm.js";
|
|
12
12
|
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-C2i9Lzx9.esm.js";
|
|
13
13
|
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-DijbJFun.esm.js";
|
|
14
14
|
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DxDndOS0.esm.js";
|
|
15
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
15
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-CQEK0tV2.esm.js";
|
|
16
16
|
import { n as createEkycManagerFromActor } from "./ekycManager-BSMlIpGA.esm.js";
|
|
17
17
|
import { n as createEmailManagerFromActor } from "./emailManager-c-mDLieD.esm.js";
|
|
18
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
19
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
18
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-BpKCOb4e.esm.js";
|
|
19
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-qzGxTU-i.esm.js";
|
|
20
20
|
import { n as createPhoneManagerFromActor } from "./phoneManager-KbcmjEeH.esm.js";
|
|
21
21
|
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-DHfJZTVo.esm.js";
|
|
22
22
|
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-5LlxYad-.esm.js";
|
package/dist/{faceCaptureManagerFactory-BWD3O4Eg.d.ts → faceCaptureManagerFactory-DPf1rRsd.d.ts}
RENAMED
|
@@ -8,8 +8,8 @@ import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
|
8
8
|
import { n as StreamCanvasCapture, r as IncodeCanvas, t as DeepsightService } from "./deepsightService-CR-CYdka.js";
|
|
9
9
|
import { i as FaceData, r as FaceCoordinates, t as FaceDetectionProvider } from "./FaceDetectionProvider-BHweGBEM.js";
|
|
10
10
|
import { t as AvatarId } from "./createFaceAvatar-BEj18KXi.js";
|
|
11
|
-
import { i as FlowModuleConfig } from "./types-
|
|
12
|
-
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-
|
|
11
|
+
import { i as FlowModuleConfig } from "./types-BjTTkLmd.js";
|
|
12
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-DMMk51Ec.js";
|
|
13
13
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BT-aiBYV.js";
|
|
14
14
|
//#region src/modules/authentication/authenticationStateMachine.d.ts
|
|
15
15
|
declare const _authenticationMachine: AnyStateMachine;
|
package/dist/{faceCaptureManagerFactory-aKmM3ism.esm.js → faceCaptureManagerFactory-DWbsV9Hb.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-D0OgPQ4h.esm.js";
|
|
5
5
|
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
|
|
6
6
|
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-DwNCUB2I.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-DwNCUB2I.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-BCVwIXUb.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-DguX5vFY.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-DmC3aGiF.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-events.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-
|
|
1
|
+
import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-Ci9wEPiD.js";
|
|
2
2
|
export type { FlowClosedEvent, FlowCompletedEvent, FlowErrorEvent, FlowEvent, FlowEventListener, FlowEventSubscribable, FlowModuleCompletedEvent, FlowModuleStartedEvent, FlowReadyEvent, FlowStartedEvent };
|
package/dist/flow.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import { n as WasmPipeline } from "./warmup-Dv2alr2-.js";
|
|
|
2
2
|
import { A as StateMachine, _ as MachineContext, c as AnyEventObject, l as AnyStateMachine, p as EventObject, v as MetaObject, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
|
|
3
3
|
import "./StateMachine-EDpYWy0i.js";
|
|
4
4
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
5
|
-
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-
|
|
5
|
+
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-BjTTkLmd.js";
|
|
6
6
|
import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-BlAHsKyv.js";
|
|
7
|
-
import { o as FlowEventSubscribable } from "./index-
|
|
7
|
+
import { o as FlowEventSubscribable } from "./index-Ci9wEPiD.js";
|
|
8
8
|
import { n as ModuleRegistry } from "./types-BfgmV7s7.js";
|
|
9
9
|
//#region src/modules/flow/flowUtils.d.ts
|
|
10
10
|
type NormalizeFlowModulesOptions = {
|
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-VcegkvP8.esm.js";
|
|
5
5
|
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-B30WLCxd.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-DLQ0g4-R.esm.js";
|
|
4
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
4
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-DNt98Rr1.esm.js";
|
|
5
5
|
import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
|
|
6
|
-
import "./session-
|
|
6
|
+
import "./session-Cc3O3VPK.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/home.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as StateMachine, C as StateValue, a as ActorRefFromLogic, c as AnyEventObject, g as IsNotNever, h as InputFrom, k as MachineSnapshot, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, v as MetaObject, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
|
|
2
2
|
import "./StateMachine-EDpYWy0i.js";
|
|
3
3
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
4
|
-
import { t as EmptyConfig } from "./types-
|
|
4
|
+
import { t as EmptyConfig } from "./types-BjTTkLmd.js";
|
|
5
5
|
//#region src/modules/home/types.d.ts
|
|
6
6
|
type HomeConfig = EmptyConfig;
|
|
7
7
|
//#endregion
|
package/dist/id.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapabil
|
|
|
2
2
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
3
3
|
import { t as DeepsightService } from "./deepsightService-CR-CYdka.js";
|
|
4
4
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BT-aiBYV.js";
|
|
5
|
-
import { A as IdCaptureThresholds, B as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, C as IdCaptureDependencies, D as IdCaptureMode, E as IdCaptureInput, F as IdFlowStep, G as DetectionOrientation, H as ManualUploadContext, I as RecordingSession, K as IIdCaptureCapability, L as UploadIdResponse, M as IdDocumentType, N as IdError, O as IdCaptureOnlyConfig, P as IdErrorCode, R as IAnalyticsCapability, S as IdCaptureContext, T as IdCaptureGeometry, U as ManualUploadSide, V as MANUAL_UPLOAD_MAX_RETRIES, W as ManualUploadTab, _ as CapturedImage, a as CreateIdCaptureOnlyActorOptions, b as ID_ERROR_CODES, c as IdCaptureOnlyMachine, d as IdCaptureActor, f as createIdCaptureActor, g as CaptureOnlyResponse, h as CaptureIdResponse, j as IdCapturedImageData, k as IdCaptureOutput, l as idCaptureOnlyMachine, m as idCaptureMachine, n as IdCaptureManager, o as IdCaptureOnlyActor, p as IdCaptureMachine, q as IdCaptureSettings, r as IdCaptureState, s as createIdCaptureOnlyActor, t as createIdCaptureManager, u as CreateIdCaptureActorOptions, v as DetectionArea, w as IdCaptureEvent, x as IdCaptureConfig, y as DetectionStatus, z as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS } from "./idCaptureManager-
|
|
5
|
+
import { A as IdCaptureThresholds, B as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, C as IdCaptureDependencies, D as IdCaptureMode, E as IdCaptureInput, F as IdFlowStep, G as DetectionOrientation, H as ManualUploadContext, I as RecordingSession, K as IIdCaptureCapability, L as UploadIdResponse, M as IdDocumentType, N as IdError, O as IdCaptureOnlyConfig, P as IdErrorCode, R as IAnalyticsCapability, S as IdCaptureContext, T as IdCaptureGeometry, U as ManualUploadSide, V as MANUAL_UPLOAD_MAX_RETRIES, W as ManualUploadTab, _ as CapturedImage, a as CreateIdCaptureOnlyActorOptions, b as ID_ERROR_CODES, c as IdCaptureOnlyMachine, d as IdCaptureActor, f as createIdCaptureActor, g as CaptureOnlyResponse, h as CaptureIdResponse, j as IdCapturedImageData, k as IdCaptureOutput, l as idCaptureOnlyMachine, m as idCaptureMachine, n as IdCaptureManager, o as IdCaptureOnlyActor, p as IdCaptureMachine, q as IdCaptureSettings, r as IdCaptureState, s as createIdCaptureOnlyActor, t as createIdCaptureManager, u as CreateIdCaptureActorOptions, v as DetectionArea, w as IdCaptureEvent, x as IdCaptureConfig, y as DetectionStatus, z as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS } from "./idCaptureManager-QSB3ejX0.js";
|
|
6
6
|
//#region src/modules/id/idCaptureServices.d.ts
|
|
7
7
|
type IdCaptureInitResult = {
|
|
8
8
|
stream: CameraStream;
|
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 { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, h as MANUAL_UPLOAD_MAX_RETRIES, i as preloadIdRecordingProvider, l as uploadIdImage, m as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, o as startRecordingSession, p as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, r as initializeIdCapture, s as stopRecording, t as idCaptureMachine, u as uploadManualIdFile } from "./idCaptureStateMachine-
|
|
6
|
-
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
5
|
+
import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, h as MANUAL_UPLOAD_MAX_RETRIES, i as preloadIdRecordingProvider, l as uploadIdImage, m as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, o as startRecordingSession, p as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, r as initializeIdCapture, s as stopRecording, t as idCaptureMachine, u as uploadManualIdFile } from "./idCaptureStateMachine-5NIUTkyD.esm.js";
|
|
6
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-qzGxTU-i.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) {
|
|
@@ -7,7 +7,7 @@ import "./index-B8weJxmL.js";
|
|
|
7
7
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
8
8
|
import { n as StreamCanvasCapture, r as IncodeCanvas, t as DeepsightService } from "./deepsightService-CR-CYdka.js";
|
|
9
9
|
import { a as MLProviderConfig, i as IMLProviderCapability, n as IRecordingCapability, r as RecordingConnection, t as IStorageCapability } from "./IStorageCapability-B8IGxCwe.js";
|
|
10
|
-
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-
|
|
10
|
+
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-BjTTkLmd.js";
|
|
11
11
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BT-aiBYV.js";
|
|
12
12
|
//#region ../infra/src/capabilities/IIdCaptureCapability.d.ts
|
|
13
13
|
/**
|
|
@@ -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-DwNCUB2I.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-5NIUTkyD.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) {
|
package/dist/{idCaptureStateMachine-CZWjw6Qa.esm.js → idCaptureStateMachine-5NIUTkyD.esm.js}
RENAMED
|
@@ -3,20 +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-DLQ0g4-R.esm.js";
|
|
5
5
|
import { t as addDeviceStats } from "./stats-Bu6bL_CX.esm.js";
|
|
6
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
6
|
+
import { t as getDisableIpify } from "./sessionInitializer-DNt98Rr1.esm.js";
|
|
7
7
|
import { n as isDesktop } from "./platform-wmV7oTAJ.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-DwNCUB2I.esm.js";
|
|
11
|
-
import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-
|
|
11
|
+
import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-BCVwIXUb.esm.js";
|
|
12
12
|
import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
|
|
13
13
|
import { n as getBackCameraStream } from "./backCameraStream-Heg6vA1j.esm.js";
|
|
14
14
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
15
15
|
import { t as getDeviceClass } from "./getDeviceClass-CkgnSJel.esm.js";
|
|
16
16
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
17
17
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DguX5vFY.esm.js";
|
|
18
|
-
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-
|
|
19
|
-
import "./session-
|
|
18
|
+
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-DmC3aGiF.esm.js";
|
|
19
|
+
import "./session-Cc3O3VPK.esm.js";
|
|
20
20
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS$1, r as IdCaptureProvider } from "./idCaptureDefaults-Dzfws4i0.esm.js";
|
|
21
21
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
22
22
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -1548,7 +1548,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
|
|
|
1548
1548
|
});
|
|
1549
1549
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
1550
1550
|
if (!input.dependencies) return;
|
|
1551
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1551
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-OXrP5BZB.esm.js");
|
|
1552
1552
|
return loadDeepsightSession({
|
|
1553
1553
|
ds: input.ds,
|
|
1554
1554
|
storage: input.dependencies.storage,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./Manager-CQQ99QOI.js";
|
|
2
|
-
import { n as Flow } from "./types-
|
|
2
|
+
import { n as Flow } from "./types-BjTTkLmd.js";
|
|
3
3
|
import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
|
|
4
4
|
//#region src/internal/flow-events/flowEvents.d.ts
|
|
5
5
|
type FlowStartedEvent = {
|
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-BEpnb0QN.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
1
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-BYyb8A34.js";
|
|
2
2
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-Bztc-cm2.d.ts → mandatoryConsentManager-BYyb8A34.d.ts}
RENAMED
|
@@ -2,7 +2,7 @@ import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorR
|
|
|
2
2
|
import "./StateMachine-EDpYWy0i.js";
|
|
3
3
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
4
4
|
import "./Actor-iTq7YY48.js";
|
|
5
|
-
import { a as RegulationTypes } from "./types-
|
|
5
|
+
import { a as RegulationTypes } from "./types-BjTTkLmd.js";
|
|
6
6
|
//#region src/modules/mandatory-consent/types.d.ts
|
|
7
7
|
type RegulatoryConsentType = 'MANDATORY' | 'ML';
|
|
8
8
|
type MandatoryConsentConfig = {
|
|
@@ -80,14 +80,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
80
80
|
type: "clearError";
|
|
81
81
|
params: NonReducibleUnknown;
|
|
82
82
|
};
|
|
83
|
-
resetContext: {
|
|
84
|
-
type: "resetContext";
|
|
85
|
-
params: NonReducibleUnknown;
|
|
86
|
-
};
|
|
87
83
|
toggleSigned: {
|
|
88
84
|
type: "toggleSigned";
|
|
89
85
|
params: NonReducibleUnknown;
|
|
90
86
|
};
|
|
87
|
+
resetContext: {
|
|
88
|
+
type: "resetContext";
|
|
89
|
+
params: NonReducibleUnknown;
|
|
90
|
+
};
|
|
91
91
|
}>, {
|
|
92
92
|
type: "canSubmit";
|
|
93
93
|
params: unknown;
|
|
@@ -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-OXrP5BZB.esm.js");
|
|
520
520
|
return loadDeepsightSession({
|
|
521
521
|
ds: options.ds,
|
|
522
522
|
storage: options.storage
|
package/dist/personhood.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
|
6
6
|
import { n as StreamCanvasCapture, r as IncodeCanvas, t as DeepsightService } from "./deepsightService-CR-CYdka.js";
|
|
7
7
|
import { t as FaceDetectionProvider } from "./FaceDetectionProvider-BHweGBEM.js";
|
|
8
8
|
import { t as IStorageCapability } from "./IStorageCapability-B8IGxCwe.js";
|
|
9
|
-
import { n as DetectionStatus, s as IWasmUtilCapability } from "./types-
|
|
9
|
+
import { n as DetectionStatus, s as IWasmUtilCapability } from "./types-DMMk51Ec.js";
|
|
10
10
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BT-aiBYV.js";
|
|
11
11
|
//#region src/modules/personhood/types.d.ts
|
|
12
12
|
/**
|
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-DzT65Fvf.esm.js";
|
|
5
5
|
import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-DLQ0g4-R.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-DNt98Rr1.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-DwNCUB2I.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-BCVwIXUb.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-DLQ0g4-R.esm.js";
|
|
3
3
|
import { t as isAndroid } from "./platform-wmV7oTAJ.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-BCVwIXUb.esm.js";
|
|
5
5
|
import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-BhSZDDNb.esm.js";
|
|
6
6
|
//#region src/internal/manualReview/manualReviewService.ts
|
|
7
7
|
async function flagFaceManualReview() {
|
package/dist/selfie.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
2
|
-
import { a as SelfieCaptureOnlyMachine, c as SelfieActor, g as SelfieConfig, h as SelfieCaptureOnlyConfig, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine } from "./faceCaptureManagerFactory-
|
|
2
|
+
import { a as SelfieCaptureOnlyMachine, c as SelfieActor, g as SelfieConfig, h as SelfieCaptureOnlyConfig, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine } from "./faceCaptureManagerFactory-DPf1rRsd.js";
|
|
3
3
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
4
4
|
import { t as DeepsightService } from "./deepsightService-CR-CYdka.js";
|
|
5
|
-
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-
|
|
5
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-DMMk51Ec.js";
|
|
6
6
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BT-aiBYV.js";
|
|
7
|
-
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-
|
|
7
|
+
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-Dq9wNlcg.js";
|
|
8
8
|
//#region src/modules/selfie/selfieCaptureOnlyManager.d.ts
|
|
9
9
|
type SelfieCaptureOnlyState = FaceCaptureManagerState;
|
|
10
10
|
type SelfieCaptureOnlyManager = FaceCaptureManager;
|
package/dist/selfie.esm.js
CHANGED
|
@@ -2,12 +2,12 @@ import { t as WasmUtilProvider } from "./WasmUtilProvider-DAshwHhX.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-D0OgPQ4h.esm.js";
|
|
6
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DWbsV9Hb.esm.js";
|
|
7
7
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
8
|
-
import {
|
|
9
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
10
|
-
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-
|
|
8
|
+
import { r as processFace } from "./selfieErrorUtils-wgI_IxO1.esm.js";
|
|
9
|
+
import { t as selfieMachine } from "./selfieStateMachine-O16pT4th.esm.js";
|
|
10
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BpKCOb4e.esm.js";
|
|
11
11
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-B-QfsCQY.esm.js";
|
|
12
12
|
//#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
|
|
13
13
|
/**
|
|
@@ -59,4 +59,23 @@ async function processFace(imageType = "selfie", signal) {
|
|
|
59
59
|
})).data;
|
|
60
60
|
}
|
|
61
61
|
//#endregion
|
|
62
|
-
|
|
62
|
+
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
63
|
+
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
|
64
|
+
const isFaceErrorCode = (value) => {
|
|
65
|
+
return FACE_ERROR_CODE_VALUES.includes(value);
|
|
66
|
+
};
|
|
67
|
+
const getFaceErrorCodeFromUnknown = (value) => {
|
|
68
|
+
if (value instanceof Error && typeof value.message === "string") return isFaceErrorCode(value.message) ? value.message : void 0;
|
|
69
|
+
if (typeof value === "string") return isFaceErrorCode(value) ? value : void 0;
|
|
70
|
+
};
|
|
71
|
+
const validateUploadResponse = ({ config, response }) => {
|
|
72
|
+
if (!response) return FACE_ERROR_CODES.SERVER;
|
|
73
|
+
if (response.confidence !== 0) return FACE_ERROR_CODES.LIVENESS;
|
|
74
|
+
if (config.validateBrightness && !response.isBright) return FACE_ERROR_CODES.BRIGHTNESS;
|
|
75
|
+
if (config.validateLenses && response.hasLenses) return FACE_ERROR_CODES.LENSES;
|
|
76
|
+
if (config.validateFaceMask && response.hasFaceMask) return FACE_ERROR_CODES.MASK;
|
|
77
|
+
if (config.validateClosedEyes && response.hasClosedEyes) return FACE_ERROR_CODES.CLOSED_EYES;
|
|
78
|
+
if (config.validateHeadCover && response.hasHeadCover) return FACE_ERROR_CODES.HEAD_COVER;
|
|
79
|
+
};
|
|
80
|
+
//#endregion
|
|
81
|
+
export { uploadSelfie as i, validateUploadResponse as n, processFace as r, getFaceErrorCodeFromUnknown as t };
|