UNPKG

watchtower-node-sdk

Version:

A TypeScript Node.js SDK for the Watchtower API, providing API key management, connection string generation, and more

18 lines 509 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HealthEndpoint = void 0; const base_1 = require("../base"); class HealthEndpoint extends base_1.BaseEndpoint { constructor(client) { super(client, '/health'); } /** * Check the health status of the API * @returns Promise with the health status response */ async check() { return this.get(''); } } exports.HealthEndpoint = HealthEndpoint; //# sourceMappingURL=handler.js.map