@sentry/browser 6.17.2 → 6.17.6

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/build/bundle.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @sentry/browser 6.17.2 (37b1213) | https://github.com/getsentry/sentry-javascript */
1
+ /*! @sentry/browser 6.17.6 (4b4faec) | https://github.com/getsentry/sentry-javascript */
2
2
  var Sentry = (function (exports) {
3
3
  /*! *****************************************************************************
4
4
  Copyright (c) Microsoft Corporation. All rights reserved.
@@ -92,8 +92,7 @@ var Sentry = (function (exports) {
92
92
  Severity["Debug"] = "debug";
93
93
  /** JSDoc */
94
94
  Severity["Critical"] = "critical";
95
- })(exports.Severity || (exports.Severity = {}));
96
- var SeverityLevels = ['fatal', 'error', 'warning', 'log', 'info', 'debug', 'critical'];
95
+ })(exports.Severity || (exports.Severity = {}));
97
96
 
98
97
  /**
99
98
  * Consumes the promise and logs the error when it rejects.
@@ -557,6 +556,8 @@ var Sentry = (function (exports) {
557
556
  return components;
558
557
  }
559
558
 
559
+ var SeverityLevels = ['fatal', 'error', 'warning', 'log', 'info', 'debug', 'critical'];
560
+
560
561
  // TODO: Implement different loggers for different environments
561
562
  var global$1 = getGlobalObject();
562
563
  /** Prefix for logging strings */
@@ -4464,7 +4465,7 @@ var Sentry = (function (exports) {
4464
4465
  hub.bindClient(client);
4465
4466
  }
4466
4467
 
4467
- var SDK_VERSION = '6.17.2';
4468
+ var SDK_VERSION = '6.17.6';
4468
4469
 
4469
4470
  var originalFunctionToString;
4470
4471
  /** Patch toString calls to return proper name for wrapped functions */
@@ -5832,6 +5833,7 @@ var Sentry = (function (exports) {
5832
5833
  attachStacktrace: attachStacktrace,
5833
5834
  isRejection: false,
5834
5835
  }), url, line, column);
5836
+ event.level = exports.Severity.Error;
5835
5837
  addMechanismAndCapture(hub, error, event, 'onerror');
5836
5838
  });
5837
5839
  }
@@ -6993,6 +6995,7 @@ var Sentry = (function (exports) {
6993
6995
  exports.SDK_NAME = SDK_NAME;
6994
6996
  exports.SDK_VERSION = SDK_VERSION;
6995
6997
  exports.Scope = Scope;
6998
+ exports.Session = Session;
6996
6999
  exports.Transports = index;
6997
7000
  exports.addBreadcrumb = addBreadcrumb;
6998
7001
  exports.addGlobalEventProcessor = addGlobalEventProcessor;