googlemaps
Advanced tools
Comparing version 1.6.0 to 1.7.0
@@ -6,2 +6,3 @@ { | ||
"google_client_id": "string", | ||
"google_channel": "string", | ||
"key": "string", | ||
@@ -8,0 +9,0 @@ "proxy": "string", |
@@ -9,2 +9,3 @@ /** | ||
google_client_id: null, | ||
google_channel: null, | ||
key: null, | ||
@@ -11,0 +12,0 @@ proxy: null, |
@@ -32,2 +32,6 @@ /** | ||
if (config.google_channel) { | ||
path += "&channel=" + config.google_channel; | ||
} | ||
// Create signer object passing in the key, telling it the key is in base64 format | ||
@@ -34,0 +38,0 @@ var signer = crypto.createHmac('sha1', config.google_private_key); |
{ | ||
"name": "googlemaps", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"main": "lib/index", | ||
@@ -5,0 +5,0 @@ "description": "A simple way to query the Google Maps API from Node.js", |
@@ -57,2 +57,3 @@ [![Build Status](https://travis-ci.org/moshen/node-googlemaps.svg?branch=master)](https://travis-ci.org/moshen/node-googlemaps) | ||
google_private_key: '<YOUR-PRIVATE-KEY>', // to use Google Maps for Work | ||
google_channel: '<YOUR-CHANNEL>' // to use Google Maps for Work application usage tracking | ||
stagger_time: 1000, // for elevationPath | ||
@@ -89,3 +90,3 @@ encode_polylines: false, | ||
}); | ||
``` | ||
``` | ||
@@ -196,3 +197,3 @@ Check out the [unit tests](./tree/new-major-version/test/unit/) for more APIs examples. | ||
### v1.0.0 maintener | ||
### v1.0.0 maintener | ||
[![moshen](https://avatars0.githubusercontent.com/u/168513?v=3&s=50)](https://github.com/moshen) | ||
@@ -199,0 +200,0 @@ [![fabriziomoscon](https://avatars1.githubusercontent.com/u/721890?v=3&u=b5079f5258887f4cc9a6de1cbadee230bca8ecc1&s=50)](https://github.com/fabriziomoscon) |
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
53770
1200
200