@atlaskit/profilecard 19.7.0 → 19.7.2

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/profilecard
2
2
 
3
+ ## 19.7.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#41882](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41882) [`54e68dcc7da`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54e68dcc7da) - Pass en-US as default locale
8
+
9
+ ## 19.7.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#41768](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41768) [`fe2e31821db`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe2e31821db) - Dont fail SLO on IdentityUserNotFoundError
14
+
3
15
  ## 19.7.0
4
16
 
5
17
  ### Minor Changes
@@ -7,7 +7,7 @@ exports.handleDirectoryGraphQLErrors = exports.handleAGGErrors = exports.getErro
7
7
  var _errors = require("../util/errors");
8
8
  var IGNORED_ERROR_REASONS_DIRECTORY = [
9
9
  // Error categories from pf-directory
10
- 'NotPermitted', 'Gone'];
10
+ 'NotPermitted', 'Gone', 'IdentityUserNotFoundError'];
11
11
  var IGNORE_ERROR_TYPES_AGG = ['IdentityUserNotFoundError', 'TEAMS_FORBIDDEN', 'TEAMS_TEAM_DELETED'];
12
12
  var IGNORE_ERROR_CLASSIFICATIONS_AGG = ['Gone'];
13
13
  function isIgnoredError(error) {
@@ -60,7 +60,7 @@ var addHeaders = exports.addHeaders = function addHeaders(headers) {
60
60
  headers.append('X-ExperimentalApi', 'teams-beta');
61
61
  headers.append('X-ExperimentalApi', 'team-members-beta');
62
62
  headers.append('atl-client-name', "@atlaskit/profilecard");
63
- headers.append('atl-client-version', "19.7.0");
63
+ headers.append('atl-client-version', "19.7.2");
64
64
  return headers;
65
65
  };
66
66
  function getTeamFromAGG(_x, _x2, _x3) {
@@ -44,7 +44,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
44
44
  actionSubjectId: actionSubjectId,
45
45
  attributes: _objectSpread(_objectSpread({
46
46
  packageName: "@atlaskit/profilecard",
47
- packageVersion: "19.7.0"
47
+ packageVersion: "19.7.2"
48
48
  }, attributes), {}, {
49
49
  firedAt: Math.round((0, _performance.getPageTime)())
50
50
  })
@@ -1,7 +1,7 @@
1
1
  import { AGGError, AGGErrors, DirectoryGraphQLError, DirectoryGraphQLErrors } from '../util/errors';
2
2
  const IGNORED_ERROR_REASONS_DIRECTORY = [
3
3
  // Error categories from pf-directory
4
- 'NotPermitted', 'Gone'];
4
+ 'NotPermitted', 'Gone', 'IdentityUserNotFoundError'];
5
5
  const IGNORE_ERROR_TYPES_AGG = ['IdentityUserNotFoundError', 'TEAMS_FORBIDDEN', 'TEAMS_TEAM_DELETED'];
6
6
  const IGNORE_ERROR_CLASSIFICATIONS_AGG = ['Gone'];
7
7
  function isIgnoredError(error) {
@@ -77,7 +77,7 @@ export const addHeaders = headers => {
77
77
  headers.append('X-ExperimentalApi', 'teams-beta');
78
78
  headers.append('X-ExperimentalApi', 'team-members-beta');
79
79
  headers.append('atl-client-name', "@atlaskit/profilecard");
80
- headers.append('atl-client-version', "19.7.0");
80
+ headers.append('atl-client-version', "19.7.2");
81
81
  return headers;
82
82
  };
83
83
  export async function getTeamFromAGG(url, teamId, siteId) {
@@ -31,7 +31,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
31
31
  actionSubjectId,
32
32
  attributes: {
33
33
  packageName: "@atlaskit/profilecard",
34
- packageVersion: "19.7.0",
34
+ packageVersion: "19.7.2",
35
35
  ...attributes,
36
36
  firedAt: Math.round(getPageTime())
37
37
  }
@@ -1,7 +1,7 @@
1
1
  import { AGGError, AGGErrors, DirectoryGraphQLError, DirectoryGraphQLErrors } from '../util/errors';
2
2
  var IGNORED_ERROR_REASONS_DIRECTORY = [
3
3
  // Error categories from pf-directory
4
- 'NotPermitted', 'Gone'];
4
+ 'NotPermitted', 'Gone', 'IdentityUserNotFoundError'];
5
5
  var IGNORE_ERROR_TYPES_AGG = ['IdentityUserNotFoundError', 'TEAMS_FORBIDDEN', 'TEAMS_TEAM_DELETED'];
6
6
  var IGNORE_ERROR_CLASSIFICATIONS_AGG = ['Gone'];
7
7
  function isIgnoredError(error) {
@@ -51,7 +51,7 @@ export var addHeaders = function addHeaders(headers) {
51
51
  headers.append('X-ExperimentalApi', 'teams-beta');
52
52
  headers.append('X-ExperimentalApi', 'team-members-beta');
53
53
  headers.append('atl-client-name', "@atlaskit/profilecard");
54
- headers.append('atl-client-version', "19.7.0");
54
+ headers.append('atl-client-version', "19.7.2");
55
55
  return headers;
56
56
  };
57
57
  export function getTeamFromAGG(_x, _x2, _x3) {
@@ -38,7 +38,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
38
38
  actionSubjectId: actionSubjectId,
39
39
  attributes: _objectSpread(_objectSpread({
40
40
  packageName: "@atlaskit/profilecard",
41
- packageVersion: "19.7.0"
41
+ packageVersion: "19.7.2"
42
42
  }, attributes), {}, {
43
43
  firedAt: Math.round(getPageTime())
44
44
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "19.7.0",
3
+ "version": "19.7.2",
4
4
  "description": "A React component to display a card with user information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -53,18 +53,18 @@
53
53
  "@atlaskit/avatar": "^21.4.0",
54
54
  "@atlaskit/avatar-group": "^9.4.0",
55
55
  "@atlaskit/button": "^16.10.0",
56
- "@atlaskit/dropdown-menu": "^12.0.0",
56
+ "@atlaskit/dropdown-menu": "^12.1.0",
57
57
  "@atlaskit/empty-state": "^7.6.0",
58
58
  "@atlaskit/focus-ring": "^1.3.4",
59
59
  "@atlaskit/give-kudos": "^2.0.0",
60
60
  "@atlaskit/icon": "^21.12.0",
61
61
  "@atlaskit/lozenge": "^11.4.0",
62
- "@atlaskit/menu": "^2.0.0",
62
+ "@atlaskit/menu": "^2.1.0",
63
63
  "@atlaskit/platform-feature-flags": "^0.2.4",
64
- "@atlaskit/popup": "^1.10.0",
64
+ "@atlaskit/popup": "^1.11.0",
65
65
  "@atlaskit/spinner": "^15.6.0",
66
66
  "@atlaskit/theme": "^12.6.0",
67
- "@atlaskit/tokens": "^1.26.0",
67
+ "@atlaskit/tokens": "^1.28.0",
68
68
  "@babel/runtime": "^7.0.0",
69
69
  "@emotion/react": "^11.7.1",
70
70
  "@emotion/styled": "^11.0.0",