Files
telegram-shop/package.json
NW 776d0e8552 fix(bot): remove redundant deposit amount step, add Visa/MC label, Mercuryo auth note, enforce product completeness
- Remove deposit amount-selection step; deposit_wallet_<TYPE> now routes directly to instruction
- Add VISA / Mastercard text to Mercuryo card button (i18n en/es/de)
- Add deposit_important5: Mercuryo 1-payment-without-auth + top-up-reserve warning
- Admin validation: description + photo required on product create/update (products.js, catalogProducts.js)
- Cleanup orphan uploaded files on validation failure (catalogProducts.js)
- Bot guards: fallback to products.no_description / products.no_photo for incomplete products
- Add vitest + 7 purchase edge-case tests (src/__tests__/userProductHandler.test.js)
- Bump version to v1.2.1
2026-07-18 14:28:26 +01:00

40 lines
933 B
JSON

{
"name": "telegram-shop-bot",
"version": "1.0.0",
"type": "module",
"scripts": {
"test": "vitest run",
"test:watch": "vitest",
"start": "node src/index.js",
"dev": "nodemon src/index.js"
},
"dependencies": {
"archiver": "^7.0.1",
"axios": "^1.7.7",
"better-sqlite3": "^11.10.0",
"bip39": "^3.1.0",
"bitcoinjs-lib": "^6.1.6",
"cookie-parser": "^1.4.6",
"csv-writer": "^1.6.0",
"decompress": "^4.2.1",
"dotenv": "^16.3.1",
"ecpair": "^2.1.0",
"ejs": "^6.0.1",
"ethereumjs-util": "^7.1.5",
"express": "^4.21.0",
"express-ejs-layouts": "^2.5.1",
"hdkey": "^2.1.0",
"multer": "^2.2.0",
"node-telegram-bot-api": "^0.64.0",
"pino": "^8.21.0",
"pino-pretty": "^13.1.3",
"qrcode": "^1.5.4",
"tiny-secp256k1": "^2.2.3"
},
"devDependencies": {
"nodemon": "^3.0.2",
"playwright": "^1.61.1",
"vitest": "^2.1.9"
}
}