@commercetools-frontend/sentry 23.2.2 → 23.2.3

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.2";
49
+ var version = "23.2.3";
50
50
 
51
51
  const makeErrorToCapture = error => {
52
52
  if (error instanceof Error) return error;
@@ -123,6 +123,7 @@ const boot = () => {
123
123
  const sentryScope = Sentry__namespace.getCurrentScope();
124
124
  sentryScope.setTag('role', 'frontend');
125
125
  sentryScope.setTag('applicationName', window.app.applicationName);
126
+ sentryScope.setTag('service', `merchant-center-frontend-${window.app.applicationName}`);
126
127
  }
127
128
  };
128
129
  const isExtraAsObject = extrasOrExtra => typeof extrasOrExtra === 'object';
@@ -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.2";
48
+ var version = "23.2.3";
49
49
 
50
50
  const makeErrorToCapture = error => {
51
51
  if (error instanceof Error) return error;
@@ -122,6 +122,7 @@ const boot = () => {
122
122
  const sentryScope = Sentry__namespace.getCurrentScope();
123
123
  sentryScope.setTag('role', 'frontend');
124
124
  sentryScope.setTag('applicationName', window.app.applicationName);
125
+ sentryScope.setTag('service', `merchant-center-frontend-${window.app.applicationName}`);
125
126
  }
126
127
  };
127
128
  const isExtraAsObject = extrasOrExtra => typeof extrasOrExtra === 'object';
@@ -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.2";
17
+ var version = "23.2.3";
18
18
 
19
19
  const makeErrorToCapture = error => {
20
20
  if (error instanceof Error) return error;
@@ -91,6 +91,7 @@ const boot = () => {
91
91
  const sentryScope = Sentry.getCurrentScope();
92
92
  sentryScope.setTag('role', 'frontend');
93
93
  sentryScope.setTag('applicationName', window.app.applicationName);
94
+ sentryScope.setTag('service', `merchant-center-frontend-${window.app.applicationName}`);
94
95
  }
95
96
  };
96
97
  const isExtraAsObject = extrasOrExtra => typeof extrasOrExtra === 'object';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/sentry",
3
- "version": "23.2.2",
3
+ "version": "23.2.3",
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.2",
34
- "@commercetools-frontend/constants": "23.2.2",
33
+ "@commercetools-frontend/browser-history": "23.2.3",
34
+ "@commercetools-frontend/constants": "23.2.3",
35
35
  "@sentry/browser": "7.119.1",
36
36
  "@sentry/react": "7.117.0",
37
37
  "@sentry/types": "7.117.0",