@devskin/browser-sdk 1.0.36 → 1.0.37
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 +2 -1
- package/dist/devskin.cjs.js.map +1 -1
- package/dist/devskin.esm.js +2 -1
- package/dist/devskin.esm.js.map +1 -1
- package/dist/devskin.umd.js +2 -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
|
@@ -13931,7 +13931,8 @@ class DevSkinSDK {
|
|
|
13931
13931
|
this.heatmapCollector.start();
|
|
13932
13932
|
// Initialize screenshot collector and capture page
|
|
13933
13933
|
this.screenshotCollector = new ScreenshotCollector(this.config, this.transport);
|
|
13934
|
-
|
|
13934
|
+
// Send only the pathname (not full URL) for consistent hashing
|
|
13935
|
+
this.screenshotCollector.captureAndSend(this.sessionId, window.location.pathname);
|
|
13935
13936
|
if (this.config.debug) {
|
|
13936
13937
|
console.log('[DevSkin] Heatmap collection enabled (always on)');
|
|
13937
13938
|
}
|