Refactor: move services to components, add route modules

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Michilis
2026-02-17 03:46:46 +00:00
parent e2a13d009f
commit 50e5787ec2
12 changed files with 902 additions and 1218 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "cashu-redeem-api",
"version": "1.1.0",
"version": "2.0.0",
"description": "A production-grade API for redeeming Cashu tokens (ecash) to Lightning addresses using the cashu-ts library and LNURLp protocol",
"main": "server.js",
"scripts": {
@@ -33,8 +33,8 @@
"url": "https://github.com/Michilis"
},
"dependencies": {
"@cashu/cashu-ts": "^1.1.0",
"axios": "^1.7.7",
"@cashu/cashu-ts": "^3.4.1",
"axios": "^1.8.1",
"bolt11": "^1.4.1",
"cors": "^2.8.5",
"dotenv": "^16.4.5",