文件
jw-beauty/server/package.json
T
Guoguo 91d5937d8e feat: implement P0 security and reliability improvements
- bcrypt password hashing with auto-migration from SHA-256
- BLE command retry (3 attempts, 500ms delay, skip on disconnect)
- BLE auto-reconnect with service re-discovery on disconnect
- Treatment page disconnect/reconnect event handling
- Token refresh endpoint with 3-day grace period
- Client-side token auto-refresh when <24h remaining
- Single treatment record detail API with ownership check
2026-04-28 18:12:30 -07:00

20 行
464 B
JSON

{
"name": "hox-scf-api",
"version": "1.0.0",
"private": true,
"description": "Tencent Cloud SCF Node.js API for Hox beauty device",
"main": "src/index.js",
"scripts": {
"start": "node scripts/local-server.js",
"db:init": "node scripts/init-db.js"
},
"dependencies": {
"bcryptjs": "^2.4.3",
"cos-nodejs-sdk-v5": "^2.14.7",
"dotenv": "^16.4.5",
"jsonwebtoken": "^9.0.2",
"mysql2": "^3.11.3"
},
"devDependencies": {}
}