@mapbox/mapbox-sdk
Advanced tools
Comparing version 0.16.0 to 0.16.1
{ | ||
"name": "@mapbox/mapbox-sdk", | ||
"version": "0.16.0", | ||
"version": "0.16.1", | ||
"description": "JS SDK for accessing Mapbox APIs", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -37,2 +37,3 @@ 'use strict'; | ||
permanent: true, | ||
session_token: 'abc123', | ||
@@ -64,3 +65,4 @@ // structured input parameters will be ignored in normal mode | ||
worldview: 'us', | ||
permanent: 'true' | ||
permanent: 'true', | ||
session_token: 'abc123' | ||
} | ||
@@ -81,2 +83,3 @@ }); | ||
worldview: 'us', | ||
session_token: 'abc123', | ||
@@ -105,2 +108,3 @@ // structured input parameters will be picked | ||
worldview: 'us', | ||
session_token: 'abc123', | ||
@@ -147,3 +151,4 @@ address_line1: '12 main', | ||
worldview: 'us', | ||
permanent: true | ||
permanent: true, | ||
session_token: 'abc123' | ||
}); | ||
@@ -161,3 +166,4 @@ expect(tu.requestConfig(geocoding)).toEqual({ | ||
worldview: 'us', | ||
permanent: 'true' | ||
permanent: 'true', | ||
session_token: 'abc123' | ||
} | ||
@@ -164,0 +170,0 @@ }); |
@@ -40,3 +40,4 @@ 'use strict'; | ||
fuzzyMatch: true, | ||
worldview: 'us' | ||
worldview: 'us', | ||
session_token: 'abc123' | ||
}); | ||
@@ -60,3 +61,4 @@ expect(tu.requestConfig(geocoding)).toEqual({ | ||
fuzzyMatch: 'true', | ||
worldview: 'us' | ||
worldview: 'us', | ||
session_token: 'abc123' | ||
} | ||
@@ -94,3 +96,4 @@ }); | ||
routing: true, | ||
worldview: 'us' | ||
worldview: 'us', | ||
session_token: 'abc123' | ||
}); | ||
@@ -112,3 +115,4 @@ expect(tu.requestConfig(geocoding)).toEqual({ | ||
routing: 'true', | ||
worldview: 'us' | ||
worldview: 'us', | ||
session_token: 'abc123' | ||
} | ||
@@ -115,0 +119,0 @@ }); |
@@ -61,2 +61,3 @@ 'use strict'; | ||
* @param {String} [config.worldview="us"] - Filter results to geographic features whose characteristics are defined differently by audiences belonging to various regional, cultural, or political groups. | ||
* @param {String} [config.session_token] - A unique session identifier generated by the client. | ||
* @return {MapiRequest} | ||
@@ -133,2 +134,3 @@ * | ||
permanent: v.boolean, | ||
session_token: v.string, | ||
@@ -173,3 +175,4 @@ // structured input fields | ||
'autocomplete', | ||
'permanent' | ||
'permanent', | ||
'session_token' | ||
]) | ||
@@ -204,2 +207,3 @@ ) | ||
* @param {String} [config.worldview="us"] - Filter results to geographic features whose characteristics are defined differently by audiences belonging to various regional, cultural, or political groups. | ||
* @param {String} [config.session_token] - A unique session identifier generated by the client. | ||
* @return {MapiRequest} | ||
@@ -227,3 +231,4 @@ * | ||
worldview: v.string, | ||
permanent: v.boolean | ||
permanent: v.boolean, | ||
session_token: v.string | ||
})(config); | ||
@@ -241,3 +246,4 @@ | ||
'worldview', | ||
'permanent' | ||
'permanent', | ||
'session_token' | ||
]) | ||
@@ -244,0 +250,0 @@ ) |
@@ -51,2 +51,3 @@ 'use strict'; | ||
* @param {String} [config.worldview="us"] - Filter results to geographic features whose characteristics are defined differently by audiences belonging to various regional, cultural, or political groups. | ||
* @param {String} [config.session_token] - A unique session identifier generated by the client. | ||
* @return {MapiRequest} | ||
@@ -108,3 +109,4 @@ * | ||
fuzzyMatch: v.boolean, | ||
worldview: v.string | ||
worldview: v.string, | ||
session_token: v.string | ||
})(config); | ||
@@ -126,3 +128,4 @@ | ||
'fuzzyMatch', | ||
'worldview' | ||
'worldview', | ||
'session_token' | ||
]) | ||
@@ -159,2 +162,3 @@ ) | ||
* @param {String} [config.worldview="us"] - Filter results to geographic features whose characteristics are defined differently by audiences belonging to various regional, cultural, or political groups. | ||
* @param {String} [config.session_token] - A unique session identifier generated by the client. | ||
* @return {MapiRequest} | ||
@@ -183,3 +187,4 @@ * | ||
routing: v.boolean, | ||
worldview: v.string | ||
worldview: v.string, | ||
session_token: v.string | ||
})(config); | ||
@@ -200,3 +205,4 @@ | ||
'routing', | ||
'worldview' | ||
'worldview', | ||
'session_token' | ||
]) | ||
@@ -203,0 +209,0 @@ ) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
576708
15717