mirror of
https://github.com/xtr-dev/rondevu-server.git
synced 2025-12-10 10:53:24 +00:00
The service publishing endpoint was using validateUsernameClaim which
expects the message format "claim:{username}:{timestamp}", but clients
send "publish:{username}:{serviceFqn}:{timestamp}".
Added validateServicePublish function to properly validate service
publishing signatures with the correct message format.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
29 lines
860 B
JSON
29 lines
860 B
JSON
{
|
|
"name": "@xtr-dev/rondevu-server",
|
|
"version": "0.2.4",
|
|
"description": "DNS-like WebRTC signaling server with username claiming and service discovery",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "node build.js",
|
|
"typecheck": "tsc",
|
|
"dev": "ts-node src/index.ts",
|
|
"start": "node dist/index.js",
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"deploy": "npx wrangler deploy src/worker.ts --var VERSION:$(git rev-parse --short HEAD)"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/workers-types": "^4.20251014.0",
|
|
"@types/better-sqlite3": "^7.6.13",
|
|
"@types/node": "^24.9.2",
|
|
"esbuild": "^0.25.11",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"dependencies": {
|
|
"@hono/node-server": "^1.19.6",
|
|
"@noble/ed25519": "^3.0.0",
|
|
"better-sqlite3": "^12.4.1",
|
|
"hono": "^4.10.4"
|
|
}
|
|
}
|