natewatson999 / node-virustotal

VirusTotal API for Node JS
MIT License
47 stars 13 forks source link

Can't use v3 version #13

Closed Bruno-Marley closed 4 years ago

Bruno-Marley commented 4 years ago

When I install the package it installs version 3.19 but when I put a "." in front of the constant nvt he gives me other options, here's a print: https://imgur.com/s3yhgMc and when I execute the code this gives an error:

(node:6168) UnhandledPromiseRejectionWarning: TypeError: nvt.makeAPI is not a function

ludovicoloreti commented 4 years ago

up

natewatson999 commented 4 years ago

Sorry for the delay. I'm investigating the issue.

natewatson999 commented 4 years ago

I think I found the problem. Something went wrong with the package file. It's pointing to the wrong file. I'm fixing it right now.

natewatson999 commented 4 years ago

This has been fixed as of 3.22.0 . Thank you for bringing this issue to me.