@sentry/replay
Advanced tools
Comparing version 0.2.0-2 to 0.2.0-3
@@ -400,3 +400,3 @@ import * as Sentry from '@sentry/browser'; | ||
*/ | ||
setImmediate(function () { return _this.setup(); }); | ||
window.setTimeout(function () { return _this.setup(); }); | ||
}; | ||
@@ -504,2 +504,3 @@ SentryReplay.prototype.setup = function () { | ||
logger.log('CreateReplayEvent rootReplayId', this.session.id); | ||
console.error(new Error('creating replay event'), new Date()); | ||
this.replayEvent = Sentry.startTransaction({ | ||
@@ -591,2 +592,3 @@ name: REPLAY_EVENT_NAME, | ||
}), "rrweb-".concat(new Date().getTime(), ".json")); | ||
console.log('sendReplayRequest: ', endpoint); | ||
// If sendBeacon is supported and payload is smol enough... | ||
@@ -593,0 +595,0 @@ if (this.hasSendBeacon() && stringifiedPayload.length <= 65536) { |
@@ -424,3 +424,3 @@ 'use strict'; | ||
*/ | ||
setImmediate(function () { return _this.setup(); }); | ||
window.setTimeout(function () { return _this.setup(); }); | ||
}; | ||
@@ -528,2 +528,3 @@ SentryReplay.prototype.setup = function () { | ||
logger.log('CreateReplayEvent rootReplayId', this.session.id); | ||
console.error(new Error('creating replay event'), new Date()); | ||
this.replayEvent = Sentry__namespace.startTransaction({ | ||
@@ -615,2 +616,3 @@ name: REPLAY_EVENT_NAME, | ||
}), "rrweb-".concat(new Date().getTime(), ".json")); | ||
console.log('sendReplayRequest: ', endpoint); | ||
// If sendBeacon is supported and payload is smol enough... | ||
@@ -617,0 +619,0 @@ if (this.hasSendBeacon() && stringifiedPayload.length <= 65536) { |
{ | ||
"name": "@sentry/replay", | ||
"version": "0.2.0-2", | ||
"version": "0.2.0-3", | ||
"description": "User replays for Sentry", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
138531
1514