@cofondateurauchomage/libs 1.1.178 → 1.1.179

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.
@@ -1,3 +1,5 @@
1
1
  import type { ILocationSuggestion } from "./types";
2
2
  /** Search regions, departments (geo.api) and cities/postcodes (API Adresse). */
3
3
  export declare function searchLocationSuggestions(query: string): Promise<ILocationSuggestion[]>;
4
+ /** Geocode a legacy free-text city label (migration script). */
5
+ export declare function geocodeCityLabel(cityLabel: string): Promise<ILocationSuggestion | null>;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.searchLocationSuggestions = searchLocationSuggestions;
4
+ exports.geocodeCityLabel = geocodeCityLabel;
4
5
  const legacyCityLabel_1 = require("./legacyCityLabel");
5
6
  const parse_1 = require("./parse");
6
7
  const GEO_API = "https://geo.api.gouv.fr";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cofondateurauchomage/libs",
3
- "version": "1.1.178",
3
+ "version": "1.1.179",
4
4
  "description": "",
5
5
  "main": "build/index",
6
6
  "scripts": {