@sentry/browser 6.19.3 → 6.19.4

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.
package/bundles/bundle.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @sentry/browser 6.19.3 (fe6f7b3) | https://github.com/getsentry/sentry-javascript */
1
+ /*! @sentry/browser 6.19.4 (261f2e4) | https://github.com/getsentry/sentry-javascript */
2
2
  var Sentry = (function (exports) {
3
3
 
4
4
  /*! *****************************************************************************
@@ -113,22 +113,6 @@ var Sentry = (function (exports) {
113
113
  });
114
114
  }
115
115
 
116
- /**
117
- * This module exists for optimizations in the build process through rollup and terser. We define some global
118
- * constants, which can be overridden during build. By guarding certain pieces of code with functions that return these
119
- * constants, we can control whether or not they appear in the final bundle. (Any code guarded by a false condition will
120
- * never run, and will hence be dropped during treeshaking.) The two primary uses for this are stripping out calls to
121
- * `logger` and preventing node-related code from appearing in browser bundles.
122
- */
123
- /**
124
- * Figures out if we're building with debug functionality.
125
- *
126
- * @returns true if this is a debug build
127
- */
128
- function isDebugBuild() {
129
- return true;
130
- }
131
-
132
116
  /**
133
117
  * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something,
134
118
  * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere.
@@ -4723,7 +4707,7 @@ var Sentry = (function (exports) {
4723
4707
  return "Too many " + category + " requests, backing off until: " + new Date(disabledUntil(rateLimits, category)).toISOString();
4724
4708
  }
4725
4709
 
4726
- var SDK_VERSION = '6.19.3';
4710
+ var SDK_VERSION = '6.19.4';
4727
4711
 
4728
4712
  var originalFunctionToString;
4729
4713
  /** Patch toString calls to return proper name for wrapped functions */
@@ -5441,7 +5425,7 @@ var Sentry = (function (exports) {
5441
5425
  var status = eventStatusFromHttpCode(response.status);
5442
5426
  this._rateLimits = updateRateLimits(this._rateLimits, headers);
5443
5427
  // eslint-disable-next-line deprecation/deprecation
5444
- if (this._isRateLimited(requestType) && isDebugBuild()) {
5428
+ if (this._isRateLimited(requestType)) {
5445
5429
  // eslint-disable-next-line deprecation/deprecation
5446
5430
  logger.warn("Too many " + requestType + " requests, backing off until: " + this._disabledUntil(requestType));
5447
5431
  }