@atlaskit/link-datasource 3.0.2 → 3.0.3
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/link-datasource
|
|
2
2
|
|
|
3
|
+
## 3.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#142171](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/142171)
|
|
8
|
+
[`e76645cc58176`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e76645cc58176) -
|
|
9
|
+
Cleanup platform.linking-platform.datasources.enable-sentry-client FF
|
|
10
|
+
|
|
3
11
|
## 3.0.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -9,7 +9,6 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
9
9
|
var _react = require("react");
|
|
10
10
|
var _sentry = require("@atlaskit/linking-common/sentry");
|
|
11
11
|
var _utils = require("@atlaskit/linking-common/utils");
|
|
12
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
13
12
|
var _analytics = require("../analytics");
|
|
14
13
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15
14
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -28,7 +27,7 @@ var getNetworkFields = function getNetworkFields(error) {
|
|
|
28
27
|
* a helper Tail type which removes the first element of the tuple
|
|
29
28
|
*/
|
|
30
29
|
var logToSentry = exports.logToSentry = function logToSentry(error) {
|
|
31
|
-
if (error instanceof Error
|
|
30
|
+
if (error instanceof Error) {
|
|
32
31
|
for (var _len = arguments.length, captureExceptionParams = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
33
32
|
captureExceptionParams[_key - 1] = arguments[_key];
|
|
34
33
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { useCallback } from 'react';
|
|
2
2
|
import { captureException } from '@atlaskit/linking-common/sentry';
|
|
3
3
|
import { getTraceId } from '@atlaskit/linking-common/utils';
|
|
4
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
4
|
import { useDatasourceAnalyticsEvents } from '../analytics';
|
|
6
5
|
const getNetworkFields = error => {
|
|
7
6
|
return error instanceof Response ? {
|
|
@@ -18,7 +17,7 @@ const getNetworkFields = error => {
|
|
|
18
17
|
* a helper Tail type which removes the first element of the tuple
|
|
19
18
|
*/
|
|
20
19
|
export const logToSentry = (error, ...captureExceptionParams) => {
|
|
21
|
-
if (error instanceof Error
|
|
20
|
+
if (error instanceof Error) {
|
|
22
21
|
captureException(error, ...captureExceptionParams);
|
|
23
22
|
}
|
|
24
23
|
};
|
|
@@ -4,7 +4,6 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
import { useCallback } from 'react';
|
|
5
5
|
import { captureException } from '@atlaskit/linking-common/sentry';
|
|
6
6
|
import { getTraceId } from '@atlaskit/linking-common/utils';
|
|
7
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
7
|
import { useDatasourceAnalyticsEvents } from '../analytics';
|
|
9
8
|
var getNetworkFields = function getNetworkFields(error) {
|
|
10
9
|
return error instanceof Response ? {
|
|
@@ -21,7 +20,7 @@ var getNetworkFields = function getNetworkFields(error) {
|
|
|
21
20
|
* a helper Tail type which removes the first element of the tuple
|
|
22
21
|
*/
|
|
23
22
|
export var logToSentry = function logToSentry(error) {
|
|
24
|
-
if (error instanceof Error
|
|
23
|
+
if (error instanceof Error) {
|
|
25
24
|
for (var _len = arguments.length, captureExceptionParams = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
26
25
|
captureExceptionParams[_key - 1] = arguments[_key];
|
|
27
26
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -180,9 +180,6 @@
|
|
|
180
180
|
"platform.linking-platform.datasource-word_wrap": {
|
|
181
181
|
"type": "boolean"
|
|
182
182
|
},
|
|
183
|
-
"platform.linking-platform.datasources.enable-sentry-client": {
|
|
184
|
-
"type": "boolean"
|
|
185
|
-
},
|
|
186
183
|
"platform.linking-platform.datasource.limit-total-results_8wqcd": {
|
|
187
184
|
"type": "boolean"
|
|
188
185
|
},
|