@sentry/browser 6.13.0 → 6.13.1
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.es6.js +3 -3
- package/build/bundle.es6.js.map +1 -1
- package/build/bundle.es6.min.js +2 -2
- package/build/bundle.es6.min.js.map +1 -1
- package/build/bundle.js +3 -3
- package/build/bundle.js.map +1 -1
- package/build/bundle.min.js +2 -2
- package/build/bundle.min.js.map +1 -1
- package/dist/transports/base.js +1 -1
- package/dist/transports/base.js.map +1 -1
- package/esm/transports/base.js +1 -1
- package/esm/transports/base.js.map +1 -1
- package/package.json +5 -5
package/build/bundle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @sentry/browser 6.13.
|
|
1
|
+
/*! @sentry/browser 6.13.1 (fdf519b) | https://github.com/getsentry/sentry-javascript */
|
|
2
2
|
var Sentry = (function (exports) {
|
|
3
3
|
/*! *****************************************************************************
|
|
4
4
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4478,7 +4478,7 @@ var Sentry = (function (exports) {
|
|
|
4478
4478
|
hub.bindClient(client);
|
|
4479
4479
|
}
|
|
4480
4480
|
|
|
4481
|
-
var SDK_VERSION = '6.13.
|
|
4481
|
+
var SDK_VERSION = '6.13.1';
|
|
4482
4482
|
|
|
4483
4483
|
var originalFunctionToString;
|
|
4484
4484
|
/** Patch toString calls to return proper name for wrapped functions */
|
|
@@ -5166,7 +5166,7 @@ var Sentry = (function (exports) {
|
|
|
5166
5166
|
this._api = new API(options.dsn, options._metadata, options.tunnel);
|
|
5167
5167
|
// eslint-disable-next-line deprecation/deprecation
|
|
5168
5168
|
this.url = this._api.getStoreEndpointWithUrlEncodedAuth();
|
|
5169
|
-
if (this.options.sendClientReports) {
|
|
5169
|
+
if (this.options.sendClientReports && document) {
|
|
5170
5170
|
document.addEventListener('visibilitychange', function () {
|
|
5171
5171
|
if (document.visibilityState === 'hidden') {
|
|
5172
5172
|
_this._flushOutcomes();
|