@backtrace/node
Advanced tools
Comparing version 0.1.3 to 0.2.0
@@ -325,3 +325,3 @@ /******/ (() => { // webpackBootstrap | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const formData = this.createFormData(dataJson, attachments); | ||
const formData = attachments.length === 0 ? dataJson : this.createFormData(dataJson, attachments); | ||
return this.send(submissionUrl, formData, abortSignal); | ||
@@ -454,3 +454,3 @@ }); | ||
agent: "@backtrace/node", | ||
agentVersion: "0.1.3", | ||
agentVersion: "0.2.0", | ||
}; | ||
@@ -1126,8 +1126,8 @@ | ||
this._disposed = false; | ||
if (this._fileCapacity <= 0) { | ||
throw new Error('File capacity may not be less or equal to 0.'); | ||
} | ||
} | ||
writeLine(value) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
if (this._fileCapacity <= 0) { | ||
return this; | ||
} | ||
if (this._disposed) { | ||
@@ -1134,0 +1134,0 @@ throw new Error('This instance has been disposed.'); |
{ | ||
"name": "@backtrace/node", | ||
"version": "0.1.3", | ||
"version": "0.2.0", | ||
"description": "Backtrace-JavaScript Node.JS integration", | ||
@@ -52,3 +52,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@backtrace/sdk-core": "^0.1.0", | ||
"@backtrace/sdk-core": "^0.2.0", | ||
"form-data": "^4.0.0", | ||
@@ -55,0 +55,0 @@ "native-reg": "^1.1.1" |
Sorry, the diff of this file is not supported yet
148213
+ Added@backtrace/sdk-core@0.2.0(transitive)
- Removed@backtrace/sdk-core@0.1.0(transitive)
Updated@backtrace/sdk-core@^0.2.0