@commercetools-frontend/sentry 21.20.3 → 21.20.5

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.20.3";
51
+ var version = "21.20.5";
52
52
 
53
53
  var makeErrorToCapture = function makeErrorToCapture(error) {
54
54
  if (error instanceof Error) return error;
@@ -122,12 +122,12 @@ var boot = function boot() {
122
122
  }), new tracing.BrowserTracing({
123
123
  routingInstrumentation: Sentry__namespace.reactRouterV5Instrumentation(history__default["default"])
124
124
  })],
125
- // Sending 20% of transactions. We can adjust that as we see a need to.
125
+ // Sending 5% of transactions. We can adjust that as we see a need to.
126
126
  // Generally we need to find a balance between performance and data volume.
127
127
  // If we need more flexible and dynamic way of gathering important samples,
128
128
  // we can implement the `tracesSampler` function.
129
129
  // https://docs.sentry.io/platforms/javascript/guides/react/configuration/sampling/#sampling-transaction-events
130
- tracesSampleRate: 0.2,
130
+ tracesSampleRate: 0.05,
131
131
  beforeSend: function beforeSend(event) {
132
132
  return redactUnsafeEventFields(event);
133
133
  }
@@ -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.20.3";
50
+ var version = "21.20.5";
51
51
 
52
52
  var makeErrorToCapture = function makeErrorToCapture(error) {
53
53
  if (error instanceof Error) return error;
@@ -121,12 +121,12 @@ var boot = function boot() {
121
121
  }), new tracing.BrowserTracing({
122
122
  routingInstrumentation: Sentry__namespace.reactRouterV5Instrumentation(history__default["default"])
123
123
  })],
124
- // Sending 20% of transactions. We can adjust that as we see a need to.
124
+ // Sending 5% of transactions. We can adjust that as we see a need to.
125
125
  // Generally we need to find a balance between performance and data volume.
126
126
  // If we need more flexible and dynamic way of gathering important samples,
127
127
  // we can implement the `tracesSampler` function.
128
128
  // https://docs.sentry.io/platforms/javascript/guides/react/configuration/sampling/#sampling-transaction-events
129
- tracesSampleRate: 0.2,
129
+ tracesSampleRate: 0.05,
130
130
  beforeSend: function beforeSend(event) {
131
131
  return redactUnsafeEventFields(event);
132
132
  }
@@ -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.20.3";
18
+ var version = "21.20.5";
19
19
 
20
20
  var makeErrorToCapture = function makeErrorToCapture(error) {
21
21
  if (error instanceof Error) return error;
@@ -89,12 +89,12 @@ var boot = function boot() {
89
89
  }), new BrowserTracing({
90
90
  routingInstrumentation: Sentry.reactRouterV5Instrumentation(history)
91
91
  })],
92
- // Sending 20% of transactions. We can adjust that as we see a need to.
92
+ // Sending 5% of transactions. We can adjust that as we see a need to.
93
93
  // Generally we need to find a balance between performance and data volume.
94
94
  // If we need more flexible and dynamic way of gathering important samples,
95
95
  // we can implement the `tracesSampler` function.
96
96
  // https://docs.sentry.io/platforms/javascript/guides/react/configuration/sampling/#sampling-transaction-events
97
- tracesSampleRate: 0.2,
97
+ tracesSampleRate: 0.05,
98
98
  beforeSend: function beforeSend(event) {
99
99
  return redactUnsafeEventFields(event);
100
100
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/sentry",
3
- "version": "21.20.3",
3
+ "version": "21.20.5",
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": {
@@ -20,8 +20,8 @@
20
20
  "dependencies": {
21
21
  "@babel/runtime": "^7.19.0",
22
22
  "@babel/runtime-corejs3": "^7.19.0",
23
- "@commercetools-frontend/browser-history": "21.20.3",
24
- "@commercetools-frontend/constants": "21.20.3",
23
+ "@commercetools-frontend/browser-history": "21.20.5",
24
+ "@commercetools-frontend/constants": "21.20.5",
25
25
  "@sentry/react": "7.19.0",
26
26
  "@sentry/tracing": "7.19.0",
27
27
  "@types/prop-types": "^15.7.5",