@atlaskit/profilecard 24.45.3 → 24.46.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,16 @@
1
1
  # @atlaskit/profilecard
2
2
 
3
+ ## 24.46.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`56bb55759e4cf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/56bb55759e4cf) -
8
+ Fix the pathway missing from redirectUrl issue
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
3
14
  ## 24.45.3
4
15
 
5
16
  ### Patch Changes
@@ -11,7 +11,7 @@ var _graphqlUtils = require("./graphqlUtils");
11
11
  var ORG_ID_FROM_CLOUD_ID_QUERY = "query OrgIdFromCloudId($cloudId: ID!) {\n\ttenantContexts(cloudIds: [$cloudId]) {\n\t\torgId\n\t}\n}";
12
12
  var addHeaders = function addHeaders(headers) {
13
13
  headers.append('atl-client-name', "@atlaskit/profilecard");
14
- headers.append('atl-client-version', "0.0.0-development");
14
+ headers.append('atl-client-version', "24.45.3");
15
15
  return headers;
16
16
  };
17
17
  function getOrgIdForCloudIdFromAGG(_x, _x2) {
@@ -66,7 +66,7 @@ var addHeaders = exports.addHeaders = function addHeaders(headers) {
66
66
  headers.append('X-ExperimentalApi', 'teams-beta');
67
67
  headers.append('X-ExperimentalApi', 'team-members-beta');
68
68
  headers.append('atl-client-name', "@atlaskit/profilecard");
69
- headers.append('atl-client-version', "0.0.0-development");
69
+ headers.append('atl-client-version', "24.45.3");
70
70
  return headers;
71
71
  };
72
72
  function getTeamFromAGG(_x, _x2, _x3) {
@@ -104,7 +104,8 @@ var useAgentUrlActions = exports.useAgentUrlActions = function useAgentUrlAction
104
104
  cloudId: cloudId
105
105
  }, createRovoParams({
106
106
  cloudId: cloudId,
107
- agentId: agentId
107
+ agentId: agentId,
108
+ pathway: 'chat'
108
109
  })));
109
110
  window.open(urlWithParams, '_blank', 'noopener, noreferrer');
110
111
  };
@@ -11,7 +11,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
11
11
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
12
12
  var PACKAGE_META_DATA = exports.PACKAGE_META_DATA = {
13
13
  packageName: "@atlaskit/profilecard",
14
- packageVersion: "0.0.0-development"
14
+ packageVersion: "24.45.3"
15
15
  };
16
16
  var TEAM_SUBJECT = 'teamProfileCard';
17
17
  var USER_SUBJECT = 'profilecard';
@@ -30,7 +30,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
30
30
  actionSubjectId: actionSubjectId,
31
31
  attributes: _objectSpread(_objectSpread({
32
32
  packageName: "@atlaskit/profilecard",
33
- packageVersion: "0.0.0-development"
33
+ packageVersion: "24.45.3"
34
34
  }, attributes), {}, {
35
35
  firedAt: Math.round((0, _performance.getPageTime)())
36
36
  })
@@ -6,7 +6,7 @@ const ORG_ID_FROM_CLOUD_ID_QUERY = `query OrgIdFromCloudId($cloudId: ID!) {
6
6
  }`;
7
7
  const addHeaders = headers => {
8
8
  headers.append('atl-client-name', "@atlaskit/profilecard");
9
- headers.append('atl-client-version', "0.0.0-development");
9
+ headers.append('atl-client-version', "24.45.3");
10
10
  return headers;
11
11
  };
