- apps/api: POST /v1/auth/wallet/nonce + /v1/auth/wallet/login (zod-validated, sets the signed sk_session cookie like password/magic-link). - apps/dashboard: 'Connect Wallet' SIWE sign-in (plain viem + EIP-1193 personal_sign, no heavy deps) on login + signup; lib/auth wallet helpers. - persistence: PgAuthStore.findAccountByWallet/saveWalletNonce/consumeWalletNonce (atomic single-use consume); accounts.wallet_address projection. - database: auth_accounts.wallet_address column + auth_wallet_nonces table, migration 0006_auth_web3 + journal; re-export gt/lt operators. - 1302 tests / 213 suites, typecheck + full build green.
26 lines
636 B
JSON
26 lines
636 B
JSON
{
|
|
"name": "@settlekit/dashboard",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "SettleKit merchant dashboard — manage products, access delivery, billing, and integrations.",
|
|
"scripts": {
|
|
"dev": "next dev -p 3001",
|
|
"build": "next build",
|
|
"start": "next start -p 3001",
|
|
"lint": "next lint",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"next": "^14.2.5",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"viem": "^2.21.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.14.0",
|
|
"@types/react": "^18.3.3",
|
|
"@types/react-dom": "^18.3.0",
|
|
"typescript": "^5.5.4"
|
|
}
|
|
}
|