Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

googlemaps

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

googlemaps - npm Package Compare versions

Comparing version 1.6.0 to 1.7.0

1

lib/config/constants.json

@@ -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);

2

package.json
{
"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)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc