@commercetools-frontend/sentry 21.23.6 → 21.23.8

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.6";
51
+ var version = "21.23.8";
52
52
 
53
53
  var makeErrorToCapture = function makeErrorToCapture(error) {
54
54
  if (error instanceof Error) return error;
@@ -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.6";
50
+ var version = "21.23.8";
51
51
 
52
52
  var makeErrorToCapture = function makeErrorToCapture(error) {
53
53
  if (error instanceof Error) return error;
@@ -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.6";
18
+ var version = "21.23.8";
19
19
 
20
20
  var makeErrorToCapture = function makeErrorToCapture(error) {
21
21
  if (error instanceof Error) return error;
@@ -1,9 +1,9 @@
1
1
  import { PureComponent } from 'react';
2
- declare type SentryUser = {
2
+ type SentryUser = {
3
3
  id: string;
4
4
  email: string;
5
5
  };
6
- declare type Props = {
6
+ type Props = {
7
7
  user?: SentryUser;
8
8
  };
9
9
  declare class SentryUserTracker extends PureComponent<Props> {
@@ -1,6 +1,6 @@
1
1
  import type { Extra, Extras, Event } from '@sentry/types';
2
- declare type ReportableEvent = ErrorEvent | PromiseRejectionEvent;
3
- declare type Reportable = Error | ReportableEvent | string;
2
+ type ReportableEvent = ErrorEvent | PromiseRejectionEvent;
3
+ type Reportable = Error | ReportableEvent | string;
4
4
  export declare const redactUnsafeEventFields: (event: Event) => Event;
5
5
  export declare const boot: () => void;
6
6
  export declare const reportErrorToSentry: (error: Reportable, extraInfo?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/sentry",
3
- "version": "21.23.6",
3
+ "version": "21.23.8",
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": {
@@ -18,19 +18,19 @@
18
18
  "module": "dist/commercetools-frontend-sentry.esm.js",
19
19
  "files": ["dist", "package.json", "LICENSE", "README.md"],
20
20
  "dependencies": {
21
- "@babel/runtime": "^7.19.0",
22
- "@babel/runtime-corejs3": "^7.19.0",
23
- "@commercetools-frontend/browser-history": "21.23.6",
24
- "@commercetools-frontend/constants": "21.23.6",
25
- "@sentry/react": "7.19.0",
26
- "@sentry/tracing": "7.19.0",
21
+ "@babel/runtime": "^7.20.13",
22
+ "@babel/runtime-corejs3": "^7.20.13",
23
+ "@commercetools-frontend/browser-history": "21.23.8",
24
+ "@commercetools-frontend/constants": "21.23.8",
25
+ "@sentry/react": "7.37.2",
26
+ "@sentry/tracing": "7.37.2",
27
27
  "@types/prop-types": "^15.7.5",
28
- "@types/react": "^17.0.49",
28
+ "@types/react": "^17.0.53",
29
29
  "prop-types": "15.8.1"
30
30
  },
31
31
  "devDependencies": {
32
32
  "react": "17.0.2",
33
- "sentry-testkit": "5.0.3",
33
+ "sentry-testkit": "5.0.5",
34
34
  "wait-for-expect": "3.0.2"
35
35
  },
36
36
  "peerDependencies": {