watchfor 0.20.0 → 0.21.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/README.md +1 -1
- package/dist/schema.d.ts +37 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -94,7 +94,7 @@ await wf.statusPages.updateAnnouncement("<page-id>", notice.id!, {
|
|
|
94
94
|
|
|
95
95
|
### Live diagnostics
|
|
96
96
|
|
|
97
|
-
Run any of
|
|
97
|
+
Run any of 27 checks from WatchFor's probe fleet against **any public
|
|
98
98
|
target**, monitored or not — this measures right now, rather than reading
|
|
99
99
|
what WatchFor recorded:
|
|
100
100
|
|
package/dist/schema.d.ts
CHANGED
|
@@ -2162,6 +2162,7 @@ export interface components {
|
|
|
2162
2162
|
| "smtp-test"
|
|
2163
2163
|
| "mail-server-check"
|
|
2164
2164
|
| "ntp-test"
|
|
2165
|
+
| "game-server-check"
|
|
2165
2166
|
| "email-health";
|
|
2166
2167
|
label: string;
|
|
2167
2168
|
/** @description The question this check answers, in one line. */
|
|
@@ -2256,6 +2257,7 @@ export interface components {
|
|
|
2256
2257
|
| "smtp-test"
|
|
2257
2258
|
| "mail-server-check"
|
|
2258
2259
|
| "ntp-test"
|
|
2260
|
+
| "game-server-check"
|
|
2259
2261
|
| "email-health";
|
|
2260
2262
|
target: string;
|
|
2261
2263
|
/** @description Whether the check itself succeeded — the finding, not the transport. false is a normal, billable answer: a closed port, an NXDOMAIN, an expired or untrusted certificate, a host that doesn't resolve, a failed handshake, or a target the prober refuses (an internal address). Read `error` for what happened; `result` keeps the probe's raw answer. */
|
|
@@ -2307,6 +2309,7 @@ export interface components {
|
|
|
2307
2309
|
| "smtp-test"
|
|
2308
2310
|
| "mail-server-check"
|
|
2309
2311
|
| "ntp-test"
|
|
2312
|
+
| "game-server-check"
|
|
2310
2313
|
| "email-health";
|
|
2311
2314
|
label: string;
|
|
2312
2315
|
/**
|
|
@@ -4451,6 +4454,39 @@ export interface components {
|
|
|
4451
4454
|
/** @default 3 */
|
|
4452
4455
|
count: number;
|
|
4453
4456
|
};
|
|
4457
|
+
/** @description Options for the `game-server-check` diagnostic. Is this game server online, and what does it report — name, players and slots, map, version, password and VAC, the player list, and the query ping from three regions? Finds the query port when the given one is silent. */
|
|
4458
|
+
DiagnosticOptionsGameServerCheck: {
|
|
4459
|
+
/** @enum {string} */
|
|
4460
|
+
game?:
|
|
4461
|
+
| "cs2"
|
|
4462
|
+
| "csgo"
|
|
4463
|
+
| "tf2"
|
|
4464
|
+
| "gmod"
|
|
4465
|
+
| "l4d2"
|
|
4466
|
+
| "rust"
|
|
4467
|
+
| "ark_se"
|
|
4468
|
+
| "dayz"
|
|
4469
|
+
| "arma3"
|
|
4470
|
+
| "valheim"
|
|
4471
|
+
| "7dtd"
|
|
4472
|
+
| "project_zomboid"
|
|
4473
|
+
| "v_rising"
|
|
4474
|
+
| "enshrouded"
|
|
4475
|
+
| "conan_exiles"
|
|
4476
|
+
| "unturned"
|
|
4477
|
+
| "space_engineers"
|
|
4478
|
+
| "kf2"
|
|
4479
|
+
| "mordhau"
|
|
4480
|
+
| "insurgency_sandstorm"
|
|
4481
|
+
| "soulmask"
|
|
4482
|
+
| "minecraft_java"
|
|
4483
|
+
| "minecraft_bedrock"
|
|
4484
|
+
| "fivem"
|
|
4485
|
+
| "redm"
|
|
4486
|
+
| "samp"
|
|
4487
|
+
| "mta"
|
|
4488
|
+
| "a2s_generic";
|
|
4489
|
+
};
|
|
4454
4490
|
/** @description Options for the `email-health` diagnostic. Is this domain protected against email spoofing — are SPF, DKIM and DMARC present and correctly configured? */
|
|
4455
4491
|
DiagnosticOptionsEmailHealth: {
|
|
4456
4492
|
/**
|
|
@@ -4844,6 +4880,7 @@ export interface operations {
|
|
|
4844
4880
|
| "smtp-test"
|
|
4845
4881
|
| "mail-server-check"
|
|
4846
4882
|
| "ntp-test"
|
|
4883
|
+
| "game-server-check"
|
|
4847
4884
|
| "email-health";
|
|
4848
4885
|
};
|
|
4849
4886
|
cookie?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "watchfor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"description": "Official TypeScript SDK + CLI for WatchFor — uptime & infrastructure monitoring (monitors, alert rules, incidents, maintenance windows) over the REST API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"watchfor",
|