Files
defiQUG e8ae376e90 Enhance API services with validation and error handling improvements
- Integrated Zod validation schemas across various API routes to ensure input integrity and improve error handling.
- Updated `mapping-service`, `orchestrator`, `packet-service`, and `webhook-service` to utilize validation middleware for request parameters and bodies.
- Improved error handling in webhook management, packet generation, and compliance routes to provide clearer feedback on request failures.
- Added new validation schemas for various endpoints, enhancing overall API robustness and maintainability.
- Updated dependencies in `package.json` to include the new validation library.
2025-12-12 20:23:45 -08:00

31 lines
769 B
JSON

{
"name": "@emoney/packet-service",
"version": "1.0.0",
"description": "Packet generation and dispatch service",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"dev": "ts-node-dev --respawn --transpile-only src/index.ts"
},
"dependencies": {
"express": "^4.18.2",
"pdfkit": "^0.14.0",
"nodemailer": "^6.9.7",
"axios": "^1.6.2",
"uuid": "^9.0.1",
"@emoney/validation": "workspace:*",
"@emoney/blockchain": "workspace:*",
"@emoney/events": "workspace:*"
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/node": "^20.10.0",
"@types/nodemailer": "^6.4.14",
"@types/uuid": "^9.0.7",
"typescript": "^5.3.0",
"ts-node-dev": "^2.0.0"
}
}