@googlemaps/google-maps-services-js
Advanced tools
Comparing version 3.3.10 to 3.3.11
@@ -40,4 +40,5 @@ "use strict"; | ||
}, exports.defaultUrl); | ||
function directions(_a, axiosInstance = client_1.defaultAxiosInstance) { | ||
function directions(_a, axiosInstance) { | ||
var { params, method = "get", url = exports.defaultUrl, paramsSerializer = exports.defaultParamsSerializer } = _a, config = __rest(_a, ["params", "method", "url", "paramsSerializer"]); | ||
if (axiosInstance === void 0) { axiosInstance = client_1.defaultAxiosInstance; } | ||
const { optimize } = params; | ||
@@ -44,0 +45,0 @@ // optimize is passed as the first of the waypoint pipe array |
@@ -39,4 +39,5 @@ "use strict"; | ||
}, exports.defaultUrl); | ||
function distancematrix(_a, axiosInstance = client_1.defaultAxiosInstance) { | ||
function distancematrix(_a, axiosInstance) { | ||
var { params, method = "get", url = exports.defaultUrl, paramsSerializer = exports.defaultParamsSerializer } = _a, config = __rest(_a, ["params", "method", "url", "paramsSerializer"]); | ||
if (axiosInstance === void 0) { axiosInstance = client_1.defaultAxiosInstance; } | ||
return axiosInstance(Object.assign({ params, | ||
@@ -43,0 +44,0 @@ method, |
@@ -37,4 +37,5 @@ "use strict"; | ||
}, exports.defaultUrl); | ||
function elevation(_a, axiosInstance = client_1.defaultAxiosInstance) { | ||
function elevation(_a, axiosInstance) { | ||
var { params, method = "get", url = exports.defaultUrl, paramsSerializer = exports.defaultParamsSerializer } = _a, config = __rest(_a, ["params", "method", "url", "paramsSerializer"]); | ||
if (axiosInstance === void 0) { axiosInstance = client_1.defaultAxiosInstance; } | ||
return axiosInstance(Object.assign({ params, | ||
@@ -41,0 +42,0 @@ method, |
@@ -37,4 +37,5 @@ "use strict"; | ||
}, exports.defaultUrl); | ||
function geocode(_a, axiosInstance = client_1.defaultAxiosInstance) { | ||
function geocode(_a, axiosInstance) { | ||
var { params, method = "get", url = exports.defaultUrl, paramsSerializer = exports.defaultParamsSerializer } = _a, config = __rest(_a, ["params", "method", "url", "paramsSerializer"]); | ||
if (axiosInstance === void 0) { axiosInstance = client_1.defaultAxiosInstance; } | ||
return axiosInstance(Object.assign({ params, | ||
@@ -41,0 +42,0 @@ method, |
@@ -54,4 +54,5 @@ "use strict"; | ||
}, exports.defaultUrl); | ||
function reverseGeocode(_a, axiosInstance = client_1.defaultAxiosInstance) { | ||
function reverseGeocode(_a, axiosInstance) { | ||
var { params, method = "get", url = exports.defaultUrl, paramsSerializer = exports.defaultParamsSerializer } = _a, config = __rest(_a, ["params", "method", "url", "paramsSerializer"]); | ||
if (axiosInstance === void 0) { axiosInstance = client_1.defaultAxiosInstance; } | ||
return axiosInstance(Object.assign({ params, | ||
@@ -58,0 +59,0 @@ method, |
@@ -68,4 +68,5 @@ "use strict"; | ||
exports.defaultUrl = "https://www.googleapis.com/geolocation/v1/geolocate"; | ||
function geolocate(_a, axiosInstance = client_1.defaultAxiosInstance) { | ||
function geolocate(_a, axiosInstance) { | ||
var { params, method = "post", url = exports.defaultUrl } = _a, config = __rest(_a, ["params", "method", "url"]); | ||
if (axiosInstance === void 0) { axiosInstance = client_1.defaultAxiosInstance; } | ||
return axiosInstance(Object.assign({ params, | ||
@@ -72,0 +73,0 @@ method, |
@@ -19,3 +19,7 @@ "use strict"; | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -22,0 +26,0 @@ if (k2 === undefined) k2 = k; |
@@ -64,4 +64,5 @@ "use strict"; | ||
}, exports.defaultUrl); | ||
function placeAutocomplete(_a, axiosInstance = client_1.defaultAxiosInstance) { | ||
function placeAutocomplete(_a, axiosInstance) { | ||
var { params, method = "get", url = exports.defaultUrl, paramsSerializer = exports.defaultParamsSerializer } = _a, config = __rest(_a, ["params", "method", "url", "paramsSerializer"]); | ||
if (axiosInstance === void 0) { axiosInstance = client_1.defaultAxiosInstance; } | ||
return axiosInstance(Object.assign({ params, | ||
@@ -68,0 +69,0 @@ method, |
@@ -34,4 +34,5 @@ "use strict"; | ||
exports.defaultParamsSerializer = (0, serialize_1.serializer)({}, exports.defaultUrl, { arrayFormat: "comma" }); | ||
function placeDetails(_a, axiosInstance = client_1.defaultAxiosInstance) { | ||
function placeDetails(_a, axiosInstance) { | ||
var { params, method = "get", url = exports.defaultUrl, paramsSerializer = exports.defaultParamsSerializer } = _a, config = __rest(_a, ["params", "method", "url", "paramsSerializer"]); | ||
if (axiosInstance === void 0) { axiosInstance = client_1.defaultAxiosInstance; } | ||
return axiosInstance(Object.assign({ params, | ||
@@ -38,0 +39,0 @@ method, |
@@ -34,4 +34,5 @@ "use strict"; | ||
exports.defaultParamsSerializer = (0, serialize_1.serializer)({}, exports.defaultUrl, { arrayFormat: "comma" }); | ||
function findPlaceFromText(_a, axiosInstance = client_1.defaultAxiosInstance) { | ||
function findPlaceFromText(_a, axiosInstance) { | ||
var { params, method = "get", url = exports.defaultUrl, paramsSerializer = exports.defaultParamsSerializer } = _a, config = __rest(_a, ["params", "method", "url", "paramsSerializer"]); | ||
if (axiosInstance === void 0) { axiosInstance = client_1.defaultAxiosInstance; } | ||
return axiosInstance(Object.assign({ params, | ||
@@ -38,0 +39,0 @@ method, |
@@ -32,4 +32,5 @@ "use strict"; | ||
exports.defaultUrl = "https://maps.googleapis.com/maps/api/place/photo"; | ||
function placePhoto(_a, axiosInstance = client_1.defaultAxiosInstance) { | ||
function placePhoto(_a, axiosInstance) { | ||
var { params, method = "get", url = exports.defaultUrl, responseType } = _a, config = __rest(_a, ["params", "method", "url", "responseType"]); | ||
if (axiosInstance === void 0) { axiosInstance = client_1.defaultAxiosInstance; } | ||
if (!responseType) { | ||
@@ -36,0 +37,0 @@ responseType = 'arraybuffer'; |
@@ -47,4 +47,5 @@ "use strict"; | ||
exports.defaultParamsSerializer = (0, serialize_1.serializer)({ location: serialize_1.latLngToString }, exports.defaultUrl); | ||
function placesNearby(_a, axiosInstance = client_1.defaultAxiosInstance) { | ||
function placesNearby(_a, axiosInstance) { | ||
var { params, method = "get", url = exports.defaultUrl, paramsSerializer = exports.defaultParamsSerializer } = _a, config = __rest(_a, ["params", "method", "url", "paramsSerializer"]); | ||
if (axiosInstance === void 0) { axiosInstance = client_1.defaultAxiosInstance; } | ||
return axiosInstance(Object.assign({ params, | ||
@@ -51,0 +52,0 @@ method, |
@@ -34,4 +34,5 @@ "use strict"; | ||
exports.defaultParamsSerializer = (0, serialize_1.serializer)({ location: serialize_1.latLngToString }, exports.defaultUrl); | ||
function placeQueryAutocomplete(_a, axiosInstance = client_1.defaultAxiosInstance) { | ||
function placeQueryAutocomplete(_a, axiosInstance) { | ||
var { params, method = "get", url = exports.defaultUrl, paramsSerializer = exports.defaultParamsSerializer } = _a, config = __rest(_a, ["params", "method", "url", "paramsSerializer"]); | ||
if (axiosInstance === void 0) { axiosInstance = client_1.defaultAxiosInstance; } | ||
return axiosInstance(Object.assign({ params, | ||
@@ -38,0 +39,0 @@ method, |
@@ -34,4 +34,5 @@ "use strict"; | ||
exports.defaultParamsSerializer = (0, serialize_1.serializer)({ location: serialize_1.latLngToString }, exports.defaultUrl); | ||
function textSearch(_a, axiosInstance = client_1.defaultAxiosInstance) { | ||
function textSearch(_a, axiosInstance) { | ||
var { params, method = "get", url = exports.defaultUrl, paramsSerializer = exports.defaultParamsSerializer } = _a, config = __rest(_a, ["params", "method", "url", "paramsSerializer"]); | ||
if (axiosInstance === void 0) { axiosInstance = client_1.defaultAxiosInstance; } | ||
return axiosInstance(Object.assign({ params, | ||
@@ -38,0 +39,0 @@ method, |
@@ -36,4 +36,5 @@ "use strict"; | ||
}, exports.defaultUrl); | ||
function nearestRoads(_a, axiosInstance = client_1.defaultAxiosInstance) { | ||
function nearestRoads(_a, axiosInstance) { | ||
var { params, method = "get", url = exports.defaultUrl, paramsSerializer = exports.defaultParamsSerializer } = _a, config = __rest(_a, ["params", "method", "url", "paramsSerializer"]); | ||
if (axiosInstance === void 0) { axiosInstance = client_1.defaultAxiosInstance; } | ||
return axiosInstance(Object.assign({ params, | ||
@@ -40,0 +41,0 @@ method, |
@@ -36,4 +36,5 @@ "use strict"; | ||
}, exports.defaultUrl); | ||
function snapToRoads(_a, axiosInstance = client_1.defaultAxiosInstance) { | ||
function snapToRoads(_a, axiosInstance) { | ||
var { params, method = "get", url = exports.defaultUrl, paramsSerializer = exports.defaultParamsSerializer } = _a, config = __rest(_a, ["params", "method", "url", "paramsSerializer"]); | ||
if (axiosInstance === void 0) { axiosInstance = client_1.defaultAxiosInstance; } | ||
return axiosInstance(Object.assign({ params, | ||
@@ -40,0 +41,0 @@ method, |
@@ -37,4 +37,5 @@ "use strict"; | ||
}, exports.defaultUrl); | ||
function timezone(_a, axiosInstance = client_1.defaultAxiosInstance) { | ||
function timezone(_a, axiosInstance) { | ||
var { params, method = "get", url = exports.defaultUrl, paramsSerializer = exports.defaultParamsSerializer } = _a, config = __rest(_a, ["params", "method", "url", "paramsSerializer"]); | ||
if (axiosInstance === void 0) { axiosInstance = client_1.defaultAxiosInstance; } | ||
return axiosInstance(Object.assign({ params, | ||
@@ -41,0 +42,0 @@ method, |
{ | ||
"name": "@googlemaps/google-maps-services-js", | ||
"version": "3.3.10", | ||
"version": "3.3.11", | ||
"description": "Node.js client library for Google Maps API Web Services", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
308660
5260