@rustrak/client 0.14.6 → 0.14.7
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.cjs +8 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1518,6 +1518,14 @@ var serverVersionSchema = zod.z.object({
|
|
|
1518
1518
|
|
|
1519
1519
|
// src/resources/health.ts
|
|
1520
1520
|
var HealthResource = class extends BaseResource {
|
|
1521
|
+
/**
|
|
1522
|
+
* The version the server reports for itself.
|
|
1523
|
+
*
|
|
1524
|
+
* Authenticated: the server answers this one to a session or a Bearer token
|
|
1525
|
+
* only, and returns 401 to anonymous callers. `/health` and `/health/ready`
|
|
1526
|
+
* stay open for probes; a version number is what tells a stranger which
|
|
1527
|
+
* advisories apply to your instance, so it is not probe material.
|
|
1528
|
+
*/
|
|
1521
1529
|
async getVersion() {
|
|
1522
1530
|
return this.request(
|
|
1523
1531
|
() => this.http.get("health/version"),
|