File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 "main" : " index.js" ,
66 "scripts" : {
77 "build" : " prisma generate && tsc" ,
8- "start" : " node dist/index.js" ,
8+ "start" : " node dist/src/index.js" ,
9+ "start:prod" : " prisma db push && node dist/src/index.js" ,
910 "dev" : " tsx watch src/index.ts" ,
1011 "test" : " NODE_ENV=test jest" ,
1112 "test:watch" : " NODE_ENV=test jest --watch" ,
1920 "author" : " " ,
2021 "license" : " ISC" ,
2122 "dependencies" : {
22- "@prisma/adapter-pg" : " ^6.7 .0" ,
23- "@prisma/client" : " ^6.7 .0" ,
23+ "@prisma/adapter-pg" : " ^7.8 .0" ,
24+ "@prisma/client" : " ^7.8 .0" ,
2425 "@stellar/stellar-sdk" : " ^14.6.1" ,
2526 "@types/ioredis" : " ^4.28.10" ,
2627 "@types/json2csv" : " ^5.0.7" ,
2728 "bcryptjs" : " ^3.0.2" ,
2829 "bullmq" : " ^5.76.1" ,
2930 "cors" : " ^2.8.6" ,
3031 "dotenv" : " ^17.3.1" ,
31- "ethers" : " ^6.16 .0" ,
32+ "ethers" : " ^5.8 .0" ,
3233 "express" : " ^5.2.1" ,
3334 "express-rate-limit" : " ^8.3.1" ,
3435 "ioredis" : " ^5.10.1" ,
3536 "json2csv" : " ^6.0.0-alpha.2" ,
3637 "jsonwebtoken" : " ^9.0.2" ,
3738 "openai" : " ^6.32.0" ,
3839 "pg" : " ^8.20.0" ,
39- "prisma" : " ^6.7 .0" ,
40+ "prisma" : " ^7.8 .0" ,
4041 "qrcode" : " ^1.5.4" ,
4142 "socket.io" : " ^4.8.3" ,
4243 "winston" : " ^3.19.0" ,
Original file line number Diff line number Diff line change 1- // This file was generated by Prisma, and assumes you have installed the following:
2- // npm install --save-dev prisma dotenv
3- import 'dotenv/config' ;
1+ // This file was generated by Prisma - updated 2026-05-25
42import { defineConfig } from '@prisma/config' ;
53
6- const connectionString =
7- process . env . DATABASE_URL ||
8- 'file:./dev.db' ;
4+ const connectionString = process . env . DATABASE_URL || 'file:./dev.db' ;
95
106export default defineConfig ( {
117 schema : 'prisma/schema.prisma' ,
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ export const verifySignature = async (
6060 nonce : string
6161) : Promise < { user : any ; accessToken : string ; refreshToken : string } > => {
6262 // Normalize wallet address
63- const normalizedAddress = ethers . getAddress ( walletAddress ) ;
63+ const normalizedAddress = ethers . utils . getAddress ( walletAddress ) ;
6464
6565 // Find and validate nonce
6666 const storedNonce = await prisma . authNonce . findFirst ( {
You can’t perform that action at this time.
0 commit comments