@commercetools-frontend/sentry 22.14.3 → 22.15.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.
@@ -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.14.3";
51
+ var version = "22.15.0";
52
52
 
53
53
  const makeErrorToCapture = error => {
54
54
  if (error instanceof Error) return error;
@@ -104,6 +104,9 @@ const boot = () => {
104
104
  // from our code and ignore errors that come from other services
105
105
  // https://blog.sentry.io/2017/03/27/tips-for-reducing-javascript-error-noise.html
106
106
  allowUrls: [window.app.cdnUrl, window.app.frontendHost],
107
+ // suppress any resize observer errors, see
108
+ // https://github.com/vercel/next.js/discussions/51551
109
+ ignoreErrors: [/ResizeObserver loop (limit exceeded|completed with undelivered notifications)/i],
107
110
  integrations: [new Sentry__namespace.Integrations.GlobalHandlers({
108
111
  onunhandledrejection: false,
109
112
  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 = "22.14.3";
50
+ var version = "22.15.0";
51
51
 
52
52
  const makeErrorToCapture = error => {
53
53
  if (error instanceof Error) return error;
@@ -103,6 +103,9 @@ const boot = () => {
103
103
  // from our code and ignore errors that come from other services
104
104
  // https://blog.sentry.io/2017/03/27/tips-for-reducing-javascript-error-noise.html
105
105
  allowUrls: [window.app.cdnUrl, window.app.frontendHost],
106
+ // suppress any resize observer errors, see
107
+ // https://github.com/vercel/next.js/discussions/51551
108
+ ignoreErrors: [/ResizeObserver loop (limit exceeded|completed with undelivered notifications)/i],
106
109
  integrations: [new Sentry__namespace.Integrations.GlobalHandlers({
107
110
  onunhandledrejection: false,
108
111
  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 = "22.14.3";
18
+ var version = "22.15.0";
19
19
 
20
20
  const makeErrorToCapture = error => {
21
21
  if (error instanceof Error) return error;
@@ -71,6 +71,9 @@ const boot = () => {
71
71
  // from our code and ignore errors that come from other services
72
72
  // https://blog.sentry.io/2017/03/27/tips-for-reducing-javascript-error-noise.html
73
73
  allowUrls: [window.app.cdnUrl, window.app.frontendHost],
74
+ // suppress any resize observer errors, see
75
+ // https://github.com/vercel/next.js/discussions/51551
76
+ ignoreErrors: [/ResizeObserver loop (limit exceeded|completed with undelivered notifications)/i],
74
77
  integrations: [new Sentry.Integrations.GlobalHandlers({
75
78
  onunhandledrejection: false,
76
79
  onerror: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/sentry",
3
- "version": "22.14.3",
3
+ "version": "22.15.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": {
@@ -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": "22.14.3",
34
- "@commercetools-frontend/constants": "22.14.3",
33
+ "@commercetools-frontend/browser-history": "22.15.0",
34
+ "@commercetools-frontend/constants": "22.15.0",
35
35
  "@sentry/browser": "7.64.0",
36
36
  "@sentry/react": "7.64.0",
37
37
  "@sentry/types": "7.64.0",