@atlaskit/editor-common 133.7.1 → 133.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,12 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 133.7.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`ba1d65046dd55`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ba1d65046dd55) -
8
+ Include optional originating generation batch instrumentation in suggestion analytics.
9
+
3
10
  ## 133.7.1
4
11
 
5
12
  ### Patch Changes
@@ -27,7 +27,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
27
27
  var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
28
28
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
29
29
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
30
- var packageVersion = "133.7.0";
30
+ var packageVersion = "133.7.1";
31
31
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
32
32
  // Remove URL as it has UGC
33
33
  // Ignored via go/ees007
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
23
23
  * @jsx jsx
24
24
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
25
25
  var packageName = "@atlaskit/editor-common";
26
- var packageVersion = "133.7.0";
26
+ var packageVersion = "133.7.1";
27
27
  var halfFocusRing = 1;
28
28
  var dropOffset = '0, 8';
29
29
  // Ignored via go/ees005
@@ -13,7 +13,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
13
13
  const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
14
14
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
15
15
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
16
- const packageVersion = "133.7.0";
16
+ const packageVersion = "133.7.1";
17
17
  const sanitiseSentryEvents = (data, _hint) => {
18
18
  // Remove URL as it has UGC
19
19
  // Ignored via go/ees007
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
13
13
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import Layer from '../Layer';
15
15
  const packageName = "@atlaskit/editor-common";
16
- const packageVersion = "133.7.0";
16
+ const packageVersion = "133.7.1";
17
17
  const halfFocusRing = 1;
18
18
  const dropOffset = '0, 8';
19
19
  // Ignored via go/ees005
@@ -19,7 +19,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
19
19
  var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
20
20
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
21
21
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
22
- var packageVersion = "133.7.0";
22
+ var packageVersion = "133.7.1";
23
23
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
24
24
  // Remove URL as it has UGC
25
25
  // Ignored via go/ees007
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
20
20
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import Layer from '../Layer';
22
22
  var packageName = "@atlaskit/editor-common";
23
- var packageVersion = "133.7.0";
23
+ var packageVersion = "133.7.1";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  // Ignored via go/ees005
@@ -52,6 +52,7 @@ type TimeSinceGenerationAttribute = {
52
52
  type RegenerationSuggestionDetails = SuggestionRemixAttributes & TimeSinceGenerationAttribute & {
53
53
  actionKind: string;
54
54
  outcome?: AiSuggestionsRegenerationOutcome;
55
+ singleInstrumentationId?: string;
55
56
  suggestionId: string;
56
57
  suggestionType?: string;
57
58
  };
@@ -62,6 +63,7 @@ type RegenerationCommonAttributes = {
62
63
  trigger: AiSuggestionsRegenerationTrigger;
63
64
  };
64
65
  type NoDiffSuggestionAEP = OperationalAEP<ACTION.NO_DIFF_FOUND, ACTION_SUBJECT.AI_SUGGESTIONS, undefined, {
66
+ singleInstrumentationId?: string;
65
67
  suggestionType?: string;
66
68
  toolCalls: {
67
69
  localIds: string[];
@@ -106,6 +108,7 @@ type SuggestionLifecycleAttributes = SuggestionRemixAttributes & TimeSinceGenera
106
108
  agentId?: string;
107
109
  hasSources: boolean;
108
110
  interactionPoint: AiSuggestionInteractionPoint;
111
+ singleInstrumentationId?: string;
109
112
  suggestionId: string;
110
113
  suggestionType?: string;
111
114
  };
@@ -116,6 +119,7 @@ type AcceptSuggestionAEP = TrackAEP<ACTION.ACCEPTED, ACTION_SUBJECT.AI_SUGGESTIO
116
119
  }, undefined>;
117
120
  type UndoAcceptedSuggestionAEP = TrackAEP<ACTION.UNDO_PERFORMED, ACTION_SUBJECT.AI_SUGGESTIONS, undefined, TimeSinceGenerationAttribute & {
118
121
  actionKind: string;
122
+ singleInstrumentationId?: string;
119
123
  suggestionId: string;
120
124
  suggestionType?: string;
121
125
  }, undefined>;
@@ -141,6 +145,7 @@ type RightRailViewedAEP = TrackAEP<ACTION.RIGHT_RAIL_VIEWED, ACTION_SUBJECT.AI_S
141
145
  suggestionDetails: Array<SuggestionRemixAttributes & TimeSinceGenerationAttribute & {
142
146
  actionKind: string;
143
147
  affectedBlocks: number;
148
+ singleInstrumentationId?: string;
144
149
  suggestionType?: string;
145
150
  }>;
146
151
  }, undefined>;
@@ -152,6 +157,7 @@ type ViewSuggestionReasoningAEP = TrackAEP<ACTION.REASONING_VIEWED, ACTION_SUBJE
152
157
  hasSources: boolean;
153
158
  interactionPoint: AiSuggestionInteractionPoint;
154
159
  reasoningCharacterCount: number;
160
+ singleInstrumentationId?: string;
155
161
  suggestionId: string;
156
162
  suggestionType?: string;
157
163
  }, undefined>;
@@ -164,6 +170,7 @@ type SuggestionsGeneratedAEP = TrackAEP<ACTION.GENERATED, ACTION_SUBJECT.AI_SUGG
164
170
  affectedBlocks: number;
165
171
  agentId?: string;
166
172
  hasSources: boolean;
173
+ singleInstrumentationId?: string;
167
174
  suggestionId: string;
168
175
  suggestionType?: string;
169
176
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "133.7.1",
3
+ "version": "133.7.2",
4
4
  "description": "A package that contains common classes and components for editor and renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"