@mapbox/mapbox-sdk
Advanced tools
Comparing version 0.15.1 to 0.15.2
{ | ||
"name": "@mapbox/mapbox-sdk", | ||
"version": "0.15.1", | ||
"version": "0.15.2", | ||
"description": "JS SDK for accessing Mapbox APIs", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -50,2 +50,8 @@ 'use strict'; | ||
* @param {number} [config.auxiliary_consumption] - Optional parameter to define the measure of the continuous power draw of the auxiliary systems in watts (E.G heating or AC). | ||
* @param {number} [config.maxHeight=1.6] - Optional parameter to define the max vehicle height in meters. | ||
* @param {number} [config.maxWidth=1.9] - Optional parameter to define the max vehicle width in meters. | ||
* @param {number} [config.maxWeight=2.5] - Optional parameter to define the max vehicle weight in metric tons. | ||
* @param {String} [config.notifications="all"] - Returns notification metadata associated with the route leg of the route object. | ||
* @param {String} [config.departAt] - Optional parameter to define the departure time, formatted as a timestamp in ISO-8601 format in the local time at the route origin. | ||
* @param {String} [config.arriveBy] - Optional parameter to define the desired arrival time, formatted as a timestamp in ISO-8601 format in the local time at the route destination. | ||
* @return {MapiRequest} | ||
@@ -123,3 +129,9 @@ * | ||
ev_min_charge_at_charging_station: v.number, | ||
auxiliary_consumption: v.number | ||
auxiliary_consumption: v.number, | ||
maxHeight: v.number, | ||
maxWidth: v.number, | ||
maxWeight: v.number, | ||
notifications: v.string, | ||
departAt: v.string, | ||
arriveBy: v.string | ||
})(config); | ||
@@ -216,3 +228,9 @@ | ||
ev_min_charge_at_charging_station: config.ev_min_charge_at_charging_station, | ||
auxiliary_consumption: config.auxiliary_consumption | ||
auxiliary_consumption: config.auxiliary_consumption, | ||
max_height: config.maxHeight, | ||
max_width: config.maxWidth, | ||
max_weight: config.maxWeight, | ||
notifications: config.notifications, | ||
depart_at: config.departAt, | ||
arrive_by: config.arriveBy | ||
}); | ||
@@ -219,0 +237,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
574569
15670