@incodetech/core 0.0.0-dev-20261118-4e70dc73 → 0.0.0-dev-20261118-a5baca6e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{FaceDetectionProvider-B8VjYLtX.esm.js → FaceDetectionProvider-BWGLAUcT.esm.js} +4 -4
- package/dist/{MotionSensorProvider-DYxh8TjR.esm.js → MotionSensorProvider-X4_2eBGd.esm.js} +15 -0
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-Bx2a1X-l.esm.js → apiError-BSvcMDWp.esm.js} +1 -1
- package/dist/authentication.d.ts +2 -2
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-BeN9d9et.esm.js → authenticationManager-BdgHmyEG.esm.js} +3 -3
- package/dist/{authenticationManager-eYcurNiS.d.ts → authenticationManager-DeN8mraQ.d.ts} +1 -1
- package/dist/{authenticationStateMachine-D591MWdP.esm.js → authenticationStateMachine-3LoWXg-a.esm.js} +3 -3
- package/dist/camera.d.ts +5 -1
- package/dist/camera.esm.js +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-DlvhoJYc.d.ts → consentManager-Bx_osBME.d.ts} +5 -5
- package/dist/{deepsightLoader-BNRWpi5D.esm.js → deepsightLoader-Bl0pNuNf.esm.js} +4 -4
- package/dist/{desktopCameraElection-Bu2QTynu.esm.js → desktopCameraElection-DGq3YDWU.esm.js} +1 -1
- package/dist/document-capture.d.ts +2 -2
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-signature.esm.js +1 -1
- package/dist/{documentCaptureManager-Bt3-8L6d.esm.js → documentCaptureManager-D9LE-4ey.esm.js} +1 -1
- package/dist/{documentCaptureManager-BhGmZFF7.d.ts → documentCaptureManager-DLWTqjUr.d.ts} +2 -2
- package/dist/{documentCaptureStateMachine-BUy1LJ4r.esm.js → documentCaptureStateMachine-SXXKqpZz.esm.js} +4 -3
- package/dist/{documentSignatureStateMachine-3n12_IiO.esm.js → documentSignatureStateMachine-i3Ff_Eu-.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-BoSFVRj1.esm.js → dynamicFormsManager-CFdNg1rT.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-Q1Ryntc3.esm.js → dynamicFormsStateMachine-B3QwTmnp.esm.js} +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-BS46AGjk.esm.js → ekybManager-lgZscObl.esm.js} +1 -1
- package/dist/{ekybStateMachine-X2Mvy5mZ.esm.js → ekybStateMachine-BE6HRAfU.esm.js} +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/{ekycPrefillManager-BNQXkYf5.esm.js → ekycPrefillManager-R76m9DQ3.esm.js} +1 -1
- package/dist/{ekycPrefillStateMachine-HwtoiZkX.esm.js → ekycPrefillStateMachine-DzPUs_J0.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-BaF5Hzmu.esm.js → electronicSignatureManager-BftT5_MQ.esm.js} +1 -1
- package/dist/extensibility.d.ts +10 -10
- package/dist/extensibility.esm.js +13 -13
- package/dist/{faceCaptureManagerFactory-DhDPxxp-.d.ts → faceCaptureManagerFactory-D0pyWORs.d.ts} +10 -4
- package/dist/{faceCaptureManagerFactory-Da6Tfbo8.esm.js → faceCaptureManagerFactory-DF47tZXj.esm.js} +12 -7
- package/dist/{faceCaptureSetup-t20PYion.esm.js → faceCaptureSetup-BFPZy6WC.esm.js} +48 -34
- package/dist/{feature-management-C_-xbYLN.esm.js → feature-management-D3tsEbfQ.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-Dn9nzX6q.esm.js → flowCompletionService-B7VEC-6p.esm.js} +1 -1
- package/dist/{flowServices-BASJH6dk.esm.js → flowServices-BPUNQ6t0.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-MrZjrAYb.esm.js → geolocationManager-qzZYC2v_.esm.js} +1 -1
- package/dist/{geolocationStateMachine-wAE4tuGY.esm.js → geolocationStateMachine-C8GoJ7wP.esm.js} +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-CaRxd7_4.esm.js → idCaptureManager-CmMKMlMv.esm.js} +12 -6
- package/dist/{idCaptureManager-DzAMWmRO.d.ts → idCaptureManager-kmR_AuiW.d.ts} +5 -2
- package/dist/{idCaptureServices-CfXKITWC.esm.js → idCaptureServices-QCMz4i3g.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-BNxournC.esm.js → idCaptureStateMachine-CkQBNR5g.esm.js} +57 -40
- package/dist/{idOcrManager-C0C7lFGd.d.ts → idOcrManager-CNGVEZ7B.d.ts} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-CZ-qJ_Aa.d.ts → identityReuseManager-D_jiHp1n.d.ts} +4 -4
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-VRf3BMre.esm.js → kybChecksManager-Dm0BvGqp.esm.js} +1 -1
- package/dist/{kybChecksStateMachine--xKRJ5aM.esm.js → kybChecksStateMachine-B0ld1vE7.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-BGGbTEwN.d.ts → mandatoryConsentManager-EQg24XFE.d.ts} +5 -5
- package/dist/{permissionGuards-Dkz3FWte.esm.js → permissionGuards-BN_Tyjgt.esm.js} +1 -1
- package/dist/{permissionServices-IayHAnIi.esm.js → permissionServices-DB7ckY8v.esm.js} +16 -5
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-OzZ_AsrW.esm.js → runChildModule-B7yIPr42.esm.js} +1 -1
- package/dist/{sdkVersion-bwyLIRlS.esm.js → sdkVersion-Dyl2s20I.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieErrorUtils-DWaArwL1.esm.js → selfieErrorUtils-BV5VIq3v.esm.js} +1 -1
- package/dist/{selfieManager-C5a6Fw6W.d.ts → selfieManager-CAaZRbem.d.ts} +1 -1
- package/dist/{selfieManager-BjntOr-o.esm.js → selfieManager-CBYgnvRZ.esm.js} +3 -3
- package/dist/{selfieStateMachine-CZS_oXhL.esm.js → selfieStateMachine-DlTbqoOU.esm.js} +3 -3
- package/dist/{session-C1uJNFOS.esm.js → session-CawSv5pj.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-Dj9Psc_3.esm.js → sessionInitializer-Bauw70jM.esm.js} +3 -3
- package/dist/{setup-DtedaNiv.esm.js → setup-L_AR4Em0.esm.js} +4 -4
- package/dist/{trueSightService-BoJpFzW9.esm.js → trueSightService-MT5_9XBE.esm.js} +1 -1
- package/dist/{types-BBHnkH6S.d.ts → types-Bybof0yq.d.ts} +8 -1
- package/dist/{types-BEwVKkLJ.d.ts → types-CeEcakO7.d.ts} +7 -1
- package/dist/{types-CaVUb1DL.d.ts → types-Cy6Lx3L6.d.ts} +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-3D3LKUAj.esm.js → videoSelfieCameraWarmer-DDTpSiXF.esm.js} +4 -4
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +17 -17
- package/package.json +1 -1
|
@@ -138,14 +138,14 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
|
|
|
138
138
|
type: "setDocuments";
|
|
139
139
|
params: NonReducibleUnknown;
|
|
140
140
|
};
|
|
141
|
-
setError: {
|
|
142
|
-
type: "setError";
|
|
143
|
-
params: NonReducibleUnknown;
|
|
144
|
-
};
|
|
145
141
|
clearError: {
|
|
146
142
|
type: "clearError";
|
|
147
143
|
params: NonReducibleUnknown;
|
|
148
144
|
};
|
|
145
|
+
setError: {
|
|
146
|
+
type: "setError";
|
|
147
|
+
params: NonReducibleUnknown;
|
|
148
|
+
};
|
|
149
149
|
setSelectedDocument: {
|
|
150
150
|
type: "setSelectedDocument";
|
|
151
151
|
params: NonReducibleUnknown;
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reset, r as isConfigured, s as setup } from "./setup-
|
|
1
|
+
import { i as reset, r as isConfigured, s as setup } from "./setup-L_AR4Em0.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
package/dist/kyb-checks.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine
|
|
2
|
-
import { t as createKybChecksManager } from "./kybChecksManager-
|
|
1
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-B0ld1vE7.esm.js";
|
|
2
|
+
import { t as createKybChecksManager } from "./kybChecksManager-Dm0BvGqp.esm.js";
|
|
3
3
|
export { createKybChecksManager, kybChecksMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
2
2
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine
|
|
3
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-B0ld1vE7.esm.js";
|
|
4
4
|
//#region src/modules/kyb-checks/kybChecksActor.ts
|
|
5
5
|
/** Creates and starts a KYB Checks actor, idle until `LOAD`. */
|
|
6
6
|
function createKybChecksActor(options = {}) {
|
package/dist/{kybChecksStateMachine--xKRJ5aM.esm.js → kybChecksStateMachine-B0ld1vE7.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
2
|
-
import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-BSvcMDWp.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,3 +1,3 @@
|
|
|
1
1
|
import { r as MandatoryConsentConfig } from "./types-BkWUNheX.js";
|
|
2
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
2
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-EQg24XFE.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-BGGbTEwN.d.ts → mandatoryConsentManager-EQg24XFE.d.ts}
RENAMED
|
@@ -54,14 +54,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
54
54
|
type: "setConsent";
|
|
55
55
|
params: NonReducibleUnknown;
|
|
56
56
|
};
|
|
57
|
-
setError: {
|
|
58
|
-
type: "setError";
|
|
59
|
-
params: NonReducibleUnknown;
|
|
60
|
-
};
|
|
61
57
|
clearError: {
|
|
62
58
|
type: "clearError";
|
|
63
59
|
params: NonReducibleUnknown;
|
|
64
60
|
};
|
|
61
|
+
setError: {
|
|
62
|
+
type: "setError";
|
|
63
|
+
params: NonReducibleUnknown;
|
|
64
|
+
};
|
|
65
65
|
setLoadError: {
|
|
66
66
|
type: "setLoadError";
|
|
67
67
|
params: NonReducibleUnknown;
|
|
@@ -83,7 +83,7 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
83
83
|
type: "hasConsent";
|
|
84
84
|
params: unknown;
|
|
85
85
|
};
|
|
86
|
-
}>, never, "error" | "idle" | "closed" | "finished" | "
|
|
86
|
+
}>, never, "error" | "idle" | "closed" | "finished" | "submitting" | "loading" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
87
87
|
readonly id: "mandatoryConsent";
|
|
88
88
|
readonly initial: "idle";
|
|
89
89
|
readonly context: ({ input }: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as isWasmMotionPrimedForModule } from "./permissionServices-
|
|
1
|
+
import { s as isWasmMotionPrimedForModule } from "./permissionServices-DB7ckY8v.esm.js";
|
|
2
2
|
//#region src/internal/permissions/permissionGuards.ts
|
|
3
3
|
function resolveStoredPermissionResult(fromEvent, fromContext) {
|
|
4
4
|
if (fromEvent === "granted" || fromEvent === "denied" || fromEvent === "prompt" || fromEvent === "refresh") return fromEvent;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
2
2
|
import { n as isAndroidWebView } from "./platform-GIg4uPWe.esm.js";
|
|
3
|
-
import { t as MotionSensorProvider } from "./MotionSensorProvider-
|
|
3
|
+
import { t as MotionSensorProvider } from "./MotionSensorProvider-X4_2eBGd.esm.js";
|
|
4
4
|
import { a as stopCameraStream, l as isCameraGrantedInDocument, r as requestCameraAccess, s as clearCameraGrantedInDocument } from "./camera-CJKApt0x.esm.js";
|
|
5
5
|
//#region ../infra/src/media/permissions.ts
|
|
6
6
|
async function queryPermission(name) {
|
|
@@ -40,7 +40,9 @@ function isWasmMotionPrimedForModule() {
|
|
|
40
40
|
* That stays correct because every production caller that can write those
|
|
41
41
|
* flags runs within manager or machine permission orchestration and is followed
|
|
42
42
|
* by an actor transition. The mapped value is therefore re-derived before the
|
|
43
|
-
* UI can act on it.
|
|
43
|
+
* UI can act on it. That includes the retry from `motionDenied`, which clears
|
|
44
|
+
* the denied flag inside the `requesting` actor (`invokeRequestPermissionActor`)
|
|
45
|
+
* and resolves before `onDone`. Keep that true: a writer reachable without a transition
|
|
44
46
|
* would let this value go stale, and it would then have to move into context
|
|
45
47
|
* and be assigned explicitly.
|
|
46
48
|
*/
|
|
@@ -138,13 +140,21 @@ async function requestMotionPermission() {
|
|
|
138
140
|
* stops the obtained stream. When `requestMotion` is true (deepsight), requests
|
|
139
141
|
* motion OS permission first, then primes WASM sensors while it requests the
|
|
140
142
|
* camera — all in one user gesture chain, as in SDK v1.
|
|
143
|
+
*
|
|
144
|
+
* Public contract: a motion denial reports `'denied'`, the same as a camera
|
|
145
|
+
* denial. The capture machines use `requestPermissionOutcome` instead, which
|
|
146
|
+
* tells the two apart.
|
|
141
147
|
*/
|
|
142
148
|
async function requestPermission(options = {}) {
|
|
149
|
+
const outcome = await requestPermissionOutcome(options);
|
|
150
|
+
return outcome === "motionDenied" ? "denied" : outcome;
|
|
151
|
+
}
|
|
152
|
+
async function requestPermissionOutcome(options) {
|
|
143
153
|
try {
|
|
144
154
|
let motionPrimed;
|
|
145
155
|
if (options.requestMotion) {
|
|
146
156
|
const motionSensor = new MotionSensorProvider();
|
|
147
|
-
if (await resolveMotionOsPermission(motionSensor) === "denied") return "
|
|
157
|
+
if (await resolveMotionOsPermission(motionSensor) === "denied") return "motionDenied";
|
|
148
158
|
if (!isWasmMotionPrimedForModule()) motionPrimed = primeWasmMotionSensor(motionSensor);
|
|
149
159
|
}
|
|
150
160
|
const [stream] = await Promise.all([requestCameraAccess({
|
|
@@ -161,15 +171,16 @@ async function requestPermission(options = {}) {
|
|
|
161
171
|
}
|
|
162
172
|
async function invokeRequestPermissionActor(input) {
|
|
163
173
|
if (!input.requestMotionPermission) return requestPermission({ requestAudio: input.requestAudio });
|
|
174
|
+
if (input.retryDeniedMotionPermission) MotionSensorProvider.clearMotionPermissionDeniedInSession();
|
|
164
175
|
if (input.permissionResult === "granted") {
|
|
165
176
|
if (!isWasmMotionPrimedForModule()) {
|
|
166
177
|
const motionSensor = new MotionSensorProvider();
|
|
167
|
-
if (await resolveMotionOsPermission(motionSensor) === "denied") return "
|
|
178
|
+
if (await resolveMotionOsPermission(motionSensor) === "denied") return "motionDenied";
|
|
168
179
|
if (!await primeWasmMotionSensor(motionSensor)) return "denied";
|
|
169
180
|
}
|
|
170
181
|
return "granted";
|
|
171
182
|
}
|
|
172
|
-
return
|
|
183
|
+
return requestPermissionOutcome({
|
|
173
184
|
requestMotion: true,
|
|
174
185
|
requestAudio: input.requestAudio
|
|
175
186
|
});
|
package/dist/qe-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BftT5_MQ.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { C as createEventBus } from "./types-CBQN04Rh.esm.js";
|
|
3
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
3
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-MT5_9XBE.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
6
6
|
//#region src/internal/flow-events/flowEvents.ts
|
package/dist/selfie.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
2
|
-
import { _ as SelfieCaptureOnlyConfig, a as SelfieCaptureOnlyMachine, c as SelfieActor, g as processFace, h as ProcessFaceResponse, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, v as SelfieConfig } from "./faceCaptureManagerFactory-
|
|
3
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
2
|
+
import { _ as SelfieCaptureOnlyConfig, a as SelfieCaptureOnlyMachine, c as SelfieActor, g as processFace, h as ProcessFaceResponse, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, v as SelfieConfig } from "./faceCaptureManagerFactory-D0pyWORs.js";
|
|
3
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-CeEcakO7.js";
|
|
4
4
|
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-x5MQKskR.js";
|
|
5
5
|
import { n as DeepsightService } from "./StreamCanvasCapture-BnBfA6fb.js";
|
|
6
6
|
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
7
|
-
import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-
|
|
7
|
+
import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-CAaZRbem.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
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-L_AR4Em0.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
4
4
|
import "./events-CsPmTidH.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
7
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
8
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
9
|
-
import { s as processFace } from "./FaceDetectionProvider-
|
|
10
|
-
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-
|
|
11
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
12
|
-
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-
|
|
7
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BFPZy6WC.esm.js";
|
|
8
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DF47tZXj.esm.js";
|
|
9
|
+
import { s as processFace } from "./FaceDetectionProvider-BWGLAUcT.esm.js";
|
|
10
|
+
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-DGq3YDWU.esm.js";
|
|
11
|
+
import { t as selfieMachine } from "./selfieStateMachine-DlTbqoOU.esm.js";
|
|
12
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-CBYgnvRZ.esm.js";
|
|
13
13
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DNQX9k5e.esm.js";
|
|
14
14
|
/**
|
|
15
15
|
* Selfie state machine variant for the captureOnly flow. Shares the full base
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
1
|
+
import { u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BWGLAUcT.esm.js";
|
|
2
2
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
3
3
|
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
|
4
4
|
const isFaceErrorCode = (value) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
3
|
-
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-D0pyWORs.js";
|
|
4
4
|
//#region src/modules/selfie/selfieManager.d.ts
|
|
5
5
|
type SelfieState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-L_AR4Em0.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
4
4
|
import "./events-CsPmTidH.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
7
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
6
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DF47tZXj.esm.js";
|
|
7
|
+
import { t as selfieMachine } from "./selfieStateMachine-DlTbqoOU.esm.js";
|
|
8
8
|
//#region src/modules/selfie/selfieActor.ts
|
|
9
9
|
function createSelfieActor(options) {
|
|
10
10
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
3
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
5
|
-
import { n as validateUploadResponse } from "./selfieErrorUtils-
|
|
3
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-BFPZy6WC.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BWGLAUcT.esm.js";
|
|
5
|
+
import { n as validateUploadResponse } from "./selfieErrorUtils-BV5VIq3v.esm.js";
|
|
6
6
|
/**
|
|
7
7
|
* The selfie capture state machine.
|
|
8
8
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as getApi, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
2
|
-
import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-
|
|
3
|
-
import "./sessionInitializer-
|
|
4
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
2
|
+
import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-MT5_9XBE.esm.js";
|
|
3
|
+
import "./sessionInitializer-Bauw70jM.esm.js";
|
|
4
|
+
import { i as toIncodeApiError } from "./apiError-BSvcMDWp.esm.js";
|
|
5
5
|
//#region src/internal/session/sessionService.ts
|
|
6
6
|
/**
|
|
7
7
|
* HTTP status codes the QR validation endpoint emits, keyed by their semantic
|
package/dist/session.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as getToken } from "./api-DSZSaaWr.esm.js";
|
|
2
2
|
import { r as subscribeHttpErrors } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
3
|
-
import { a as initializeSession, f as whenSessionFingerprintSettled } from "./sessionInitializer-
|
|
3
|
+
import { a as initializeSession, f as whenSessionFingerprintSettled } from "./sessionInitializer-Bauw70jM.esm.js";
|
|
4
4
|
import { n as onConnectivityChange, r as resumeConnectivity, t as isConnectivityLost } from "./connectivity-BCuEoQ-n.esm.js";
|
|
5
|
-
import { t as IncodeApiError } from "./apiError-
|
|
6
|
-
import { a as continueSession, c as validateQrUuid, i as bootstrapSession, n as QrValidationError, o as createSession, r as SESSION_CONTINUE_ERROR_CODES, s as refreshQrUrlUuid, t as QR_VALIDATION_ERROR_CODES } from "./session-
|
|
7
|
-
import { r as getFinishStatus } from "./flowCompletionService-
|
|
5
|
+
import { t as IncodeApiError } from "./apiError-BSvcMDWp.esm.js";
|
|
6
|
+
import { a as continueSession, c as validateQrUuid, i as bootstrapSession, n as QrValidationError, o as createSession, r as SESSION_CONTINUE_ERROR_CODES, s as refreshQrUrlUuid, t as QR_VALIDATION_ERROR_CODES } from "./session-CawSv5pj.esm.js";
|
|
7
|
+
import { r as getFinishStatus } from "./flowCompletionService-B7VEC-6p.esm.js";
|
|
8
8
|
//#region src/internal/session/sessionExpired.ts
|
|
9
9
|
var SessionExpiredError = class extends Error {
|
|
10
10
|
constructor() {
|
|
@@ -3,10 +3,10 @@ import { n as setWasmMetadataV2Enabled } from "./wasmMetadataVersionSync-U8EFUr1
|
|
|
3
3
|
import { S as subscribeEvent, v as addEvent, y as getAnalyticsBatcher } from "./types-CBQN04Rh.esm.js";
|
|
4
4
|
import { c as setToken, r as getToken, t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
5
5
|
import "./events-CsPmTidH.esm.js";
|
|
6
|
-
import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-
|
|
7
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
6
|
+
import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-MT5_9XBE.esm.js";
|
|
7
|
+
import { t as SDK_VERSION } from "./sdkVersion-Dyl2s20I.esm.js";
|
|
8
8
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
9
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
9
|
+
import { E as updateFeatureManagementUser } from "./feature-management-D3tsEbfQ.esm.js";
|
|
10
10
|
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-VqHbD5rn.esm.js";
|
|
11
11
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
12
12
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
@@ -4,14 +4,14 @@ import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
|
4
4
|
import { b as resetAnalyticsBatcher, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./types-CBQN04Rh.esm.js";
|
|
5
5
|
import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
6
6
|
import { i as createAnalyticsBatchingService, r as resetExperimentAssignments } from "./events-CsPmTidH.esm.js";
|
|
7
|
-
import { S as noteTestingSignals, d as categoryForEndpoint, f as getStoredHttpConfig, h as upgradeToWasmHttpClient$1, m as resetHttpClientState, n as initializeTrueSightDiagnostics, o as resetTrueSight, p as installFreshHttpClient, s as setTrueSightExternalDrain, t as finalizeTrueSight, u as trueSightLog } from "./trueSightService-
|
|
8
|
-
import { C as BrowserEnvironmentProvider, _ as setStandaloneFlowPolicy, a as initializeSession, c as setClientHostingApp, d as setClientWasmDisabled, g as resolveStandaloneFlowPolicy, h as resetStandaloneFlowPolicy, l as setClientIpLookupEnabled, m as registerFlowPreloader, o as resetSessionInit, s as setClientFingerprintEnabled, u as setClientWasmConfig, w as fingerprintSignalsReporter } from "./sessionInitializer-
|
|
7
|
+
import { S as noteTestingSignals, d as categoryForEndpoint, f as getStoredHttpConfig, h as upgradeToWasmHttpClient$1, m as resetHttpClientState, n as initializeTrueSightDiagnostics, o as resetTrueSight, p as installFreshHttpClient, s as setTrueSightExternalDrain, t as finalizeTrueSight, u as trueSightLog } from "./trueSightService-MT5_9XBE.esm.js";
|
|
8
|
+
import { C as BrowserEnvironmentProvider, _ as setStandaloneFlowPolicy, a as initializeSession, c as setClientHostingApp, d as setClientWasmDisabled, g as resolveStandaloneFlowPolicy, h as resetStandaloneFlowPolicy, l as setClientIpLookupEnabled, m as registerFlowPreloader, o as resetSessionInit, s as setClientFingerprintEnabled, u as setClientWasmConfig, w as fingerprintSignalsReporter } from "./sessionInitializer-Bauw70jM.esm.js";
|
|
9
9
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
10
10
|
import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.esm.js";
|
|
11
|
-
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-
|
|
11
|
+
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-D3tsEbfQ.esm.js";
|
|
12
12
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-VqHbD5rn.esm.js";
|
|
13
13
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-xzRLIIMN.esm.js";
|
|
14
|
-
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-
|
|
14
|
+
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-BPUNQ6t0.esm.js";
|
|
15
15
|
//#region ../infra/src/wasm/wasmRuntimeProfile.ts
|
|
16
16
|
/**
|
|
17
17
|
* The WASM facts TrueSight reports as `session.webProfile.wasm`
|
|
@@ -3,7 +3,7 @@ import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.
|
|
|
3
3
|
import { S as subscribeEvent, n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
4
4
|
import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
5
5
|
import "./events-CsPmTidH.esm.js";
|
|
6
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
6
|
+
import { t as SDK_VERSION } from "./sdkVersion-Dyl2s20I.esm.js";
|
|
7
7
|
import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
8
8
|
/** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
|
|
9
9
|
const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { y as IncodeCanvas } from "./createFaceAvatar-BimBTONm.js";
|
|
2
2
|
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-B2DGXHe6.js";
|
|
3
3
|
import { a as IStorageCapability } from "./IWasmUtilCapability-XcOtT1TP.js";
|
|
4
|
-
import { t as PermissionResult } from "./types-
|
|
4
|
+
import { t as PermissionResult } from "./types-CeEcakO7.js";
|
|
5
5
|
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-BnBfA6fb.js";
|
|
6
6
|
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
7
7
|
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
|
|
@@ -735,6 +735,13 @@ type IdCaptureContext = {
|
|
|
735
735
|
expiredRedirected: boolean;
|
|
736
736
|
uploadError: IdErrorCode | undefined;
|
|
737
737
|
permissionResult: PermissionResult | 'refresh' | undefined;
|
|
738
|
+
/**
|
|
739
|
+
* Set by the tap that retries from `permissions.motionDenied`, so the
|
|
740
|
+
* permission request asks iOS for Motion & Orientation again instead of
|
|
741
|
+
* answering from the denial stored for this session. Reset when that request
|
|
742
|
+
* ends.
|
|
743
|
+
*/
|
|
744
|
+
retryDeniedMotionPermission: boolean;
|
|
738
745
|
resetDetection: (() => void) | undefined;
|
|
739
746
|
idType: string | undefined;
|
|
740
747
|
qualityElements: {
|
|
@@ -9,7 +9,13 @@ type PermissionResult = 'granted' | 'denied' | 'prompt';
|
|
|
9
9
|
* in and the user has to be asked. Collapsing the two made the allow-camera
|
|
10
10
|
* sheet paint during every check — visible as a flash even when the camera was
|
|
11
11
|
* already granted.
|
|
12
|
+
*
|
|
13
|
+
* `'motionDenied'` is separate from `'denied'`: iOS refused Motion & Orientation
|
|
14
|
+
* access, which Deepsight needs, and the camera permission is unchanged. Calling
|
|
15
|
+
* `requestPermission()` from a user tap asks iOS again. Safari may answer with
|
|
16
|
+
* its cached denial, without a prompt, until the browser is relaunched; the
|
|
17
|
+
* status then stays `'motionDenied'`.
|
|
12
18
|
*/
|
|
13
|
-
type PermissionStatus = 'checking' | 'idle' | 'motionOnly' | 'requesting' | 'denied' | 'learnMore';
|
|
19
|
+
type PermissionStatus = 'checking' | 'idle' | 'motionOnly' | 'requesting' | 'denied' | 'motionDenied' | 'learnMore';
|
|
14
20
|
//#endregion
|
|
15
21
|
export { PermissionStatus as n, PermissionResult as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PermissionResult } from "./types-
|
|
1
|
+
import { t as PermissionResult } from "./types-CeEcakO7.js";
|
|
2
2
|
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
3
3
|
//#region src/modules/document-capture/types.d.ts
|
|
4
4
|
type DocumentType = 'addressStatement' | 'otherDocument1' | 'otherDocument2' | 'otherDocument3' | 'v5cMultiPageLogbook' | 'circulationCard' | 'financeSettlement' | 'carInvoice' | 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processIneMex' | 'processColombiaRutForm' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement' | 'processW8BenOcr' | 'processW8BenEOcr' | 'w8Ben' | 'w8BenE' | 'signature' | 'document' | 'medicalDoc' | 'thirdId' | 'contract' | 'asyncProcessCarInvoice' | 'asyncProcessCirculationCard';
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-L_AR4Em0.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
3
3
|
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
5
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
6
|
-
import { b as videoSelfieWasmPipelines, v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-
|
|
6
|
+
import { b as videoSelfieWasmPipelines, v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-BPUNQ6t0.esm.js";
|
|
7
7
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
8
8
|
import { i as assign, l as raise, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
9
9
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
10
10
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
11
11
|
import { t as carryAttempts } from "./attemptCarry-QFQkA3na.esm.js";
|
|
12
12
|
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-CxZyPRyh.esm.js";
|
|
13
|
-
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-
|
|
13
|
+
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-DDTpSiXF.esm.js";
|
|
14
14
|
import { r as createRecordingCompositor } from "./CameraCompositor-C7N1N61V.esm.js";
|
|
15
15
|
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-BO7urYwT.esm.js";
|
|
16
16
|
import { t as MultipartRecordingService } from "./multipartRecordingService-CEtaAPz4.esm.js";
|
package/dist/{videoSelfieCameraWarmer-3D3LKUAj.esm.js → videoSelfieCameraWarmer-DDTpSiXF.esm.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import { v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-
|
|
3
|
+
import { v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-BPUNQ6t0.esm.js";
|
|
4
4
|
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-CJKApt0x.esm.js";
|
|
5
|
-
import { t as checkPermission } from "./permissionServices-
|
|
6
|
-
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
5
|
+
import { t as checkPermission } from "./permissionServices-DB7ckY8v.esm.js";
|
|
6
|
+
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BWGLAUcT.esm.js";
|
|
7
7
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
8
8
|
import { n as getBackCameraStream } from "./backCameraStream-6qVHvj76.esm.js";
|
|
9
9
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
|
-
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-
|
|
10
|
+
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-BV5VIq3v.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
12
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
|
|
13
13
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as WASM_PIPELINE_LAZY_MODEL_NAMES, E as WASM_MODEL_FILES, S as buildWasmConfigFromBasePath, T as resolveWasmConfig, b as DEFAULT_WASM_VERSION, k as WASM_PIPELINE_MODEL_NAMES, x as buildDefaultWasmConfig } from "./wasmWebClient-CyLCM31e.esm.js";
|
|
2
2
|
import { s as warmupWasm } from "./warmup-BZOMg303.esm.js";
|
|
3
|
-
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-
|
|
3
|
+
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-L_AR4Em0.esm.js";
|
|
4
4
|
//#region src/defineWasm.ts
|
|
5
5
|
function requiredModels(pipelines) {
|
|
6
6
|
const models = /* @__PURE__ */ new Set();
|
package/dist/workflow.esm.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { n as eventModuleNames, v as addEvent } from "./types-CBQN04Rh.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
3
3
|
import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
4
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
5
|
-
import { a as initializeSession, i as getSessionFingerprintResult } from "./sessionInitializer-
|
|
6
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
4
|
+
import { u as trueSightLog } from "./trueSightService-MT5_9XBE.esm.js";
|
|
5
|
+
import { a as initializeSession, i as getSessionFingerprintResult } from "./sessionInitializer-Bauw70jM.esm.js";
|
|
6
|
+
import { E as updateFeatureManagementUser } from "./feature-management-D3tsEbfQ.esm.js";
|
|
7
7
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
8
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
8
|
+
import { i as toIncodeApiError } from "./apiError-BSvcMDWp.esm.js";
|
|
9
9
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
10
10
|
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
11
11
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
12
|
-
import { r as electronicSignatureMachine } from "./electronicSignatureManager-
|
|
12
|
+
import { r as electronicSignatureMachine } from "./electronicSignatureManager-BftT5_MQ.esm.js";
|
|
13
13
|
import "./ae-signature.esm.js";
|
|
14
14
|
import { t as antifraudMachine } from "./antifraudStateMachine-kOfsaAuT.esm.js";
|
|
15
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
15
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-3LoWXg-a.esm.js";
|
|
16
16
|
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-DkvJwSlO.esm.js";
|
|
17
17
|
import { t as consentMachine } from "./consentStateMachine-Br0JbW7k.esm.js";
|
|
18
18
|
import { t as curpValidationMachine } from "./curpValidationStateMachine-BwUBkyyi.esm.js";
|
|
19
19
|
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-C1Xq1ugl.esm.js";
|
|
20
|
-
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
21
|
-
import { r as documentSignatureMachine } from "./documentSignatureStateMachine-
|
|
22
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
20
|
+
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-SXXKqpZz.esm.js";
|
|
21
|
+
import { r as documentSignatureMachine } from "./documentSignatureStateMachine-i3Ff_Eu-.esm.js";
|
|
22
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-B3QwTmnp.esm.js";
|
|
23
23
|
import { s as toEkybConfig } from "./ekybUtils-Z9MhFAer.esm.js";
|
|
24
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
24
|
+
import { t as ekybMachine } from "./ekybStateMachine-BE6HRAfU.esm.js";
|
|
25
25
|
import { t as ekycMachine } from "./ekycStateMachine-DjiGyQtm.esm.js";
|
|
26
26
|
import { l as toEkycConfig } from "./ekycUtils-D9ui9Ztp.esm.js";
|
|
27
|
-
import { t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
27
|
+
import { t as ekycPrefillMachine } from "./ekycPrefillStateMachine-DzPUs_J0.esm.js";
|
|
28
28
|
import { t as emailMachine } from "./emailStateMachine-C4FouMzc.esm.js";
|
|
29
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
30
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
29
|
+
import { t as selfieMachine } from "./selfieStateMachine-DlTbqoOU.esm.js";
|
|
30
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-CkQBNR5g.esm.js";
|
|
31
31
|
import { t as phoneMachine } from "./phoneStateMachine-CGLBgJJR.esm.js";
|
|
32
32
|
import { t as watchlistMachine } from "./watchlistStateMachine-CsNEmiXL.esm.js";
|
|
33
33
|
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-EzlC_4I4.esm.js";
|
|
@@ -36,13 +36,13 @@ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DpK
|
|
|
36
36
|
import { t as idOcrStateMachine } from "./idOcrStateMachine-BNtBkAXC.esm.js";
|
|
37
37
|
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-BCAPZCy8.esm.js";
|
|
38
38
|
import { t as signatureMachine } from "./signatureStateMachine-DSW5-ZO0.esm.js";
|
|
39
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
39
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-C8GoJ7wP.esm.js";
|
|
40
40
|
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-DRG-5jwQ.esm.js";
|
|
41
41
|
import { t as idVerificationMachine } from "./idVerificationStateMachine-mozw0CIg.esm.js";
|
|
42
42
|
import { t as faceMatchMachine } from "./faceMatchStateMachine-Co2S7iN8.esm.js";
|
|
43
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine
|
|
44
|
-
import { a as getTotalScoreStatus, i as getHandoffFinishStatus, r as getFinishStatus, t as HANDOFF_COMPLETION_TIMEOUT_MS } from "./flowCompletionService-
|
|
45
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
43
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-B0ld1vE7.esm.js";
|
|
44
|
+
import { a as getTotalScoreStatus, i as getHandoffFinishStatus, r as getFinishStatus, t as HANDOFF_COMPLETION_TIMEOUT_MS } from "./flowCompletionService-B7VEC-6p.esm.js";
|
|
45
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-B7yIPr42.esm.js";
|
|
46
46
|
import { n as isAdvanceableError } from "./advanceableErrors-CxZyPRyh.esm.js";
|
|
47
47
|
import "./qe-signature.esm.js";
|
|
48
48
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-IWdxw1TW.esm.js";
|