@atlaskit/react-ufo 3.4.7 → 3.4.8

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
+ ## 3.4.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [#133350](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/133350)
8
+ [`9873ae0c37080`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9873ae0c37080) -
9
+ clean up LCP featrue flags
10
+
3
11
  ## 3.4.7
4
12
 
5
13
  ### Patch Changes
@@ -209,20 +209,15 @@ var getPaintMetrics = /*#__PURE__*/function () {
209
209
  metrics['metric:fcp'] = Math.round(entry.startTime);
210
210
  }
211
211
  });
212
- if (!(0, _platformFeatureFlags.fg)('ufo_lcp')) {
213
- _context.next = 9;
214
- break;
215
- }
216
- _context.next = 7;
212
+ _context.next = 6;
217
213
  return getLCP(end);
218
- case 7:
214
+ case 6:
219
215
  lcp = _context.sent;
220
216
  if (lcp) {
221
217
  metrics['metric:lcp'] = Math.round(lcp);
222
218
  }
223
- case 9:
224
219
  return _context.abrupt("return", metrics);
225
- case 10:
220
+ case 9:
226
221
  case "end":
227
222
  return _context.stop();
228
223
  }
@@ -173,11 +173,9 @@ const getPaintMetrics = async (type, end) => {
173
173
  metrics['metric:fcp'] = Math.round(entry.startTime);
174
174
  }
175
175
  });
176
- if (fg('ufo_lcp')) {
177
- const lcp = await getLCP(end);
178
- if (lcp) {
179
- metrics['metric:lcp'] = Math.round(lcp);
180
- }
176
+ const lcp = await getLCP(end);
177
+ if (lcp) {
178
+ metrics['metric:lcp'] = Math.round(lcp);
181
179
  }
182
180
  return metrics;
183
181
  };
@@ -198,20 +198,15 @@ var getPaintMetrics = /*#__PURE__*/function () {
198
198
  metrics['metric:fcp'] = Math.round(entry.startTime);
199
199
  }
200
200
  });
201
- if (!fg('ufo_lcp')) {
202
- _context.next = 9;
203
- break;
204
- }
205
- _context.next = 7;
201
+ _context.next = 6;
206
202
  return getLCP(end);
207
- case 7:
203
+ case 6:
208
204
  lcp = _context.sent;
209
205
  if (lcp) {
210
206
  metrics['metric:lcp'] = Math.round(lcp);
211
207
  }
212
- case 9:
213
208
  return _context.abrupt("return", metrics);
214
- case 10:
209
+ case 9:
215
210
  case "end":
216
211
  return _context.stop();
217
212
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/react-ufo",
3
- "version": "3.4.7",
3
+ "version": "3.4.8",
4
4
  "description": "Parts of React UFO that are publicly available",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -181,9 +181,6 @@
181
181
  "platform_ufo_segment_list_mode": {
182
182
  "type": "boolean"
183
183
  },
184
- "ufo_lcp": {
185
- "type": "boolean"
186
- },
187
184
  "ufo_payload_use_idle_callback": {
188
185
  "type": "boolean"
189
186
  }