@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.js
CHANGED
|
@@ -1512,6 +1512,14 @@ var serverVersionSchema = z.object({
|
|
|
1512
1512
|
|
|
1513
1513
|
// src/resources/health.ts
|
|
1514
1514
|
var HealthResource = class extends BaseResource {
|
|
1515
|
+
/**
|
|
1516
|
+
* The version the server reports for itself.
|
|
1517
|
+
*
|
|
1518
|
+
* Authenticated: the server answers this one to a session or a Bearer token
|
|
1519
|
+
* only, and returns 401 to anonymous callers. `/health` and `/health/ready`
|
|
1520
|
+
* stay open for probes; a version number is what tells a stranger which
|
|
1521
|
+
* advisories apply to your instance, so it is not probe material.
|
|
1522
|
+
*/
|
|
1515
1523
|
async getVersion() {
|
|
1516
1524
|
return this.request(
|
|
1517
1525
|
() => this.http.get("health/version"),
|