opinionbee-api
Advanced tools
Comparing version 1.0.3 to 1.1.0
@@ -62,2 +62,3 @@ const callEndpoint = require('./lib/callEndpoint'); | ||
@param {number} [filters.limit] Return a limited number of polls (0 < limit < 500) | ||
@param {string} [filters.pollType] Return only polls of the given type | ||
@returns {Promise<object[]>} Array of companies | ||
@@ -64,0 +65,0 @@ */ |
@@ -11,3 +11,4 @@ const http = require('http'); | ||
company: joi.string().min(1), | ||
limit: joi.number().integer().min(1).max(500) | ||
limit: joi.number().integer().min(1).max(500), | ||
pollType: joi.string() | ||
}; | ||
@@ -26,3 +27,4 @@ | ||
company: filters.company, | ||
limit: filters.limit | ||
limit: filters.limit, | ||
code: filters.pollType | ||
}; | ||
@@ -29,0 +31,0 @@ |
{ | ||
"name": "opinionbee-api", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"description": "A client library for the opinionbee.uk API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
11188
10
156