@atlaskit/smart-card 40.10.5 → 40.10.6

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,14 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 40.10.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`1d8918dd67a21`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1d8918dd67a21) -
8
+ Update smartLinkClickedSmartLinkClickAnalyticsWorkflowsAttributesType to include clickedAt field
9
+ in yaml file and codegen'd file as well as update component to pass it along as
10
+ Date.now().toString()
11
+
3
12
  ## 40.10.5
4
13
 
5
14
  ### Patch Changes
@@ -771,3 +771,7 @@ events:
771
771
  A null-capable field representing the Confluence content ID, Confluence page ID, or Jira
772
772
  issue key. This can be null if it is a value for an unsupported 1P provider (eg,
773
773
  Bitbucket, Loom), and will be prefixed by an identifier based on the source product.
774
+ clickedAt:
775
+ required: true
776
+ type: string
777
+ description: The timestamp when the event was clicked
@@ -50,9 +50,11 @@ var getFirstPartyIdentifier = exports.getFirstPartyIdentifier = function getFirs
50
50
  var product = getProductFromWindowURL();
51
51
  var currentURL = window.location.href;
52
52
  if (product === 'confluence') {
53
- var contentId = extractContentIdFromURL(currentURL);
54
- if (contentId) {
55
- return "ConfluenceContentId:".concat(contentId);
53
+ if (currentURL.includes('content.id')) {
54
+ var contentId = extractContentIdFromURL(currentURL);
55
+ if (contentId) {
56
+ return "ConfluenceContentId:".concat(contentId);
57
+ }
56
58
  }
57
59
  var pageId = extractPageIdFromURL(currentURL);
58
60
  if (pageId) {
@@ -63,9 +65,8 @@ var getFirstPartyIdentifier = exports.getFirstPartyIdentifier = function getFirs
63
65
  if (issueKey) {
64
66
  return "JiraIssueKey:".concat(issueKey);
65
67
  }
66
- } else {
67
- return undefined;
68
68
  }
69
+ return undefined;
69
70
  };
70
71
  var getObjectName = exports.getObjectName = function getObjectName(details) {
71
72
  return (details === null || details === void 0 ? void 0 : details.data) && 'name' in details.data && details.data.name || undefined;
@@ -125,40 +126,34 @@ var hasAuthScopeOverrides = exports.hasAuthScopeOverrides = function hasAuthScop
125
126
  // Helper function to extract page ID from standard Confluence page URLs
126
127
  var extractPageIdFromURL = function extractPageIdFromURL(url) {
127
128
  try {
128
- var urlObj = new URL(url);
129
-
130
129
  // Following this pattern for confluence URL -> /wiki/spaces/{space}/pages/{pageId}/{title}
131
- var pagesMatch = urlObj.pathname.match(/\/wiki\/spaces\/[^\/]+\/pages\/(\d+)/);
132
- if (pagesMatch && pagesMatch[1]) {
133
- return pagesMatch[1];
130
+ var pagesMatch = url.match(/(?!pages)(\d+)/);
131
+ if (pagesMatch && pagesMatch[0]) {
132
+ return pagesMatch[0];
134
133
  }
135
134
 
136
135
  // Following this pattern for confluence URL -> /wiki/pages/viewpage.action?pageId={pageId}
137
- var pageIdParam = urlObj.searchParams.get('pageId');
138
- if (pageIdParam) {
139
- return pageIdParam;
136
+ var pageIdParam = url.match(/(?!pageId=)(\d+)/);
137
+ if (pageIdParam && pageIdParam[0]) {
138
+ return pageIdParam[0];
140
139
  }
141
140
 
142
141
  // Following this pattern for confluence URL -> /wiki/display/{space}/{pageId}
143
- var displayMatch = urlObj.pathname.match(/\/wiki\/display\/[^\/]+\/(\d+)/);
144
- if (displayMatch && displayMatch[1]) {
145
- return displayMatch[1];
142
+ var displayMatch = url.match(/(?!display\/)(\d+)/);
143
+ if (displayMatch && displayMatch[0]) {
144
+ return displayMatch[0];
146
145
  }
147
146
  } catch (_unused) {
148
147
  return undefined;
149
148
  }
150
149
  return undefined;
151
150
  };
152
-
153
- // Helper function to extract content ID from app connector URLs
154
151
  var extractContentIdFromURL = function extractContentIdFromURL(url) {
155
152
  try {
156
- var urlObj = new URL(url);
157
-
158
- // Pattern: ?content.id={contentId} (for app connector URLs)
159
- var contentId = urlObj.searchParams.get('content.id');
160
- if (contentId) {
161
- return contentId;
153
+ var contentId = url.match(/content\.id=(\d+)/);
154
+ if (contentId && contentId[1]) {
155
+ // contentId[1] contains just the number
156
+ return contentId[1];
162
157
  }
163
158
  } catch (_unused2) {
164
159
  return undefined;
@@ -167,31 +162,9 @@ var extractContentIdFromURL = function extractContentIdFromURL(url) {
167
162
  };
168
163
  var extractJiraIssueIdFromURL = function extractJiraIssueIdFromURL(url) {
169
164
  try {
170
- var urlObj = new URL(url);
171
-
172
- // Following this pattern for jira URL -> /browse/{issueKey} (most common)
173
- // Example: https://product-fabric.atlassian.net/browse/AI3W-1064
174
- var browseMatch = urlObj.pathname.match(/\/browse\/([A-Z]+-\d+)/);
175
- if (browseMatch && browseMatch[1]) {
176
- return browseMatch[1];
177
- }
178
-
179
- // Following this pattern for jira URL -> /jira/browse/{issueKey} (for some installations)
180
- var jiraBrowseMatch = urlObj.pathname.match(/\/jira\/browse\/([A-Z]+-\d+)/);
181
- if (jiraBrowseMatch && jiraBrowseMatch[1]) {
182
- return jiraBrowseMatch[1];
183
- }
184
-
185
- // Following this pattern for jira URL -> Query parameter ?selectedIssue={issueKey}
186
- var selectedIssue = urlObj.searchParams.get('selectedIssue');
187
- if (selectedIssue && /^[A-Z]+-\d+$/.test(selectedIssue)) {
188
- return selectedIssue;
189
- }
190
-
191
- // Following this pattern for jira URL -> Query parameter ?issueKey={issueKey}
192
- var issueKeyParam = urlObj.searchParams.get('issueKey');
193
- if (issueKeyParam && /^[A-Z]+-\d+$/.test(issueKeyParam)) {
194
- return issueKeyParam;
165
+ var browseMatch = url.match(/[A-Z0-9]+-\d+/);
166
+ if (browseMatch && browseMatch[0]) {
167
+ return browseMatch[0];
195
168
  }
196
169
  } catch (_unused3) {
197
170
  return undefined;
@@ -11,7 +11,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
11
11
  var context = exports.context = {
12
12
  componentName: 'smart-cards',
13
13
  packageName: "@atlaskit/smart-card",
14
- packageVersion: "40.10.4"
14
+ packageVersion: "40.10.5"
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -102,10 +102,11 @@ function Component(_ref) {
102
102
  action: 'clicked',
103
103
  actionSubject: 'smartLink',
104
104
  actionSubjectId: 'smartlinkClickAnalyticsWorkflows',
105
- eventType: 'ui',
105
+ eventType: 'screen',
106
106
  attributes: {
107
107
  eventName: 'smartLinkClickAnalyticsThirdPartyWorkflows',
108
- firstPartyIdentifier: firstPartyIdentifier
108
+ firstPartyIdentifier: firstPartyIdentifier,
109
+ clickedAt: Date.now().toString()
109
110
  },
110
111
  nonPrivacySafeAttributes: {
111
112
  thirdPartyARI: thirdPartyARI
@@ -19,7 +19,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
19
19
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
20
20
  var PACKAGE_DATA = {
21
21
  packageName: "@atlaskit/smart-card",
22
- packageVersion: "40.10.4",
22
+ packageVersion: "40.10.5",
23
23
  componentName: 'linkUrl'
24
24
  };
25
25
  var Anchor = (0, _click.withLinkClickedEvent)('a');
@@ -42,9 +42,11 @@ export const getFirstPartyIdentifier = () => {
42
42
  const product = getProductFromWindowURL();
43
43
  const currentURL = window.location.href;
44
44
  if (product === 'confluence') {
45
- const contentId = extractContentIdFromURL(currentURL);
46
- if (contentId) {
47
- return `ConfluenceContentId:${contentId}`;
45
+ if (currentURL.includes('content.id')) {
46
+ const contentId = extractContentIdFromURL(currentURL);
47
+ if (contentId) {
48
+ return `ConfluenceContentId:${contentId}`;
49
+ }
48
50
  }
49
51
  const pageId = extractPageIdFromURL(currentURL);
50
52
  if (pageId) {
@@ -55,9 +57,8 @@ export const getFirstPartyIdentifier = () => {
55
57
  if (issueKey) {
56
58
  return `JiraIssueKey:${issueKey}`;
57
59
  }
58
- } else {
59
- return undefined;
60
60
  }
61
+ return undefined;
61
62
  };
62
63
  export const getObjectName = details => (details === null || details === void 0 ? void 0 : details.data) && 'name' in details.data && details.data.name || undefined;
63
64
  export const getObjectIconUrl = details => {
@@ -109,40 +110,34 @@ export const hasAuthScopeOverrides = details => !!(details !== null && details !
109
110
  // Helper function to extract page ID from standard Confluence page URLs
110
111
  const extractPageIdFromURL = url => {
111
112
  try {
112
- const urlObj = new URL(url);
113
-
114
113
  // Following this pattern for confluence URL -> /wiki/spaces/{space}/pages/{pageId}/{title}
115
- const pagesMatch = urlObj.pathname.match(/\/wiki\/spaces\/[^\/]+\/pages\/(\d+)/);
116
- if (pagesMatch && pagesMatch[1]) {
117
- return pagesMatch[1];
114
+ const pagesMatch = url.match(/(?!pages)(\d+)/);
115
+ if (pagesMatch && pagesMatch[0]) {
116
+ return pagesMatch[0];
118
117
  }
119
118
 
120
119
  // Following this pattern for confluence URL -> /wiki/pages/viewpage.action?pageId={pageId}
121
- const pageIdParam = urlObj.searchParams.get('pageId');
122
- if (pageIdParam) {
123
- return pageIdParam;
120
+ const pageIdParam = url.match(/(?!pageId=)(\d+)/);
121
+ if (pageIdParam && pageIdParam[0]) {
122
+ return pageIdParam[0];
124
123
  }
125
124
 
126
125
  // Following this pattern for confluence URL -> /wiki/display/{space}/{pageId}
127
- const displayMatch = urlObj.pathname.match(/\/wiki\/display\/[^\/]+\/(\d+)/);
128
- if (displayMatch && displayMatch[1]) {
129
- return displayMatch[1];
126
+ const displayMatch = url.match(/(?!display\/)(\d+)/);
127
+ if (displayMatch && displayMatch[0]) {
128
+ return displayMatch[0];
130
129
  }
131
130
  } catch {
132
131
  return undefined;
133
132
  }
134
133
  return undefined;
135
134
  };
136
-
137
- // Helper function to extract content ID from app connector URLs
138
135
  const extractContentIdFromURL = url => {
139
136
  try {
140
- const urlObj = new URL(url);
141
-
142
- // Pattern: ?content.id={contentId} (for app connector URLs)
143
- const contentId = urlObj.searchParams.get('content.id');
144
- if (contentId) {
145
- return contentId;
137
+ const contentId = url.match(/content\.id=(\d+)/);
138
+ if (contentId && contentId[1]) {
139
+ // contentId[1] contains just the number
140
+ return contentId[1];
146
141
  }
147
142
  } catch {
148
143
  return undefined;
@@ -151,31 +146,9 @@ const extractContentIdFromURL = url => {
151
146
  };
152
147
  const extractJiraIssueIdFromURL = url => {
153
148
  try {
154
- const urlObj = new URL(url);
155
-
156
- // Following this pattern for jira URL -> /browse/{issueKey} (most common)
157
- // Example: https://product-fabric.atlassian.net/browse/AI3W-1064
158
- const browseMatch = urlObj.pathname.match(/\/browse\/([A-Z]+-\d+)/);
159
- if (browseMatch && browseMatch[1]) {
160
- return browseMatch[1];
161
- }
162
-
163
- // Following this pattern for jira URL -> /jira/browse/{issueKey} (for some installations)
164
- const jiraBrowseMatch = urlObj.pathname.match(/\/jira\/browse\/([A-Z]+-\d+)/);
165
- if (jiraBrowseMatch && jiraBrowseMatch[1]) {
166
- return jiraBrowseMatch[1];
167
- }
168
-
169
- // Following this pattern for jira URL -> Query parameter ?selectedIssue={issueKey}
170
- const selectedIssue = urlObj.searchParams.get('selectedIssue');
171
- if (selectedIssue && /^[A-Z]+-\d+$/.test(selectedIssue)) {
172
- return selectedIssue;
173
- }
174
-
175
- // Following this pattern for jira URL -> Query parameter ?issueKey={issueKey}
176
- const issueKeyParam = urlObj.searchParams.get('issueKey');
177
- if (issueKeyParam && /^[A-Z]+-\d+$/.test(issueKeyParam)) {
178
- return issueKeyParam;
149
+ const browseMatch = url.match(/[A-Z0-9]+-\d+/);
150
+ if (browseMatch && browseMatch[0]) {
151
+ return browseMatch[0];
179
152
  }
180
153
  } catch {
181
154
  return undefined;
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
2
2
  export const context = {
3
3
  componentName: 'smart-cards',
4
4
  packageName: "@atlaskit/smart-card",
5
- packageVersion: "40.10.4"
5
+ packageVersion: "40.10.5"
6
6
  };
7
7
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
8
8
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -95,10 +95,11 @@ function Component({
95
95
  action: 'clicked',
96
96
  actionSubject: 'smartLink',
97
97
  actionSubjectId: 'smartlinkClickAnalyticsWorkflows',
98
- eventType: 'ui',
98
+ eventType: 'screen',
99
99
  attributes: {
100
100
  eventName: 'smartLinkClickAnalyticsThirdPartyWorkflows',
101
- firstPartyIdentifier: firstPartyIdentifier
101
+ firstPartyIdentifier: firstPartyIdentifier,
102
+ clickedAt: Date.now().toString()
102
103
  },
103
104
  nonPrivacySafeAttributes: {
104
105
  thirdPartyARI: thirdPartyARI
@@ -9,7 +9,7 @@ import LinkWarningModal from './LinkWarningModal';
9
9
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
10
10
  const PACKAGE_DATA = {
11
11
  packageName: "@atlaskit/smart-card",
12
- packageVersion: "40.10.4",
12
+ packageVersion: "40.10.5",
13
13
  componentName: 'linkUrl'
14
14
  };
15
15
  const Anchor = withLinkClickedEvent('a');
@@ -43,9 +43,11 @@ export var getFirstPartyIdentifier = function getFirstPartyIdentifier() {
43
43
  var product = getProductFromWindowURL();
44
44
  var currentURL = window.location.href;
45
45
  if (product === 'confluence') {
46
- var contentId = extractContentIdFromURL(currentURL);
47
- if (contentId) {
48
- return "ConfluenceContentId:".concat(contentId);
46
+ if (currentURL.includes('content.id')) {
47
+ var contentId = extractContentIdFromURL(currentURL);
48
+ if (contentId) {
49
+ return "ConfluenceContentId:".concat(contentId);
50
+ }
49
51
  }
50
52
  var pageId = extractPageIdFromURL(currentURL);
51
53
  if (pageId) {
@@ -56,9 +58,8 @@ export var getFirstPartyIdentifier = function getFirstPartyIdentifier() {
56
58
  if (issueKey) {
57
59
  return "JiraIssueKey:".concat(issueKey);
58
60
  }
59
- } else {
60
- return undefined;
61
61
  }
62
+ return undefined;
62
63
  };
63
64
  export var getObjectName = function getObjectName(details) {
64
65
  return (details === null || details === void 0 ? void 0 : details.data) && 'name' in details.data && details.data.name || undefined;
@@ -118,40 +119,34 @@ export var hasAuthScopeOverrides = function hasAuthScopeOverrides(details) {
118
119
  // Helper function to extract page ID from standard Confluence page URLs
119
120
  var extractPageIdFromURL = function extractPageIdFromURL(url) {
120
121
  try {
121
- var urlObj = new URL(url);
122
-
123
122
  // Following this pattern for confluence URL -> /wiki/spaces/{space}/pages/{pageId}/{title}
124
- var pagesMatch = urlObj.pathname.match(/\/wiki\/spaces\/[^\/]+\/pages\/(\d+)/);
125
- if (pagesMatch && pagesMatch[1]) {
126
- return pagesMatch[1];
123
+ var pagesMatch = url.match(/(?!pages)(\d+)/);
124
+ if (pagesMatch && pagesMatch[0]) {
125
+ return pagesMatch[0];
127
126
  }
128
127
 
129
128
  // Following this pattern for confluence URL -> /wiki/pages/viewpage.action?pageId={pageId}
130
- var pageIdParam = urlObj.searchParams.get('pageId');
131
- if (pageIdParam) {
132
- return pageIdParam;
129
+ var pageIdParam = url.match(/(?!pageId=)(\d+)/);
130
+ if (pageIdParam && pageIdParam[0]) {
131
+ return pageIdParam[0];
133
132
  }
134
133
 
135
134
  // Following this pattern for confluence URL -> /wiki/display/{space}/{pageId}
136
- var displayMatch = urlObj.pathname.match(/\/wiki\/display\/[^\/]+\/(\d+)/);
137
- if (displayMatch && displayMatch[1]) {
138
- return displayMatch[1];
135
+ var displayMatch = url.match(/(?!display\/)(\d+)/);
136
+ if (displayMatch && displayMatch[0]) {
137
+ return displayMatch[0];
139
138
  }
140
139
  } catch (_unused) {
141
140
  return undefined;
142
141
  }
143
142
  return undefined;
144
143
  };
145
-
146
- // Helper function to extract content ID from app connector URLs
147
144
  var extractContentIdFromURL = function extractContentIdFromURL(url) {
148
145
  try {
149
- var urlObj = new URL(url);
150
-
151
- // Pattern: ?content.id={contentId} (for app connector URLs)
152
- var contentId = urlObj.searchParams.get('content.id');
153
- if (contentId) {
154
- return contentId;
146
+ var contentId = url.match(/content\.id=(\d+)/);
147
+ if (contentId && contentId[1]) {
148
+ // contentId[1] contains just the number
149
+ return contentId[1];
155
150
  }
156
151
  } catch (_unused2) {
157
152
  return undefined;
@@ -160,31 +155,9 @@ var extractContentIdFromURL = function extractContentIdFromURL(url) {
160
155
  };
161
156
  var extractJiraIssueIdFromURL = function extractJiraIssueIdFromURL(url) {
162
157
  try {
163
- var urlObj = new URL(url);
164
-
165
- // Following this pattern for jira URL -> /browse/{issueKey} (most common)
166
- // Example: https://product-fabric.atlassian.net/browse/AI3W-1064
167
- var browseMatch = urlObj.pathname.match(/\/browse\/([A-Z]+-\d+)/);
168
- if (browseMatch && browseMatch[1]) {
169
- return browseMatch[1];
170
- }
171
-
172
- // Following this pattern for jira URL -> /jira/browse/{issueKey} (for some installations)
173
- var jiraBrowseMatch = urlObj.pathname.match(/\/jira\/browse\/([A-Z]+-\d+)/);
174
- if (jiraBrowseMatch && jiraBrowseMatch[1]) {
175
- return jiraBrowseMatch[1];
176
- }
177
-
178
- // Following this pattern for jira URL -> Query parameter ?selectedIssue={issueKey}
179
- var selectedIssue = urlObj.searchParams.get('selectedIssue');
180
- if (selectedIssue && /^[A-Z]+-\d+$/.test(selectedIssue)) {
181
- return selectedIssue;
182
- }
183
-
184
- // Following this pattern for jira URL -> Query parameter ?issueKey={issueKey}
185
- var issueKeyParam = urlObj.searchParams.get('issueKey');
186
- if (issueKeyParam && /^[A-Z]+-\d+$/.test(issueKeyParam)) {
187
- return issueKeyParam;
158
+ var browseMatch = url.match(/[A-Z0-9]+-\d+/);
159
+ if (browseMatch && browseMatch[0]) {
160
+ return browseMatch[0];
188
161
  }
189
162
  } catch (_unused3) {
190
163
  return undefined;
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
4
4
  export var context = {
5
5
  componentName: 'smart-cards',
6
6
  packageName: "@atlaskit/smart-card",
7
- packageVersion: "40.10.4"
7
+ packageVersion: "40.10.5"
8
8
  };
9
9
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -93,10 +93,11 @@ function Component(_ref) {
93
93
  action: 'clicked',
94
94
  actionSubject: 'smartLink',
95
95
  actionSubjectId: 'smartlinkClickAnalyticsWorkflows',
96
- eventType: 'ui',
96
+ eventType: 'screen',
97
97
  attributes: {
98
98
  eventName: 'smartLinkClickAnalyticsThirdPartyWorkflows',
99
- firstPartyIdentifier: firstPartyIdentifier
99
+ firstPartyIdentifier: firstPartyIdentifier,
100
+ clickedAt: Date.now().toString()
100
101
  },
101
102
  nonPrivacySafeAttributes: {
102
103
  thirdPartyARI: thirdPartyARI
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
12
12
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
13
13
  var PACKAGE_DATA = {
14
14
  packageName: "@atlaskit/smart-card",
15
- packageVersion: "40.10.4",
15
+ packageVersion: "40.10.5",
16
16
  componentName: 'linkUrl'
17
17
  };
18
18
  var Anchor = withLinkClickedEvent('a');
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Generates Typescript types for analytics events from analytics.spec.yaml
5
5
  *
6
- * @codegen <<SignedSource::2d9f03b82528803f03b90d6cae5d690d>>
6
+ * @codegen <<SignedSource::8ebf07690deae06cee97fcbba4bb8eb0>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen smart-card
8
8
  */
9
9
  export type PackageMetaDataContextType = {
@@ -234,6 +234,7 @@ export type SmartLinkClickedSmartlinkClickAnalyticsWorkflowsAttributesType = {
234
234
  thirdPartyARI: string;
235
235
  eventName: string;
236
236
  firstPartyIdentifier: string | null;
237
+ clickedAt: string;
237
238
  };
238
239
  export type AnalyticsEventAttributes = {
239
240
  /**
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Generates Typescript types for analytics events from analytics.spec.yaml
5
5
  *
6
- * @codegen <<SignedSource::2d9f03b82528803f03b90d6cae5d690d>>
6
+ * @codegen <<SignedSource::8ebf07690deae06cee97fcbba4bb8eb0>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen smart-card
8
8
  */
9
9
  export type PackageMetaDataContextType = {
@@ -234,6 +234,7 @@ export type SmartLinkClickedSmartlinkClickAnalyticsWorkflowsAttributesType = {
234
234
  thirdPartyARI: string;
235
235
  eventName: string;
236
236
  firstPartyIdentifier: string | null;
237
+ clickedAt: string;
237
238
  };
238
239
  export type AnalyticsEventAttributes = {
239
240
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "40.10.5",
3
+ "version": "40.10.6",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -52,7 +52,7 @@
52
52
  "@atlaskit/link-client-extension": "^5.0.0",
53
53
  "@atlaskit/link-extractors": "^2.4.0",
54
54
  "@atlaskit/link-test-helpers": "^8.3.0",
55
- "@atlaskit/linking-common": "^9.2.0",
55
+ "@atlaskit/linking-common": "^9.3.0",
56
56
  "@atlaskit/linking-types": "^14.0.0",
57
57
  "@atlaskit/logo": "^19.7.0",
58
58
  "@atlaskit/lozenge": "^13.0.0",
@@ -86,7 +86,7 @@
86
86
  "uuid": "^3.1.0"
87
87
  },
88
88
  "peerDependencies": {
89
- "@atlaskit/link-provider": "^3.4.0",
89
+ "@atlaskit/link-provider": "^3.5.0",
90
90
  "react": "^18.2.0",
91
91
  "react-dom": "^18.2.0",
92
92
  "react-intl-next": "npm:react-intl@^5.18.1"