+4
-1
src/pds.js
+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