@googlemaps/google-maps-services-js
Advanced tools
Comparing version 2.1.2 to 2.2.0
@@ -1,7 +0,7 @@ | ||
## [2.1.2](https://github.com/googlemaps/google-maps-services-js/compare/v2.1.1...v2.1.2) (2020-03-02) | ||
# [2.2.0](https://github.com/googlemaps/google-maps-services-js/compare/v2.1.2...v2.2.0) (2020-03-11) | ||
### Bug Fixes | ||
### Features | ||
* typo of `PlacePhoto::photo_reference` ([#347](https://github.com/googlemaps/google-maps-services-js/issues/347)) ([eaae9af](https://github.com/googlemaps/google-maps-services-js/commit/eaae9af8dced6f5d67b88711657ebae1cd539a1f)) | ||
* Adds support for response compression ([#357](https://github.com/googlemaps/google-maps-services-js/issues/357)) ([fda6a07](https://github.com/googlemaps/google-maps-services-js/commit/fda6a0703f1247c05c3f533b8a5e252e90246778)) | ||
@@ -8,0 +8,0 @@ ## [2.0.2](https://github.com/googlemaps/google-maps-services-js/compare/v2.0.1...v2.0.2) (2020-02-08) |
@@ -22,2 +22,3 @@ import { AxiosRequestConfig, AxiosInstance } from "axios"; | ||
export declare const userAgent: string; | ||
export declare const acceptEncoding = "gzip"; | ||
export declare const X_GOOG_MAPS_EXPERIENCE_ID = "X-GOOG-MAPS-EXPERIENCE-ID"; | ||
@@ -24,0 +25,0 @@ export declare const defaultAxiosInstance: AxiosInstance; |
@@ -26,2 +26,3 @@ "use strict"; | ||
exports.userAgent = `google-maps-services-node-${index_1.version}`; | ||
exports.acceptEncoding = "gzip"; | ||
exports.X_GOOG_MAPS_EXPERIENCE_ID = "X-GOOG-MAPS-EXPERIENCE-ID"; | ||
@@ -31,3 +32,6 @@ const defaultConfig = { | ||
httpsAgent: exports.defaultHttpsAgent, | ||
headers: { "User-Agent": exports.userAgent } | ||
headers: { | ||
"User-Agent": exports.userAgent, | ||
"Accept-Encoding": exports.acceptEncoding | ||
} | ||
}; | ||
@@ -34,0 +38,0 @@ exports.defaultAxiosInstance = axios_1.default.create(defaultConfig); |
{ | ||
"name": "@googlemaps/google-maps-services-js", | ||
"version": "2.1.2", | ||
"version": "2.2.0", | ||
"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
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
225022
3319