@incodetech/core 2.3.0-rc.0 → 2.3.0-rc.10
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/{BrowserDiagnosticsCryptoProvider-C_9o3L2L.esm.js → BrowserDiagnosticsCryptoProvider-BuzqvbhN.esm.js} +6 -24
- package/dist/{FaceDetectionProvider-DTetAE8H.esm.js → FaceDetectionProvider-BZYHujqz.esm.js} +10 -55
- package/dist/{IWasmUtilCapability-CXXDA5l1.d.ts → IWasmUtilCapability-CNWRl7jr.d.ts} +1 -43
- package/dist/{MotionSensorProvider-BgTYwg9L.esm.js → MotionSensorProvider-DyhbM4Si.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-B3YT2Bt6.d.ts → StreamCanvasCapture-_8gdW5Lk.d.ts} +1 -1
- package/dist/{addressSearch-BRSu_aGA.esm.js → addressSearch-DyHGgeX8.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-Bg9ynGum.esm.js → antifraudManager-DNkw66oW.esm.js} +1 -1
- package/dist/{antifraudStateMachine-BHxehiJZ.esm.js → antifraudStateMachine-DBeq47D2.esm.js} +1 -1
- package/dist/{apiError-D0v5hFyN.esm.js → apiError-iTFZ5fiI.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DXTIUcma.d.ts → authenticationManager-B23V74p7.d.ts} +1 -1
- package/dist/{authenticationManager-C4B4-29g.esm.js → authenticationManager-D22ju23T.esm.js} +4 -4
- package/dist/{authenticationStateMachine-DJ0zUm-A.esm.js → authenticationStateMachine-TyFaCegB.esm.js} +3 -3
- package/dist/{backCameraStream-BOtyQowf.esm.js → backCameraStream-B0-YgP_y.esm.js} +1 -0
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-Bfvkq7Cy.esm.js → certificateIssuanceManager-C3-CI0_s.esm.js} +1 -1
- package/dist/{certificateIssuanceStateMachine-BBD5h8c4.esm.js → certificateIssuanceStateMachine-CxqS_nD-.esm.js} +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-B5Vqdez-.esm.js → consentManager-B6E1XJDw.esm.js} +1 -1
- package/dist/{consentStateMachine-DbUmqWgV.esm.js → consentStateMachine-DTSfdGiW.esm.js} +1 -1
- package/dist/{createCameraCycleOwnership-DQ5-F2oW.esm.js → createCameraCycleOwnership-DnwTl1ad.esm.js} +7 -2
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-QMOGwHXR.esm.js → crossDocumentDataMatchManager-9XhFVZ5S.esm.js} +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-D1ppROcF.esm.js → curpValidationManager-DbIMYFcJ.esm.js} +1 -1
- package/dist/{curpValidationStateMachine-DvUPC_8S.esm.js → curpValidationStateMachine-g5kMfuLj.esm.js} +1 -1
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-2j_PBq4U.esm.js → customFieldsManager-CzWZTkW-.esm.js} +1 -1
- package/dist/{customWatchlistManager-DUVrEdw9.esm.js → customWatchlistManager-DWTED5Ur.esm.js} +1 -1
- package/dist/{customWatchlistStateMachine-qZVgkKgP.esm.js → customWatchlistStateMachine-DOQou6TW.esm.js} +1 -1
- package/dist/{deepsightLoader-Dm7ejW4v.esm.js → deepsightLoader-DamOBrBJ.esm.js} +7 -7
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-DR_Wv-3H.esm.js → documentCaptureManager-BRPxqYD2.esm.js} +1 -1
- package/dist/{documentCaptureManager-DensIj5F.d.ts → documentCaptureManager-lEtCM320.d.ts} +14 -0
- package/dist/{documentCaptureStateMachine-CWOATHfE.esm.js → documentCaptureStateMachine-D312sSIu.esm.js} +14 -9
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-Dt98SDfV.esm.js → dynamicFormsManager-DKgiusbF.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-obKr4IIp.esm.js → dynamicFormsStateMachine-BV8yR5iN.esm.js} +2 -2
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-DNZKrKF3.esm.js → ekybManager-8VUBu8VW.esm.js} +1 -1
- package/dist/{ekybStateMachine-DjhHQXZ8.esm.js → ekybStateMachine-Bnsefu9M.esm.js} +3 -3
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-CmQBpeiI.esm.js → ekycManager-BlQ-Qj4E.esm.js} +1 -1
- package/dist/{ekycStateMachine-CmdW2gVm.esm.js → ekycStateMachine-CshSNJhh.esm.js} +2 -2
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-DzulxM4_.esm.js → electronicSignatureManager--YFXVldr.esm.js} +2 -2
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-B5ek_UfM.esm.js → emailManager-bR1N5rV_.esm.js} +1 -1
- package/dist/{emailStateMachine-CyPFZ7dW.esm.js → emailStateMachine-Bc_6oIYw.esm.js} +1 -1
- package/dist/{endpoints-D3B9mUHh.esm.js → endpoints-B-3Q-LUw.esm.js} +0 -3
- package/dist/extensibility.d.ts +9 -9
- package/dist/extensibility.esm.js +34 -34
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-pCmG4MeF.esm.js → faceCaptureManagerFactory-Bk6pVs6E.esm.js} +3 -3
- package/dist/{faceCaptureManagerFactory-CvtqcLxs.d.ts → faceCaptureManagerFactory-DMLstvui.d.ts} +84 -45
- package/dist/{faceCaptureSetup-BSextack.esm.js → faceCaptureSetup-CGQDK97m.esm.js} +283 -100
- package/dist/{faceMatchManager-Caal2zyV.esm.js → faceMatchManager-Bmv0HzuY.esm.js} +1 -1
- package/dist/{faceMatchStateMachine-BUc5FXYy.esm.js → faceMatchStateMachine-mRIHQ3dA.esm.js} +1 -1
- package/dist/{feature-management-B0sGlozZ.esm.js → feature-management-C8OAO_CZ.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-BIs6HPJG.esm.js → fieldComparisonManager-CC-klG0h.esm.js} +1 -1
- package/dist/fiscal-qr.d.ts +1 -1
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-CHcBJwUM.d.ts → fiscalQrManager-B1STmT6z.d.ts} +4 -1
- package/dist/{fiscalQrManager-Bp_-3LJr.esm.js → fiscalQrManager-DbCVMIBx.esm.js} +17 -5
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-CLtbWhSK.esm.js → flowCompletionService-C0zcPnqK.esm.js} +2 -2
- package/dist/{flowServices-B5FwukTQ.esm.js → flowServices-G1FDrkLd.esm.js} +6 -6
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-DIw-xq9a.esm.js → geolocationManager-DNixQOgf.esm.js} +1 -1
- package/dist/{geolocationStateMachine-DpG0TFOU.esm.js → geolocationStateMachine-D1aZJ6eR.esm.js} +2 -2
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-TjC9iVjH.esm.js → governmentValidationManager-CacFOtKO.esm.js} +1 -1
- package/dist/{governmentValidationStateMachine-D1ZnEqdd.esm.js → governmentValidationStateMachine-CoaZOSTP.esm.js} +1 -1
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +10 -10
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +4 -4
- package/dist/{idCaptureDefaults-BcxjQDI3.esm.js → idCaptureDefaults-sJahGQgV.esm.js} +4 -206
- package/dist/{idCaptureManager-Vby8oYqh.esm.js → idCaptureManager-B8lo-ksK.esm.js} +5 -5
- package/dist/{idCaptureManager-CvmHOWWd.d.ts → idCaptureManager-BaHEyQyr.d.ts} +33 -16
- package/dist/{idCaptureServices-CJIxD9ep.esm.js → idCaptureServices-DLqls7Xv.esm.js} +71 -122
- package/dist/{idCaptureStateMachine-CmqihkUy.esm.js → idCaptureStateMachine-CCPGFPRF.esm.js} +226 -91
- package/dist/{idOcrManager-DHU22hVn.esm.js → idOcrManager-r46XfZGE.esm.js} +1 -1
- package/dist/{idOcrStateMachine-33UvRAHE.esm.js → idOcrStateMachine-ClDEP-VI.esm.js} +1 -1
- package/dist/{idVerificationManager-CyaixD0D.esm.js → idVerificationManager-DT42c77H.esm.js} +1 -1
- package/dist/{idVerificationStateMachine-BPGrQZEm.esm.js → idVerificationStateMachine-DbDVIh9t.esm.js} +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-CWaNHBO3.esm.js → identityReuseManager-yG3acUrQ.esm.js} +1 -1
- package/dist/{identityReuseStateMachine-CQgnATo5.esm.js → identityReuseStateMachine-BhAkuIra.esm.js} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-Du-m-tZ_.esm.js → mandatoryConsentManager-7dI0D08q.esm.js} +1 -1
- package/dist/{mandatoryConsentStateMachine-DSDAk7WZ.esm.js → mandatoryConsentStateMachine-DC5Mo6M1.esm.js} +1 -1
- package/dist/{multipartRecordingService-B3C_zlev.esm.js → multipartRecordingService-YKu0Bd7S.esm.js} +496 -3
- package/dist/{permissionGuards-uYZYFu4J.esm.js → permissionGuards-D6TfVop2.esm.js} +1 -1
- package/dist/{permissionServices-Bj_fyWtv.esm.js → permissionServices-EY3_Vx6c.esm.js} +2 -2
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-N1-sbrY4.esm.js → phoneManager-IjhSv5XS.esm.js} +1 -1
- package/dist/{phoneStateMachine-jl8LJKCo.esm.js → phoneStateMachine-CXdXufKg.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-DsFzdTwA.esm.js → redirectToMobileManager-FLEWJtv8.esm.js} +1 -1
- package/dist/{redirectToMobileStateMachine-v3otpT-L.esm.js → redirectToMobileStateMachine-CSWWgUTO.esm.js} +1 -1
- package/dist/{runChildModule-TuyGE00X.esm.js → runChildModule-B3Z4iJnG.esm.js} +1 -1
- package/dist/{safeStorage-B-trhxg6.esm.js → safeStorage-BdU9_m2E.esm.js} +1 -1
- package/dist/{sdkVersion-CLxKvdyz.esm.js → sdkVersion-CD9fJC2Y.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +8 -8
- package/dist/{selfieErrorUtils-C77GXJH6.esm.js → selfieErrorUtils-UiQ46EBa.esm.js} +2 -2
- package/dist/{selfieManager-D1KRJ39M.d.ts → selfieManager-CDCTOrcg.d.ts} +1 -1
- package/dist/{selfieManager-CihVnODO.esm.js → selfieManager-DzOPNipB.esm.js} +4 -4
- package/dist/{selfieStateMachine-fwMmNtOi.esm.js → selfieStateMachine-CidiobBW.esm.js} +4 -4
- package/dist/{session-BHIeAamR.esm.js → session-BABCfUhC.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-BLoK7SP9.esm.js → sessionInitializer-BK5NjMe0.esm.js} +6 -6
- package/dist/{setup-Cv-JM9QC.d.ts → setup-Cyko6cAn.d.ts} +6 -18
- package/dist/{setup-msLybMbC.esm.js → setup-D4YCSH31.esm.js} +14 -202
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-ChsB-nMD.esm.js → signatureManager-B72np4ZO.esm.js} +1 -1
- package/dist/{signatureStateMachine-BHPwkJZS.esm.js → signatureStateMachine-ce_XMA3l.esm.js} +1 -1
- package/dist/{stats-DkK-f8JT.esm.js → stats-CZcy2J53.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/{tri-4RsGrIt6.esm.js → tri-xzRLIIMN.esm.js} +0 -10
- package/dist/tri.esm.js +1 -1
- package/dist/{trueSightService-CKrrfV0Q.esm.js → trueSightService-D8yZwF3G.esm.js} +190 -571
- package/dist/{types-CM-jtjJ2.d.ts → types-Bnl58jUQ.d.ts} +2 -6
- package/dist/{types-ZT1XFIJ8.d.ts → types-ChAowIxT.d.ts} +1 -1
- package/dist/{types-CjKBS37a2.d.ts → types-byBHOzCG2.d.ts} +5 -15
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +6 -7
- package/dist/{videoSelfieCameraWarmer-CB1IzZkt.esm.js → videoSelfieCameraWarmer-C80ZPDZ8.esm.js} +8 -8
- package/dist/{videoSelfieStepDetector-5YHFe0Mq.d.ts → videoSelfieStepDetector-Co0Gu2k2.d.ts} +43 -13
- package/dist/{virtualCameraCheck-WOloJ-do.esm.js → virtualCameraCheck-Cjab7FTI.esm.js} +1 -1
- package/dist/{warmup-CUUnwYxe.esm.js → warmup-ChDwHSel.esm.js} +5 -0
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +3 -2
- package/dist/{wasmDsFlagSync-B2e8p268.esm.js → wasmDsFlagSync-DYrLUEII.esm.js} +1 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-CpuuB1J2.esm.js → watchlistForBusinessManager-CIMkpEhu.esm.js} +1 -1
- package/dist/{watchlistForBusinessStateMachine-DEzgjz7C.esm.js → watchlistForBusinessStateMachine-CJ-MvUre.esm.js} +1 -1
- package/dist/{watchlistManager-CI8BHFob.esm.js → watchlistManager-CixcLNDT.esm.js} +1 -1
- package/dist/{watchlistStateMachine-DvOby3a-.esm.js → watchlistStateMachine-CBqk2w-h.esm.js} +1 -1
- package/dist/workflow.esm.js +34 -34
- package/package.json +1 -6
- package/dist/FaceDetectionProvider-LdZ47bWy.d.ts +0 -36
- package/dist/personhood.d.ts +0 -538
- package/dist/personhood.esm.js +0 -1574
- package/dist/recordingsRepository-CCWy13M-.esm.js +0 -72
- package/dist/types-BT_Oalip.d.ts +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as AvatarAssetsOverrides } from "./createFaceAvatar-BlcTYgJv.js";
|
|
2
2
|
import { n as Flow, s as SelfieConcealmentOption } from "./types-Do5rEXij.js";
|
|
3
|
-
import {
|
|
3
|
+
import { i as IStorageCapability, t as IWasmUtilCapability } from "./IWasmUtilCapability-CNWRl7jr.js";
|
|
4
4
|
//#region src/internal/faceCapture/types.d.ts
|
|
5
5
|
type CameraResolution = {
|
|
6
6
|
width?: number;
|
|
@@ -18,8 +18,7 @@ type FaceCapturedImageData = {
|
|
|
18
18
|
/**
|
|
19
19
|
* Populated when local video recording is active
|
|
20
20
|
* (`enableFaceRecording === true` with `LocalRecordingService`).
|
|
21
|
-
* `undefined` when video recording is disabled
|
|
22
|
-
* an injected remote recorder, or when video assembly fails.
|
|
21
|
+
* `undefined` when video recording is disabled or video assembly fails.
|
|
23
22
|
*
|
|
24
23
|
* Delivered as raw base64 (not encrypted via WASM `ens()` like the regular
|
|
25
24
|
* flow). Integrators receiving this are responsible for handling it as
|
|
@@ -49,9 +48,6 @@ type BaseFaceCaptureConfig = {
|
|
|
49
48
|
deepsightLiveness?: 'SINGLE_FRAME' | 'MULTIMODAL' | 'VIDEOLIVENESS';
|
|
50
49
|
cameraResolution?: CameraResolution;
|
|
51
50
|
ageAssurance?: boolean;
|
|
52
|
-
recording?: {
|
|
53
|
-
capability?: IRecordingCapability;
|
|
54
|
-
};
|
|
55
51
|
ds?: Flow['ds'];
|
|
56
52
|
manualUploadSelfieCapture?: boolean;
|
|
57
53
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as FlowModuleConfig } from "./types-Do5rEXij.js";
|
|
2
|
-
import { t as BaseFaceCaptureConfig } from "./types-
|
|
2
|
+
import { t as BaseFaceCaptureConfig } from "./types-Bnl58jUQ.js";
|
|
3
3
|
//#region src/modules/authentication/types.d.ts
|
|
4
4
|
type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
|
|
5
5
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { y as IncodeCanvas } from "./createFaceAvatar-BlcTYgJv.js";
|
|
2
2
|
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-Do5rEXij.js";
|
|
3
|
-
import {
|
|
3
|
+
import { i as IStorageCapability } from "./IWasmUtilCapability-CNWRl7jr.js";
|
|
4
4
|
import { t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
5
|
-
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
5
|
+
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-_8gdW5Lk.js";
|
|
6
6
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
7
7
|
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-RNiFhvXR.js";
|
|
8
8
|
//#region ../infra/src/capabilities/IDigitalCredentialsCapability.d.ts
|
|
@@ -276,9 +276,6 @@ type IdCaptureDigitalIdMethod = {
|
|
|
276
276
|
displayName?: string;
|
|
277
277
|
};
|
|
278
278
|
type IdCaptureConfig = TutorialIdConfig & {
|
|
279
|
-
recording?: {
|
|
280
|
-
capability?: IRecordingCapability;
|
|
281
|
-
};
|
|
282
279
|
ageAssurance?: boolean;
|
|
283
280
|
mergeSessionRecordings?: boolean;
|
|
284
281
|
isDeepsightEnabled?: boolean;
|
|
@@ -479,14 +476,6 @@ type CaptureOnlyResponse = {
|
|
|
479
476
|
frontImage: IdCapturedImageData;
|
|
480
477
|
backImage: IdCapturedImageData | undefined;
|
|
481
478
|
};
|
|
482
|
-
type RecordingSession = {
|
|
483
|
-
token: string;
|
|
484
|
-
sessionId: string;
|
|
485
|
-
videoRecordingId: string;
|
|
486
|
-
connection: RecordingConnection;
|
|
487
|
-
resolution?: string;
|
|
488
|
-
hasAudio: boolean;
|
|
489
|
-
};
|
|
490
479
|
declare const ID_ERROR_CODES: {
|
|
491
480
|
readonly UPLOAD_ERROR: "UPLOAD_ERROR";
|
|
492
481
|
readonly CLASSIFICATION_FAILED: "CLASSIFICATION_FAILED";
|
|
@@ -570,7 +559,8 @@ type IdCaptureContext = {
|
|
|
570
559
|
* best-frame / front `success` shows its real captured image as usual).
|
|
571
560
|
*/
|
|
572
561
|
barcodeFastPathCaptured: boolean;
|
|
573
|
-
|
|
562
|
+
/** Opaque SDK-owned handle for the active multipart ID recording. */
|
|
563
|
+
recordingSession: object | undefined;
|
|
574
564
|
attemptsRemaining: number;
|
|
575
565
|
/**
|
|
576
566
|
* Number of consecutive `isDocumentExpired === true` upload responses for
|
|
@@ -932,4 +922,4 @@ type IdCaptureOutput = {
|
|
|
932
922
|
skipFaceMatch: boolean;
|
|
933
923
|
} | undefined;
|
|
934
924
|
//#endregion
|
|
935
|
-
export {
|
|
925
|
+
export { MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES as A, DeviceWalletProvider as B, IdDocumentType as C, UploadIdResponse as D, IdFlowStep as E, DeviceWalletDecision as F, DigitalIdPlatformSupport as G, DIGITAL_ID_REGISTRY as H, DeviceWalletDecryptResponse as I, resolveDigitalIdImplementation as J, ResolvedDigitalIdRoute as K, DeviceWalletFailReason as L, ManualUploadContext as M, ManualUploadSide as N, IAnalyticsCapability as O, ManualUploadTab as P, DeviceWalletOutput as R, IdCapturedImageData as S, IdErrorCode as T, DigitalIdDocumentType as U, DIGITAL_ID_DOCUMENT_TYPES as V, DigitalIdFunnelEntry as W, FailureReason as X, DigitalIdProviderId as Y, RedirectReturnParams as Z, IdCaptureInput as _, CaptureOnlyResponse as a, IdCaptureOutput as b, DetectionStatus as c, IdCaptureContext as d, IdCaptureDependencies as f, IdCaptureGeometry as g, IdCaptureEvent as h, CaptureIdResponse as i, MANUAL_UPLOAD_MAX_RETRIES as j, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS as k, ID_ERROR_CODES as l, IdCaptureDigitalIdMethod as m, AcceptedDocumentType as n, CapturedImage as o, IdCaptureDigitalIdFlowType as p, isRedirectFlowType as q, AddBarcodeV3Response as r, DetectionArea as s, AcceptedDocument as t, IdCaptureConfig as u, IdCaptureMode as v, IdError as w, IdCaptureThresholds as x, IdCaptureOnlyConfig as y, DeviceWalletPlatform as z };
|
package/dist/video-selfie.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import "./Actor-iTq7YY48.js";
|
|
|
5
5
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
6
6
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
7
7
|
import { t as DetectionOrientation } from "./IIdCaptureCapability-RNiFhvXR.js";
|
|
8
|
-
import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-
|
|
8
|
+
import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-Co0Gu2k2.js";
|
|
9
9
|
//#region ../infra/src/capabilities/ITimerCapability.d.ts
|
|
10
10
|
type TimerHandle = ReturnType<typeof setTimeout>;
|
|
11
11
|
type ITimerCapability = {
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { r as WasmUtilProvider } from "./safeStorage-BdU9_m2E.esm.js";
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-D4YCSH31.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
4
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
5
|
-
import { t as endpoints } from "./endpoints-
|
|
6
|
-
import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-
|
|
5
|
+
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
6
|
+
import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-G1FDrkLd.esm.js";
|
|
7
7
|
import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
9
9
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
10
|
-
import { t as MultipartRecordingService } from "./multipartRecordingService-
|
|
11
|
-
import { i as CameraCompositor } from "./idCaptureDefaults-BcxjQDI3.esm.js";
|
|
10
|
+
import { n as CameraCompositor, t as MultipartRecordingService } from "./multipartRecordingService-YKu0Bd7S.esm.js";
|
|
12
11
|
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-CpF2cBy6.esm.js";
|
|
13
|
-
import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-
|
|
12
|
+
import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-C80ZPDZ8.esm.js";
|
|
14
13
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BUe2uACW.esm.js";
|
|
15
14
|
//#region src/modules/video-selfie/videoSelfieWasm.ts
|
|
16
15
|
function warmupVideoSelfieWasm(config, steps = resolveVideoSelfieSteps(config)) {
|
package/dist/{videoSelfieCameraWarmer-CB1IzZkt.esm.js → videoSelfieCameraWarmer-C80ZPDZ8.esm.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-
|
|
3
|
+
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
4
|
+
import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-G1FDrkLd.esm.js";
|
|
5
5
|
import { a as requestCameraWithFallback, i as requestCameraAccess } from "./camera-sIa9ceW2.esm.js";
|
|
6
|
-
import { t as checkPermission } from "./permissionServices-
|
|
7
|
-
import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
6
|
+
import { t as checkPermission } from "./permissionServices-EY3_Vx6c.esm.js";
|
|
7
|
+
import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-BZYHujqz.esm.js";
|
|
8
8
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
9
|
-
import {
|
|
10
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
9
|
+
import { i as StreamCanvasProcessingSession } from "./multipartRecordingService-YKu0Bd7S.esm.js";
|
|
10
|
+
import { n as getBackCameraStream } from "./backCameraStream-B0-YgP_y.esm.js";
|
|
11
11
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
12
|
-
import { a as uploadSelfie, r as processFace, t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-
|
|
13
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-
|
|
12
|
+
import { a as uploadSelfie, r as processFace, t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-UiQ46EBa.esm.js";
|
|
13
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-sJahGQgV.esm.js";
|
|
14
14
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
15
15
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
|
16
16
|
async function postVideoSelfieCompare(endpoint, base64Image) {
|
package/dist/{videoSelfieStepDetector-5YHFe0Mq.d.ts → videoSelfieStepDetector-Co0Gu2k2.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as FlowModuleConfig } from "./types-Do5rEXij.js";
|
|
2
|
-
import "./IWasmUtilCapability-
|
|
3
|
-
import { n as DetectionStatus } from "./types-
|
|
2
|
+
import "./IWasmUtilCapability-CNWRl7jr.js";
|
|
3
|
+
import { n as DetectionStatus } from "./types-Bnl58jUQ.js";
|
|
4
4
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
5
5
|
import { t as DetectionOrientation } from "./IIdCaptureCapability-RNiFhvXR.js";
|
|
6
6
|
//#region src/modules/video-selfie/types.d.ts
|
|
@@ -33,12 +33,27 @@ type CameraCompositorOptions = {
|
|
|
33
33
|
};
|
|
34
34
|
type CameraCompositorResumeResult = 'resumed' | 'video-ended' | 'audio-ended' | 'timed-out';
|
|
35
35
|
/**
|
|
36
|
-
* Composites the *active* camera into a
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
36
|
+
* Composites the *active* camera into a single, stable `MediaStream` to
|
|
37
|
+
* record. Switching cameras (front ↔ back) just repoints the source — the
|
|
38
|
+
* output stream and its audio track are never replaced — so a single
|
|
39
|
+
* `MediaRecorder` produces one continuous video that follows the camera
|
|
40
|
+
* switches (V1 parity), instead of restarting per camera.
|
|
41
|
+
*
|
|
42
|
+
* Two transports (ENG-55397):
|
|
43
|
+
* - **Worker (preferred, Chromium 94+):** camera track →
|
|
44
|
+
* `MediaStreamTrackProcessor` → worker scales on an `OffscreenCanvas` →
|
|
45
|
+
* `MediaStreamTrackGenerator`. The main thread is not in the frame path, so
|
|
46
|
+
* the recording stays at camera rate while the synchronous ID detection
|
|
47
|
+
* tick saturates the main thread (measured: 4–9 fps main-thread vs 30 fps
|
|
48
|
+
* worker on a Galaxy S21 under the same load).
|
|
49
|
+
* - **Main thread (fallback):** hidden `<video>` → rVFC/rAF → canvas →
|
|
50
|
+
* `captureStream`, for Safari, Firefox and strict-CSP hosts that block blob
|
|
51
|
+
* workers.
|
|
52
|
+
*
|
|
53
|
+
* A worker that dies mid-recording (GPU-process crash, OOM) is released at
|
|
54
|
+
* once; the composite track stays valid but receives no further frames, and
|
|
55
|
+
* the next `resume()` reports `timed-out` so the caller reacquires the camera
|
|
56
|
+
* instead of talking to a dead worker.
|
|
42
57
|
*
|
|
43
58
|
* The audio track from the initial stream is carried through unchanged across
|
|
44
59
|
* video switches, so there's no audio glitch when the camera flips.
|
|
@@ -50,8 +65,12 @@ declare class CameraCompositor {
|
|
|
50
65
|
private canvas;
|
|
51
66
|
private ctx;
|
|
52
67
|
private video;
|
|
68
|
+
private transport;
|
|
69
|
+
/** Worker-transport output track; outlives a crashed worker until stop(). */
|
|
70
|
+
private generator;
|
|
53
71
|
private frameRequestId;
|
|
54
72
|
private frameRequestKind;
|
|
73
|
+
private sourceExceedsTargetFps;
|
|
55
74
|
private lastDrawTimeMs;
|
|
56
75
|
private lastVideoTimeSeconds;
|
|
57
76
|
private audioTrack;
|
|
@@ -66,7 +85,7 @@ declare class CameraCompositor {
|
|
|
66
85
|
*/
|
|
67
86
|
start(stream: CameraStream): MediaStream;
|
|
68
87
|
/**
|
|
69
|
-
* Swap the camera feeding the
|
|
88
|
+
* Swap the camera feeding the composite without interrupting the composite
|
|
70
89
|
* stream. Pass a video-only stream (audio is kept from `start`). The previous
|
|
71
90
|
* video track is stopped.
|
|
72
91
|
*/
|
|
@@ -76,13 +95,24 @@ declare class CameraCompositor {
|
|
|
76
95
|
/** Pause source playback and drawing while the page is backgrounded. */
|
|
77
96
|
pause(): void;
|
|
78
97
|
/**
|
|
79
|
-
* Restart source playback and wait for a genuinely new camera frame to
|
|
80
|
-
*
|
|
81
|
-
*
|
|
98
|
+
* Restart source playback and wait for a genuinely new camera frame to reach
|
|
99
|
+
* the stable composite stream. The caller must not resume encoding until
|
|
100
|
+
* this resolves with `resumed`.
|
|
82
101
|
*/
|
|
83
102
|
resume(signal?: AbortSignal): Promise<CameraCompositorResumeResult>;
|
|
84
|
-
/** Stop compositing and release the canvas, audio
|
|
103
|
+
/** Stop compositing and release the worker, canvas, audio and video tracks. */
|
|
85
104
|
stop(): void;
|
|
105
|
+
/**
|
|
106
|
+
* Worker transport. Returns `null` — and leaves nothing behind — when the
|
|
107
|
+
* browser lacks insertable streams or a strict `worker-src` CSP blocks blob
|
|
108
|
+
* workers, so `start` falls through to the main-thread path. Never throws.
|
|
109
|
+
*/
|
|
110
|
+
private startWorkerTransport;
|
|
111
|
+
/** Terminates the worker and frees its blob; idempotent. */
|
|
112
|
+
private releaseWorker;
|
|
113
|
+
private startMainThread;
|
|
114
|
+
private postToWorker;
|
|
115
|
+
private onWorkerMessage;
|
|
86
116
|
private setVideoSource;
|
|
87
117
|
private startDrawLoop;
|
|
88
118
|
private finishResume;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as addDeviceStats } from "./stats-
|
|
2
|
+
import { t as addDeviceStats } from "./stats-CZcy2J53.esm.js";
|
|
3
3
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
4
4
|
//#region src/internal/virtualCameraCheck.ts
|
|
5
5
|
const frameSources = {
|
|
@@ -363,6 +363,11 @@ var WasmRuntime = class WasmRuntime {
|
|
|
363
363
|
captureProtectedFrame(target) {
|
|
364
364
|
return this.requireCameraCycleApi("Unable to capture protected frame, cpp API hasn't been initialized").mcp(target);
|
|
365
365
|
}
|
|
366
|
+
/**
|
|
367
|
+
* @deprecated Unused by SDK 2 production flows.
|
|
368
|
+
* Retained for compatibility; avoid new uses.
|
|
369
|
+
* Candidate for removal after a compatibility review.
|
|
370
|
+
*/
|
|
366
371
|
paintFrameToCanvas(canvas, options) {
|
|
367
372
|
return this.requireCameraCycleApi("Unable to paint frame, cpp API hasn't been initialized").pfc(canvas, options);
|
|
368
373
|
}
|
package/dist/wasm.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as WASM_MODEL_FILES, c as WasmPipeline, l as WasmSource, o as WasmGlueLoader, r as warmupWasm, s as WasmModelName, t as WarmupConfig } from "./warmup-Cis2p6O0.js";
|
|
2
|
-
import { c as setWasmConfig, i as initializeWasmUtil, n as WasmConfig, r as ensureWasmPipelines, s as resolveWasmConfigForPipelines, u as upgradeToWasmHttpClient } from "./setup-
|
|
2
|
+
import { c as setWasmConfig, i as initializeWasmUtil, n as WasmConfig, r as ensureWasmPipelines, s as resolveWasmConfigForPipelines, u as upgradeToWasmHttpClient } from "./setup-Cyko6cAn.js";
|
|
3
3
|
//#region ../infra/src/wasm/wasmDefaults.d.ts
|
|
4
4
|
/** The WASM version bundled and tested with this SDK release. */
|
|
5
5
|
declare const DEFAULT_WASM_VERSION = "v2.14.50-post1";
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { g as WASM_PIPELINE_MODEL_NAMES, m as WASM_PIPELINE_LAZY_MODEL_NAMES, p as WASM_MODEL_FILES } from "./wasmWebClient-B7baE-Wf.esm.js";
|
|
2
|
-
import {
|
|
3
|
-
import { o as warmupWasm } from "./warmup-
|
|
2
|
+
import { C as DEFAULT_WASM_VERSION, D as resolveWasmConfig, T as buildWasmConfigFromBasePath, w as buildDefaultWasmConfig } from "./trueSightService-D8yZwF3G.esm.js";
|
|
3
|
+
import { o as warmupWasm } from "./warmup-ChDwHSel.esm.js";
|
|
4
|
+
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-D4YCSH31.esm.js";
|
|
4
5
|
//#region src/defineWasm.ts
|
|
5
6
|
function requiredModels(pipelines) {
|
|
6
7
|
const models = /* @__PURE__ */ new Set();
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-
|
|
2
|
-
import { n as createWatchlistForBusinessManagerFromActor, t as createWatchlistForBusinessManager } from "./watchlistForBusinessManager-
|
|
1
|
+
import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-CJ-MvUre.esm.js";
|
|
2
|
+
import { n as createWatchlistForBusinessManagerFromActor, t as createWatchlistForBusinessManager } from "./watchlistForBusinessManager-CIMkpEhu.esm.js";
|
|
3
3
|
export { createWatchlistForBusinessManager, createWatchlistForBusinessManagerFromActor, watchlistForBusinessMachine };
|
package/dist/watchlist.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as watchlistMachine } from "./watchlistStateMachine-
|
|
2
|
-
import { t as createWatchlistManager } from "./watchlistManager-
|
|
1
|
+
import { t as watchlistMachine } from "./watchlistStateMachine-CBqk2w-h.esm.js";
|
|
2
|
+
import { t as createWatchlistManager } from "./watchlistManager-CixcLNDT.esm.js";
|
|
3
3
|
export { createWatchlistManager, watchlistMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
-
import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-
|
|
4
|
+
import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-CJ-MvUre.esm.js";
|
|
5
5
|
//#region src/modules/watchlist-for-business/watchlistForBusinessActor.ts
|
|
6
6
|
function createWatchlistForBusinessActor() {
|
|
7
7
|
return createActor(watchlistForBusinessMachine).start();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
5
5
|
//#region src/modules/watchlist-for-business/watchlistForBusinessServices.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
-
import { t as watchlistMachine } from "./watchlistStateMachine-
|
|
4
|
+
import { t as watchlistMachine } from "./watchlistStateMachine-CBqk2w-h.esm.js";
|
|
5
5
|
//#region src/modules/watchlist/watchlistActor.ts
|
|
6
6
|
function createWatchlistActor() {
|
|
7
7
|
return createActor(watchlistMachine).start();
|
package/dist/{watchlistStateMachine-DvOby3a-.esm.js → watchlistStateMachine-CBqk2w-h.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
5
5
|
//#region src/modules/watchlist/watchlistServices.ts
|
package/dist/workflow.esm.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as trueSightLog } from "./trueSightService-D8yZwF3G.esm.js";
|
|
2
|
+
import { E as updateFeatureManagementUser } from "./feature-management-C8OAO_CZ.esm.js";
|
|
2
3
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { l as trueSightLog } from "./trueSightService-CKrrfV0Q.esm.js";
|
|
4
4
|
import { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-ijlbX_Wx.esm.js";
|
|
5
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
6
|
-
import { t as endpoints } from "./endpoints-
|
|
7
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
8
|
-
import { v as toEkybConfig } from "./flowServices-
|
|
5
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-BK5NjMe0.esm.js";
|
|
6
|
+
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
7
|
+
import { i as toIncodeApiError } from "./apiError-iTFZ5fiI.esm.js";
|
|
8
|
+
import { v as toEkybConfig } from "./flowServices-G1FDrkLd.esm.js";
|
|
9
9
|
import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
|
|
10
10
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
11
11
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
12
|
-
import { r as electronicSignatureMachine } from "./electronicSignatureManager
|
|
12
|
+
import { r as electronicSignatureMachine } from "./electronicSignatureManager--YFXVldr.esm.js";
|
|
13
13
|
import "./ae-signature.esm.js";
|
|
14
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
15
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
16
|
-
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-
|
|
17
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
18
|
-
import { t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
19
|
-
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-
|
|
20
|
-
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
21
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
22
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
23
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
24
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
25
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
26
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
27
|
-
import { t as phoneMachine } from "./phoneStateMachine-
|
|
28
|
-
import { t as watchlistMachine } from "./watchlistStateMachine-
|
|
29
|
-
import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-
|
|
30
|
-
import { n as identityReuseMachine } from "./identityReuseStateMachine-
|
|
31
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
32
|
-
import { t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
33
|
-
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-
|
|
34
|
-
import { t as signatureMachine } from "./signatureStateMachine-
|
|
35
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
36
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
37
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
38
|
-
import { t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
39
|
-
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-
|
|
40
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
14
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-DBeq47D2.esm.js";
|
|
15
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-TyFaCegB.esm.js";
|
|
16
|
+
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-CxqS_nD-.esm.js";
|
|
17
|
+
import { t as consentMachine } from "./consentStateMachine-DTSfdGiW.esm.js";
|
|
18
|
+
import { t as curpValidationMachine } from "./curpValidationStateMachine-g5kMfuLj.esm.js";
|
|
19
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-DOQou6TW.esm.js";
|
|
20
|
+
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-D312sSIu.esm.js";
|
|
21
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BV8yR5iN.esm.js";
|
|
22
|
+
import { t as ekybMachine } from "./ekybStateMachine-Bnsefu9M.esm.js";
|
|
23
|
+
import { t as ekycMachine } from "./ekycStateMachine-CshSNJhh.esm.js";
|
|
24
|
+
import { t as emailMachine } from "./emailStateMachine-Bc_6oIYw.esm.js";
|
|
25
|
+
import { t as selfieMachine } from "./selfieStateMachine-CidiobBW.esm.js";
|
|
26
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-CCPGFPRF.esm.js";
|
|
27
|
+
import { t as phoneMachine } from "./phoneStateMachine-CXdXufKg.esm.js";
|
|
28
|
+
import { t as watchlistMachine } from "./watchlistStateMachine-CBqk2w-h.esm.js";
|
|
29
|
+
import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-CJ-MvUre.esm.js";
|
|
30
|
+
import { n as identityReuseMachine } from "./identityReuseStateMachine-BhAkuIra.esm.js";
|
|
31
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DC5Mo6M1.esm.js";
|
|
32
|
+
import { t as idOcrStateMachine } from "./idOcrStateMachine-ClDEP-VI.esm.js";
|
|
33
|
+
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-CSWWgUTO.esm.js";
|
|
34
|
+
import { t as signatureMachine } from "./signatureStateMachine-ce_XMA3l.esm.js";
|
|
35
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-D1aZJ6eR.esm.js";
|
|
36
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-CoaZOSTP.esm.js";
|
|
37
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-DbDVIh9t.esm.js";
|
|
38
|
+
import { t as faceMatchMachine } from "./faceMatchStateMachine-mRIHQ3dA.esm.js";
|
|
39
|
+
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-C0zcPnqK.esm.js";
|
|
40
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-B3Z4iJnG.esm.js";
|
|
41
41
|
import { n as isAdvanceableError } from "./advanceableErrors-CpF2cBy6.esm.js";
|
|
42
42
|
import "./qe-signature.esm.js";
|
|
43
43
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BUe2uACW.esm.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/core",
|
|
3
|
-
"version": "2.3.0-rc.
|
|
3
|
+
"version": "2.3.0-rc.10",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -50,11 +50,6 @@
|
|
|
50
50
|
"types": "./dist/id-selfie-flow.d.ts",
|
|
51
51
|
"import": "./dist/id-selfie-flow.esm.js"
|
|
52
52
|
},
|
|
53
|
-
"./personhood": {
|
|
54
|
-
"source": "./src/modules/personhood/index.ts",
|
|
55
|
-
"types": "./dist/personhood.d.ts",
|
|
56
|
-
"import": "./dist/personhood.esm.js"
|
|
57
|
-
},
|
|
58
53
|
"./authentication": {
|
|
59
54
|
"source": "./src/modules/authentication/index.ts",
|
|
60
55
|
"types": "./dist/authentication.d.ts",
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { c as FaceAttributesThresholds, d as FaceDetectionCallbacks, f as FaceDetectionConfig, h as IFaceDetectionCapability, l as FaceChecksConfig, m as FacePositionConstraints, p as FaceDetectionThresholds, v as WebApiHostRequestConfig } from "./createFaceAvatar-BlcTYgJv.js";
|
|
2
|
-
import { t as BaseWasmProvider } from "./BaseWasmProvider-Dyi6dKp1.js";
|
|
3
|
-
//#region ../infra/src/providers/wasm/FaceDetectionProvider.d.ts
|
|
4
|
-
declare class FaceDetectionProvider extends BaseWasmProvider implements IFaceDetectionCapability {
|
|
5
|
-
private defaultThresholds;
|
|
6
|
-
private currentThresholds;
|
|
7
|
-
private currentFrame;
|
|
8
|
-
private onFaceDataCallback;
|
|
9
|
-
constructor();
|
|
10
|
-
processFrame(image: ImageData): Promise<void>;
|
|
11
|
-
initialize(config: FaceDetectionConfig): Promise<void>;
|
|
12
|
-
/**
|
|
13
|
-
* Last-registered onCapture callback — captured into a private
|
|
14
|
-
* field so `forceCapture()` (called from outside the WASM-callback
|
|
15
|
-
* lifecycle) can re-fire the same wrapper. `setCallbacks` rebinds
|
|
16
|
-
* this on each invocation, so the field always reflects the
|
|
17
|
-
* current consumer.
|
|
18
|
-
*/
|
|
19
|
-
private currentOnCaptureWrapper;
|
|
20
|
-
processPhoto(canvas: HTMLCanvasElement): void;
|
|
21
|
-
postFaceResults(config?: WebApiHostRequestConfig): Promise<unknown>;
|
|
22
|
-
setCallbacks(callbacks: FaceDetectionCallbacks): void;
|
|
23
|
-
setPositionConstraints(constraints: FacePositionConstraints): void;
|
|
24
|
-
applyDefaults(autocaptureInterval?: number): void;
|
|
25
|
-
setAutocaptureInterval(interval: number): void;
|
|
26
|
-
setThresholds(thresholds: FaceDetectionThresholds): void;
|
|
27
|
-
setAttributesThresholds(thresholds: FaceAttributesThresholds): void;
|
|
28
|
-
setChecksEnabled(config: FaceChecksConfig): void;
|
|
29
|
-
setVideoSelfieMode(enabled: boolean): void;
|
|
30
|
-
forceCapture(): void;
|
|
31
|
-
reset(): void;
|
|
32
|
-
private createDefaultFaceCoordinates;
|
|
33
|
-
private formatFaceCoordinates;
|
|
34
|
-
}
|
|
35
|
-
//#endregion
|
|
36
|
-
export { FaceDetectionProvider as t };
|