@heycatch/sdk 0.7.0-dev.974 → 0.7.1-dev.1123
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/README.md +25 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/react-native.cjs +1 -1
- package/dist/react-native.d.cts +2 -2
- package/dist/react-native.d.ts +2 -2
- package/dist/react-native.js +1 -1
- package/dist/server.cjs +2 -2
- package/dist/server.d.cts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +2 -2
- package/dist/{shared-CaIZ-Tgs.d.cts → shared-BFhHwsG8.d.cts} +17 -0
- package/dist/{shared-CaIZ-Tgs.d.ts → shared-BFhHwsG8.d.ts} +17 -0
- package/package.json +1 -1
|
@@ -246,6 +246,23 @@ interface HeyCatchConfig {
|
|
|
246
246
|
optOutCapturingByDefault?: boolean;
|
|
247
247
|
/** Honor the browser's Do Not Track signal. */
|
|
248
248
|
respectDnt?: boolean;
|
|
249
|
+
/**
|
|
250
|
+
* Batch captured events for a few seconds before sending (the default).
|
|
251
|
+
* Set `false` on a multi-page site - one where each click is a full page
|
|
252
|
+
* load - because a visitor who navigates away inside the batch window
|
|
253
|
+
* takes the batch with them; iOS Safari in particular does not reliably
|
|
254
|
+
* let the unload send through. A single-page app can leave it unset.
|
|
255
|
+
* Browser only.
|
|
256
|
+
*/
|
|
257
|
+
requestBatching?: boolean;
|
|
258
|
+
/**
|
|
259
|
+
* How long captured events wait for a batch, in milliseconds. Defaults to
|
|
260
|
+
* 3000; the accepted range is 250-5000, and a value outside it falls back
|
|
261
|
+
* to the default with a console warning. The gentler alternative to
|
|
262
|
+
* `requestBatching: false` when you want to keep batching but shrink the
|
|
263
|
+
* window. Browser only.
|
|
264
|
+
*/
|
|
265
|
+
flushIntervalMs?: number;
|
|
249
266
|
}
|
|
250
267
|
|
|
251
268
|
export { type HeyCatchBeforeSend as H, KNOWN_FRAMEWORKS as K, type PersonPropertyUpdate as P, SDK_VERSION as S, type TrackOptions as T, UNKNOWN_INSTALL_VALUE as U, type HeyCatchCapturedEvent as a, type HeyCatchConfig as b, type HeyCatchPersistence as c, type HeyCatchPersonProperties as d, type HeyCatchProperties as e, type HeyCatchSanitizeProperties as f, KNOWN_INSTALL_AGENTS as g, STAGE as h, type ServerTrackOptions as i };
|
|
@@ -246,6 +246,23 @@ interface HeyCatchConfig {
|
|
|
246
246
|
optOutCapturingByDefault?: boolean;
|
|
247
247
|
/** Honor the browser's Do Not Track signal. */
|
|
248
248
|
respectDnt?: boolean;
|
|
249
|
+
/**
|
|
250
|
+
* Batch captured events for a few seconds before sending (the default).
|
|
251
|
+
* Set `false` on a multi-page site - one where each click is a full page
|
|
252
|
+
* load - because a visitor who navigates away inside the batch window
|
|
253
|
+
* takes the batch with them; iOS Safari in particular does not reliably
|
|
254
|
+
* let the unload send through. A single-page app can leave it unset.
|
|
255
|
+
* Browser only.
|
|
256
|
+
*/
|
|
257
|
+
requestBatching?: boolean;
|
|
258
|
+
/**
|
|
259
|
+
* How long captured events wait for a batch, in milliseconds. Defaults to
|
|
260
|
+
* 3000; the accepted range is 250-5000, and a value outside it falls back
|
|
261
|
+
* to the default with a console warning. The gentler alternative to
|
|
262
|
+
* `requestBatching: false` when you want to keep batching but shrink the
|
|
263
|
+
* window. Browser only.
|
|
264
|
+
*/
|
|
265
|
+
flushIntervalMs?: number;
|
|
249
266
|
}
|
|
250
267
|
|
|
251
268
|
export { type HeyCatchBeforeSend as H, KNOWN_FRAMEWORKS as K, type PersonPropertyUpdate as P, SDK_VERSION as S, type TrackOptions as T, UNKNOWN_INSTALL_VALUE as U, type HeyCatchCapturedEvent as a, type HeyCatchConfig as b, type HeyCatchPersistence as c, type HeyCatchPersonProperties as d, type HeyCatchProperties as e, type HeyCatchSanitizeProperties as f, KNOWN_INSTALL_AGENTS as g, STAGE as h, type ServerTrackOptions as i };
|