fiftyone.geolocation
Advanced tools
Comparing version 4.4.46 to 4.4.47
@@ -26,2 +26,8 @@ /* ********************************************************************* | ||
class GeoLocationCloud extends CloudEngine { | ||
/** | ||
* Constructor for GeoLocationCloud | ||
* | ||
* @param {object} options the options for GeoLocationCloud | ||
* @param {string} options.locationProvider name of location provider | ||
*/ | ||
constructor ({ locationProvider }) { | ||
@@ -28,0 +34,0 @@ super(...arguments); |
@@ -37,2 +37,3 @@ /* ********************************************************************* | ||
* Origin header to when making requests to the cloud service | ||
* @param {string} options.baseURL base URL for cloud request | ||
* | ||
@@ -39,0 +40,0 @@ */ |
{ | ||
"name": "fiftyone.geolocation", | ||
"version": "4.4.46", | ||
"version": "4.4.47", | ||
"description": "Perform reverse geocoding using longitude and latitude to populate postal addresses", | ||
@@ -20,3 +20,4 @@ "keywords": [ | ||
"test": "jest --ci --reporters=jest-junit --reporters=default --coverage --coverageReporters=cobertura", | ||
"lint": "eslint . --ext .js" | ||
"lint": "eslint . --ext .js", | ||
"tsc": "tsc -b --force" | ||
}, | ||
@@ -35,10 +36,11 @@ "author": "51Degrees Engineering <engineering@51degrees.com>", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-jest": "^23.13.2", | ||
"eslint-plugin-jsdoc": "^38.1.6", | ||
"eslint-plugin-n": "^15.0.0", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"eslint-plugin-jest": "^23.13.2", | ||
"eslint-plugin-n": "^15.0.0", | ||
"jest": "^27.5.1", | ||
"jest-expect-message": "^1.1.3", | ||
"jest-junit": "^9.0.0" | ||
"jest-junit": "^9.0.0", | ||
"typescript": "^5.4.5" | ||
}, | ||
@@ -45,0 +47,0 @@ "license": "EUPL-1.2", |
export = GeoLocationCloud; | ||
declare const GeoLocationCloud_base: typeof import("fiftyone.pipeline.cloudrequestengine/types/cloudEngine"); | ||
declare class GeoLocationCloud extends GeoLocationCloud_base { | ||
declare class GeoLocationCloud { | ||
/** | ||
* Constructor for GeoLocationCloud | ||
* | ||
* @param {object} options the options for GeoLocationCloud | ||
* @param {string} options.locationProvider name of location provider | ||
*/ | ||
constructor({ locationProvider }: { | ||
locationProvider: any; | ||
locationProvider: string; | ||
}, ...args: any[]); | ||
dataKey: string; | ||
} |
@@ -10,9 +10,14 @@ export = GeoLocationPipelineBuilder; | ||
* @param {String} options.locationProvider // the provider to request data from. Either "fiftyonedegrees" or "digitalelement". | ||
* @param {string} options.cloudRequestOrigin The value to set the | ||
* Origin header to when making requests to the cloud service | ||
* @param {string} options.baseURL base URL for cloud request | ||
* | ||
*/ | ||
constructor({ shareUsage, resourceKey, locationProvider, baseURL }: { | ||
constructor({ shareUsage, resourceKey, locationProvider, baseURL, cloudRequestOrigin }: { | ||
shareUsage: boolean; | ||
resourceKey: string; | ||
locationProvider: string; | ||
cloudRequestOrigin: string; | ||
baseURL: string; | ||
}, ...args: any[]); | ||
} |
@@ -1,2 +0,2 @@ | ||
export const GeoLocationCloud: typeof import("./geoLocationCloud"); | ||
export const GeoLocationPipelineBuilder: typeof import("./geoLocationPipelineBuilder"); | ||
export let GeoLocationCloud: typeof import("./geoLocationCloud"); | ||
export let GeoLocationPipelineBuilder: typeof import("./geoLocationPipelineBuilder"); |
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
247182
53
1056
13