@meltstudio/meltctl 4.187.0 → 4.189.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.
- package/dist/index.js +9 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var CLI_VERSION;
|
|
|
14
14
|
var init_version = __esm({
|
|
15
15
|
"src/utils/version.ts"() {
|
|
16
16
|
"use strict";
|
|
17
|
-
CLI_VERSION = "4.
|
|
17
|
+
CLI_VERSION = "4.189.0";
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
|
|
@@ -1475,14 +1475,16 @@ function createEndpointChecksResource(config) {
|
|
|
1475
1475
|
return data;
|
|
1476
1476
|
},
|
|
1477
1477
|
/**
|
|
1478
|
-
* The caller's own latest check (
|
|
1478
|
+
* The caller's own latest check PER DEVICE (#507) — one entry per device
|
|
1479
|
+
* the caller has submitted from, newest first per device. Empty when none.
|
|
1480
|
+
* Self-scoped by the JWT.
|
|
1479
1481
|
*/
|
|
1480
1482
|
async getMine() {
|
|
1481
1483
|
const { data, status } = await apiFetch(config, "/me/endpoint-check");
|
|
1482
1484
|
if (status !== 200) {
|
|
1483
1485
|
throw new Error(data.error ?? `Failed to fetch endpoint check (${status})`);
|
|
1484
1486
|
}
|
|
1485
|
-
return data.
|
|
1487
|
+
return data.checks;
|
|
1486
1488
|
}
|
|
1487
1489
|
};
|
|
1488
1490
|
}
|
|
@@ -4674,14 +4676,16 @@ function createEndpointChecksResource2(config) {
|
|
|
4674
4676
|
return data;
|
|
4675
4677
|
},
|
|
4676
4678
|
/**
|
|
4677
|
-
* The caller's own latest check (
|
|
4679
|
+
* The caller's own latest check PER DEVICE (#507) — one entry per device
|
|
4680
|
+
* the caller has submitted from, newest first per device. Empty when none.
|
|
4681
|
+
* Self-scoped by the JWT.
|
|
4678
4682
|
*/
|
|
4679
4683
|
async getMine() {
|
|
4680
4684
|
const { data, status } = await apiFetch2(config, "/me/endpoint-check");
|
|
4681
4685
|
if (status !== 200) {
|
|
4682
4686
|
throw new Error(data.error ?? `Failed to fetch endpoint check (${status})`);
|
|
4683
4687
|
}
|
|
4684
|
-
return data.
|
|
4688
|
+
return data.checks;
|
|
4685
4689
|
}
|
|
4686
4690
|
};
|
|
4687
4691
|
}
|
package/package.json
CHANGED