@atlaskit/media-client 35.6.0 → 35.6.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,12 @@
|
|
|
1
1
|
# @atlaskit/media-client
|
|
2
2
|
|
|
3
|
+
## 35.6.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`371b214b9bcc5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/371b214b9bcc5) -
|
|
8
|
+
Fixed the artifact URL generation when the basePath contains `/media-api`
|
|
9
|
+
|
|
3
10
|
## 35.6.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
|
@@ -549,7 +549,7 @@ var MediaStore = exports.MediaStore = /*#__PURE__*/function () {
|
|
|
549
549
|
},
|
|
550
550
|
auth: auth
|
|
551
551
|
};
|
|
552
|
-
url = (0,
|
|
552
|
+
url = (0, _mediaCdn.mapToMediaCdnUrl)((0, _helpers.createUrl)("".concat(auth.baseUrl).concat(artifactUrl), options), auth.token);
|
|
553
553
|
if (!(0, _pathBasedUrl.isPathBasedEnabled)()) {
|
|
554
554
|
_context0.next = 11;
|
|
555
555
|
break;
|
|
@@ -338,7 +338,7 @@ export class MediaStore {
|
|
|
338
338
|
},
|
|
339
339
|
auth
|
|
340
340
|
};
|
|
341
|
-
const url = createUrl(
|
|
341
|
+
const url = mapToMediaCdnUrl(createUrl(`${auth.baseUrl}${artifactUrl}`, options), auth.token);
|
|
342
342
|
if (isPathBasedEnabled()) {
|
|
343
343
|
return mapToPathBasedUrl(url);
|
|
344
344
|
}
|
|
@@ -543,7 +543,7 @@ export var MediaStore = /*#__PURE__*/function () {
|
|
|
543
543
|
},
|
|
544
544
|
auth: auth
|
|
545
545
|
};
|
|
546
|
-
url = createUrl(
|
|
546
|
+
url = mapToMediaCdnUrl(createUrl("".concat(auth.baseUrl).concat(artifactUrl), options), auth.token);
|
|
547
547
|
if (!isPathBasedEnabled()) {
|
|
548
548
|
_context0.next = 11;
|
|
549
549
|
break;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-client",
|
|
3
|
-
"version": "35.6.
|
|
3
|
+
"version": "35.6.1",
|
|
4
4
|
"description": "Media API Web Client Library",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@atlaskit/media-core": "^37.0.0",
|
|
54
54
|
"@atlaskit/media-state": "^1.8.0",
|
|
55
55
|
"@atlaskit/ssr": "workspace:^",
|
|
56
|
-
"@atlaskit/tokens": "^8.
|
|
56
|
+
"@atlaskit/tokens": "^8.4.0",
|
|
57
57
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
58
58
|
"@emotion/react": "^11.7.1",
|
|
59
59
|
"@types/deep-equal": "^1.0.1",
|