- 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.
34 lines
852 B
JSON
34 lines
852 B
JSON
{
|
|
"name": "@emoney/orchestrator",
|
|
"version": "1.0.0",
|
|
"description": "ISO-20022 orchestrator 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",
|
|
"@grpc/grpc-js": "^1.9.14",
|
|
"@grpc/proto-loader": "^0.7.10",
|
|
"axios": "^1.6.2",
|
|
"xml2js": "^0.6.2",
|
|
"js-yaml": "^4.1.0",
|
|
"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/xml2js": "^0.4.14",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/uuid": "^9.0.7",
|
|
"typescript": "^5.3.0",
|
|
"ts-node-dev": "^2.0.0"
|
|
}
|
|
}
|
|
|