@incodetech/core 2.3.0-rc.6 → 2.3.0-rc.8

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 (65) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-CrRl9swD.esm.js → BrowserDiagnosticsCryptoProvider-5-MGxBk6.esm.js} +1 -1
  2. package/dist/{FaceDetectionProvider-CpnVuDS5.esm.js → FaceDetectionProvider-DypXyX5c.esm.js} +4 -4
  3. package/dist/ae-signature.esm.js +1 -1
  4. package/dist/{apiError-CVTR4cSo.esm.js → apiError-4Pik-5MI.esm.js} +1 -1
  5. package/dist/authentication.esm.js +2 -2
  6. package/dist/{authenticationManager-BGDNvbCf.esm.js → authenticationManager-DOINObSm.esm.js} +3 -3
  7. package/dist/{authenticationStateMachine-DNspYSz2.esm.js → authenticationStateMachine-BIFwZ10i.esm.js} +2 -2
  8. package/dist/consent.d.ts +1 -1
  9. package/dist/{consentManager-uhDPdU6i.d.ts → consentManager-3Pbtj-RV.d.ts} +4 -4
  10. package/dist/{deepsightLoader-Djk0rQEz.esm.js → deepsightLoader-DkFE8YIF.esm.js} +3 -3
  11. package/dist/document-capture.d.ts +1 -1
  12. package/dist/{documentCaptureManager-DensIj5F.d.ts → documentCaptureManager-DD0qtFdE.d.ts} +1 -1
  13. package/dist/dynamic-forms.esm.js +2 -2
  14. package/dist/{dynamicFormsManager-BfAGjuVi.esm.js → dynamicFormsManager-CBULYDVK.esm.js} +1 -1
  15. package/dist/{dynamicFormsStateMachine-BThO1OlZ.esm.js → dynamicFormsStateMachine-BZOa354n.esm.js} +1 -1
  16. package/dist/ekyb.esm.js +3 -3
  17. package/dist/{ekybManager-FLGyi0PM.esm.js → ekybManager-TkRpTfhD.esm.js} +1 -1
  18. package/dist/{ekybStateMachine-nQv7bOUG.esm.js → ekybStateMachine-CsNFTbTv.esm.js} +1 -1
  19. package/dist/electronic-signature.esm.js +1 -1
  20. package/dist/{electronicSignatureManager-C0gHnNKc.esm.js → electronicSignatureManager-D_EKcYMu.esm.js} +1 -1
  21. package/dist/extensibility.d.ts +4 -4
  22. package/dist/extensibility.esm.js +10 -10
  23. package/dist/{faceCaptureManagerFactory-BId_sV3B.esm.js → faceCaptureManagerFactory-vZTG70oT.esm.js} +1 -1
  24. package/dist/{faceCaptureSetup-BmJW0rWG.esm.js → faceCaptureSetup-DJuqgytw.esm.js} +3 -3
  25. package/dist/{feature-management-DBFjhsB2.esm.js → feature-management-CZ-nMsqU.esm.js} +1 -1
  26. package/dist/feature-management.esm.js +1 -1
  27. package/dist/flow.esm.js +3 -3
  28. package/dist/{flowCompletionService-Blxdndia.esm.js → flowCompletionService-tBWtQeo7.esm.js} +1 -1
  29. package/dist/{flowServices-BDJgxe8I.esm.js → flowServices-CAgj_Her.esm.js} +4 -4
  30. package/dist/geolocation.esm.js +2 -2
  31. package/dist/{geolocationManager-BIGKPXyi.esm.js → geolocationManager-CVuxiwBM.esm.js} +1 -1
  32. package/dist/{geolocationStateMachine-CRIQmKua.esm.js → geolocationStateMachine-CQqZ5gcL.esm.js} +1 -1
  33. package/dist/id-selfie-flow.esm.js +7 -7
  34. package/dist/id.esm.js +3 -3
  35. package/dist/{idCaptureDefaults-CpRRQOZP.esm.js → idCaptureDefaults-bznawUFX.esm.js} +1 -1
  36. package/dist/{idCaptureManager-okb6GKib.esm.js → idCaptureManager-DptfJ9IG.esm.js} +3 -3
  37. package/dist/{idCaptureServices-Dw1symcs.esm.js → idCaptureServices-BEJ8nz7l.esm.js} +3 -3
  38. package/dist/{idCaptureStateMachine-D9Yk3Z2_.esm.js → idCaptureStateMachine-Cx0T0ARJ.esm.js} +15 -14
  39. package/dist/identity-reuse.d.ts +1 -1
  40. package/dist/{identityReuseManager-v2TH5g7e.d.ts → identityReuseManager-BFDI7iFK.d.ts} +4 -4
  41. package/dist/index.d.ts +1 -1
  42. package/dist/index.esm.js +1 -1
  43. package/dist/mandatory-consent.d.ts +1 -1
  44. package/dist/{mandatoryConsentManager-CJSyhTpi.d.ts → mandatoryConsentManager-vhv1co_n.d.ts} +4 -4
  45. package/dist/personhood.esm.js +4 -4
  46. package/dist/qe-signature.esm.js +1 -1
  47. package/dist/{runChildModule-xkRO1Ecl.esm.js → runChildModule-D22IPoPN.esm.js} +1 -1
  48. package/dist/{sdkVersion-DjB_KIzb.esm.js → sdkVersion-CRxt5823.esm.js} +1 -1
  49. package/dist/selfie.esm.js +5 -5
  50. package/dist/{selfieManager-Z7of6lul.esm.js → selfieManager-DfH-2r_c.esm.js} +3 -3
  51. package/dist/{selfieStateMachine-UjwUaCvo.esm.js → selfieStateMachine-DPnxoVg_.esm.js} +2 -2
  52. package/dist/{session-DRLhmhht.esm.js → session-CVnTjODB.esm.js} +3 -3
  53. package/dist/session.esm.js +4 -4
  54. package/dist/{sessionInitializer-HewWDU8P.esm.js → sessionInitializer-C9m14Xqj.esm.js} +4 -4
  55. package/dist/{setup-Cv-JM9QC.d.ts → setup-CLfBztP0.d.ts} +2 -1
  56. package/dist/{setup-C6_uuDz5.esm.js → setup-COWDO2Xv.esm.js} +9 -147
  57. package/dist/{tri-4RsGrIt6.esm.js → tri-xzRLIIMN.esm.js} +0 -10
  58. package/dist/tri.esm.js +1 -1
  59. package/dist/{trueSightService-m6To_KWo.esm.js → trueSightService-DOiLWpRP.esm.js} +175 -18
  60. package/dist/video-selfie.esm.js +3 -3
  61. package/dist/{videoSelfieCameraWarmer-DTw4oH_A.esm.js → videoSelfieCameraWarmer-Dq9ffySJ.esm.js} +3 -3
  62. package/dist/wasm.d.ts +1 -1
  63. package/dist/wasm.esm.js +2 -1
  64. package/dist/workflow.esm.js +14 -14
  65. package/package.json +1 -1
