@atlaskit/smart-card 20.0.3 → 20.0.4

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/smart-card
2
2
 
3
+ ## 20.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`2a5cc0d4297`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2a5cc0d4297) - Block: Update pull request link avatar to author (attributedTo)
8
+
3
9
  ## 20.0.3
4
10
 
5
11
  ### Patch Changes
@@ -84,6 +84,8 @@ var extractBlockUsers = function extractBlockUsers(jsonLd) {
84
84
  if (assignedMembers) {
85
85
  return [assignedMembers];
86
86
  }
87
+ } else if (jsonLd['@type'] === 'atlassian:SourceCodePullRequest') {
88
+ return (0, _extractors.extractPersonCreatedBy)(jsonLd);
87
89
  } else {
88
90
  var updatedBy = (0, _extractors.extractPersonUpdatedBy)(jsonLd);
89
91
  var updatedByMembers;
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "20.0.3",
3
+ "version": "20.0.4",
4
4
  "sideEffects": false
5
5
  }
@@ -55,6 +55,8 @@ export const extractBlockUsers = jsonLd => {
55
55
  if (assignedMembers) {
56
56
  return [assignedMembers];
57
57
  }
58
+ } else if (jsonLd['@type'] === 'atlassian:SourceCodePullRequest') {
59
+ return extractPersonCreatedBy(jsonLd);
58
60
  } else {
59
61
  const updatedBy = extractPersonUpdatedBy(jsonLd);
60
62
  let updatedByMembers;
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "20.0.3",
3
+ "version": "20.0.4",
4
4
  "sideEffects": false
5
5
  }
@@ -63,6 +63,8 @@ export var extractBlockUsers = function extractBlockUsers(jsonLd) {
63
63
  if (assignedMembers) {
64
64
  return [assignedMembers];
65
65
  }
66
+ } else if (jsonLd['@type'] === 'atlassian:SourceCodePullRequest') {
67
+ return extractPersonCreatedBy(jsonLd);
66
68
  } else {
67
69
  var updatedBy = extractPersonUpdatedBy(jsonLd);
68
70
  var updatedByMembers;
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "20.0.3",
3
+ "version": "20.0.4",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "20.0.3",
3
+ "version": "20.0.4",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"