@atlaskit/profilecard 26.12.2 → 26.12.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 +14 -0
- package/dist/cjs/client/RovoAgentCardClient.js +2 -15
- package/dist/cjs/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/cjs/client/getTeamFromAGG.js +1 -1
- package/dist/cjs/util/analytics.js +2 -2
- package/dist/es2019/client/RovoAgentCardClient.js +2 -13
- package/dist/es2019/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/es2019/client/getTeamFromAGG.js +1 -1
- package/dist/es2019/util/analytics.js +2 -2
- package/dist/esm/client/RovoAgentCardClient.js +2 -15
- package/dist/esm/client/getOrgIdForCloudIdFromAGG.js +1 -1
- package/dist/esm/client/getTeamFromAGG.js +1 -1
- package/dist/esm/util/analytics.js +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 26.12.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 26.12.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`ea3170072c098`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ea3170072c098) -
|
|
14
|
+
Cleans up experiment platform_editor_agent_profile_card_fav_sync
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 26.12.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -8,7 +8,6 @@ exports.default = exports.AgentForbiddenError = void 0;
|
|
|
8
8
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
9
9
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
10
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
11
|
-
var _get2 = _interopRequireDefault(require("@babel/runtime/helpers/get"));
|
|
12
11
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
13
12
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
14
13
|
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
@@ -27,7 +26,6 @@ var _graphqlUtils = require("./graphqlUtils");
|
|
|
27
26
|
var _sharedAgentProfileCache = require("./sharedAgentProfileCache");
|
|
28
27
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
29
28
|
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; }
|
|
30
|
-
function _superPropGet(t, o, e, r) { var p = (0, _get2.default)((0, _getPrototypeOf2.default)(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; }
|
|
31
29
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
32
30
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
33
31
|
var AgentForbiddenError = exports.AgentForbiddenError = /*#__PURE__*/function (_Error) {
|
|
@@ -111,9 +109,6 @@ var RovoAgentCardClient = exports.default = /*#__PURE__*/function (_CachingClien
|
|
|
111
109
|
}, {
|
|
112
110
|
key: "getCachedProfile",
|
|
113
111
|
value: function getCachedProfile(idValue) {
|
|
114
|
-
if (!_featureGates.default.getExperimentValue('platform_editor_agent_profile_card_fav_sync', 'isEnabled', false)) {
|
|
115
|
-
return _superPropGet(RovoAgentCardClient, "getCachedProfile", this, 3)([idValue]);
|
|
116
|
-
}
|
|
117
112
|
var key = this.sharedCacheKey(idValue);
|
|
118
113
|
var cached = _sharedAgentProfileCache.sharedAgentProfileCache.get(key);
|
|
119
114
|
if (!cached) {
|
|
@@ -128,10 +123,6 @@ var RovoAgentCardClient = exports.default = /*#__PURE__*/function (_CachingClien
|
|
|
128
123
|
}, {
|
|
129
124
|
key: "setCachedProfile",
|
|
130
125
|
value: function setCachedProfile(idValue, profile) {
|
|
131
|
-
if (!_featureGates.default.getExperimentValue('platform_editor_agent_profile_card_fav_sync', 'isEnabled', false)) {
|
|
132
|
-
_superPropGet(RovoAgentCardClient, "setCachedProfile", this, 3)([idValue, profile]);
|
|
133
|
-
return;
|
|
134
|
-
}
|
|
135
126
|
_sharedAgentProfileCache.sharedAgentProfileCache.set(this.sharedCacheKey(idValue), {
|
|
136
127
|
expire: Date.now() + (this.config.cacheMaxAge || _sharedAgentProfileCache.SHARED_CACHE_MAX_AGE),
|
|
137
128
|
profile: profile
|
|
@@ -321,9 +312,7 @@ var RovoAgentCardClient = exports.default = /*#__PURE__*/function (_CachingClien
|
|
|
321
312
|
}, _analytics.PACKAGE_META_DATA));
|
|
322
313
|
}
|
|
323
314
|
_this4.makeRequest(id, analytics).then(function (data) {
|
|
324
|
-
|
|
325
|
-
_this4.setCachedProfile(id.value, data);
|
|
326
|
-
}
|
|
315
|
+
_this4.setCachedProfile(id.value, data);
|
|
327
316
|
if (analytics) {
|
|
328
317
|
analytics('operational.rovoAgentProfilecard.succeeded.request', _objectSpread({
|
|
329
318
|
duration: (0, _performance.getPageTime)() - startTime,
|
|
@@ -425,9 +414,7 @@ var RovoAgentCardClient = exports.default = /*#__PURE__*/function (_CachingClien
|
|
|
425
414
|
firedAt: Math.round((0, _performance.getPageTime)())
|
|
426
415
|
}, _analytics.PACKAGE_META_DATA));
|
|
427
416
|
}
|
|
428
|
-
|
|
429
|
-
_this6.syncFavouriteToCache(agentId, isFavourite);
|
|
430
|
-
}
|
|
417
|
+
_this6.syncFavouriteToCache(agentId, isFavourite);
|
|
431
418
|
resolve();
|
|
432
419
|
}).catch(function (error) {
|
|
433
420
|
if (analytics) {
|
|
@@ -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', "26.12.
|
|
14
|
+
headers.append('atl-client-version', "26.12.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', "26.12.
|
|
69
|
+
headers.append('atl-client-version', "26.12.3");
|
|
70
70
|
return headers;
|
|
71
71
|
};
|
|
72
72
|
function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -12,7 +12,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
12
12
|
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; }
|
|
13
13
|
var PACKAGE_META_DATA = exports.PACKAGE_META_DATA = {
|
|
14
14
|
packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
|
|
15
|
-
packageVersion: (_process$env$_PACKAGE2 = "26.12.
|
|
15
|
+
packageVersion: (_process$env$_PACKAGE2 = "26.12.3") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
|
|
16
16
|
};
|
|
17
17
|
var TEAM_SUBJECT = 'teamProfileCard';
|
|
18
18
|
var USER_SUBJECT = 'profilecard';
|
|
@@ -31,7 +31,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
31
31
|
actionSubjectId: actionSubjectId,
|
|
32
32
|
attributes: _objectSpread(_objectSpread({
|
|
33
33
|
packageName: "@atlaskit/profilecard",
|
|
34
|
-
packageVersion: "26.12.
|
|
34
|
+
packageVersion: "26.12.3"
|
|
35
35
|
}, attributes), {}, {
|
|
36
36
|
firedAt: Math.round((0, _performance.getPageTime)())
|
|
37
37
|
})
|
|
@@ -118,9 +118,6 @@ export default class RovoAgentCardClient extends CachingClient {
|
|
|
118
118
|
return `${(_this$options$cloudId = this.options.cloudId) !== null && _this$options$cloudId !== void 0 ? _this$options$cloudId : ''}:${idValue}`;
|
|
119
119
|
}
|
|
120
120
|
getCachedProfile(idValue) {
|
|
121
|
-
if (!FeatureGates.getExperimentValue('platform_editor_agent_profile_card_fav_sync', 'isEnabled', false)) {
|
|
122
|
-
return super.getCachedProfile(idValue);
|
|
123
|
-
}
|
|
124
121
|
const key = this.sharedCacheKey(idValue);
|
|
125
122
|
const cached = sharedAgentProfileCache.get(key);
|
|
126
123
|
if (!cached) {
|
|
@@ -133,10 +130,6 @@ export default class RovoAgentCardClient extends CachingClient {
|
|
|
133
130
|
return cached.profile;
|
|
134
131
|
}
|
|
135
132
|
setCachedProfile(idValue, profile) {
|
|
136
|
-
if (!FeatureGates.getExperimentValue('platform_editor_agent_profile_card_fav_sync', 'isEnabled', false)) {
|
|
137
|
-
super.setCachedProfile(idValue, profile);
|
|
138
|
-
return;
|
|
139
|
-
}
|
|
140
133
|
sharedAgentProfileCache.set(this.sharedCacheKey(idValue), {
|
|
141
134
|
expire: Date.now() + (this.config.cacheMaxAge || SHARED_CACHE_MAX_AGE),
|
|
142
135
|
profile
|
|
@@ -252,9 +245,7 @@ export default class RovoAgentCardClient extends CachingClient {
|
|
|
252
245
|
});
|
|
253
246
|
}
|
|
254
247
|
this.makeRequest(id, analytics).then(data => {
|
|
255
|
-
|
|
256
|
-
this.setCachedProfile(id.value, data);
|
|
257
|
-
}
|
|
248
|
+
this.setCachedProfile(id.value, data);
|
|
258
249
|
if (analytics) {
|
|
259
250
|
analytics('operational.rovoAgentProfilecard.succeeded.request', {
|
|
260
251
|
duration: getPageTime() - startTime,
|
|
@@ -351,9 +342,7 @@ export default class RovoAgentCardClient extends CachingClient {
|
|
|
351
342
|
...PACKAGE_META_DATA
|
|
352
343
|
});
|
|
353
344
|
}
|
|
354
|
-
|
|
355
|
-
this.syncFavouriteToCache(agentId, isFavourite);
|
|
356
|
-
}
|
|
345
|
+
this.syncFavouriteToCache(agentId, isFavourite);
|
|
357
346
|
resolve();
|
|
358
347
|
}).catch(error => {
|
|
359
348
|
if (analytics) {
|
|
@@ -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', "26.12.
|
|
9
|
+
headers.append('atl-client-version', "26.12.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', "26.12.
|
|
81
|
+
headers.append('atl-client-version', "26.12.3");
|
|
82
82
|
return headers;
|
|
83
83
|
};
|
|
84
84
|
export async function getTeamFromAGG(url, teamId, siteId) {
|
|
@@ -2,7 +2,7 @@ var _process$env$_PACKAGE, _process$env$_PACKAGE2;
|
|
|
2
2
|
import { getPageTime } from './performance';
|
|
3
3
|
export const PACKAGE_META_DATA = {
|
|
4
4
|
packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
|
|
5
|
-
packageVersion: (_process$env$_PACKAGE2 = "26.12.
|
|
5
|
+
packageVersion: (_process$env$_PACKAGE2 = "26.12.3") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
|
|
6
6
|
};
|
|
7
7
|
const TEAM_SUBJECT = 'teamProfileCard';
|
|
8
8
|
const USER_SUBJECT = 'profilecard';
|
|
@@ -19,7 +19,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
|
|
|
19
19
|
actionSubjectId,
|
|
20
20
|
attributes: {
|
|
21
21
|
packageName: "@atlaskit/profilecard",
|
|
22
|
-
packageVersion: "26.12.
|
|
22
|
+
packageVersion: "26.12.3",
|
|
23
23
|
...attributes,
|
|
24
24
|
firedAt: Math.round(getPageTime())
|
|
25
25
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
|
-
import _get from "@babel/runtime/helpers/get";
|
|
4
3
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
5
4
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
6
5
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
@@ -11,7 +10,6 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
11
10
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12
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) { _defineProperty(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; }
|
|
13
12
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
14
|
-
function _superPropGet(t, o, e, r) { var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; }
|
|
15
13
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
16
14
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
17
15
|
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
@@ -104,9 +102,6 @@ var RovoAgentCardClient = /*#__PURE__*/function (_CachingClient) {
|
|
|
104
102
|
}, {
|
|
105
103
|
key: "getCachedProfile",
|
|
106
104
|
value: function getCachedProfile(idValue) {
|
|
107
|
-
if (!FeatureGates.getExperimentValue('platform_editor_agent_profile_card_fav_sync', 'isEnabled', false)) {
|
|
108
|
-
return _superPropGet(RovoAgentCardClient, "getCachedProfile", this, 3)([idValue]);
|
|
109
|
-
}
|
|
110
105
|
var key = this.sharedCacheKey(idValue);
|
|
111
106
|
var cached = sharedAgentProfileCache.get(key);
|
|
112
107
|
if (!cached) {
|
|
@@ -121,10 +116,6 @@ var RovoAgentCardClient = /*#__PURE__*/function (_CachingClient) {
|
|
|
121
116
|
}, {
|
|
122
117
|
key: "setCachedProfile",
|
|
123
118
|
value: function setCachedProfile(idValue, profile) {
|
|
124
|
-
if (!FeatureGates.getExperimentValue('platform_editor_agent_profile_card_fav_sync', 'isEnabled', false)) {
|
|
125
|
-
_superPropGet(RovoAgentCardClient, "setCachedProfile", this, 3)([idValue, profile]);
|
|
126
|
-
return;
|
|
127
|
-
}
|
|
128
119
|
sharedAgentProfileCache.set(this.sharedCacheKey(idValue), {
|
|
129
120
|
expire: Date.now() + (this.config.cacheMaxAge || SHARED_CACHE_MAX_AGE),
|
|
130
121
|
profile: profile
|
|
@@ -314,9 +305,7 @@ var RovoAgentCardClient = /*#__PURE__*/function (_CachingClient) {
|
|
|
314
305
|
}, PACKAGE_META_DATA));
|
|
315
306
|
}
|
|
316
307
|
_this4.makeRequest(id, analytics).then(function (data) {
|
|
317
|
-
|
|
318
|
-
_this4.setCachedProfile(id.value, data);
|
|
319
|
-
}
|
|
308
|
+
_this4.setCachedProfile(id.value, data);
|
|
320
309
|
if (analytics) {
|
|
321
310
|
analytics('operational.rovoAgentProfilecard.succeeded.request', _objectSpread({
|
|
322
311
|
duration: getPageTime() - startTime,
|
|
@@ -418,9 +407,7 @@ var RovoAgentCardClient = /*#__PURE__*/function (_CachingClient) {
|
|
|
418
407
|
firedAt: Math.round(getPageTime())
|
|
419
408
|
}, PACKAGE_META_DATA));
|
|
420
409
|
}
|
|
421
|
-
|
|
422
|
-
_this6.syncFavouriteToCache(agentId, isFavourite);
|
|
423
|
-
}
|
|
410
|
+
_this6.syncFavouriteToCache(agentId, isFavourite);
|
|
424
411
|
resolve();
|
|
425
412
|
}).catch(function (error) {
|
|
426
413
|
if (analytics) {
|
|
@@ -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', "26.12.
|
|
7
|
+
headers.append('atl-client-version', "26.12.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', "26.12.
|
|
62
|
+
headers.append('atl-client-version', "26.12.3");
|
|
63
63
|
return headers;
|
|
64
64
|
};
|
|
65
65
|
export function getTeamFromAGG(_x, _x2, _x3) {
|
|
@@ -5,7 +5,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
5
5
|
import { getPageTime } from './performance';
|
|
6
6
|
export var PACKAGE_META_DATA = {
|
|
7
7
|
packageName: (_process$env$_PACKAGE = "@atlaskit/profilecard") !== null && _process$env$_PACKAGE !== void 0 ? _process$env$_PACKAGE : '',
|
|
8
|
-
packageVersion: (_process$env$_PACKAGE2 = "26.12.
|
|
8
|
+
packageVersion: (_process$env$_PACKAGE2 = "26.12.3") !== null && _process$env$_PACKAGE2 !== void 0 ? _process$env$_PACKAGE2 : ''
|
|
9
9
|
};
|
|
10
10
|
var TEAM_SUBJECT = 'teamProfileCard';
|
|
11
11
|
var USER_SUBJECT = 'profilecard';
|
|
@@ -24,7 +24,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
24
24
|
actionSubjectId: actionSubjectId,
|
|
25
25
|
attributes: _objectSpread(_objectSpread({
|
|
26
26
|
packageName: "@atlaskit/profilecard",
|
|
27
|
-
packageVersion: "26.12.
|
|
27
|
+
packageVersion: "26.12.3"
|
|
28
28
|
}, attributes), {}, {
|
|
29
29
|
firedAt: Math.round(getPageTime())
|
|
30
30
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/profilecard",
|
|
3
|
-
"version": "26.12.
|
|
3
|
+
"version": "26.12.4",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/give-kudos": "^6.9.0",
|
|
51
51
|
"@atlaskit/heading": "^6.2.0",
|
|
52
52
|
"@atlaskit/icon": "^37.1.0",
|
|
53
|
-
"@atlaskit/link": "4.3.
|
|
53
|
+
"@atlaskit/link": "4.3.5",
|
|
54
54
|
"@atlaskit/lozenge": "^14.1.0",
|
|
55
55
|
"@atlaskit/menu": "^9.2.0",
|
|
56
56
|
"@atlaskit/modal-dialog": "^16.1.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@atlaskit/teams-avatar": "^3.2.0",
|
|
69
69
|
"@atlaskit/teams-public": "^2.5.0",
|
|
70
70
|
"@atlaskit/theme": "^26.1.0",
|
|
71
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
71
|
+
"@atlaskit/tmp-editor-statsig": "^132.1.0",
|
|
72
72
|
"@atlaskit/tokens": "^16.2.0",
|
|
73
73
|
"@atlaskit/tooltip": "^23.1.0",
|
|
74
74
|
"@babel/runtime": "^7.0.0",
|