@incodetech/core 0.0.0-dev-20260928-e8e00ca9 → 0.0.0-dev-20260928-85249f77

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.
Files changed (90) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-CglolaLX.esm.js → BrowserDiagnosticsCryptoProvider-BuzqvbhN.esm.js} +6 -24
  2. package/dist/{FaceDetectionProvider-ZWuTisXf.esm.js → FaceDetectionProvider-CSjiXOo7.esm.js} +7 -7
  3. package/dist/{MotionSensorProvider-Bti5f6op.esm.js → MotionSensorProvider-1Ul_1GPn.esm.js} +1 -1
  4. package/dist/ae-signature.esm.js +1 -1
  5. package/dist/{apiError-DqxsUXGC.esm.js → apiError-DmDlw1pl.esm.js} +1 -1
  6. package/dist/authentication.d.ts +2 -2
  7. package/dist/authentication.esm.js +2 -2
  8. package/dist/{authenticationManager-DgCLrxXN.esm.js → authenticationManager-B9l6NeDe.esm.js} +4 -4
  9. package/dist/{authenticationManager-B-MR_-Si.d.ts → authenticationManager-DE40FMUU.d.ts} +1 -1
  10. package/dist/{authenticationStateMachine-DECsoldb.esm.js → authenticationStateMachine-BGme0djA.esm.js} +3 -3
  11. package/dist/camera.esm.js +1 -1
  12. package/dist/consent.d.ts +1 -1
  13. package/dist/{consentManager-Cv_0QKLD.d.ts → consentManager-CTdFloVJ.d.ts} +1 -1
  14. package/dist/{createCameraCycleOwnership-BjoMVvya.esm.js → createCameraCycleOwnership-P1AtkhRJ.esm.js} +6 -1
  15. package/dist/{deepsightLoader-DidR7w-7.esm.js → deepsightLoader-BY2NIp7n.esm.js} +6 -6
  16. package/dist/document-capture.d.ts +1 -1
  17. package/dist/document-capture.esm.js +2 -2
  18. package/dist/{documentCaptureManager-CbAGkHWh.d.ts → documentCaptureManager-C8eO0hbv.d.ts} +1 -1
  19. package/dist/{documentCaptureManager-7e1RLKhG.esm.js → documentCaptureManager-DRAn04PI.esm.js} +1 -1
  20. package/dist/{documentCaptureStateMachine-DyJb_vDQ.esm.js → documentCaptureStateMachine-BS9VBtqN.esm.js} +2 -2
  21. package/dist/dynamic-forms.esm.js +2 -2
  22. package/dist/{dynamicFormsManager-B5GSLZvO.esm.js → dynamicFormsManager-CTJzsDqC.esm.js} +1 -1
  23. package/dist/{dynamicFormsStateMachine-DAq-HoCA.esm.js → dynamicFormsStateMachine-8oOTouxq.esm.js} +1 -1
  24. package/dist/ekyb.esm.js +3 -3
  25. package/dist/{ekybManager-7ljnpTt2.esm.js → ekybManager-CKNCVYs7.esm.js} +1 -1
  26. package/dist/{ekybStateMachine-CD8oLnoa.esm.js → ekybStateMachine-BDQHv558.esm.js} +1 -1
  27. package/dist/electronic-signature.esm.js +1 -1
  28. package/dist/{electronicSignatureManager-r2Zci23-.esm.js → electronicSignatureManager-BbgLJk1x.esm.js} +1 -1
  29. package/dist/extensibility.d.ts +9 -9
  30. package/dist/extensibility.esm.js +12 -12
  31. package/dist/{faceCaptureManagerFactory-OSygJ72q.esm.js → faceCaptureManagerFactory-DG4z3rkR.esm.js} +3 -3
  32. package/dist/{faceCaptureManagerFactory-BgbP5N1j.d.ts → faceCaptureManagerFactory-s0Vhw_wP.d.ts} +80 -40
  33. package/dist/{faceCaptureSetup-DSvOibxj.esm.js → faceCaptureSetup-GzW2oNiM.esm.js} +261 -58
  34. package/dist/{feature-management-BhzWEsyZ.esm.js → feature-management-02JHuEhD.esm.js} +1 -1
  35. package/dist/feature-management.esm.js +1 -1
  36. package/dist/flow.esm.js +3 -3
  37. package/dist/{flowCompletionService-B-ri1Pvq.esm.js → flowCompletionService-BAg6qc6d.esm.js} +1 -1
  38. package/dist/{flowServices-C62Eyo7N.esm.js → flowServices-Dc-EUuwB.esm.js} +5 -5
  39. package/dist/geolocation.esm.js +2 -2
  40. package/dist/{geolocationManager-BU4OLtRY.esm.js → geolocationManager-v0LZK1kW.esm.js} +1 -1
  41. package/dist/{geolocationStateMachine-D8UrSeXQ.esm.js → geolocationStateMachine-DfdsEj7L.esm.js} +1 -1
  42. package/dist/id-ocr.d.ts +1 -1
  43. package/dist/id-selfie-flow.esm.js +9 -10
  44. package/dist/id.d.ts +2 -2
  45. package/dist/id.esm.js +4 -4
  46. package/dist/{idCaptureDefaults-B6gkShby.esm.js → idCaptureDefaults-Ba-m1uO3.esm.js} +3 -3
  47. package/dist/{idCaptureManager-DIT7ZyEa.esm.js → idCaptureManager-Bfrj7DvH.esm.js} +6 -5
  48. package/dist/{idCaptureManager-poTdJI74.d.ts → idCaptureManager-DfHdJLmj.d.ts} +29 -5
  49. package/dist/{idCaptureServices-Cl67CI_t.esm.js → idCaptureServices-DKeVf0Gu.esm.js} +67 -12
  50. package/dist/{idCaptureStateMachine-BADMFRXg.esm.js → idCaptureStateMachine-BL3MnDOu.esm.js} +222 -77
  51. package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-BTdHlJ9D.d.ts} +1 -1
  52. package/dist/identity-reuse.d.ts +1 -1
  53. package/dist/{identityReuseManager-x2QG6QAm.d.ts → identityReuseManager-D0-4bAeK.d.ts} +1 -1
  54. package/dist/index.d.ts +1 -1
  55. package/dist/index.esm.js +1 -1
  56. package/dist/mandatory-consent.d.ts +1 -1
  57. package/dist/{mandatoryConsentManager-DzIGk6u7.d.ts → mandatoryConsentManager-S94mjtTG.d.ts} +1 -1
  58. package/dist/{multipartRecordingService-Dw0scizg.esm.js → multipartRecordingService-mwKFTlhR.esm.js} +42 -1
  59. package/dist/{permissionGuards-DAyjPT2R.esm.js → permissionGuards-DS36X5Hh.esm.js} +1 -1
  60. package/dist/{permissionServices-DIaG8BlW.esm.js → permissionServices-B9IqVf3c.esm.js} +2 -2
  61. package/dist/qe-signature.esm.js +1 -1
  62. package/dist/{runChildModule-CoWvzHhB.esm.js → runChildModule-DQbERvPv.esm.js} +1 -1
  63. package/dist/{safeStorage-C511Hltw.esm.js → safeStorage-Q_iUpxa8.esm.js} +1 -1
  64. package/dist/{sdkVersion-sSFpdmZk.esm.js → sdkVersion-kGZmwBhf.esm.js} +1 -1
  65. package/dist/selfie.d.ts +2 -2
  66. package/dist/selfie.esm.js +7 -7
  67. package/dist/{selfieManager-Be-moOeO.esm.js → selfieManager-B-F-lrAH.esm.js} +4 -4
  68. package/dist/{selfieManager-oSsnyvBl.d.ts → selfieManager-PVc2k2Oq.d.ts} +1 -1
  69. package/dist/{selfieStateMachine-0bHX1R9_.esm.js → selfieStateMachine--KjoErrq.esm.js} +2 -2
  70. package/dist/{session-DjUhUWYA.esm.js → session-Bb5KuwEu.esm.js} +3 -3
  71. package/dist/session.esm.js +4 -4
  72. package/dist/{sessionInitializer-_BmsjkUB.esm.js → sessionInitializer-D-gzxDwN.esm.js} +4 -4
  73. package/dist/{setup-CHHZ8BBM.d.ts → setup-BdeKbA9K.d.ts} +4 -17
  74. package/dist/{setup-D7B4g7Jc.esm.js → setup-Cb7Ws1HA.esm.js} +8 -58
  75. package/dist/{tri-4RsGrIt6.esm.js → tri-xzRLIIMN.esm.js} +0 -10
  76. package/dist/tri.esm.js +1 -1
  77. package/dist/{trueSightService-Bb116pCE.esm.js → trueSightService-D8dk4ZID.esm.js} +16 -554
  78. package/dist/video-selfie.esm.js +5 -5
  79. package/dist/{videoSelfieCameraWarmer-CeZLd5w_.esm.js → videoSelfieCameraWarmer-CkdLS8NK.esm.js} +5 -5
  80. package/dist/{warmup-REsua-sF.esm.js → warmup-DLq_t-Zu.esm.js} +5 -0
  81. package/dist/wasm.d.ts +1 -1
  82. package/dist/wasm.esm.js +3 -3
  83. package/dist/{wasmDsFlagSync-Czjlp68o.esm.js → wasmDsFlagSync-DyNj8RY_.esm.js} +1 -1
  84. package/dist/workflow.esm.js +15 -15
  85. package/package.json +2 -7
  86. package/dist/FaceDetectionProvider-Di1DmZu1.d.ts +0 -36
  87. package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +0 -42
  88. package/dist/personhood.d.ts +0 -537
  89. package/dist/personhood.esm.js +0 -1574
  90. package/dist/types-CfuWgAi-.d.ts +0 -1
