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

@googlemaps/google-maps-services-js

Package Overview
Dependencies
Maintainers
2
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@googlemaps/google-maps-services-js - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

6

CHANGELOG.md

@@ -1,7 +0,7 @@

# [2.1.0](https://github.com/googlemaps/google-maps-services-js/compare/v2.0.6...v2.1.0) (2020-02-28)
## [2.1.1](https://github.com/googlemaps/google-maps-services-js/compare/v2.1.0...v2.1.1) (2020-02-28)
### Features
### Bug Fixes
* support passing custom AxiosInstance to client ([#344](https://github.com/googlemaps/google-maps-services-js/issues/344)) ([667cd3a](https://github.com/googlemaps/google-maps-services-js/commit/667cd3ae13df7af25d08ff49d198d532f5cd8699)), closes [#342](https://github.com/googlemaps/google-maps-services-js/issues/342)
* use correct query autocomplete response ([#345](https://github.com/googlemaps/google-maps-services-js/issues/345)) ([9fa2a2f](https://github.com/googlemaps/google-maps-services-js/commit/9fa2a2f6b64646caee0e190ca0537fa49c102103))

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

@@ -1,2 +0,2 @@

import { LatLng, Language, Place, ResponseData, RequestParams } from "../common";
import { LatLng, Language, ResponseData, RequestParams, PredictionTerm, PredictionSubstring, StructuredFormatting } from "../common";
import { AxiosInstance, AxiosRequestConfig, AxiosResponse } from "axios";

@@ -32,2 +32,19 @@ export interface PlaceQueryAutocompleteRequest extends Partial<AxiosRequestConfig> {

}
export interface PlaceQueryAutocompletePrediction {
/** contains the human-readable name for the returned result. For establishment results, this is usually the business name. */
description: string;
/**
* contains an array of terms identifying each section of the returned description
* (a section of the description is generally terminated with a comma).
*/
terms: PredictionTerm[];
/**
* contains an `offset` value and a `length`.
* These describe the location of the entered term in the prediction result text, so that the term can be highlighted if desired.
*/
matched_substrings: PredictionSubstring[];
structured_formatting?: StructuredFormatting[];
place_id?: string;
types?: string[];
}
export interface PlaceQueryAutocompleteResponseData extends ResponseData {

@@ -39,3 +56,3 @@ /**

*/
predictions: Place[];
predictions: PlaceQueryAutocompletePrediction[];
}

@@ -42,0 +59,0 @@ export interface PlaceQueryAutocompleteResponse extends AxiosResponse {

{
"name": "@googlemaps/google-maps-services-js",
"version": "2.1.0",
"version": "2.1.1",
"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

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