invirtu-javascript-api
Advanced tools
Comparing version 0.2.7 to 0.2.8
{ | ||
"name": "invirtu-javascript-api", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"description": "A library that makes it easy to connect to BingeWave's API.", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js", |
@@ -135,7 +135,5 @@ import axios from "axios"; | ||
let upload_id = this.makeid(10); | ||
let final_response = null; | ||
let formHeaders = {}; | ||
let formHeaders = null; | ||
@@ -157,2 +155,4 @@ for (let start = 0; start < file.size; start += chunkSize) { | ||
let upload_id = this.makeid(10); | ||
form.append('file', buffered, upload_id); | ||
@@ -163,3 +163,3 @@ form.append('chunked', 1); | ||
if(!formHeaders && form.getHeaders){ | ||
if(form.getHeaders){ | ||
formHeaders = form.getHeaders(); | ||
@@ -166,0 +166,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
3269719