@atlaskit/editor-plugin-analytics 10.1.3 → 10.1.5
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/pm-plugins/analytics-api/attach-payload-into-transaction.js +2 -2
- package/dist/es2019/pm-plugins/analytics-api/attach-payload-into-transaction.js +2 -2
- package/dist/esm/pm-plugins/analytics-api/attach-payload-into-transaction.js +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -39,8 +39,8 @@ var attachPayloadIntoTransaction = function attachPayloadIntoTransaction(_ref2)
|
|
|
39
39
|
tr.step(new _steps.AnalyticsStep([{
|
|
40
40
|
payload: payload,
|
|
41
41
|
channel: channel
|
|
42
|
-
}], actionsToIgnore, pos
|
|
43
|
-
);
|
|
42
|
+
}], actionsToIgnore, pos // We need to create the step based on a position, this prevent split history for relative changes.
|
|
43
|
+
));
|
|
44
44
|
|
|
45
45
|
// When you add a new step all the storedMarks are removed it
|
|
46
46
|
if (storedMarks) {
|
|
@@ -33,8 +33,8 @@ const attachPayloadIntoTransaction = ({
|
|
|
33
33
|
tr.step(new AnalyticsStep([{
|
|
34
34
|
payload,
|
|
35
35
|
channel
|
|
36
|
-
}], actionsToIgnore, pos
|
|
37
|
-
);
|
|
36
|
+
}], actionsToIgnore, pos // We need to create the step based on a position, this prevent split history for relative changes.
|
|
37
|
+
));
|
|
38
38
|
|
|
39
39
|
// When you add a new step all the storedMarks are removed it
|
|
40
40
|
if (storedMarks) {
|
|
@@ -33,8 +33,8 @@ var attachPayloadIntoTransaction = function attachPayloadIntoTransaction(_ref2)
|
|
|
33
33
|
tr.step(new AnalyticsStep([{
|
|
34
34
|
payload: payload,
|
|
35
35
|
channel: channel
|
|
36
|
-
}], actionsToIgnore, pos
|
|
37
|
-
);
|
|
36
|
+
}], actionsToIgnore, pos // We need to create the step based on a position, this prevent split history for relative changes.
|
|
37
|
+
));
|
|
38
38
|
|
|
39
39
|
// When you add a new step all the storedMarks are removed it
|
|
40
40
|
if (storedMarks) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-analytics",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.5",
|
|
4
4
|
"description": "Analytics plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"atlaskit:src": "src/index.ts",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@atlaskit/adf-schema": "^52.
|
|
30
|
+
"@atlaskit/adf-schema": "^52.15.0",
|
|
31
31
|
"@atlaskit/analytics-listeners": "^10.1.0",
|
|
32
32
|
"@atlaskit/analytics-next": "^11.2.0",
|
|
33
33
|
"@atlaskit/editor-plugin-feature-flags": "^9.1.0",
|
|
34
34
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
35
35
|
"@atlaskit/editor-tables": "^2.10.0",
|
|
36
36
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
37
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
37
|
+
"@atlaskit/tmp-editor-statsig": "^86.0.0",
|
|
38
38
|
"@babel/runtime": "^7.0.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@atlaskit/editor-common": "^114.
|
|
41
|
+
"@atlaskit/editor-common": "^114.54.0",
|
|
42
42
|
"react": "^18.2.0"
|
|
43
43
|
},
|
|
44
44
|
"techstack": {
|