airbrake-mini-client
Advanced tools
Comparing version 0.0.7 to 0.0.8
{ | ||
"name": "airbrake-mini-client", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "A lightweight alternative to airbrake-js.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -7,3 +7,3 @@ var objectAssign = require('object-assign') | ||
name: 'airbrake-mini-client', | ||
version: '0.0.7', | ||
version: '0.0.8', | ||
url: 'https://github.com/tes/airbrake-mini-client' | ||
@@ -10,0 +10,0 @@ } |
@@ -24,3 +24,3 @@ /* eslint-env browser */ | ||
Reporter.prototype.notify = function reporterNotify (payload) { | ||
let utime = Date.now() / 1000 | ||
var utime = Date.now() / 1000 | ||
if (utime < rateLimitReset) { | ||
@@ -31,3 +31,3 @@ console.log(errors.ipRateLimited) | ||
var url = this.host + '/api/v3/projects/' + this.projectId + '/notices?key=' + this.projectKey | ||
let req = new this.win.XMLHttpRequest() | ||
var req = new this.win.XMLHttpRequest() | ||
req.open('POST', url, true) | ||
@@ -34,0 +34,0 @@ req.timeout = this.timeout |
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