@@ -1,16 +1,16 @@
1
- import { l as BrowserStorageProvider } from "./setup-C6_uuDz5.esm.js";
1
+ import { c as trueSightHintTransition, l as trueSightLog, m as isTrueSightTesting, r as noteTrueSightCaptureActivity } from "./trueSightService-DOiLWpRP.esm.js";
2
2
  import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
3
+ import { l as BrowserStorageProvider } from "./setup-COWDO2Xv.esm.js";
3
4
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { s as exposeExperimentOnce } from "./feature-management-DBFjhsB2.esm.js";
5
+ import { s as exposeExperimentOnce } from "./feature-management-CZ-nMsqU.esm.js";
5
6
  import { n as revokeObjectURL, t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
6
7
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
7
- import { c as trueSightHintTransition, l as trueSightLog, m as isTrueSightTesting, r as noteTrueSightCaptureActivity } from "./trueSightService-m6To_KWo.esm.js";
8
8
  import { n as eventModuleNames, s as recordExperimentAssignmentOnce } from "./events-ijlbX_Wx.esm.js";
9
- import { t as getDisableIpify } from "./sessionInitializer-HewWDU8P.esm.js";
9
+ import { t as getDisableIpify } from "./sessionInitializer-C9m14Xqj.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-DRLhmhht.esm.js";
13
+ import "./session-CVnTjODB.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-BuFLFuzz.esm.js";
15
15
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
16
16
  import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-D6phjq1-.esm.js";
@@ -24,8 +24,8 @@ 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-CpRRQOZP.esm.js";
28
- import { C as getIdCameraStream, S as OPTIMIZING_WATCHDOG_MARGIN_MS, _ as validateUploadResponse, a as getRealQualityValue, b as resolveIdCaptureThresholds, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as uploadManualIdFile, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId, v as ID_ERROR_CODES, x as CAPTURE_OPTIMIZING } from "./idCaptureServices-Dw1symcs.esm.js";
27
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-bznawUFX.esm.js";
28
+ import { C as getIdCameraStream, S as OPTIMIZING_WATCHDOG_MARGIN_MS, _ as validateUploadResponse, a as getRealQualityValue, b as resolveIdCaptureThresholds, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as uploadManualIdFile, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId, v as ID_ERROR_CODES, x as CAPTURE_OPTIMIZING } from "./idCaptureServices-BEJ8nz7l.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"]);
@@ -1781,7 +1781,7 @@ fromPromise(async ({ input }) => {
1781
1781
  });
