@mearl/client 3.0.8 → 3.0.9
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/dist/check.js +4 -2
- package/package.json +6 -6
package/dist/check.js
CHANGED
|
@@ -4,7 +4,7 @@ const UPDATE_SOURCES = {
|
|
|
4
4
|
client: 'https://registry.npmjs.org/@mearl%2Fclient/latest',
|
|
5
5
|
'native-host': 'https://registry.npmjs.org/@mearl%2Fnative-host/latest',
|
|
6
6
|
'cloud-connector': 'https://registry.npmjs.org/@mearl%2Fcloud-connector/latest',
|
|
7
|
-
extension: 'https://github.
|
|
7
|
+
extension: 'https://mearlhq.github.io/mearl/config.json',
|
|
8
8
|
};
|
|
9
9
|
export function parseReleaseVersion(value) {
|
|
10
10
|
if (typeof value !== 'string')
|
|
@@ -30,7 +30,9 @@ export function isNewerRelease(latest, installed) {
|
|
|
30
30
|
return false;
|
|
31
31
|
}
|
|
32
32
|
async function fetchLatestVersion(component) {
|
|
33
|
-
const source = component === 'extension'
|
|
33
|
+
const source = component === 'extension'
|
|
34
|
+
? process.env.MEARL_EXTENSION_CONFIG_URL || UPDATE_SOURCES.extension
|
|
35
|
+
: UPDATE_SOURCES[component];
|
|
34
36
|
const response = await fetch(source, {
|
|
35
37
|
signal: AbortSignal.timeout(1500),
|
|
36
38
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mearl/client",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.9",
|
|
4
4
|
"description": "Unified Mearl SDK & CLI for local and remote browsers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -68,11 +68,11 @@
|
|
|
68
68
|
"commander": "^14.0.3",
|
|
69
69
|
"fastest-levenshtein": "^1.0.16",
|
|
70
70
|
"ws": "^8.18.0",
|
|
71
|
-
"@mearl/
|
|
72
|
-
"@mearl/
|
|
73
|
-
"@mearl/
|
|
74
|
-
"@mearl/
|
|
75
|
-
"@mearl/
|
|
71
|
+
"@mearl/daemon-core": "3.0.9",
|
|
72
|
+
"@mearl/cloud-types": "3.0.9",
|
|
73
|
+
"@mearl/agent-runtime": "3.0.9",
|
|
74
|
+
"@mearl/browser-core": "3.0.9",
|
|
75
|
+
"@mearl/provider": "3.0.9"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@types/node": "^24.9.1",
|