mirror of
https://github.com/hanzoai/id.git
synced 2026-10-26 20:59:52 +00:00
Choosing a plan or a prepaid balance is the only way out of onboarding; it records completion and sends the person to checkout. The step machine refuses an empty answer on a step that is not skippable, so Skip, the arrow keys and the step dots cannot reach done without a plan. A catalog that fails to load offers Retry rather than a choice whose checkout cannot answer. Co-authored-by: Hanzo Dev <[email protected]>
40 lines
1.0 KiB
JSON
40 lines
1.0 KiB
JSON
{
|
|
"name": "@hanzo/id-onboarding",
|
|
"version": "0.1.8",
|
|
"description": "Post-login onboarding for the Hanzo ID portal: org → optional project → optional wallet → data-sharing consent → plan. Resumes from the account. White-labeled by host. Domain / service / UI split.",
|
|
"license": "BSD-3-Clause",
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./service": "./src/service/onboarding.ts",
|
|
"./flow": "./src/ui/OnboardingFlow.tsx",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"!src/**/*.test.ts",
|
|
"!src/**/*.test.tsx"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc --noEmit",
|
|
"tc": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@hanzo/id-shared": "workspace:*",
|
|
"@hanzo/iam": "catalog:"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=19.2.8",
|
|
"react-dom": ">=19.2.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "catalog:",
|
|
"@types/react": "catalog:",
|
|
"react": "catalog:",
|
|
"react-dom": "catalog:",
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|