mirror of
https://github.com/hanzoai/id.git
synced 2026-10-16 18:38:15 +00:00
9 tests via the Node built-in runner (--experimental-strip-types, no test-framework dependency): step machine (org→project→wallet→done), listOrgs mapping + error-resilience, createOrg request shape + error surfacing, linkWallet address validation + get-account→update-user (web3onboard, column-scoped) + fail-closed. tc excludes *.test.ts so the build gate stays type-only. LLM.md: corrected issuer to per-brand *.id host (not iam.hanzo.ai), documented the full method set + get-app-login source-of-truth, the onboarding pkg + its IAM routes + admin-gating reality, and the /v1/iam OIDC paths.
37 lines
1.0 KiB
JSON
37 lines
1.0 KiB
JSON
{
|
|
"name": "@hanzo/id-onboarding",
|
|
"version": "0.1.0",
|
|
"description": "Post-login onboarding for the Hanzo ID portal: choose/create org → optional project → optional wallet link. 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"],
|
|
"scripts": {
|
|
"build": "tsc --noEmit",
|
|
"tc": "tsc --noEmit",
|
|
"test": "node --test --experimental-strip-types 'src/**/*.test.ts'"
|
|
},
|
|
"dependencies": {
|
|
"@hanzo/id-shared": "workspace:*",
|
|
"@hanzo/iam": "^0.11.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=19",
|
|
"react-dom": ">=19"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"@types/react": "^19.0.0",
|
|
"react": "^19.2.0",
|
|
"react-dom": "^19.2.0",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|