@incodetech/core 2.5.0-rc.3 → 2.5.0-rc.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CameraCompositor-ppyMYVoY.esm.js → CameraCompositor-BAP_KRUT.esm.js} +54 -0
- package/dist/{FaceDetectionProvider-CCJo4bco.esm.js → FaceDetectionProvider-VT31r1ov.esm.js} +5 -5
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-DxhYr0v7.esm.js → apiError-D2biqI0c.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CFHIObef.d.ts → authenticationManager-DWFnFadt.d.ts} +1 -1
- package/dist/{authenticationManager-BXdvE7lC.esm.js → authenticationManager-Db2AIYOY.esm.js} +3 -3
- package/dist/{authenticationStateMachine-Bf0ApKso.esm.js → authenticationStateMachine-D5S7dLqB.esm.js} +3 -3
- package/dist/{backCameraStream-DS1oDiUq.esm.js → backCameraStream-Bn9Z5wM5.esm.js} +1 -1
- package/dist/{camera-E_Kcre4O.esm.js → camera-wzsqfd3B.esm.js} +9 -1
- package/dist/camera.d.ts +2 -2
- package/dist/camera.esm.js +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-B0YKqYtZ.d.ts → consentManager-Duzd8paN.d.ts} +5 -5
- package/dist/{deepsightLoader-C7TAHJXG.esm.js → deepsightLoader-Ckm6t3kD.esm.js} +3 -3
- package/dist/{desktopCameraElection-ByUXdW6A.esm.js → desktopCameraElection-q3cVTQ6a.esm.js} +19 -7
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-C9g-btPN.esm.js → documentCaptureManager-D5oiXpwG.esm.js} +1 -1
- package/dist/{documentCaptureManager-CoGcEiMK.d.ts → documentCaptureManager-Dd3T6bcs.d.ts} +5 -5
- package/dist/{documentCaptureStateMachine-B0b1h_GT.esm.js → documentCaptureStateMachine-zyJcTCBx.esm.js} +4 -4
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-DWeIy62Y.esm.js → dynamicFormsManager-BVajFTAr.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-dJEw3-L4.esm.js → dynamicFormsStateMachine-CojKBZSx.esm.js} +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-JBglywM8.esm.js → ekybManager-IjDkBive.esm.js} +1 -1
- package/dist/{ekybStateMachine-CUq0RRXx.esm.js → ekybStateMachine-DrWUhTG5.esm.js} +1 -1
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/{ekycPrefillManager-CMGSavny.esm.js → ekycPrefillManager-9Rdv8tsm.esm.js} +1 -1
- package/dist/{ekycPrefillManager-BcLhkpp8.d.ts → ekycPrefillManager-CUFTaI8e.d.ts} +30 -30
- package/dist/{ekycPrefillStateMachine-43l5cV8s.esm.js → ekycPrefillStateMachine-DVe575y0.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-C86sxqsy.esm.js → electronicSignatureManager-BDOrUs1S.esm.js} +1 -1
- package/dist/extensibility.d.ts +9 -9
- package/dist/extensibility.esm.js +14 -14
- package/dist/{faceCaptureManagerFactory-dgc5H8hd.esm.js → faceCaptureManagerFactory-D7o4vaSt.esm.js} +2 -2
- package/dist/{faceCaptureManagerFactory-DqDNQb8X.d.ts → faceCaptureManagerFactory-DLFzd1nq.d.ts} +2 -2
- package/dist/{faceCaptureSetup-BcE26nwo.esm.js → faceCaptureSetup-B6pAu2Lo.esm.js} +21 -10
- package/dist/{feature-management-So4L3K2G.esm.js → feature-management-Y7TclYIm.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-D4G-4xKE.esm.js → fiscalQrManager-2ZBUw08-.esm.js} +2 -2
- package/dist/flow.d.ts +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-DVqGjUJ5.esm.js → flowCompletionService-C0gr4duW.esm.js} +1 -1
- package/dist/{flowServices-m20VxXpw.esm.js → flowServices-B-_9AUG2.esm.js} +8 -9
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-B7tr1Mjr.esm.js → geolocationManager-BFT5MLUp.esm.js} +1 -1
- package/dist/{geolocationManager-CENrvxpK.d.ts → geolocationManager-Del2ddmt.d.ts} +1 -1
- package/dist/{geolocationStateMachine-Bj7PzCgO.esm.js → geolocationStateMachine-B0mxG9gS.esm.js} +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +7 -7
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-BY8Ms5-x.esm.js → idCaptureManager-kiSWD5_7.esm.js} +5 -5
- package/dist/{idCaptureServices-DxRuZzik.esm.js → idCaptureServices-DABHaQGi.esm.js} +6 -5
- package/dist/{idCaptureStateMachine-jIgD_6K9.esm.js → idCaptureStateMachine-B6Djl8nt.esm.js} +22 -12
- package/dist/{idOcrManager-DflRx-_u.d.ts → idOcrManager-C3BHGgSb.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-0_CnXLk4.esm.js → kybChecksManager-CAzYmH8L.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-CothByiQ.esm.js → kybChecksStateMachine-DWYRi__r.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-DszYRM5U.d.ts → mandatoryConsentManager-CCkV4Cm3.d.ts} +5 -5
- package/dist/{permissionGuards-DoAed6-z.esm.js → permissionGuards-CR0Z10rU.esm.js} +1 -1
- package/dist/{permissionServices-Ex5xc1h7.esm.js → permissionServices-BMQItC9y.esm.js} +6 -3
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-DxiwS8TV.esm.js → recordingService-yptkVJTO.esm.js} +3 -2
- package/dist/{runChildModule-BeAXn155.esm.js → runChildModule-CfTDIDFy.esm.js} +1 -1
- package/dist/{sdkVersion-CK98LU4K.esm.js → sdkVersion-B0u1yI4T.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieErrorUtils-Bd3iBR1y.esm.js → selfieErrorUtils-KMGgzEY8.esm.js} +1 -1
- package/dist/{selfieManager-u0dnwOE7.esm.js → selfieManager-CRAV_PgJ.esm.js} +3 -3
- package/dist/{selfieManager-Btqla0Id.d.ts → selfieManager-CvWeyYup.d.ts} +1 -1
- package/dist/{selfieStateMachine-BvMe5dxz.esm.js → selfieStateMachine-jd3k1iLj.esm.js} +3 -3
- package/dist/{session--fux_Vkl.esm.js → session-BkAhUvu7.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-BhXyYkt8.esm.js → sessionInitializer-BzPWbuZe.esm.js} +14 -60
- package/dist/{setup-uIE9pmGh.esm.js → setup-Cg1JJe3W.esm.js} +5 -5
- package/dist/{trueSightService-DhNRlYgN.esm.js → trueSightService-CzUm08rX.esm.js} +1 -1
- package/dist/{types-CoAp9UmW.d.ts → types-BRmwbyAu.d.ts} +2 -0
- package/dist/{types-BxLFoqzR.d.ts → types-Bc1-m6MR.d.ts} +1 -1
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +4 -4
- package/dist/{videoSelfieCameraWarmer-e9InU88j.esm.js → videoSelfieCameraWarmer-Dmkf-4Dt.esm.js} +6 -6
- package/dist/{videoSelfieStepDetector-VJFqUQmL.d.ts → videoSelfieStepDetector-DStjqQQm.d.ts} +14 -1
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +16 -16
- package/package.json +1 -1
|
@@ -28,15 +28,10 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
28
28
|
} | {
|
|
29
29
|
type: "CLOSE";
|
|
30
30
|
}, {
|
|
31
|
-
[x: string]: ActorRefFromLogic<PromiseActorLogic<
|
|
31
|
+
[x: string]: ActorRefFromLogic<PromiseActorLogic<void, {
|
|
32
32
|
hasPhone: boolean;
|
|
33
|
-
}, EventObject>> | undefined;
|
|
33
|
+
}, EventObject>> | ActorRefFromLogic<PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>> | undefined;
|
|
34
34
|
}, Values<{
|
|
35
|
-
submit: {
|
|
36
|
-
src: "submit";
|
|
37
|
-
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
38
|
-
id: string | undefined;
|
|
39
|
-
};
|
|
40
35
|
loadPhoneRules: {
|
|
41
36
|
src: "loadPhoneRules";
|
|
42
37
|
logic: PromiseActorLogic<void, {
|
|
@@ -44,6 +39,11 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
44
39
|
}, EventObject>;
|
|
45
40
|
id: string | undefined;
|
|
46
41
|
};
|
|
42
|
+
submit: {
|
|
43
|
+
src: "submit";
|
|
44
|
+
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
45
|
+
id: string | undefined;
|
|
46
|
+
};
|
|
47
47
|
}>, Values<{
|
|
48
48
|
applyForm: {
|
|
49
49
|
type: "applyForm";
|
|
@@ -82,10 +82,6 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
82
82
|
params: NonReducibleUnknown;
|
|
83
83
|
};
|
|
84
84
|
}>, Values<{
|
|
85
|
-
isValid: {
|
|
86
|
-
type: "isValid";
|
|
87
|
-
params: unknown;
|
|
88
|
-
};
|
|
89
85
|
phoneRulesFailed: {
|
|
90
86
|
type: "phoneRulesFailed";
|
|
91
87
|
params: unknown;
|
|
@@ -98,6 +94,10 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
98
94
|
type: "canRender";
|
|
99
95
|
params: unknown;
|
|
100
96
|
};
|
|
97
|
+
isValid: {
|
|
98
|
+
type: "isValid";
|
|
99
|
+
params: unknown;
|
|
100
|
+
};
|
|
101
101
|
isBadRequest: {
|
|
102
102
|
type: "isBadRequest";
|
|
103
103
|
params: unknown;
|
|
@@ -110,20 +110,24 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
110
110
|
type: "isLimitReached";
|
|
111
111
|
params: unknown;
|
|
112
112
|
};
|
|
113
|
-
}>, never, "error" | "idle" | "closed" | "finished" | "
|
|
113
|
+
}>, never, "error" | "idle" | "closed" | "finished" | "misconfigured" | "submitting" | "limitReached" | {
|
|
114
114
|
form: "inputting" | "validating";
|
|
115
115
|
}, string, EkycPrefillInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
116
116
|
readonly id: "ekycPrefill";
|
|
117
117
|
readonly initial: "idle";
|
|
118
118
|
readonly context: ({ input }: {
|
|
119
119
|
spawn: {
|
|
120
|
-
<TSrc extends "
|
|
121
|
-
src: "
|
|
122
|
-
logic: PromiseActorLogic<
|
|
120
|
+
<TSrc extends "loadPhoneRules" | "submit">(logic: TSrc, ...[options]: ({
|
|
121
|
+
src: "loadPhoneRules";
|
|
122
|
+
logic: PromiseActorLogic<void, {
|
|
123
|
+
hasPhone: boolean;
|
|
124
|
+
}, EventObject>;
|
|
123
125
|
id: string | undefined;
|
|
124
126
|
} extends (infer T) ? T extends {
|
|
125
|
-
src: "
|
|
126
|
-
logic: PromiseActorLogic<
|
|
127
|
+
src: "loadPhoneRules";
|
|
128
|
+
logic: PromiseActorLogic<void, {
|
|
129
|
+
hasPhone: boolean;
|
|
130
|
+
}, EventObject>;
|
|
127
131
|
id: string | undefined;
|
|
128
132
|
} ? T extends {
|
|
129
133
|
src: TSrc;
|
|
@@ -133,16 +137,12 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
133
137
|
input?: InputFrom<T["logic"]> | undefined;
|
|
134
138
|
syncSnapshot?: boolean;
|
|
135
139
|
} & { [K in RequiredActorOptions<T>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T>>> : never : never : never) | ({
|
|
136
|
-
src: "
|
|
137
|
-
logic: PromiseActorLogic<
|
|
138
|
-
hasPhone: boolean;
|
|
139
|
-
}, EventObject>;
|
|
140
|
+
src: "submit";
|
|
141
|
+
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
140
142
|
id: string | undefined;
|
|
141
143
|
} extends (infer T_1) ? T_1 extends {
|
|
142
|
-
src: "
|
|
143
|
-
logic: PromiseActorLogic<
|
|
144
|
-
hasPhone: boolean;
|
|
145
|
-
}, EventObject>;
|
|
144
|
+
src: "submit";
|
|
145
|
+
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
146
146
|
id: string | undefined;
|
|
147
147
|
} ? T_1 extends {
|
|
148
148
|
src: TSrc;
|
|
@@ -152,11 +152,6 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
152
152
|
input?: InputFrom<T_1["logic"]> | undefined;
|
|
153
153
|
syncSnapshot?: boolean;
|
|
154
154
|
} & { [K_1 in RequiredActorOptions<T_1>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_1>>> : never : never : never)): ActorRefFromLogic<GetConcreteByKey<Values<{
|
|
155
|
-
submit: {
|
|
156
|
-
src: "submit";
|
|
157
|
-
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
158
|
-
id: string | undefined;
|
|
159
|
-
};
|
|
160
155
|
loadPhoneRules: {
|
|
161
156
|
src: "loadPhoneRules";
|
|
162
157
|
logic: PromiseActorLogic<void, {
|
|
@@ -164,6 +159,11 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
164
159
|
}, EventObject>;
|
|
165
160
|
id: string | undefined;
|
|
166
161
|
};
|
|
162
|
+
submit: {
|
|
163
|
+
src: "submit";
|
|
164
|
+
logic: PromiseActorLogic<EkycPrefillSubmitResponse, SubmitInput, EventObject>;
|
|
165
|
+
id: string | undefined;
|
|
166
|
+
};
|
|
167
167
|
}>, "src", TSrc>["logic"]>;
|
|
168
168
|
<TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: ({
|
|
169
169
|
id?: never;
|
package/dist/{ekycPrefillStateMachine-43l5cV8s.esm.js → ekycPrefillStateMachine-DVe575y0.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
2
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError } from "./apiError-D2biqI0c.esm.js";
|
|
3
3
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BDOrUs1S.esm.js";
|
|
2
2
|
export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
|
2
2
|
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
3
3
|
import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
|
|
4
4
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
5
|
-
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-
|
|
5
|
+
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-D2biqI0c.esm.js";
|
|
6
6
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
7
7
|
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
8
8
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -5,36 +5,36 @@ import "./Actor-DqjOqDfU.js";
|
|
|
5
5
|
import { c as ElectronicSignatureFileDataHolder } from "./types-D0gekt4U.js";
|
|
6
6
|
import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-5tYz-a4o.js";
|
|
7
7
|
import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-BxfCsyA7.js";
|
|
8
|
-
import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-
|
|
8
|
+
import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-DLFzd1nq.js";
|
|
9
9
|
import "./createFaceAvatar-BimBTONm.js";
|
|
10
10
|
import { a as IStorageCapability } from "./IWasmUtilCapability-XcOtT1TP.js";
|
|
11
11
|
import "./StreamCanvasCapture-Y6cQ0Y4s.js";
|
|
12
12
|
import { i as createIdCaptureManagerFromActor, n as IdCaptureManager, q as WasmUtilProvider, r as IdCaptureState, y as IdCaptureActor } from "./idCaptureManager-DBVw9Etw.js";
|
|
13
|
-
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-
|
|
13
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-DWFnFadt.js";
|
|
14
14
|
import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-BcYhxO63.js";
|
|
15
|
-
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-
|
|
15
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-Duzd8paN.js";
|
|
16
16
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-crZcIUSY.js";
|
|
17
17
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-Ci2iVuog.js";
|
|
18
18
|
import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CdWTbsew.js";
|
|
19
19
|
import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-lJrveDS4.js";
|
|
20
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
20
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-Dd3T6bcs.js";
|
|
21
21
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-C45pTncO.js";
|
|
22
22
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-BflWuTe4.js";
|
|
23
|
-
import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-
|
|
23
|
+
import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-CUFTaI8e.js";
|
|
24
24
|
import { i as createEkycManagerFromActor, n as EkycState, o as EkycActor, t as EkycManager } from "./ekycManager-BKVQazAb.js";
|
|
25
25
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-pM7ZPuMa.js";
|
|
26
|
-
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-
|
|
26
|
+
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-CvWeyYup.js";
|
|
27
27
|
import { i as CaptureIdResponse } from "./types-CYrtpEe5.js";
|
|
28
28
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-VO1HEoUZ.js";
|
|
29
29
|
import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DQq4GxBO.js";
|
|
30
30
|
import { i as WatchlistForBusinessState, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager, s as WatchlistForBusinessActor } from "./watchlistForBusinessManager-l7ZERQcV.js";
|
|
31
31
|
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-CZ-qJ_Aa.js";
|
|
32
32
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-mFOHRhVd.js";
|
|
33
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
34
|
-
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-
|
|
33
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-CCkV4Cm3.js";
|
|
34
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-C3BHGgSb.js";
|
|
35
35
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-pT6FiPE7.js";
|
|
36
36
|
import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-daT_8fj_.js";
|
|
37
|
-
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-
|
|
37
|
+
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-Del2ddmt.js";
|
|
38
38
|
import { a as GovernmentValidationActor, i as createGovernmentValidationManagerFromActor, n as GovernmentValidationState, t as GovernmentValidationManager } from "./governmentValidationManager-De_vU7bm.js";
|
|
39
39
|
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-B6R8xNZq.js";
|
|
40
40
|
import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-C5b5WtcY.js";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-Cg1JJe3W.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
3
|
-
import {
|
|
3
|
+
import { b as getDeviceFingerprintInfo, v as getFingerprint } from "./sessionInitializer-BzPWbuZe.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
6
|
-
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-
|
|
6
|
+
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-BDOrUs1S.esm.js";
|
|
7
7
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-DKNOi9-z.esm.js";
|
|
8
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
9
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-B6pAu2Lo.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-Db2AIYOY.esm.js";
|
|
10
10
|
import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-DaUklfNj.esm.js";
|
|
11
11
|
import { n as createConsentManagerFromActor } from "./consentManager-BPocwpm2.esm.js";
|
|
12
12
|
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-BfA29Aji.esm.js";
|
|
13
13
|
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-CbvBDoE1.esm.js";
|
|
14
14
|
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-BRqSCR9R.esm.js";
|
|
15
15
|
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-Bd1ooIDB.esm.js";
|
|
16
|
-
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-
|
|
17
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
18
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
16
|
+
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-D5oiXpwG.esm.js";
|
|
17
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-BVajFTAr.esm.js";
|
|
18
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-IjDkBive.esm.js";
|
|
19
19
|
import { n as createEkycManagerFromActor } from "./ekycManager-nRT0rxei.esm.js";
|
|
20
|
-
import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-
|
|
20
|
+
import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-9Rdv8tsm.esm.js";
|
|
21
21
|
import { n as createEmailManagerFromActor } from "./emailManager-Co4jarT1.esm.js";
|
|
22
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
23
|
-
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
22
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-CRAV_PgJ.esm.js";
|
|
23
|
+
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-kiSWD5_7.esm.js";
|
|
24
24
|
import { n as createPhoneManagerFromActor } from "./phoneManager-rA7updqF.esm.js";
|
|
25
25
|
import { n as createWatchlistManagerFromActor } from "./watchlistManager-BDaVjzLW.esm.js";
|
|
26
26
|
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-BH6M4kqA.esm.js";
|
|
@@ -30,10 +30,10 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
|
|
|
30
30
|
import { n as createIdOcrManagerFromActor } from "./idOcrManager-im7VfJQi.esm.js";
|
|
31
31
|
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-DjsEtWLq.esm.js";
|
|
32
32
|
import { n as createSignatureManagerFromActor } from "./signatureManager-BgAja97K.esm.js";
|
|
33
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
33
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-BFT5MLUp.esm.js";
|
|
34
34
|
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-6JQQkzha.esm.js";
|
|
35
35
|
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-PMGM4hXY.esm.js";
|
|
36
36
|
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-CGmNGbov.esm.js";
|
|
37
|
-
import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-
|
|
38
|
-
import { n as createKybChecksManagerFromActor } from "./kybChecksManager-
|
|
37
|
+
import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-2ZBUw08-.esm.js";
|
|
38
|
+
import { n as createKybChecksManagerFromActor } from "./kybChecksManager-CAzYmH8L.esm.js";
|
|
39
39
|
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createEkycPrefillManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createKybChecksManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistForBusinessManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
package/dist/{faceCaptureManagerFactory-dgc5H8hd.esm.js → faceCaptureManagerFactory-D7o4vaSt.esm.js}
RENAMED
|
@@ -3,10 +3,10 @@ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
|
|
6
|
-
import { r as concealmentToAvatar } from "./faceCaptureSetup-
|
|
6
|
+
import { r as concealmentToAvatar } from "./faceCaptureSetup-B6pAu2Lo.esm.js";
|
|
7
7
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BHm1d2gA.esm.js";
|
|
8
8
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
9
|
-
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-
|
|
9
|
+
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-BMQItC9y.esm.js";
|
|
10
10
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
11
11
|
function getPermissionStatus(snapshot) {
|
|
12
12
|
if (!snapshot.matches("permissions")) return;
|
package/dist/{faceCaptureManagerFactory-DqDNQb8X.d.ts → faceCaptureManagerFactory-DLFzd1nq.d.ts}
RENAMED
|
@@ -8,8 +8,8 @@ import { c as FaceAttributesThresholds, d as FaceDetectionCallbacks, f as FaceDe
|
|
|
8
8
|
import { i as FlowModuleConfig } from "./types-Ddc4Tr_f.js";
|
|
9
9
|
import "./IWasmUtilCapability-XcOtT1TP.js";
|
|
10
10
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
11
|
-
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-
|
|
12
|
-
import { t as AuthenticationConfig } from "./types-
|
|
11
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-BRmwbyAu.js";
|
|
12
|
+
import { t as AuthenticationConfig } from "./types-Bc1-m6MR.js";
|
|
13
13
|
import { t as BaseWasmProvider } from "./BaseWasmProvider-bBNquvYn.js";
|
|
14
14
|
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-Y6cQ0Y4s.js";
|
|
15
15
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { r as getToken } from "./api-CZpuJuZl.esm.js";
|
|
3
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-
|
|
4
|
-
import "./sessionInitializer-
|
|
3
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-CzUm08rX.esm.js";
|
|
4
|
+
import "./sessionInitializer-BzPWbuZe.esm.js";
|
|
5
5
|
import { t as addDeviceStats } from "./stats-DoByUnTa.esm.js";
|
|
6
6
|
import { c as isIPhone14OrHigher } from "./platform-aPh7gTWh.esm.js";
|
|
7
7
|
import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
9
|
-
import {
|
|
10
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
11
|
-
import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
12
|
-
import { a as flagFaceManualReview, i as cameraCycleProvider, n as createCameraCycleOwnership, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-
|
|
9
|
+
import { c as isCameraDenialErrorName } from "./camera-wzsqfd3B.esm.js";
|
|
10
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-BMQItC9y.esm.js";
|
|
11
|
+
import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-VT31r1ov.esm.js";
|
|
12
|
+
import { a as flagFaceManualReview, i as cameraCycleProvider, n as createCameraCycleOwnership, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-q3cVTQ6a.esm.js";
|
|
13
13
|
import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
|
|
14
14
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
15
|
-
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
15
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-CR0Z10rU.esm.js";
|
|
16
16
|
import { t as carryAttempts } from "./attemptCarry-BecGGZK8.esm.js";
|
|
17
17
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
18
18
|
//#region src/internal/avatar/concealment.ts
|
|
@@ -73,6 +73,15 @@ function logFaceCameraDiagnostic(event, fields) {
|
|
|
73
73
|
//#region src/internal/faceCapture/protectedFaceAttempt.ts
|
|
74
74
|
const ON_DEVICE_MANUAL_CAPTURE_TIMEOUT_MS = 2147483647;
|
|
75
75
|
/**
|
|
76
|
+
* Merged session recordings carry sound, as in SDK 1. Only for the uploaded
|
|
77
|
+
* session recording (`createRecordingService`'s multipart branch): local and
|
|
78
|
+
* video-liveness recordings stay video-only. The permission step reads it too,
|
|
79
|
+
* so camera and mic are asked in one prompt.
|
|
80
|
+
*/
|
|
81
|
+
function requestsFaceSessionAudio(config) {
|
|
82
|
+
return config.mergeSessionRecordings === true && config.enableFaceRecording === true && config.onDeviceFaceResultsSubmissionEnabled !== true && config.deepsightLiveness !== "VIDEOLIVENESS";
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
76
85
|
* Recorder hooks for one protected face attempt.
|
|
77
86
|
*
|
|
78
87
|
* The recording service comes from the owner of the capture step (the face
|
|
@@ -181,7 +190,7 @@ var ProtectedFaceAttemptRuntime = class ProtectedFaceAttemptRuntime {
|
|
|
181
190
|
/** Per-attempt fallback when no step owner supplies the recording service. */
|
|
182
191
|
async createAttemptRecordingService() {
|
|
183
192
|
const wasmUtil = await this.options.dependencies.getWasmUtil();
|
|
184
|
-
return (await import("./recordingService-
|
|
193
|
+
return (await import("./recordingService-yptkVJTO.esm.js")).createRecordingService({
|
|
185
194
|
config: this.options.config,
|
|
186
195
|
wasmUtil,
|
|
187
196
|
sessionToken: getToken(),
|
|
@@ -236,6 +245,7 @@ var ProtectedFaceAttemptRuntime = class ProtectedFaceAttemptRuntime {
|
|
|
236
245
|
},
|
|
237
246
|
cycle: this.options.cycle,
|
|
238
247
|
cycleOwnership: this.cycleOwnership,
|
|
248
|
+
recordAudio: this.options.delivery === "protected" && requestsFaceSessionAudio(this.options.config),
|
|
239
249
|
recorder: this.recorder,
|
|
240
250
|
afterReady: this.options.delivery === "protected" ? (displayStream) => this.attachProtectedCameraMetadata(displayStream) : void 0,
|
|
241
251
|
configureWorkflow: () => this.configureWorkflow(),
|
|
@@ -479,7 +489,7 @@ function createProtectedFaceControllerActor(options) {
|
|
|
479
489
|
const input = getControllerInput();
|
|
480
490
|
const pending = (async () => {
|
|
481
491
|
const wasmUtil = await input.dependencies.getWasmUtil();
|
|
482
|
-
const recordingModule = await import("./recordingService-
|
|
492
|
+
const recordingModule = await import("./recordingService-yptkVJTO.esm.js");
|
|
483
493
|
if (!active) return;
|
|
484
494
|
stepRecording ??= recordingModule.createRecordingService({
|
|
485
495
|
config: input.config,
|
|
@@ -1378,7 +1388,8 @@ const faceCaptureMachine = setup({
|
|
|
1378
1388
|
src: "requestPermission",
|
|
1379
1389
|
input: ({ context }) => ({
|
|
1380
1390
|
permissionResult: context.permissionResult === "refresh" ? void 0 : context.permissionResult,
|
|
1381
|
-
requestMotionPermission: context.config.ds === true
|
|
1391
|
+
requestMotionPermission: context.config.ds === true,
|
|
1392
|
+
requestAudio: requestsFaceSessionAudio(context.config)
|
|
1382
1393
|
}),
|
|
1383
1394
|
onDone: [
|
|
1384
1395
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as __toESM } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
2
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
2
|
+
import { t as SDK_VERSION } from "./sdkVersion-B0u1yI4T.esm.js";
|
|
3
3
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
4
4
|
let currentEnvironment;
|
|
5
5
|
/** Effective tier: the explicitly-set value, else the default (see note above). */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-
|
|
1
|
+
import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-Y7TclYIm.esm.js";
|
|
2
2
|
export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
|
package/dist/fiscal-qr.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createFiscalQrManagerFromActor, r as fiscalQrMachine, t as createFiscalQrManager } from "./fiscalQrManager-
|
|
1
|
+
import { n as createFiscalQrManagerFromActor, r as fiscalQrMachine, t as createFiscalQrManager } from "./fiscalQrManager-2ZBUw08-.esm.js";
|
|
2
2
|
export { createFiscalQrManager, createFiscalQrManagerFromActor, fiscalQrMachine };
|
|
@@ -5,8 +5,8 @@ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.j
|
|
|
5
5
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
6
6
|
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
7
7
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
8
|
-
import { a as stopCameraStream } from "./camera-
|
|
9
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
8
|
+
import { a as stopCameraStream } from "./camera-wzsqfd3B.esm.js";
|
|
9
|
+
import { n as getBackCameraStream } from "./backCameraStream-Bn9Z5wM5.esm.js";
|
|
10
10
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
|
|
11
11
|
import "./http.esm.js";
|
|
12
12
|
//#region src/modules/fiscal-qr/fiscalQrConstants.ts
|
package/dist/flow.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { t as Manager } from "./Manager-DufwKlav.js";
|
|
|
5
5
|
import { a as ElectronicSignatureConfig } from "./types-D0gekt4U.js";
|
|
6
6
|
import { t as EkycConfig } from "./types-DEa3taWc.js";
|
|
7
7
|
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-Ddc4Tr_f.js";
|
|
8
|
-
import { t as AuthenticationConfig } from "./types-
|
|
8
|
+
import { t as AuthenticationConfig } from "./types-Bc1-m6MR.js";
|
|
9
9
|
import { r as DocumentCaptureConfig } from "./types-CyNndVAT.js";
|
|
10
10
|
import { t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
|
|
11
11
|
import { t as EkybConfig } from "./types-BgRHw-dR.js";
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { g as screenOpened, m as screenClosed, v as addEvent } from "./types-DYYMdAGv.esm.js";
|
|
2
2
|
import "./events-CP3yOzAl.esm.js";
|
|
3
3
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
4
|
-
import { S as mergeDashboardConfig, _ as resolveFlowModuleConfig, a as resolveDashboardModuleConfig, c as decideFlowPresets, d as stepsThatMayRunNext, f as enrichFlowModuleConfig, g as normalizeFlowModules, h as loadFlowConfigConverters, l as flowPresetAnalyticsModule, m as getRequiredWasmPipelines, n as getFlow, o as applyFlowPresets, p as getNextRequiredWasmPipelines, r as preloadDashboardFlow, s as armFlowPresets, t as completeDeferredActivation, u as getFirstFlowModuleKey, x as applyModulesConfig } from "./flowServices-
|
|
4
|
+
import { S as mergeDashboardConfig, _ as resolveFlowModuleConfig, a as resolveDashboardModuleConfig, c as decideFlowPresets, d as stepsThatMayRunNext, f as enrichFlowModuleConfig, g as normalizeFlowModules, h as loadFlowConfigConverters, l as flowPresetAnalyticsModule, m as getRequiredWasmPipelines, n as getFlow, o as applyFlowPresets, p as getNextRequiredWasmPipelines, r as preloadDashboardFlow, s as armFlowPresets, t as completeDeferredActivation, u as getFirstFlowModuleKey, x as applyModulesConfig } from "./flowServices-B-_9AUG2.esm.js";
|
|
5
5
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
6
6
|
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
7
7
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
8
|
-
import { a as getTotalScoreStatus, i as getHandoffFinishStatus, n as classifyScoreStatus, r as getFinishStatus, t as HANDOFF_COMPLETION_TIMEOUT_MS } from "./flowCompletionService-
|
|
9
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
8
|
+
import { a as getTotalScoreStatus, i as getHandoffFinishStatus, n as classifyScoreStatus, r as getFinishStatus, t as HANDOFF_COMPLETION_TIMEOUT_MS } from "./flowCompletionService-C0gr4duW.esm.js";
|
|
9
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CfTDIDFy.esm.js";
|
|
10
10
|
import { n as isAdvanceableError } from "./advanceableErrors-CxZyPRyh.esm.js";
|
|
11
11
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
12
12
|
const noOpFlowModuleMachine = /* @__PURE__ */ (() => setup({}).createMachine({
|
package/dist/{flowCompletionService-DVqGjUJ5.esm.js → flowCompletionService-C0gr4duW.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
2
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError } from "./apiError-D2biqI0c.esm.js";
|
|
3
3
|
//#region src/modules/flow/flowCompletionService.ts
|
|
4
4
|
const getFinishStatus = async (flowId, signal) => {
|
|
5
5
|
const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as getWasmStatus } from "./warmup-BZOMg303.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
3
3
|
import { r as getToken, t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
4
|
-
import {
|
|
5
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
6
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
7
|
-
import "./session
|
|
4
|
+
import { d as whenSessionFingerprintSettled, f as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-BzPWbuZe.esm.js";
|
|
5
|
+
import { E as updateFeatureManagementUser } from "./feature-management-Y7TclYIm.esm.js";
|
|
6
|
+
import { i as toIncodeApiError } from "./apiError-D2biqI0c.esm.js";
|
|
7
|
+
import "./session-BkAhUvu7.esm.js";
|
|
8
8
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
9
9
|
import { a as prefetchStartInfo } from "./phoneServices-CFXcwCFr.esm.js";
|
|
10
10
|
//#region src/modules/flow/dashboardConfig.ts
|
|
@@ -241,7 +241,8 @@ function enrichFlowModuleConfig(module, flow) {
|
|
|
241
241
|
};
|
|
242
242
|
if (module.key === "ID" || module.key === "TUTORIAL_ID" || module.key === "SECOND_ID" || module.key === "SELFIE") return {
|
|
243
243
|
...config,
|
|
244
|
-
ageAssurance: config.ageAssurance ?? flow.ageAssurance
|
|
244
|
+
ageAssurance: config.ageAssurance ?? flow.ageAssurance,
|
|
245
|
+
mergeSessionRecordings: config.mergeSessionRecordings ?? flow.mergeSessionRecordings
|
|
245
246
|
};
|
|
246
247
|
return config;
|
|
247
248
|
}
|
|
@@ -737,8 +738,8 @@ function toRegulationType(value) {
|
|
|
737
738
|
* The consent decision rides on the device-fingerprint response. A flow that
|
|
738
739
|
* never checks for consent doesn't read that response, so its first module
|
|
739
740
|
* doesn't wait for the post, and the post keeps waiting for the device hash in
|
|
740
|
-
* the background. A flow that checks waits for the post, so the
|
|
741
|
-
*
|
|
741
|
+
* the background. A flow that checks waits for the post, and so for the device
|
|
742
|
+
* hash: the hash must never be dropped to show the first screen sooner.
|
|
742
743
|
*/
|
|
743
744
|
function readsFingerprintResult(flow) {
|
|
744
745
|
return flow.mandatoryConsentCheck !== false;
|
|
@@ -767,7 +768,6 @@ function prependMandatoryConsent(flow) {
|
|
|
767
768
|
*/
|
|
768
769
|
async function completeDeferredActivation(flow, signal) {
|
|
769
770
|
const awaitFingerprint = readsFingerprintResult(flow);
|
|
770
|
-
if (awaitFingerprint) endDeviceHashWait();
|
|
771
771
|
await initializeSession({
|
|
772
772
|
signal,
|
|
773
773
|
awaitFingerprint
|
|
@@ -875,7 +875,6 @@ async function normalizeDashboardFlow(rawFlow, options, signal) {
|
|
|
875
875
|
let flow = rawFlow;
|
|
876
876
|
if (options.deferActivation !== true) {
|
|
877
877
|
const awaitFingerprint = readsFingerprintResult(rawFlow);
|
|
878
|
-
if (awaitFingerprint) endDeviceHashWait();
|
|
879
878
|
await initializeSession({
|
|
880
879
|
signal,
|
|
881
880
|
awaitFingerprint
|
package/dist/geolocation.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as GeolocationState, o as geolocationMachine, r as createGeolocationManager, s as GeolocationConfig, t as GeolocationManager } from "./geolocationManager-
|
|
1
|
+
import { n as GeolocationState, o as geolocationMachine, r as createGeolocationManager, s as GeolocationConfig, t as GeolocationManager } from "./geolocationManager-Del2ddmt.js";
|
|
2
2
|
export { type GeolocationConfig, type GeolocationManager, type GeolocationState, createGeolocationManager, geolocationMachine };
|
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as createGeolocationManager } from "./geolocationManager-
|
|
2
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
1
|
+
import { t as createGeolocationManager } from "./geolocationManager-BFT5MLUp.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-B0mxG9gS.esm.js";
|
|
3
3
|
export { createGeolocationManager, geolocationMachine };
|
|
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
|
|
|
2
2
|
import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
|
|
3
3
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
5
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-B0mxG9gS.esm.js";
|
|
6
6
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
7
7
|
var BrowserGeolocationProvider = class {
|
|
8
8
|
getCurrentPosition() {
|
|
@@ -117,7 +117,7 @@ declare const geolocationMachine: StateMachine<GeolocationContext, {
|
|
|
117
117
|
type: "isPermissionDenied";
|
|
118
118
|
params: unknown;
|
|
119
119
|
};
|
|
120
|
-
}>, never, "error" | "idle" | "closed" | "finished" | "
|
|
120
|
+
}>, never, "error" | "idle" | "closed" | "finished" | "submitting" | "requestingLocation" | "permissionDenied" | "locationAcquired", string, GeolocationInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
121
121
|
readonly id: "geolocation";
|
|
122
122
|
readonly initial: "idle";
|
|
123
123
|
readonly context: ({ input, self }: {
|
package/dist/{geolocationStateMachine-Bj7PzCgO.esm.js → geolocationStateMachine-B0mxG9gS.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
|
|
2
2
|
import { a as isIOS, t as isAndroid } from "./platform-aPh7gTWh.esm.js";
|
|
3
|
-
import { n as isConnectivityError } from "./apiError-
|
|
3
|
+
import { n as isConnectivityError } from "./apiError-D2biqI0c.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
6
6
|
import { t as carryAttempts } from "./attemptCarry-BecGGZK8.esm.js";
|
package/dist/id-ocr.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as UpdateOcrDataParams, n as OcrData, o as ValidationRule, r as OcrFieldConfig, t as IdOcrConfig } from "./types-Bpo97EOh.js";
|
|
2
|
-
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-
|
|
2
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-C3BHGgSb.js";
|
|
3
3
|
//#region src/modules/id-ocr/idOcrFields.d.ts
|
|
4
4
|
declare const OCR_FIELDS: OcrFieldConfig[];
|
|
5
5
|
declare const getOcrFields: (config: Pick<IdOcrConfig, "cpfOnly" | "flowId">) => OcrFieldConfig[];
|
package/dist/id-selfie-flow.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import "./Actor-DqjOqDfU.js";
|
|
|
5
5
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
6
6
|
import { t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
|
|
7
7
|
import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
|
|
8
|
-
import { a as FacingMode, c as VideoSelfieStep, i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, t as StepDetector } from "./videoSelfieStepDetector-
|
|
8
|
+
import { a as FacingMode, c as VideoSelfieStep, i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, t as StepDetector } from "./videoSelfieStepDetector-DStjqQQm.js";
|
|
9
9
|
//#region src/modules/id-selfie-flow/types.d.ts
|
|
10
10
|
/**
|
|
11
11
|
* The capture steps an ID + Selfie flow session can run, in flow order. A
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-Cg1JJe3W.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
|
-
import { a as resolveDashboardModuleConfig, v as facingModeForStep } from "./flowServices-
|
|
4
|
+
import { a as resolveDashboardModuleConfig, v as facingModeForStep } from "./flowServices-B-_9AUG2.esm.js";
|
|
5
5
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
6
6
|
import { i as assign, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
7
7
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
8
|
-
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
8
|
+
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-VT31r1ov.esm.js";
|
|
9
9
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
10
10
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
11
11
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CRn9jT4K.esm.js";
|
|
12
|
-
import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-
|
|
12
|
+
import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-DABHaQGi.esm.js";
|
|
13
13
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
|
|
14
|
-
import { r as getFinishStatus } from "./flowCompletionService-
|
|
15
|
-
import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-
|
|
16
|
-
import { t as CameraCompositor } from "./CameraCompositor-
|
|
14
|
+
import { r as getFinishStatus } from "./flowCompletionService-C0gr4duW.esm.js";
|
|
15
|
+
import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-Dmkf-4Dt.esm.js";
|
|
16
|
+
import { t as CameraCompositor } from "./CameraCompositor-BAP_KRUT.esm.js";
|
|
17
17
|
//#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
|
|
18
18
|
/** Default autocapture window for the selfie step. */
|
|
19
19
|
const SELFIE_AUTOCAPTURE_MS = 1e4;
|
package/dist/id.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-
|
|
2
|
-
import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
3
|
-
import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-
|
|
1
|
+
import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-B6Djl8nt.esm.js";
|
|
2
|
+
import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-kiSWD5_7.esm.js";
|
|
3
|
+
import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-DABHaQGi.esm.js";
|
|
4
4
|
//#region src/modules/id/deviceWallet/deviceWalletErrors.ts
|
|
5
5
|
/**
|
|
6
6
|
* Fail reason → i18n key for the device-wallet error screen (same shape as
|