- Deleted migration file that removed cached profile fields from the users table, centralizing profile data retrieval from WHMCS. - Updated CsrfMiddleware to include new public authentication endpoints for password reset, setting password, and WHMCS account linking. - Enhanced error handling in password and WHMCS linking workflows to provide clearer feedback on missing mappings and improve user experience. - Adjusted user creation and update methods in UsersFacade to handle cases where WHMCS mappings are not yet available, ensuring smoother account setup.
54 lines
1.9 KiB
JSON
54 lines
1.9 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",
|
|
"./support": "./dist/support/index.js",
|
|
"./support/*": "./dist/support/*.js",
|
|
"./toolkit": "./dist/toolkit/index.js",
|
|
"./toolkit/*": "./dist/toolkit/*.js"
|
|
},
|
|
"scripts": {
|
|
"prebuild": "pnpm run clean",
|
|
"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"
|
|
}
|
|
}
|