@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.cjs.js
CHANGED
|
@@ -13935,7 +13935,8 @@ class DevSkinSDK {
|
|
|
13935
13935
|
this.heatmapCollector.start();
|
|
13936
13936
|
// Initialize screenshot collector and capture page
|
|
13937
13937
|
this.screenshotCollector = new ScreenshotCollector(this.config, this.transport);
|
|
13938
|
-
|
|
13938
|
+
// Send only the pathname (not full URL) for consistent hashing
|
|
13939
|
+
this.screenshotCollector.captureAndSend(this.sessionId, window.location.pathname);
|
|
13939
13940
|
if (this.config.debug) {
|
|
13940
13941
|
console.log('[DevSkin] Heatmap collection enabled (always on)');
|
|
13941
13942
|
}
|