@atlaskit/media-file-preview 0.8.1 → 0.8.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/media-file-preview
2
2
 
3
+ ## 0.8.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#132917](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/132917)
8
+ [`c940f8ae45182`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c940f8ae45182) -
9
+ Removed the additional `ssr` parameter to the image endpoint
10
+
3
11
  ## 0.8.1
4
12
 
5
13
  ### Patch Changes
@@ -76,8 +76,7 @@ var useFilePreview = exports.useFilePreview = function useFilePreview(_ref) {
76
76
  });
77
77
  if ((0, _platformFeatureFlags.fg)('platform.media-card-performance-observer_lgc7b')) {
78
78
  imageURLParams = _objectSpread(_objectSpread({}, imageURLParams), {}, {
79
- source: source,
80
- ssr: ssr
79
+ source: source
81
80
  });
82
81
  }
83
82
  var previewInitializer = function previewInitializer() {
@@ -49,8 +49,7 @@ export const useFilePreview = ({
49
49
  if (fg('platform.media-card-performance-observer_lgc7b')) {
50
50
  imageURLParams = {
51
51
  ...imageURLParams,
52
- source,
53
- ssr
52
+ source
54
53
  };
55
54
  }
56
55
  const previewInitializer = () => {
@@ -69,8 +69,7 @@ export var useFilePreview = function useFilePreview(_ref) {
69
69
  });
70
70
  if (fg('platform.media-card-performance-observer_lgc7b')) {
71
71
  imageURLParams = _objectSpread(_objectSpread({}, imageURLParams), {}, {
72
- source: source,
73
- ssr: ssr
72
+ source: source
74
73
  });
75
74
  }
76
75
  var previewInitializer = function previewInitializer() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-file-preview",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "A React Hook to fetch and render file previews. It's overloaded with fancy features like SSR, lazy loading, memory cache and local preview.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",