12
12
  export async function getOrgIdForCloudIdFromAGG(url, cloudId) {
@@ -78,7 +78,7 @@ export const addHeaders = headers => {
78
78
  headers.append('X-ExperimentalApi', 'teams-beta');
79
79
  headers.append('X-ExperimentalApi', 'team-members-beta');
80
80
  headers.append('atl-client-name', "@atlaskit/profilecard");
81
- headers.append('atl-client-version', "0.0.0-development");
81
+ headers.append('atl-client-version', "24.45.3");
82
82
  return headers;
83
83
  };
84
84
  export async function getTeamFromAGG(url, teamId, siteId) {
@@ -93,7 +93,8 @@ export const useAgentUrlActions = ({
93
93
  cloudId,
94
94
  ...createRovoParams({
95
95
  cloudId,
96
- agentId
96
+ agentId,
97
+ pathway: 'chat'
97
98
  })
98
99
  });
99
100
  window.open(urlWithParams, '_blank', 'noopener, noreferrer');
@@ -1,7 +1,7 @@
1
1
  import { getPageTime } from './performance';
2
2
  export const PACKAGE_META_DATA = {
3
3
  packageName: "@atlaskit/profilecard",
4
- packageVersion: "0.0.0-development"
4
+ packageVersion: "24.45.3"
5
5
  };
6
6
  const TEAM_SUBJECT = 'teamProfileCard';
7
7
  const USER_SUBJECT = 'profilecard';
@@ -18,7 +18,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
18
18
  actionSubjectId,
19
19
  attributes: {
20
20
  packageName: "@atlaskit/profilecard",
21
- packageVersion: "0.0.0-development",
21
+ packageVersion: "24.45.3",
22
22
  ...attributes,
23
23
  firedAt: Math.round(getPageTime())
24
24
  }
@@ -4,7 +4,7 @@ import { AGGQuery } from './graphqlUtils';
4
4
  var ORG_ID_FROM_CLOUD_ID_QUERY = "query OrgIdFromCloudId($cloudId: ID!) {\n\ttenantContexts(cloudIds: [$cloudId]) {\n\t\torgId\n\t}\n}";
5
5
  var addHeaders = function addHeaders(headers) {
6
6
  headers.append('atl-client-name', "@atlaskit/profilecard");
7
- headers.append('atl-client-version', "0.0.0-development");
7
+ headers.append('atl-client-version', "24.45.3");
8
8
  return headers;
9
9
  };
10
10
  export function getOrgIdForCloudIdFromAGG(_x, _x2) {
@@ -59,7 +59,7 @@ export var addHeaders = function addHeaders(headers) {
59
59
  headers.append('X-ExperimentalApi', 'teams-beta');
60
60
  headers.append('X-ExperimentalApi', 'team-members-beta');
61
61
  headers.append('atl-client-name', "@atlaskit/profilecard");
62
- headers.append('atl-client-version', "0.0.0-development");
62
+ headers.append('atl-client-version', "24.45.3");
63
63
  return headers;
64
64
  };
65
65
  export function getTeamFromAGG(_x, _x2, _x3) {
@@ -97,7 +97,8 @@ export var useAgentUrlActions = function useAgentUrlActions(_ref3) {
97
97
  cloudId: cloudId
98
98
  }, createRovoParams({
99
99
  cloudId: cloudId,
100
- agentId: agentId
100
+ agentId: agentId,
101
+ pathway: 'chat'
101
102
  })));
102
103
  window.open(urlWithParams, '_blank', 'noopener, noreferrer');
103
104
  };
@@ -4,7 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
4
4
  import { getPageTime } from './performance';
5
5
  export var PACKAGE_META_DATA = {
6
6
  packageName: "@atlaskit/profilecard",
7
- packageVersion: "0.0.0-development"
7
+ packageVersion: "24.45.3"
8
8
  };
9
9
  var TEAM_SUBJECT = 'teamProfileCard';
10
10
  var USER_SUBJECT = 'profilecard';
@@ -23,7 +23,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
23
23
  actionSubjectId: actionSubjectId,
24
24
  attributes: _objectSpread(_objectSpread({
25
25
  packageName: "@atlaskit/profilecard",
26
- packageVersion: "0.0.0-development"
26
+ packageVersion: "24.45.3"
27
27
  }, attributes), {}, {
28
28
  firedAt: Math.round(getPageTime())
29
29
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "24.45.3",
3
+ "version": "24.46.0",
4
4
  "description": "A React component to display a card with user information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -66,7 +66,7 @@
66
66
  "@atlaskit/teams-avatar": "^2.4.0",
67
67
  "@atlaskit/teams-public": "^0.72.0",
68
68
  "@atlaskit/theme": "^22.0.0",
69
- "@atlaskit/tmp-editor-statsig": "^51.0.0",
69
+ "@atlaskit/tmp-editor-statsig": "^52.0.0",
70
70
  "@atlaskit/tokens": "^11.4.0",
71
71
  "@atlaskit/tooltip": "^21.0.0",
72
72
  "@babel/runtime": "^7.0.0",