@bluelilo/search-utils
Advanced tools
Comparing version 1.4.0 to 2.0.0
@@ -30,4 +30,2 @@ "use strict"; | ||
departureAirport, | ||
hotelId, | ||
destination, | ||
departureDate, | ||
@@ -43,10 +41,2 @@ duration, | ||
if (!destination && !hotelId) { | ||
throw new ValidationError('missing destination or hotel id'); | ||
} | ||
if (destination && hotelId) { | ||
throw new ValidationError('destination and hotel id are mutually exclusive'); | ||
} | ||
if (!departureDate) { | ||
@@ -90,4 +80,2 @@ throw new ValidationError('missing departure date'); | ||
departureAirport, | ||
hotelId, | ||
destination, | ||
departureDate, | ||
@@ -94,0 +82,0 @@ duration: Number(duration), |
{ | ||
"name": "@bluelilo/search-utils", | ||
"version": "1.4.0", | ||
"version": "2.0.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
10749
311