@atlaskit/media-client 27.5.0 → 27.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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/media-client
2
2
 
3
+ ## 27.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`eaacfc7b03414`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/eaacfc7b03414) -
8
+ Changed the feature flag used for analytics publishing to prevent spamming due to cached clients
9
+ using bugged versions of Card
10
+
3
11
  ## 27.5.0
4
12
 
5
13
  ### Minor Changes
@@ -443,7 +443,7 @@ var MediaStore = exports.MediaStore = /*#__PURE__*/function () {
443
443
  params: extendImageParams(params, fetchMaxRes),
444
444
  headers: headers,
445
445
  traceContext: traceContext,
446
- addMediaClientParam: (0, _platformFeatureFlags.fg)('platform.media-card-performance-observer_lgc7b') && true
446
+ addMediaClientParam: (0, _platformFeatureFlags.fg)('platform.media-card-performance-observer_a803k') && true
447
447
  });
448
448
  return _context8.abrupt("return", this.request("/file/".concat(id, "/").concat(imageEndpoint), options, controller, true).then((0, _helpers.createMapResponseToBlob)(metadata)));
449
449
  case 7:
@@ -262,7 +262,7 @@ export class MediaStore {
262
262
  params: extendImageParams(params, fetchMaxRes),
263
263
  headers,
264
264
  traceContext,
265
- addMediaClientParam: fg('platform.media-card-performance-observer_lgc7b') && true
265
+ addMediaClientParam: fg('platform.media-card-performance-observer_a803k') && true
266
266
  };
267
267
  return this.request(`/file/${id}/${imageEndpoint}`, options, controller, true).then(createMapResponseToBlob(metadata));
268
268
  }
@@ -437,7 +437,7 @@ export var MediaStore = /*#__PURE__*/function () {
437
437
  params: extendImageParams(params, fetchMaxRes),
438
438
  headers: headers,
439
439
  traceContext: traceContext,
440
- addMediaClientParam: fg('platform.media-card-performance-observer_lgc7b') && true
440
+ addMediaClientParam: fg('platform.media-card-performance-observer_a803k') && true
441
441
  });
442
442
  return _context8.abrupt("return", this.request("/file/".concat(id, "/").concat(imageEndpoint), options, controller, true).then(createMapResponseToBlob(metadata)));
443
443
  case 7:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-client",
3
- "version": "27.5.0",
3
+ "version": "27.5.1",
4
4
  "description": "Media API Web Client Library",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -90,7 +90,7 @@
90
90
  "platform.media-cdn-delivery": {
91
91
  "type": "boolean"
92
92
  },
93
- "platform.media-card-performance-observer_lgc7b": {
93
+ "platform.media-card-performance-observer_a803k": {
94
94
  "type": "boolean"
95
95
  },
96
96
  "platform.media-cdn-single-host": {