Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "fortiguard", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Custom Fortiguard simple API", | ||
@@ -5,0 +5,0 @@ "main": "fortiguard.js", |
@@ -1,2 +0,2 @@ | ||
# Node Fraudguard Api | ||
# Node Fortiguard Api | ||
@@ -11,3 +11,3 @@ This is a very easy implementation in node to check for malicious IPs and domains in [fortiguard](https://fortiguard.com) | ||
```javascript | ||
const fraudguard = require('fortiguard'); | ||
const fortiguard = require('fortiguard'); | ||
@@ -18,3 +18,3 @@ | ||
ip = "123.123.123.123"; | ||
fraudguard.checkIP(ip).then(function(result){ | ||
fortiguard.checkIP(ip).then(function(result){ | ||
console.log(result); | ||
@@ -26,3 +26,3 @@ }, function(err) { | ||
domain = "bandroxoma.com" | ||
fraudguard.checkDomain(domain).then(function(result){ | ||
fortiguard.checkDomain(domain).then(function(result){ | ||
console.log(result); | ||
@@ -29,0 +29,0 @@ }, function(err) { |