@elu-labs/analytics-browser 1.410.2 → 1.410.4

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/index.d.ts CHANGED
@@ -21,6 +21,8 @@ interface V1JsonObject {
21
21
  interface PerformanceCaptureConfig {
22
22
  readonly memory?: boolean;
23
23
  readonly long_tasks?: boolean;
24
+ /** Core Web Vitals (LCP, FCP, CLS, INP) reported as `$web_vitals`. On when omitted or `true`; any other value turns them off. */
25
+ readonly web_vitals?: boolean;
24
26
  /** Milliseconds between visible-page samples. Defaults to 30,000; minimum 5,000. */
25
27
  readonly sample_interval_ms?: number;
26
28
  }
@@ -116,6 +118,11 @@ interface EluInitializationOptions {
116
118
  readonly capture_pageview?: EluPageviewMode;
117
119
  readonly autocapture?: boolean;
118
120
  readonly capture_exceptions?: boolean;
121
+ /**
122
+ * Report each fetch/XHR as `$network_request` (method, status, timing and a
123
+ * scrubbed path only). On unless set to `false`.
124
+ */
125
+ readonly capture_network_requests?: boolean;
119
126
  readonly capture_performance?: EluPerformanceCaptureOptions;
120
127
  readonly loaded?: (client: EluClient) => unknown;
121
128
  }