clarity-js 0.6.41 → 0.6.42

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarity-js",
3
- "version": "0.6.41",
3
+ "version": "0.6.42",
4
4
  "description": "An analytics library that uses web page interactions to generate aggregated insights",
5
5
  "author": "Microsoft Corp.",
6
6
  "license": "MIT",
@@ -1,2 +1,2 @@
1
- let version = "0.6.41";
1
+ let version = "0.6.42";
2
2
  export default version;
package/src/layout/dom.ts CHANGED
@@ -92,8 +92,7 @@ export function add(node: Node, parent: Node, data: NodeInfo, source: Source): v
92
92
  let regionId = region.exists(node) ? id : null;
93
93
  let fragmentId = null;
94
94
  let fraudId = fraudMap.has(node) ? fraudMap.get(node) : null;
95
- let privacyId = config.content ? Privacy.Sensitive : Privacy.Text
96
-
95
+ let privacyId = config.content ? Privacy.Sensitive : Privacy.TextImage
97
96
  if (parentId >= 0 && values[parentId]) {
98
97
  parentValue = values[parentId];
99
98
  parentValue.children.push(id);