@atlaskit/react-ufo 2.3.1 → 2.3.2
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.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#167556](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/167556)
|
|
8
|
+
[`63da6ebbd7549`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/63da6ebbd7549) -
|
|
9
|
+
add try catch to sessionStorage access within ufo init script
|
|
10
|
+
|
|
3
11
|
## 2.3.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -41,8 +41,12 @@ var init = exports.init = function init(analyticsWebClientAsync, config) {
|
|
|
41
41
|
if (initialized) {
|
|
42
42
|
return;
|
|
43
43
|
}
|
|
44
|
-
|
|
45
|
-
window
|
|
44
|
+
try {
|
|
45
|
+
if (window !== undefined) {
|
|
46
|
+
window.__REACT_UFO_ENABLE_PERF_TRACING = Boolean(sessionStorage.getItem('additionalPerfMarks') === 'true');
|
|
47
|
+
}
|
|
48
|
+
} catch (err) {
|
|
49
|
+
/* do nothing */
|
|
46
50
|
}
|
|
47
51
|
(0, _config.setUFOConfig)(config);
|
|
48
52
|
if ((_config$vc = config.vc) !== null && _config$vc !== void 0 && _config$vc.enabled) {
|
|
@@ -30,8 +30,12 @@ export const init = (analyticsWebClientAsync, config) => {
|
|
|
30
30
|
if (initialized) {
|
|
31
31
|
return;
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
window
|
|
33
|
+
try {
|
|
34
|
+
if (window !== undefined) {
|
|
35
|
+
window.__REACT_UFO_ENABLE_PERF_TRACING = Boolean(sessionStorage.getItem('additionalPerfMarks') === 'true');
|
|
36
|
+
}
|
|
37
|
+
} catch (err) {
|
|
38
|
+
/* do nothing */
|
|
35
39
|
}
|
|
36
40
|
setUFOConfig(config);
|
|
37
41
|
if ((_config$vc = config.vc) !== null && _config$vc !== void 0 && _config$vc.enabled) {
|
|
@@ -31,8 +31,12 @@ export var init = function init(analyticsWebClientAsync, config) {
|
|
|
31
31
|
if (initialized) {
|
|
32
32
|
return;
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
window
|
|
34
|
+
try {
|
|
35
|
+
if (window !== undefined) {
|
|
36
|
+
window.__REACT_UFO_ENABLE_PERF_TRACING = Boolean(sessionStorage.getItem('additionalPerfMarks') === 'true');
|
|
37
|
+
}
|
|
38
|
+
} catch (err) {
|
|
39
|
+
/* do nothing */
|
|
36
40
|
}
|
|
37
41
|
setUFOConfig(config);
|
|
38
42
|
if ((_config$vc = config.vc) !== null && _config$vc !== void 0 && _config$vc.enabled) {
|