capacitor-radar
Advanced tools
Comparing version 3.11.0 to 3.12.0
@@ -23,3 +23,3 @@ import type { PluginListenerHandle } from '@capacitor/core'; | ||
addListener(eventName: 'token', listenerFunc: (result: { | ||
token: string; | ||
token: RadarVerifiedLocationToken; | ||
}) => void): Promise<PluginListenerHandle> & PluginListenerHandle; | ||
@@ -61,5 +61,3 @@ initialize(options: { | ||
}): Promise<RadarTrackCallback>; | ||
trackVerifiedToken(options?: { | ||
beacons?: boolean; | ||
}): Promise<RadarTrackTokenCallback>; | ||
getVerifiedLocationToken(): Promise<RadarTrackTokenCallback>; | ||
startTrackingVerified(options: { | ||
@@ -121,6 +119,7 @@ token?: boolean; | ||
near?: Location; | ||
radius: number; | ||
radius?: number; | ||
metadata?: object; | ||
tags?: string[]; | ||
limit: number; | ||
limit?: number; | ||
includeGeometry: boolean; | ||
}): Promise<RadarSearchGeofencesCallback>; | ||
@@ -141,4 +140,9 @@ autocomplete(options: { | ||
query: string; | ||
layers?: string[]; | ||
countries?: string[]; | ||
}): Promise<RadarGeocodeCallback>; | ||
reverseGeocode(options?: Location): Promise<RadarGeocodeCallback>; | ||
reverseGeocode(options?: { | ||
location?: Location; | ||
layers?: string[]; | ||
}): Promise<RadarGeocodeCallback>; | ||
ipGeocode(): Promise<RadarIPGeocodeCallback>; | ||
@@ -168,3 +172,3 @@ getDistance(options: { | ||
getHost(): Promise<object>; | ||
getPublishableKey(): Promise<object>; | ||
getPublishableKey(): Promise<string>; | ||
} | ||
@@ -184,3 +188,3 @@ export interface RadarLocationCallback { | ||
status: string; | ||
token?: String; | ||
token?: RadarVerifiedLocationToken; | ||
} | ||
@@ -422,2 +426,10 @@ export interface RadarTripCallback { | ||
} | ||
export interface RadarVerifiedLocationToken { | ||
user: RadarUser; | ||
events: RadarEvent[]; | ||
token: string; | ||
expiresAt: Date; | ||
expiresIn: number; | ||
passed: boolean; | ||
} | ||
export type RadarTrackingOptionsReplay = 'all' | 'stops' | 'none'; | ||
@@ -424,0 +436,0 @@ export type RadarTrackingOptionsSync = 'none' | 'stopsAndExits' | 'all'; |
@@ -44,5 +44,3 @@ import { WebPlugin } from '@capacitor/core'; | ||
}): void; | ||
trackVerifiedToken(options?: { | ||
beacons?: boolean; | ||
}): void; | ||
getVerifiedLocationToken(): void; | ||
startTrackingVerified(options: { | ||
@@ -59,2 +57,3 @@ token?: boolean; | ||
stopTracking(): void; | ||
stopTrackingVerified(): void; | ||
isTracking(): Promise<object>; | ||
@@ -61,0 +60,0 @@ getTrackingOptions(): Promise<RadarTrackingOptions>; |
@@ -97,3 +97,3 @@ // @ts-nocheck | ||
} | ||
trackVerifiedToken(options) { | ||
getVerifiedLocationToken() { | ||
// not implemented | ||
@@ -122,2 +122,5 @@ } | ||
} | ||
stopTrackingVerified() { | ||
// not implmented | ||
} | ||
isTracking() { | ||
@@ -124,0 +127,0 @@ // not implemented |
{ | ||
"name": "capacitor-radar", | ||
"version": "3.11.0", | ||
"version": "3.12.0", | ||
"description": "Capacitor plugin for Radar, the leading geofencing and location tracking platform", | ||
@@ -5,0 +5,0 @@ "main": "dist/esm/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
147333
1015