@commercetools-frontend/sentry 22.22.0 → 22.23.1
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 = "22.
|
|
51
|
+
var version = "22.23.1";
|
|
52
52
|
|
|
53
53
|
const makeErrorToCapture = error => {
|
|
54
54
|
if (error instanceof Error) return error;
|
|
@@ -157,7 +157,7 @@ const reportErrorToSentry = (error, extraInfo, getIsEnabled) => {
|
|
|
157
157
|
};
|
|
158
158
|
|
|
159
159
|
function _createSuper$1(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = _Reflect$construct__default["default"](Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
160
|
-
function _isNativeReflectConstruct$1() {
|
|
160
|
+
function _isNativeReflectConstruct$1() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct__default["default"](Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$1 = function () { return !!t; })(); }
|
|
161
161
|
/**
|
|
162
162
|
* This component will let sentry know if any information about the user has
|
|
163
163
|
* changed.
|
|
@@ -214,7 +214,7 @@ SentryUserTracker.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
214
214
|
} : {};
|
|
215
215
|
|
|
216
216
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = _Reflect$construct__default["default"](Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
217
|
-
function _isNativeReflectConstruct() {
|
|
217
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct__default["default"](Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
218
218
|
let SentryUserLogoutTracker = /*#__PURE__*/function (_Component) {
|
|
219
219
|
_inherits(SentryUserLogoutTracker, _Component);
|
|
220
220
|
var _super = _createSuper(SentryUserLogoutTracker);
|
|
@@ -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 = "22.
|
|
50
|
+
var version = "22.23.1";
|
|
51
51
|
|
|
52
52
|
const makeErrorToCapture = error => {
|
|
53
53
|
if (error instanceof Error) return error;
|
|
@@ -156,7 +156,7 @@ const reportErrorToSentry = (error, extraInfo, getIsEnabled) => {
|
|
|
156
156
|
};
|
|
157
157
|
|
|
158
158
|
function _createSuper$1(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = _Reflect$construct__default["default"](Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
159
|
-
function _isNativeReflectConstruct$1() {
|
|
159
|
+
function _isNativeReflectConstruct$1() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct__default["default"](Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$1 = function () { return !!t; })(); }
|
|
160
160
|
/**
|
|
161
161
|
* This component will let sentry know if any information about the user has
|
|
162
162
|
* changed.
|
|
@@ -208,7 +208,7 @@ SentryUserTracker.displayName = 'SentryUserTracker';
|
|
|
208
208
|
SentryUserTracker.propTypes = {};
|
|
209
209
|
|
|
210
210
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = _Reflect$construct__default["default"](Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
211
|
-
function _isNativeReflectConstruct() {
|
|
211
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct__default["default"](Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
212
212
|
let SentryUserLogoutTracker = /*#__PURE__*/function (_Component) {
|
|
213
213
|
_inherits(SentryUserLogoutTracker, _Component);
|
|
214
214
|
var _super = _createSuper(SentryUserLogoutTracker);
|
|
@@ -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 = "22.
|
|
18
|
+
var version = "22.23.1";
|
|
19
19
|
|
|
20
20
|
const makeErrorToCapture = error => {
|
|
21
21
|
if (error instanceof Error) return error;
|
|
@@ -124,7 +124,7 @@ const reportErrorToSentry = (error, extraInfo, getIsEnabled) => {
|
|
|
124
124
|
};
|
|
125
125
|
|
|
126
126
|
function _createSuper$1(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = _Reflect$construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
127
|
-
function _isNativeReflectConstruct$1() {
|
|
127
|
+
function _isNativeReflectConstruct$1() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$1 = function () { return !!t; })(); }
|
|
128
128
|
/**
|
|
129
129
|
* This component will let sentry know if any information about the user has
|
|
130
130
|
* changed.
|
|
@@ -181,7 +181,7 @@ SentryUserTracker.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
181
181
|
} : {};
|
|
182
182
|
|
|
183
183
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = _Reflect$construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
184
|
-
function _isNativeReflectConstruct() {
|
|
184
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
185
185
|
let SentryUserLogoutTracker = /*#__PURE__*/function (_Component) {
|
|
186
186
|
_inherits(SentryUserLogoutTracker, _Component);
|
|
187
187
|
var _super = _createSuper(SentryUserLogoutTracker);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/sentry",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.23.1",
|
|
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": {
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@babel/runtime": "^7.22.15",
|
|
32
32
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
33
|
-
"@commercetools-frontend/browser-history": "22.
|
|
34
|
-
"@commercetools-frontend/constants": "22.
|
|
35
|
-
"@sentry/browser": "7.
|
|
36
|
-
"@sentry/react": "7.
|
|
37
|
-
"@sentry/types": "7.
|
|
33
|
+
"@commercetools-frontend/browser-history": "22.23.1",
|
|
34
|
+
"@commercetools-frontend/constants": "22.23.1",
|
|
35
|
+
"@sentry/browser": "7.107.0",
|
|
36
|
+
"@sentry/react": "7.107.0",
|
|
37
|
+
"@sentry/types": "7.107.0",
|
|
38
38
|
"@types/prop-types": "^15.7.5",
|
|
39
39
|
"@types/react": "^17.0.56",
|
|
40
40
|
"prop-types": "15.8.1"
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@emotion/react": "^11.11.4",
|
|
44
44
|
"@types/jest": "^29.5.4",
|
|
45
|
-
"jest": "29.
|
|
45
|
+
"jest": "29.7.0",
|
|
46
46
|
"react": "17.0.2",
|
|
47
|
-
"sentry-testkit": "5.0.
|
|
47
|
+
"sentry-testkit": "5.0.9",
|
|
48
48
|
"wait-for-expect": "3.0.2"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|