@atlaskit/media-client 33.5.0 → 34.0.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,17 @@
1
1
  # @atlaskit/media-client
2
2
 
3
+ ## 34.0.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#169011](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/169011)
8
+ [`93d6ca5689e75`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/93d6ca5689e75) -
9
+ Sending collection as query parameter during captions upload
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 33.5.0
4
16
 
5
17
  ### Minor Changes
@@ -95,7 +95,8 @@ var MediaStore = exports.MediaStore = /*#__PURE__*/function () {
95
95
  'Content-Type': file.type
96
96
  };
97
97
  extendedParams = _objectSpread(_objectSpread({}, params), {}, {
98
- name: file.name
98
+ name: file.name,
99
+ collection: collectionName
99
100
  });
100
101
  authContext = {
101
102
  collectionName: collectionName,
@@ -66,7 +66,8 @@ export class MediaStore {
66
66
  };
67
67
  const extendedParams = {
68
68
  ...params,
69
- name: file.name
69
+ name: file.name,
70
+ collection: collectionName
70
71
  };
71
72
  const authContext = {
72
73
  collectionName,
@@ -89,7 +89,8 @@ export var MediaStore = /*#__PURE__*/function () {
89
89
  'Content-Type': file.type
90
90
  };
91
91
  extendedParams = _objectSpread(_objectSpread({}, params), {}, {
92
- name: file.name
92
+ name: file.name,
93
+ collection: collectionName
93
94
  });
94
95
  authContext = {
95
96
  collectionName: collectionName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-client",
3
- "version": "33.5.0",
3
+ "version": "34.0.0",
4
4
  "description": "Media API Web Client Library",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -50,11 +50,11 @@
50
50
  "xstate": "4.20.0"
51
51
  },
52
52
  "peerDependencies": {
53
- "@atlaskit/media-core": "^36.1.0",
53
+ "@atlaskit/media-core": "^37.0.0",
54
54
  "@atlaskit/media-state": "^1.6.0"
55
55
  },
56
56
  "devDependencies": {
57
- "@atlaskit/media-core": "^36.1.0",
57
+ "@atlaskit/media-core": "^37.0.0",
58
58
  "@atlaskit/media-state": "^1.6.0",
59
59
  "@atlaskit/ssr": "workspace:^",
60
60
  "@atlaskit/tokens": "^5.2.0",