@devskin/browser-sdk 1.0.18 → 1.0.19
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/devskin.cjs.js +1 -1
- package/dist/devskin.cjs.js.map +1 -1
- package/dist/devskin.esm.js +1 -1
- package/dist/devskin.esm.js.map +1 -1
- package/dist/devskin.umd.js +1 -1
- package/dist/devskin.umd.js.map +1 -1
- package/dist/devskin.umd.min.js +1 -1
- package/dist/devskin.umd.min.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/devskin.esm.js
CHANGED
|
@@ -5991,7 +5991,7 @@ class DevSkinSDK {
|
|
|
5991
5991
|
const heatmapEnabled = ((_a = this.config.heatmapOptions) === null || _a === void 0 ? void 0 : _a.enabled) || ((_b = this.config.sessionRecording) === null || _b === void 0 ? void 0 : _b.enabled);
|
|
5992
5992
|
if (heatmapEnabled) {
|
|
5993
5993
|
// Merge default heatmap config with user config
|
|
5994
|
-
const heatmapConfig = Object.assign({ enabled: true, trackClicks: true, trackScroll: true, trackMouseMovement:
|
|
5994
|
+
const heatmapConfig = Object.assign({ enabled: true, trackClicks: true, trackScroll: true, trackMouseMovement: true, mouseMoveSampling: 0.05 }, this.config.heatmapOptions);
|
|
5995
5995
|
this.config.heatmapOptions = heatmapConfig;
|
|
5996
5996
|
this.heatmapCollector = new HeatmapCollector(this.config, this.transport);
|
|
5997
5997
|
this.heatmapCollector.start();
|