@incodetech/core 0.0.0-dev-20260922-d0252a78 → 0.0.0-dev-20260922-5cf5589c
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-CNllufYT.esm.js → BrowserDiagnosticsCryptoProvider-DXNSgKZb.esm.js} +1 -1
- package/dist/{FaceDetectionProvider-C9EX0tLo.esm.js → FaceDetectionProvider-C89CMNo4.esm.js} +4 -4
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-DKY8am-l.esm.js → apiError--461tFhC.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-kYhIr9hy.esm.js → authenticationManager-3LV23YP9.esm.js} +3 -3
- package/dist/{authenticationStateMachine-BJcoSBeZ.esm.js → authenticationStateMachine-5Hr3dB8f.esm.js} +2 -2
- package/dist/camera.esm.js +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-Cv_0QKLD.d.ts → consentManager-CmOYqyfu.d.ts} +5 -5
- package/dist/{deepsightLoader-BjbnOxQg.esm.js → deepsightLoader-CiCDIn9T.esm.js} +3 -3
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-DG-n2TEs.esm.js → documentCaptureManager-7aQhPQnb.esm.js} +1 -1
- package/dist/{documentCaptureManager-CbAGkHWh.d.ts → documentCaptureManager-C8eO0hbv.d.ts} +1 -1
- package/dist/{documentCaptureStateMachine-CK5UgiFM.esm.js → documentCaptureStateMachine-C8p2vZQU.esm.js} +2 -2
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-B6lOQvUO.esm.js → dynamicFormsManager-pXHEWFf_.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-CRzgz7rQ.esm.js → dynamicFormsStateMachine-DbV6ukEW.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-BfPBG9DP.esm.js → ekybManager-Dz-kJI4C.esm.js} +1 -1
- package/dist/{ekybStateMachine-CQS-4MSz.esm.js → ekybStateMachine-Dea3hLX2.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-cyrZw7c-.esm.js → electronicSignatureManager-CIqNGvA2.esm.js} +1 -1
- package/dist/extensibility.d.ts +7 -7
- package/dist/extensibility.esm.js +11 -11
- package/dist/{faceCaptureManagerFactory-Bozj3Bdq.esm.js → faceCaptureManagerFactory-Dh2Ig4Xf.esm.js} +2 -2
- package/dist/{faceCaptureSetup-C2KKR06C.esm.js → faceCaptureSetup-k-X7CxIe.esm.js} +5 -5
- package/dist/{feature-management-Cdt8IjNL.esm.js → feature-management-CsbKOlcs.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.d.ts +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-DxHSZ5MA.esm.js → flowCompletionService-JPDXGKJ8.esm.js} +1 -1
- package/dist/{flowServices-CYNGuMGn.esm.js → flowServices-fEnmOFdb.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-DaedlZvX.esm.js → geolocationManager-D4ouEP_A.esm.js} +1 -1
- package/dist/{geolocationStateMachine-BGbi014c.esm.js → geolocationStateMachine-le4Z0jRR.esm.js} +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +7 -7
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-ccTTKF99.esm.js → idCaptureDefaults-zbuMoTQn.esm.js} +1 -1
- package/dist/{idCaptureManager-x8HYtbU_.d.ts → idCaptureManager-BpaSzeSc.d.ts} +22 -3
- package/dist/{idCaptureManager-3l-_i0Aq.esm.js → idCaptureManager-CmKwkd42.esm.js} +22 -9
- package/dist/{idCaptureServices-BvFFDDry.esm.js → idCaptureServices-Dxud9-QO.esm.js} +4 -4
- package/dist/{idCaptureStateMachine-B6TJjofv.esm.js → idCaptureStateMachine-ivoWomoN.esm.js} +65 -11
- package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-BTdHlJ9D.d.ts} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-x2QG6QAm.d.ts → identityReuseManager-D0-4bAeK.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-CTAa9lBQ.d.ts → mandatoryConsentManager-DsuvHAF5.d.ts} +5 -5
- package/dist/{permissionGuards-3_AT5BY5.esm.js → permissionGuards-DAyjPT2R.esm.js} +1 -1
- package/dist/{permissionServices-C8DqhjX7.esm.js → permissionServices-DIaG8BlW.esm.js} +32 -1
- package/dist/personhood.esm.js +5 -5
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-2pygtEoi.esm.js → runChildModule-l_fqmBOq.esm.js} +1 -1
- package/dist/{sdkVersion-BfN0xOnV.esm.js → sdkVersion-Cwcmdjym.esm.js} +1 -1
- package/dist/selfie.esm.js +5 -5
- package/dist/{selfieManager-DKqq96O-.esm.js → selfieManager-Cr6NTc5u.esm.js} +3 -3
- package/dist/{selfieStateMachine-C5Bvc8Si.esm.js → selfieStateMachine-CQywIVnt.esm.js} +2 -2
- package/dist/{session-ComwBF5B.esm.js → session-DrUz2_20.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-Cf2_ODwi.esm.js → sessionInitializer-CbiYYpts.esm.js} +3 -3
- package/dist/{setup-BQGPTQlq.esm.js → setup-CxWhwhR4.esm.js} +4 -4
- package/dist/{trueSightService-yGjPGbjK.esm.js → trueSightService-u_1BvGyG.esm.js} +2 -2
- package/dist/{types-DBu4S_vo2.d.ts → types-CEBr-ro22.d.ts} +2 -0
- package/dist/video-selfie.esm.js +4 -4
- package/dist/{videoSelfieCameraWarmer-CpY8x9HO.esm.js → videoSelfieCameraWarmer-Dq9SiPCn.esm.js} +4 -4
- package/dist/wasm.esm.js +2 -2
- package/dist/workflow.esm.js +15 -15
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ import "./types-CfuWgAi-.js";
|
|
|
12
12
|
import { n as DeepsightService } from "./StreamCanvasCapture-CeBBJ_RC.js";
|
|
13
13
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
14
14
|
import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-DBsv9-7M.js";
|
|
15
|
-
import { C as IdDocumentType, D as UploadIdResponse, N as DeviceWalletPlatform, O as IAnalyticsCapability, T as IdErrorCode, U as DigitalIdProviderId, W as FailureReason, _ as IdCaptureInput, b as IdCaptureOutput, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, h as IdCaptureEvent, i as CaptureIdResponse, j as DeviceWalletFailReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureMode, y as IdCaptureOnlyConfig } from "./types-
|
|
15
|
+
import { C as IdDocumentType, D as UploadIdResponse, N as DeviceWalletPlatform, O as IAnalyticsCapability, T as IdErrorCode, U as DigitalIdProviderId, W as FailureReason, _ as IdCaptureInput, b as IdCaptureOutput, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, h as IdCaptureEvent, i as CaptureIdResponse, j as DeviceWalletFailReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureMode, y as IdCaptureOnlyConfig } from "./types-CEBr-ro22.js";
|
|
16
16
|
//#region ../infra/src/providers/wasm/WasmUtilProvider.d.ts
|
|
17
17
|
declare class WasmUtilProvider extends BaseWasmProvider implements IWasmUtilCapability {
|
|
18
18
|
private static instance;
|
|
@@ -236,6 +236,7 @@ type IdCaptureLoadingState = {
|
|
|
236
236
|
*/
|
|
237
237
|
selectedDocumentType: IdDocumentType | undefined;
|
|
238
238
|
currentMode: IdCaptureMode;
|
|
239
|
+
requiresMotionPermissionUserGesture: boolean;
|
|
239
240
|
};
|
|
240
241
|
/**
|
|
241
242
|
* Which `tutorial` substate the collapsed `status: 'tutorial'` stands for.
|
|
@@ -260,6 +261,7 @@ type IdCaptureTutorialState = {
|
|
|
260
261
|
phase: IdCaptureTutorialPhase;
|
|
261
262
|
selectedDocumentType: IdDocumentType | undefined;
|
|
262
263
|
currentMode: IdCaptureMode;
|
|
264
|
+
requiresMotionPermissionUserGesture: boolean;
|
|
263
265
|
};
|
|
264
266
|
type IdCaptureAgeVerificationState = {
|
|
265
267
|
status: 'ageVerification';
|
|
@@ -271,6 +273,7 @@ type IdCapturePermissionsState = {
|
|
|
271
273
|
currentMode: IdCaptureMode;
|
|
272
274
|
/** `config.showTutorial` — whether a tutorial screen precedes this one. */
|
|
273
275
|
tutorialEnabled: boolean;
|
|
276
|
+
requiresMotionPermissionUserGesture: boolean;
|
|
274
277
|
};
|
|
275
278
|
type IdCaptureCaptureState = {
|
|
276
279
|
status: 'capture';
|
|
@@ -452,6 +455,12 @@ declare function createIdCaptureManagerFromActor(actor: AnyIdCaptureActor, visib
|
|
|
452
455
|
load(): void;
|
|
453
456
|
selectDocument(documentType: IdDocumentType): void;
|
|
454
457
|
nextStep(): Promise<void>;
|
|
458
|
+
/**
|
|
459
|
+
* Continues from Tutorial into permission orchestration. When iOS requires
|
|
460
|
+
* a user gesture for Deepsight motion, the motion-only request starts from
|
|
461
|
+
* this event; otherwise Core proceeds to its existing permission state.
|
|
462
|
+
*/
|
|
463
|
+
continueToPermission(): void;
|
|
455
464
|
/**
|
|
456
465
|
* Requests camera (and, when deepsight is enabled, motion) permission.
|
|
457
466
|
* Effective in `permissions.idle`, `permissions.waitingForUser`,
|
|
@@ -460,7 +469,14 @@ declare function createIdCaptureManagerFromActor(actor: AnyIdCaptureActor, visib
|
|
|
460
469
|
* the camera pre-warms it records the user's intent to continue, so the
|
|
461
470
|
* tutorial advances to capture as soon as the warm-up finishes).
|
|
462
471
|
*/
|
|
463
|
-
requestPermission(
|
|
472
|
+
requestPermission(options?: {
|
|
473
|
+
/**
|
|
474
|
+
* Use `automatic` when code, rather than a permission CTA, initiates the
|
|
475
|
+
* request. This is the supported way to avoid reporting a programmatic
|
|
476
|
+
* permission request as an `elementClicked.requestPermission` event.
|
|
477
|
+
*/
|
|
478
|
+
trigger?: "user" | "automatic";
|
|
479
|
+
}): void;
|
|
464
480
|
goToLearnMore(): void;
|
|
465
481
|
back(): void;
|
|
466
482
|
close(): void;
|
|
@@ -516,7 +532,10 @@ declare function createIdCaptureManager(options: CreateIdCaptureActorOptions): M
|
|
|
516
532
|
load(): void;
|
|
517
533
|
selectDocument(documentType: IdDocumentType): void;
|
|
518
534
|
nextStep(): Promise<void>;
|
|
519
|
-
|
|
535
|
+
continueToPermission(): void;
|
|
536
|
+
requestPermission(options?: {
|
|
537
|
+
trigger?: "user" | "automatic";
|
|
538
|
+
}): void;
|
|
520
539
|
goToLearnMore(): void;
|
|
521
540
|
back(): void;
|
|
522
541
|
close(): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-CxWhwhR4.esm.js";
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
5
5
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Czjlp68o.esm.js";
|
|
6
6
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
7
|
-
import {
|
|
8
|
-
import { l as createIdProtectedCaptureController, n as provideIdProtectedCaptureController, t as idCaptureMachine, u as findIdProtectedCaptureController } from "./idCaptureStateMachine-
|
|
9
|
-
import { _ as resolveIdCaptureThresholds, g as resolveCaptureOptimizingTreatment } from "./idCaptureServices-
|
|
7
|
+
import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-DIaG8BlW.esm.js";
|
|
8
|
+
import { l as createIdProtectedCaptureController, n as provideIdProtectedCaptureController, t as idCaptureMachine, u as findIdProtectedCaptureController } from "./idCaptureStateMachine-ivoWomoN.esm.js";
|
|
9
|
+
import { _ as resolveIdCaptureThresholds, g as resolveCaptureOptimizingTreatment } from "./idCaptureServices-Dxud9-QO.esm.js";
|
|
10
10
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
11
11
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
12
12
|
function isHoldingState(value) {
|
|
@@ -255,7 +255,8 @@ function mapPermissionsState(snapshot, context) {
|
|
|
255
255
|
permissionStatus: getPermissionStatus(snapshot) ?? "idle",
|
|
256
256
|
selectedDocumentType: getEffectiveSelectedDocumentType(context),
|
|
257
257
|
currentMode: context.currentMode,
|
|
258
|
-
tutorialEnabled: context.config.showTutorial === true
|
|
258
|
+
tutorialEnabled: context.config.showTutorial === true,
|
|
259
|
+
requiresMotionPermissionUserGesture: requiresMotionPermissionUserGesture(context.config.ds)
|
|
259
260
|
};
|
|
260
261
|
}
|
|
261
262
|
function getLoadingPhase(snapshot) {
|
|
@@ -270,12 +271,14 @@ function mapLoadingState(snapshot, phase) {
|
|
|
270
271
|
phase,
|
|
271
272
|
tutorialEnabled: snapshot.context.config.showTutorial === true,
|
|
272
273
|
selectedDocumentType: getEffectiveSelectedDocumentType(snapshot.context),
|
|
273
|
-
currentMode: snapshot.context.currentMode
|
|
274
|
+
currentMode: snapshot.context.currentMode,
|
|
275
|
+
requiresMotionPermissionUserGesture: requiresMotionPermissionUserGesture(snapshot.context.config.ds)
|
|
274
276
|
};
|
|
275
277
|
}
|
|
276
278
|
function getTutorialPhase(snapshot) {
|
|
277
279
|
if (snapshot.matches({ tutorial: "checkingPermission" })) return "checkingPermission";
|
|
278
280
|
if (snapshot.matches({ tutorial: "waitingForPermission" })) return "waitingForPermission";
|
|
281
|
+
if (snapshot.matches({ tutorial: "requestingMotionPermission" })) return "waitingForPermission";
|
|
279
282
|
if (snapshot.matches({ tutorial: { initializingCamera: { userIntent: "clicked" } } })) return "waitingForCamera";
|
|
280
283
|
if (snapshot.matches({ tutorial: "initializingCamera" })) return "initializingCamera";
|
|
281
284
|
return "ready";
|
|
@@ -285,7 +288,8 @@ function mapTutorialState(snapshot, context) {
|
|
|
285
288
|
status: "tutorial",
|
|
286
289
|
phase: getTutorialPhase(snapshot),
|
|
287
290
|
selectedDocumentType: getEffectiveSelectedDocumentType(context),
|
|
288
|
-
currentMode: context.currentMode
|
|
291
|
+
currentMode: context.currentMode,
|
|
292
|
+
requiresMotionPermissionUserGesture: requiresMotionPermissionUserGesture(context.config.ds)
|
|
289
293
|
};
|
|
290
294
|
}
|
|
291
295
|
function mapDigitalUploadState(snapshot) {
|
|
@@ -433,6 +437,15 @@ function createApi({ actor, trackElementClicked, trackCaptureAttemptFinished })
|
|
|
433
437
|
actor.send({ type: "NEXT_STEP" });
|
|
434
438
|
},
|
|
435
439
|
/**
|
|
440
|
+
* Continues from Tutorial into permission orchestration. When iOS requires
|
|
441
|
+
* a user gesture for Deepsight motion, the motion-only request starts from
|
|
442
|
+
* this event; otherwise Core proceeds to its existing permission state.
|
|
443
|
+
*/
|
|
444
|
+
continueToPermission() {
|
|
445
|
+
trackElementClicked?.("nextStep");
|
|
446
|
+
actor.send({ type: "CONTINUE_TO_PERMISSION" });
|
|
447
|
+
},
|
|
448
|
+
/**
|
|
436
449
|
* Requests camera (and, when deepsight is enabled, motion) permission.
|
|
437
450
|
* Effective in `permissions.idle`, `permissions.waitingForUser`,
|
|
438
451
|
* `permissions.motionOnly`, `permissions.learnMore`, `tutorial.ready`,
|
|
@@ -440,8 +453,8 @@ function createApi({ actor, trackElementClicked, trackCaptureAttemptFinished })
|
|
|
440
453
|
* the camera pre-warms it records the user's intent to continue, so the
|
|
441
454
|
* tutorial advances to capture as soon as the warm-up finishes).
|
|
442
455
|
*/
|
|
443
|
-
requestPermission() {
|
|
444
|
-
trackElementClicked?.("requestPermission");
|
|
456
|
+
requestPermission(options) {
|
|
457
|
+
if (options?.trigger !== "automatic") trackElementClicked?.("requestPermission");
|
|
445
458
|
actor.send({ type: "REQUEST_PERMISSION" });
|
|
446
459
|
},
|
|
447
460
|
goToLearnMore() {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
-
import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-CxWhwhR4.esm.js";
|
|
2
|
+
import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-CsbKOlcs.esm.js";
|
|
3
3
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
5
5
|
import { i as isDesktop } from "./platform-DkcRc9JV.esm.js";
|
|
6
6
|
import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
7
7
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
8
|
-
import {
|
|
8
|
+
import { l as queryCameraPermission } from "./permissionServices-DIaG8BlW.esm.js";
|
|
9
9
|
import { a as isBackFacingTrack, n as getBackCameraStream } from "./backCameraStream-B0-YgP_y.esm.js";
|
|
10
10
|
import { t as getDeviceClass } from "./getDeviceClass-5NYZg9s6.esm.js";
|
|
11
11
|
import { t as MultipartRecordingService } from "./multipartRecordingService-OEgIRvqC.esm.js";
|
|
12
|
-
import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-
|
|
12
|
+
import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-zbuMoTQn.esm.js";
|
|
13
13
|
//#region src/internal/camera/cameraServices.ts
|
|
14
14
|
function createCameraServices(camera) {
|
|
15
15
|
return {
|
package/dist/{idCaptureStateMachine-B6TJjofv.esm.js → idCaptureStateMachine-ivoWomoN.esm.js}
RENAMED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { c as trueSightHintTransition, l as trueSightLog, m as isTrueSightTesting, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
1
|
+
import { c as trueSightHintTransition, l as trueSightLog, m as isTrueSightTesting, r as noteTrueSightCaptureActivity } from "./trueSightService-u_1BvGyG.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-C511Hltw.esm.js";
|
|
3
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
3
|
+
import { l as BrowserStorageProvider } from "./setup-CxWhwhR4.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
|
-
import { s as exposeExperimentOnce } from "./feature-management-
|
|
5
|
+
import { s as exposeExperimentOnce } from "./feature-management-CsbKOlcs.esm.js";
|
|
6
6
|
import { n as revokeObjectURL, t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
7
7
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
8
8
|
import { n as eventModuleNames, s as recordExperimentAssignmentOnce } from "./events-ijlbX_Wx.esm.js";
|
|
9
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
9
|
+
import { t as getDisableIpify } from "./sessionInitializer-CbiYYpts.esm.js";
|
|
10
10
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
11
11
|
import { t as addDeviceStats } from "./stats-CZcy2J53.esm.js";
|
|
12
12
|
import { a as isIOS, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-DkcRc9JV.esm.js";
|
|
13
|
-
import "./session-
|
|
13
|
+
import "./session-DrUz2_20.esm.js";
|
|
14
14
|
import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
15
15
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
16
16
|
import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-D6phjq1-.esm.js";
|
|
17
17
|
import { r as getCameraReacquisitionConstraints } from "./camera-sIa9ceW2.esm.js";
|
|
18
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
18
|
+
import { i as requestMotionPermission, n as invokeRequestPermissionActor, o as requiresMotionPermissionUserGesture, t as checkPermission } from "./permissionServices-DIaG8BlW.esm.js";
|
|
19
19
|
import { a as flagIdManualReview, n as runProtectedAttempt, o as PROTECTED_CAPTURE_TARGET, r as cameraCycleProvider, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-BjoMVvya.esm.js";
|
|
20
20
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
21
|
-
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
21
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DAyjPT2R.esm.js";
|
|
22
22
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
23
23
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
24
24
|
import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
|
|
25
25
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
26
26
|
import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-Cjab7FTI.esm.js";
|
|
27
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-
|
|
28
|
-
import { _ as resolveIdCaptureThresholds, a as getRealQualityValue, b as getIdCameraStream, c as prepareRecordingForCameraRetry, d as stopRecording, f as stopStream, h as ID_ERROR_CODES, i as finalizeRecordingSession, l as processId, m as validateUploadResponse, o as initializeIdCapture, p as uploadIdImage, r as disposeRecordingSession, t as addBarcode, u as startRecordingSession, v as CAPTURE_OPTIMIZING, y as OPTIMIZING_WATCHDOG_MARGIN_MS } from "./idCaptureServices-
|
|
27
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-zbuMoTQn.esm.js";
|
|
28
|
+
import { _ as resolveIdCaptureThresholds, a as getRealQualityValue, b as getIdCameraStream, c as prepareRecordingForCameraRetry, d as stopRecording, f as stopStream, h as ID_ERROR_CODES, i as finalizeRecordingSession, l as processId, m as validateUploadResponse, o as initializeIdCapture, p as uploadIdImage, r as disposeRecordingSession, t as addBarcode, u as startRecordingSession, v as CAPTURE_OPTIMIZING, y as OPTIMIZING_WATCHDOG_MARGIN_MS } from "./idCaptureServices-Dxud9-QO.esm.js";
|
|
29
29
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
30
30
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
31
31
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -556,6 +556,7 @@ const isPermissionDeniedErrorGuard = ({ event }) => {
|
|
|
556
556
|
return false;
|
|
557
557
|
};
|
|
558
558
|
const isPermissionBlockedGuard = ({ context }) => context.permissionResult === "denied" || context.permissionResult === "refresh";
|
|
559
|
+
const requiresMotionPermissionUserGestureGuard = ({ context }) => requiresMotionPermissionUserGesture(context.config.ds);
|
|
559
560
|
const hasAttemptsRemainingGuard = ({ context }) => context.attemptsRemaining > 0;
|
|
560
561
|
const hasCapturedImageGuard = ({ context }) => {
|
|
561
562
|
return context.provider?.getCapturedCanvas() !== null;
|
|
@@ -799,9 +800,26 @@ async function requestIdCapturePermission(input) {
|
|
|
799
800
|
cameraFallbackLevel: fallbackLevel
|
|
800
801
|
};
|
|
801
802
|
}
|
|
803
|
+
/**
|
|
804
|
+
* Resolves and primes Deepsight motion without touching camera permission.
|
|
805
|
+
* IDC-03 invokes this directly from the tutorial CTA's event macrostep so
|
|
806
|
+
* iOS keeps the transient user activation required by DeviceMotion.
|
|
807
|
+
*/
|
|
808
|
+
async function requestIdCaptureMotionPermission() {
|
|
809
|
+
const result = await requestMotionPermission();
|
|
810
|
+
return result === "not-required" ? "granted" : result;
|
|
811
|
+
}
|
|
802
812
|
const requestPermissionActor = fromPromise(async ({ input }) => {
|
|
803
813
|
return requestIdCapturePermission(input);
|
|
804
814
|
});
|
|
815
|
+
/**
|
|
816
|
+
* Takes no `AbortSignal` on purpose: the work it awaits is the OS-owned
|
|
817
|
+
* `DeviceMotionEvent.requestPermission()` prompt, which exposes no
|
|
818
|
+
* cancellation. XState still discards the settled result if the state is
|
|
819
|
+
* left, and `primeWasmMotionSensor` is idempotent, so an abandoned request
|
|
820
|
+
* cannot mis-drive the machine.
|
|
821
|
+
*/
|
|
822
|
+
const requestMotionPermissionActor = fromPromise(() => requestIdCaptureMotionPermission());
|
|
805
823
|
fromPromise(async ({ input }) => {
|
|
806
824
|
return initializeIdCapture(input);
|
|
807
825
|
});
|
|
@@ -1162,7 +1180,7 @@ fromPromise(async ({ input }) => {
|
|
|
1162
1180
|
});
|
|
1163
1181
|
fromPromise(async ({ input }) => {
|
|
1164
1182
|
if (!input.dependencies) return;
|
|
1165
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1183
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-CiCDIn9T.esm.js");
|
|
1166
1184
|
return loadDeepsightSession({
|
|
1167
1185
|
ds: input.ds,
|
|
1168
1186
|
storage: input.dependencies.storage,
|
|
@@ -1605,7 +1623,7 @@ function cleanup(service) {
|
|
|
1605
1623
|
service.cleanup();
|
|
1606
1624
|
} catch {}
|
|
1607
1625
|
}
|
|
1608
|
-
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-
|
|
1626
|
+
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-CiCDIn9T.esm.js")).loadDeepsightSession(input)) {
|
|
1609
1627
|
let disposed = false;
|
|
1610
1628
|
let preparation;
|
|
1611
1629
|
let service;
|
|
@@ -3296,6 +3314,7 @@ const idCaptureMachine = setup({
|
|
|
3296
3314
|
actors: {
|
|
3297
3315
|
checkPermission: checkPermissionActor,
|
|
3298
3316
|
requestPermission: requestPermissionActor,
|
|
3317
|
+
requestMotionPermission: requestMotionPermissionActor,
|
|
3299
3318
|
protectedAttempt: createProtectedIdAttemptActor(),
|
|
3300
3319
|
protectedControllerLifetime: createProtectedIdControllerLifetimeActor(),
|
|
3301
3320
|
captureOnlyDelivery: createIdCaptureOnlyDeliveryActor(),
|
|
@@ -3715,6 +3734,7 @@ const idCaptureMachine = setup({
|
|
|
3715
3734
|
}),
|
|
3716
3735
|
isPermissionDeniedError: ({ event }) => isPermissionDeniedErrorGuard({ event: asPublicIdEvent(event) }),
|
|
3717
3736
|
isPermissionBlocked: isPermissionBlockedGuard,
|
|
3737
|
+
requiresMotionPermissionUserGesture: requiresMotionPermissionUserGestureGuard,
|
|
3718
3738
|
hasAttemptsRemaining: hasAttemptsRemainingGuard,
|
|
3719
3739
|
hasCapturedImage: hasCapturedImageGuard,
|
|
3720
3740
|
hasCandidateFrame: ({ event }) => hasCandidateFrameGuard({ event: asPublicIdEvent(event) }),
|
|
@@ -3981,6 +4001,14 @@ const idCaptureMachine = setup({
|
|
|
3981
4001
|
}]
|
|
3982
4002
|
},
|
|
3983
4003
|
on: {
|
|
4004
|
+
CONTINUE_TO_PERMISSION: [{
|
|
4005
|
+
target: "requestingMotionPermission",
|
|
4006
|
+
guard: "requiresMotionPermissionUserGesture",
|
|
4007
|
+
actions: "trackContinue"
|
|
4008
|
+
}, {
|
|
4009
|
+
target: "#idCapture.permissions",
|
|
4010
|
+
actions: "trackContinue"
|
|
4011
|
+
}],
|
|
3984
4012
|
NEXT_STEP: {
|
|
3985
4013
|
target: "#idCapture.capture",
|
|
3986
4014
|
actions: "trackContinue"
|
|
@@ -3993,6 +4021,14 @@ const idCaptureMachine = setup({
|
|
|
3993
4021
|
},
|
|
3994
4022
|
initializingCamera: {
|
|
3995
4023
|
type: "parallel",
|
|
4024
|
+
on: { CONTINUE_TO_PERMISSION: [{
|
|
4025
|
+
target: "requestingMotionPermission",
|
|
4026
|
+
guard: "requiresMotionPermissionUserGesture",
|
|
4027
|
+
actions: "trackContinue"
|
|
4028
|
+
}, {
|
|
4029
|
+
target: "#idCapture.permissions",
|
|
4030
|
+
actions: "trackContinue"
|
|
4031
|
+
}] },
|
|
3996
4032
|
states: {
|
|
3997
4033
|
cameraInit: {
|
|
3998
4034
|
initial: "initializingStream",
|
|
@@ -4034,6 +4070,14 @@ const idCaptureMachine = setup({
|
|
|
4034
4070
|
onDone: { target: "#idCapture.capture" }
|
|
4035
4071
|
},
|
|
4036
4072
|
ready: { on: {
|
|
4073
|
+
CONTINUE_TO_PERMISSION: [{
|
|
4074
|
+
target: "requestingMotionPermission",
|
|
4075
|
+
guard: "requiresMotionPermissionUserGesture",
|
|
4076
|
+
actions: "trackContinue"
|
|
4077
|
+
}, {
|
|
4078
|
+
target: "#idCapture.permissions",
|
|
4079
|
+
actions: "trackContinue"
|
|
4080
|
+
}],
|
|
4037
4081
|
NEXT_STEP: {
|
|
4038
4082
|
target: "waitingForPermission",
|
|
4039
4083
|
actions: "trackContinue"
|
|
@@ -4074,6 +4118,15 @@ const idCaptureMachine = setup({
|
|
|
4074
4118
|
actions: assign({ permissionResult: ({ event }) => event.output })
|
|
4075
4119
|
}
|
|
4076
4120
|
]
|
|
4121
|
+
} },
|
|
4122
|
+
requestingMotionPermission: { invoke: {
|
|
4123
|
+
id: "requestTutorialMotionPermission",
|
|
4124
|
+
src: "requestMotionPermission",
|
|
4125
|
+
onDone: [{
|
|
4126
|
+
target: "#idCapture.permissions.denied",
|
|
4127
|
+
guard: ({ event }) => event.output === "denied"
|
|
4128
|
+
}, { target: "#idCapture.permissions" }],
|
|
4129
|
+
onError: { target: "#idCapture.permissions.denied" }
|
|
4077
4130
|
} }
|
|
4078
4131
|
}
|
|
4079
4132
|
},
|
|
@@ -4129,6 +4182,7 @@ const idCaptureMachine = setup({
|
|
|
4129
4182
|
} },
|
|
4130
4183
|
motionOnly: { on: {
|
|
4131
4184
|
REQUEST_PERMISSION: "requesting",
|
|
4185
|
+
GO_TO_LEARN_MORE: "learnMore",
|
|
4132
4186
|
BACK: {
|
|
4133
4187
|
target: "#idCapture.tutorial.ready",
|
|
4134
4188
|
guard: "hasShowTutorial"
|
|
@@ -109,7 +109,7 @@ declare const idOcrStateMachine: StateMachine<IdOcrContext, {
|
|
|
109
109
|
type: "shouldProceedWithoutSubmitToSecondId";
|
|
110
110
|
params: unknown;
|
|
111
111
|
};
|
|
112
|
-
}>, never, "error" | "idle" | "success" | "finished" | "
|
|
112
|
+
}>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
113
113
|
readonly id: "idOcr";
|
|
114
114
|
readonly initial: "idle";
|
|
115
115
|
readonly context: ({ input }: {
|
package/dist/identity-reuse.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-
|
|
1
|
+
import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-D0-4bAeK.js";
|
|
2
2
|
export { type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -124,7 +124,7 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
|
|
|
124
124
|
type: "hasSelection";
|
|
125
125
|
params: unknown;
|
|
126
126
|
};
|
|
127
|
-
}>, never, "error" | "idle" | "finished" | "
|
|
127
|
+
}>, never, "error" | "idle" | "finished" | "loading" | "submitting" | "documentsFound", string, IdentityReuseInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
128
128
|
readonly id: "identityReuse";
|
|
129
129
|
readonly initial: "idle";
|
|
130
130
|
readonly context: ({ input }: {
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reset, r as isConfigured, s as setup } from "./setup-
|
|
1
|
+
import { i as reset, r as isConfigured, s as setup } from "./setup-CxWhwhR4.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { r as MandatoryConsentConfig } from "./types-C--rKe_Y.js";
|
|
2
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
2
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-DsuvHAF5.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-CTAa9lBQ.d.ts → mandatoryConsentManager-DsuvHAF5.d.ts}
RENAMED
|
@@ -60,18 +60,18 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
60
60
|
type: "clearError";
|
|
61
61
|
params: NonReducibleUnknown;
|
|
62
62
|
};
|
|
63
|
-
toggleSigned: {
|
|
64
|
-
type: "toggleSigned";
|
|
65
|
-
params: NonReducibleUnknown;
|
|
66
|
-
};
|
|
67
63
|
resetContext: {
|
|
68
64
|
type: "resetContext";
|
|
69
65
|
params: NonReducibleUnknown;
|
|
70
66
|
};
|
|
67
|
+
toggleSigned: {
|
|
68
|
+
type: "toggleSigned";
|
|
69
|
+
params: NonReducibleUnknown;
|
|
70
|
+
};
|
|
71
71
|
}>, {
|
|
72
72
|
type: "canSubmit";
|
|
73
73
|
params: unknown;
|
|
74
|
-
}, never, "error" | "idle" | "closed" | "finished" | "
|
|
74
|
+
}, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
75
75
|
readonly id: "mandatoryConsent";
|
|
76
76
|
readonly initial: "idle";
|
|
77
77
|
readonly context: ({ input }: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { s as isWasmMotionPrimedForModule } from "./permissionServices-DIaG8BlW.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;
|
|
@@ -29,6 +29,27 @@ function isWasmMotionPrimedForModule() {
|
|
|
29
29
|
//#endregion
|
|
30
30
|
//#region src/internal/permissions/permissionServices.ts
|
|
31
31
|
/**
|
|
32
|
+
* Whether the current browser still needs an explicit user gesture before the
|
|
33
|
+
* Deepsight motion pipeline can be primed. This is true only for an unresolved
|
|
34
|
+
* iOS DeviceMotion permission; browsers without the iOS permission API report
|
|
35
|
+
* `hasPermission` immediately.
|
|
36
|
+
*
|
|
37
|
+
* Read from `mapState` as well as from a machine guard, so note the contract:
|
|
38
|
+
* it derives from session state (the WASM prime memo and the two
|
|
39
|
+
* `motionSensorsPermissions*` session flags) rather than machine context.
|
|
40
|
+
* That stays correct because every production caller that can write those
|
|
41
|
+
* flags runs within manager or machine permission orchestration and is followed
|
|
42
|
+
* by an actor transition. The mapped value is therefore re-derived before the
|
|
43
|
+
* UI can act on it. Keep that true: a writer reachable without a transition
|
|
44
|
+
* would let this value go stale, and it would then have to move into context
|
|
45
|
+
* and be assigned explicitly.
|
|
46
|
+
*/
|
|
47
|
+
function requiresMotionPermissionUserGesture(ds) {
|
|
48
|
+
if (ds !== true || isWasmMotionPrimedForModule()) return false;
|
|
49
|
+
const motionSensor = new MotionSensorProvider();
|
|
50
|
+
return !motionSensor.hasPermission && !motionSensor.hasMotionPermissionDeniedThisSession();
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
32
53
|
* Deliberately reads only the caller-supplied flag. Do not fold the camera grant
|
|
33
54
|
* memo in here: an earlier version OR'd in a session-cached grant, which made
|
|
34
55
|
* Firefox for Android skip camera acquisition entirely (PR #726). Motion priming
|
|
@@ -103,6 +124,16 @@ async function primeWasmMotionSensor(motionSensor = new MotionSensorProvider())
|
|
|
103
124
|
}
|
|
104
125
|
}
|
|
105
126
|
/**
|
|
127
|
+
* Requests motion sensor permission. Must be called during a user gesture on iOS.
|
|
128
|
+
* Also primes the WASM motion sensor pipeline (rsp/ssl) in the same activation.
|
|
129
|
+
*/
|
|
130
|
+
async function requestMotionPermission() {
|
|
131
|
+
const motionSensor = new MotionSensorProvider();
|
|
132
|
+
const result = await resolveMotionOsPermission(motionSensor);
|
|
133
|
+
if (result === "granted" || result === "not-required") await primeWasmMotionSensor(motionSensor);
|
|
134
|
+
return result;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
106
137
|
* Requests camera permission by attempting to access the camera, then immediately
|
|
107
138
|
* stops the obtained stream. When `requestMotion` is true (deepsight), requests
|
|
108
139
|
* motion OS permission, primes WASM sensors, then camera — all in one user gesture
|
|
@@ -139,4 +170,4 @@ async function invokeRequestPermissionActor(input) {
|
|
|
139
170
|
return requestPermission({ requestMotion: true });
|
|
140
171
|
}
|
|
141
172
|
//#endregion
|
|
142
|
-
export {
|
|
173
|
+
export { requestPermission as a, resetWasmMotionPrimedForModule as c, requestMotionPermission as i, queryCameraPermission as l, invokeRequestPermissionActor as n, requiresMotionPermissionUserGesture as o, primeMotionFromUserGestureIfNeeded as r, isWasmMotionPrimedForModule as s, checkPermission as t };
|
package/dist/personhood.esm.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-
|
|
1
|
+
import { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-u_1BvGyG.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-C511Hltw.esm.js";
|
|
3
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
3
|
+
import { l as BrowserStorageProvider } from "./setup-CxWhwhR4.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
5
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
6
6
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
7
|
-
import { b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, v as getThumbmarkId, y as getDeviceFingerprintInfo } from "./sessionInitializer-
|
|
7
|
+
import { b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, v as getThumbmarkId, y as getDeviceFingerprintInfo } from "./sessionInitializer-CbiYYpts.esm.js";
|
|
8
8
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
9
9
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
10
10
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
11
11
|
import { i as requestCameraAccess, o as stopCameraStream } from "./camera-sIa9ceW2.esm.js";
|
|
12
|
-
import {
|
|
13
|
-
import { i as initializeDeepsightSession, o as startDetection, s as stopStream, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
12
|
+
import { a as requestPermission, t as checkPermission } from "./permissionServices-DIaG8BlW.esm.js";
|
|
13
|
+
import { i as initializeDeepsightSession, o as startDetection, s as stopStream, t as FaceDetectionProvider } from "./FaceDetectionProvider-C89CMNo4.esm.js";
|
|
14
14
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
15
15
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.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 NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-CIqNGvA2.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
1
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-u_1BvGyG.esm.js";
|
|
2
2
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
3
3
|
import { C as createEventBus } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-C511Hltw.esm.js";
|
|
2
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
2
|
+
import { l as BrowserStorageProvider } from "./setup-CxWhwhR4.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
6
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-k-X7CxIe.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Dh2Ig4Xf.esm.js";
|
|
8
8
|
import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-BjoMVvya.esm.js";
|
|
9
9
|
import { r as processFace } from "./selfieErrorUtils-yjRptLFi.esm.js";
|
|
10
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
11
|
-
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-
|
|
10
|
+
import { t as selfieMachine } from "./selfieStateMachine-CQywIVnt.esm.js";
|
|
11
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-Cr6NTc5u.esm.js";
|
|
12
12
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BjzPjJ_p.esm.js";
|
|
13
13
|
/**
|
|
14
14
|
* Selfie state machine variant for the captureOnly flow. Shares the full base
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-C511Hltw.esm.js";
|
|
2
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
2
|
+
import { l as BrowserStorageProvider } from "./setup-CxWhwhR4.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Dh2Ig4Xf.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-CQywIVnt.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieActor.ts
|
|
8
8
|
function createSelfieActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
3
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { c as isOnDeviceMode } from "./FaceDetectionProvider-
|
|
3
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-k-X7CxIe.esm.js";
|
|
4
|
+
import { c as isOnDeviceMode } from "./FaceDetectionProvider-C89CMNo4.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
6
6
|
import { n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-yjRptLFi.esm.js";
|
|
7
7
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as noteSessionCreated, l as trueSightLog } from "./trueSightService-
|
|
1
|
+
import { g as noteSessionCreated, l as trueSightLog } from "./trueSightService-u_1BvGyG.esm.js";
|
|
2
2
|
import { n as getApi } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import "./sessionInitializer-
|
|
3
|
+
import "./sessionInitializer-CbiYYpts.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
5
|
-
import { i as toIncodeApiError } from "./apiError
|
|
5
|
+
import { i as toIncodeApiError } from "./apiError--461tFhC.esm.js";
|
|
6
6
|
//#region src/internal/session/sessionService.ts
|
|
7
7
|
/**
|
|
8
8
|
* HTTP status codes the QR validation endpoint emits, keyed by their semantic
|
package/dist/session.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as getToken } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { r as subscribeHttpErrors } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
3
|
-
import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-
|
|
4
|
-
import { t as IncodeApiError } from "./apiError
|
|
5
|
-
import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-
|
|
6
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
3
|
+
import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-CbiYYpts.esm.js";
|
|
4
|
+
import { t as IncodeApiError } from "./apiError--461tFhC.esm.js";
|
|
5
|
+
import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-DrUz2_20.esm.js";
|
|
6
|
+
import { n as getFinishStatus } from "./flowCompletionService-JPDXGKJ8.esm.js";
|
|
7
7
|
//#region src/internal/session/sessionExpired.ts
|
|
8
8
|
var SessionExpiredError = class extends Error {
|
|
9
9
|
constructor() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as fetchFeatureConfig, f as isFeatureEnabled, h as noteEnvironment, l as trueSightLog, p as resetFeatureConfigCache, s as startTrueSightCollection, v as noteTokenActivated } from "./trueSightService-
|
|
2
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
1
|
+
import { d as fetchFeatureConfig, f as isFeatureEnabled, h as noteEnvironment, l as trueSightLog, p as resetFeatureConfigCache, s as startTrueSightCollection, v as noteTokenActivated } from "./trueSightService-u_1BvGyG.esm.js";
|
|
2
|
+
import { E as updateFeatureManagementUser } from "./feature-management-CsbKOlcs.esm.js";
|
|
3
3
|
import { c as setToken, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
4
|
import { v as addEvent, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-Cwcmdjym.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
7
7
|
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-CZcy2J53.esm.js";
|
|
8
8
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-B2iFDql1.esm.js";
|