@atlaskit/media-client 27.5.2 → 27.6.0

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,16 @@
1
1
  # @atlaskit/media-client
2
2
 
3
+ ## 27.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#134882](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/134882)
8
+ [`ba204702f8e32`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ba204702f8e32) -
9
+ [ED-24567]
10
+
11
+ - **@atlaskit/editor-common** Add MEDIA_PICKER as a variable fo analytics
12
+ - **@atlaskit/media-client** Return the mime-type from when calling the `uploadExternal` function
13
+
3
14
  ## 27.5.2
4
15
 
5
16
  ### Patch Changes
@@ -370,6 +370,7 @@ var FileFetcherImpl = exports.FileFetcherImpl = /*#__PURE__*/function () {
370
370
  case 20:
371
371
  resolve({
372
372
  dimensions: dimensions,
373
+ mimeType: type,
373
374
  uploadableFileUpfrontIds: uploadableFileUpfrontIds
374
375
  });
375
376
  case 21:
@@ -271,6 +271,7 @@ export class FileFetcherImpl {
271
271
  }
272
272
  resolve({
273
273
  dimensions,
274
+ mimeType: type,
274
275
  uploadableFileUpfrontIds
275
276
  });
276
277
  });
@@ -352,6 +352,7 @@ export var FileFetcherImpl = /*#__PURE__*/function () {
352
352
  case 20:
353
353
  resolve({
354
354
  dimensions: dimensions,
355
+ mimeType: type,
355
356
  uploadableFileUpfrontIds: uploadableFileUpfrontIds
356
357
  });
357
358
  case 21:
@@ -26,6 +26,7 @@ export interface CopyFileOptions {
26
26
  }
27
27
  export type ExternalUploadPayload = {
28
28
  uploadableFileUpfrontIds: UploadableFileUpfrontIds;
29
+ mimeType: string;
29
30
  dimensions: Dimensions;
30
31
  };
31
32
  export interface FileFetcher {
@@ -26,6 +26,7 @@ export interface CopyFileOptions {
26
26
  }
27
27
  export type ExternalUploadPayload = {
28
28
  uploadableFileUpfrontIds: UploadableFileUpfrontIds;
29
+ mimeType: string;
29
30
  dimensions: Dimensions;
30
31
  };
31
32
  export interface FileFetcher {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-client",
3
- "version": "27.5.2",
3
+ "version": "27.6.0",
4
4
  "description": "Media API Web Client Library",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"