@atlaskit/react-ufo 5.4.4 → 5.4.6

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,19 @@
1
1
  # @atlaskit/ufo-interaction-ignore
2
2
 
3
+ ## 5.4.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`7dbaf7d23f178`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7dbaf7d23f178) -
8
+ Clean up platform_ufo_enable_killswitch_config feature gate (assume always true)
9
+
10
+ ## 5.4.5
11
+
12
+ ### Patch Changes
13
+
14
+ - [`0f2580ac07d48`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0f2580ac07d48) -
15
+ Clean up ufo_update_and_enforce_ttvc_v4_default_version feature gate (always true)
16
+
3
17
  ## 5.4.4
4
18
 
5
19
  ### Patch Changes
@@ -37,7 +37,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
37
37
  var config;
38
38
  var DEFAULT_TTVC_REVISION = exports.DEFAULT_TTVC_REVISION = 'fy26.04';
39
39
  function getDefaultTTVCRevision() {
40
- return (0, _platformFeatureFlags.fg)('ufo_update_and_enforce_ttvc_v4_default_version') ? DEFAULT_TTVC_REVISION : 'fy25.03';
40
+ return DEFAULT_TTVC_REVISION;
41
41
  }
42
42
  var UNKNOWN_INTERACTION_RATE = exports.UNKNOWN_INTERACTION_RATE = 1000;
43
43
 
