@commercetools-frontend/sentry 23.2.0 → 23.2.2

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.
@@ -46,7 +46,7 @@ var _Reflect$construct__default = /*#__PURE__*/_interopDefault(_Reflect$construc
46
46
  var _pt__default = /*#__PURE__*/_interopDefault(_pt);
47
47
 
48
48
  // NOTE: This string will be replaced on build time with the package version.
49
- var version = "23.2.0";
49
+ var version = "23.2.2";
50
50
 
51
51
  const makeErrorToCapture = error => {
52
52
  if (error instanceof Error) return error;
@@ -160,7 +160,7 @@ const reportErrorToSentry = (error, extraInfo, getIsEnabled) => {
160
160
  return undefined;
161
161
  };
162
162
 
163
- 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); }; }
163
+ function _createSuper$1(t) { var r = _isNativeReflectConstruct$1(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = _Reflect$construct__default["default"](o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
164
164
  function _isNativeReflectConstruct$1() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct__default["default"](Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$1 = function () { return !!t; })(); }
165
165
  /**
166
166
  * This component will let sentry know if any information about the user has
@@ -217,7 +217,7 @@ SentryUserTracker.propTypes = process.env.NODE_ENV !== "production" ? {
217
217
  })
218
218
  } : {};
219
219
 
220
- 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); }; }
220
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = _Reflect$construct__default["default"](o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
221
221
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct__default["default"](Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
222
222
  let SentryUserLogoutTracker = /*#__PURE__*/function (_Component) {
223
223
  _inherits(SentryUserLogoutTracker, _Component);
@@ -45,7 +45,7 @@ var history__default = /*#__PURE__*/_interopDefault(history);
45
45
  var _Reflect$construct__default = /*#__PURE__*/_interopDefault(_Reflect$construct);
46
46
 
47
47
  // NOTE: This string will be replaced on build time with the package version.
48
- var version = "23.2.0";
48
+ var version = "23.2.2";
49
49
 
50
50
  const makeErrorToCapture = error => {
51
51
  if (error instanceof Error) return error;
@@ -159,7 +159,7 @@ const reportErrorToSentry = (error, extraInfo, getIsEnabled) => {
159
159
  return undefined;
160
160
  };
161
161
 
162
- 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); }; }
162
+ function _createSuper$1(t) { var r = _isNativeReflectConstruct$1(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = _Reflect$construct__default["default"](o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
163
163
  function _isNativeReflectConstruct$1() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct__default["default"](Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$1 = function () { return !!t; })(); }
164
164
  /**
165
165
  * This component will let sentry know if any information about the user has
@@ -211,7 +211,7 @@ let SentryUserTracker = /*#__PURE__*/function (_PureComponent) {
211
211
  SentryUserTracker.displayName = 'SentryUserTracker';
212
212
  SentryUserTracker.propTypes = {};
213
213
 
214
- 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); }; }
214
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = _Reflect$construct__default["default"](o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
215
215
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct__default["default"](Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
216
216
  let SentryUserLogoutTracker = /*#__PURE__*/function (_Component) {
217
217
  _inherits(SentryUserLogoutTracker, _Component);
@@ -14,7 +14,7 @@ import _pt from 'prop-types';
14
14
  import { PureComponent, Component } from 'react';
15
15
 
16
16
  // NOTE: This string will be replaced on build time with the package version.
17
- var version = "23.2.0";
17
+ var version = "23.2.2";
18
18
 
19
19
  const makeErrorToCapture = error => {
20
20
  if (error instanceof Error) return error;
@@ -128,7 +128,7 @@ const reportErrorToSentry = (error, extraInfo, getIsEnabled) => {
128
128
  return undefined;
129
129
  };
130
130
 
131
- 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); }; }
131
+ function _createSuper$1(t) { var r = _isNativeReflectConstruct$1(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = _Reflect$construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
132
132
  function _isNativeReflectConstruct$1() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$1 = function () { return !!t; })(); }
133
133
  /**
134
134
  * This component will let sentry know if any information about the user has
@@ -185,7 +185,7 @@ SentryUserTracker.propTypes = process.env.NODE_ENV !== "production" ? {
185
185
  })
186
186
  } : {};
187
187
 
188
- 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); }; }
188
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = _Reflect$construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
189
189
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
190
190
  let SentryUserLogoutTracker = /*#__PURE__*/function (_Component) {
191
191
  _inherits(SentryUserLogoutTracker, _Component);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/sentry",
3
- "version": "23.2.0",
3
+ "version": "23.2.2",
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,8 +30,8 @@
30
30
  "dependencies": {
31
31
  "@babel/runtime": "^7.22.15",
32
32
  "@babel/runtime-corejs3": "^7.22.15",
33
- "@commercetools-frontend/browser-history": "23.2.0",
34
- "@commercetools-frontend/constants": "23.2.0",
33
+ "@commercetools-frontend/browser-history": "23.2.2",
34
+ "@commercetools-frontend/constants": "23.2.2",
35
35
  "@sentry/browser": "7.119.1",
36
36
  "@sentry/react": "7.117.0",
37
37
  "@sentry/types": "7.117.0",