@commercetools-frontend/sentry 21.18.1 → 21.19.0
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.
|
@@ -45,7 +45,7 @@ var _Reflect$construct__default = /*#__PURE__*/_interopDefault(_Reflect$construc
|
|
|
45
45
|
var _pt__default = /*#__PURE__*/_interopDefault(_pt);
|
|
46
46
|
|
|
47
47
|
// NOTE: This string will be replaced on build time with the package version.
|
|
48
|
-
var version = "21.
|
|
48
|
+
var version = "21.19.0";
|
|
49
49
|
|
|
50
50
|
var makeErrorToCapture = function makeErrorToCapture(error) {
|
|
51
51
|
if (error instanceof Error) return error;
|
|
@@ -101,7 +101,7 @@ var redactUnsafeEventFields = function redactUnsafeEventFields(event) {
|
|
|
101
101
|
});
|
|
102
102
|
};
|
|
103
103
|
var boot = function boot() {
|
|
104
|
-
if (window.app.trackingSentry) {
|
|
104
|
+
if (window.app.trackingSentry && window.app.trackingSentry !== 'null') {
|
|
105
105
|
var _context2;
|
|
106
106
|
|
|
107
107
|
Sentry__namespace.init({
|
|
@@ -44,7 +44,7 @@ var Sentry__namespace = /*#__PURE__*/_interopNamespace(Sentry);
|
|
|
44
44
|
var _Reflect$construct__default = /*#__PURE__*/_interopDefault(_Reflect$construct);
|
|
45
45
|
|
|
46
46
|
// NOTE: This string will be replaced on build time with the package version.
|
|
47
|
-
var version = "21.
|
|
47
|
+
var version = "21.19.0";
|
|
48
48
|
|
|
49
49
|
var makeErrorToCapture = function makeErrorToCapture(error) {
|
|
50
50
|
if (error instanceof Error) return error;
|
|
@@ -100,7 +100,7 @@ var redactUnsafeEventFields = function redactUnsafeEventFields(event) {
|
|
|
100
100
|
});
|
|
101
101
|
};
|
|
102
102
|
var boot = function boot() {
|
|
103
|
-
if (window.app.trackingSentry) {
|
|
103
|
+
if (window.app.trackingSentry && window.app.trackingSentry !== 'null') {
|
|
104
104
|
var _context2;
|
|
105
105
|
|
|
106
106
|
Sentry__namespace.init({
|
|
@@ -13,7 +13,7 @@ import _pt from 'prop-types';
|
|
|
13
13
|
import { PureComponent, Component } from 'react';
|
|
14
14
|
|
|
15
15
|
// NOTE: This string will be replaced on build time with the package version.
|
|
16
|
-
var version = "21.
|
|
16
|
+
var version = "21.19.0";
|
|
17
17
|
|
|
18
18
|
var makeErrorToCapture = function makeErrorToCapture(error) {
|
|
19
19
|
if (error instanceof Error) return error;
|
|
@@ -69,7 +69,7 @@ var redactUnsafeEventFields = function redactUnsafeEventFields(event) {
|
|
|
69
69
|
});
|
|
70
70
|
};
|
|
71
71
|
var boot = function boot() {
|
|
72
|
-
if (window.app.trackingSentry) {
|
|
72
|
+
if (window.app.trackingSentry && window.app.trackingSentry !== 'null') {
|
|
73
73
|
var _context2;
|
|
74
74
|
|
|
75
75
|
Sentry.init({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/sentry",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.19.0",
|
|
4
4
|
"description": "Components to set up Sentry for a MC application",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@babel/runtime": "^7.19.0",
|
|
22
22
|
"@babel/runtime-corejs3": "^7.19.0",
|
|
23
|
-
"@commercetools-frontend/constants": "21.
|
|
23
|
+
"@commercetools-frontend/constants": "21.19.0",
|
|
24
24
|
"@sentry/browser": "7.14.0",
|
|
25
25
|
"@types/prop-types": "^15.7.5",
|
|
26
26
|
"@types/react": "^17.0.49",
|