@@ -49,7 +49,7 @@ function setUFOConfig(newConfig) {
49
49
  // Handle edge cases with `enabledVCRevisions`
50
50
  var _ref = (_newConfig$vc = newConfig === null || newConfig === void 0 ? void 0 : newConfig.vc) !== null && _newConfig$vc !== void 0 ? _newConfig$vc : {},
51
51
  enabledVCRevisions = _ref.enabledVCRevisions;
52
- if ((0, _platformFeatureFlags.fg)('ufo_update_and_enforce_ttvc_v4_default_version') ? enabledVCRevisions : (0, _typeof2.default)(enabledVCRevisions === null || enabledVCRevisions === void 0 ? void 0 : enabledVCRevisions.byExperience) === 'object') {
52
+ if (enabledVCRevisions) {
53
53
  var _enabledVCRevisions$a;
54
54
  var byExperience = (0, _typeof2.default)(enabledVCRevisions === null || enabledVCRevisions === void 0 ? void 0 : enabledVCRevisions.byExperience) === 'object' ? enabledVCRevisions.byExperience : {};
55
55
  config = _objectSpread(_objectSpread({}, newConfig), {}, {
@@ -73,18 +73,10 @@ function getConfig() {
73
73
  /**
74
74
  * Check if UFO is enabled based on the config.enabled field.
75
75
  *
76
- * This function is gated behind the platform_ufo_enable_killswitch_config feature flag.
77
- * When the feature flag is disabled, UFO is always considered enabled (default behavior).
78
- * When the feature flag is enabled, the config.enabled field is respected.
79
- *
80
76
  * @returns true if UFO is enabled, false if disabled
81
77
  */
82
78
  function isUFOEnabled() {
83
79
  var _config;
84
- // Only respect the config.enabled field when the killswitch feature flag is enabled
85
- if (!(0, _platformFeatureFlags.fg)('platform_ufo_enable_killswitch_config')) {
86
- return true;
87
- }
88
80
  // Default to enabled if config is not set or enabled is not explicitly false
89
81
  return ((_config = config) === null || _config === void 0 ? void 0 : _config.enabled) !== false;
90
82
  }
@@ -86,7 +86,7 @@ function _createInteractionExtraLogPayload() {
86
86
  finalVCMetrics = _context.sent;
87
87
  // Check if VC is clean and has valid metric
88
88
  vcRevisionPayload = finalVCMetrics === null || finalVCMetrics === void 0 ? void 0 : finalVCMetrics['ufo:vc:rev'];
89
- effectiveRevision = (0, _platformFeatureFlags.fg)('ufo_update_and_enforce_ttvc_v4_default_version') ? (_getMostRecentVCRevis = (0, _config2.getMostRecentVCRevision)(ufoName)) !== null && _getMostRecentVCRevis !== void 0 ? _getMostRecentVCRevis : _config2.DEFAULT_TTVC_REVISION : (0, _config2.getDefaultTTVCRevision)();
89
+ effectiveRevision = (_getMostRecentVCRevis = (0, _config2.getMostRecentVCRevision)(ufoName)) !== null && _getMostRecentVCRevis !== void 0 ? _getMostRecentVCRevis : _config2.DEFAULT_TTVC_REVISION;
90
90
  effectiveVCRevisionPayload = vcRevisionPayload === null || vcRevisionPayload === void 0 ? void 0 : vcRevisionPayload.find(function (_ref) {
91
91
  var revision = _ref.revision;
92
92
  return revision === effectiveRevision;
@@ -130,7 +130,6 @@ function init(analyticsWebClientAsync, config) {
130
130
  (0, _config.setUFOConfig)(config);
131
131
 
132
132
  // If UFO is disabled via config, skip all initialization
133
- // This is gated behind platform_ufo_enable_killswitch_config feature flag
134
133
  if (!(0, _config.isUFOEnabled)()) {
135
134
  initialized = true;
136
135
  return;
@@ -86,7 +86,7 @@ function UFOLoadHold(_ref) {
86
86
  hold = _ref$hold === void 0 ? true : _ref$hold,
87
87
  _ref$experimental = _ref.experimental,
88
88
  experimental = _ref$experimental === void 0 ? false : _ref$experimental;
89
- // Check if UFO is enabled (gated behind platform_ufo_enable_killswitch_config feature flag)
89
+ // Check if UFO is enabled
90
90
  // Note: isUFOEnabled() returns a stable value based on config, so it's safe to call before hooks
91
91
  var ufoEnabled = (0, _config.isUFOEnabled)();
92
92
  var currentInteractionId = useInteractionIdValue();
@@ -37,7 +37,6 @@ var UFOSegment = function UFOSegment(_ref) {
37
37
  _ref$type = _ref.type,
38
38
  type = _ref$type === void 0 ? 'first-party' : _ref$type;
39
39
  // If UFO is disabled, render children without any tracking overhead
40
- // This is gated behind platform_ufo_enable_killswitch_config feature flag
41
40
  // Note: isUFOEnabled() returns a stable value based on config, so it's safe to call before hooks
42
41
  var ufoEnabled = (0, _config.isUFOEnabled)();
43
42
  var parentContext = (0, _react.useContext)(_interactionContext.default);
@@ -16,7 +16,6 @@ var _routeNameContext = _interopRequireDefault(require("../../route-name-context
16
16
 
17
17
  function traceUFOInteraction(name, interactionType, startTime) {
18
18
  var _getMinorInteractions;
19
- // Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
20
19
  if (!(0, _config.isUFOEnabled)()) {
21
20
  return;
22
21
  }
@@ -18,7 +18,6 @@ var _routeNameContext = _interopRequireDefault(require("../route-name-context"))
18
18
  var AWAITING_PAGELOAD_NAME = 'awaiting_pageload_name';
19
19
  function traceUFOPageLoad(ufoName) {
20
20
  var routeName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ufoName;
21
- // Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
22
21
  if (!(0, _config.isUFOEnabled)()) {
23
22
  return;
24
23
  }
@@ -49,7 +48,6 @@ function traceUFOPageLoad(ufoName) {
49
48
  var _default = exports.default = traceUFOPageLoad;
50
49
  function updatePageloadName(ufoName) {
51
50
  var routeName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ufoName;
52
- // Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
53
51
  if (!(0, _config.isUFOEnabled)()) {
54
52
  return;
55
53
  }
@@ -21,7 +21,6 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
21
21
 
22
22
  function traceUFOTransition(ufoName) {
23
23
  var routeName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ufoName;
24
- // Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
25
24
  if (!(0, _config.isUFOEnabled)()) {
26
25
  return;
27
26
  }
@@ -2,7 +2,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
2
2
  let config;
3
3
  export const DEFAULT_TTVC_REVISION = 'fy26.04';
4
4
  export function getDefaultTTVCRevision() {
5
- return fg('ufo_update_and_enforce_ttvc_v4_default_version') ? DEFAULT_TTVC_REVISION : 'fy25.03';
5
+ return DEFAULT_TTVC_REVISION;
6
6
  }
7
7
  export const UNKNOWN_INTERACTION_RATE = 1000;
8
8
 
@@ -15,7 +15,7 @@ export function setUFOConfig(newConfig) {
15
15
  const {
16
16
  enabledVCRevisions
17
17
  } = (_newConfig$vc = newConfig === null || newConfig === void 0 ? void 0 : newConfig.vc) !== null && _newConfig$vc !== void 0 ? _newConfig$vc : {};
18
- if (fg('ufo_update_and_enforce_ttvc_v4_default_version') ? enabledVCRevisions : typeof (enabledVCRevisions === null || enabledVCRevisions === void 0 ? void 0 : enabledVCRevisions.byExperience) === 'object') {
18
+ if (enabledVCRevisions) {
19
19
  var _enabledVCRevisions$a;
20
20
  const byExperience = typeof (enabledVCRevisions === null || enabledVCRevisions === void 0 ? void 0 : enabledVCRevisions.byExperience) === 'object' ? enabledVCRevisions.byExperience : {};
21
21
  config = {
@@ -41,18 +41,10 @@ export function getConfig() {
41
41
  /**
42
42
  * Check if UFO is enabled based on the config.enabled field.
43
43
  *
44
- * This function is gated behind the platform_ufo_enable_killswitch_config feature flag.
45
- * When the feature flag is disabled, UFO is always considered enabled (default behavior).
46
- * When the feature flag is enabled, the config.enabled field is respected.
47
- *
48
44
  * @returns true if UFO is enabled, false if disabled
49
45
  */
50
46
  export function isUFOEnabled() {
51
47
  var _config;
52
- // Only respect the config.enabled field when the killswitch feature flag is enabled
53
- if (!fg('platform_ufo_enable_killswitch_config')) {
54
- return true;
55
- }
56
48
  // Default to enabled if config is not set or enabled is not explicitly false
57
49
  return ((_config = config) === null || _config === void 0 ? void 0 : _config.enabled) !== false;
58
50
  }
@@ -1,6 +1,6 @@
1
1
  import { fg } from '@atlaskit/platform-feature-flags';
2
2
  import coinflip from '../coinflip';
3
- import { DEFAULT_TTVC_REVISION, getConfig, getDefaultTTVCRevision, getExtraInteractionRate, getMostRecentVCRevision } from '../config';
3
+ import { DEFAULT_TTVC_REVISION, getConfig, getExtraInteractionRate, getMostRecentVCRevision } from '../config';
4
4
  import { buildSegmentTree, getOldSegmentsLabelStack, optimizeLabelStack, sanitizeUfoName } from '../create-payload/common/utils';
5
5
  import { getMoreAccuratePageVisibilityUpToTTAI } from '../create-payload/utils/get-more-accurate-page-visibility-up-to-ttai';
6
6
  import getPageVisibilityUpToTTAI from '../create-payload/utils/get-page-visibility-up-to-ttai';
@@ -62,7 +62,7 @@ async function createInteractionExtraLogPayload(interactionId, interaction, last
62
62
 
63
63
  // Check if VC is clean and has valid metric
64
64
  const vcRevisionPayload = finalVCMetrics === null || finalVCMetrics === void 0 ? void 0 : finalVCMetrics['ufo:vc:rev'];
65
- const effectiveRevision = fg('ufo_update_and_enforce_ttvc_v4_default_version') ? (_getMostRecentVCRevis = getMostRecentVCRevision(ufoName)) !== null && _getMostRecentVCRevis !== void 0 ? _getMostRecentVCRevis : DEFAULT_TTVC_REVISION : getDefaultTTVCRevision();
65
+ const effectiveRevision = (_getMostRecentVCRevis = getMostRecentVCRevision(ufoName)) !== null && _getMostRecentVCRevis !== void 0 ? _getMostRecentVCRevis : DEFAULT_TTVC_REVISION;
66
66
  const effectiveVCRevisionPayload = vcRevisionPayload === null || vcRevisionPayload === void 0 ? void 0 : vcRevisionPayload.find(({
67
67
  revision
68
68
  }) => revision === effectiveRevision);
@@ -106,7 +106,6 @@ export function init(analyticsWebClientAsync, config) {
106
106
  setUFOConfig(config);
107
107
 
108
108
  // If UFO is disabled via config, skip all initialization
109
- // This is gated behind platform_ufo_enable_killswitch_config feature flag
110
109
  if (!isUFOEnabled()) {
111
110
  initialized = true;
112
111
  return;
@@ -72,7 +72,7 @@ export default function UFOLoadHold({
72
72
  hold = true,
73
73
  experimental = false
74
74
  }) {
75
- // Check if UFO is enabled (gated behind platform_ufo_enable_killswitch_config feature flag)
75
+ // Check if UFO is enabled
76
76
  // Note: isUFOEnabled() returns a stable value based on config, so it's safe to call before hooks
77
77
  const ufoEnabled = isUFOEnabled();
78
78
  const currentInteractionId = useInteractionIdValue();
@@ -24,7 +24,6 @@ const UFOSegment = ({
24
24
  type = 'first-party'
25
25
  }) => {
26
26
  // If UFO is disabled, render children without any tracking overhead
27
- // This is gated behind platform_ufo_enable_killswitch_config feature flag
28
27
  // Note: isUFOEnabled() returns a stable value based on config, so it's safe to call before hooks
29
28
  const ufoEnabled = isUFOEnabled();
30
29
  const parentContext = useContext(UFOInteractionContext);
@@ -8,7 +8,6 @@ import { abortAll, addNewInteraction, getActiveInteraction } from '../../interac
8
8
  import UFORouteName from '../../route-name-context';
9
9
  function traceUFOInteraction(name, interactionType, startTime) {
10
10
  var _getMinorInteractions;
11
- // Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
12
11
  if (!isUFOEnabled()) {
13
12
  return;
14
13
  }
@@ -8,7 +8,6 @@ import { abort, addHoldByID, addNewInteraction, getActiveInteraction, removeHold
8
8
  import UFORouteName from '../route-name-context';
9
9
  const AWAITING_PAGELOAD_NAME = 'awaiting_pageload_name';
10
10
  function traceUFOPageLoad(ufoName, routeName = ufoName) {
11
- // Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
12
11
  if (!isUFOEnabled()) {
13
12
  return;
14
13
  }
@@ -38,7 +37,6 @@ function traceUFOPageLoad(ufoName, routeName = ufoName) {
38
37
  }
39
38
  export default traceUFOPageLoad;
40
39
  export function updatePageloadName(ufoName, routeName = ufoName) {
41
- // Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
42
40
  if (!isUFOEnabled()) {
43
41
  return;
44
42
  }
@@ -10,7 +10,6 @@ import { abortAll, addNewInteraction, addOnCancelCallback, getActiveInteraction,
10
10
  import UFORouteName from '../route-name-context';
11
11
  import { setInteractionActiveTrace } from './utils/set-interaction-active-trace';
12
12
  function traceUFOTransition(ufoName, routeName = ufoName) {
13
- // Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
14
13
  if (!isUFOEnabled()) {
15
14
  return;
16
15
  }
@@ -7,7 +7,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
7
7
  var config;
8
8
  export var DEFAULT_TTVC_REVISION = 'fy26.04';
9
9
  export function getDefaultTTVCRevision() {
10
- return fg('ufo_update_and_enforce_ttvc_v4_default_version') ? DEFAULT_TTVC_REVISION : 'fy25.03';
10
+ return DEFAULT_TTVC_REVISION;
11
11
  }
12
12
  export var UNKNOWN_INTERACTION_RATE = 1000;
13
13
 
@@ -19,7 +19,7 @@ export function setUFOConfig(newConfig) {
19
19
  // Handle edge cases with `enabledVCRevisions`
20
20
  var _ref = (_newConfig$vc = newConfig === null || newConfig === void 0 ? void 0 : newConfig.vc) !== null && _newConfig$vc !== void 0 ? _newConfig$vc : {},
21
21
  enabledVCRevisions = _ref.enabledVCRevisions;
22
- if (fg('ufo_update_and_enforce_ttvc_v4_default_version') ? enabledVCRevisions : _typeof(enabledVCRevisions === null || enabledVCRevisions === void 0 ? void 0 : enabledVCRevisions.byExperience) === 'object') {
22
+ if (enabledVCRevisions) {
23
23
  var _enabledVCRevisions$a;
24
24
  var byExperience = _typeof(enabledVCRevisions === null || enabledVCRevisions === void 0 ? void 0 : enabledVCRevisions.byExperience) === 'object' ? enabledVCRevisions.byExperience : {};
25
25
  config = _objectSpread(_objectSpread({}, newConfig), {}, {
@@ -43,18 +43,10 @@ export function getConfig() {
43
43
  /**
44
44
  * Check if UFO is enabled based on the config.enabled field.
45
45
  *
46
- * This function is gated behind the platform_ufo_enable_killswitch_config feature flag.
47
- * When the feature flag is disabled, UFO is always considered enabled (default behavior).
48
- * When the feature flag is enabled, the config.enabled field is respected.
49
- *
50
46
  * @returns true if UFO is enabled, false if disabled
51
47
  */
52
48
  export function isUFOEnabled() {
53
49
  var _config;
54
- // Only respect the config.enabled field when the killswitch feature flag is enabled
55
- if (!fg('platform_ufo_enable_killswitch_config')) {
56
- return true;
57
- }
58
50
  // Default to enabled if config is not set or enabled is not explicitly false
59
51
  return ((_config = config) === null || _config === void 0 ? void 0 : _config.enabled) !== false;
60
52
  }
@@ -8,7 +8,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
8
8
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
9
9
  import { fg } from '@atlaskit/platform-feature-flags';
10
10
  import coinflip from '../coinflip';
11
- import { DEFAULT_TTVC_REVISION, getConfig, getDefaultTTVCRevision, getExtraInteractionRate, getMostRecentVCRevision } from '../config';
11
+ import { DEFAULT_TTVC_REVISION, getConfig, getExtraInteractionRate, getMostRecentVCRevision } from '../config';
12
12
  import { buildSegmentTree, getOldSegmentsLabelStack, optimizeLabelStack, sanitizeUfoName } from '../create-payload/common/utils';
13
13
  import { getMoreAccuratePageVisibilityUpToTTAI } from '../create-payload/utils/get-more-accurate-page-visibility-up-to-ttai';
14
14
  import getPageVisibilityUpToTTAI from '../create-payload/utils/get-page-visibility-up-to-ttai';
@@ -79,7 +79,7 @@ function _createInteractionExtraLogPayload() {
79
79
  finalVCMetrics = _context.sent;
80
80
  // Check if VC is clean and has valid metric
81
81
  vcRevisionPayload = finalVCMetrics === null || finalVCMetrics === void 0 ? void 0 : finalVCMetrics['ufo:vc:rev'];
82
- effectiveRevision = fg('ufo_update_and_enforce_ttvc_v4_default_version') ? (_getMostRecentVCRevis = getMostRecentVCRevision(ufoName)) !== null && _getMostRecentVCRevis !== void 0 ? _getMostRecentVCRevis : DEFAULT_TTVC_REVISION : getDefaultTTVCRevision();
82
+ effectiveRevision = (_getMostRecentVCRevis = getMostRecentVCRevision(ufoName)) !== null && _getMostRecentVCRevis !== void 0 ? _getMostRecentVCRevis : DEFAULT_TTVC_REVISION;
83
83
  effectiveVCRevisionPayload = vcRevisionPayload === null || vcRevisionPayload === void 0 ? void 0 : vcRevisionPayload.find(function (_ref) {
84
84
  var revision = _ref.revision;
85
85
  return revision === effectiveRevision;
@@ -121,7 +121,6 @@ export function init(analyticsWebClientAsync, config) {
121
121
  setUFOConfig(config);
122
122
 
123
123
  // If UFO is disabled via config, skip all initialization
124
- // This is gated behind platform_ufo_enable_killswitch_config feature flag
125
124
  if (!isUFOEnabled()) {
126
125
  initialized = true;
127
126
  return;
@@ -77,7 +77,7 @@ export default function UFOLoadHold(_ref) {
77
77
  hold = _ref$hold === void 0 ? true : _ref$hold,
78
78
  _ref$experimental = _ref.experimental,
79
79
  experimental = _ref$experimental === void 0 ? false : _ref$experimental;
80
- // Check if UFO is enabled (gated behind platform_ufo_enable_killswitch_config feature flag)
80
+ // Check if UFO is enabled
81
81
  // Note: isUFOEnabled() returns a stable value based on config, so it's safe to call before hooks
82
82
  var ufoEnabled = isUFOEnabled();
83
83
  var currentInteractionId = useInteractionIdValue();
@@ -29,7 +29,6 @@ var UFOSegment = function UFOSegment(_ref) {
29
29
  _ref$type = _ref.type,
30
30
  type = _ref$type === void 0 ? 'first-party' : _ref$type;
31
31
  // If UFO is disabled, render children without any tracking overhead
32
- // This is gated behind platform_ufo_enable_killswitch_config feature flag
33
32
  // Note: isUFOEnabled() returns a stable value based on config, so it's safe to call before hooks
34
33
  var ufoEnabled = isUFOEnabled();
35
34
  var parentContext = useContext(UFOInteractionContext);
@@ -8,7 +8,6 @@ import { abortAll, addNewInteraction, getActiveInteraction } from '../../interac
8
8
  import UFORouteName from '../../route-name-context';
9
9
  function traceUFOInteraction(name, interactionType, startTime) {
10
10
  var _getMinorInteractions;
11
- // Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
12
11
  if (!isUFOEnabled()) {
13
12
  return;
14
13
  }
@@ -9,7 +9,6 @@ import UFORouteName from '../route-name-context';
9
9
  var AWAITING_PAGELOAD_NAME = 'awaiting_pageload_name';
10
10
  function traceUFOPageLoad(ufoName) {
11
11
  var routeName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ufoName;
12
- // Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
13
12
  if (!isUFOEnabled()) {
14
13
  return;
15
14
  }
@@ -40,7 +39,6 @@ function traceUFOPageLoad(ufoName) {
40
39
  export default traceUFOPageLoad;
41
40
  export function updatePageloadName(ufoName) {
42
41
  var routeName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ufoName;
43
- // Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
44
42
  if (!isUFOEnabled()) {
45
43
  return;
46
44
  }
@@ -11,7 +11,6 @@ import UFORouteName from '../route-name-context';
11
11
  import { setInteractionActiveTrace } from './utils/set-interaction-active-trace';
12
12
  function traceUFOTransition(ufoName) {
13
13
  var routeName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ufoName;
14
- // Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
15
14
  if (!isUFOEnabled()) {
16
15
  return;
17
16
  }
@@ -199,10 +199,6 @@ export declare function getConfig(): Config | undefined;
199
199
  /**
200
200
  * Check if UFO is enabled based on the config.enabled field.
201
201
  *
202
- * This function is gated behind the platform_ufo_enable_killswitch_config feature flag.
203
- * When the feature flag is disabled, UFO is always considered enabled (default behavior).
204
- * When the feature flag is enabled, the config.enabled field is respected.
205
- *
206
202
  * @returns true if UFO is enabled, false if disabled
207
203
  */
208
204
  export declare function isUFOEnabled(): boolean;
@@ -199,10 +199,6 @@ export declare function getConfig(): Config | undefined;
199
199
  /**
200
200
  * Check if UFO is enabled based on the config.enabled field.
201
201
  *
202
- * This function is gated behind the platform_ufo_enable_killswitch_config feature flag.
203
- * When the feature flag is disabled, UFO is always considered enabled (default behavior).
204
- * When the feature flag is enabled, the config.enabled field is respected.
205
- *
206
202
  * @returns true if UFO is enabled, false if disabled
207
203
  */
208
204
  export declare function isUFOEnabled(): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/react-ufo",
3
- "version": "5.4.4",
3
+ "version": "5.4.6",
4
4
  "description": "Parts of React UFO that are publicly available",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "@af/integration-testing": "workspace:^",
46
- "@atlassian/a11y-jest-testing": "^0.11.0",
46
+ "@atlassian/a11y-jest-testing": "^0.10.0",
47
47
  "@atlassian/feature-flags-test-utils": "^1.0.0",
48
48
  "@testing-library/react": "^16.3.0",
49
49
  "@types/is-ci": "^3.0.0",
@@ -203,12 +203,6 @@
203
203
  "ufo_vc_revision_trim_enabled": {
204
204
  "type": "boolean"
205
205
  },
206
- "platform_ufo_enable_killswitch_config": {
207
- "type": "boolean"
208
- },
209
- "ufo_update_and_enforce_ttvc_v4_default_version": {
210
- "type": "boolean"
211
- },
212
206
  "platform_ufo_page_visibility_timeline": {
213
207
  "type": "boolean"
214
208
  },