@atlaskit/react-ufo 2.2.3 → 2.3.0
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/ufo-interaction-ignore
|
|
2
2
|
|
|
3
|
+
## 2.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#164782](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/164782)
|
|
8
|
+
[`1be7ad59ff332`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1be7ad59ff332) -
|
|
9
|
+
fixing ssr attribute in vc observer config
|
|
10
|
+
|
|
3
11
|
## 2.2.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -188,7 +188,7 @@ var getPaintMetrics = function getPaintMetrics(type) {
|
|
|
188
188
|
return metrics;
|
|
189
189
|
};
|
|
190
190
|
var getVCMetrics = function getVCMetrics(interaction) {
|
|
191
|
-
var _config$vc,
|
|
191
|
+
var _config$vc, _interaction$apdex;
|
|
192
192
|
var config = (0, _config.getConfig)();
|
|
193
193
|
if (!(config !== null && config !== void 0 && (_config$vc = config.vc) !== null && _config$vc !== void 0 && _config$vc.enabled)) {
|
|
194
194
|
return {};
|
|
@@ -196,7 +196,7 @@ var getVCMetrics = function getVCMetrics(interaction) {
|
|
|
196
196
|
if (interaction.type !== 'page_load' && interaction.type !== 'transition') {
|
|
197
197
|
return {};
|
|
198
198
|
}
|
|
199
|
-
var ssr = interaction.type === 'page_load' && config !== null && config !== void 0 &&
|
|
199
|
+
var ssr = interaction.type === 'page_load' && config !== null && config !== void 0 && config.ssr ? {
|
|
200
200
|
ssr: getSSRDoneTimeValue(config)
|
|
201
201
|
} : null;
|
|
202
202
|
_interactionMetrics.postInteractionLog.setVCObserverSSRConfig(ssr);
|
|
@@ -165,7 +165,7 @@ const getPaintMetrics = type => {
|
|
|
165
165
|
return metrics;
|
|
166
166
|
};
|
|
167
167
|
const getVCMetrics = interaction => {
|
|
168
|
-
var _config$vc,
|
|
168
|
+
var _config$vc, _interaction$apdex, _interaction$apdex$;
|
|
169
169
|
const config = getConfig();
|
|
170
170
|
if (!(config !== null && config !== void 0 && (_config$vc = config.vc) !== null && _config$vc !== void 0 && _config$vc.enabled)) {
|
|
171
171
|
return {};
|
|
@@ -173,7 +173,7 @@ const getVCMetrics = interaction => {
|
|
|
173
173
|
if (interaction.type !== 'page_load' && interaction.type !== 'transition') {
|
|
174
174
|
return {};
|
|
175
175
|
}
|
|
176
|
-
const ssr = interaction.type === 'page_load' && config !== null && config !== void 0 &&
|
|
176
|
+
const ssr = interaction.type === 'page_load' && config !== null && config !== void 0 && config.ssr ? {
|
|
177
177
|
ssr: getSSRDoneTimeValue(config)
|
|
178
178
|
} : null;
|
|
179
179
|
postInteractionLog.setVCObserverSSRConfig(ssr);
|
|
@@ -178,7 +178,7 @@ var getPaintMetrics = function getPaintMetrics(type) {
|
|
|
178
178
|
return metrics;
|
|
179
179
|
};
|
|
180
180
|
var getVCMetrics = function getVCMetrics(interaction) {
|
|
181
|
-
var _config$vc,
|
|
181
|
+
var _config$vc, _interaction$apdex;
|
|
182
182
|
var config = getConfig();
|
|
183
183
|
if (!(config !== null && config !== void 0 && (_config$vc = config.vc) !== null && _config$vc !== void 0 && _config$vc.enabled)) {
|
|
184
184
|
return {};
|
|
@@ -186,7 +186,7 @@ var getVCMetrics = function getVCMetrics(interaction) {
|
|
|
186
186
|
if (interaction.type !== 'page_load' && interaction.type !== 'transition') {
|
|
187
187
|
return {};
|
|
188
188
|
}
|
|
189
|
-
var ssr = interaction.type === 'page_load' && config !== null && config !== void 0 &&
|
|
189
|
+
var ssr = interaction.type === 'page_load' && config !== null && config !== void 0 && config.ssr ? {
|
|
190
190
|
ssr: getSSRDoneTimeValue(config)
|
|
191
191
|
} : null;
|
|
192
192
|
postInteractionLog.setVCObserverSSRConfig(ssr);
|