@atlaskit/react-ufo 5.5.0 → 5.5.1
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/AGENTS.md +0 -1
- package/CHANGELOG.md +9 -0
- package/dist/cjs/interaction-metrics/index.js +125 -204
- package/dist/cjs/interaction-metrics-init/index.js +2 -2
- package/dist/cjs/segment/third-party-segment.js +2 -9
- package/dist/cjs/vc/vc-observer-new/metric-calculator/abstract-base-vc-calculator.js +1 -2
- package/dist/cjs/vc/vc-observer-new/viewport-observer/index.js +14 -16
- package/dist/es2019/interaction-metrics/index.js +128 -211
- package/dist/es2019/interaction-metrics-init/index.js +2 -2
- package/dist/es2019/segment/third-party-segment.js +2 -9
- package/dist/es2019/vc/vc-observer-new/metric-calculator/abstract-base-vc-calculator.js +1 -2
- package/dist/es2019/vc/vc-observer-new/viewport-observer/index.js +14 -16
- package/dist/esm/interaction-metrics/index.js +125 -204
- package/dist/esm/interaction-metrics-init/index.js +2 -2
- package/dist/esm/segment/third-party-segment.js +2 -9
- package/dist/esm/vc/vc-observer-new/metric-calculator/abstract-base-vc-calculator.js +1 -2
- package/dist/esm/vc/vc-observer-new/viewport-observer/index.js +14 -16
- package/package.json +1 -10
|
@@ -357,22 +357,20 @@ var ViewportObserver = /*#__PURE__*/function () {
|
|
|
357
357
|
}
|
|
358
358
|
};
|
|
359
359
|
}
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
};
|
|
375
|
-
}
|
|
360
|
+
var _ref0 = _this.enableThirdPartyTracking ? checkWithinComponent(target, 'UFOThirdPartySegment', _this.mapIs3pResult) : {
|
|
361
|
+
isWithin: false
|
|
362
|
+
},
|
|
363
|
+
isWithinThirdPartySegment = _ref0.isWithin;
|
|
364
|
+
if (isWithinThirdPartySegment) {
|
|
365
|
+
return {
|
|
366
|
+
type: 'mutation:third-party-attribute',
|
|
367
|
+
mutationData: {
|
|
368
|
+
attributeName: attributeName,
|
|
369
|
+
oldValue: oldValue,
|
|
370
|
+
newValue: newValue,
|
|
371
|
+
timestamp: timestamp
|
|
372
|
+
}
|
|
373
|
+
};
|
|
376
374
|
}
|
|
377
375
|
if (_this.shouldCheckSmartAnswersMutations() && isContainedWithinSmartAnswers(target)) {
|
|
378
376
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/react-ufo",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.1",
|
|
4
4
|
"description": "Parts of React UFO that are publicly available",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -113,9 +113,6 @@
|
|
|
113
113
|
"ufo_fix_aborting_interaction_detection_during_ssr": {
|
|
114
114
|
"type": "boolean"
|
|
115
115
|
},
|
|
116
|
-
"platform_ufo_exclude_3p_elements_from_ttai": {
|
|
117
|
-
"type": "boolean"
|
|
118
|
-
},
|
|
119
116
|
"platform_ufo_exclude_3p_elements_from_ttvc": {
|
|
120
117
|
"type": "boolean"
|
|
121
118
|
},
|
|
@@ -131,9 +128,6 @@
|
|
|
131
128
|
"platform_ufo_segment_unmount_count": {
|
|
132
129
|
"type": "boolean"
|
|
133
130
|
},
|
|
134
|
-
"platform_ufo_enable_ttai_with_3p": {
|
|
135
|
-
"type": "boolean"
|
|
136
|
-
},
|
|
137
131
|
"platform_ufo_exclude_3p_extensions_from_ttvc": {
|
|
138
132
|
"type": "boolean"
|
|
139
133
|
},
|
|
@@ -164,9 +158,6 @@
|
|
|
164
158
|
"react_ufo_battery_info": {
|
|
165
159
|
"type": "boolean"
|
|
166
160
|
},
|
|
167
|
-
"platform_ufo_exclude_3p_attribute_changes": {
|
|
168
|
-
"type": "boolean"
|
|
169
|
-
},
|
|
170
161
|
"platform_ufo_use_native_page_visibility_api": {
|
|
171
162
|
"type": "boolean"
|
|
172
163
|
},
|