@incodetech/core 0.0.0-dev-20260323-7ccb042 → 0.0.0-dev-20260323-d5fdccb
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/{addressSearch-DUewuEoH.esm.js → addressSearch-BBIa1heY.esm.js} +2 -2
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +7 -7
- package/dist/{authenticationManager-BjTgDn8A.d.ts → authenticationManager-DZFI79F5.d.ts} +1 -1
- package/dist/{authenticationManager-D2XK2lTw.esm.js → authenticationManager-h6dB_vib.esm.js} +4 -4
- package/dist/{backCameraStream-DN_DmYvJ.esm.js → backCameraStream-BPxNH3Pg.esm.js} +1 -1
- package/dist/consent.esm.js +5 -3
- package/dist/curp-validation.esm.js +9 -3
- package/dist/{deepsightLoader-D-gWAouI.esm.js → deepsightLoader-CZ_4kZPK.esm.js} +2 -2
- package/dist/{deepsightService-DElx3aC-.esm.js → deepsightService-DFek2Sxh.esm.js} +7 -1
- package/dist/{deepsightService-CdGGD_BP.d.ts → deepsightService-foKxxo3y.d.ts} +2 -0
- package/dist/document-capture.esm.js +11 -4
- package/dist/document-upload.esm.js +7 -4
- package/dist/ekyb.esm.js +9 -4
- package/dist/ekyc.esm.js +8 -4
- package/dist/email.esm.js +3 -3
- package/dist/{emailManager-B8mMir96.esm.js → emailManager-OpJLWD9-.esm.js} +7 -3
- package/dist/{events-CpjfmM8q.esm.js → events-DzHYCTUI.esm.js} +25 -6
- package/dist/extensibility.d.ts +5 -5
- package/dist/extensibility.esm.js +11 -11
- package/dist/face-match.esm.js +4 -3
- package/dist/{faceCaptureManagerFactory-BulU7xFu.d.ts → faceCaptureManagerFactory-Bavynz5Q.d.ts} +4 -1
- package/dist/{faceCaptureSetup-CCMaAwTM.esm.js → faceCaptureSetup-BOmXn1op.esm.js} +17 -6
- package/dist/flow.esm.js +10 -4
- package/dist/geolocation.esm.js +6 -3
- package/dist/government-validation.esm.js +6 -3
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +6 -6
- package/dist/{idCaptureManager-DobE_UEx.esm.js → idCaptureManager-DPzinE1o.esm.js} +26 -8
- package/dist/{idCaptureManager-DCXMoCXo.d.ts → idCaptureManager-Ih_zvBCr.d.ts} +4 -1
- package/dist/index.d.ts +13 -3
- package/dist/index.esm.js +7 -7
- package/dist/phone.esm.js +3 -3
- package/dist/{phoneManager-CXAVd4Na.esm.js → phoneManager-BwBW-tRA.esm.js} +7 -3
- package/dist/{recordingsRepository-V9xqQTl6.esm.js → recordingsRepository-DVPWOR9j.esm.js} +1 -1
- package/dist/redirect-to-mobile.esm.js +7 -3
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieManager-vePEfZwp.esm.js → selfieManager-DT0oJmpD.esm.js} +3 -3
- package/dist/{selfieManager-BqX2VFj1.d.ts → selfieManager-uSCpF37G.d.ts} +1 -1
- package/dist/{src-Dmccepc9.esm.js → src-Cmpz4Jmw.esm.js} +14 -4
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { g as BrowserTimerProvider } from "./src-
|
|
1
|
+
import { b as fromCallback } from "./events-DzHYCTUI.esm.js";
|
|
2
|
+
import { g as BrowserTimerProvider } from "./src-Cmpz4Jmw.esm.js";
|
|
3
3
|
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-Bydn-Ave.esm.js";
|
|
5
5
|
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./deepsightService-
|
|
2
|
-
import { g as AuthenticationConfig, h as createAuthenticationActor, m as CreateAuthenticationActorOptions, p as AuthenticationActor, y as authenticationMachine } from "./faceCaptureManagerFactory-
|
|
1
|
+
import "./deepsightService-foKxxo3y.js";
|
|
2
|
+
import { g as AuthenticationConfig, h as createAuthenticationActor, m as CreateAuthenticationActorOptions, p as AuthenticationActor, y as authenticationMachine } from "./faceCaptureManagerFactory-Bavynz5Q.js";
|
|
3
3
|
import "./warmup-DoQLFT3z.js";
|
|
4
4
|
import "./Manager-CVDYGoSq.js";
|
|
5
5
|
import "./camera-CVBwqx-j.js";
|
|
@@ -7,5 +7,5 @@ import "./Actor-D6rhGxJy.js";
|
|
|
7
7
|
import "./StateMachine-BqtRw_hz.js";
|
|
8
8
|
import "./types-CHzupruc.js";
|
|
9
9
|
import "./types-DSJflCEU.js";
|
|
10
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
10
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-DZFI79F5.js";
|
|
11
11
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./events-
|
|
2
|
-
import "./backCameraStream-
|
|
3
|
-
import "./src-
|
|
4
|
-
import "./recordingsRepository-
|
|
5
|
-
import "./deepsightService-
|
|
1
|
+
import "./events-DzHYCTUI.esm.js";
|
|
2
|
+
import "./backCameraStream-BPxNH3Pg.esm.js";
|
|
3
|
+
import "./src-Cmpz4Jmw.esm.js";
|
|
4
|
+
import "./recordingsRepository-DVPWOR9j.esm.js";
|
|
5
|
+
import "./deepsightService-DFek2Sxh.esm.js";
|
|
6
6
|
import "./api-3fZO5bmj.esm.js";
|
|
7
7
|
import "./endpoints-Bydn-Ave.esm.js";
|
|
8
8
|
import "./stats-D76Thmqp.esm.js";
|
|
9
|
-
import "./faceCaptureSetup-
|
|
10
|
-
import { i as authenticationMachine, r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
9
|
+
import "./faceCaptureSetup-BOmXn1op.esm.js";
|
|
10
|
+
import { i as authenticationMachine, r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-h6dB_vib.esm.js";
|
|
11
11
|
|
|
12
12
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, p as AuthenticationActor, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
1
|
+
import { m as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, p as AuthenticationActor, t as FaceCaptureManager } from "./faceCaptureManagerFactory-Bavynz5Q.js";
|
|
2
2
|
import { t as Manager } from "./Manager-CVDYGoSq.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
package/dist/{authenticationManager-D2XK2lTw.esm.js → authenticationManager-h6dB_vib.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as BrowserStorageProvider, a as WasmUtilProvider } from "./src-
|
|
3
|
-
import { c as getDeviceClass } from "./recordingsRepository-
|
|
1
|
+
import { S as createActor, n as eventModuleNames, x as fromPromise, y as assign } from "./events-DzHYCTUI.esm.js";
|
|
2
|
+
import { _ as BrowserStorageProvider, a as WasmUtilProvider } from "./src-Cmpz4Jmw.esm.js";
|
|
3
|
+
import { c as getDeviceClass } from "./recordingsRepository-DVPWOR9j.esm.js";
|
|
4
4
|
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-Bydn-Ave.esm.js";
|
|
6
|
-
import { a as createFaceCaptureManagerFromActor, i as FACE_ERROR_CODES, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
6
|
+
import { a as createFaceCaptureManagerFromActor, i as FACE_ERROR_CODES, t as faceCaptureMachine } from "./faceCaptureSetup-BOmXn1op.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
9
9
|
const AUTH_ERROR_MAP = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as isSafari, D as enumerateVideoDevices, E as applyTrackConstraints, F as isAndroid, L as isIOS, O as requestCameraAccess, k as stopCameraStream, z as isIPhone14OrHigher } from "./src-
|
|
1
|
+
import { B as isSafari, D as enumerateVideoDevices, E as applyTrackConstraints, F as isAndroid, L as isIOS, O as requestCameraAccess, k as stopCameraStream, z as isIPhone14OrHigher } from "./src-Cmpz4Jmw.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region ../infra/src/capabilities/ITimerCapability.ts
|
|
4
4
|
function sleep(ms) {
|
package/dist/consent.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as createManager } from "./src-
|
|
1
|
+
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-DzHYCTUI.esm.js";
|
|
2
|
+
import { A as createManager } from "./src-Cmpz4Jmw.esm.js";
|
|
3
3
|
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-Bydn-Ave.esm.js";
|
|
5
5
|
|
|
@@ -187,7 +187,7 @@ function mapState(snapshot) {
|
|
|
187
187
|
};
|
|
188
188
|
return { status: "idle" };
|
|
189
189
|
}
|
|
190
|
-
function createApi({ actor }) {
|
|
190
|
+
function createApi({ actor, trackElementClicked }) {
|
|
191
191
|
return {
|
|
192
192
|
load() {
|
|
193
193
|
actor.send({ type: "LOAD" });
|
|
@@ -199,9 +199,11 @@ function createApi({ actor }) {
|
|
|
199
199
|
});
|
|
200
200
|
},
|
|
201
201
|
submit() {
|
|
202
|
+
trackElementClicked?.("submit");
|
|
202
203
|
actor.send({ type: "SUBMIT" });
|
|
203
204
|
},
|
|
204
205
|
retry() {
|
|
206
|
+
trackElementClicked?.("retry");
|
|
205
207
|
actor.send({ type: "RETRY" });
|
|
206
208
|
},
|
|
207
209
|
reset() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as createManager } from "./src-
|
|
1
|
+
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-DzHYCTUI.esm.js";
|
|
2
|
+
import { A as createManager } from "./src-Cmpz4Jmw.esm.js";
|
|
3
3
|
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-Bydn-Ave.esm.js";
|
|
5
5
|
|
|
@@ -458,7 +458,7 @@ function mapState(snapshot) {
|
|
|
458
458
|
if (typedSnapshot.matches("closed")) return { status: "closed" };
|
|
459
459
|
return { status: "idle" };
|
|
460
460
|
}
|
|
461
|
-
function createApi({ actor }) {
|
|
461
|
+
function createApi({ actor, trackElementClicked }) {
|
|
462
462
|
return {
|
|
463
463
|
load() {
|
|
464
464
|
actor.send({ type: "LOAD" });
|
|
@@ -470,9 +470,11 @@ function createApi({ actor }) {
|
|
|
470
470
|
});
|
|
471
471
|
},
|
|
472
472
|
verify() {
|
|
473
|
+
trackElementClicked?.("verify");
|
|
473
474
|
actor.send({ type: "VERIFY" });
|
|
474
475
|
},
|
|
475
476
|
switchToGenerate() {
|
|
477
|
+
trackElementClicked?.("switchToGenerate");
|
|
476
478
|
actor.send({ type: "SWITCH_TO_GENERATE" });
|
|
477
479
|
},
|
|
478
480
|
setGenerateForm(form) {
|
|
@@ -482,15 +484,19 @@ function createApi({ actor }) {
|
|
|
482
484
|
});
|
|
483
485
|
},
|
|
484
486
|
generate() {
|
|
487
|
+
trackElementClicked?.("generate");
|
|
485
488
|
actor.send({ type: "GENERATE" });
|
|
486
489
|
},
|
|
487
490
|
confirmGenerated() {
|
|
491
|
+
trackElementClicked?.("confirmGenerated");
|
|
488
492
|
actor.send({ type: "CONFIRM" });
|
|
489
493
|
},
|
|
490
494
|
retry() {
|
|
495
|
+
trackElementClicked?.("retry");
|
|
491
496
|
actor.send({ type: "RETRY" });
|
|
492
497
|
},
|
|
493
498
|
close() {
|
|
499
|
+
trackElementClicked?.("close");
|
|
494
500
|
actor.send({ type: "CLOSE" });
|
|
495
501
|
}
|
|
496
502
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as WasmUtilProvider, f as MotionSensorProvider, l as VisibilityProvider, y as BrowserEnvironmentProvider } from "./src-
|
|
2
|
-
import { t as createDeepsightService } from "./deepsightService-
|
|
1
|
+
import { a as WasmUtilProvider, f as MotionSensorProvider, l as VisibilityProvider, y as BrowserEnvironmentProvider } from "./src-Cmpz4Jmw.esm.js";
|
|
2
|
+
import { t as createDeepsightService } from "./deepsightService-DFek2Sxh.esm.js";
|
|
3
3
|
import "./api-3fZO5bmj.esm.js";
|
|
4
4
|
import "./stats-D76Thmqp.esm.js";
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as getDeviceInfo, O as requestCameraAccess, P as getUserAgent, T as IncodeCanvas, k as stopCameraStream, w as createHiddenVideoElement } from "./src-
|
|
1
|
+
import { M as getDeviceInfo, O as requestCameraAccess, P as getUserAgent, T as IncodeCanvas, k as stopCameraStream, w as createHiddenVideoElement } from "./src-Cmpz4Jmw.esm.js";
|
|
2
2
|
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
3
3
|
import { t as addDeviceStats } from "./stats-D76Thmqp.esm.js";
|
|
4
4
|
|
|
@@ -107,6 +107,9 @@ function createMetadataService(wasmUtil, visibility, browserEnv) {
|
|
|
107
107
|
getCheck() {
|
|
108
108
|
return wasmUtil.getCheck();
|
|
109
109
|
},
|
|
110
|
+
getPipelineState() {
|
|
111
|
+
return wasmUtil.getPipelineState();
|
|
112
|
+
},
|
|
110
113
|
preparePipelineState() {
|
|
111
114
|
wasmUtil.getPipelineState();
|
|
112
115
|
}
|
|
@@ -237,6 +240,9 @@ function createDeepsightService(config) {
|
|
|
237
240
|
getAnalysisStatus() {
|
|
238
241
|
return metadata.getCheck();
|
|
239
242
|
},
|
|
243
|
+
getPipelineState() {
|
|
244
|
+
return metadata.getPipelineState();
|
|
245
|
+
},
|
|
240
246
|
cleanup() {
|
|
241
247
|
motion.stop();
|
|
242
248
|
}
|
|
@@ -301,6 +301,7 @@ type MetadataService = {
|
|
|
301
301
|
estimatePerformance(): string;
|
|
302
302
|
getMetadata(): string;
|
|
303
303
|
getCheck(): string;
|
|
304
|
+
getPipelineState(): string;
|
|
304
305
|
/**
|
|
305
306
|
* Prepares pipeline state for metadata collection.
|
|
306
307
|
* Must be called before setMotionStatus, getCheck, setBackgroundMode, and getMetadata.
|
|
@@ -344,6 +345,7 @@ type DeepsightService = {
|
|
|
344
345
|
getMetadata(): string;
|
|
345
346
|
getMotionStatus(): string;
|
|
346
347
|
getAnalysisStatus(): string;
|
|
348
|
+
getPipelineState(): string;
|
|
347
349
|
cleanup(): void;
|
|
348
350
|
};
|
|
349
351
|
type DeepsightPrcCheckParams = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as getBackCameraStream } from "./backCameraStream-
|
|
3
|
-
import { A as createManager, k as stopCameraStream } from "./src-
|
|
1
|
+
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-DzHYCTUI.esm.js";
|
|
2
|
+
import { t as getBackCameraStream } from "./backCameraStream-BPxNH3Pg.esm.js";
|
|
3
|
+
import { A as createManager, k as stopCameraStream } from "./src-Cmpz4Jmw.esm.js";
|
|
4
4
|
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-Bydn-Ave.esm.js";
|
|
6
6
|
|
|
@@ -355,9 +355,10 @@ function mapState(snapshot) {
|
|
|
355
355
|
pageNumber: 1
|
|
356
356
|
};
|
|
357
357
|
}
|
|
358
|
-
function createApi({ actor }) {
|
|
358
|
+
function createApi({ actor, trackElementClicked }) {
|
|
359
359
|
return {
|
|
360
360
|
capture() {
|
|
361
|
+
trackElementClicked?.("capture");
|
|
361
362
|
actor.send({ type: "CAPTURE" });
|
|
362
363
|
},
|
|
363
364
|
setFile(file, imageBase64) {
|
|
@@ -369,21 +370,27 @@ function createApi({ actor }) {
|
|
|
369
370
|
});
|
|
370
371
|
},
|
|
371
372
|
accept() {
|
|
373
|
+
trackElementClicked?.("accept");
|
|
372
374
|
actor.send({ type: "ACCEPT" });
|
|
373
375
|
},
|
|
374
376
|
retake() {
|
|
377
|
+
trackElementClicked?.("retake");
|
|
375
378
|
actor.send({ type: "RETAKE" });
|
|
376
379
|
},
|
|
377
380
|
retry() {
|
|
381
|
+
trackElementClicked?.("retry");
|
|
378
382
|
actor.send({ type: "RETRY" });
|
|
379
383
|
},
|
|
380
384
|
continue() {
|
|
385
|
+
trackElementClicked?.("continue");
|
|
381
386
|
actor.send({ type: "CONTINUE" });
|
|
382
387
|
},
|
|
383
388
|
skip() {
|
|
389
|
+
trackElementClicked?.("skip");
|
|
384
390
|
actor.send({ type: "SKIP" });
|
|
385
391
|
},
|
|
386
392
|
close() {
|
|
393
|
+
trackElementClicked?.("close");
|
|
387
394
|
actor.send({ type: "CLOSE" });
|
|
388
395
|
}
|
|
389
396
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as getBackCameraStream } from "./backCameraStream-
|
|
3
|
-
import { A as createManager, k as stopCameraStream } from "./src-
|
|
1
|
+
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-DzHYCTUI.esm.js";
|
|
2
|
+
import { t as getBackCameraStream } from "./backCameraStream-BPxNH3Pg.esm.js";
|
|
3
|
+
import { A as createManager, k as stopCameraStream } from "./src-Cmpz4Jmw.esm.js";
|
|
4
4
|
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-Bydn-Ave.esm.js";
|
|
6
6
|
|
|
@@ -164,21 +164,24 @@ function mapState(snapshot) {
|
|
|
164
164
|
if (typedSnapshot.matches("closed")) return { status: "closed" };
|
|
165
165
|
return { status: "initializing" };
|
|
166
166
|
}
|
|
167
|
-
function createApi({ actor }) {
|
|
167
|
+
function createApi({ actor, trackElementClicked }) {
|
|
168
168
|
return {
|
|
169
169
|
load() {
|
|
170
170
|
actor.send({ type: "START" });
|
|
171
171
|
},
|
|
172
172
|
capture(imageBase64) {
|
|
173
|
+
trackElementClicked?.("capture");
|
|
173
174
|
actor.send({
|
|
174
175
|
type: "CAPTURE",
|
|
175
176
|
imageBase64
|
|
176
177
|
});
|
|
177
178
|
},
|
|
178
179
|
retry() {
|
|
180
|
+
trackElementClicked?.("retry");
|
|
179
181
|
actor.send({ type: "RETRY" });
|
|
180
182
|
},
|
|
181
183
|
close() {
|
|
184
|
+
trackElementClicked?.("close");
|
|
182
185
|
actor.send({ type: "CLOSE" });
|
|
183
186
|
}
|
|
184
187
|
};
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as createManager } from "./src-
|
|
1
|
+
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-DzHYCTUI.esm.js";
|
|
2
|
+
import { A as createManager } from "./src-Cmpz4Jmw.esm.js";
|
|
3
3
|
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-Bydn-Ave.esm.js";
|
|
5
|
-
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-
|
|
5
|
+
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-BBIa1heY.esm.js";
|
|
6
6
|
import { t as getFlow } from "./flowServices-Cc1HxYIC.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/ekyb/ekybConstants.ts
|
|
@@ -687,7 +687,7 @@ function mapState(snapshot) {
|
|
|
687
687
|
if (typedSnapshot.matches("closed")) return { status: "closed" };
|
|
688
688
|
return { status: "loading" };
|
|
689
689
|
}
|
|
690
|
-
function createApi({ actor }) {
|
|
690
|
+
function createApi({ actor, trackElementClicked }) {
|
|
691
691
|
return {
|
|
692
692
|
load() {
|
|
693
693
|
actor.send({ type: "LOAD" });
|
|
@@ -706,9 +706,11 @@ function createApi({ actor }) {
|
|
|
706
706
|
});
|
|
707
707
|
},
|
|
708
708
|
addUbo() {
|
|
709
|
+
trackElementClicked?.("addUbo");
|
|
709
710
|
actor.send({ type: "ADD_UBO" });
|
|
710
711
|
},
|
|
711
712
|
removeUbo(index) {
|
|
713
|
+
trackElementClicked?.(`removeUbo.${index}`);
|
|
712
714
|
actor.send({
|
|
713
715
|
type: "REMOVE_UBO",
|
|
714
716
|
index
|
|
@@ -735,12 +737,15 @@ function createApi({ actor }) {
|
|
|
735
737
|
});
|
|
736
738
|
},
|
|
737
739
|
submit() {
|
|
740
|
+
trackElementClicked?.("submit");
|
|
738
741
|
actor.send({ type: "SUBMIT" });
|
|
739
742
|
},
|
|
740
743
|
retry() {
|
|
744
|
+
trackElementClicked?.("retry");
|
|
741
745
|
actor.send({ type: "RETRY" });
|
|
742
746
|
},
|
|
743
747
|
close() {
|
|
748
|
+
trackElementClicked?.("close");
|
|
744
749
|
actor.send({ type: "CLOSE" });
|
|
745
750
|
}
|
|
746
751
|
};
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as createManager } from "./src-
|
|
1
|
+
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-DzHYCTUI.esm.js";
|
|
2
|
+
import { A as createManager } from "./src-Cmpz4Jmw.esm.js";
|
|
3
3
|
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-Bydn-Ave.esm.js";
|
|
5
|
-
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-
|
|
5
|
+
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-BBIa1heY.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/metadata.min.json.js
|
|
8
8
|
var metadata_min_json_default = {
|
|
@@ -10560,7 +10560,7 @@ function mapState(snapshot) {
|
|
|
10560
10560
|
if (typedSnapshot.matches("closed")) return { status: "closed" };
|
|
10561
10561
|
return { status: "loading" };
|
|
10562
10562
|
}
|
|
10563
|
-
function createApi({ actor }) {
|
|
10563
|
+
function createApi({ actor, trackElementClicked }) {
|
|
10564
10564
|
return {
|
|
10565
10565
|
load() {
|
|
10566
10566
|
actor.send({ type: "LOAD" });
|
|
@@ -10585,15 +10585,19 @@ function createApi({ actor }) {
|
|
|
10585
10585
|
});
|
|
10586
10586
|
},
|
|
10587
10587
|
submit() {
|
|
10588
|
+
trackElementClicked?.("submit");
|
|
10588
10589
|
actor.send({ type: "SUBMIT" });
|
|
10589
10590
|
},
|
|
10590
10591
|
retry() {
|
|
10592
|
+
trackElementClicked?.("retry");
|
|
10591
10593
|
actor.send({ type: "RETRY" });
|
|
10592
10594
|
},
|
|
10593
10595
|
skip() {
|
|
10596
|
+
trackElementClicked?.("skip");
|
|
10594
10597
|
actor.send({ type: "SKIP" });
|
|
10595
10598
|
},
|
|
10596
10599
|
close() {
|
|
10600
|
+
trackElementClicked?.("close");
|
|
10597
10601
|
actor.send({ type: "CLOSE" });
|
|
10598
10602
|
}
|
|
10599
10603
|
};
|
package/dist/email.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./events-
|
|
2
|
-
import "./src-
|
|
1
|
+
import "./events-DzHYCTUI.esm.js";
|
|
2
|
+
import "./src-Cmpz4Jmw.esm.js";
|
|
3
3
|
import "./api-3fZO5bmj.esm.js";
|
|
4
4
|
import "./endpoints-Bydn-Ave.esm.js";
|
|
5
|
-
import { r as emailMachine, t as createEmailManager } from "./emailManager-
|
|
5
|
+
import { r as emailMachine, t as createEmailManager } from "./emailManager-OpJLWD9-.esm.js";
|
|
6
6
|
|
|
7
7
|
export { createEmailManager, emailMachine };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as createManager, g as BrowserTimerProvider } from "./src-
|
|
1
|
+
import { S as createActor, b as fromCallback, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-DzHYCTUI.esm.js";
|
|
2
|
+
import { A as createManager, g as BrowserTimerProvider } from "./src-Cmpz4Jmw.esm.js";
|
|
3
3
|
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-Bydn-Ave.esm.js";
|
|
5
5
|
|
|
@@ -377,7 +377,7 @@ function mapState(snapshot) {
|
|
|
377
377
|
};
|
|
378
378
|
return { status: "idle" };
|
|
379
379
|
}
|
|
380
|
-
function createApi({ actor }) {
|
|
380
|
+
function createApi({ actor, trackElementClicked }) {
|
|
381
381
|
return {
|
|
382
382
|
load() {
|
|
383
383
|
actor.send({ type: "LOAD" });
|
|
@@ -390,6 +390,7 @@ function createApi({ actor }) {
|
|
|
390
390
|
});
|
|
391
391
|
},
|
|
392
392
|
submit() {
|
|
393
|
+
trackElementClicked?.("submit");
|
|
393
394
|
actor.send({ type: "SUBMIT" });
|
|
394
395
|
},
|
|
395
396
|
setOtpCode(code) {
|
|
@@ -399,6 +400,7 @@ function createApi({ actor }) {
|
|
|
399
400
|
});
|
|
400
401
|
},
|
|
401
402
|
submitOtp(code) {
|
|
403
|
+
trackElementClicked?.("submitOtp");
|
|
402
404
|
actor.send({
|
|
403
405
|
type: "OTP_CHANGED",
|
|
404
406
|
code
|
|
@@ -406,9 +408,11 @@ function createApi({ actor }) {
|
|
|
406
408
|
actor.send({ type: "VERIFY_OTP" });
|
|
407
409
|
},
|
|
408
410
|
resendOtp() {
|
|
411
|
+
trackElementClicked?.("resendOtp");
|
|
409
412
|
actor.send({ type: "RESEND_OTP" });
|
|
410
413
|
},
|
|
411
414
|
back() {
|
|
415
|
+
trackElementClicked?.("back");
|
|
412
416
|
actor.send({ type: "BACK" });
|
|
413
417
|
},
|
|
414
418
|
reset() {
|
|
@@ -3386,6 +3386,22 @@ function errorTriggered(module, screen, payload) {
|
|
|
3386
3386
|
payload
|
|
3387
3387
|
});
|
|
3388
3388
|
}
|
|
3389
|
+
function elementClicked(module, screen, payload) {
|
|
3390
|
+
screenEvent({
|
|
3391
|
+
module,
|
|
3392
|
+
screen,
|
|
3393
|
+
code: "elementClicked",
|
|
3394
|
+
payload
|
|
3395
|
+
});
|
|
3396
|
+
}
|
|
3397
|
+
function captureAttemptFinished(module, screen, payload) {
|
|
3398
|
+
screenEvent({
|
|
3399
|
+
module,
|
|
3400
|
+
screen,
|
|
3401
|
+
code: "captureAttemptFinished",
|
|
3402
|
+
payload
|
|
3403
|
+
});
|
|
3404
|
+
}
|
|
3389
3405
|
|
|
3390
3406
|
//#endregion
|
|
3391
3407
|
//#region src/internal/events/managerInstrumentation.ts
|
|
@@ -3428,6 +3444,11 @@ function buildScreenName(moduleName, screenName) {
|
|
|
3428
3444
|
function getDefaultManagerScreenName(snapshot) {
|
|
3429
3445
|
return stateValueToScreenSegment(snapshot.value);
|
|
3430
3446
|
}
|
|
3447
|
+
function getManagerScreenName(moduleName, snapshot, options) {
|
|
3448
|
+
const mappedScreen = options?.getScreenName?.(snapshot) ?? getDefaultManagerScreenName(snapshot);
|
|
3449
|
+
if (mappedScreen === void 0) return;
|
|
3450
|
+
return buildScreenName(moduleName, mappedScreen);
|
|
3451
|
+
}
|
|
3431
3452
|
function isErrorLikeSegment(segment) {
|
|
3432
3453
|
return segment === "error" || segment.includes("error") || segment.includes("failed") || segment.includes("failure");
|
|
3433
3454
|
}
|
|
@@ -3448,11 +3469,9 @@ function createManagerInstrumentation(moduleName, options) {
|
|
|
3448
3469
|
onScreenOpened: screenOpened,
|
|
3449
3470
|
onScreenClosed: screenClosed,
|
|
3450
3471
|
onErrorTriggered: errorTriggered,
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
return buildScreenName(moduleName, mappedScreen);
|
|
3455
|
-
},
|
|
3472
|
+
onElementClicked: (moduleName$1, screenName, payload) => elementClicked(moduleName$1, screenName, payload),
|
|
3473
|
+
onCaptureAttemptFinished: (moduleName$1, screenName, payload) => captureAttemptFinished(moduleName$1, screenName, payload),
|
|
3474
|
+
getScreenName: (snapshot) => getManagerScreenName(moduleName, snapshot, { getScreenName: options?.getScreenName }),
|
|
3456
3475
|
getErrorName: (snapshot) => {
|
|
3457
3476
|
const mappedError = options?.getErrorName?.(snapshot) ?? getDefaultManagerErrorName(snapshot);
|
|
3458
3477
|
if (mappedError === void 0) return;
|
|
@@ -3629,4 +3648,4 @@ const cameraScreenNamesMapper = {
|
|
|
3629
3648
|
};
|
|
3630
3649
|
|
|
3631
3650
|
//#endregion
|
|
3632
|
-
export {
|
|
3651
|
+
export { revokeObjectURL as C, createActor as S, subscribeEvent as _, videoSelfieEvents as a, fromCallback as b, captureAttemptFinished as c, moduleOpened as d, screenClosed as f, flushEventQueue as g, addEvent as h, tutorialScreenNamesMapper as i, elementClicked as l, screenOpened as m, eventModuleNames as n, createManagerInstrumentation as o, screenEvent as p, eventScreenNames as r, getDefaultManagerScreenName as s, cameraScreenNamesMapper as t, moduleClosed as u, setup as v, fromPromise as x, assign as y };
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureState, t as IdCaptureManager } from "./idCaptureManager-
|
|
2
|
-
import { a as IStorageCapability } from "./deepsightService-
|
|
3
|
-
import { C as WasmUtilConfig, S as VirtualCameraCheckOutput, b as BaseWasmProvider, c as FaceCaptureEvent, f as SendFaceImageResponse, l as FaceCaptureInput, n as FaceCaptureManagerState, s as FaceCaptureContext, t as FaceCaptureManager, u as faceCaptureMachine, x as IWasmUtilCapability } from "./faceCaptureManagerFactory-
|
|
1
|
+
import { S as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureState, t as IdCaptureManager } from "./idCaptureManager-Ih_zvBCr.js";
|
|
2
|
+
import { a as IStorageCapability } from "./deepsightService-foKxxo3y.js";
|
|
3
|
+
import { C as WasmUtilConfig, S as VirtualCameraCheckOutput, b as BaseWasmProvider, c as FaceCaptureEvent, f as SendFaceImageResponse, l as FaceCaptureInput, n as FaceCaptureManagerState, s as FaceCaptureContext, t as FaceCaptureManager, u as faceCaptureMachine, x as IWasmUtilCapability } from "./faceCaptureManagerFactory-Bavynz5Q.js";
|
|
4
4
|
import "./warmup-DoQLFT3z.js";
|
|
5
5
|
import "./Manager-CVDYGoSq.js";
|
|
6
6
|
import "./camera-CVBwqx-j.js";
|
|
@@ -8,8 +8,8 @@ import { n as createActor } from "./Actor-D6rhGxJy.js";
|
|
|
8
8
|
import { r as fromPromise } from "./StateMachine-BqtRw_hz.js";
|
|
9
9
|
import "./types-CHzupruc.js";
|
|
10
10
|
import "./types-DSJflCEU.js";
|
|
11
|
-
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-
|
|
12
|
-
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-
|
|
11
|
+
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-uSCpF37G.js";
|
|
12
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-DZFI79F5.js";
|
|
13
13
|
import { i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-lUXVfa0R.js";
|
|
14
14
|
import { i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-pTIOvlCD.js";
|
|
15
15
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./backCameraStream-
|
|
3
|
-
import { _ as BrowserStorageProvider, a as WasmUtilProvider } from "./src-
|
|
4
|
-
import "./recordingsRepository-
|
|
5
|
-
import "./deepsightService-
|
|
1
|
+
import { S as createActor, x as fromPromise } from "./events-DzHYCTUI.esm.js";
|
|
2
|
+
import "./backCameraStream-BPxNH3Pg.esm.js";
|
|
3
|
+
import { _ as BrowserStorageProvider, a as WasmUtilProvider } from "./src-Cmpz4Jmw.esm.js";
|
|
4
|
+
import "./recordingsRepository-DVPWOR9j.esm.js";
|
|
5
|
+
import "./deepsightService-DFek2Sxh.esm.js";
|
|
6
6
|
import "./api-3fZO5bmj.esm.js";
|
|
7
7
|
import "./endpoints-Bydn-Ave.esm.js";
|
|
8
|
-
import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
8
|
+
import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-DPzinE1o.esm.js";
|
|
9
9
|
import "./stats-D76Thmqp.esm.js";
|
|
10
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
11
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
12
|
-
import { n as createEmailManagerFromActor } from "./emailManager-
|
|
13
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
14
|
-
import { n as createPhoneManagerFromActor } from "./phoneManager-
|
|
10
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-BOmXn1op.esm.js";
|
|
11
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-h6dB_vib.esm.js";
|
|
12
|
+
import { n as createEmailManagerFromActor } from "./emailManager-OpJLWD9-.esm.js";
|
|
13
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-DT0oJmpD.esm.js";
|
|
14
|
+
import { n as createPhoneManagerFromActor } from "./phoneManager-BwBW-tRA.esm.js";
|
|
15
15
|
|
|
16
16
|
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAuthenticationManagerFromActor, createEmailManagerFromActor, createIdCaptureManagerFromActor, createPhoneManagerFromActor, createSelfieManagerFromActor, faceCaptureMachine, fromPromise };
|
package/dist/face-match.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as createManager } from "./src-
|
|
1
|
+
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-DzHYCTUI.esm.js";
|
|
2
|
+
import { A as createManager } from "./src-Cmpz4Jmw.esm.js";
|
|
3
3
|
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-Bydn-Ave.esm.js";
|
|
5
5
|
|
|
@@ -230,7 +230,7 @@ function mapState(snapshot) {
|
|
|
230
230
|
};
|
|
231
231
|
return { status: "idle" };
|
|
232
232
|
}
|
|
233
|
-
function createApi({ actor }) {
|
|
233
|
+
function createApi({ actor, trackElementClicked }) {
|
|
234
234
|
return {
|
|
235
235
|
load() {
|
|
236
236
|
actor.send({ type: "LOAD" });
|
|
@@ -239,6 +239,7 @@ function createApi({ actor }) {
|
|
|
239
239
|
actor.send({ type: "ANIMATION_COMPLETE" });
|
|
240
240
|
},
|
|
241
241
|
continue() {
|
|
242
|
+
trackElementClicked?.("continue");
|
|
242
243
|
actor.send({ type: "CONTINUE" });
|
|
243
244
|
},
|
|
244
245
|
reset() {
|
package/dist/{faceCaptureManagerFactory-BulU7xFu.d.ts → faceCaptureManagerFactory-Bavynz5Q.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as IStorageCapability, d as IncodeCanvas, i as StreamCanvasCapture, l as IMLProviderCapability, n as PermissionResult, o as IRecordingCapability, r as PermissionStatus, t as DeepsightService, u as MLProviderConfig } from "./deepsightService-
|
|
1
|
+
import { a as IStorageCapability, d as IncodeCanvas, i as StreamCanvasCapture, l as IMLProviderCapability, n as PermissionResult, o as IRecordingCapability, r as PermissionStatus, t as DeepsightService, u as MLProviderConfig } from "./deepsightService-foKxxo3y.js";
|
|
2
2
|
import { n as WasmPipeline } from "./warmup-DoQLFT3z.js";
|
|
3
3
|
import { t as Manager } from "./Manager-CVDYGoSq.js";
|
|
4
4
|
import { t as CameraStream } from "./camera-CVBwqx-j.js";
|
|
@@ -329,6 +329,9 @@ type BaseFaceCaptureConfig = {
|
|
|
329
329
|
type FaceCaptureDependencies = {
|
|
330
330
|
storage: IStorageCapability;
|
|
331
331
|
getWasmUtil: () => Promise<IWasmUtilCapability>;
|
|
332
|
+
trackCaptureAttemptFinished?: (payload: {
|
|
333
|
+
logs: string;
|
|
334
|
+
}) => void;
|
|
332
335
|
};
|
|
333
336
|
type DetectionStatus = 'idle' | 'detecting' | 'noFace' | 'tooManyFaces' | 'tooClose' | 'tooFar' | 'blur' | 'dark' | 'faceAngle' | 'headWear' | 'lenses' | 'eyesClosed' | 'faceMask' | 'centerFace' | 'manualCapture' | 'success' | 'error' | 'capturing' | 'getReady' | 'getReadyFinished' | 'offline';
|
|
334
337
|
declare const FACE_ERROR_CODES: {
|