@atlaskit/editor-plugin-analytics 1.10.12 → 1.10.13

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,13 @@
1
1
  # @atlaskit/editor-plugin-analytics
2
2
 
3
+ ## 1.10.13
4
+
5
+ ### Patch Changes
6
+
7
+ - [#103591](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103591)
8
+ [`8ef82b4195e85`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8ef82b4195e85) -
9
+ ED-23460 - Fix to make sure fireAnalyticsEvent action stores channel in queue
10
+
3
11
  ## 1.10.12
4
12
 
5
13
  ### Patch Changes
@@ -160,7 +160,8 @@ var analyticsPlugin = exports.analyticsPlugin = function analyticsPlugin(_ref3)
160
160
  createAnalyticsEvent = _ref6.createAnalyticsEvent;
161
161
  if (!createAnalyticsEvent) {
162
162
  analyticsEventPropQueue.add({
163
- payload: payload
163
+ payload: payload,
164
+ channel: channel
164
165
  });
165
166
  return;
166
167
  }
@@ -119,7 +119,7 @@ const analyticsPlugin = ({
119
119
  if (!tr || !createAnalyticsEvent || !attachAnalyticsEvent) {
120
120
  analyticsEventPropQueue.add({
121
121
  payload,
122
- channel: channel
122
+ channel
123
123
  });
124
124
  return false;
125
125
  }
@@ -137,7 +137,8 @@ const analyticsPlugin = ({
137
137
  } = (_api$analytics$shared2 = api === null || api === void 0 ? void 0 : (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.sharedState.currentState()) !== null && _api$analytics$shared2 !== void 0 ? _api$analytics$shared2 : {};
138
138
  if (!createAnalyticsEvent) {
139
139
  analyticsEventPropQueue.add({
140
- payload
140
+ payload,
141
+ channel
141
142
  });
142
143
  return;
143
144
  }
@@ -152,7 +152,8 @@ var analyticsPlugin = function analyticsPlugin(_ref3) {
152
152
  createAnalyticsEvent = _ref6.createAnalyticsEvent;
153
153
  if (!createAnalyticsEvent) {
154
154
  analyticsEventPropQueue.add({
155
- payload: payload
155
+ payload: payload,
156
+ channel: channel
156
157
  });
157
158
  return;
158
159
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-analytics",
3
- "version": "1.10.12",
3
+ "version": "1.10.13",
4
4
  "description": "Analytics plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,7 +34,7 @@
34
34
  "@atlaskit/adf-schema": "^46.1.0",
35
35
  "@atlaskit/analytics-listeners": "^8.13.0",
36
36
  "@atlaskit/analytics-next": "^10.2.0",
37
- "@atlaskit/editor-common": "^99.3.0",
37
+ "@atlaskit/editor-common": "^99.4.0",
38
38
  "@atlaskit/editor-plugin-feature-flags": "^1.2.0",
39
39
  "@atlaskit/editor-prosemirror": "6.2.1",
40
40
  "@atlaskit/editor-tables": "^2.8.0",