@atlaskit/media-common 2.19.0 → 2.19.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,11 @@
1
1
  # @atlaskit/media-common
2
2
 
3
+ ## 2.19.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`9a88e254997`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a88e254997) - Recovered Media Feature Flag mediaUploadApiV2
8
+
3
9
  ## 2.19.0
4
10
 
5
11
  ### Minor Changes
@@ -35,6 +35,8 @@ var areEqualFeatureFlags = function areEqualFeatureFlags(ffA, ffB) {
35
35
  folderUploads: ffA.folderUploads === ffB.folderUploads,
36
36
  observedWidth: ffA.observedWidth === ffB.observedWidth,
37
37
  timestampOnVideo: ffA.timestampOnVideo === ffB.timestampOnVideo,
38
+ // @ts-ignore
39
+ mediaUploadApiV2: ffA.mediaUploadApiV2 === ffB.mediaUploadApiV2,
38
40
  memoryCacheLogging: ffA.memoryCacheLogging === ffB.memoryCacheLogging,
39
41
  fetchFileStateAfterUpload: ffA.fetchFileStateAfterUpload === ffB.fetchFileStateAfterUpload
40
42
  };
@@ -107,6 +109,8 @@ var defaultMediaFeatureFlags = {
107
109
  folderUploads: false,
108
110
  observedWidth: false,
109
111
  timestampOnVideo: false,
112
+ // @ts-ignore
113
+ mediaUploadApiV2: true,
110
114
  memoryCacheLogging: false,
111
115
  fetchFileStateAfterUpload: false
112
116
  };
@@ -13,6 +13,8 @@ var productKeys = {
13
13
  //TODO fill the value after https://product-fabric.atlassian.net/browse/MEX-1593
14
14
  observedWidth: '',
15
15
  timestampOnVideo: 'confluence.frontend.media.timestamp.on.video',
16
+ // @ts-ignore
17
+ mediaUploadApiV2: 'confluence.enable.media.upload.api.v2',
16
18
  memoryCacheLogging: 'confluence-frontend-media-card-memory-cache-logging',
17
19
  fetchFileStateAfterUpload: 'confluence-frontend-media-client-fetch-file-state-after-upload'
18
20
  },
@@ -25,6 +27,8 @@ var productKeys = {
25
27
  //TODO fill the value after https://product-fabric.atlassian.net/browse/MEX-1593
26
28
  observedWidth: '',
27
29
  timestampOnVideo: 'issue.details.media-cards-timestamp-on-video',
30
+ // @ts-ignore
31
+ mediaUploadApiV2: 'issue.details.enable-media-upload-api-version-2',
28
32
  memoryCacheLogging: 'jira-frontend-media-card-memory-cache-logging',
29
33
  fetchFileStateAfterUpload: 'jira-frontend-media-client-fetch-file-state-after-upload'
30
34
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/media-common",
3
- "version": "2.19.0",
3
+ "version": "2.19.1",
4
4
  "sideEffects": false
5
5
  }
@@ -18,6 +18,8 @@ export const areEqualFeatureFlags = (ffA, ffB) => {
18
18
  folderUploads: ffA.folderUploads === ffB.folderUploads,
19
19
  observedWidth: ffA.observedWidth === ffB.observedWidth,
20
20
  timestampOnVideo: ffA.timestampOnVideo === ffB.timestampOnVideo,
21
+ // @ts-ignore
22
+ mediaUploadApiV2: ffA.mediaUploadApiV2 === ffB.mediaUploadApiV2,
21
23
  memoryCacheLogging: ffA.memoryCacheLogging === ffB.memoryCacheLogging,
22
24
  fetchFileStateAfterUpload: ffA.fetchFileStateAfterUpload === ffB.fetchFileStateAfterUpload
23
25
  };
@@ -58,6 +60,8 @@ export const defaultMediaFeatureFlags = {
58
60
  folderUploads: false,
59
61
  observedWidth: false,
60
62
  timestampOnVideo: false,
63
+ // @ts-ignore
64
+ mediaUploadApiV2: true,
61
65
  memoryCacheLogging: false,
62
66
  fetchFileStateAfterUpload: false
63
67
  };
