Comparing version 1.0.3 to 1.0.4
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
"use strict"; | ||
@@ -6,34 +6,29 @@ Object.defineProperty(exports, "__esModule", { | ||
}); | ||
exports.searchFlights = exports.getAirlineIcon = exports.getAirlines = exports.getLocationDump = exports.getLocationById = exports.searchLocationsByBox = exports.searchLocationsByRadius = exports.searchLocationsByTerm = undefined; | ||
exports.searchFlights = exports.getAirlineIcon = exports.getAirlines = exports.getLocationDump = exports.getLocationById = exports.searchLocationsByBox = exports.searchLocationsByRadius = exports.searchLocationsByTerm = void 0; | ||
var _Object$freeze, _Object$freeze2; | ||
var _axios = _interopRequireDefault(require("axios")); | ||
var _axios = require('axios'); | ||
var _qs = _interopRequireDefault(require("qs")); | ||
var _axios2 = _interopRequireDefault(_axios); | ||
var _flightSearchParameterBuilder = _interopRequireDefault(require("./flightSearchParameterBuilder")); | ||
var _qs = require('qs'); | ||
var _constants = require("./constants"); | ||
var _qs2 = _interopRequireDefault(_qs); | ||
var _Object$freeze, _Object$freeze2; | ||
var _flightSearchParameterBuilder = require('./flightSearchParameterBuilder'); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
var _flightSearchParameterBuilder2 = _interopRequireDefault(_flightSearchParameterBuilder); | ||
var _constants = require('./constants'); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
var locationTypeValues = Object.freeze((_Object$freeze = {}, _defineProperty(_Object$freeze, _constants.LOCATION_TYPES.AIRPORT, 'airport'), _defineProperty(_Object$freeze, _constants.LOCATION_TYPES.AUTONOMOUS_TERRITORY, 'autonomous_territory'), _defineProperty(_Object$freeze, _constants.LOCATION_TYPES.CITY, 'city'), _defineProperty(_Object$freeze, _constants.LOCATION_TYPES.COUNTRY, 'country'), _defineProperty(_Object$freeze, _constants.LOCATION_TYPES.SUBDIVISION, 'subdivision'), _Object$freeze)); | ||
var locationSortTypeValues = Object.freeze((_Object$freeze2 = {}, _defineProperty(_Object$freeze2, _constants.LOCATION_RESULTS_SORT_TYPES.ASCENDING_NAME, 'name'), _defineProperty(_Object$freeze2, _constants.LOCATION_RESULTS_SORT_TYPES.DESCENDING_NAME, '-name'), _defineProperty(_Object$freeze2, _constants.LOCATION_RESULTS_SORT_TYPES.ASCENDING_RANK, 'rank'), _defineProperty(_Object$freeze2, _constants.LOCATION_RESULTS_SORT_TYPES.DESCENDING_RANK, '-rank'), _Object$freeze2)); | ||
var paramsSerializer = function paramsSerializer(params) { | ||
return _qs2.default.stringify(params, { arrayFormat: 'repeat' }); | ||
return _qs["default"].stringify(params, { | ||
arrayFormat: 'repeat' | ||
}); | ||
}; | ||
/* https://skypickerpublicapi.docs.apiary.io/#reference/locations/locations-collection/search-by-query */ | ||
var searchLocationsByTerm = function searchLocationsByTerm(_ref) { | ||
@@ -43,5 +38,5 @@ var term = _ref.term, | ||
_ref$locationTypes = _ref.locationTypes, | ||
locationTypes = _ref$locationTypes === undefined ? [] : _ref$locationTypes, | ||
locationTypes = _ref$locationTypes === void 0 ? [] : _ref$locationTypes, | ||
limit = _ref.limit; | ||
return _axios2.default.get(_constants.SKYPICKER_BASE_API_URL + '/locations', { | ||
return _axios["default"].get("".concat(_constants.SKYPICKER_BASE_API_URL, "/locations"), { | ||
params: { | ||
@@ -60,5 +55,7 @@ term: term, | ||
}; | ||
/* https://skypickerpublicapi.docs.apiary.io/#reference/locations/locations-collection/search-by-radius */ | ||
exports.searchLocationsByTerm = searchLocationsByTerm; | ||
var searchLocationsByRadius = function searchLocationsByRadius(_ref2) { | ||
@@ -69,7 +66,7 @@ var coordinate = _ref2.coordinate, | ||
_ref2$locationTypes = _ref2.locationTypes, | ||
locationTypes = _ref2$locationTypes === undefined ? [] : _ref2$locationTypes, | ||
locationTypes = _ref2$locationTypes === void 0 ? [] : _ref2$locationTypes, | ||
limit = _ref2.limit, | ||
_ref2$sortTypes = _ref2.sortTypes, | ||
sortTypes = _ref2$sortTypes === undefined ? [] : _ref2$sortTypes; | ||
return _axios2.default.get(_constants.SKYPICKER_BASE_API_URL + '/locations', { | ||
sortTypes = _ref2$sortTypes === void 0 ? [] : _ref2$sortTypes; | ||
return _axios["default"].get("".concat(_constants.SKYPICKER_BASE_API_URL, "/locations"), { | ||
params: { | ||
@@ -94,5 +91,7 @@ type: 'radius', | ||
}; | ||
/* https://skypickerpublicapi.docs.apiary.io/#reference/locations/locations-collection/search-by-box */ | ||
exports.searchLocationsByRadius = searchLocationsByRadius; | ||
var searchLocationsByBox = function searchLocationsByBox(_ref3) { | ||
@@ -103,7 +102,7 @@ var lowCoordinate = _ref3.lowCoordinate, | ||
_ref3$locationTypes = _ref3.locationTypes, | ||
locationTypes = _ref3$locationTypes === undefined ? [] : _ref3$locationTypes, | ||
locationTypes = _ref3$locationTypes === void 0 ? [] : _ref3$locationTypes, | ||
limit = _ref3.limit, | ||
_ref3$sortTypes = _ref3.sortTypes, | ||
sortTypes = _ref3$sortTypes === undefined ? [] : _ref3$sortTypes; | ||
return _axios2.default.get(_constants.SKYPICKER_BASE_API_URL + '/locations', { | ||
sortTypes = _ref3$sortTypes === void 0 ? [] : _ref3$sortTypes; | ||
return _axios["default"].get("".concat(_constants.SKYPICKER_BASE_API_URL, "/locations"), { | ||
params: { | ||
@@ -129,10 +128,16 @@ type: 'box', | ||
}; | ||
/* https://skypickerpublicapi.docs.apiary.io/#reference/locations/locations-collection/get-by-id */ | ||
exports.searchLocationsByBox = searchLocationsByBox; | ||
var getLocationById = function getLocationById(_ref4) { | ||
var id = _ref4.id, | ||
locale = _ref4.locale; | ||
return _axios2.default.get(_constants.SKYPICKER_BASE_API_URL + '/locations', { | ||
params: { type: 'id', id: id, locale: locale } | ||
return _axios["default"].get("".concat(_constants.SKYPICKER_BASE_API_URL, "/locations"), { | ||
params: { | ||
type: 'id', | ||
id: id, | ||
locale: locale | ||
} | ||
}).then(function (response) { | ||
@@ -142,13 +147,15 @@ return response.data; | ||
}; | ||
/* https://skypickerpublicapi.docs.apiary.io/#reference/locations/locations-collection/get-dump */ | ||
exports.getLocationById = getLocationById; | ||
var getLocationDump = function getLocationDump(_ref5) { | ||
var locale = _ref5.locale, | ||
_ref5$locationTypes = _ref5.locationTypes, | ||
locationTypes = _ref5$locationTypes === undefined ? [] : _ref5$locationTypes, | ||
locationTypes = _ref5$locationTypes === void 0 ? [] : _ref5$locationTypes, | ||
limit = _ref5.limit, | ||
_ref5$sortTypes = _ref5.sortTypes, | ||
sortTypes = _ref5$sortTypes === undefined ? [] : _ref5$sortTypes; | ||
return _axios2.default.get(_constants.SKYPICKER_BASE_API_URL + '/locations', { | ||
sortTypes = _ref5$sortTypes === void 0 ? [] : _ref5$sortTypes; | ||
return _axios["default"].get("".concat(_constants.SKYPICKER_BASE_API_URL, "/locations"), { | ||
params: { | ||
@@ -170,19 +177,25 @@ type: 'dump', | ||
}; | ||
/* https://skypickerpublicapi.docs.apiary.io/#reference/airlines/get */ | ||
exports.getLocationDump = getLocationDump; | ||
var getAirlines = function getAirlines() { | ||
return _axios2.default.get(_constants.SKYPICKER_BASE_API_URL + '/airlines').then(function (response) { | ||
return _axios["default"].get("".concat(_constants.SKYPICKER_BASE_API_URL, "/airlines")).then(function (response) { | ||
return response.data; | ||
}); | ||
}; | ||
/* https://skypickerpublicapi.docs.apiary.io/#reference/airline-logos/get */ | ||
exports.getAirlines = getAirlines; | ||
var getAirlineIcon = function getAirlineIcon(airlineCode) { | ||
return _axios2.default.get('https://images.kiwi.com/airlines/64/' + airlineCode + '.png'); | ||
return _axios["default"].get("https://images.kiwi.com/airlines/64/".concat(airlineCode, ".png")); | ||
}; | ||
/* https://skypickerpublicapi.docs.apiary.io/#reference/airline-logos/get */ | ||
exports.getAirlineIcon = getAirlineIcon; | ||
var searchFlights = function searchFlights(_ref6) { | ||
@@ -205,4 +218,4 @@ var departureIdentifier = _ref6.departureIdentifier, | ||
sortType = _ref6.sortType; | ||
return _axios2.default.get(_constants.SKYPICKER_BASE_API_URL + '/flights', { | ||
params: (0, _flightSearchParameterBuilder2.default)({ | ||
return _axios["default"].get("".concat(_constants.SKYPICKER_BASE_API_URL, "/flights"), { | ||
params: (0, _flightSearchParameterBuilder["default"])({ | ||
departureIdentifier: departureIdentifier, | ||
@@ -231,9 +244,2 @@ arrivalIdentifier: arrivalIdentifier, | ||
exports.searchLocationsByTerm = searchLocationsByTerm; | ||
exports.searchLocationsByRadius = searchLocationsByRadius; | ||
exports.searchLocationsByBox = searchLocationsByBox; | ||
exports.getLocationById = getLocationById; | ||
exports.getLocationDump = getLocationDump; | ||
exports.getAirlines = getAirlines; | ||
exports.getAirlineIcon = getAirlineIcon; | ||
exports.searchFlights = searchFlights; |
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
"use strict"; | ||
@@ -6,4 +6,5 @@ Object.defineProperty(exports, "__esModule", { | ||
}); | ||
exports.AIRLINES_FILTER_TYPE = exports.FLIGHT_RESULTS_SORT_TYPES = exports.LOCATION_RESULTS_SORT_TYPES = exports.LOCATION_TYPES = exports.SKYPICKER_BASE_API_URL = void 0; | ||
var SKYPICKER_BASE_API_URL = 'https://api.skypicker.com'; | ||
exports.SKYPICKER_BASE_API_URL = SKYPICKER_BASE_API_URL; | ||
var LOCATION_TYPES = Object.freeze({ | ||
@@ -17,3 +18,3 @@ AIRPORT: 'AIRPORT', | ||
}); | ||
exports.LOCATION_TYPES = LOCATION_TYPES; | ||
var LOCATION_RESULTS_SORT_TYPES = Object.freeze({ | ||
@@ -25,3 +26,3 @@ ASCENDING_NAME: 'ASCENDING_NAME', | ||
}); | ||
exports.LOCATION_RESULTS_SORT_TYPES = LOCATION_RESULTS_SORT_TYPES; | ||
var FLIGHT_RESULTS_SORT_TYPES = Object.freeze({ | ||
@@ -33,3 +34,3 @@ DATE: 'DATE', | ||
}); | ||
exports.FLIGHT_RESULTS_SORT_TYPES = FLIGHT_RESULTS_SORT_TYPES; | ||
var AIRLINES_FILTER_TYPE = Object.freeze({ | ||
@@ -39,7 +40,2 @@ EXCLUDE: 'EXCLUDE', | ||
}); | ||
exports.SKYPICKER_BASE_API_URL = SKYPICKER_BASE_API_URL; | ||
exports.LOCATION_TYPES = LOCATION_TYPES; | ||
exports.LOCATION_RESULTS_SORT_TYPES = LOCATION_RESULTS_SORT_TYPES; | ||
exports.FLIGHT_RESULTS_SORT_TYPES = FLIGHT_RESULTS_SORT_TYPES; | ||
exports.AIRLINES_FILTER_TYPE = AIRLINES_FILTER_TYPE; |
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
"use strict"; | ||
@@ -6,19 +6,16 @@ Object.defineProperty(exports, "__esModule", { | ||
}); | ||
exports["default"] = void 0; | ||
var _Object$freeze; | ||
var _momentTimezone = _interopRequireDefault(require("moment-timezone")); | ||
var _momentTimezone = require('moment-timezone'); | ||
var _constants = require("./constants"); | ||
var _momentTimezone2 = _interopRequireDefault(_momentTimezone); | ||
var _Object$freeze; | ||
var _constants = require('./constants'); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
/* https://momentjs.com/docs/#/displaying/format/ */ | ||
var DATE_FORMAT = 'DD/MM/YYYY'; | ||
var flightSortTypeValues = Object.freeze((_Object$freeze = {}, _defineProperty(_Object$freeze, _constants.FLIGHT_RESULTS_SORT_TYPES.DATE, 'date'), _defineProperty(_Object$freeze, _constants.FLIGHT_RESULTS_SORT_TYPES.DURATION, 'duration'), _defineProperty(_Object$freeze, _constants.FLIGHT_RESULTS_SORT_TYPES.PRICE, 'price'), _defineProperty(_Object$freeze, _constants.FLIGHT_RESULTS_SORT_TYPES.QUALITY, 'quality'), _Object$freeze)); | ||
@@ -32,3 +29,3 @@ | ||
if (range.days.start) { | ||
var startDate = (0, _momentTimezone2.default)(range.days.start, _momentTimezone2.default.ISO_8601); | ||
var startDate = (0, _momentTimezone["default"])(range.days.start, _momentTimezone["default"].ISO_8601); | ||
formattedRange.startDate = startDate.format(DATE_FORMAT); | ||
@@ -38,3 +35,3 @@ } | ||
if (range.days.end) { | ||
var endDate = (0, _momentTimezone2.default)(range.days.end, _momentTimezone2.default.ISO_8601); | ||
var endDate = (0, _momentTimezone["default"])(range.days.end, _momentTimezone["default"].ISO_8601); | ||
formattedRange.endDate = endDate.format(DATE_FORMAT); | ||
@@ -75,3 +72,2 @@ } | ||
sortType = _ref.sortType; | ||
var parameters = { | ||
@@ -89,3 +85,2 @@ flyFrom: departureIdentifier, | ||
var formattedDepartureDateTimeRange = getFormattedDateTimeRange(departureDateTimeRange); | ||
parameters.dateFrom = formattedDepartureDateTimeRange.startDate; | ||
@@ -98,3 +93,3 @@ parameters.dateTo = formattedDepartureDateTimeRange.endDate; | ||
if (returnDepartureDateTimeRange) { | ||
var formattedReturnDepartureDateTimeRange = getFormattedDateTimeRange(returnDepartureDateTimeRange); | ||
var formattedReturnDepartureDateTimeRange = getFormattedDateTimeRange(returnDepartureDateTimeRange); // eslint-disable-line max-len | ||
@@ -140,3 +135,2 @@ parameters.returnFrom = formattedReturnDepartureDateTimeRange.startDate; | ||
parameters.selectedAirlines = airlinesFilter.airlines.join(','); | ||
parameters.selectedAirlinesExclude = airlinesFilter.type === _constants.AIRLINES_FILTER_TYPE.EXCLUDE; | ||
@@ -149,2 +143,3 @@ } | ||
exports.default = buildFlightSearchParameters; | ||
var _default = buildFlightSearchParameters; | ||
exports["default"] = _default; |
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
"use strict"; | ||
@@ -6,19 +6,77 @@ Object.defineProperty(exports, "__esModule", { | ||
}); | ||
exports.searchFlights = exports.getAirlineIcon = exports.getAirlines = exports.getLocationDump = exports.getLocationById = exports.searchLocationsByBox = exports.searchLocationsByRadius = exports.searchLocationsByTerm = exports.AIRLINES_FILTER_TYPE = exports.FLIGHT_RESULTS_SORT_TYPES = exports.LOCATION_RESULTS_SORT_TYPES = exports.LOCATION_TYPES = undefined; | ||
Object.defineProperty(exports, "LOCATION_TYPES", { | ||
enumerable: true, | ||
get: function get() { | ||
return _constants.LOCATION_TYPES; | ||
} | ||
}); | ||
Object.defineProperty(exports, "LOCATION_RESULTS_SORT_TYPES", { | ||
enumerable: true, | ||
get: function get() { | ||
return _constants.LOCATION_RESULTS_SORT_TYPES; | ||
} | ||
}); | ||
Object.defineProperty(exports, "FLIGHT_RESULTS_SORT_TYPES", { | ||
enumerable: true, | ||
get: function get() { | ||
return _constants.FLIGHT_RESULTS_SORT_TYPES; | ||
} | ||
}); | ||
Object.defineProperty(exports, "AIRLINES_FILTER_TYPE", { | ||
enumerable: true, | ||
get: function get() { | ||
return _constants.AIRLINES_FILTER_TYPE; | ||
} | ||
}); | ||
Object.defineProperty(exports, "searchLocationsByTerm", { | ||
enumerable: true, | ||
get: function get() { | ||
return _client.searchLocationsByTerm; | ||
} | ||
}); | ||
Object.defineProperty(exports, "searchLocationsByRadius", { | ||
enumerable: true, | ||
get: function get() { | ||
return _client.searchLocationsByRadius; | ||
} | ||
}); | ||
Object.defineProperty(exports, "searchLocationsByBox", { | ||
enumerable: true, | ||
get: function get() { | ||
return _client.searchLocationsByBox; | ||
} | ||
}); | ||
Object.defineProperty(exports, "getLocationById", { | ||
enumerable: true, | ||
get: function get() { | ||
return _client.getLocationById; | ||
} | ||
}); | ||
Object.defineProperty(exports, "getLocationDump", { | ||
enumerable: true, | ||
get: function get() { | ||
return _client.getLocationDump; | ||
} | ||
}); | ||
Object.defineProperty(exports, "getAirlines", { | ||
enumerable: true, | ||
get: function get() { | ||
return _client.getAirlines; | ||
} | ||
}); | ||
Object.defineProperty(exports, "getAirlineIcon", { | ||
enumerable: true, | ||
get: function get() { | ||
return _client.getAirlineIcon; | ||
} | ||
}); | ||
Object.defineProperty(exports, "searchFlights", { | ||
enumerable: true, | ||
get: function get() { | ||
return _client.searchFlights; | ||
} | ||
}); | ||
var _constants = require('./constants'); | ||
var _constants = require("./constants"); | ||
var _client = require('./client'); | ||
exports.LOCATION_TYPES = _constants.LOCATION_TYPES; | ||
exports.LOCATION_RESULTS_SORT_TYPES = _constants.LOCATION_RESULTS_SORT_TYPES; | ||
exports.FLIGHT_RESULTS_SORT_TYPES = _constants.FLIGHT_RESULTS_SORT_TYPES; | ||
exports.AIRLINES_FILTER_TYPE = _constants.AIRLINES_FILTER_TYPE; | ||
exports.searchLocationsByTerm = _client.searchLocationsByTerm; | ||
exports.searchLocationsByRadius = _client.searchLocationsByRadius; | ||
exports.searchLocationsByBox = _client.searchLocationsByBox; | ||
exports.getLocationById = _client.getLocationById; | ||
exports.getLocationDump = _client.getLocationDump; | ||
exports.getAirlines = _client.getAirlines; | ||
exports.getAirlineIcon = _client.getAirlineIcon; | ||
exports.searchFlights = _client.searchFlights; | ||
var _client = require("./client"); |
{ | ||
"name": "skypicker", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Client to connect to the Skypicker API", | ||
"main": "build/index.js", | ||
"scripts": { | ||
"codecov": "codecov", | ||
"commitmsg": "commitlint -e $GIT_PARAMS", | ||
"compile": "babel -d build/ src/ --copy-files --ignore node_modules,*.test.js,setupTest.js", | ||
"lint": "eslint --ext .js .", | ||
"test": "jest --coverage", | ||
"codecov": "npx codecov", | ||
"commitmsg": "npx commitlint -e $GIT_PARAMS", | ||
"compile": "npx babel -d build/ src/ --copy-files --ignore node_modules,*.test.js,setupTest.js", | ||
"lint": "npx eslint --ext .js .", | ||
"test": "npx jest", | ||
"prepublishOnly": "npm run compile", | ||
"semantic-commit": "commit", | ||
"semantic-release": "semantic-release", | ||
"travis-deploy-once": "travis-deploy-once" | ||
"semantic-commit": "npx commit", | ||
"semantic-release": "npx semantic-release", | ||
"travis-deploy-once": "npx travis-deploy-once" | ||
}, | ||
@@ -33,29 +33,31 @@ "repository": { | ||
"homepage": "https://github.com/jaebradley/skypicker-client#readme", | ||
"jest": { | ||
"testEnvironment": "node" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^6.0.2", | ||
"@commitlint/config-angular": "^6.0.2", | ||
"@commitlint/prompt": "^6.0.2", | ||
"@commitlint/prompt-cli": "^6.0.2", | ||
"@babel/cli": "^7.8.4", | ||
"@babel/core": "^7.8.4", | ||
"@babel/plugin-transform-runtime": "^7.8.3", | ||
"@babel/preset-env": "^7.8.4", | ||
"@commitlint/cli": "^8.3.5", | ||
"@commitlint/config-angular": "^8.3.4", | ||
"@commitlint/prompt": "^8.3.5", | ||
"@commitlint/prompt-cli": "^8.3.5", | ||
"axios-debug": "0.0.4", | ||
"babel-cli": "^6.26.0", | ||
"babel-preset-es2015": "^6.24.1", | ||
"babel-preset-stage-0": "^6.24.1", | ||
"codecov": "^3.0.0", | ||
"dotenv": "^4.0.0", | ||
"eslint": "^4.12.0", | ||
"eslint-config-airbnb-base": "^12.1.0", | ||
"eslint-plugin-import": "^2.8.0", | ||
"husky": "^0.14.3", | ||
"jest": "^22.0.3", | ||
"semantic-release": "^12.4.1", | ||
"travis-deploy-once": "^4.3.4" | ||
"babel-jest": "^25.1.0", | ||
"bufferutil": "^4.0.1", | ||
"canvas": "^2.6.1", | ||
"codecov": "^3.6.5", | ||
"dotenv": "^8.2.0", | ||
"eslint": "^6.8.0", | ||
"eslint-config-airbnb-base": "^14.0.0", | ||
"eslint-plugin-import": "^2.20.1", | ||
"husky": "^4.2.3", | ||
"jest": "^25.1.0", | ||
"semantic-release": "^17.0.3", | ||
"travis-deploy-once": "^5.0.11", | ||
"utf-8-validate": "^5.0.2" | ||
}, | ||
"dependencies": { | ||
"axios": "^0.17.1", | ||
"moment-timezone": "^0.5.14", | ||
"qs": "^6.5.1" | ||
"axios": "^0.19.2", | ||
"moment-timezone": "^0.5.27", | ||
"qs": "^6.9.1" | ||
} | ||
} |
# skypicker-client | ||
[![Build Status](https://travis-ci.org/jaebradley/skypicker-client.svg?branch=master)](https://travis-ci.org/jaebradley/skypicker-client) | ||
![Skypicker Client](https://github.com/jaebradley/skypicker-client/workflows/Skypicker%20Client/badge.svg) | ||
[![npm](https://img.shields.io/npm/v/skypicker.svg)](https://www.npmjs.com/package/skypicker) | ||
@@ -193,2 +193,2 @@ [![npm](https://img.shields.io/npm/dt/skypicker.svg)](https://www.npmjs.com/package/skypicker) | ||
* `sortType: (optional; FLIGHT_RESULTS_SORT_TYPES)` - Specifies whether to sort results by date, duration, price, or quality | ||
* [`REST` API documentation](https://skypickerpublicapi.docs.apiary.io/#reference/flights/flights/get) | ||
* [`REST` API documentation](https://skypickerpublicapi.docs.apiary.io/#reference/flights/flights/get) |
Sorry, the diff of this file is not supported yet
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
32428
15
437
194
22
+ Addedaxios@0.19.2(transitive)
+ Addedfollow-redirects@1.5.10(transitive)
- Removedaxios@0.17.1(transitive)
- Removedfollow-redirects@1.15.9(transitive)
- Removedis-buffer@1.1.6(transitive)
Updatedaxios@^0.19.2
Updatedmoment-timezone@^0.5.27
Updatedqs@^6.9.1