@elu-labs/analytics-browser 1.410.1 → 1.410.3

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
@@ -104,10 +104,23 @@ type EluPageviewMode = false | true | 'history_change';
104
104
 
105
105
  /** Optional package initialization only; the frozen window.elu method surface is unchanged. */
106
106
  interface EluInitializationOptions {
107
+ /**
108
+ * Your ELU instance, when it is not ELU Cloud: an HTTPS origin such as
109
+ * `https://elu.example.com`. Events, flags, replay and the recorder asset
110
+ * are all taken from it. Omit it on ELU Cloud.
111
+ */
112
+ readonly api_host?: string;
113
+ /** Only when the recorder asset is served from a different origin than `api_host`. */
114
+ readonly assets_host?: string;
107
115
  readonly legacy_storage?: LegacyStorageOptions;
108
116
  readonly capture_pageview?: EluPageviewMode;
109
117
  readonly autocapture?: boolean;
110
118
  readonly capture_exceptions?: boolean;
119
+ /**
120
+ * Report each fetch/XHR as `$network_request` (method, status, timing and a
121
+ * scrubbed path only). On unless set to `false`.
122
+ */
123
+ readonly capture_network_requests?: boolean;
111
124
  readonly capture_performance?: EluPerformanceCaptureOptions;
112
125
  readonly loaded?: (client: EluClient) => unknown;
113
126
  }