@atlaskit/collab-provider 9.26.3 → 9.26.4

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/collab-provider
2
2
 
3
+ ## 9.26.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#92046](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92046) [`d0b94531c129`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d0b94531c129) - adding stack trace on analytics error logs
8
+
3
9
  ## 9.26.3
4
10
 
5
11
  ### Patch Changes
@@ -89,6 +89,7 @@ var AnalyticsHelper = exports.default = /*#__PURE__*/function () {
89
89
  errorName: error instanceof Error ? error.name : undefined,
90
90
  errorCode: (_data$code = (_data = error.data) === null || _data === void 0 ? void 0 : _data.code) !== null && _data$code !== void 0 ? _data$code : undefined,
91
91
  errorStatus: (_data$status = (_data2 = error.data) === null || _data2 === void 0 ? void 0 : _data2.status) !== null && _data$status !== void 0 ? _data$status : undefined,
92
+ errorStack: error instanceof Error ? error.stack : undefined,
92
93
  originalErrorMessage: this.getUGCFreeErrorMessage(error)
93
94
  }, errorExtraAttributes),
94
95
  nonPrivacySafeAttributes: {
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.nextMajorVersion = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/collab-provider";
8
- var version = exports.version = "9.26.3";
8
+ var version = exports.version = "9.26.4";
9
9
  var nextMajorVersion = exports.nextMajorVersion = function nextMajorVersion() {
10
10
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
11
11
  };
@@ -73,6 +73,7 @@ export default class AnalyticsHelper {
73
73
  errorName: error instanceof Error ? error.name : undefined,
74
74
  errorCode: (_data$code = (_data = error.data) === null || _data === void 0 ? void 0 : _data.code) !== null && _data$code !== void 0 ? _data$code : undefined,
75
75
  errorStatus: (_data$status = (_data2 = error.data) === null || _data2 === void 0 ? void 0 : _data2.status) !== null && _data$status !== void 0 ? _data$status : undefined,
76
+ errorStack: error instanceof Error ? error.stack : undefined,
76
77
  originalErrorMessage: this.getUGCFreeErrorMessage(error),
77
78
  ...errorExtraAttributes
78
79
  },
@@ -1,5 +1,5 @@
1
1
  export const name = "@atlaskit/collab-provider";
2
- export const version = "9.26.3";
2
+ export const version = "9.26.4";
3
3
  export const nextMajorVersion = () => {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -82,6 +82,7 @@ var AnalyticsHelper = /*#__PURE__*/function () {
82
82
  errorName: error instanceof Error ? error.name : undefined,
83
83
  errorCode: (_data$code = (_data = error.data) === null || _data === void 0 ? void 0 : _data.code) !== null && _data$code !== void 0 ? _data$code : undefined,
84
84
  errorStatus: (_data$status = (_data2 = error.data) === null || _data2 === void 0 ? void 0 : _data2.status) !== null && _data$status !== void 0 ? _data$status : undefined,
85
+ errorStack: error instanceof Error ? error.stack : undefined,
85
86
  originalErrorMessage: this.getUGCFreeErrorMessage(error)
86
87
  }, errorExtraAttributes),
87
88
  nonPrivacySafeAttributes: {
@@ -1,5 +1,5 @@
1
1
  export var name = "@atlaskit/collab-provider";
2
- export var version = "9.26.3";
2
+ export var version = "9.26.4";
3
3
  export var nextMajorVersion = function nextMajorVersion() {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -49,6 +49,7 @@ export type ErrorAnalyticsEvent = {
49
49
  errorName?: string;
50
50
  errorCode?: string;
51
51
  errorStatus?: string;
52
+ errorStack?: string;
52
53
  documentAri?: string;
53
54
  mappedError?: ProviderError;
54
55
  } & DocumentUpdateErrorAttributes;
@@ -49,6 +49,7 @@ export type ErrorAnalyticsEvent = {
49
49
  errorName?: string;
50
50
  errorCode?: string;
51
51
  errorStatus?: string;
52
+ errorStack?: string;
52
53
  documentAri?: string;
53
54
  mappedError?: ProviderError;
54
55
  } & DocumentUpdateErrorAttributes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/collab-provider",
3
- "version": "9.26.3",
3
+ "version": "9.26.4",
4
4
  "description": "A provider for collaborative editing.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"