@nextgis/geocoder 4.0.0-rc.0 → 4.0.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -180,7 +180,7 @@ interface RenderSearchItem {
180
180
  /**
181
181
  * Options for searching within a NGW resource.
182
182
  */
183
- interface SearchResource extends FetchNgwItemsOptions {
183
+ interface SearchResource extends Omit<FetchNgwItemsOptions, 'connector'> {
184
184
  /** The search method used ('ilike' is case-insensitive) */
185
185
  searchMethod?: 'ilike' | 'like';
186
186
  /** Custom rendering function for search results */
@@ -242,4 +242,4 @@ declare class NominatimProvider extends BaseProvider<NominatimProviderOptions> i
242
242
  declare function create(options: GeocoderOptions): Geocoder;
243
243
 
244
244
  export { BaseProvider, Geocoder, NgwProvider, NominatimProvider, create };
245
- export type { BaseProviderOptions, GeocoderOptions, ResultItem, SearchItem };
245
+ export type { BaseProviderOptions, GeocoderOptions, NgwProviderOptions, NgwSearchItem, RenderSearchItem, ResultItem, SearchItem, SearchResource };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextgis/geocoder",
3
- "version": "4.0.0-rc.0",
3
+ "version": "4.0.0-rc.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "lib/geocoder.esm-bundler.js",
@@ -8,16 +8,16 @@
8
8
  "jsdelivr": "lib/geocoder.global.prod.js",
9
9
  "types": "lib/index.d.ts",
10
10
  "dependencies": {
11
- "@nextgis/cancelable-promise": "4.0.0-rc.0",
12
- "@nextgis/ngw-connector": "4.0.0-rc.0",
13
- "@nextgis/ngw-kit": "4.0.0-rc.0",
14
- "@nextgis/utils": "4.0.0-rc.0",
11
+ "@nextgis/cancelable-promise": "4.0.0-rc.2",
12
+ "@nextgis/ngw-connector": "4.0.0-rc.2",
13
+ "@nextgis/ngw-kit": "4.0.0-rc.2",
14
+ "@nextgis/utils": "4.0.0-rc.2",
15
15
  "@types/events": "^3.0.0",
16
16
  "@types/geojson": "^7946.0.14",
17
17
  "events": "*"
18
18
  },
19
19
  "devDependencies": {
20
- "@nextgis/build-tools": "4.0.0-rc.0"
20
+ "@nextgis/build-tools": "4.0.0-rc.2"
21
21
  },
22
22
  "buildOptions": {
23
23
  "name": "Geocoder",
@@ -53,5 +53,5 @@
53
53
  "bugs": {
54
54
  "url": "https://github.com/nextgis/nextgis_frontend/issues"
55
55
  },
56
- "gitHead": "f2ac9a52ba971ad54314b9c3003ac4cb15ded8c7"
56
+ "gitHead": "ce99091fe3a30c6247ab34431dae97eefb891bb2"
57
57
  }