@@ -1,9 +1,9 @@
1
- import { r as WasmUtilProvider } from "./safeStorage-C511Hltw.esm.js";
2
- import { l as BrowserStorageProvider } from "./setup-D7B4g7Jc.esm.js";
1
+ import { r as WasmUtilProvider } from "./safeStorage-Q_iUpxa8.esm.js";
2
+ import { l as BrowserStorageProvider } from "./setup-Cb7Ws1HA.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-OSygJ72q.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-0bHX1R9_.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DG4z3rkR.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine--KjoErrq.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-C9T5amUN.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-BgbP5N1j.js";
3
+ import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-s0Vhw_wP.js";
4
4
  //#region src/modules/selfie/selfieManager.d.ts
5
5
  type SelfieState = FaceCaptureManagerState;
6
6
  /**
@@ -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-DSvOibxj.esm.js";
4
- import { c as isOnDeviceMode } from "./FaceDetectionProvider-ZWuTisXf.esm.js";
3
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-GzW2oNiM.esm.js";
4
+ import { c as isOnDeviceMode } from "./FaceDetectionProvider-CSjiXOo7.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-Bb116pCE.esm.js";
1
+ import { g as noteSessionCreated, l as trueSightLog } from "./trueSightService-D8dk4ZID.esm.js";
2
2
  import { n as getApi } from "./api-Bx3gKW_y.esm.js";
3
- import "./sessionInitializer-_BmsjkUB.esm.js";
3
+ import "./sessionInitializer-D-gzxDwN.esm.js";
4
4
  import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
5
- import { i as toIncodeApiError } from "./apiError-DqxsUXGC.esm.js";
5
+ import { i as toIncodeApiError } from "./apiError-DmDlw1pl.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
@@ -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-_BmsjkUB.esm.js";
4
- import { t as IncodeApiError } from "./apiError-DqxsUXGC.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-DjUhUWYA.esm.js";
6
- import { n as getFinishStatus } from "./flowCompletionService-B-ri1Pvq.esm.js";
3
+ import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-D-gzxDwN.esm.js";
4
+ import { t as IncodeApiError } from "./apiError-DmDlw1pl.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-Bb5KuwEu.esm.js";
6
+ import { n as getFinishStatus } from "./flowCompletionService-BAg6qc6d.esm.js";
7
7
  //#region src/internal/session/sessionExpired.ts
8
8
  var SessionExpiredError = class extends Error {
9
9
  constructor() {
@@ -1,14 +1,14 @@
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-Bb116pCE.esm.js";
2
- import { E as updateFeatureManagementUser } from "./feature-management-BhzWEsyZ.esm.js";
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-D8dk4ZID.esm.js";
2
+ import { E as updateFeatureManagementUser } from "./feature-management-02JHuEhD.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-sSFpdmZk.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-kGZmwBhf.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";
9
9
  import { a as isIOS } from "./platform-DkcRc9JV.esm.js";
10
10
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
11
- import { i as linkSessionWithTRI, r as isTRIStarted } from "./tri-4RsGrIt6.esm.js";
11
+ import { i as linkSessionWithTRI, r as isTRIStarted } from "./tri-xzRLIIMN.esm.js";
12
12
  //#region ../infra/src/providers/browser/BrowserEnvironmentProvider.ts
13
13
  var BrowserEnvironmentProvider = class {
14
14
  getScreenDimensions() {
@@ -246,23 +246,10 @@ type SetupOptions = {
246
246
  */
