mirror of
https://github.com/logos-messaging/OpChan.git
synced 2026-01-02 12:53:10 +00:00
chore: add check script
This commit is contained in:
parent
9b6a1c48d7
commit
ef1b0f7c3b
@ -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",
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user