@googlemaps/google-maps-services-js
Advanced tools
Comparing version 2.6.1 to 3.0.0
@@ -1,8 +0,11 @@ | ||
## [2.6.1](https://github.com/googlemaps/google-maps-services-js/compare/v2.6.0...v2.6.1) (2020-05-13) | ||
# [3.0.0](https://github.com/googlemaps/google-maps-services-js/compare/v2.6.1...v3.0.0) (2020-06-03) | ||
### Bug Fixes | ||
* fix!: use custom http adapter to set status code and reject (#407) ([0ac353d](https://github.com/googlemaps/google-maps-services-js/commit/0ac353d90d2555f05b748960e8144a85faf71b99)), closes [#407](https://github.com/googlemaps/google-maps-services-js/issues/407) | ||
* Add NOT_FOUND to the status enum according to documentation ([#405](https://github.com/googlemaps/google-maps-services-js/issues/405)) ([0fc3fb0](https://github.com/googlemaps/google-maps-services-js/commit/0fc3fb0250b32eabe76db503d97f2a6a85fa9872)) | ||
### BREAKING CHANGES | ||
* The promise behavior has changed as some promises will now reject instead of resolving. | ||
## [2.0.2](https://github.com/googlemaps/google-maps-services-js/compare/v2.0.1...v2.0.2) (2020-02-08) | ||
@@ -9,0 +12,0 @@ |
@@ -96,2 +96,2 @@ /** | ||
} | ||
export { DirectionsRequest, DirectionsResponse, DistanceMatrixRequest, DistanceMatrixResponse, ElevationRequest, ElevationResponse, FindPlaceFromTextRequest, FindPlaceFromTextResponse, GeolocateRequest, GeocodeRequest, GeocodeResponse, GeolocateResponse, NearestRoadsRequest, NearestRoadsResponse, PlaceAutocompleteRequest, PlaceAutocompleteResponse, PlaceDetailsRequest, PlaceDetailsResponse, PlacePhotoRequest, PlacePhotoResponse, PlaceQueryAutocompleteRequest, PlaceQueryAutocompleteResponse, PlacesNearbyRequest, PlacesNearbyResponse, ReverseGeocodeRequest, ReverseGeocodeResponse, SnapToRoadsRequest, SnapToRoadsResponse, TextSearchRequest, TextSearchResponse, TimeZoneRequest, TimeZoneResponse }; | ||
export { DirectionsRequest, DirectionsResponse, DistanceMatrixRequest, DistanceMatrixResponse, ElevationRequest, ElevationResponse, FindPlaceFromTextRequest, FindPlaceFromTextResponse, GeolocateRequest, GeocodeRequest, GeocodeResponse, GeolocateResponse, NearestRoadsRequest, NearestRoadsResponse, PlaceAutocompleteRequest, PlaceAutocompleteResponse, PlaceDetailsRequest, PlaceDetailsResponse, PlacePhotoRequest, PlacePhotoResponse, PlaceQueryAutocompleteRequest, PlaceQueryAutocompleteResponse, PlacesNearbyRequest, PlacesNearbyResponse, ReverseGeocodeRequest, ReverseGeocodeResponse, SnapToRoadsRequest, SnapToRoadsResponse, TextSearchRequest, TextSearchResponse, TimeZoneRequest, TimeZoneResponse, }; |
@@ -38,2 +38,3 @@ "use strict"; | ||
const index_1 = require("./index"); | ||
const adapter_1 = require("./adapter"); | ||
exports.defaultHttpsAgent = new agentkeepalive_1.HttpsAgent({ keepAlive: true }); | ||
@@ -47,6 +48,7 @@ exports.defaultTimeout = 10000; | ||
httpsAgent: exports.defaultHttpsAgent, | ||
adapter: adapter_1.customAdapter, | ||
headers: { | ||
"User-Agent": exports.userAgent, | ||
"Accept-Encoding": exports.acceptEncoding | ||
} | ||
"Accept-Encoding": exports.acceptEncoding, | ||
}, | ||
}; | ||
@@ -53,0 +55,0 @@ exports.defaultAxiosInstance = axios_1.default.create(defaultConfig); |
{ | ||
"name": "@googlemaps/google-maps-services-js", | ||
"version": "2.6.1", | ||
"version": "3.0.0", | ||
"description": "Node.js client library for Google Maps API Web Services", | ||
@@ -60,2 +60,3 @@ "keywords": [ | ||
"jest": "^25.2.2", | ||
"nock": "^12.0.3", | ||
"semantic-release": "^17.0.2", | ||
@@ -62,0 +63,0 @@ "ts-jest": "^25.2.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
313080
70
5060
13