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

liteapi-node-sdk

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

liteapi-node-sdk - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

4

index.js

@@ -51,4 +51,4 @@ class LiteApi {

let errors = [];
if (typeof data !== 'object' || !Array.isArray(data.rateIds) || data.rateIds.length == 0) {
errors.push("The rate IDs are required");
if (typeof data !== 'object' || typeof data.offerId !== 'string' || !data.offerId) {
errors.push("The offerId is required");
}

@@ -55,0 +55,0 @@ if (errors.length > 0) {

{
"name": "liteapi-node-sdk",
"version": "3.0.2",
"version": "3.0.3",
"description": "Start building travel apps with liteAPI. Instantly access millions of hotels to build new or existing apps and platforms.",

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