1782
1782
  fromPromise(async ({ input }) => {
1783
1783
  if (!input.dependencies) return;
1784
- const { loadDeepsightSession } = await import("./deepsightLoader-Djk0rQEz.esm.js");
1784
+ const { loadDeepsightSession } = await import("./deepsightLoader-DkFE8YIF.esm.js");
1785
1785
  return loadDeepsightSession({
1786
1786
  ds: input.ds,
1787
1787
  storage: input.dependencies.storage,
@@ -2224,7 +2224,7 @@ function cleanup(service) {
2224
2224
  service.cleanup();
2225
2225
  } catch {}
2226
2226
  }
2227
- function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-Djk0rQEz.esm.js")).loadDeepsightSession(input)) {
2227
+ function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-DkFE8YIF.esm.js")).loadDeepsightSession(input)) {
2228
2228
  let disposed = false;
2229
2229
  let preparation;
2230
2230
  let service;
@@ -2473,7 +2473,7 @@ function createIdProtectedCaptureController(dependencies = {}) {
2473
2473
  };
2474
2474
  attemptContext = context;
2475
2475
  attemptSend = send;
2476
- provider = (dependencies.createProvider ?? createProtectedIdProvider)(context.config);
2476
+ provider = (dependencies.createProvider ?? createProtectedIdProvider)(context.config, context.currentMode);
2477
2477
  cycleOwnership = createCameraCycleOwnership(cameraCycleProvider);
2478
2478
  logDiagnostic("attempt-start", { aggregationMs: context.config?.thresholds?.framesAggregationInterval ?? DEFAULT_ID_CAPTURE_THRESHOLDS.framesAggregationInterval });
2479
2479
  },
@@ -2754,7 +2754,8 @@ function createIdCaptureOnlyDeliveryActor(ownedController) {
2754
2754
  });
2755
2755
  }
2756
2756
  let protectedIdAttemptSequence = 0;
2757
- function resolveProtectedIdWorkflow(config) {
2757
+ function resolveProtectedIdWorkflow(config, currentMode) {
2758
+ if (config.usSmartCapture === true && (currentMode === "back" || currentMode === "front" && config.modelVersion !== "v3")) return 0;
2758
2759
  if (config.modelVersion === "v3" || config.usSmartCapture === true) return 7;
2759
2760
  if (config.settings?.faceQualityCheckEnabled === true) return 8;
2760
2761
  if (config.settings?.faceQualityCheckEnabled === false) return 6;
@@ -2766,8 +2767,8 @@ function resolveProtectedIdTarget(config, currentMode) {
2766
2767
  if (config.isSecondId === true) return back ? PROTECTED_CAPTURE_TARGET.backSecondId : PROTECTED_CAPTURE_TARGET.frontSecondId;
2767
2768
  return back ? PROTECTED_CAPTURE_TARGET.backId : PROTECTED_CAPTURE_TARGET.frontId;
2768
2769
  }
2769
- function createProtectedIdProvider(config) {
2770
- const workflow = resolveProtectedIdWorkflow(config);
2770
+ function createProtectedIdProvider(config, currentMode) {
2771
+ const workflow = resolveProtectedIdWorkflow(config, currentMode);
2771
2772
  return workflow === 0 ? new IdCaptureProvider() : new IdCaptureProvider(workflow);
2772
2773
  }
2773
2774
  /**
@@ -3056,7 +3057,7 @@ function createProtectedIdAttemptInput(input) {
3056
3057
  const { context, controller } = input;
3057
3058
  const provider = controller.getProvider();
3058
3059
  if (!provider) throw new Error("Protected ID provider is unavailable");
3059
- const workflow = resolveProtectedIdWorkflow(context.config);
3060
+ const workflow = resolveProtectedIdWorkflow(context.config, context.currentMode);
3060
3061
  const target = resolveProtectedIdTarget(context.config, context.currentMode);
3061
3062
  const callbackSession = createProtectedIdCallbackSession(input);
3062
3063
  let wasmUtil;
@@ -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-v2TH5g7e.js";
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-BFDI7iFK.js";
2
2
  export { type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -108,14 +108,14 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
108
108
  type: "setError";
109
109
  params: NonReducibleUnknown;
110
110
  };
111
- clearError: {
112
- type: "clearError";
113
- params: NonReducibleUnknown;
114
- };
115
111
  setSelectedDocument: {
116
112
  type: "setSelectedDocument";
117
113
  params: NonReducibleUnknown;
118
114
  };
115
+ clearError: {
116
+ type: "clearError";
117
+ params: NonReducibleUnknown;
118
+ };
119
119
  }>, Values<{
120
120
  hasDocuments: {
121
121
  type: "hasDocuments";
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as isConfigured, l as setup, o as reset, t as SetupOptions } from "./setup-Cv-JM9QC.js";
1
+ import { a as isConfigured, l as setup, o as reset, t as SetupOptions } from "./setup-CLfBztP0.js";
2
2
  export { type SetupOptions, isConfigured, reset, setup };
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, r as isConfigured, s as setup } from "./setup-C6_uuDz5.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-COWDO2Xv.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,3 +1,3 @@
1
1
  import { r as MandatoryConsentConfig } from "./types-9_esGTPj.js";
2
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-CJSyhTpi.js";
2
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-vhv1co_n.js";
3
3
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -57,10 +57,6 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
57
57
  type: "setError";
58
58
  params: NonReducibleUnknown;
59
59
  };
60
- toggleSigned: {
61
- type: "toggleSigned";
62
- params: NonReducibleUnknown;
63
- };
64
60
  clearError: {
65
61
  type: "clearError";
66
62
  params: NonReducibleUnknown;
@@ -69,6 +65,10 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
69
65
  type: "resetContext";
70
66
  params: NonReducibleUnknown;
71
67
  };
68
+ toggleSigned: {
69
+ type: "toggleSigned";
70
+ params: NonReducibleUnknown;
71
+ };
72
72
  }>, {
73
73
  type: "canSubmit";
74
74
  params: unknown;
@@ -1,16 +1,16 @@
1
- import { l as BrowserStorageProvider } from "./setup-C6_uuDz5.esm.js";
1
+ import { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-DOiLWpRP.esm.js";
2
2
  import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
3
+ import { l as BrowserStorageProvider } from "./setup-COWDO2Xv.esm.js";
3
4
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
5
  import { t as api } from "./api-Bx3gKW_y.esm.js";
5
- import { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-m6To_KWo.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-HewWDU8P.esm.js";
7
+ import { b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, v as getThumbmarkId, y as getDeviceFingerprintInfo } from "./sessionInitializer-C9m14Xqj.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-BuFLFuzz.esm.js";
10
10
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
11
11
  import { i as requestCameraAccess, o as stopCameraStream } from "./camera-sIa9ceW2.esm.js";
12
12
  import { i as requestPermission, t as checkPermission } from "./permissionServices-Bj_fyWtv.esm.js";
13
- import { i as initializeDeepsightSession, o as startDetection, s as stopStream, t as FaceDetectionProvider } from "./FaceDetectionProvider-CpnVuDS5.esm.js";
13
+ import { i as initializeDeepsightSession, o as startDetection, s as stopStream, t as FaceDetectionProvider } from "./FaceDetectionProvider-DypXyX5c.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
@@ -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-C0gHnNKc.esm.js";
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-D_EKcYMu.esm.js";
2
2
  //#region src/modules/qe-signature/index.ts
3
3
  function createQeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,5 +1,5 @@
1
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-DOiLWpRP.esm.js";
1
2
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
2
- import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-m6To_KWo.esm.js";
3
3
  import { C as createEventBus } from "./events-ijlbX_Wx.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
@@ -1,4 +1,4 @@
1
1
  //#region src/internal/version/sdkVersion.ts
2
- const SDK_VERSION = "2.3.0-rc.6+d760d0b";
2
+ const SDK_VERSION = "2.3.0-rc.8+de0c7aa";
3
3
  //#endregion
4
4
  export { SDK_VERSION as t };
@@ -1,14 +1,14 @@
1
- import { l as BrowserStorageProvider } from "./setup-C6_uuDz5.esm.js";
2
1
  import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
2
+ import { l as BrowserStorageProvider } from "./setup-COWDO2Xv.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-BmJW0rWG.esm.js";
7
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BId_sV3B.esm.js";
6
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-DJuqgytw.esm.js";
7
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-vZTG70oT.esm.js";
8
8
  import { s as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-CX3hJGKc.esm.js";
9
9
  import { r as processFace } from "./selfieErrorUtils-UiQ46EBa.esm.js";
10
- import { t as selfieMachine } from "./selfieStateMachine-UjwUaCvo.esm.js";
11
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-Z7of6lul.esm.js";
10
+ import { t as selfieMachine } from "./selfieStateMachine-DPnxoVg_.esm.js";
11
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-DfH-2r_c.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 { l as BrowserStorageProvider } from "./setup-C6_uuDz5.esm.js";
2
1
  import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
2
+ import { l as BrowserStorageProvider } from "./setup-COWDO2Xv.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-BId_sV3B.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-UjwUaCvo.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-vZTG70oT.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-DPnxoVg_.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-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-BmJW0rWG.esm.js";
4
- import { c as isOnDeviceMode } from "./FaceDetectionProvider-CpnVuDS5.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, r as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-DJuqgytw.esm.js";
4
+ import { c as isOnDeviceMode } from "./FaceDetectionProvider-DypXyX5c.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
6
6
  import { s as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-CX3hJGKc.esm.js";
7
7
  import { i as uploadManualSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-UiQ46EBa.esm.js";
@@ -1,8 +1,8 @@
1
+ import { g as noteSessionCreated, l as trueSightLog } from "./trueSightService-DOiLWpRP.esm.js";
1
2
  import { n as getApi } from "./api-Bx3gKW_y.esm.js";
2
- import { g as noteSessionCreated, l as trueSightLog } from "./trueSightService-m6To_KWo.esm.js";
3
- import "./sessionInitializer-HewWDU8P.esm.js";
3
+ import "./sessionInitializer-C9m14Xqj.esm.js";
4
4
  import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
5
- import { i as toIncodeApiError } from "./apiError-CVTR4cSo.esm.js";
5
+ import { i as toIncodeApiError } from "./apiError-4Pik-5MI.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,5 +1,5 @@
1
- import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-HewWDU8P.esm.js";
2
- import { t as IncodeApiError } from "./apiError-CVTR4cSo.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-DRLhmhht.esm.js";
4
- import { n as getFinishStatus } from "./flowCompletionService-Blxdndia.esm.js";
1
+ import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-C9m14Xqj.esm.js";
2
+ import { t as IncodeApiError } from "./apiError-4Pik-5MI.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-CVnTjODB.esm.js";
4
+ import { n as getFinishStatus } from "./flowCompletionService-tBWtQeo7.esm.js";
5
5
  export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, bootstrapSession, createSession, getFinishStatus, initializeSession, refreshQrUrlUuid, validateQrUuid, whenSessionFingerprintSettled };
@@ -1,14 +1,14 @@
1
- import { E as updateFeatureManagementUser } from "./feature-management-DBFjhsB2.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-DOiLWpRP.esm.js";
2
+ import { E as updateFeatureManagementUser } from "./feature-management-CZ-nMsqU.esm.js";
2
3
  import { c as setToken, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { d as fetchFeatureConfig, f as isFeatureEnabled, h as noteEnvironment, l as trueSightLog, p as resetFeatureConfigCache, s as startTrueSightCollection, v as noteTokenActivated } from "./trueSightService-m6To_KWo.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-DjB_KIzb.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-CRxt5823.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() {
@@ -553,7 +553,8 @@ declare function setWasmConfig(config: WasmConfig): void;
553
553
  /**
554
554
  * Initializes WasmUtilProvider with the stored WASM configuration.
555
555
  * Should be called after warmupWasm() completes when using conditional warmup.
556
- * This ensures image encryption works properly.
556
+ * Also upgrades the HTTP client so protected capture payloads are unwrapped
557
+ * by the native transport before upload.
557
558
  *
558
559
  * @param config - Optional WASM configuration. If not provided, uses the stored config from setWasmConfig().
559
560
  * @throws Error if no config is provided and none is stored
@@ -1,156 +1,16 @@
1
- import { f as deriveSiblingJsPath, p as WASM_MODEL_FILES, v as buildModelVariantSources } from "./wasmWebClient-B7baE-Wf.esm.js";
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-DOiLWpRP.esm.js";
2
2
  import { i as setWasmOnDeviceMode, o as warmupWasm } from "./warmup-CUUnwYxe.esm.js";
3
3
  import { r as WasmUtilProvider, t as resolveLocalStorage } from "./safeStorage-B-trhxg6.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-DBFjhsB2.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-CZ-nMsqU.esm.js";
6
6
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
7
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";
8
- import { C as upgradeToWasmHttpClient$1, S as resetHttpClientState, _ as noteTestingSignals, b as getStoredHttpConfig, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as installFreshHttpClient } from "./trueSightService-m6To_KWo.esm.js";
9
8
  import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
10
- 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-HewWDU8P.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-C9m14Xqj.esm.js";
11
10
  import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
12
11
  import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-CZcy2J53.esm.js";
13
- import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
14
- import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-BDJgxe8I.esm.js";
15
- //#region ../infra/src/wasm/wasmDefaults.ts
16
- const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
17
- /** The WASM version bundled and tested with this SDK release. */
18
- const DEFAULT_WASM_VERSION = "v2.14.50-post1";
19
- const PATH_KEYS = [
20
- "wasmPath",
21
- "wasmSimdPath",
22
- "glueCodePath",
23
- "glueCodeSimdPath",
24
- "modelsBasePath"
25
- ];
26
- function isBlank(value) {
27
- return value.trim() === "";
28
- }
29
- function hasDisallowedControlChars(value) {
30
- for (let i = 0; i < value.length; i += 1) {
31
- const code = value.charCodeAt(i);
32
- if (code < 32 || code === 127) return true;
33
- }
34
- return false;
35
- }
36
- function isMalformedPath(value) {
37
- const trimmed = value.trim();
38
- if (trimmed === "") return false;
39
- if (hasDisallowedControlChars(trimmed)) return true;
40
- if (/^https?:\/\//i.test(trimmed)) try {
41
- new URL(trimmed);
42
- return false;
43
- } catch {
44
- return true;
45
- }
46
- return false;
47
- }
48
- function warnInvalidWasmPath(field, reason) {
49
- if (reason === "empty") {
50
- console.warn(`[Incode SDK] wasm.${field} is empty. Falling back to CDN default.`);
51
- return;
52
- }
53
- console.warn(`[Incode SDK] wasm.${field} appears malformed. Falling back to CDN default.`);
54
- }
55
- function warnMalformedWasmPath(field) {
56
- console.warn(`[Incode SDK] wasm.${field} appears malformed. Check the URL or path.`);
57
- }
58
- /**
59
- * Validates merged WASM path strings. When overrides contained blank path
60
- * values, callers should have already fallen back to defaults before this runs.
61
- */
62
- function validateWasmPaths(config) {
63
- for (const key of PATH_KEYS) {
64
- const value = config[key];
65
- if (typeof value === "string" && isMalformedPath(value)) warnMalformedWasmPath(key);
66
- }
67
- }
68
- function pickPath(key, overrides, defaultValue) {
69
- if (!overrides || !(key in overrides)) return defaultValue;
70
- const raw = overrides[key];
71
- if (raw === void 0) return defaultValue;
72
- if (typeof raw !== "string") return defaultValue;
73
- if (isBlank(raw)) {
74
- warnInvalidWasmPath(key, "empty");
75
- return defaultValue;
76
- }
77
- if (isMalformedPath(raw)) {
78
- warnInvalidWasmPath(key, "malformed");
79
- return defaultValue;
80
- }
81
- return raw.trim();
82
- }
83
- function pickSource(key, overrides, defaultValue) {
84
- if (!(key in overrides) || overrides[key] === void 0) return defaultValue;
85
- const source = overrides[key];
86
- if (typeof source !== "string") return source;
87
- return pickPath(key, overrides, String(defaultValue));
88
- }
89
- function resolveBasePath(overrides) {
90
- const defaultValue = `${WASM_CDN_BASE_URL}/${DEFAULT_WASM_VERSION}`;
91
- if (!("basePath" in overrides) || overrides.basePath === void 0) return defaultValue;
92
- const basePath = overrides.basePath;
93
- if (typeof basePath !== "string" || isBlank(basePath) || isMalformedPath(basePath)) throw new Error("[Incode SDK] wasm.basePath is invalid.");
94
- return basePath.trim();
95
- }
96
- /** Builds a WarmupConfig from a directory that mirrors the ml-wasm-kit CDN layout. */
97
- function buildWasmConfigFromBasePath(basePath) {
98
- const base = basePath.endsWith("/") ? basePath.slice(0, -1) : basePath;
99
- return {
100
- wasmPath: `${base}/webLib.wasm`,
101
- wasmSimdPath: `${base}/webLibSimd.wasm`,
102
- glueCodePath: `${base}/webLib.js`,
103
- glueCodeSimdPath: `${base}/webLibSimd.js`,
104
- modelsBasePath: `${base}/models`
105
- };
106
- }
107
- /** Builds the standard WarmupConfig from the Incode CDN. */
108
- function buildDefaultWasmConfig() {
109
- return buildWasmConfigFromBasePath(`${WASM_CDN_BASE_URL}/${DEFAULT_WASM_VERSION}`);
110
- }
111
- const BARCODE_ENHANCE_MODEL_FILE = WASM_MODEL_FILES.barcode;
112
- /**
113
- * URL of the lazily-loaded PDF417 barcode enhancement model (US Smart Capture).
114
- * Derived from the resolved `modelsBasePath` so self-hosted / air-gapped
115
- * deployments resolve it correctly, falling back to the CDN default. Loaded on
116
- * demand via `IIdCaptureCapability.setBarcodeEnhancementModel` — deliberately
117
- * NOT part of any warmup model bundle.
118
- */
119
- function getBarcodeEnhanceModelUrl(modelsBasePath, variant = "current") {
120
- const source = buildModelVariantSources(modelsBasePath ?? `${WASM_CDN_BASE_URL}/v2.14.50-post1/models`, BARCODE_ENHANCE_MODEL_FILE);
121
- return typeof source === "string" ? source : source[variant];
122
- }
123
- /**
124
- * Merges optional WASM path overrides with CDN defaults. Explicit non-blank
125
- * paths take precedence. Blank override strings log a warning and fall back to defaults.
126
- */
127
- function resolveWasmConfig(overrides) {
128
- if (!overrides) return buildDefaultWasmConfig();
129
- const defaults = buildWasmConfigFromBasePath(resolveBasePath(overrides));
130
- const resolvedWasmPath = pickSource("wasmPath", overrides, defaults.wasmPath);
131
- const simdDefault = overrides.selfHosted ? resolvedWasmPath : defaults.wasmSimdPath;
132
- const modelsDefault = defaults.modelsBasePath;
133
- const resolvedWasmSimdPath = pickSource("wasmSimdPath", overrides, simdDefault);
134
- const glueCodeSimdDefault = typeof resolvedWasmSimdPath === "string" ? deriveSiblingJsPath(resolvedWasmSimdPath) : defaults.glueCodeSimdPath;
135
- const merged = {
136
- wasmPath: resolvedWasmPath,
137
- wasmSimdPath: resolvedWasmSimdPath,
138
- glueCodePath: pickPath("glueCodePath", overrides, defaults.glueCodePath),
139
- glueCodeSimdPath: pickPath("glueCodeSimdPath", overrides, glueCodeSimdDefault),
140
- modelsBasePath: pickPath("modelsBasePath", overrides, modelsDefault),
141
- useSimd: overrides.useSimd,
142
- pipelines: overrides.pipelines,
143
- pipelineModels: overrides.pipelineModels,
144
- modelUrls: overrides.modelUrls,
145
- legacyModelUrls: overrides.legacyModelUrls,
146
- loadGlue: overrides.loadGlue,
147
- loadGlueSimd: overrides.loadGlueSimd,
148
- selfHosted: overrides.selfHosted
149
- };
150
- validateWasmPaths(merged);
151
- return merged;
152
- }
153
- //#endregion
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-CAgj_Her.esm.js";
154
14
  //#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
155
15
  var BrowserPageLifecycleProvider = class {
156
16
  sendBeacon(url, body, contentType = "application/json") {
@@ -778,7 +638,8 @@ function setWasmConfig(config) {
778
638
  /**
779
639
  * Initializes WasmUtilProvider with the stored WASM configuration.
780
640
  * Should be called after warmupWasm() completes when using conditional warmup.
781
- * This ensures image encryption works properly.
641
+ * Also upgrades the HTTP client so protected capture payloads are unwrapped
642
+ * by the native transport before upload.
782
643
  *
783
644
  * @param config - Optional WASM configuration. If not provided, uses the stored config from setWasmConfig().
784
645
  * @throws Error if no config is provided and none is stored
@@ -791,6 +652,7 @@ async function initializeWasmUtil(config) {
791
652
  ...resolved,
792
653
  pipelines: resolved.pipelines ? [...resolved.pipelines] : void 0
793
654
  });
655
+ await upgradeToWasmHttpClient$1(resolved);
794
656
  }
795
657
  /**
796
658
  * Warms additional WASM pipelines on demand, reusing the WASM config stored by
@@ -874,4 +736,4 @@ function reset() {
874
736
  resetTrueSight();
875
737
  }
876
738
  //#endregion
877
- export { resolveWasmConfigForPipelines as a, upgradeToWasmHttpClient as c, buildDefaultWasmConfig as d, buildWasmConfigFromBasePath as f, reset as i, BrowserStorageProvider as l, resolveWasmConfig as m, initializeWasmUtil as n, setWasmConfig as o, getBarcodeEnhanceModelUrl as p, isConfigured as r, setup as s, ensureWasmPipelines as t, DEFAULT_WASM_VERSION as u };
739
+ export { resolveWasmConfigForPipelines as a, upgradeToWasmHttpClient as c, reset as i, BrowserStorageProvider as l, initializeWasmUtil as n, setWasmConfig as o, isConfigured as r, setup as s, ensureWasmPipelines as t };
@@ -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 };