electron-log
Advanced tools
Comparing version 5.0.0-beta.4 to 5.0.0-beta.5
{ | ||
"name": "electron-log", | ||
"version": "5.0.0-beta.4", | ||
"version": "5.0.0-beta.5", | ||
"description": "Just a simple logging module for your Electron application", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -34,3 +34,3 @@ 'use strict'; | ||
const createIssue = this.createIssue; | ||
if (onError({ error, versions, createIssue }) === false) { | ||
if (onError({ createIssue, error, processType, versions }) === false) { | ||
return; | ||
@@ -37,0 +37,0 @@ } |
@@ -413,5 +413,6 @@ import { RequestOptions } from 'http'; | ||
onError?(options: { | ||
createIssue: (url: string, data: ReportData | any) => void, | ||
error: Error, | ||
processType: 'browser' | 'renderer', | ||
versions: { app: string; electron: string; os: string }, | ||
createIssue: (url: string, data: ReportData | any) => void, | ||
}): void; | ||
@@ -418,0 +419,0 @@ } |
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
108062
3314