Some checks failed
CI / Typecheck & Lint (pull_request) Failing after 1s
The script used /api/v1/health for both reachability testing and version detection. Since that endpoint only exists on LNbits 0.12+, old versions were incorrectly reported as "not reachable" instead of falling through to the legacy superuser API path. Now the script: - Tests reachability via GET / (works on all LNbits versions) - Uses /api/v1/health only for version detection - If health endpoint is absent, correctly assumes pre-0.12 (legacy path) - If health endpoint exists but lacks server_version, assumes 0.12+ Fixes #19 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>