@atlaskit/profilecard 18.0.2 → 18.1.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 +6 -0
- package/dist/cjs/client/TeamProfileCardClient.js +1 -1
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/client/TeamProfileCardClient.js +1 -1
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/client/TeamProfileCardClient.js +1 -1
- package/dist/esm/util/analytics.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/types.d.ts +1 -0
- package/package.json +3 -3
- package/report.api.md +2 -0
- package/tmp/api-report-tmp.d.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -108,7 +108,7 @@ var TeamProfileCardClient = /*#__PURE__*/function (_CachingClient) {
|
|
|
108
108
|
analytics((0, _analytics.teamRequestAnalytics)('triggered'));
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
var shouldUseGateway = !!_this2.options.gatewayGraphqlUrl;
|
|
111
|
+
var shouldUseGateway = !!_this2.options.gatewayGraphqlUrl && !_this2.options.teamsUseV2;
|
|
112
112
|
var promise = shouldUseGateway ? _this2.makeRequestViaGateway(teamId, orgId) : _this2.makeRequest(teamId, orgId);
|
|
113
113
|
promise.then(function (data) {
|
|
114
114
|
if (_this2.cache) {
|
|
@@ -59,7 +59,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
59
59
|
actionSubjectId: actionSubjectId,
|
|
60
60
|
attributes: _objectSpread(_objectSpread({
|
|
61
61
|
packageName: "@atlaskit/profilecard",
|
|
62
|
-
packageVersion: "18.0
|
|
62
|
+
packageVersion: "18.1.0"
|
|
63
63
|
}, attributes), {}, {
|
|
64
64
|
firedAt: Math.round((0, _performance.getPageTime)())
|
|
65
65
|
})
|
package/dist/cjs/version.json
CHANGED
|
@@ -70,7 +70,7 @@ export default class TeamProfileCardClient extends CachingClient {
|
|
|
70
70
|
analytics(teamRequestAnalytics('triggered'));
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
const shouldUseGateway = !!this.options.gatewayGraphqlUrl;
|
|
73
|
+
const shouldUseGateway = !!this.options.gatewayGraphqlUrl && !this.options.teamsUseV2;
|
|
74
74
|
const promise = shouldUseGateway ? this.makeRequestViaGateway(teamId, orgId) : this.makeRequest(teamId, orgId);
|
|
75
75
|
promise.then(data => {
|
|
76
76
|
if (this.cache) {
|
|
@@ -38,7 +38,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
|
|
|
38
38
|
actionSubjectId,
|
|
39
39
|
attributes: {
|
|
40
40
|
packageName: "@atlaskit/profilecard",
|
|
41
|
-
packageVersion: "18.0
|
|
41
|
+
packageVersion: "18.1.0",
|
|
42
42
|
...attributes,
|
|
43
43
|
firedAt: Math.round(getPageTime())
|
|
44
44
|
}
|
package/dist/es2019/version.json
CHANGED
|
@@ -89,7 +89,7 @@ var TeamProfileCardClient = /*#__PURE__*/function (_CachingClient) {
|
|
|
89
89
|
analytics(teamRequestAnalytics('triggered'));
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
var shouldUseGateway = !!_this2.options.gatewayGraphqlUrl;
|
|
92
|
+
var shouldUseGateway = !!_this2.options.gatewayGraphqlUrl && !_this2.options.teamsUseV2;
|
|
93
93
|
var promise = shouldUseGateway ? _this2.makeRequestViaGateway(teamId, orgId) : _this2.makeRequest(teamId, orgId);
|
|
94
94
|
promise.then(function (data) {
|
|
95
95
|
if (_this2.cache) {
|
|
@@ -48,7 +48,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
48
48
|
actionSubjectId: actionSubjectId,
|
|
49
49
|
attributes: _objectSpread(_objectSpread({
|
|
50
50
|
packageName: "@atlaskit/profilecard",
|
|
51
|
-
packageVersion: "18.0
|
|
51
|
+
packageVersion: "18.1.0"
|
|
52
52
|
}, attributes), {}, {
|
|
53
53
|
firedAt: Math.round(getPageTime())
|
|
54
54
|
})
|
package/dist/esm/version.json
CHANGED
package/dist/types/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/profilecard",
|
|
3
|
-
"version": "18.0
|
|
3
|
+
"version": "18.1.0",
|
|
4
4
|
"description": "A React component to display a card with user information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@atlaskit/analytics-next": "^8.2.0",
|
|
42
42
|
"@atlaskit/avatar": "^21.1.0",
|
|
43
|
-
"@atlaskit/avatar-group": "^9.
|
|
43
|
+
"@atlaskit/avatar-group": "^9.2.0",
|
|
44
44
|
"@atlaskit/button": "^16.5.0",
|
|
45
45
|
"@atlaskit/dropdown-menu": "^11.5.0",
|
|
46
46
|
"@atlaskit/give-kudos": "^1.0.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@atlaskit/dynamic-table": "^14.8.0",
|
|
69
69
|
"@atlaskit/flag": "^15.0.0",
|
|
70
70
|
"@atlaskit/inline-edit": "^12.2.0",
|
|
71
|
-
"@atlaskit/select": "^16.
|
|
71
|
+
"@atlaskit/select": "^16.1.0",
|
|
72
72
|
"@atlaskit/util-data-test": "^17.6.0",
|
|
73
73
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
74
74
|
"@testing-library/react": "^12.1.5",
|
package/report.api.md
CHANGED