barsa d6f7c50e7b Refactor Salesforce request handling and improve logging
- Moved metrics tracking and logging from the queueing phase to the execution phase in SalesforceRequestQueueService for better accuracy.
- Updated CSRF token generation in CsrfController to accept parameters in a more flexible manner.
- Enhanced CacheService to handle immediate expiry requests without leaking stale values.
- Improved error handling and re-authentication logic in SalesforceConnection for better resilience during session expiration.
- Refactored logout functionality in AuthFacade to handle optional userId and improve logging during token revocation.
- Updated AuthController to apply rate limit headers and improved type handling in various request contexts.
- Streamlined imports and improved overall code organization across multiple modules for better maintainability.
2025-11-05 15:47:06 +09:00

51 lines
1.8 KiB
JSON

{
"name": "@customer-portal/domain",
"version": "1.0.0",
"type": "commonjs",
"description": "Unified domain layer with contracts, schemas, and provider mappers",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./auth": "./dist/auth/index.js",
"./auth/*": "./dist/auth/*.js",
"./billing": "./dist/billing/index.js",
"./billing/*": "./dist/billing/*.js",
"./catalog": "./dist/catalog/index.js",
"./catalog/*": "./dist/catalog/*.js",
"./common": "./dist/common/index.js",
"./common/*": "./dist/common/*.js",
"./customer": "./dist/customer/index.js",
"./customer/*": "./dist/customer/*.js",
"./dashboard": "./dist/dashboard/index.js",
"./dashboard/*": "./dist/dashboard/*.js",
"./mappings": "./dist/mappings/index.js",
"./mappings/*": "./dist/mappings/*.js",
"./orders": "./dist/orders/index.js",
"./orders/*": "./dist/orders/*.js",
"./payments": "./dist/payments/index.js",
"./payments/*": "./dist/payments/*.js",
"./sim": "./dist/sim/index.js",
"./sim/*": "./dist/sim/*.js",
"./sim/providers/freebit": "./dist/sim/providers/freebit/index.js",
"./subscriptions": "./dist/subscriptions/index.js",
"./subscriptions/*": "./dist/subscriptions/*.js",
"./toolkit": "./dist/toolkit/index.js",
"./toolkit/*": "./dist/toolkit/*.js"
},
"scripts": {
"build": "tsc",
"dev": "tsc -w --preserveWatchOutput",
"clean": "rm -rf dist",
"type-check": "NODE_OPTIONS=\"--max-old-space-size=2048 --max-semi-space-size=128\" tsc --project tsconfig.json --noEmit",
"typecheck": "pnpm run type-check"
},
"dependencies": {
"zod": "^4.1.9"
},
"devDependencies": {
"@types/node": "^24.3.0",
"typescript": "^5.9.2"
}
}