@@ -7,6 +7,8 @@ const productKeys = {
7
7
  //TODO fill the value after https://product-fabric.atlassian.net/browse/MEX-1593
8
8
  observedWidth: '',
9
9
  timestampOnVideo: 'confluence.frontend.media.timestamp.on.video',
10
+ // @ts-ignore
11
+ mediaUploadApiV2: 'confluence.enable.media.upload.api.v2',
10
12
  memoryCacheLogging: 'confluence-frontend-media-card-memory-cache-logging',
11
13
  fetchFileStateAfterUpload: 'confluence-frontend-media-client-fetch-file-state-after-upload'
12
14
  },
@@ -19,6 +21,8 @@ const productKeys = {
19
21
  //TODO fill the value after https://product-fabric.atlassian.net/browse/MEX-1593
20
22
  observedWidth: '',
21
23
  timestampOnVideo: 'issue.details.media-cards-timestamp-on-video',
24
+ // @ts-ignore
25
+ mediaUploadApiV2: 'issue.details.enable-media-upload-api-version-2',
22
26
  memoryCacheLogging: 'jira-frontend-media-card-memory-cache-logging',
23
27
  fetchFileStateAfterUpload: 'jira-frontend-media-client-fetch-file-state-after-upload'
24
28
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/media-common",
3
- "version": "2.19.0",
3
+ "version": "2.19.1",
4
4
  "sideEffects": false
5
5
  }
@@ -19,6 +19,8 @@ export var areEqualFeatureFlags = function areEqualFeatureFlags(ffA, ffB) {
19
19
  folderUploads: ffA.folderUploads === ffB.folderUploads,
20
20
  observedWidth: ffA.observedWidth === ffB.observedWidth,
21
21
  timestampOnVideo: ffA.timestampOnVideo === ffB.timestampOnVideo,
22
+ // @ts-ignore
23
+ mediaUploadApiV2: ffA.mediaUploadApiV2 === ffB.mediaUploadApiV2,
22
24
  memoryCacheLogging: ffA.memoryCacheLogging === ffB.memoryCacheLogging,
23
25
  fetchFileStateAfterUpload: ffA.fetchFileStateAfterUpload === ffB.fetchFileStateAfterUpload
24
26
  };
@@ -80,6 +82,8 @@ export var defaultMediaFeatureFlags = {
80
82
  folderUploads: false,
81
83
  observedWidth: false,
82
84
  timestampOnVideo: false,
85
+ // @ts-ignore
86
+ mediaUploadApiV2: true,
83
87
  memoryCacheLogging: false,
84
88
  fetchFileStateAfterUpload: false
85
89
  };
@@ -7,6 +7,8 @@ var productKeys = {
7
7
  //TODO fill the value after https://product-fabric.atlassian.net/browse/MEX-1593
8
8
  observedWidth: '',
9
9
  timestampOnVideo: 'confluence.frontend.media.timestamp.on.video',
10
+ // @ts-ignore
11
+ mediaUploadApiV2: 'confluence.enable.media.upload.api.v2',
10
12
  memoryCacheLogging: 'confluence-frontend-media-card-memory-cache-logging',
11
13
  fetchFileStateAfterUpload: 'confluence-frontend-media-client-fetch-file-state-after-upload'
12
14
  },
@@ -19,6 +21,8 @@ var productKeys = {
19
21
  //TODO fill the value after https://product-fabric.atlassian.net/browse/MEX-1593
20
22
  observedWidth: '',
21
23
  timestampOnVideo: 'issue.details.media-cards-timestamp-on-video',
24
+ // @ts-ignore
25
+ mediaUploadApiV2: 'issue.details.enable-media-upload-api-version-2',
22
26
  memoryCacheLogging: 'jira-frontend-media-card-memory-cache-logging',
23
27
  fetchFileStateAfterUpload: 'jira-frontend-media-client-fetch-file-state-after-upload'
24
28
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/media-common",
3
- "version": "2.19.0",
3
+ "version": "2.19.1",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-common",
3
- "version": "2.19.0",
3
+ "version": "2.19.1",
4
4
  "description": "Includes common utilities used by other media packages",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"