@legalplace/wizardx-core 4.25.13 → 4.26.0

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.
@@ -9,4 +9,4 @@ export declare const getUserProfileArguments: () => [RequestInfo, RequestInit?];
9
9
  export declare const updateInstanceArguments: (permalink: string, uniqid: string | undefined, ovc: OvcType, draft: number, additionalProperties?: Record<string, string | number> | undefined) => [RequestInfo, RequestInit?];
10
10
  export declare const updateProofModule: (uniqid: string) => [RequestInfo, RequestInit?];
11
11
  export declare const getInpiActivities: () => [RequestInfo, RequestInit?];
12
- export declare const getInpiCitiesWithGouv: (limit: number, inputValue: string) => [RequestInfo, RequestInit?];
12
+ export declare const getInpiCities: () => [RequestInfo, RequestInit?];
@@ -193,11 +193,10 @@ export const getInpiActivities = () => {
193
193
  },
194
194
  ];
195
195
  };
196
- export const getInpiCitiesWithGouv = (limit, inputValue) => {
196
+ export const getInpiCities = () => {
197
197
  const apiEndpoint = getConfig().apiEndpoint + (/\/$/.test(getConfig().apiEndpoint) ? "" : "/");
198
- const url = `${apiEndpoint}uploadx/json/code-postal-inpi-with-gouv?limit=${limit}&inputValue=${encodeURIComponent(inputValue)}`;
199
198
  return [
200
- url,
199
+ `${apiEndpoint}uploadx/json/code-postal-inpi`,
201
200
  {
202
201
  method: "GET",
203
202
  credentials: "include",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@legalplace/wizardx-core",
3
- "version": "4.25.13",
3
+ "version": "4.26.0",
4
4
  "author": "Moncef Hammou (moncef@legalplace.fr)",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -54,11 +54,11 @@
54
54
  "xss": "^1.0.9"
55
55
  },
56
56
  "devDependencies": {
57
- "@legalplace/data-gouv": "^1.5.64",
57
+ "@legalplace/data-gouv": "^1.6.0",
58
58
  "@legalplace/eslint-config": "^2.3.0",
59
59
  "@legalplace/models-v3-types": "^5.13.9",
60
60
  "@legalplace/prettier-config": "^2.1.3",
61
- "@legalplace/typeorm-entities": "^5.43.6",
61
+ "@legalplace/typeorm-entities": "^5.44.0",
62
62
  "@swc-node/jest": "^1.3.2",
63
63
  "@swc/core": "^1.2.93",
64
64
  "@swc/jest": "^0.2.4",
@@ -96,5 +96,5 @@
96
96
  "*.test.ts",
97
97
  "*.test.tsx"
98
98
  ],
99
- "gitHead": "b99c51e5a68b387e331ac5e8ddbf7e6ea6ee09db"
99
+ "gitHead": "511a9b78a3cf805ca1ef875669de54fc89c63b9f"
100
100
  }