247
247
  tri?: TransactionalRiskIntelligenceSetupConfig;
248
248
  /**
249
- * TrueSight diagnostics — Incode-internal SDK-health telemetry
250
- * (engineering-only dashboard, not customer analytics). During a session
251
- * the SDK buffers sanitized, structured diagnostic breadcrumbs (module
252
- * outcomes, error codes, timings — never PII, never captured images) and,
253
- * at the session terminal, uploads ONE encrypted record to the Incode
254
- * diagnostics backend. Used by Incode to debug customer-reported capture
255
- * issues. Fire-and-forget and fail-open: it adds no retries, no blocking
256
- * work, and can never affect the host flow.
257
- *
258
- * - `enabled` — set `false` to opt out entirely (no collection, no
259
- * subscriptions, no upload). Default: `true` (native SDK parity). Also
260
- * subject to a server-side kill-switch; an explicit server `false` stops
261
- * collection remotely regardless of this option.
262
- *
263
- * Decided by the first `setup()` call of the SDK lifecycle; later `setup()`
264
- * calls cannot re-enable or disable it mid-session. Call `reset()` to start
265
- * a new lifecycle with a different value.
249
+ * TrueSight diagnostics are temporarily unavailable while secure log
250
+ * encryption is implemented. This option remains accepted for compatibility;
251
+ * neither `enabled: true` nor a server flag can activate diagnostics.
252
+ * Regular SDK analytics are unaffected.
266
253
  */
