chore: add check script

This commit is contained in:
Danish Arora 2025-08-28 18:47:33 +05:30
parent 9b6a1c48d7
commit ef1b0f7c3b
No known key found for this signature in database
GPG Key ID: 1C6EF37CDAE1426E
3 changed files with 4 additions and 2 deletions

View File

@ -7,6 +7,7 @@
"dev": "vite",
"build": "vite build",
"build:dev": "vite build --mode development",
"check": "tsc --noEmit --strict && eslint . --fix",
"lint": "eslint .",
"preview": "vite preview",
"test": "vitest",

View File

@ -38,7 +38,7 @@ export function AuthorDisplay({
setResolvedEns(userStatus?.ensName);
}
return () => { cancelled = true; };
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [address, isEthereumAddress, userStatus?.ensName]);
// Lazily check Ordinal ownership for Bitcoin addresses if not provided

View File

@ -4,6 +4,7 @@ import { AppKit } from '@reown/appkit';
import { OrdinalAPI } from '../ordinal';
import { CryptoService, DelegationDuration } from './CryptoService';
import { EVerificationStatus, User } from '@/types/forum';
import { WalletInfo } from '../wallets/ReOwnWalletService';
export interface AuthResult {
success: boolean;
@ -30,7 +31,7 @@ export interface AuthServiceInterface {
clearStoredUser(): void;
// Wallet info
getWalletInfo(): Promise<any>;
getWalletInfo(): Promise<WalletInfo>;
}
export class AuthService implements AuthServiceInterface {