- Implement REST API using Hono framework with token-based auth - Add JWT middleware for scope-based access control - Create version endpoints: launcher, downloader, patches, server - Add account lookup endpoints (by UUID or username) - Fetch server software with signed URLs and full version data - Add token signing utility script for testing - Support configurable account UUID for game session creation - Integrate API server with existing module system Co-Authored-By: Claude <noreply@anthropic.com>
30 lines
865 B
JSON
30 lines
865 B
JSON
{
|
|
"name": "hytale-says",
|
|
"type": "module",
|
|
"version": "0.1.0",
|
|
"packageManager": "pnpm@10.27.0+sha512.72d699da16b1179c14ba9e64dc71c9a40988cbdc65c264cb0e489db7de917f20dcf4d64d8723625f2969ba52d4b7e2a1170682d9ac2a5dcaeaab732b7e16f04a",
|
|
"author": {
|
|
"name": "devilreef",
|
|
"url": "https://github.com/devilr33f"
|
|
},
|
|
"scripts": {
|
|
"dev": "cross-env NODE_ENV=development tsx --watch src/index.ts",
|
|
"start": "tsx src/index.ts"
|
|
},
|
|
"dependencies": {
|
|
"@hono/node-server": "^1.19.9",
|
|
"@types/jsonwebtoken": "^9.0.10",
|
|
"discord.js-selfbot-v13": "^3.7.1",
|
|
"env-var": "^7.5.0",
|
|
"hono": "^4.6.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"tsx": "^4.20.3",
|
|
"wrappergram": "^1.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^4.16.2",
|
|
"@types/node": "^22.16.3",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^9.31.0"
|
|
}
|
|
}
|