company-finder
Advanced tools
Comparing version 0.4.0 to 1.0.0
@@ -15,6 +15,6 @@ var https = require('https'); | ||
company.prototype.find = function(company, fn) { | ||
company.prototype.find = function(query, fn) { | ||
// There should be an email | ||
if (!company) { | ||
if (!query) { | ||
this.sendBack('Provide the company to find.', null, fn); | ||
@@ -27,3 +27,3 @@ return; | ||
hostname: 'autocomplete.clearbit.com/v1', | ||
path: '/companies/suggest?query='+vericationlevel, | ||
path: '/companies/suggest?query='+query, | ||
method: 'GET' | ||
@@ -30,0 +30,0 @@ }; |
{ | ||
"name": "company-finder", | ||
"version": "0.4.0", | ||
"version": "1.0.0", | ||
"description": "A module for find company URL using the ClearBit API.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2
3519