backtrace-node
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -143,4 +143,5 @@ "use strict"; | ||
var backtraceReport = backtraceClient.createReport(''); | ||
backtraceReport.send = function () { | ||
backtraceReport.send = function (callback) { | ||
backtraceClient.sendReport(backtraceReport); | ||
callback(); | ||
}; | ||
@@ -147,0 +148,0 @@ backtraceReport.sendSync = function () { |
@@ -24,3 +24,3 @@ import { IBacktraceData } from './backtraceData'; | ||
*/ | ||
send: () => void | undefined; | ||
send: (callback: () => void) => void | undefined; | ||
/** | ||
@@ -27,0 +27,0 @@ * @deprecated |
{ | ||
"name": "backtrace-node", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Backtrace error reporting tool", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -91,4 +91,5 @@ import { BacktraceClient } from './backtraceClient'; | ||
const backtraceReport = backtraceClient.createReport(''); | ||
backtraceReport.send = () => { | ||
backtraceReport.send = (callback: () => void) => { | ||
backtraceClient.sendReport(backtraceReport); | ||
callback(); | ||
}; | ||
@@ -95,0 +96,0 @@ backtraceReport.sendSync = () => { |
@@ -38,3 +38,3 @@ // tslint:disable-next-line: no-var-requires | ||
*/ | ||
public send!: () => void | undefined; | ||
public send!: (callback: () => void) => void | undefined; | ||
@@ -41,0 +41,0 @@ /** |
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
156131
2980