@atlaskit/media-file-preview 0.8.2 → 0.8.3
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.3
|
|
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
|
## 0.8.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -74,7 +74,7 @@ var useFilePreview = exports.useFilePreview = function useFilePreview(_ref) {
|
|
|
74
74
|
upscale: upscale,
|
|
75
75
|
'max-age': maxAge
|
|
76
76
|
});
|
|
77
|
-
if ((0, _platformFeatureFlags.fg)('platform.media-card-performance-
|
|
77
|
+
if ((0, _platformFeatureFlags.fg)('platform.media-card-performance-observer_a803k')) {
|
|
78
78
|
imageURLParams = _objectSpread(_objectSpread({}, imageURLParams), {}, {
|
|
79
79
|
source: source
|
|
80
80
|
});
|
|
@@ -67,7 +67,7 @@ export var useFilePreview = function useFilePreview(_ref) {
|
|
|
67
67
|
upscale: upscale,
|
|
68
68
|
'max-age': maxAge
|
|
69
69
|
});
|
|
70
|
-
if (fg('platform.media-card-performance-
|
|
70
|
+
if (fg('platform.media-card-performance-observer_a803k')) {
|
|
71
71
|
imageURLParams = _objectSpread(_objectSpread({}, imageURLParams), {}, {
|
|
72
72
|
source: source
|
|
73
73
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-file-preview",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
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",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
".": "./src/index.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@atlaskit/media-client": "^27.
|
|
39
|
+
"@atlaskit/media-client": "^27.5.0",
|
|
40
40
|
"@atlaskit/media-client-react": "^2.1.0",
|
|
41
41
|
"@atlaskit/media-common": "^11.4.0",
|
|
42
42
|
"@atlaskit/media-ui": "^25.11.0",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
}
|
|
100
100
|
},
|
|
101
101
|
"platform-feature-flags": {
|
|
102
|
-
"platform.media-card-performance-
|
|
102
|
+
"platform.media-card-performance-observer_a803k": {
|
|
103
103
|
"type": "boolean"
|
|
104
104
|
}
|
|
105
105
|
}
|