liteapi-node-sdk
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -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", |
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
135900