@incodetech/core 0.0.0-dev-20260803-2bd16802 → 0.0.0-dev-20260803-e2b5d35d
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/{3dAvatarProvider-D9H4rR6_.esm.js → 3dAvatarProvider-1zpeX-h8.esm.js} +2 -2
- package/dist/Face2DProvider-TLwFIRn4.esm.js +437 -0
- package/dist/{PrivacyLensProvider-DA3rp6sf.esm.js → PrivacyLensProvider-D8PS7AJa.esm.js} +3 -325
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-0e7XVmLE.esm.js → apiError-C_08gwg2.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CArZpDf_.esm.js → authenticationManager-D76jxYNX.esm.js} +2 -2
- package/dist/{authenticationStateMachine-3w56jRTO.esm.js → authenticationStateMachine-CJILuEbH.esm.js} +2 -2
- package/dist/avatar.esm.js +1 -1
- package/dist/avatar2dWarm-DqucNFX4.esm.js +1330 -0
- package/dist/{avatarStats-BIB3SREM.esm.js → avatarStats-CdUOb3VD.esm.js} +12 -22
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-3Pbtj-RV.d.ts → consentManager-uhDPdU6i.d.ts} +4 -4
- package/dist/createFaceAvatar-AF92I3xf.esm.js +103 -0
- package/dist/{deepsightLoader-DYVd_8gR.esm.js → deepsightLoader-DqEfPplN.esm.js} +3 -3
- package/dist/document-upload.d.ts +4 -4
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-Jgr8OAlG.esm.js → dynamicFormsManager-BHfeedY2.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-Cm6YJQBA.esm.js → dynamicFormsStateMachine-BeKhow9E.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-DLlenLG2.esm.js → ekybManager-3pPpvD6Z.esm.js} +1 -1
- package/dist/{ekybStateMachine-DpaO3WdV.esm.js → ekybStateMachine-BH8TaB7v.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-CPWJcuFy.esm.js → electronicSignatureManager-DHC0bqr9.esm.js} +1 -1
- package/dist/extensibility.d.ts +2 -2
- package/dist/extensibility.esm.js +8 -8
- package/dist/{faceCaptureManagerFactory-C58fhn5l.esm.js → faceCaptureManagerFactory-DqQCDsDY.esm.js} +1 -1
- package/dist/{faceCaptureSetup-a7dsfqui.esm.js → faceCaptureSetup-5Ye-LXbB.esm.js} +25 -10
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-BZWoO8E3.esm.js → flowCompletionService-DEO2OqAI.esm.js} +1 -1
- package/dist/{flowServices-DlsSs-nq.esm.js → flowServices-D6T8fwIf.esm.js} +3 -3
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-C7LEmSRJ.esm.js → geolocationManager-IbghOO6X.esm.js} +1 -1
- package/dist/{geolocationStateMachine-CV2cecNj.esm.js → geolocationStateMachine-B5WkRLnz.esm.js} +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-DtcaSiRd.esm.js → idCaptureManager-C_q4C_aV.esm.js} +1 -1
- package/dist/{idCaptureServices-DcGxxfYS.esm.js → idCaptureServices-DlnEwYJJ.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-cWGQatgx.esm.js → idCaptureStateMachine-CKJ_aV6s.esm.js} +7 -7
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-DyPzUmsZ.d.ts → mandatoryConsentManager-B29kR0XA.d.ts} +4 -4
- package/dist/{mediapipeShared-B0iQQ5k7.esm.js → mediapipeShared-D0syL_Gp.esm.js} +6 -1
- package/dist/{onDeviceFaceResults-BuTjLnON.esm.js → onDeviceFaceResults-D53Rr_B1.esm.js} +3 -3
- package/dist/personhood.esm.js +3 -3
- package/dist/privacyLensWorker-DI-Rg83h.esm.js +355 -0
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-DdljWMN1.esm.js → recordingService-Dv5Ztm5Y.esm.js} +1 -1
- package/dist/{runChildModule-BSTzbivl.esm.js → runChildModule-Dh9HjxbH.esm.js} +1 -1
- package/dist/selfie.esm.js +4 -4
- package/dist/{selfieManager-BzCnteUg.esm.js → selfieManager-CwLK0icS.esm.js} +2 -2
- package/dist/{selfieStateMachine-TC6ctOex.esm.js → selfieStateMachine-C1ErWDmF.esm.js} +2 -2
- package/dist/{session-DY1mtqPs.esm.js → session-DvCKSn2k.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-q_Sx6L7L.esm.js → sessionInitializer-DR77TDcE.esm.js} +2 -2
- package/dist/{setup-DZLzxBYo.esm.js → setup-DSLbrjHG.esm.js} +4 -4
- package/dist/trueSight-CGZ_9YL1.esm.js +1 -0
- package/dist/{trueSightService-mUItB6iL.esm.js → trueSightService-PXOP5bS9.esm.js} +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-DAG8CmBp.esm.js → videoSelfieCameraWarmer-BLrAyxUW.esm.js} +2 -2
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.d.ts +4 -4
- package/dist/workflow.esm.js +14 -14
- package/package.json +1 -1
- package/dist/Face2DProvider-BZCsS_sf.esm.js +0 -824
- package/dist/createFaceAvatar-x5aaJwVM.esm.js +0 -42
- package/dist/trueSight-CxKqRMOO.esm.js +0 -1
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
//#region src/internal/avatar/createFaceAvatar.ts
|
|
2
|
-
/** Lazy-load the provider for an avatar id (each lands in its own chunk). */
|
|
3
|
-
async function loadProvider(variant) {
|
|
4
|
-
switch (variant) {
|
|
5
|
-
case "avatar-3d": return (await import("./3dAvatarProvider-D9H4rR6_.esm.js")).createProvider();
|
|
6
|
-
case "avatar-2d": return (await import("./Face2DProvider-BZCsS_sf.esm.js")).createProvider();
|
|
7
|
-
case "privacy-lens": return (await import("./PrivacyLensProvider-DA3rp6sf.esm.js")).createProvider();
|
|
8
|
-
default: throw new Error(`Unknown avatar variant: ${String(variant)}`);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Mounts a cosmetic face avatar: lazy-loads the chosen provider, starts it on the
|
|
13
|
-
* given stream, and returns a handle to mount the canvas + push verdict cues. The
|
|
14
|
-
* avatar is **cosmetic-only** — it never feeds the authoritative
|
|
15
|
-
* detection/quality/liveness/upload pipeline.
|
|
16
|
-
*/
|
|
17
|
-
async function createFaceAvatar(options) {
|
|
18
|
-
const provider = await loadProvider(options.variant);
|
|
19
|
-
try {
|
|
20
|
-
await provider.start(options.stream, {
|
|
21
|
-
assets: options.assets,
|
|
22
|
-
maxFps: options.maxFps
|
|
23
|
-
});
|
|
24
|
-
if (options.initialState) provider.setState?.(options.initialState);
|
|
25
|
-
} catch (error) {
|
|
26
|
-
provider.stop();
|
|
27
|
-
throw error;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
get canvas() {
|
|
31
|
-
return provider.getCanvas();
|
|
32
|
-
},
|
|
33
|
-
setState(state) {
|
|
34
|
-
provider.setState?.(state);
|
|
35
|
-
},
|
|
36
|
-
stop() {
|
|
37
|
-
provider.stop();
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
//#endregion
|
|
42
|
-
export { createFaceAvatar as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./trueSightService-mUItB6iL.esm.js";
|