A zero-dependency AT Protocol Personal Data Server written in JavaScript
atproto pds

fix: use VERSION constant in _health endpoint

Add VERSION constant at top of pds.js and reference it in the health
check endpoint instead of hardcoded value.

๐Ÿค– Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Changed files
+4 -1
src
+4 -1
src/pds.js
··· 31 31 // โ•‘ Environment bindings, SQL row types, protocol constants โ•‘ 32 32 // โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ• 33 33 34 + // PDS version (keep in sync with package.json) 35 + const VERSION = '0.3.0'; 36 + 34 37 // CBOR primitive markers (RFC 8949) 35 38 const CBOR_FALSE = 0xf4; 36 39 const CBOR_TRUE = 0xf5; ··· 5234 5237 5235 5238 // Health check endpoint 5236 5239 if (url.pathname === '/xrpc/_health') { 5237 - return Response.json({ version: '0.1.0' }); 5240 + return Response.json({ version: VERSION }); 5238 5241 } 5239 5242 5240 5243 // Root path - ASCII art