@atlaskit/media-client 35.3.3 → 35.3.5

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,18 @@
1
1
  # @atlaskit/media-client
2
2
 
3
+ ## 35.3.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 35.3.4
10
+
11
+ ### Patch Changes
12
+
13
+ - [`2afa974d4668f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2afa974d4668f) -
14
+ Fixed path based URLs in SSR not including media-api prefix
15
+
3
16
  ## 35.3.3
4
17
 
5
18
  ### Patch Changes
package/compass.yml CHANGED
@@ -3,7 +3,7 @@ id: 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3
3
3
  description: Media API Web Client Library
4
4
  configVersion: 1
5
5
  typeId: UI_ELEMENT
6
- ownerId: 'ari:cloud:teams::team/ef910622-ce0a-44a0-b441-ba89efe7891b'
6
+ ownerId: 'ari:cloud:teams::team/3bee892f-cb1b-496c-b866-0f08d9e0296c'
7
7
  fields:
8
8
  lifecycle: Active
9
9
  tier: 4
@@ -22,7 +22,7 @@ customFields:
22
22
  links:
23
23
  - name: ''
24
24
  type: REPOSITORY
25
- url: 'https://bitbucket.org/atlassian/atlassian-frontend/src/master/packages/media/media-client/'
25
+ url: 'https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/media/media-client/'
26
26
  - name: ''
27
27
  type: DOCUMENT
28
28
  url: 'https://atlaskit.atlassian.com/packages/media/media-client'
@@ -34,13 +34,13 @@ links:
34
34
  url: 'https://atlassian.signalfx.com/#/dashboard/E-vk3wqAwAA?groupId=E-vkzo1AwAA&configId=E-vk5fsAwAA&startTime=-7d&endTime=Now'
35
35
  - name: ''
36
36
  type: CHAT_CHANNEL
37
- url: 'https://atlassian.slack.com/archives/C020CGJDJ3A'
37
+ url: 'https://atlassian.slack.com/archives/C05J5GNHPLN'
38
38
  - name: ''
39
39
  type: ON_CALL
40
- url: 'https://atlassian.app.opsgenie.com/settings/schedule/detail/b62291ff-4029-4f26-b7fc-d75d46d7aebc'
40
+ url: 'https://hello.jira.atlassian.cloud/jira/ops/teams/og-be5b1a51-de22-4e74-9f81-727cf8b8a0cb/on-call'
41
41
  - name: ''
42
42
  type: PROJECT
43
- url: 'https://product-fabric.atlassian.net/jira/software/c/projects/MEX/boards/713'
43
+ url: 'https://product-fabric.atlassian.net/jira/software/c/projects/BMPT/boards/5090'
44
44
  relationships: {}
45
45
  # Learn more about formatting compass.yml:
46
46
  # https://go.atlassian.com/compass-yml-format
@@ -21,7 +21,7 @@ function mapToPathBasedUrl(url) {
21
21
 
22
22
  // in this case we are most likely in SSR / a non browser environment so just return a relative URL
23
23
  if (!location) {
24
- return getRelativeUrl(url);
24
+ return getRelativeUrl(parsedUrl.toString());
25
25
  }
26
26
  parsedUrl.host = location.host;
27
27
  return parsedUrl.toString();
@@ -13,7 +13,7 @@ export function mapToPathBasedUrl(url) {
13
13
 
14
14
  // in this case we are most likely in SSR / a non browser environment so just return a relative URL
15
15
  if (!location) {
16
- return getRelativeUrl(url);
16
+ return getRelativeUrl(parsedUrl.toString());
17
17
  }
18
18
  parsedUrl.host = location.host;
19
19
  return parsedUrl.toString();
@@ -13,7 +13,7 @@ export function mapToPathBasedUrl(url) {
13
13
 
14
14
  // in this case we are most likely in SSR / a non browser environment so just return a relative URL
15
15
  if (!location) {
16
- return getRelativeUrl(url);
16
+ return getRelativeUrl(parsedUrl.toString());
17
17
  }
18
18
  parsedUrl.host = location.host;
19
19
  return parsedUrl.toString();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-client",
3
- "version": "35.3.3",
3
+ "version": "35.3.5",
4
4
  "description": "Media API Web Client Library",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,7 +29,7 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@atlaskit/atlassian-context": "^0.5.0",
32
+ "@atlaskit/atlassian-context": "^0.6.0",
33
33
  "@atlaskit/chunkinator": "^7.0.0",
34
34
  "@atlaskit/media-common": "^12.3.0",
35
35
  "@atlaskit/platform-feature-flags": "^1.1.0",