- Add me.get procedure returning user profile with needsSetup flag - Add me.setupProfile procedure for initial profile setup after signup - Add nonEmptyString/optionalString schema helpers with tests - Use Web Crypto API (SubtleCrypto) for Cloudflare Workers compatibility - Use @formatjs/intl-durationformat for duration formatting - Remove node:crypto dependency from crypto utilities Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
32 lines
741 B
JSON
32 lines
741 B
JSON
{
|
|
"name": "@reviq/api-contract",
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "bun test",
|
|
"clean": "tsc --build --clean && rm -rf dist/ node_modules/ .eslintcache",
|
|
"lint": "eslint . --cache"
|
|
},
|
|
"dependencies": {
|
|
"@orpc/contract": "^1.13.2",
|
|
"@simplewebauthn/types": "^12.0.0",
|
|
"libphonenumber-js": "^1.12.33",
|
|
"zod": "^4.3.5"
|
|
},
|
|
"devDependencies": {
|
|
"@macalinao/eslint-config": "catalog:",
|
|
"@macalinao/tsconfig": "catalog:",
|
|
"eslint": "catalog:",
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|