mirror of
https://github.com/temetro/temetro.git
synced 2026-07-26 20:08:14 +00:00
bb536ba6da
A clinician can push an updated record to a wallet-linked patient (permanent share). The snapshot is signed with the clinic Ed25519 key and sealed to the wallet's X25519 key — derived from its Ed25519 wallet number via the birational map, verified byte-for-byte against the wallet's own derivation. Stored pending, delivered over the /wallet relay live and on the wallet's next authenticated connect (offline catch-up). The patient approves/denies in-app; the wallet signs its decision, the backend verifies it, and the record is replaced only on approval. Wallet pins the clinic key (TOFU) and warns on change. Backend: walletRecordUpdates table + service, ed25519PubToX25519Hex helper, POST /api/patients/wallet/push, GET .../link/:fileNumber|updates|updates/:id, wallet:update-request / wallet:update-response relay events. Frontend: "Push to wallet" dialog with live status, wallet-link gating on the patient sheet, "Sent updates" list under Settings → Signing, walletPush / walletUpdatesList locale namespaces across all five languages. Bumps to v0.5.0. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
81 lines
2.3 KiB
JSON
81 lines
2.3 KiB
JSON
{
|
|
"name": "frontend",
|
|
"version": "0.5.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint",
|
|
"check-locales": "node scripts/check-locales.mjs"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/react": "^3.0.206",
|
|
"@base-ui/react": "^1.5.0",
|
|
"@number-flow/react": "^0.6.0",
|
|
"@radix-ui/react-use-controllable-state": "^1.2.2",
|
|
"@rive-app/react-webgl2": "^4.28.6",
|
|
"@streamdown/cjk": "^1.0.3",
|
|
"@streamdown/code": "^1.1.1",
|
|
"@streamdown/math": "^1.0.2",
|
|
"@streamdown/mermaid": "^1.0.2",
|
|
"@tiptap/extension-placeholder": "^3.25.0",
|
|
"@tiptap/extension-underline": "^3.25.0",
|
|
"@tiptap/pm": "^3.25.0",
|
|
"@tiptap/react": "^3.25.0",
|
|
"@tiptap/starter-kit": "^3.25.0",
|
|
"@types/d3-force": "^3.0.10",
|
|
"@visx/curve": "^4.0.1-alpha.0",
|
|
"@visx/event": "^4.0.1-alpha.0",
|
|
"@visx/gradient": "^4.0.1-alpha.0",
|
|
"@visx/grid": "^4.0.1-alpha.0",
|
|
"@visx/pattern": "^4.0.1-alpha.0",
|
|
"@visx/responsive": "^4.0.1-alpha.0",
|
|
"@visx/scale": "^4.0.1-alpha.0",
|
|
"@visx/shape": "^4.0.1-alpha.0",
|
|
"@xyflow/react": "^12.10.2",
|
|
"ai": "^6.0.193",
|
|
"ansi-to-react": "^6.2.6",
|
|
"better-auth": "^1.6.13",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.1.1",
|
|
"d3-array": "^3.2.4",
|
|
"d3-force": "^3.0.0",
|
|
"embla-carousel-react": "^8.6.0",
|
|
"framer-motion": "^12.40.0",
|
|
"i18next": "^26.3.1",
|
|
"i18next-browser-languagedetector": "^8.2.1",
|
|
"lucide-react": "^1.17.0",
|
|
"media-chrome": "^4.19.0",
|
|
"motion": "^12.40.0",
|
|
"nanoid": "^5.1.11",
|
|
"next": "16.2.6",
|
|
"next-themes": "^0.4.6",
|
|
"react": "19.2.4",
|
|
"react-day-picker": "^10.0.1",
|
|
"react-dom": "19.2.4",
|
|
"react-i18next": "^17.0.8",
|
|
"react-jsx-parser": "^2.4.1",
|
|
"react-qr-code": "^2.2.0",
|
|
"shadcn": "^4.8.3",
|
|
"shiki": "^4.1.0",
|
|
"socket.io-client": "^4.8.3",
|
|
"streamdown": "^2.5.0",
|
|
"tailwind-merge": "^3.6.0",
|
|
"tokenlens": "^1.3.1",
|
|
"tw-animate-css": "^1.4.0",
|
|
"use-stick-to-bottom": "^1.1.4"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.2.6",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5"
|
|
}
|
|
}
|