invirtu-javascript-api
Advanced tools
Comparing version 0.2.6 to 0.2.7
{ | ||
"name": "invirtu-javascript-api", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"description": "A library that makes it easy to connect to BingeWave's API.", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js", |
@@ -139,3 +139,4 @@ import axios from "axios"; | ||
let formHeaders = {}; | ||
for (let start = 0; start < file.size; start += chunkSize) { | ||
@@ -160,6 +161,4 @@ console.log("Start", start); | ||
form.append('totalSize', totalSize); | ||
let formHeaders = {}; | ||
if(form.getHeaders){ | ||
if(!formHeaders && form.getHeaders){ | ||
formHeaders = form.getHeaders(); | ||
@@ -173,2 +172,5 @@ } | ||
console.log("Placed Headers", formHeaders); | ||
console.log("New Headers", form.getHeaders) | ||
// @ts-ignore | ||
@@ -175,0 +177,0 @@ config.headers = headers; |
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
3269787
52401