267
254
  trueSight?: {
268
255
  enabled?: boolean;
@@ -1,16 +1,16 @@
1
- import { C as upgradeToWasmHttpClient$1, S as resetHttpClientState, _ as noteTestingSignals, b as getStoredHttpConfig, k as resolveWasmConfig, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as installFreshHttpClient } from "./trueSightService-Bb116pCE.esm.js";
2
- import { i as setWasmOnDeviceMode, o as warmupWasm } from "./warmup-REsua-sF.esm.js";
3
- import { r as WasmUtilProvider, t as resolveLocalStorage } from "./safeStorage-C511Hltw.esm.js";
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-D8dk4ZID.esm.js";
2
+ import { i as setWasmOnDeviceMode, o as warmupWasm } from "./warmup-DLq_t-Zu.esm.js";
3
+ import { r as WasmUtilProvider, t as resolveLocalStorage } from "./safeStorage-Q_iUpxa8.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-BhzWEsyZ.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-02JHuEhD.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, s as setHttpRequestObserver, t as api } from "./api-Bx3gKW_y.esm.js";
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, b as BrowserEnvironmentProvider, 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-_BmsjkUB.esm.js";
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-D-gzxDwN.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
- import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
13
- import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-C62Eyo7N.esm.js";
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-Dc-EUuwB.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) {
@@ -128,8 +128,6 @@ var TransactionalRiskIntelligenceProvider = class TransactionalRiskIntelligenceP
128
128
  };
129
129
  //#endregion
130
130
  //#region src/integrations/tri/tri.ts
131
- const LINK_INTERVIEW_BLOCKED_HOSTS = ["falcon-ingest-k8s.saask8s.incodesmile.com", "falcon-ingest.incodesmile.com"];
132
- let _configuredApiURL;
133
131
  /**
134
132
  * Returns the active TRI capability implementation.
135
133
  *
@@ -157,7 +155,6 @@ function isTRIStarted() {
157
155
  * the `isStarted` flag and lazy-import state.
158
156
  */
159
157
  function resetTRIProviderInstance() {
160
- _configuredApiURL = void 0;
161
158
  TransactionalRiskIntelligenceProvider.resetInstance();
162
159
  }
163
160
  /**
@@ -211,7 +208,6 @@ async function initializeTRI(config, options = {}) {
211
208
  * @returns The resulting {@link TransactionalRiskIntelligenceState}.
212
209
  */
213
210
  async function setupTRI(config) {
214
- _configuredApiURL = config.apiURL;
215
211
  return getProvider().setup(config);
216
212
  }
217
213
  /**
@@ -247,14 +243,8 @@ async function resetTRI() {
247
243
  */
248
244
  async function linkSessionWithTRI(sessionToken) {
249
245
  if (!sessionToken) return false;
250
- if (isLinkInterviewBlocked(_configuredApiURL)) return false;
251
246
  return getProvider().linkInterview(sessionToken);
252
247
  }
253
- function isLinkInterviewBlocked(apiURL) {
254
- if (!apiURL) return true;
255
- const normalized = apiURL.toLowerCase();
256
- return LINK_INTERVIEW_BLOCKED_HOSTS.some((host) => normalized.includes(host));
257
- }
258
248
  /**
259
249
  * @private This function is not used outside of this file.
260
250
  *
package/dist/tri.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as resetTRI, c as startTRI, l as stopTRI, r as isTRIStarted, s as setupTRI, t as createTRISession } from "./tri-4RsGrIt6.esm.js";
1
+ import { a as resetTRI, c as startTRI, l as stopTRI, r as isTRIStarted, s as setupTRI, t as createTRISession } from "./tri-xzRLIIMN.esm.js";
2
2
  export { createTRISession, isTRIStarted, resetTRI, setupTRI, startTRI, stopTRI };