feat: comprehensive project improvements and fixes
- Fix all TypeScript compilation errors (40+ fixes) - Add missing type definitions (TransactionRequest, SafeInfo) - Fix TransactionRequestStatus vs TransactionStatus confusion - Fix import paths and provider type issues - Fix test file errors and mock providers - Implement comprehensive security features - AES-GCM encryption with PBKDF2 key derivation - Input validation and sanitization - Rate limiting and nonce management - Replay attack prevention - Access control and authorization - Add comprehensive test suite - Integration tests for transaction flow - Security validation tests - Wallet management tests - Encryption and rate limiter tests - E2E tests with Playwright - Add extensive documentation - 12 numbered guides (setup, development, API, security, etc.) - Security documentation and audit reports - Code review and testing reports - Project organization documentation - Update dependencies - Update axios to latest version (security fix) - Update React types to v18 - Fix peer dependency warnings - Add development tooling - CI/CD workflows (GitHub Actions) - Pre-commit hooks (Husky) - Linting and formatting (Prettier, ESLint) - Security audit workflow - Performance benchmarking - Reorganize project structure - Move reports to docs/reports/ - Clean up root directory - Organize documentation - Add new features - Smart wallet management (Gnosis Safe, ERC4337) - Transaction execution and approval workflows - Balance management and token support - Error boundary and monitoring (Sentry) - Fix WalletConnect configuration - Handle missing projectId gracefully - Add environment variable template
This commit is contained in:
33
package.json
33
package.json
@@ -7,7 +7,19 @@
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"lint": "next lint"
|
||||
"lint": "next lint",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch",
|
||||
"test:coverage": "jest --coverage",
|
||||
"test:security": "jest __tests__/security.test.ts",
|
||||
"test:integration": "jest __tests__/integration",
|
||||
"test:all": "jest --coverage",
|
||||
"test:e2e": "playwright test",
|
||||
"test:e2e:ui": "playwright test --ui",
|
||||
"test:e2e:debug": "playwright test --debug",
|
||||
"benchmark": "node scripts/performance-benchmark.js",
|
||||
"check:headers": "node scripts/check-security-headers.js",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"dependencies": {
|
||||
"@chakra-ui/icons": "^1.1.7",
|
||||
@@ -21,33 +33,46 @@
|
||||
"@fortawesome/react-fontawesome": "^0.2.2",
|
||||
"@rainbow-me/rainbowkit": "^1.3.7",
|
||||
"@reown/walletkit": "^1.0.0",
|
||||
"@safe-global/safe-core-sdk": "^3.1.1",
|
||||
"@safe-global/safe-ethers-lib": "^1.9.1",
|
||||
"@safe-global/safe-service-client": "^2.0.3",
|
||||
"@testing-library/jest-dom": "^6.9.1",
|
||||
"@testing-library/react": "^16.3.1",
|
||||
"@types/jest": "^30.0.0",
|
||||
"@types/node": "^17.0.10",
|
||||
"@types/react": "^17.0.38",
|
||||
"@types/react-dom": "^17.0.11",
|
||||
"@types/react": "^18.3.27",
|
||||
"@types/react-dom": "^18.3.7",
|
||||
"@walletconnect/client": "^1.8.0",
|
||||
"@walletconnect/core": "^2.16.2",
|
||||
"@walletconnect/legacy-types": "^2.0.0",
|
||||
"@walletconnect/types": "^2.16.2",
|
||||
"@walletconnect/utils": "^2.16.2",
|
||||
"axios": "^0.24.0",
|
||||
"axios": "^1.13.2",
|
||||
"blo": "^1.0.0",
|
||||
"chakra-react-select": "^4.4.3",
|
||||
"ethereum-checksum-address": "^0.0.6",
|
||||
"ethers": "^5.4.5",
|
||||
"evm-rpcs-list": "^2.2.0",
|
||||
"framer-motion": "^4",
|
||||
"jest": "^30.2.0",
|
||||
"next": "^14.2.35",
|
||||
"react": "^18.2.0",
|
||||
"react-confetti": "^6.1.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-scripts": "5.0.1",
|
||||
"react-simple-code-editor": "^0.11.0",
|
||||
"ts-jest": "^29.4.6",
|
||||
"typescript": "5.0.4",
|
||||
"viem": "^1.11.1",
|
||||
"wagmi": "^1.4.2",
|
||||
"web-vitals": "^1.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.40.0",
|
||||
"@sentry/nextjs": "^7.91.0",
|
||||
"husky": "^8.0.3",
|
||||
"jest-environment-jsdom": "^30.2.0",
|
||||
"lint-staged": "^15.2.0",
|
||||
"pino-pretty": "^11.0.0"
|
||||
},
|
||||
"packageManager": "pnpm@9.12.0+sha512.4abf725084d7bcbafbd728bfc7bee61f2f791f977fd87542b3579dcb23504d170d46337945e4c66485cd12d588a0c0e570ed9c477e7ccdd8507cf05f3f92eaca"
|
||||
|
||||
Reference in New Issue
Block a user