@incodetech/core 2.3.0-rc.8 → 2.3.0
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-5-MGxBk6.esm.js → BrowserDiagnosticsCryptoProvider-BuzqvbhN.esm.js} +6 -24
- package/dist/{FaceDetectionProvider-DypXyX5c.esm.js → FaceDetectionProvider-Lb6i4Ilt.esm.js} +7 -7
- package/dist/{MotionSensorProvider-BgTYwg9L.esm.js → MotionSensorProvider-DyhbM4Si.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-4Pik-5MI.esm.js → apiError-Dkl9_HOx.esm.js} +1 -1
- package/dist/authentication.d.ts +2 -2
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DcTHmYmL.d.ts → authenticationManager-B23V74p7.d.ts} +1 -1
- package/dist/{authenticationManager-DOINObSm.esm.js → authenticationManager-C7BaQC99.esm.js} +4 -4
- package/dist/{authenticationStateMachine-BIFwZ10i.esm.js → authenticationStateMachine-CW7a9qpV.esm.js} +3 -3
- package/dist/camera.esm.js +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-3Pbtj-RV.d.ts → consentManager-uhDPdU6i.d.ts} +4 -4
- package/dist/{createCameraCycleOwnership-CX3hJGKc.esm.js → createCameraCycleOwnership-DnwTl1ad.esm.js} +6 -1
- package/dist/{deepsightLoader-DkFE8YIF.esm.js → deepsightLoader-DgaaacGJ.esm.js} +6 -6
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-BeR7ttQy.esm.js → documentCaptureManager-BRPxqYD2.esm.js} +1 -1
- package/dist/{documentCaptureManager-DD0qtFdE.d.ts → documentCaptureManager-W7ZXcuvL.d.ts} +14 -0
- package/dist/{documentCaptureStateMachine-C_8bQ3fw.esm.js → documentCaptureStateMachine-D312sSIu.esm.js} +12 -7
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-CBULYDVK.esm.js → dynamicFormsManager-Cm33oGqC.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-BZOa354n.esm.js → dynamicFormsStateMachine-4EVsg15i.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-TkRpTfhD.esm.js → ekybManager-CgjQ2Thl.esm.js} +1 -1
- package/dist/{ekybStateMachine-CsNFTbTv.esm.js → ekybStateMachine-Dwgt5Dqa.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-D_EKcYMu.esm.js → electronicSignatureManager-DGEUq9nY.esm.js} +1 -1
- package/dist/extensibility.d.ts +7 -7
- package/dist/extensibility.esm.js +12 -12
- package/dist/{faceCaptureManagerFactory-vZTG70oT.esm.js → faceCaptureManagerFactory-3x7qaM76.esm.js} +3 -3
- package/dist/{faceCaptureManagerFactory-Cx-8SqRy.d.ts → faceCaptureManagerFactory-DMLstvui.d.ts} +35 -3
- package/dist/{faceCaptureSetup-DJuqgytw.esm.js → faceCaptureSetup-CJzsvv1I.esm.js} +10 -9
- package/dist/{feature-management-CZ-nMsqU.esm.js → feature-management-BG6sf4O4.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-tBWtQeo7.esm.js → flowCompletionService-BusrkMdp.esm.js} +1 -1
- package/dist/{flowServices-CAgj_Her.esm.js → flowServices-pIc1cq8q.esm.js} +5 -5
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CVuxiwBM.esm.js → geolocationManager-BbgMboZ-.esm.js} +1 -1
- package/dist/{geolocationStateMachine-CQqZ5gcL.esm.js → geolocationStateMachine-Bixn87pI.esm.js} +1 -1
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +9 -10
- package/dist/id.d.ts +1 -1
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-bznawUFX.esm.js → idCaptureDefaults-BmnsDgZZ.esm.js} +3 -3
- package/dist/{idCaptureManager-De7O0TOD.d.ts → idCaptureManager-BaHEyQyr.d.ts} +0 -1
- package/dist/{idCaptureManager-DptfJ9IG.esm.js → idCaptureManager-BpdRLyqZ.esm.js} +5 -5
- package/dist/{idCaptureServices-BEJ8nz7l.esm.js → idCaptureServices-Di_APvz_.esm.js} +9 -8
- package/dist/{idCaptureStateMachine-Cx0T0ARJ.esm.js → idCaptureStateMachine-hY-RpDH_.esm.js} +14 -14
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-vhv1co_n.d.ts → mandatoryConsentManager-Csfl7_XQ.d.ts} +4 -4
- package/dist/{multipartRecordingService-CuXLH4tK.esm.js → multipartRecordingService-mwKFTlhR.esm.js} +733 -15
- 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/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-D22IPoPN.esm.js → runChildModule-kZQwHJ21.esm.js} +1 -1
- package/dist/{safeStorage-B-trhxg6.esm.js → safeStorage-BdU9_m2E.esm.js} +1 -1
- package/dist/{sdkVersion-CRxt5823.esm.js → sdkVersion-KY79FtZx.esm.js} +1 -1
- package/dist/selfie.d.ts +2 -2
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieManager-DfH-2r_c.esm.js → selfieManager-Bjane9c3.esm.js} +4 -4
- package/dist/{selfieManager-jXqwqosi.d.ts → selfieManager-CDCTOrcg.d.ts} +1 -1
- package/dist/{selfieStateMachine-DPnxoVg_.esm.js → selfieStateMachine-OsbjyRR6.esm.js} +3 -3
- package/dist/{session-CVnTjODB.esm.js → session-D4EAR74k.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-C9m14Xqj.esm.js → sessionInitializer-BqGb0lFN.esm.js} +3 -3
- package/dist/{setup-COWDO2Xv.esm.js → setup-Cc6MzR5Q.esm.js} +7 -57
- package/dist/{setup-CLfBztP0.d.ts → setup-Cyko6cAn.d.ts} +4 -17
- package/dist/{trueSightService-DOiLWpRP.esm.js → trueSightService-Di5RGIls.esm.js} +16 -554
- package/dist/video-selfie.d.ts +61 -3
- package/dist/video-selfie.esm.js +60 -14
- package/dist/{videoSelfieCameraWarmer-Dq9ffySJ.esm.js → videoSelfieCameraWarmer-PV8PLwmD.esm.js} +5 -5
- package/dist/{videoSelfieStepDetector-Co0Gu2k2.d.ts → videoSelfieStepDetector-CAqAG2G3.d.ts} +49 -0
- 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 -3
- package/dist/{wasmDsFlagSync-B2e8p268.esm.js → wasmDsFlagSync-DYrLUEII.esm.js} +1 -1
- package/dist/workflow.esm.js +15 -15
- package/package.json +2 -7
- package/dist/FaceDetectionProvider-LdZ47bWy.d.ts +0 -36
- package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +0 -42
- package/dist/personhood.d.ts +0 -538
- package/dist/personhood.esm.js +0 -1574
- package/dist/types-BT_Oalip.d.ts +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as isWasmMotionPrimedForModule } from "./permissionServices-
|
|
1
|
+
import { a as isWasmMotionPrimedForModule } from "./permissionServices-EY3_Vx6c.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-BdU9_m2E.esm.js";
|
|
2
2
|
import { n as isAndroidWebView } from "./platform-DkcRc9JV.esm.js";
|
|
3
|
-
import { t as MotionSensorProvider } from "./MotionSensorProvider-
|
|
3
|
+
import { t as MotionSensorProvider } from "./MotionSensorProvider-DyhbM4Si.esm.js";
|
|
4
4
|
import { c as isCameraGrantedInDocument, i as requestCameraAccess, o as stopCameraStream, s as clearCameraGrantedInDocument } from "./camera-sIa9ceW2.esm.js";
|
|
5
5
|
//#region ../infra/src/media/permissions.ts
|
|
6
6
|
async function queryPermission(name) {
|
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-DGEUq9nY.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-Di5RGIls.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-BuFLFuzz.esm.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as wasmCallWrapper, s as ML_CALL_MAX_POLLS } from "./wasmWebClient-B7baE-Wf.esm.js";
|
|
2
|
-
import { a as waitForWasm, n as getWasmStatus, o as warmupWasm, r as isWasmReady, s as wasmRuntime } from "./warmup-
|
|
2
|
+
import { a as waitForWasm, n as getWasmStatus, o as warmupWasm, r as isWasmReady, s as wasmRuntime } from "./warmup-ChDwHSel.esm.js";
|
|
3
3
|
//#region ../infra/src/wasm/utilityWasmApi.ts
|
|
4
4
|
/**
|
|
5
5
|
* Utility / metadata domain facade over {@link WasmRuntime}.
|
package/dist/selfie.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
2
|
-
import { _ as SelfieCaptureOnlyConfig, a as SelfieCaptureOnlyMachine, c as SelfieActor, g as processFace, h as ProcessFaceResponse, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, v as SelfieConfig } from "./faceCaptureManagerFactory-
|
|
2
|
+
import { _ as SelfieCaptureOnlyConfig, a as SelfieCaptureOnlyMachine, c as SelfieActor, g as processFace, h as ProcessFaceResponse, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, v as SelfieConfig } from "./faceCaptureManagerFactory-DMLstvui.js";
|
|
3
3
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
4
4
|
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-Bnl58jUQ.js";
|
|
5
5
|
import { n as DeepsightService } from "./StreamCanvasCapture-_8gdW5Lk.js";
|
|
6
6
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
7
|
-
import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-
|
|
7
|
+
import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-CDCTOrcg.js";
|
|
8
8
|
//#region src/modules/selfie/selfieCaptureOnlyManager.d.ts
|
|
9
9
|
type SelfieCaptureOnlyState = FaceCaptureManagerState;
|
|
10
10
|
type SelfieCaptureOnlyManager = FaceCaptureManager;
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { r as WasmUtilProvider } from "./safeStorage-
|
|
2
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { r as WasmUtilProvider } from "./safeStorage-BdU9_m2E.esm.js";
|
|
2
|
+
import { l as BrowserStorageProvider } from "./setup-Cc6MzR5Q.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
8
|
-
import { s as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-
|
|
6
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-CJzsvv1I.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-3x7qaM76.esm.js";
|
|
8
|
+
import { s as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-DnwTl1ad.esm.js";
|
|
9
9
|
import { r as processFace } from "./selfieErrorUtils-UiQ46EBa.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-OsbjyRR6.esm.js";
|
|
11
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-Bjane9c3.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
|
-
import { r as WasmUtilProvider } from "./safeStorage-
|
|
2
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { r as WasmUtilProvider } from "./safeStorage-BdU9_m2E.esm.js";
|
|
2
|
+
import { l as BrowserStorageProvider } from "./setup-Cc6MzR5Q.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-3x7qaM76.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-OsbjyRR6.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieActor.ts
|
|
8
8
|
function createSelfieActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
3
|
-
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-DMLstvui.js";
|
|
4
4
|
//#region src/modules/selfie/selfieManager.d.ts
|
|
5
5
|
type SelfieState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
3
|
-
import { n as createDefaultProtectedFaceControllerActor, r as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { c as isOnDeviceMode } from "./FaceDetectionProvider-
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, r as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-CJzsvv1I.esm.js";
|
|
4
|
+
import { c as isOnDeviceMode } from "./FaceDetectionProvider-Lb6i4Ilt.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
6
|
-
import { s as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-
|
|
6
|
+
import { s as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-DnwTl1ad.esm.js";
|
|
7
7
|
import { i as uploadManualSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-UiQ46EBa.esm.js";
|
|
8
8
|
//#region src/modules/selfie/selfieStateMachine.ts
|
|
9
9
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as noteSessionCreated, l as trueSightLog } from "./trueSightService-
|
|
1
|
+
import { g as noteSessionCreated, l as trueSightLog } from "./trueSightService-Di5RGIls.esm.js";
|
|
2
2
|
import { n as getApi } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import "./sessionInitializer-
|
|
3
|
+
import "./sessionInitializer-BqGb0lFN.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-Dkl9_HOx.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,5 +1,5 @@
|
|
|
1
|
-
import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-
|
|
2
|
-
import { t as IncodeApiError } from "./apiError-
|
|
3
|
-
import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-
|
|
4
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
1
|
+
import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-BqGb0lFN.esm.js";
|
|
2
|
+
import { t as IncodeApiError } from "./apiError-Dkl9_HOx.esm.js";
|
|
3
|
+
import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-D4EAR74k.esm.js";
|
|
4
|
+
import { n as getFinishStatus } from "./flowCompletionService-BusrkMdp.esm.js";
|
|
5
5
|
export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, bootstrapSession, createSession, getFinishStatus, initializeSession, refreshQrUrlUuid, validateQrUuid, whenSessionFingerprintSettled };
|
|
@@ -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-Di5RGIls.esm.js";
|
|
2
|
+
import { E as updateFeatureManagementUser } from "./feature-management-BG6sf4O4.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-KY79FtZx.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";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as setWasmOnDeviceMode, o as warmupWasm } from "./warmup-
|
|
3
|
-
import { r as WasmUtilProvider, t as resolveLocalStorage } from "./safeStorage-
|
|
1
|
+
import { D as resolveWasmConfig, S as upgradeToWasmHttpClient$1, b as installFreshHttpClient, l as trueSightLog, o as resetTrueSight, t as finalizeTrueSight, x as resetHttpClientState, y as getStoredHttpConfig } from "./trueSightService-Di5RGIls.esm.js";
|
|
2
|
+
import { i as setWasmOnDeviceMode, o as warmupWasm } from "./warmup-ChDwHSel.esm.js";
|
|
3
|
+
import { r as WasmUtilProvider, t as resolveLocalStorage } from "./safeStorage-BdU9_m2E.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
|
-
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-
|
|
5
|
+
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-BG6sf4O4.esm.js";
|
|
6
6
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
7
|
-
import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken,
|
|
7
|
+
import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
8
8
|
import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
|
|
9
|
-
import { a as resetSessionInit,
|
|
9
|
+
import { a as resetSessionInit, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp } from "./sessionInitializer-BqGb0lFN.esm.js";
|
|
10
10
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
11
11
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-CZcy2J53.esm.js";
|
|
12
12
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-xzRLIIMN.esm.js";
|
|
13
|
-
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-
|
|
13
|
+
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-pIc1cq8q.esm.js";
|
|
14
14
|
//#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
|
|
15
15
|
var BrowserPageLifecycleProvider = class {
|
|
16
16
|
sendBeacon(url, body, contentType = "application/json") {
|
|
@@ -354,44 +354,6 @@ function normalizeEncryption(input) {
|
|
|
354
354
|
}
|
|
355
355
|
let configured = false;
|
|
356
356
|
/**
|
|
357
|
-
* One-line environment facts for TrueSight's snapshot-on-first-error entry
|
|
358
|
-
* (navigator facts read through the L0 provider — core never touches
|
|
359
|
-
* browser globals directly).
|
|
360
|
-
*/
|
|
361
|
-
function buildEnvironmentSnapshot() {
|
|
362
|
-
const environment = new BrowserEnvironmentProvider();
|
|
363
|
-
const read = (property) => {
|
|
364
|
-
try {
|
|
365
|
-
return environment.getNavigatorProperty(property);
|
|
366
|
-
} catch {
|
|
367
|
-
return;
|
|
368
|
-
}
|
|
369
|
-
};
|
|
370
|
-
const connection = read("connection");
|
|
371
|
-
return [
|
|
372
|
-
`connection=${typeof connection?.effectiveType === "string" ? connection.effectiveType : "unknown"}`,
|
|
373
|
-
`saveData=${connection?.saveData === true}`,
|
|
374
|
-
`online=${read("onLine") !== false}`,
|
|
375
|
-
`language=${typeof read("language") === "string" ? String(read("language")) : "unknown"}`
|
|
376
|
-
].join(" ");
|
|
377
|
-
}
|
|
378
|
-
/**
|
|
379
|
-
* ENG-48677 event map row 23b: every Incode HTTP request, success or
|
|
380
|
-
* failure, becomes a self-health line (Android-dashboard parity). Lives here
|
|
381
|
-
* rather than in `api.ts` — `trueSightService` already imports from that
|
|
382
|
-
* module, so a direct `trueSightLog` import there would cycle; `setup()`
|
|
383
|
-
* wires this adapter in as the decoupled observer instead.
|
|
384
|
-
*/
|
|
385
|
-
function logHttpRequestTiming(entry) {
|
|
386
|
-
const category = categoryForEndpoint(entry.endpoint);
|
|
387
|
-
const status = entry.httpStatus ?? "unknown";
|
|
388
|
-
if (entry.outcome === "success") {
|
|
389
|
-
trueSightLog("debug", "http", category, `http request completed endpoint=${entry.endpoint} method=${entry.method} httpStatus=${status} durationMs=${entry.durationMs}`);
|
|
390
|
-
return;
|
|
391
|
-
}
|
|
392
|
-
trueSightLog("error", "http", category, `http request failed endpoint=${entry.endpoint} method=${entry.method} httpStatus=${status} durationMs=${entry.durationMs}`);
|
|
393
|
-
}
|
|
394
|
-
/**
|
|
395
357
|
* Initializes the SDK with the provided configuration.
|
|
396
358
|
* Must be called before using any SDK functionality.
|
|
397
359
|
*
|
|
@@ -547,18 +509,6 @@ async function setup(options) {
|
|
|
547
509
|
pageLifecycle: new BrowserPageLifecycleProvider(),
|
|
548
510
|
timer: BrowserTimerProvider.getInstance()
|
|
549
511
|
}));
|
|
550
|
-
initializeTrueSightDiagnostics({
|
|
551
|
-
enabled: options.trueSight?.enabled !== false,
|
|
552
|
-
pageLifecycle: new BrowserPageLifecycleProvider(),
|
|
553
|
-
timer: BrowserTimerProvider.getInstance(),
|
|
554
|
-
storage: new BrowserStorageProvider(),
|
|
555
|
-
getEnvironmentSnapshot: buildEnvironmentSnapshot
|
|
556
|
-
});
|
|
557
|
-
noteTestingSignals({
|
|
558
|
-
devMode: options.devMode,
|
|
559
|
-
apiUrl: options.apiURL
|
|
560
|
-
});
|
|
561
|
-
setHttpRequestObserver(logHttpRequestTiming);
|
|
562
512
|
const requestedEncryption = normalizeEncryption(options.encryption);
|
|
563
513
|
const stored = getStoredHttpConfig();
|
|
564
514
|
if (requestedEncryption && stored) {
|
|
@@ -252,23 +252,10 @@ type SetupOptions = {
|
|
|
252
252
|
*/
|
|
253
253
|
tri?: TransactionalRiskIntelligenceSetupConfig;
|
|
254
254
|
/**
|
|
255
|
-
* TrueSight diagnostics
|
|
256
|
-
*
|
|
257
|
-
*
|
|
258
|
-
*
|
|
259
|
-
* at the session terminal, uploads ONE encrypted record to the Incode
|
|
260
|
-
* diagnostics backend. Used by Incode to debug customer-reported capture
|
|
261
|
-
* issues. Fire-and-forget and fail-open: it adds no retries, no blocking
|
|
262
|
-
* work, and can never affect the host flow.
|
|
263
|
-
*
|
|
264
|
-
* - `enabled` — set `false` to opt out entirely (no collection, no
|
|
265
|
-
* subscriptions, no upload). Default: `true` (native SDK parity). Also
|
|
266
|
-
* subject to a server-side kill-switch; an explicit server `false` stops
|
|
267
|
-
* collection remotely regardless of this option.
|
|
268
|
-
*
|
|
269
|
-
* Decided by the first `setup()` call of the SDK lifecycle; later `setup()`
|
|
270
|
-
* calls cannot re-enable or disable it mid-session. Call `reset()` to start
|
|
271
|
-
* a new lifecycle with a different value.
|
|
255
|
+
* TrueSight diagnostics are temporarily unavailable while secure log
|
|
256
|
+
* encryption is implemented. This option remains accepted for compatibility;
|
|
257
|
+
* neither `enabled: true` nor a server flag can activate diagnostics.
|
|
258
|
+
* Regular SDK analytics are unaffected.
|
|
272
259
|
*/
|
|
273
260
|
trueSight?: {
|
|
274
261
|
enabled?: boolean;
|