@qodalis/cli-lang-fr 2.0.0-beta.2 → 2.0.0-beta.4
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/package.json +2 -2
- package/umd/index.global.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qodalis/cli-lang-fr",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.4",
|
|
4
4
|
"description": "French language pack for Qodalis CLI",
|
|
5
5
|
"author": "Nicolae Lupei, Qodalis Solutions",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"umd": "./umd/index.global.js",
|
|
22
22
|
"unpkg": "./umd/index.global.js",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@qodalis/cli-core": "2.0.0-beta.
|
|
24
|
+
"@qodalis/cli-core": "2.0.0-beta.4"
|
|
25
25
|
},
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"main": "./public-api.js",
|
package/umd/index.global.js
CHANGED
|
@@ -1844,14 +1844,14 @@ var langFr = (() => {
|
|
|
1844
1844
|
*/
|
|
1845
1845
|
static async discover(baseUrl) {
|
|
1846
1846
|
try {
|
|
1847
|
-
const response = await fetch(`${baseUrl}/api/
|
|
1847
|
+
const response = await fetch(`${baseUrl}/api/qcli/versions`);
|
|
1848
1848
|
if (!response.ok) return null;
|
|
1849
1849
|
const info = await response.json();
|
|
1850
1850
|
const version = this.negotiate(info);
|
|
1851
1851
|
if (version === null) return null;
|
|
1852
1852
|
return {
|
|
1853
1853
|
apiVersion: version,
|
|
1854
|
-
basePath: `${baseUrl}/api/v${version}/
|
|
1854
|
+
basePath: `${baseUrl}/api/v${version}/qcli`
|
|
1855
1855
|
};
|
|
1856
1856
|
} catch {
|
|
1857
1857
|
return null;
|