@incodetech/core 2.3.0-rc.9 → 2.3.1-rc.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-HO8YXP4h.esm.js → BrowserDiagnosticsCryptoProvider-BuzqvbhN.esm.js} +6 -24
- package/dist/{FaceDetectionProvider-C7bUZsH9.esm.js → FaceDetectionProvider-D8jRHN4h.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-BWlcyGbw.esm.js → apiError-DU8CQkWE.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-B321A87w.esm.js → authenticationManager-CUsBXKYS.esm.js} +4 -4
- package/dist/{authenticationStateMachine-CSJtf13E.esm.js → authenticationStateMachine-DSw9ZBW1.esm.js} +3 -3
- package/dist/camera.esm.js +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-uhDPdU6i.d.ts → consentManager-3Pbtj-RV.d.ts} +4 -4
- package/dist/{createCameraCycleOwnership-CX3hJGKc.esm.js → createCameraCycleOwnership-DnwTl1ad.esm.js} +6 -1
- package/dist/{deepsightLoader-FOktaF-9.esm.js → deepsightLoader-RUDydHLN.esm.js} +6 -6
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-pprJUhsN.esm.js → documentCaptureManager-BRPxqYD2.esm.js} +1 -1
- package/dist/{documentCaptureManager-W7ZXcuvL.d.ts → documentCaptureManager-lEtCM320.d.ts} +1 -1
- package/dist/{documentCaptureStateMachine-DN2YOxdu.esm.js → documentCaptureStateMachine-D312sSIu.esm.js} +2 -2
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-Pj67RmHb.esm.js → dynamicFormsManager-cCuCjj3D.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-B00MVHEa.esm.js → dynamicFormsStateMachine-BCfL75y-.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-CovxKSIS.esm.js → ekybManager-BFopv4w_.esm.js} +1 -1
- package/dist/{ekybStateMachine-DHCg1B5d.esm.js → ekybStateMachine-CzQJIO_S.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-BnlLBzH6.esm.js → electronicSignatureManager-BtqP3PP0.esm.js} +1 -1
- package/dist/extensibility.d.ts +8 -8
- package/dist/extensibility.esm.js +18 -12
- package/dist/{faceCaptureManagerFactory-DTqP1t1a.esm.js → faceCaptureManagerFactory-D3AFxvhp.esm.js} +3 -3
- package/dist/{faceCaptureManagerFactory-Cx-8SqRy.d.ts → faceCaptureManagerFactory-DMLstvui.d.ts} +35 -3
- package/dist/{faceCaptureSetup-DfetEHJm.esm.js → faceCaptureSetup-n-MV8oxe.esm.js} +10 -9
- package/dist/{feature-management-BjROP6fF.esm.js → feature-management-Dcf2FRH5.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-iyH7fw8r.esm.js → flowCompletionService-CbWu7-Vz.esm.js} +1 -1
- package/dist/{flowServices-C8CBt9j3.esm.js → flowServices-CNiY5wWB.esm.js} +5 -5
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-DQ5tHq5k.esm.js → geolocationManager-b5jPIMXO.esm.js} +1 -1
- package/dist/{geolocationStateMachine-BfNIvTHA.esm.js → geolocationStateMachine-DAy93DQ2.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-DCmwAxkz.esm.js → idCaptureDefaults-DVLnrTXL.esm.js} +3 -3
- package/dist/{idCaptureManager-De7O0TOD.d.ts → idCaptureManager-BaHEyQyr.d.ts} +0 -1
- package/dist/{idCaptureManager-C4gJNe18.esm.js → idCaptureManager-CX3VtrbH.esm.js} +5 -5
- package/dist/{idCaptureServices-CPh--aZR.esm.js → idCaptureServices-PENQKldj.esm.js} +9 -8
- package/dist/{idCaptureStateMachine-Du4Q40uJ.esm.js → idCaptureStateMachine-C24Jr35L.esm.js} +22 -18
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-v2TH5g7e.d.ts → identityReuseManager-BFDI7iFK.d.ts} +4 -4
- 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-2O5wztkg.d.ts → mandatoryConsentManager-vhv1co_n.d.ts} +4 -4
- package/dist/{multipartRecordingService-DDAOXQKm.esm.js → multipartRecordingService-mwKFTlhR.esm.js} +730 -8
- 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-CHjWYSMf.esm.js → runChildModule-AxF5Q7ag.esm.js} +1 -1
- package/dist/{safeStorage-B-trhxg6.esm.js → safeStorage-BdU9_m2E.esm.js} +1 -1
- package/dist/{sdkVersion-DCLQtexS.esm.js → sdkVersion-BJa98tGj.esm.js} +1 -1
- package/dist/selfie.d.ts +2 -2
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieManager-jXqwqosi.d.ts → selfieManager-CDCTOrcg.d.ts} +1 -1
- package/dist/{selfieManager-ys-X4hkv.esm.js → selfieManager-DbTr8xIj.esm.js} +4 -4
- package/dist/{selfieStateMachine-BhzbXmKN.esm.js → selfieStateMachine-ZL9XxTzt.esm.js} +3 -3
- package/dist/{session-oKiwoHdR.esm.js → session-RRyJOWnS.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-DSf0jyab.esm.js → sessionInitializer-Dibh2aVX.esm.js} +4 -10
- package/dist/{setup-BttZ27hw.esm.js → setup-B7SYuqoY.esm.js} +7 -57
- package/dist/{setup-CLfBztP0.d.ts → setup-Cyko6cAn.d.ts} +4 -17
- package/dist/{trueSightService-C1JG8gAU.esm.js → trueSightService-C8uCAIC0.esm.js} +16 -554
- package/dist/video-selfie.d.ts +61 -3
- package/dist/video-selfie.esm.js +60 -14
- package/dist/{videoSelfieCameraWarmer-BpaLtLvD.esm.js → videoSelfieCameraWarmer-BkqnZgEK.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.d.ts +4 -4
- 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-BtqP3PP0.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-C8uCAIC0.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-B7SYuqoY.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-n-MV8oxe.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-D3AFxvhp.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-ZL9XxTzt.esm.js";
|
|
11
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-DbTr8xIj.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,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
|
-
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-B7SYuqoY.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-D3AFxvhp.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-ZL9XxTzt.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieActor.ts
|
|
8
8
|
function createSelfieActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -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-n-MV8oxe.esm.js";
|
|
4
|
+
import { c as isOnDeviceMode } from "./FaceDetectionProvider-D8jRHN4h.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-C8uCAIC0.esm.js";
|
|
2
2
|
import { n as getApi } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import "./sessionInitializer-
|
|
3
|
+
import "./sessionInitializer-Dibh2aVX.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-DU8CQkWE.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-Dibh2aVX.esm.js";
|
|
2
|
+
import { t as IncodeApiError } from "./apiError-DU8CQkWE.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-RRyJOWnS.esm.js";
|
|
4
|
+
import { n as getFinishStatus } from "./flowCompletionService-CbWu7-Vz.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-C8uCAIC0.esm.js";
|
|
2
|
+
import { E as updateFeatureManagementUser } from "./feature-management-Dcf2FRH5.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-BJa98tGj.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";
|
|
@@ -1602,12 +1602,6 @@ var IpifyProvider = class {
|
|
|
1602
1602
|
}
|
|
1603
1603
|
};
|
|
1604
1604
|
//#endregion
|
|
1605
|
-
//#region src/internal/fingerprint/fingerprintApi.ts
|
|
1606
|
-
async function getFingerprint(disableIpify) {
|
|
1607
|
-
const shouldDisableIpify = disableIpify ?? getDisableIpify();
|
|
1608
|
-
return new FingerprintProvider(new IpifyProvider()).getFingerprint(shouldDisableIpify);
|
|
1609
|
-
}
|
|
1610
|
-
//#endregion
|
|
1611
1605
|
//#region src/internal/device/hasLiedBrowser.ts
|
|
1612
1606
|
function detectBrowserFromUserAgent(userAgent) {
|
|
1613
1607
|
if (userAgent.indexOf("edge/") >= 0 || userAgent.indexOf("iemobile/") >= 0) return "Other";
|
|
@@ -1982,4 +1976,4 @@ function resetSessionInit() {
|
|
|
1982
1976
|
resetDeviceStatsQueue();
|
|
1983
1977
|
}
|
|
1984
1978
|
//#endregion
|
|
1985
|
-
export {
|
|
1979
|
+
export { FingerprintProvider as _, resetSessionInit as a, BrowserEnvironmentProvider as b, setClientIpLookupEnabled as c, registerFlowPreloader as d, resetStandaloneFlowPolicy as f, IpifyProvider as g, isBrowserSimulation as h, initializeSession as i, whenSessionFingerprintSettled as l, setStandaloneFlowPolicy as m, getFingerprintEnabled as n, setClientFingerprintEnabled as o, resolveStandaloneFlowPolicy as p, getSessionFingerprintResult as r, setClientHostingApp as s, getDisableIpify as t, getStandaloneFlowPolicy as u, getThumbmarkId as v, getDeviceFingerprintInfo as y };
|
|
@@ -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-C8uCAIC0.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-Dcf2FRH5.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-Dibh2aVX.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-CNiY5wWB.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;
|