invirtu-javascript-api
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "invirtu-javascript-api", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "A library that makes it easy to connect to BingeWave's API.", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js", |
@@ -130,3 +130,2 @@ import axios from "axios"; | ||
console.log("File", file); | ||
//Chunk Size- 10 MB | ||
@@ -148,3 +147,3 @@ const chunkSize = 10000000; | ||
const chunk = file.slice(start, start + chunkSize + 1) | ||
const chunk = file.slice(start, start + chunkSize) | ||
@@ -159,3 +158,3 @@ const form = new FormData(); | ||
form.append('file', chunkArray, upload_id); | ||
form.append('file', buffered, upload_id); | ||
form.append('chunked', 1); | ||
@@ -162,0 +161,0 @@ form.append('chunked_id', chunk_id); |
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
3269242
52397