@commercetools-frontend/sentry 21.23.8 → 21.23.10
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.
|
@@ -48,7 +48,7 @@ var _Reflect$construct__default = /*#__PURE__*/_interopDefault(_Reflect$construc
|
|
|
48
48
|
var _pt__default = /*#__PURE__*/_interopDefault(_pt);
|
|
49
49
|
|
|
50
50
|
// NOTE: This string will be replaced on build time with the package version.
|
|
51
|
-
var version = "21.23.
|
|
51
|
+
var version = "21.23.10";
|
|
52
52
|
|
|
53
53
|
var makeErrorToCapture = function makeErrorToCapture(error) {
|
|
54
54
|
if (error instanceof Error) return error;
|
|
@@ -111,11 +111,10 @@ var boot = function boot() {
|
|
|
111
111
|
dsn: window.app.trackingSentry,
|
|
112
112
|
release: window.app.revision,
|
|
113
113
|
environment: _concatInstanceProperty__default["default"](_context2 = "".concat(window.app.env, "-")).call(_context2, window.app.location),
|
|
114
|
-
//
|
|
114
|
+
// In order to reduce the noise in sentry we only track errors that come
|
|
115
115
|
// from our code and ignore errors that come from other services
|
|
116
116
|
// https://blog.sentry.io/2017/03/27/tips-for-reducing-javascript-error-noise.html
|
|
117
117
|
allowUrls: [window.app.cdnUrl, window.app.frontendHost],
|
|
118
|
-
// we don't need default Sentry's global handlers, because we add default ones
|
|
119
118
|
integrations: [new Sentry__namespace.Integrations.GlobalHandlers({
|
|
120
119
|
onunhandledrejection: false,
|
|
121
120
|
onerror: false
|
|
@@ -47,7 +47,7 @@ var history__default = /*#__PURE__*/_interopDefault(history);
|
|
|
47
47
|
var _Reflect$construct__default = /*#__PURE__*/_interopDefault(_Reflect$construct);
|
|
48
48
|
|
|
49
49
|
// NOTE: This string will be replaced on build time with the package version.
|
|
50
|
-
var version = "21.23.
|
|
50
|
+
var version = "21.23.10";
|
|
51
51
|
|
|
52
52
|
var makeErrorToCapture = function makeErrorToCapture(error) {
|
|
53
53
|
if (error instanceof Error) return error;
|
|
@@ -110,11 +110,10 @@ var boot = function boot() {
|
|
|
110
110
|
dsn: window.app.trackingSentry,
|
|
111
111
|
release: window.app.revision,
|
|
112
112
|
environment: _concatInstanceProperty__default["default"](_context2 = "".concat(window.app.env, "-")).call(_context2, window.app.location),
|
|
113
|
-
//
|
|
113
|
+
// In order to reduce the noise in sentry we only track errors that come
|
|
114
114
|
// from our code and ignore errors that come from other services
|
|
115
115
|
// https://blog.sentry.io/2017/03/27/tips-for-reducing-javascript-error-noise.html
|
|
116
116
|
allowUrls: [window.app.cdnUrl, window.app.frontendHost],
|
|
117
|
-
// we don't need default Sentry's global handlers, because we add default ones
|
|
118
117
|
integrations: [new Sentry__namespace.Integrations.GlobalHandlers({
|
|
119
118
|
onunhandledrejection: false,
|
|
120
119
|
onerror: false
|
|
@@ -15,7 +15,7 @@ import _pt from 'prop-types';
|
|
|
15
15
|
import { PureComponent, Component } from 'react';
|
|
16
16
|
|
|
17
17
|
// NOTE: This string will be replaced on build time with the package version.
|
|
18
|
-
var version = "21.23.
|
|
18
|
+
var version = "21.23.10";
|
|
19
19
|
|
|
20
20
|
var makeErrorToCapture = function makeErrorToCapture(error) {
|
|
21
21
|
if (error instanceof Error) return error;
|
|
@@ -78,11 +78,10 @@ var boot = function boot() {
|
|
|
78
78
|
dsn: window.app.trackingSentry,
|
|
79
79
|
release: window.app.revision,
|
|
80
80
|
environment: _concatInstanceProperty(_context2 = "".concat(window.app.env, "-")).call(_context2, window.app.location),
|
|
81
|
-
//
|
|
81
|
+
// In order to reduce the noise in sentry we only track errors that come
|
|
82
82
|
// from our code and ignore errors that come from other services
|
|
83
83
|
// https://blog.sentry.io/2017/03/27/tips-for-reducing-javascript-error-noise.html
|
|
84
84
|
allowUrls: [window.app.cdnUrl, window.app.frontendHost],
|
|
85
|
-
// we don't need default Sentry's global handlers, because we add default ones
|
|
86
85
|
integrations: [new Sentry.Integrations.GlobalHandlers({
|
|
87
86
|
onunhandledrejection: false,
|
|
88
87
|
onerror: false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/sentry",
|
|
3
|
-
"version": "21.23.
|
|
3
|
+
"version": "21.23.10",
|
|
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,8 +20,8 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@babel/runtime": "^7.20.13",
|
|
22
22
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
23
|
-
"@commercetools-frontend/browser-history": "21.23.
|
|
24
|
-
"@commercetools-frontend/constants": "21.23.
|
|
23
|
+
"@commercetools-frontend/browser-history": "21.23.10",
|
|
24
|
+
"@commercetools-frontend/constants": "21.23.10",
|
|
25
25
|
"@sentry/react": "7.37.2",
|
|
26
26
|
"@sentry/tracing": "7.37.2",
|
|
27
27
|
"@types/prop-types": "^15.7.5",
|