@incodetech/core 0.0.0-dev-20260826-e81bd6f9 → 0.0.0-dev-20260826-80a51538
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-DroaGhav.esm.js → BrowserDiagnosticsCryptoProvider-DfkPafSO.esm.js} +1 -1
- package/dist/{BrowserStorageProvider-C8847M9W.esm.js → BrowserStorageProvider-DC___749.esm.js} +1 -1
- package/dist/{IWasmUtilCapability-5-Pncgma.d.ts → IWasmUtilCapability-SNPhmIwB.d.ts} +0 -1
- package/dist/{MotionSensorProvider-CxTjgXe6.esm.js → MotionSensorProvider-Dq6GJ-ke.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-BbJ7ewMs.esm.js → apiError-C_90i3vV.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-BXZfUKaI.esm.js → authenticationManager-7ec9wEfD.esm.js} +4 -4
- package/dist/{authenticationManager-QbR9ezH3.d.ts → authenticationManager-DFA73BWw.d.ts} +1 -1
- package/dist/{authenticationStateMachine-DS9N05Mj.esm.js → authenticationStateMachine-d7NM3jSI.esm.js} +2 -2
- package/dist/camera.esm.js +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-uhDPdU6i.d.ts → consentManager-DLOyIZzt.d.ts} +1 -1
- package/dist/{deepsightLoader-D_pTgevT.esm.js → deepsightLoader-CQ8p6f3n.esm.js} +6 -6
- package/dist/{deepsightService-BQO1pV6B.d.ts → deepsightService-MZOpj7Vp.d.ts} +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-BbdImodx.esm.js → documentCaptureManager-BsgEpSEe.esm.js} +1 -1
- package/dist/{documentCaptureStateMachine-BjBgWp7z.esm.js → documentCaptureStateMachine-BmcBWiUz.esm.js} +2 -2
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-CBVWDFYZ.esm.js → dynamicFormsManager-BD78xRhz.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-Cc_mw7BP.esm.js → dynamicFormsStateMachine-CQ8uFClH.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-DQy8cwae.esm.js → ekybManager-Ce6FEncZ.esm.js} +1 -1
- package/dist/{ekybStateMachine-DvRr4p-k.esm.js → ekybStateMachine-mfXIl5v-.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-5cwtDmd5.esm.js → electronicSignatureManager-q0-iMmIE.esm.js} +1 -1
- package/dist/extensibility.d.ts +11 -12
- package/dist/extensibility.esm.js +12 -12
- package/dist/{faceCaptureManagerFactory-ZRoAAJ-9.esm.js → faceCaptureManagerFactory-BQn2gK5B.esm.js} +3 -3
- package/dist/{faceCaptureManagerFactory-B0Ce6p_p.d.ts → faceCaptureManagerFactory-D-eOL-h6.d.ts} +4 -4
- package/dist/{faceCaptureSetup-CThWhLbH.esm.js → faceCaptureSetup-Civi4sX0.esm.js} +4 -4
- package/dist/{feature-management-BdXv1wdg.esm.js → feature-management-VVeaOPVH.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-8LZdgnFO.esm.js → flowCompletionService-BeGI43Sa.esm.js} +1 -1
- package/dist/{flowServices-0Unj1i_g.esm.js → flowServices-B8KjJDqC.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-njjgkoz_.esm.js → geolocationManager-ZACmKzTE.esm.js} +1 -1
- package/dist/{geolocationStateMachine-ChxMczVf.esm.js → geolocationStateMachine-MsxfZhyZ.esm.js} +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +8 -8
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +4 -4
- package/dist/idCaptureDefaults-SJH6Td2K.esm.js +276 -0
- package/dist/{idCaptureManager-w0XxDand.d.ts → idCaptureManager-C-ef1D5r.d.ts} +2 -2
- package/dist/{idCaptureManager-B7Hdyqoc.esm.js → idCaptureManager-kkVWhnDe.esm.js} +5 -5
- package/dist/{idCaptureServices-BSZquQ6d.esm.js → idCaptureServices-CLserSrT.esm.js} +5 -5
- package/dist/{idCaptureStateMachine-D7ms1UTC.esm.js → idCaptureStateMachine-DtGemWtA.esm.js} +11 -11
- package/dist/{idOcrManager-BF_cXZq8.d.ts → idOcrManager-CFlDwUvN.d.ts} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-v2TH5g7e.d.ts → identityReuseManager-BXEBBI3N.d.ts} +5 -5
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-BG3ZPM3f.d.ts → mandatoryConsentManager-CohPXtwL.d.ts} +5 -5
- package/dist/{onDeviceFaceResults-BxRVRs9-.esm.js → onDeviceFaceResults-B6Gtw21L.esm.js} +75 -12
- package/dist/{permissionGuards-DCzi2X20.esm.js → permissionGuards-DKnCqOsF.esm.js} +1 -1
- package/dist/{permissionServices-Ct-QgtAi.esm.js → permissionServices-QCFFUVkj.esm.js} +2 -2
- package/dist/personhood.d.ts +3 -3
- package/dist/personhood.esm.js +6 -6
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-CN3rO3Rl.esm.js → recordingService-DBxMZwD9.esm.js} +1 -1
- package/dist/{runChildModule-CWYUt6Eb.esm.js → runChildModule-BVRBfQKD.esm.js} +1 -1
- package/dist/{safeStorage-2nOSCCnG.esm.js → safeStorage-7CmStgyt.esm.js} +348 -363
- package/dist/{sdkVersion-CBs-fcJT.esm.js → sdkVersion-DayEIYK-.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieManager-DeSGiO2o.esm.js → selfieManager-DZcXrdkt.esm.js} +4 -4
- package/dist/{selfieManager-BRb_-wHE.d.ts → selfieManager-DpU8kDro.d.ts} +1 -1
- package/dist/{selfieStateMachine-q9zW90MX.esm.js → selfieStateMachine-BJiFfV1Q.esm.js} +2 -2
- package/dist/{session-nsNphgUa.esm.js → session-Bat4R9kV.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-bq_60unZ.esm.js → sessionInitializer-DcdeBlD1.esm.js} +4 -4
- package/dist/{setup-FUYImQXy.esm.js → setup-P7NmS-XX.esm.js} +8 -8
- package/dist/trueSight-CpKAW400.esm.js +1 -0
- package/dist/{trueSightService-DA5Bt2s3.esm.js → trueSightService-CYxmF608.esm.js} +3 -3
- package/dist/{types-lw5kpZ0i2.d.ts → types-CyoB7Hym2.d.ts} +2 -2
- package/dist/{types-BMa0ZqAi.d.ts → types-DQ-TrzPk.d.ts} +1 -1
- package/dist/{types-jBSE34JY.d.ts → types-EDqrHgXD.d.ts} +1 -1
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +4 -4
- package/dist/{videoSelfieCameraWarmer-DlYZA78k.esm.js → videoSelfieCameraWarmer-B6q6lWkk.esm.js} +4 -4
- package/dist/{videoSelfieStepDetector-g3PJIqyq.d.ts → videoSelfieStepDetector-DVXE0upL.d.ts} +2 -2
- package/dist/wasm.esm.js +4 -4
- package/dist/{wasmDefaults-BrwMccqW.esm.js → wasmDefaults-DEOK0oAq.esm.js} +1 -1
- package/dist/{wasmDsFlagSync-Dd7Yj25O.esm.js → wasmDsFlagSync-BTc8xI86.esm.js} +2 -2
- package/dist/{wasmWebClient-BzFsDjU6.esm.js → wasmWebClient-BJCaFeBL.esm.js} +55 -6
- package/dist/workflow.esm.js +16 -16
- package/package.json +3 -3
- package/dist/idCaptureDefaults-Dowxd3J3.esm.js +0 -226
- package/dist/trueSight-Cw9ktWo0.esm.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as BaseWasmProvider, l as wasmRuntime } from "./safeStorage-7CmStgyt.esm.js";
|
|
2
2
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
3
|
+
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-CYxmF608.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
|
|
5
|
-
import "./trueSight-
|
|
5
|
+
import "./trueSight-CpKAW400.esm.js";
|
|
6
6
|
import { t as addDeviceStats } from "./stats-yk8Pi9sH.esm.js";
|
|
7
7
|
import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-BtKmqD_U.esm.js";
|
|
8
8
|
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
|
|
@@ -57,6 +57,69 @@ function yieldUntilNextPaint() {
|
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
59
|
//#endregion
|
|
60
|
+
//#region ../infra/src/wasm/faceProcessingWasmApi.ts
|
|
61
|
+
var FaceProcessingWasmApi = class {
|
|
62
|
+
constructor(runtime = wasmRuntime) {
|
|
63
|
+
this.runtime = runtime;
|
|
64
|
+
}
|
|
65
|
+
async setFacePositionConstraints(type, minX, minY, maxX, maxY) {
|
|
66
|
+
this.runtime.requireFaceProcessingApi("Unable to set face position constraints, cpp API hasn't been initialized").setFacePositionConstraints(this.runtime.pipelineTypeToWasmEnum(type), minX, minY, maxX, maxY);
|
|
67
|
+
}
|
|
68
|
+
async setFaceDetectionThresholds(type, brightnessThreshold, blurrinessThreshold, tiltRotationAngleThreshold, minMagicCropSize, autocaptureInterval, minFaceQualityScore, faceOcclusionThreshold, getReadyDelay, framesAggregationInterval, minFramesWithFace) {
|
|
69
|
+
this.runtime.requireFaceProcessingApi("Unable to set face detection thresholds, cpp API hasn't been initialized").setFaceProcessingThresholds(this.runtime.pipelineTypeToWasmEnum(type), brightnessThreshold, blurrinessThreshold, tiltRotationAngleThreshold, minMagicCropSize, autocaptureInterval, minFaceQualityScore, faceOcclusionThreshold, getReadyDelay, framesAggregationInterval, minFramesWithFace);
|
|
70
|
+
}
|
|
71
|
+
async setFaceAttributesThresholds(type, headwearThreshold, lensesThreshold, closedEyesThreshold, maskThreshold) {
|
|
72
|
+
this.runtime.requireFaceProcessingApi("Unable to set face attributes thresholds, cpp API hasn't been initialized").setFaceAttributesThresholds(this.runtime.pipelineTypeToWasmEnum(type), headwearThreshold, lensesThreshold, closedEyesThreshold, maskThreshold);
|
|
73
|
+
}
|
|
74
|
+
async setFaceChecksEnabled(type, isLensesCheckEnabled, isMaskCheckEnabled, isClosedEyesCheckEnabled, isHeadWearCheckEnabled, isOcclusionCheckEnabled) {
|
|
75
|
+
this.runtime.requireFaceProcessingApi("Unable to set face checks enabled flags, cpp API hasn't been initialized").setFaceChecksEnabled(this.runtime.pipelineTypeToWasmEnum(type), isLensesCheckEnabled, isMaskCheckEnabled, isClosedEyesCheckEnabled, isHeadWearCheckEnabled, isOcclusionCheckEnabled);
|
|
76
|
+
}
|
|
77
|
+
async setFaceDetectionMode(type, isVideoSelfie) {
|
|
78
|
+
this.runtime.requireFaceProcessingApi("Unable to set face detection mode, cpp API hasn't been initialized").setFaceProcessingMode(this.runtime.pipelineTypeToWasmEnum(type), isVideoSelfie);
|
|
79
|
+
}
|
|
80
|
+
async setFaceDetectionCallbacks(type, onFarAway, onTooClose, onTooManyFaces, onNoFace, onCapture, onGetReady, onGetReadyFinished, onCenterFace, onDark, onBlur, onFaceAngle, onLenses, onMask, onEyesClosed, onHeadWear, onSwitchToManualCapture, onFaceOccluded) {
|
|
81
|
+
this.runtime.requireFaceProcessingApi("Unable to set face detection callbacks, cpp API hasn't been initialized").setFaceProcessingCallbacks(this.runtime.pipelineTypeToWasmEnum(type), onFarAway, onTooClose, onTooManyFaces, onNoFace, onCapture, onGetReady, onGetReadyFinished, onCenterFace, onDark, onBlur, onFaceAngle, onLenses, onMask, onEyesClosed, onHeadWear, onSwitchToManualCapture, onFaceOccluded);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Synchronous manual-capture entry point for the OnDevice selfie workflow.
|
|
85
|
+
* Runs face detection + the full on-device quality / liveness / age pipeline
|
|
86
|
+
* on a single canvas image and stages the results inside the WASM `WebApi`
|
|
87
|
+
* for the next {@link postFaceResults} call. No polling, no semaphore wrap.
|
|
88
|
+
*
|
|
89
|
+
* Mirrors `ml-wasm-kit/WasmApi.processPhoto`.
|
|
90
|
+
*/
|
|
91
|
+
processPhoto(canvas) {
|
|
92
|
+
this.runtime.requireFaceProcessingApi("Unable to process photo, cpp API hasn't been initialized").processPhoto(canvas);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* POSTs the staged on-device face-results JSON to `/omni/add/face-results`
|
|
96
|
+
* via the C++ `WebApi`. The C++ side encrypts the body with
|
|
97
|
+
* `SessionEncryptor` and routes through the WASM `WebClient` with inline
|
|
98
|
+
* encryption (`ie=true`) — this does NOT depend on the WebClient E2EE
|
|
99
|
+
* session setup, so it works whether `setupWasmConnection` was called with
|
|
100
|
+
* `encryptionEnabled` true or false.
|
|
101
|
+
*
|
|
102
|
+
* Reads from the `WebApi` instance the runtime constructs eagerly in
|
|
103
|
+
* `initialize()`. The C++ `OnDeviceSelfieWorkflow` has already staged the
|
|
104
|
+
* aggregated best-shot results into that instance via
|
|
105
|
+
* `WebApi::setFaceResults(...)` during per-frame processing (auto-capture) or
|
|
106
|
+
* via {@link processPhoto} (manual-capture).
|
|
107
|
+
*/
|
|
108
|
+
postFaceResults(config) {
|
|
109
|
+
return this.runtime.requireWebApi("Unable to post face results, cpp API hasn't been initialized").postFaceResults(config ?? {});
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Kept-dead: mirrors upstream `wasmApi.runSelfieCapture`. Nothing in the SDK
|
|
113
|
+
* calls it; it exists so the mirror stays 1:1 with upstream at the pinned tag.
|
|
114
|
+
*/
|
|
115
|
+
async runSelfieCapture(image) {
|
|
116
|
+
const faceProcessingWasmApi = this.runtime.requireFaceProcessingApi("Unable to run Selfie Capture, cpp API hasn't been initialized");
|
|
117
|
+
this.runtime.writeFrame(image);
|
|
118
|
+
return faceProcessingWasmApi.runSelfieCapture();
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
const faceProcessingWasmApi = new FaceProcessingWasmApi();
|
|
122
|
+
//#endregion
|
|
60
123
|
//#region ../infra/src/providers/wasm/FaceDetectionProvider.ts
|
|
61
124
|
/**
|
|
62
125
|
* Best-effort `delete()` for Emscripten `embind`-bound handles. Plain
|
|
@@ -129,11 +192,11 @@ var FaceDetectionProvider = class extends BaseWasmProvider {
|
|
|
129
192
|
}
|
|
130
193
|
processPhoto(canvas) {
|
|
131
194
|
this.ensureInitialized();
|
|
132
|
-
|
|
195
|
+
faceProcessingWasmApi.processPhoto(canvas);
|
|
133
196
|
}
|
|
134
197
|
async postFaceResults(config) {
|
|
135
198
|
this.ensureInitialized();
|
|
136
|
-
return
|
|
199
|
+
return faceProcessingWasmApi.postFaceResults(config);
|
|
137
200
|
}
|
|
138
201
|
setCallbacks(callbacks) {
|
|
139
202
|
this.ensureInitialized();
|
|
@@ -147,11 +210,11 @@ var FaceDetectionProvider = class extends BaseWasmProvider {
|
|
|
147
210
|
callbacks.onCapture?.(frameCanvas, faceCoordinates);
|
|
148
211
|
};
|
|
149
212
|
this.currentOnCaptureWrapper = onCaptureWrapper;
|
|
150
|
-
|
|
213
|
+
faceProcessingWasmApi.setFaceDetectionCallbacks(this.getPipelineType(), callbacks.onFarAway ?? (() => {}), callbacks.onTooClose ?? (() => {}), callbacks.onTooManyFaces ?? (() => {}), callbacks.onNoFace ?? (() => {}), onCaptureWrapper, callbacks.onGetReady ?? (() => {}), callbacks.onGetReadyFinished ?? (() => {}), callbacks.onCenterFace ?? (() => {}), callbacks.onDark ?? (() => {}), callbacks.onBlur ?? (() => {}), callbacks.onFaceAngle ?? (() => {}), callbacks.onLenses ?? (() => {}), callbacks.onMask ?? (() => {}), callbacks.onEyesClosed ?? (() => {}), callbacks.onHeadWear ?? (() => {}), callbacks.onSwitchToManualCapture ?? (() => {}), callbacks.onFaceOccluded ?? (() => {}));
|
|
151
214
|
}
|
|
152
215
|
setPositionConstraints(constraints) {
|
|
153
216
|
this.ensureInitialized();
|
|
154
|
-
|
|
217
|
+
faceProcessingWasmApi.setFacePositionConstraints(this.getPipelineType(), constraints.minX, constraints.minY, constraints.maxX, constraints.maxY);
|
|
155
218
|
}
|
|
156
219
|
applyDefaults(autocaptureInterval = 0) {
|
|
157
220
|
this.ensureInitialized();
|
|
@@ -194,19 +257,19 @@ var FaceDetectionProvider = class extends BaseWasmProvider {
|
|
|
194
257
|
setThresholds(thresholds) {
|
|
195
258
|
this.ensureInitialized();
|
|
196
259
|
this.currentThresholds = { ...thresholds };
|
|
197
|
-
|
|
260
|
+
faceProcessingWasmApi.setFaceDetectionThresholds(this.getPipelineType(), thresholds.brightnessThreshold, thresholds.blurrinessThreshold, thresholds.tiltRotationAngleThreshold, thresholds.minMagicCropSize, thresholds.autocaptureInterval, thresholds.minFaceQualityScore, thresholds.faceOcclusionThreshold, thresholds.getReadyDelay, thresholds.framesAggregationInterval, thresholds.minFramesWithFace);
|
|
198
261
|
}
|
|
199
262
|
setAttributesThresholds(thresholds) {
|
|
200
263
|
this.ensureInitialized();
|
|
201
|
-
|
|
264
|
+
faceProcessingWasmApi.setFaceAttributesThresholds(this.getPipelineType(), thresholds.headwearThreshold, thresholds.lensesThreshold, thresholds.closedEyesThreshold, thresholds.maskThreshold);
|
|
202
265
|
}
|
|
203
266
|
setChecksEnabled(config) {
|
|
204
267
|
this.ensureInitialized();
|
|
205
|
-
|
|
268
|
+
faceProcessingWasmApi.setFaceChecksEnabled(this.getPipelineType(), config.lenses, config.mask, config.closedEyes, config.headWear, config.occlusion);
|
|
206
269
|
}
|
|
207
270
|
setVideoSelfieMode(enabled) {
|
|
208
271
|
this.ensureInitialized();
|
|
209
|
-
|
|
272
|
+
faceProcessingWasmApi.setFaceDetectionMode(this.getPipelineType(), enabled);
|
|
210
273
|
}
|
|
211
274
|
forceCapture() {
|
|
212
275
|
if (!this.currentFrame || !this.currentOnCaptureWrapper) return;
|
|
@@ -523,7 +586,7 @@ async function stopRecording(session) {
|
|
|
523
586
|
}
|
|
524
587
|
}
|
|
525
588
|
async function initializeDeepsightSession(options) {
|
|
526
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
589
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-CQ8p6f3n.esm.js");
|
|
527
590
|
return loadDeepsightSession({
|
|
528
591
|
ds: options.ds,
|
|
529
592
|
storage: options.storage
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as isWasmMotionPrimedForModule } from "./permissionServices-
|
|
1
|
+
import { a as isWasmMotionPrimedForModule } from "./permissionServices-QCFFUVkj.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
|
-
import { r as WasmUtilProvider } from "./safeStorage-
|
|
1
|
+
import { r as WasmUtilProvider } from "./safeStorage-7CmStgyt.esm.js";
|
|
2
2
|
import { n as isAndroidWebView } from "./platform-BtKmqD_U.esm.js";
|
|
3
|
-
import { t as MotionSensorProvider } from "./MotionSensorProvider-
|
|
3
|
+
import { t as MotionSensorProvider } from "./MotionSensorProvider-Dq6GJ-ke.esm.js";
|
|
4
4
|
import { a as stopCameraStream, o as clearCameraGrantedInDocument, r as requestCameraAccess, s as isCameraGrantedInDocument } from "./camera-_2sXMXiF.esm.js";
|
|
5
5
|
//#region ../infra/src/media/permissions.ts
|
|
6
6
|
async function queryPermission(name) {
|
package/dist/personhood.d.ts
CHANGED
|
@@ -3,12 +3,12 @@ import "./StateMachine-EDpYWy0i.js";
|
|
|
3
3
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
4
4
|
import "./Actor-iTq7YY48.js";
|
|
5
5
|
import { y as IncodeCanvas } from "./createFaceAvatar-pUEkdk4X.js";
|
|
6
|
-
import { i as IStorageCapability, t as IWasmUtilCapability } from "./IWasmUtilCapability-
|
|
6
|
+
import { i as IStorageCapability, t as IWasmUtilCapability } from "./IWasmUtilCapability-SNPhmIwB.js";
|
|
7
7
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
8
|
-
import { n as DetectionStatus } from "./types-
|
|
8
|
+
import { n as DetectionStatus } from "./types-EDqrHgXD.js";
|
|
9
9
|
import { t as FaceDetectionProvider } from "./FaceDetectionProvider-Cn1wS-sA.js";
|
|
10
10
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
11
|
-
import { n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-
|
|
11
|
+
import { n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-MZOpj7Vp.js";
|
|
12
12
|
//#region src/modules/personhood/types.d.ts
|
|
13
13
|
/**
|
|
14
14
|
* Head pose (degrees) computed per-frame from the WASM face detector.
|
package/dist/personhood.esm.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { r as WasmUtilProvider } from "./safeStorage-
|
|
2
|
-
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-
|
|
1
|
+
import { r as WasmUtilProvider } from "./safeStorage-7CmStgyt.esm.js";
|
|
2
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DC___749.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 { C as createApi$1, v as randomUUID, y as getStoredHttpConfig } from "./trueSightService-
|
|
5
|
+
import { C as createApi$1, v as randomUUID, y as getStoredHttpConfig } from "./trueSightService-CYxmF608.esm.js";
|
|
6
6
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
7
|
-
import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-
|
|
7
|
+
import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-DcdeBlD1.esm.js";
|
|
8
8
|
import { t as endpoints } from "./endpoints-DmVOhy8C.esm.js";
|
|
9
9
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
10
10
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
11
11
|
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
|
|
12
|
-
import { i as requestPermission, t as checkPermission } from "./permissionServices-
|
|
13
|
-
import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-
|
|
12
|
+
import { i as requestPermission, t as checkPermission } from "./permissionServices-QCFFUVkj.esm.js";
|
|
13
|
+
import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-B6Gtw21L.esm.js";
|
|
14
14
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
15
15
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
16
16
|
//#region src/modules/personhood/personhoodServices.ts
|
package/dist/qe-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-q0-iMmIE.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as isAndroid } from "./platform-BtKmqD_U.esm.js";
|
|
2
|
-
import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-
|
|
2
|
+
import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-B6Gtw21L.esm.js";
|
|
3
3
|
import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-BPikS5yd.esm.js";
|
|
4
4
|
//#region ../infra/src/media/VideoTrimmer.ts
|
|
5
5
|
async function getDurationBySeek(videoBlob) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
2
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
2
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-CYxmF608.esm.js";
|
|
3
3
|
import { C as createEventBus } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|