@atlaskit/editor-plugin-analytics 2.3.0 → 2.3.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 +12 -0
- package/dist/cjs/analyticsPlugin.js +7 -7
- package/dist/esm/analyticsPlugin.js +7 -7
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -238,9 +238,9 @@ var analyticsPlugin = exports.analyticsPlugin = function analyticsPlugin(_ref3)
|
|
|
238
238
|
}
|
|
239
239
|
var createAnalyticsEvent = pluginState.createAnalyticsEvent;
|
|
240
240
|
var undoAnaltyicsEventTransformer = (0, _undoRedoInputSource.generateUndoRedoInputSoucePayload)(originalTransaction);
|
|
241
|
-
steps.forEach(function (
|
|
242
|
-
var payload =
|
|
243
|
-
channel =
|
|
241
|
+
steps.forEach(function (_ref0) {
|
|
242
|
+
var payload = _ref0.payload,
|
|
243
|
+
channel = _ref0.channel;
|
|
244
244
|
var nextPayload = undoAnaltyicsEventTransformer(payload);
|
|
245
245
|
(0, _analytics.fireAnalyticsEvent)(createAnalyticsEvent)({
|
|
246
246
|
payload: nextPayload,
|
|
@@ -250,10 +250,10 @@ var analyticsPlugin = exports.analyticsPlugin = function analyticsPlugin(_ref3)
|
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
252
|
};
|
|
253
|
-
function extendPayload(
|
|
254
|
-
var payload =
|
|
255
|
-
duration =
|
|
256
|
-
distortedDuration =
|
|
253
|
+
function extendPayload(_ref1) {
|
|
254
|
+
var payload = _ref1.payload,
|
|
255
|
+
duration = _ref1.duration,
|
|
256
|
+
distortedDuration = _ref1.distortedDuration;
|
|
257
257
|
return _objectSpread(_objectSpread({}, payload), {}, {
|
|
258
258
|
attributes: _objectSpread(_objectSpread({}, payload.attributes), {}, {
|
|
259
259
|
duration: duration,
|
|
@@ -230,9 +230,9 @@ var analyticsPlugin = function analyticsPlugin(_ref3) {
|
|
|
230
230
|
}
|
|
231
231
|
var createAnalyticsEvent = pluginState.createAnalyticsEvent;
|
|
232
232
|
var undoAnaltyicsEventTransformer = generateUndoRedoInputSoucePayload(originalTransaction);
|
|
233
|
-
steps.forEach(function (
|
|
234
|
-
var payload =
|
|
235
|
-
channel =
|
|
233
|
+
steps.forEach(function (_ref0) {
|
|
234
|
+
var payload = _ref0.payload,
|
|
235
|
+
channel = _ref0.channel;
|
|
236
236
|
var nextPayload = undoAnaltyicsEventTransformer(payload);
|
|
237
237
|
_fireAnalyticsEvent(createAnalyticsEvent)({
|
|
238
238
|
payload: nextPayload,
|
|
@@ -242,10 +242,10 @@ var analyticsPlugin = function analyticsPlugin(_ref3) {
|
|
|
242
242
|
}
|
|
243
243
|
};
|
|
244
244
|
};
|
|
245
|
-
export function extendPayload(
|
|
246
|
-
var payload =
|
|
247
|
-
duration =
|
|
248
|
-
distortedDuration =
|
|
245
|
+
export function extendPayload(_ref1) {
|
|
246
|
+
var payload = _ref1.payload,
|
|
247
|
+
duration = _ref1.duration,
|
|
248
|
+
distortedDuration = _ref1.distortedDuration;
|
|
249
249
|
return _objectSpread(_objectSpread({}, payload), {}, {
|
|
250
250
|
attributes: _objectSpread(_objectSpread({}, payload.attributes), {}, {
|
|
251
251
|
duration: duration,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-analytics",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"description": "Analytics plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
35
35
|
"@atlaskit/analytics-listeners": "^9.0.0",
|
|
36
|
-
"@atlaskit/analytics-next": "^11.
|
|
37
|
-
"@atlaskit/editor-common": "^
|
|
36
|
+
"@atlaskit/analytics-next": "^11.1.0",
|
|
37
|
+
"@atlaskit/editor-common": "^107.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-feature-flags": "^1.4.0",
|
|
39
39
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
40
40
|
"@atlaskit/editor-tables": "^2.9.0",
|