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

@googlemaps/extended-component-library

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@googlemaps/extended-component-library - npm Package Compare versions

Comparing version 0.6.10 to 0.6.11

2

lib/base/constants.d.ts

@@ -7,4 +7,4 @@ /**

/** Package version of this component library. */
export declare const LIBRARY_VERSION = "0.6.10";
export declare const LIBRARY_VERSION = "0.6.11";
/** Identifier of where this component library is sourced from. */
export declare const ATTRIBUTION_SOURCE_ID = "GIT";

@@ -7,5 +7,5 @@ /**

/** Package version of this component library. */
export const LIBRARY_VERSION = '0.6.10'; // x-release-please-version
export const LIBRARY_VERSION = '0.6.11'; // x-release-please-version
/** Identifier of where this component library is sourced from. */
export const ATTRIBUTION_SOURCE_ID = 'NPM';
//# sourceMappingURL=constants.js.map

@@ -6,2 +6,3 @@ /**

*/
/// <reference types="google.maps" />
import { PropertyValues } from 'lit';

@@ -21,3 +22,3 @@ import { BaseComponent } from '../base/base_component.js';

export declare const placeContext: {
__context__: Place | undefined;
__context__: google.maps.places.Place | undefined;
};

@@ -24,0 +25,0 @@ export declare const placeConsumerRegistrationContext: {

@@ -13,44 +13,10 @@ /**

/** Attribution object for Place photos and reviews. */
export declare interface AuthorAttribution {
displayName: string;
photoURI: string | null;
uri: string | null;
}
export type AuthorAttribution = google.maps.places.AuthorAttribution;
/** Place Photo object. */
export declare type Photo = Omit<google.maps.places.Photo, 'attributions'> & {
authorAttributions: AuthorAttribution[];
};
export type Photo = google.maps.places.Photo;
/** Place Review object. */
export declare type Review = Omit<google.maps.places.Review, 'author' | 'authorURI' | 'authorPhotoURI'> & {
authorAttribution: AuthorAttribution | null;
};
/** Search by text request. */
export declare interface SearchByTextRequest {
textQuery: string;
fields: string[];
locationBias?: LatLng | LatLngLiteral | LatLngBounds | LatLngBoundsLiteral;
locationRestriction?: LatLngBounds | LatLngBoundsLiteral;
includedType?: string;
region?: string;
}
/** Updated Place class with new attribution schema. */
export declare interface Place extends Omit<google.maps.places.Place, 'photos' | 'reviews' | 'fetchFields' | 'accessibilityOptions'> {
photos?: Photo[];
reviews?: Review[];
accessibilityOptions?: {
hasWheelchairAccessibleEntrance: boolean | null;
} | null;
fetchFields: (options: google.maps.places.FetchFieldsRequest) => Promise<{
place: Place;
}>;
}
/** Places library. */
export declare interface PlacesLibrary extends Omit<google.maps.PlacesLibrary, 'Place'> {
Place: {
new (options: google.maps.places.PlaceOptions): Place;
searchByText: (request: SearchByTextRequest) => Promise<{
places: Place[];
}>;
};
}
export type Review = google.maps.places.Review;
export type SearchByTextRequest = google.maps.places.SearchByTextRequest;
export type Place = google.maps.places.Place;
export type PlacesLibrary = google.maps.PlacesLibrary;
/** google.maps.marker.AdvancedMarkerElement. */

@@ -57,0 +23,0 @@ export type AdvancedMarkerElement = google.maps.marker.AdvancedMarkerElement;

{
"name": "@googlemaps/extended-component-library",
"version": "0.6.10",
"version": "0.6.11",
"description": "Web Components for building rich experiences with the Google Maps JavaScript API.",

@@ -79,3 +79,3 @@ "license": "Apache-2.0",

"@rollup/plugin-terser": "^0.4.3",
"@types/google.maps": "~3.55.6",
"@types/google.maps": "~3.55.8",
"@types/jasmine": "^4.3.6",

@@ -82,0 +82,0 @@ "@types/react": "^18.2.24",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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