Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

opinionbee-api

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opinionbee-api - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

CHANGELOG.md

1

index.js

@@ -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 @@ */

6

lib/polls.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc