@atlaskit/editor-core 189.6.6 → 189.6.8

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,11 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 189.6.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [#59951](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59951) [`a42a17e8af1b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a42a17e8af1b) - ED-21106: Remove nonPrivacySafeAttributes from editor operational events
8
+
3
9
  ## 189.6.6
4
10
 
5
11
  ### Patch Changes
@@ -76,9 +76,6 @@ var ErrorBoundaryWithEditorView = exports.ErrorBoundaryWithEditorView = /*#__PUR
76
76
  eventType: _analytics.EVENT_TYPE.OPERATIONAL,
77
77
  attributes: {
78
78
  errorId: sharedId
79
- },
80
- nonPrivacySafeAttributes: {
81
- errorStack: errorStack
82
79
  }
83
80
  });
84
81
  if (_this.featureFlags.ufo && _this.props.editorView) {
@@ -65,9 +65,6 @@ function InlineCommentView(_ref) {
65
65
  position: position,
66
66
  docSize: editorView.state.doc.nodeSize,
67
67
  error: error.toString()
68
- },
69
- nonPrivacySafeAttributes: {
70
- errorStack: error.stack || undefined
71
68
  }
72
69
  };
73
70
  dispatchAnalyticsEvent(payload);
@@ -25,9 +25,6 @@ var freezeUnsafeTransactionProperties = exports.freezeUnsafeTransactionPropertie
25
25
  eventType: _analytics.EVENT_TYPE.OPERATIONAL,
26
26
  attributes: {
27
27
  pluginKey: pluginKey || 'unknown'
28
- },
29
- nonPrivacySafeAttributes: {
30
- stack: new Error().stack
31
28
  }
32
29
  });
33
30
  }
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "189.6.6";
8
+ var version = exports.version = "189.6.8";
@@ -50,9 +50,6 @@ export class ErrorBoundaryWithEditorView extends React.Component {
50
50
  eventType: EVENT_TYPE.OPERATIONAL,
51
51
  attributes: {
52
52
  errorId: sharedId
53
- },
54
- nonPrivacySafeAttributes: {
55
- errorStack
56
53
  }
57
54
  });
58
55
  if (this.featureFlags.ufo && this.props.editorView) {
@@ -67,9 +67,6 @@ export function InlineCommentView({
67
67
  position,
68
68
  docSize: editorView.state.doc.nodeSize,
69
69
  error: error.toString()
70
- },
71
- nonPrivacySafeAttributes: {
72
- errorStack: error.stack || undefined
73
70
  }
74
71
  };
75
72
  dispatchAnalyticsEvent(payload);
@@ -16,9 +16,6 @@ export const freezeUnsafeTransactionProperties = ({
16
16
  eventType: EVENT_TYPE.OPERATIONAL,
17
17
  attributes: {
18
18
  pluginKey: pluginKey || 'unknown'
19
- },
20
- nonPrivacySafeAttributes: {
21
- stack: new Error().stack
22
19
  }
23
20
  });
24
21
  }
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "189.6.6";
2
+ export const version = "189.6.8";
@@ -70,9 +70,6 @@ export var ErrorBoundaryWithEditorView = /*#__PURE__*/function (_React$Component
70
70
  eventType: EVENT_TYPE.OPERATIONAL,
71
71
  attributes: {
72
72
  errorId: sharedId
73
- },
74
- nonPrivacySafeAttributes: {
75
- errorStack: errorStack
76
73
  }
77
74
  });
78
75
  if (_this.featureFlags.ufo && _this.props.editorView) {
@@ -60,9 +60,6 @@ export function InlineCommentView(_ref) {
60
60
  position: position,
61
61
  docSize: editorView.state.doc.nodeSize,
62
62
  error: error.toString()
63
- },
64
- nonPrivacySafeAttributes: {
65
- errorStack: error.stack || undefined
66
63
  }
67
64
  };
68
65
  dispatchAnalyticsEvent(payload);
@@ -19,9 +19,6 @@ export var freezeUnsafeTransactionProperties = function freezeUnsafeTransactionP
19
19
  eventType: EVENT_TYPE.OPERATIONAL,
20
20
  attributes: {
21
21
  pluginKey: pluginKey || 'unknown'
22
- },
23
- nonPrivacySafeAttributes: {
24
- stack: new Error().stack
25
22
  }
26
23
  });
27
24
  }
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "189.6.6";
2
+ export var version = "189.6.8";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "189.6.6",
3
+ "version": "189.6.8",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"