@sentry/replay
Advanced tools
Comparing version 0.2.0-8 to 0.2.0-9
@@ -162,3 +162,5 @@ import * as Sentry from '@sentry/browser'; | ||
var jsHeapSizeLimit = memoryEntry.jsHeapSizeLimit, totalJSHeapSize = memoryEntry.totalJSHeapSize, usedJSHeapSize = memoryEntry.usedJSHeapSize; | ||
var time = getAbsoluteTime(Date.now()); | ||
// we can't use getAbsoluteTime because it adds the event time to | ||
// window.performance.timeOrigin, so we get right now instead. | ||
var time = new Date().getTime() / 1000; | ||
return { | ||
@@ -165,0 +167,0 @@ type: 'memory', |
@@ -186,3 +186,5 @@ 'use strict'; | ||
var jsHeapSizeLimit = memoryEntry.jsHeapSizeLimit, totalJSHeapSize = memoryEntry.totalJSHeapSize, usedJSHeapSize = memoryEntry.usedJSHeapSize; | ||
var time = getAbsoluteTime(Date.now()); | ||
// we can't use getAbsoluteTime because it adds the event time to | ||
// window.performance.timeOrigin, so we get right now instead. | ||
var time = new Date().getTime() / 1000; | ||
return { | ||
@@ -189,0 +191,0 @@ type: 'memory', |
{ | ||
"name": "@sentry/replay", | ||
"version": "0.2.0-8", | ||
"version": "0.2.0-9", | ||
"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
149232
1646