invirtu-javascript-api
Advanced tools
Comparing version 0.3.5 to 0.3.6
{ | ||
"name": "invirtu-javascript-api", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"description": "A library that makes it easy to connect to BingeWave's API.", | ||
@@ -43,3 +43,3 @@ "main": "dist/cjs/index.js", | ||
}, | ||
"homepage": "https://github.com/invirtu-libraries/Invirtu-Javascript-API#readme" | ||
"homepage": "https://invirtu-libraries.github.io/Invirtu-Javascript-API/" | ||
} |
@@ -8,13 +8,6 @@ import axios from "axios"; | ||
let fetch = globalThis?.fetch; | ||
const blobFromSync = (...args : any) => // @ts-ignore | ||
import('node-fetch').then(({ blobFromSync }) => blobFromSync(...args)); | ||
let blobFromSync = {}; | ||
if (!fetch && process?.versions?.node) { | ||
blobFromSync = (...args : any) => // @ts-ignore | ||
import('node-fetch').then(({ blobFromSync }) => blobFromSync(...args)); | ||
} | ||
class Requests { | ||
@@ -123,3 +116,2 @@ | ||
// @ts-ignore | ||
const file = await blobFromSync(file_location); | ||
@@ -146,3 +138,2 @@ | ||
// @ts-ignore | ||
let buffered = Buffer.from(chunkArray); | ||
@@ -149,0 +140,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
3268053
52354